From c4fd719d2a6d7727a94315054a882c4c0fed3914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vezy?= Date: Mon, 7 Sep 2026 15:11:10 +0100 Subject: [PATCH 1/6] =?UTF-8?q?Fix=20issue=20on=20the=20graph=E2=80=99s=20?= =?UTF-8?q?canvas=20that=20was=20collapsing=20to=20zero=20height=20at=20na?= =?UTF-8?q?rrow=20widths?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/dist/.vite/manifest.json | 4 +-- .../{index-BauQ5hZn.js => index-BGTX8zZ1.js} | 0 frontend/dist/assets/index-Bl9qZu2q.css | 1 + frontend/dist/assets/index-DH4q_-2-.css | 1 - frontend/dist/index.html | 4 +-- frontend/e2e/graph-editor.spec.ts | 29 +++++++++++++++++++ frontend/src/styles.css | 10 +++++-- 7 files changed, 41 insertions(+), 8 deletions(-) rename frontend/dist/assets/{index-BauQ5hZn.js => index-BGTX8zZ1.js} (100%) create mode 100644 frontend/dist/assets/index-Bl9qZu2q.css delete mode 100644 frontend/dist/assets/index-DH4q_-2-.css diff --git a/frontend/dist/.vite/manifest.json b/frontend/dist/.vite/manifest.json index 69c880145..ba5cf349d 100644 --- a/frontend/dist/.vite/manifest.json +++ b/frontend/dist/.vite/manifest.json @@ -1,11 +1,11 @@ { "index.html": { - "file": "assets/index-BauQ5hZn.js", + "file": "assets/index-BGTX8zZ1.js", "name": "index", "src": "index.html", "isEntry": true, "css": [ - "assets/index-DH4q_-2-.css" + "assets/index-Bl9qZu2q.css" ] } } \ No newline at end of file diff --git a/frontend/dist/assets/index-BauQ5hZn.js b/frontend/dist/assets/index-BGTX8zZ1.js similarity index 100% rename from frontend/dist/assets/index-BauQ5hZn.js rename to frontend/dist/assets/index-BGTX8zZ1.js diff --git a/frontend/dist/assets/index-Bl9qZu2q.css b/frontend/dist/assets/index-Bl9qZu2q.css new file mode 100644 index 000000000..529d04dda --- /dev/null +++ b/frontend/dist/assets/index-Bl9qZu2q.css @@ -0,0 +1 @@ +.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{--bg: #f3eee6;--paper: #fffaf2;--paper-strong: #fbf2e6;--ink: #312721;--muted: #80756c;--line: #ded2c3;--line-strong: #b7a696;--accent: #1f7a53;--accent-soft: rgba(31, 122, 83, .12);--sage: #7f8f73;--sage-dark: #596851;--ochre: #c99035;--clay: #bf6a54;--shadow: rgba(56, 43, 35, .12)}.model-editor-shell{height:100vh;min-height:560px;display:flex;flex-direction:column;color:#302923;background:#f3eee5}.model-toolbar,.cycle-callout,.editor-feedback,.graph-scope-filter{flex-shrink:0}.frontend-error{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;padding:24px;color:#743128;background:#fff5ef;text-align:center}.frontend-error h1,.frontend-error p{margin:0}.frontend-error p{max-width:620px;color:#655850}.frontend-error button{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:8px 11px;border:1px solid #b95040;border-radius:5px;color:#fff;background:#b94435}.model-toolbar{z-index:20;display:grid;grid-template-columns:auto minmax(260px,1fr) auto;gap:12px 18px;align-items:center;padding:14px 18px;background:#fffaf2;border-bottom:1px solid #d9cdbd;box-shadow:0 8px 24px #3c302514}.model-brand{display:flex;align-items:center;gap:11px}.model-brand .brand-mark{width:5px;height:42px;border-radius:3px;background:#1f7a58}.model-brand div{display:grid}.model-brand small{color:#81766c;font:10px/1.2 ui-monospace,monospace;letter-spacing:0}.model-brand strong{font-size:20px;letter-spacing:0}.model-search{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 11px;border:1px solid #d9cdbd;border-radius:6px;background:#fffdf8}.model-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit}.model-search button,.model-toolbar button,.overlay-panel button,.candidate-popover button,.editor-feedback button{border:0;background:transparent;color:inherit;cursor:pointer}.model-counts{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.model-counts>span,.model-counts>button{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #d9cdbd;border-radius:5px;background:#fffaf2;font:12px ui-monospace,monospace}.model-counts .count-warning{color:#a96a13;border-color:#dfbd83}.model-counts .count-error{color:#b44e3c;border-color:#dfa496}.view-tabs,.model-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.view-tabs{grid-column:1 / 3}.model-actions{justify-content:flex-end}.view-tabs button,.model-actions button,.cycle-callout button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid #d4c7b6;border-radius:5px;background:#fffaf2;color:#4c433b}.view-tabs button.active{color:#176047;border-color:#83b59e;background:#e9f4ed}.model-actions button:disabled{opacity:.4;cursor:default}.model-actions .overview-cta{color:#176047;border-color:#86bba4;background:#e9f4ed;font-weight:700}.cycle-callout{display:flex;align-items:center;gap:12px;padding:10px 18px;color:#8f2f24;background:#fff0eb;border-bottom:1px solid #df9a8e}.cycle-callout div{display:grid;margin-right:auto}.cycle-callout span{font-size:12px}.cycle-callout button{border-color:#cf7668;color:#8f2f24}.cycle-callout button.active{color:#fff;border-color:#9d3428;background:#b94435}.editor-feedback{display:flex;align-items:center;justify-content:center;gap:12px;padding:7px 16px;background:#fff5d9;border-bottom:1px solid #dfc278;color:#6e5315;font-size:12px}.graph-scope-filter{align-items:center;background:#edf5ef;border-bottom:1px solid #b9d4c0;color:#365849;display:flex;font-size:12px;gap:10px;justify-content:center;min-height:38px;padding:6px 14px}.graph-scope-filter button{align-items:center;background:#fff;border:1px solid #b9d4c0;border-radius:5px;color:#365849;cursor:pointer;display:inline-flex;gap:5px;padding:5px 8px}.model-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 310px}.flow-wrap{min-width:0;min-height:0;position:relative}.model-inspector{overflow:auto;padding:16px;background:#fffaf2;border-left:1px solid #d9cdbd}.model-inspector>header{display:grid;gap:2px;margin-bottom:14px}.model-inspector>header span{color:#776c63;font:11px ui-monospace,monospace}.model-inspector pre{overflow-wrap:anywhere;white-space:pre-wrap;font-size:10px;line-height:1.45}.empty-inspector{display:grid;place-items:center;padding:48px 20px;color:#8a7e74;text-align:center}.inspector-initialization>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #eee4d6;font-size:11px}.inspector-initialization .unresolved{color:#b74635;font-weight:700}.application-node .target-summary{margin:-2px 0 10px;color:#766c63;font-size:11px}.application-node .target-summary strong{color:#2d6652}.application-node .previous-label{margin-left:auto;color:#1f7a58;font:10px ui-monospace,monospace}.cycle-port-break{display:inline-grid;place-items:center;width:24px;height:24px;margin-left:auto;border:1px solid #c94e3e!important;border-radius:50%;color:#a63428!important;background:#fff0eb!important;box-shadow:0 3px 9px #8c2d232e}.cycle-port-break:hover{color:#fff!important;background:#bd4435!important}.entity-node{position:relative;width:240px;min-height:105px;padding:13px;border:1px solid #d8cbbb;border-radius:6px;background:#fffaf2;box-shadow:0 7px 18px #392e241f}.entity-node.selected{border-color:#1f7a58;box-shadow:0 0 0 2px #1f7a5829}.entity-node header{display:grid;gap:3px}.entity-node header span{color:#766c63;font-size:11px}.entity-node .badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.candidate-popover{position:fixed;z-index:80;width:370px;max-height:460px;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #cfbfaa;border-radius:7px;background:#fffaf2;box-shadow:0 20px 54px #342a203d}.candidate-popover>header{display:flex;gap:10px;padding:12px;border-bottom:1px solid #e1d5c5}.candidate-popover>header div{display:grid;margin-right:auto}.candidate-popover>header span{color:#7a7067;font-size:10px}.candidate-list{overflow:auto;display:grid;gap:7px;padding:9px}.candidate-card{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px;border:1px solid #ded2c2!important;border-radius:5px;background:#fffdf8!important;text-align:left}.candidate-card:hover{border-color:#76a990!important;background:#edf6f0!important}.candidate-card span{color:#1f7053;font:11px ui-monospace,monospace}.candidate-card small{color:#7a7067}.candidate-card div{grid-column:1 / -1;color:#7a7067;font-size:10px}.candidate-card.existing{border-left:3px solid #1f7a58!important}.candidate-section-label{padding:5px 3px 2px;color:#71675e;font:700 10px ui-monospace,monospace;text-transform:uppercase}.overlay-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;background:#2d251e61}.overlay-panel{width:min(720px,100%);max-height:min(760px,92vh);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #cdbda8;border-radius:7px;background:#fffaf2;box-shadow:0 24px 70px #271f194d}.overlay-panel>header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #ded2c2}.overlay-content{overflow:auto;padding:15px}.diagnostic-card,.cycle-card,.initialization-card{display:grid;gap:5px;margin-bottom:10px;padding:11px;border:1px solid #ded2c2;border-radius:5px}.diagnostic-card{border-left:3px solid #c85240}.diagnostic-card p,.cycle-card p{margin:0}.diagnostic-card small{color:#766c63}.cycle-card button{width:fit-content;padding:6px 8px;border:1px solid #ce7768;border-radius:4px;color:#963529}.model-code{min-height:320px;margin:0;padding:14px;overflow:auto;border-radius:5px;background:#292622;color:#f5eee5}.model-file-dialog{display:grid;gap:14px}.model-file-dialog>p{margin:0;line-height:1.5}.model-file-dialog>label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.model-path-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.model-path-input input{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8;font:12px ui-monospace,monospace}.model-path-input button{padding:8px 13px;border:1px solid #1d7052!important;border-radius:4px;color:#fff!important;background:#1f7a58!important}.model-path-input button:disabled{opacity:.4;cursor:default}.model-file-dialog section{display:grid;gap:7px}.recent-model-list{display:grid;gap:6px}.recent-model-list button{display:grid;gap:2px;padding:9px;border:1px solid #d8cbbb!important;border-radius:5px;background:#fffdf8!important;text-align:left}.recent-model-list button:hover{border-color:#73a88e!important;background:#edf6f0!important}.recent-model-list small,.model-file-dialog>small{color:#776d64;overflow-wrap:anywhere}.recovery-path{padding:9px;border:1px dashed #c99035!important;border-radius:5px;color:#6d511d!important;background:#fff6e6!important;text-align:left;overflow-wrap:anywhere}.initialization-group{display:grid;gap:10px;margin-bottom:12px;padding:12px;border:1px solid #d8cbbb;border-radius:6px;background:#fffdf8}.initialization-group>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.initialization-group>header div{display:grid}.initialization-group>header span,.initialization-group>header small{color:#786d64;font:10px ui-monospace,monospace}.initialization-group>p{margin:0;color:#6c625a;font-size:11px;line-height:1.45}.initialization-value{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:8px;align-items:end}.initialization-value label{display:grid;gap:4px;color:#5f554d;font-size:10px;font-weight:700}.initialization-value input,.initialization-value select{width:100%;min-width:0;padding:7px 8px;border:1px solid #d3c5b4;border-radius:4px;background:#fff}.initialization-value button,.initialization-object-list button{padding:7px 9px;border:1px solid #85ad99!important;border-radius:4px;color:#176047!important;background:#edf6f0!important}.initialization-value button:disabled,.initialization-object-list button:disabled{opacity:.4;cursor:default}.initialization-object-list{display:grid;gap:5px}.initialization-object-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding-top:5px;border-top:1px solid #ece1d2;font-size:11px}.initialization-object-list code{color:#a33d31}@media(max-width:980px){.model-toolbar{grid-template-columns:1fr}.view-tabs{grid-column:auto}.model-counts,.model-actions{justify-content:flex-start}.model-workspace{grid-template-columns:1fr}.model-inspector{display:none}}.application-form{width:min(780px,100%)}.object-form{width:min(640px,100%)}.override-form{width:min(760px,100%)}.application-form>header div{display:grid;gap:2px}.object-form>header div{display:grid;gap:2px}.override-form>header div{display:grid;gap:2px}.application-form>header span{color:#786d64;font-size:11px}.object-form>header span{color:#786d64;font-size:11px}.override-form>header span{color:#786d64;font-size:11px}.application-form-content,.object-form-content,.override-form-content{display:grid;gap:14px}.application-form-content>label,.application-form fieldset label,.object-form-content label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.override-form-content label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.application-form input,.application-form select,.object-form input,.object-form select,.override-form input,.override-form select{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8;color:#332c26;font:12px ui-monospace,monospace}.override-form fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.override-form legend{padding:0 6px;color:#2d6652;font-weight:800}.override-form fieldset label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.override-scope-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px}.override-scope-choice button{display:grid;gap:3px;padding:11px;border:1px solid #d4c7b6!important;border-radius:5px;background:#fffdf8!important;text-align:left}.override-scope-choice button.active{border-color:#72a88d!important;background:#edf6f0!important}.override-scope-choice span{color:#756a61;font-size:10px;line-height:1.4}.override-warning{display:grid;gap:3px;padding:10px;border-left:3px solid #c99035;background:#fff6e6}.override-warning span{color:#74685e;font-size:11px}.application-form fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.application-form legend{padding:0 6px;color:#2d6652;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.parameter-list{display:grid;gap:9px}.parameter-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:9px;align-items:end}.parameter-row>label>span{color:#3c342e}.parameter-row small{color:#8a7e74;font-weight:400}.selector-summary{margin:10px 0 0;color:#796e64;font-size:11px}.application-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.object-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.override-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.application-form>footer button,.object-form>footer button,.override-form>footer button,.inspector-actions button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d2c4b3;border-radius:4px;background:#fffdf8}.application-form>footer .primary,.object-form>footer .primary{color:#fff;border-color:#1d7052;background:#1f7a58}.override-form>footer .primary{color:#fff;border-color:#1d7052;background:#1f7a58}.application-form>footer button:disabled{opacity:.45}.object-form>footer button:disabled{opacity:.45}.override-form>footer button:disabled{opacity:.45}.inspector-actions{display:flex;gap:7px;margin:10px 0 16px}.inspector-actions .danger{color:#a33d31;border-color:#d8a296}.binding-form{width:min(680px,100%)}.binding-form>header div{display:grid;gap:2px}.binding-form>header span{color:#786d64;font-size:11px}.binding-form .overlay-content{display:grid;gap:14px}.binding-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:12px;border:1px solid #d8cbbb;border-radius:5px;background:#fffdf8}.binding-route>div{display:grid;gap:3px;min-width:0}.binding-route>div:last-child{text-align:right}.binding-route small{color:#7c7168;text-transform:uppercase;font-size:9px}.binding-route strong,.binding-route code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.binding-route code{color:#1f7053}.binding-form fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.binding-form legend{padding:0 6px;color:#2d6652;font-weight:800}.binding-form fieldset label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.binding-form select{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8;color:#332c26;font:12px ui-monospace,monospace}.binding-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.binding-form>footer button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d2c4b3;border-radius:4px;background:#fffdf8}.binding-form>footer .primary{color:#fff;border-color:#1d7052;background:#1f7a58}.cycle-break-dialog{width:min(620px,100%)}.cycle-break-dialog>header div{display:grid;gap:2px}.cycle-break-dialog>header span{color:#a33d31;font:11px ui-monospace,monospace}.cycle-break-dialog .overlay-content{display:grid;gap:13px}.cycle-break-dialog p{margin:0;line-height:1.5}.cycle-impact{display:grid;gap:3px;padding:10px;border-left:3px solid #c54c3c;background:#fff0eb}.cycle-impact span{color:#705f57;font-size:11px}.cycle-break-dialog fieldset{margin:0;padding:12px;border:1px solid #d8cbbb;border-radius:5px}.cycle-break-dialog legend{padding:0 6px;color:#9a392e;font-weight:800}.cycle-break-dialog label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.cycle-break-dialog input,.cycle-break-dialog select{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8}.cycle-break-dialog>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.cycle-break-dialog>footer button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d2c4b3;border-radius:4px;background:#fffdf8}.cycle-break-dialog>footer .primary{color:#fff;border-color:#a8392d;background:#b94435}.cycle-break-dialog>footer button:disabled{opacity:.45;cursor:default}@media(max-width:700px){.form-grid,.parameter-row,.override-scope-choice,.binding-route{grid-template-columns:1fr}.binding-route>div:last-child{text-align:left}.initialization-value{grid-template-columns:1fr}}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(circle at 20% 24%,rgba(31,122,83,.045),transparent 30%),radial-gradient(circle at 78% 68%,rgba(201,144,53,.055),transparent 34%),linear-gradient(180deg,rgba(255,250,242,.26),transparent 42%),var(--bg);font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif}.app-shell{display:grid;grid-template-columns:minmax(0,1fr);height:100vh;position:relative}.app-shell.has-side-panel{grid-template-columns:minmax(0,1fr) 340px}.graph-panel{position:relative;min-width:0}.graph-panel:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.2;background-image:radial-gradient(rgba(49,39,33,.11) .55px,transparent .55px);background-size:16px 16px;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 22%,black 82%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,black 22%,black 82%,transparent 100%)}.topbar{position:absolute;z-index:10;top:18px;left:18px;right:18px;display:flex;align-items:center;gap:12px;padding:11px 14px;background:#fffaf2eb;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar:before{content:"";align-self:stretch;width:5px;border-radius:999px;background:var(--accent)}.editor-feedback{position:absolute;z-index:12;top:96px;left:18px;right:18px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fffaf2f2;box-shadow:0 12px 30px var(--shadow);max-height:132px;overflow:auto;font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.editor-feedback.error{color:var(--clay);border-color:#bf6a5466;background:#fff4eef7}.editor-feedback.info{color:var(--accent);border-color:#1f7a5359;background:#f5fcf8f7}.cycle-break-prompt{position:absolute;z-index:14;top:98px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid rgba(211,66,47,.32);border-radius:12px;background:linear-gradient(135deg,rgba(211,66,47,.12),transparent 62%),#fffaf2f5;box-shadow:0 16px 36px #382b2329}.cycle-break-prompt div{display:grid;gap:3px;min-width:0}.cycle-break-prompt strong{color:#7a2018;font-size:13px}.cycle-break-prompt span{color:var(--muted);font-size:12px;line-height:1.35}.cycle-break-prompt code{color:#7a2018;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.cycle-break-prompt.active{border-color:#d3422f85;box-shadow:0 16px 36px #382b2329,0 0 0 4px #d3422f14}.cycle-break-cta{flex:0 0 auto;justify-content:center;font-weight:780}.graph-workbench{flex-wrap:wrap;align-items:flex-start;max-height:min(36vh,250px);overflow:auto;scrollbar-width:thin}.brand-block{min-width:150px}.brand-block h1{font-size:clamp(16px,2.2vw,20px)}.search-box{position:relative;display:flex;align-items:center;gap:8px;flex:1 1 280px;max-width:460px;min-width:220px;padding:7px 9px;border:1px solid var(--line);border-radius:11px;background:#fffdf7db}.search-box input{width:100%;min-width:0;border:0;outline:0;color:var(--ink);background:transparent;font:inherit;font-size:13px}.clear-search{display:grid;place-items:center;width:20px;height:20px;border:0;border-radius:999px;background:#b7a6962e;color:var(--muted);cursor:pointer}.search-results{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;display:grid;gap:6px;max-height:360px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fffaf2fa;box-shadow:0 18px 45px var(--shadow)}.search-result{display:grid;gap:2px;padding:8px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.search-result:hover,.search-result:focus-visible{border-color:#1f7a533d;background:var(--accent-soft);outline:none}.search-result strong{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.search-result span{color:var(--muted);font-size:11px}.eyebrow{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}h1,h2,h3{margin:0;letter-spacing:0}h1{font-size:20px;font-weight:800}.metrics{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.metrics span,.metric-button,.node-meta span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--line);border-radius:9px;background:#fffaf2e6;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.metric-button{color:var(--ink);cursor:pointer}.metric-button.active,.metric-button:hover,.metric-button:focus-visible{outline:none;background:#fff6f0}.view-mode-button.overview-cta{border-color:#1f7a5361;color:var(--accent);background:#1f7a531a;box-shadow:0 8px 18px #1f7a531a;font-weight:800}.meta-chip{position:relative}.meta-chip:after{content:attr(data-tooltip);position:absolute;z-index:20;left:0;bottom:calc(100% + 10px);width:max-content;max-width:280px;padding:8px 10px;color:var(--paper);background:var(--ink);border-radius:10px;box-shadow:0 12px 28px #382b232e;font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif;font-size:12px;line-height:1.3;white-space:normal;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease}.meta-chip:before{content:"";position:absolute;z-index:21;left:16px;bottom:calc(100% + 4px);width:10px;height:10px;background:var(--ink);opacity:0;pointer-events:none;transform:rotate(45deg) translateY(4px);transition:opacity .12s ease,transform .12s ease}.meta-chip:hover:after,.meta-chip:hover:before,.meta-chip:focus-visible:after,.meta-chip:focus-visible:before{opacity:1;transform:translateY(0)}.meta-chip:hover:before,.meta-chip:focus-visible:before{transform:rotate(45deg) translateY(0)}.metrics .warn{color:var(--clay);border-color:#c9614a73}.metrics .caution{color:var(--ochre);border-color:#c9903573}.metrics .warn svg{flex:0 0 auto}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);cursor:pointer;box-shadow:0 8px 18px #382b2314}.icon-button.compact{width:28px;height:28px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}.toolbar-group{display:flex;align-items:center;gap:8px}.open-button{flex:0 0 auto}.panel-switch{flex-wrap:wrap}.select-control{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--line);border-radius:10px;background:#fffaf2e6;color:var(--muted)}.select-control select{max-width:132px;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:12px}.relationship-legend{position:absolute;z-index:35;top:116px;left:18px;display:grid;gap:7px;width:190px;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fffaf2eb;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-height:min(480px,calc(100vh - 142px));overflow:auto}.legend-title,.legend-note{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.relationship-legend button{display:flex;align-items:center;gap:8px;padding:6px 7px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.relationship-legend button.active{color:var(--ink);border-color:#1f7a5338;background:var(--accent-soft)}.legend-line{width:28px;height:0;border-top:2px solid var(--line-strong)}.legend-line.mapped{border-color:var(--accent);border-style:dashed}.legend-line.call{border-color:var(--clay);border-style:dashed}.scale-controls{position:absolute;z-index:35;top:116px;left:220px;display:grid;gap:8px;width:190px;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fffaf2eb;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-height:min(560px,calc(100vh - 142px));overflow:auto}.scale-list{display:grid;gap:6px}.scale-list button,.scale-reset{display:grid;gap:2px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font:inherit;text-align:left;cursor:pointer}.scale-list button.active{color:var(--ink);border-color:#1f7a5338;background:var(--accent-soft)}.scale-list button.collapsed{border-color:#b7a69657;border-style:dashed;background:#b7a69614}.scale-list span{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700}.scale-list small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.scale-reset{color:var(--accent);border-color:#1f7a5333;background:#1f7a5314;text-align:center}.floating-panel{position:absolute;z-index:40;top:116px;right:18px;width:min(360px,calc(100vw - 36px));max-height:min(560px,calc(100vh - 142px));overflow:auto;padding:14px;background:#fffaf2f5;border:1px solid rgba(191,106,84,.32);border-radius:14px;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.warnings-panel{border-color:#c9903559}.open-panel{left:18px;right:auto;border-color:#1f7a5352}.floating-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.floating-panel h2{font-size:18px}.react-flow{background:transparent;z-index:1}.react-flow__background{display:none}.react-flow__edges{z-index:8}.react-flow__edges:has(.react-flow__edge.highlighted){z-index:120}.react-flow__edgelabel-renderer{z-index:28}.react-flow__edgelabel-renderer:has(.edge-chip.highlighted){z-index:121}.react-flow__nodes{z-index:20}.model-node{position:relative;overflow:visible;background:#fffaf2f5;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 42px var(--shadow)}.model-remove-button{position:absolute;z-index:45;top:-11px;right:-11px;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(191,106,84,.4);border-radius:999px;color:#fff;background:var(--clay);box-shadow:0 10px 24px #bf6a543d;cursor:pointer}.model-remove-button:hover,.model-remove-button:focus-visible{outline:none;background:#9b3f2e;transform:translateY(-1px)}.node-header{border-radius:16px 16px 0 0}.model-node.selected{border-color:#1f7a53b8;box-shadow:0 20px 48px #1f7a5324}.model-node.focused{border-color:#1f7a539e;box-shadow:0 20px 48px #1f7a5324,0 0 0 4px #1f7a5314}.model-node.dimmed{opacity:.2;filter:grayscale(.2)}.model-node.cyclic{border-color:#bf6a549e;box-shadow:0 18px 42px var(--shadow),0 0 0 3px #bf6a5414}.model-node.cyclic .node-header>svg{color:var(--clay)}.model-node.hard_dependency{border-color:#bf6a548c;border-style:dashed;background:#fff6f0f0;box-shadow:0 14px 30px #bf6a541f}.model-node.hard_dependency .node-header{background:linear-gradient(90deg,rgba(191,106,84,.08),transparent 60%),var(--paper-strong)}.model-node.hard_dependency .node-header>svg{color:var(--clay)}.model-node.hard_dependency .process:before{content:"↳ ";color:var(--clay)}.model-node.overview-node{border-radius:12px;box-shadow:0 10px 24px #382b231a}.model-node.overview-node .node-header{min-height:64px;padding:9px 10px;border-radius:12px 12px 0 0}.model-node.overview-node .process{font-size:12px;line-height:1.18;overflow-wrap:anywhere}.model-node.overview-node .model-type{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-node-summary{display:flex;flex-wrap:wrap;gap:5px;padding:8px 10px 10px}.overview-node-summary span{min-width:0;max-width:100%;padding:3px 6px;border:1px solid rgba(183,166,150,.35);border-radius:999px;color:var(--muted);background:#fffdf7c2;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-port-handles .react-flow__handle{width:7px;height:7px;border-color:#fffaf2e6;background:var(--line-strong)}.overview-port-handles .react-flow__handle-right{background:var(--accent)}.hard-chip{color:var(--clay);border-color:#bf6a5447!important;background:#fff6f0e6!important}.node-header{display:grid;grid-template-columns:1fr auto;align-items:flex-start;gap:11px;padding:11px 12px 12px;color:var(--ink);background:var(--paper-strong);border-bottom:1px solid var(--line)}.node-header>svg{color:var(--accent)}.process{font-weight:820;font-size:15px;letter-spacing:0}.model-type{margin-top:2px;font-size:12px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.node-meta{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px 0}.ports-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.port-title{margin-bottom:6px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.port{position:relative;display:flex;align-items:center;gap:5px;min-height:24px;margin:4px 0;padding:4px 7px;border:1px solid var(--line);border-radius:8px;background:#fffdf7e6;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.port:after{content:attr(data-default);position:absolute;z-index:60;left:50%;bottom:calc(100% + 8px);width:max-content;max-width:240px;padding:7px 9px;color:var(--paper);background:var(--ink);border-radius:9px;box-shadow:0 12px 28px #382b232e;font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif;font-size:11px;line-height:1.3;white-space:normal;opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:opacity .12s ease,transform .12s ease}.port:hover:after,.port.active:after{opacity:1;transform:translate(-50%)}.app-shell.has-candidate-popover .port.active:after{opacity:0}.port.output{justify-content:flex-end}.port.previous{color:var(--clay)}.port.mapped{border-color:#1f7a5361}.port-candidate-button{position:relative;z-index:8;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:16px;height:16px;padding:0;color:var(--accent);background:#fffdf7f0;border:1px solid rgba(31,122,83,.34);border-radius:999px;cursor:pointer}.port-candidate-button:hover,.port-candidate-button:focus-visible{color:#fffdfa;background:var(--accent);outline:none}.port-cycle-break-button{position:relative;z-index:9;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;padding:0;color:#9b2d22;background:#fff1ecf5;border:1px solid rgba(211,66,47,.45);border-radius:999px;cursor:pointer;box-shadow:0 5px 12px #d3422f29}.port-cycle-break-button:hover,.port-cycle-break-button:focus-visible{color:#fffdfa;background:#d3422f;outline:none}.port.active .port-candidate-button{color:var(--accent);background:#fffdfa}@keyframes cycleTargetPulse{0%,to{box-shadow:inset 3px 0 #d3422fc7,0 0 0 3px #d3422f14}50%{box-shadow:inset 3px 0 #d3422feb,0 0 0 6px #d3422f26}}.candidate-popover{position:fixed;z-index:1200;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;color:var(--ink);border:1px solid rgba(31,122,83,.28);border-radius:8px;background:linear-gradient(135deg,rgba(31,122,83,.08),transparent 42%),#fffdf7fa;box-shadow:0 18px 42px #382b232e}.candidate-popover-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 12px 9px;border-bottom:1px solid rgba(183,166,150,.32)}.candidate-popover-header h3{margin:3px 0 0;overflow-wrap:anywhere;font-size:15px}.candidate-popover-list{display:grid;gap:8px;overflow:auto;padding:10px}.candidate-model-card{display:grid;gap:5px;width:100%;padding:9px 10px;color:var(--ink);border:1px solid rgba(183,166,150,.38);border-left:4px solid var(--accent);border-radius:8px;background:#ffffffb3;font:inherit;text-align:left;cursor:pointer}.candidate-model-card:hover,.candidate-model-card:focus-visible{background:#fffdf7f5;border-color:#1f7a536b;outline:none}.candidate-model-card strong{overflow-wrap:anywhere;font-size:12px}.candidate-model-card span{color:var(--muted);font-size:11px}.candidate-model-card small{overflow-wrap:anywhere;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.port.required-input{border-color:#bf6a54b8;background:linear-gradient(90deg,#bf6a5429,#fffdf7eb 62%),#fffdf7e6;box-shadow:inset 3px 0 #bf6a54bd}.port.required-input .react-flow__handle{border-color:var(--clay);background:#fff6f0;box-shadow:0 0 0 3px #fffaf2eb,0 0 0 6px #bf6a5421}.port.cycle-break-target{border-color:#d3422fb8;background:linear-gradient(90deg,#d3422f2e,#fffdf7eb 62%),#fffdf7e6;box-shadow:inset 3px 0 #d3422fc7,0 0 0 3px #d3422f14}.cycle-break-mode .port.cycle-break-target{animation:cycleTargetPulse 1.35s ease-in-out infinite}.port.cycle-break-target .react-flow__handle{border-color:#d3422f;background:#fff1ec;box-shadow:0 0 0 3px #fffaf2eb,0 0 0 7px #d3422f26}.port.highlighted{border-color:var(--line);background:#fffdfa}.port.focused{border-color:#1f7a5394;background:var(--accent-soft)}.port.active{color:#fffdfa;border-color:var(--accent);background:var(--accent)}.port.cycle-break-target.active,.port.cycle-break-target.focused,.port.cycle-break-target.highlighted{color:#7a2018;border-color:#d3422fc7;background:linear-gradient(90deg,#d3422f33,#fffdf7f0 64%),#fffdf7f0;box-shadow:inset 3px 0 #d3422fdb,0 0 0 4px #d3422f1f}.port.cycle-break-target.active:after{background:#7a2018}.port.cycle-break-target.active .port-cycle-break-button,.port.cycle-break-target.focused .port-cycle-break-button,.port.cycle-break-target.highlighted .port-cycle-break-button{color:#9b2d22;background:#fff1ecfa}.react-flow__handle{width:9px;height:9px;border:1px solid var(--line-strong);background:var(--paper);z-index:25;box-shadow:0 0 0 3px #fffaf2eb}.react-flow__handle.call-handle{width:12px;height:36px;opacity:0;pointer-events:none}.react-flow__edge.multiscale path{stroke-dasharray:7 5}.react-flow__edge.mapped_variable path{stroke:var(--accent)}.react-flow__edge.hard_dependency path{stroke:var(--clay)}.react-flow__edge.cycle_dependency path,.react-flow__edge.cycle_edge path{stroke:#d3422f;filter:drop-shadow(0 0 5px rgba(211,66,47,.26))}.react-flow__edge.call_edge path{stroke-width:1.7;stroke-dasharray:3 6;opacity:.7}.react-flow__edge.highlighted path{stroke-width:3;stroke:var(--accent)}.react-flow__edge.focused path{stroke-width:2.8}.react-flow__edge.highlighted{z-index:80!important}.react-flow__edge.focused{z-index:70!important}.react-flow__edge.dimmed{opacity:.04}.overview-mode .react-flow__edge.variable_edge path{stroke-width:1.45!important;opacity:.74}.overview-mode .react-flow__edge.call_edge path{stroke-width:1.15!important;opacity:.4}.overview-mode .react-flow__edge.highlighted path,.overview-mode .react-flow__edge.focused path{stroke-width:2.8!important;opacity:1}.edge-chip{position:absolute;z-index:-1;display:inline-flex;align-items:center;gap:6px;padding:3px 7px;color:var(--ink);background:#fffaf2f0;border:1px solid var(--line);border-radius:999px;box-shadow:0 8px 20px #382b231a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1;pointer-events:none;white-space:nowrap}.edge-chip.mapped_variable,.edge-chip.multiscale{border-color:#1f7a534d;background:#f8faf1f5}.edge-chip.hard_dependency{border-color:#bf6a5452;background:#fff6f0f5}.edge-chip.cycle_dependency,.edge-chip.cycle_edge{color:#7a2018;border-color:#d3422f70;background:#ffeee9fa}.edge-chip small{color:var(--muted);font-size:9px;letter-spacing:.02em;text-transform:uppercase}.edge-chip.highlighted{z-index:80;color:#fffdfa;border-color:var(--accent);background:var(--accent);box-shadow:0 12px 24px #1f7a5338}.edge-chip.highlighted small{color:#fffdf7b8}.edge-chip.dimmed{opacity:.04}.overview-mode .edge-chip:not(.highlighted):not(.focused),.overview-mode .edge-terminal:not(.highlighted):not(.focused){display:none}.edge-chip.focused{z-index:70;border-color:#1f7a535c;box-shadow:0 10px 22px #1f7a5324}.edge-terminal{position:absolute;z-index:32;--terminal-color: var(--line-strong);width:18px;height:10px;pointer-events:none;opacity:.95}.edge-terminal:before{content:"";position:absolute;top:4px;left:2px;right:2px;height:2px;border-radius:999px;background:var(--terminal-color)}.edge-terminal.target:after{content:"";position:absolute;top:1px;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent}.edge-terminal[data-side=left]:before{left:7px}.edge-terminal[data-side=right]:before{right:7px}.edge-terminal.target[data-side=left]:after{right:0;border-left:7px solid var(--terminal-color)}.edge-terminal.target[data-side=right]:after{left:0;border-right:7px solid var(--terminal-color)}.edge-terminal.highlighted:before{height:3px}.edge-terminal.dimmed{opacity:.12}.cycle-edge-card{border-color:#d3422f57;background:linear-gradient(135deg,rgba(211,66,47,.1),transparent 58%),#fffaf2e0}.cycle-break-button{justify-content:center;margin:8px 0 4px}.inspector{border-left:1px solid var(--line);background:#fffaf2d1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:18px;overflow:auto}.inspector:focus{outline:none}.inspector.guided-focus{animation:guided-panel-focus 1.8s ease-out}@keyframes guided-panel-focus{0%{box-shadow:inset 0 0 0 3px #1f7a537a,-18px 0 44px #1f7a5329;background:#fafff7f0}60%{box-shadow:inset 0 0 0 3px #1f7a535c,-12px 0 34px #1f7a531f}to{box-shadow:none;background:#fffaf2d1}}.inspector header{display:flex;align-items:center;gap:8px;margin-bottom:14px}.mapping-code-panel{display:grid;gap:10px}.row-with-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.mapping-code{width:100%;min-height:260px;resize:vertical;border:1px solid var(--line);border-radius:10px;background:#fffdf7e6;color:var(--ink);padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.45}.storage-grid{display:grid;gap:8px}.path-status{display:grid;gap:3px;border:1px solid var(--line);border-radius:10px;background:#fffaf2b8;padding:9px}.path-status span{color:var(--muted);font-size:11px;font-weight:720}.path-status strong{color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;overflow-wrap:anywhere}.recent-mappings{display:grid;gap:8px;margin-top:4px}.open-mapping-panel{display:grid;gap:12px}.recent-mapping-list{display:grid;gap:7px}.recent-mapping-item{display:grid;gap:3px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fffdf7d1;color:var(--ink);padding:9px;cursor:pointer}.recent-mapping-item:hover,.recent-mapping-item:focus-visible{border-color:#1f7a5352;background:#1f7a5314}.recent-mapping-item span{font-weight:720}.recent-mapping-item small{color:var(--muted);overflow-wrap:anywhere}.inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.inspector h2{font-size:17px}.inspector h3{margin-top:22px;margin-bottom:8px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.row{display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px;padding:8px 0;border-top:1px solid rgba(183,166,150,.35)}.row span{color:var(--muted)}.row strong{overflow-wrap:anywhere;font-weight:620}.variable-card{border:1px solid var(--line);border-radius:12px;background:#fffaf2bf;padding:10px}.edge-detail-card{display:grid;gap:4px;margin-bottom:14px;padding:10px;border:1px solid rgba(31,122,83,.24);border-radius:12px;background:linear-gradient(135deg,rgba(31,122,83,.08),transparent 58%),#fffaf2d1}.edge-detail-card .diagnostic,.edge-detail-card .empty-state{margin-top:6px}.variable-card .row:first-of-type{margin-top:8px}.variable-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.variable-card-title span{overflow-wrap:anywhere;font-weight:720}.variable-card-title small{color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.diagnostic,.edit-suggestion,.initialization-note,.empty-state{border:1px solid var(--line);border-radius:12px;background:#fffaf2bf;padding:10px;color:var(--muted)}.diagnostic,.edit-suggestion,.initialization-note{display:flex;align-items:center;gap:7px}.diagnostic,.edit-suggestion{color:var(--clay);border-color:#c9614a47;background:#c9614a17}.initialization-note{color:#87533b;border-color:#bf6a5452;background:#bf6a541a}.initialization-list{display:grid;gap:8px}.initialization-list.compact{gap:6px}.initialization-group{display:grid;gap:7px}.initialization-group h4,.provenance-block h4{margin:6px 0 0;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.initialization-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 10px;color:var(--ink);background:#fffaf2c7;border:1px solid rgba(191,106,84,.28);border-left:4px solid var(--clay);border-radius:10px;font:inherit;text-align:left;cursor:pointer}.initialization-item:hover,.initialization-item:focus-visible{background:#fff6f0f5;outline:none}.initialization-item span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.initialization-item strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.initialization-item small{grid-column:1 / -1;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.initialization-item.previous_time_step{border-left-color:var(--ochre)}.initialization-item.mapped_unresolved{border-left-color:var(--accent)}.warning-list,.provenance-block{display:grid;gap:8px}.warning-group{display:grid;gap:7px}.warning-group h4{margin:6px 0 0;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.warning-item,.provenance-edge{display:grid;gap:3px;width:100%;padding:9px 10px;border:1px solid rgba(201,144,53,.28);border-left:4px solid var(--ochre);border-radius:10px;background:#fffaf2c7;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.warning-item.error{border-color:#bf6a5457;border-left-color:var(--clay);background:#bf6a5414}.warning-item.info{border-color:#7f8f7342;border-left-color:var(--sage);background:#7f8f7314}.provenance-edge{border-color:#b7a6966b;border-left-color:var(--line-strong)}.provenance-edge.mapped_variable{border-left-color:var(--accent)}.provenance-edge.hard_dependency{border-left-color:var(--clay)}.warning-item:hover,.warning-item:focus-visible,.provenance-edge:hover,.provenance-edge:focus-visible{background:#fff6f0f5;outline:none}.warning-item strong,.provenance-edge strong{overflow-wrap:anywhere;font-size:12px}.warning-item span,.provenance-edge span,.provenance-edge small{color:var(--muted);font-size:11px;line-height:1.25}.provenance-block{margin-top:10px}.empty-state.compact{padding:7px 8px;font-size:11px}.live-session{border-left:1px solid rgba(183,166,150,.36);padding-left:10px}.live-pill{display:inline-flex;align-items:center;height:28px;padding:0 9px;border:1px solid rgba(191,106,84,.38);border-radius:999px;color:var(--clay);background:#bf6a5414;font-size:11px;font-weight:800;text-transform:uppercase}.live-pill.connected{border-color:#1f7a5357;color:var(--accent);background:#1f7a5317}.metric-button:disabled{cursor:not-allowed;opacity:.42}.model-browser{display:grid;gap:7px}.model-browser-control{display:grid;gap:4px}.model-browser-control span,.parameter-row label{color:var(--muted);font-size:11px;font-weight:700}.model-browser-control select,.model-browser-control input,.parameter-row input,.parameter-row select{min-width:0;border:1px solid rgba(183,166,150,.44);border-radius:8px;background:#ffffffc7;color:var(--ink);font:inherit}.model-browser-control select,.model-browser-control input{height:32px;padding:0 8px}.model-browser-item{display:grid;gap:7px;padding:8px 9px;border:1px solid rgba(183,166,150,.34);border-radius:10px;background:#ffffff9e}.model-browser-item.add-model-config{gap:10px;padding-bottom:0}.model-browser-title{display:grid;gap:2px}.model-browser-item strong{overflow-wrap:anywhere;font-size:12px}.model-browser-item span{color:var(--muted);font-size:11px}.existing-model-editor{display:grid;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(183,166,150,.32)}.variable-mapping-editor{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(183,166,150,.32)}.variable-mapping-editor h4{margin:0;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.initialization-editor{display:grid;gap:12px}.initialization-editor-group{display:grid;gap:8px}.initialization-editor-group h3{margin:0}.initialization-editor-row{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(82px,.72fr) auto;gap:7px;align-items:center;padding:9px;border:1px solid rgba(191,106,84,.26);border-left:4px solid var(--clay);border-radius:8px;background:#fffaf2c7}.initialization-editor-row.provided{border-color:#1f7a533d;border-left-color:var(--accent)}.initialization-editor-row label{overflow-wrap:anywhere;font-weight:700}.initialization-editor-row input,.initialization-editor-row select{min-width:0;height:30px;border:1px solid rgba(183,166,150,.44);border-radius:8px;background:#ffffffc7;color:var(--ink);font:inherit}.initialization-editor-row input{padding:0 8px}.initialization-editor-row small{grid-column:1 / -1;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.parameter-row{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr) minmax(78px,.8fr);gap:6px;align-items:center}.parameter-row input,.parameter-row select{height:28px;padding:0 7px;font-size:12px}.rate-editor{display:grid;gap:6px;padding:7px;border:1px solid rgba(183,166,150,.28);border-radius:8px;background:#fcf9f4b8}.add-model-footer{position:sticky;bottom:-18px;display:flex;justify-content:flex-end;margin:2px -9px 0;padding:10px 9px;border-top:1px solid rgba(183,166,150,.34);border-radius:0 0 10px 10px;background:#fffaf2f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.rate-summary{color:var(--muted);font-size:11px;line-height:1.35}.rate-clock-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.rate-clock-row label{display:grid;gap:4px;color:var(--muted);font-size:11px;font-weight:700}.rate-clock-row input{min-width:0;height:28px;border:1px solid rgba(183,166,150,.44);border-radius:8px;background:#ffffffc7;color:var(--ink);font:inherit;padding:0 7px}.metric-button.danger{border-color:#bf6a546b;color:#9b3f2e;background:#fff2ecdb}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.inspector{position:absolute;z-index:28;top:150px;right:16px;bottom:16px;width:min(360px,calc(100% - 32px));border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 45px var(--shadow)}.relationship-legend,.scale-controls,.floating-panel{top:150px}.scale-controls{left:220px}}@media(max-width:720px){.topbar{top:10px;left:10px;right:10px;gap:8px;padding:9px 10px}.topbar:before{display:none}.brand-block{min-width:128px}.search-box{flex-basis:100%;max-width:none;min-width:0}.metrics{margin-left:0}.relationship-legend,.scale-controls,.floating-panel{top:132px;left:10px;right:10px;width:auto}.scale-controls{top:326px}.react-flow__minimap{display:none}}.mapping-dialog-overlay{position:fixed;inset:0;z-index:1000;background:#31272161;display:flex;align-items:center;justify-content:center}.mapping-dialog{background:var(--paper);border:1px solid var(--line-strong);border-radius:10px;box-shadow:0 8px 32px var(--shadow);width:360px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;gap:0;overflow:hidden}.mapping-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid var(--line)}.mapping-dialog-header .eyebrow{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.mapping-dialog-body{padding:14px 16px;display:flex;flex-direction:column;gap:14px}.mapping-port-summary{display:flex;align-items:center;gap:8px;background:var(--paper-strong);border:1px solid var(--line);border-radius:6px;padding:10px 12px}.mapping-port{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}.mapping-port small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.mapping-port strong{font-size:12px;font-weight:700;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapping-port span{font-size:11px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapping-port.target strong{color:var(--clay)}.mapping-arrow{font-size:18px;color:var(--muted);flex-shrink:0}.mapping-mode-section{display:flex;flex-direction:column;gap:6px}.mapping-mode-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:2px}.mapping-radio{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;padding:4px 0}.mapping-radio input[type=radio]{accent-color:var(--accent);width:14px;height:14px;flex-shrink:0}.mapping-scale-picker{display:flex;flex-direction:column;gap:4px}.mapping-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;padding:2px 0}.mapping-checkbox input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px;flex-shrink:0}.mapping-dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--line)}.accent-button{background:var(--accent);color:#fff;border-color:transparent}.accent-button:hover:not(:disabled){background:var(--sage-dark);border-color:transparent}.selector-preview{display:grid;gap:6px;padding:12px;border:1px solid #b9d3c4;background:#f2f8f4;border-radius:6px}.selector-preview span,.selector-preview p{margin:0;color:#615c55;font-size:.86rem}.selector-preview p{color:#a44b39}.selector-preview-button{display:inline-flex;align-items:center;gap:6px;width:max-content}.environment-ports{border-top:1px solid #ded5c8;margin-top:8px;padding-top:8px}.entity-node.environment{border-color:#8fb9c2;background:#f3fafb}.entity-node.template{border-color:#9a8bc0;background:#f8f5fd}.instance-form{width:min(780px,100%)}.instance-form-content{display:grid;gap:14px}.environment-form{width:min(560px,100%)}.environment-summary,.effective-environment{display:grid;gap:6px;padding:10px;border:1px solid #d4dfdb;border-radius:5px;background:#f4f9f6}.environment-summary span,.environment-hint{color:#655f58;font-size:12px}.environment-sources input,.configuration-list>div>input,.configuration-list>div>select{width:100%;min-height:32px;border:1px solid #cdbda8;border-radius:5px;background:#fffdf8;color:#302923}.compact-actions{display:flex;justify-content:flex-end;gap:8px}.compact-actions button{display:inline-flex;align-items:center;gap:5px}.application-configuration-form{width:min(820px,100%)}.application-configuration-content{display:grid;gap:14px}.application-configuration-content fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.application-configuration-content legend{padding:0 6px;color:#2d6652;font-weight:800}.application-configuration-content p{margin:0;color:#786d64}.configuration-list{display:grid;gap:7px;margin-bottom:10px}.configuration-list>div,.configuration-list>label{min-height:36px;display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 9px;border:1px solid #e4d9ca;border-radius:5px;background:#fffdf8}.configuration-list span{overflow:hidden;color:#786d64;text-overflow:ellipsis;white-space:nowrap}.configuration-list select,.compact-configuration-row input,.compact-configuration-row select{width:100%;min-height:34px;border:1px solid #cdbda8;border-radius:5px;background:#fffdf8;color:#302923}.compact-configuration-row{align-items:end}.compact-configuration-row label{display:grid;gap:5px;color:#655b52;font-size:12px;font-weight:700}.compact-configuration-row button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;padding:0}.application-configuration-form>footer{display:flex;justify-content:flex-end;padding:12px 15px;border-top:1px solid #ded2c2} diff --git a/frontend/dist/assets/index-DH4q_-2-.css b/frontend/dist/assets/index-DH4q_-2-.css deleted file mode 100644 index 02b2ea4de..000000000 --- a/frontend/dist/assets/index-DH4q_-2-.css +++ /dev/null @@ -1 +0,0 @@ -.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{--bg: #f3eee6;--paper: #fffaf2;--paper-strong: #fbf2e6;--ink: #312721;--muted: #80756c;--line: #ded2c3;--line-strong: #b7a696;--accent: #1f7a53;--accent-soft: rgba(31, 122, 83, .12);--sage: #7f8f73;--sage-dark: #596851;--ochre: #c99035;--clay: #bf6a54;--shadow: rgba(56, 43, 35, .12)}.model-editor-shell{height:100vh;min-height:560px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);color:#302923;background:#f3eee5}.frontend-error{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;padding:24px;color:#743128;background:#fff5ef;text-align:center}.frontend-error h1,.frontend-error p{margin:0}.frontend-error p{max-width:620px;color:#655850}.frontend-error button{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:8px 11px;border:1px solid #b95040;border-radius:5px;color:#fff;background:#b94435}.model-toolbar{z-index:20;display:grid;grid-template-columns:auto minmax(260px,1fr) auto;gap:12px 18px;align-items:center;padding:14px 18px;background:#fffaf2;border-bottom:1px solid #d9cdbd;box-shadow:0 8px 24px #3c302514}.model-brand{display:flex;align-items:center;gap:11px}.model-brand .brand-mark{width:5px;height:42px;border-radius:3px;background:#1f7a58}.model-brand div{display:grid}.model-brand small{color:#81766c;font:10px/1.2 ui-monospace,monospace;letter-spacing:0}.model-brand strong{font-size:20px;letter-spacing:0}.model-search{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 11px;border:1px solid #d9cdbd;border-radius:6px;background:#fffdf8}.model-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit}.model-search button,.model-toolbar button,.overlay-panel button,.candidate-popover button,.editor-feedback button{border:0;background:transparent;color:inherit;cursor:pointer}.model-counts{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.model-counts>span,.model-counts>button{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #d9cdbd;border-radius:5px;background:#fffaf2;font:12px ui-monospace,monospace}.model-counts .count-warning{color:#a96a13;border-color:#dfbd83}.model-counts .count-error{color:#b44e3c;border-color:#dfa496}.view-tabs,.model-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.view-tabs{grid-column:1 / 3}.model-actions{justify-content:flex-end}.view-tabs button,.model-actions button,.cycle-callout button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid #d4c7b6;border-radius:5px;background:#fffaf2;color:#4c433b}.view-tabs button.active{color:#176047;border-color:#83b59e;background:#e9f4ed}.model-actions button:disabled{opacity:.4;cursor:default}.model-actions .overview-cta{color:#176047;border-color:#86bba4;background:#e9f4ed;font-weight:700}.cycle-callout{display:flex;align-items:center;gap:12px;padding:10px 18px;color:#8f2f24;background:#fff0eb;border-bottom:1px solid #df9a8e}.cycle-callout div{display:grid;margin-right:auto}.cycle-callout span{font-size:12px}.cycle-callout button{border-color:#cf7668;color:#8f2f24}.cycle-callout button.active{color:#fff;border-color:#9d3428;background:#b94435}.editor-feedback{display:flex;align-items:center;justify-content:center;gap:12px;padding:7px 16px;background:#fff5d9;border-bottom:1px solid #dfc278;color:#6e5315;font-size:12px}.graph-scope-filter{align-items:center;background:#edf5ef;border-bottom:1px solid #b9d4c0;color:#365849;display:flex;font-size:12px;gap:10px;justify-content:center;min-height:38px;padding:6px 14px}.graph-scope-filter button{align-items:center;background:#fff;border:1px solid #b9d4c0;border-radius:5px;color:#365849;cursor:pointer;display:inline-flex;gap:5px;padding:5px 8px}.model-workspace{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 310px}.flow-wrap{min-width:0;min-height:0;position:relative}.model-inspector{overflow:auto;padding:16px;background:#fffaf2;border-left:1px solid #d9cdbd}.model-inspector>header{display:grid;gap:2px;margin-bottom:14px}.model-inspector>header span{color:#776c63;font:11px ui-monospace,monospace}.model-inspector pre{overflow-wrap:anywhere;white-space:pre-wrap;font-size:10px;line-height:1.45}.empty-inspector{display:grid;place-items:center;padding:48px 20px;color:#8a7e74;text-align:center}.inspector-initialization>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #eee4d6;font-size:11px}.inspector-initialization .unresolved{color:#b74635;font-weight:700}.application-node .target-summary{margin:-2px 0 10px;color:#766c63;font-size:11px}.application-node .target-summary strong{color:#2d6652}.application-node .previous-label{margin-left:auto;color:#1f7a58;font:10px ui-monospace,monospace}.cycle-port-break{display:inline-grid;place-items:center;width:24px;height:24px;margin-left:auto;border:1px solid #c94e3e!important;border-radius:50%;color:#a63428!important;background:#fff0eb!important;box-shadow:0 3px 9px #8c2d232e}.cycle-port-break:hover{color:#fff!important;background:#bd4435!important}.entity-node{position:relative;width:240px;min-height:105px;padding:13px;border:1px solid #d8cbbb;border-radius:6px;background:#fffaf2;box-shadow:0 7px 18px #392e241f}.entity-node.selected{border-color:#1f7a58;box-shadow:0 0 0 2px #1f7a5829}.entity-node header{display:grid;gap:3px}.entity-node header span{color:#766c63;font-size:11px}.entity-node .badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.candidate-popover{position:fixed;z-index:80;width:370px;max-height:460px;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #cfbfaa;border-radius:7px;background:#fffaf2;box-shadow:0 20px 54px #342a203d}.candidate-popover>header{display:flex;gap:10px;padding:12px;border-bottom:1px solid #e1d5c5}.candidate-popover>header div{display:grid;margin-right:auto}.candidate-popover>header span{color:#7a7067;font-size:10px}.candidate-list{overflow:auto;display:grid;gap:7px;padding:9px}.candidate-card{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px;border:1px solid #ded2c2!important;border-radius:5px;background:#fffdf8!important;text-align:left}.candidate-card:hover{border-color:#76a990!important;background:#edf6f0!important}.candidate-card span{color:#1f7053;font:11px ui-monospace,monospace}.candidate-card small{color:#7a7067}.candidate-card div{grid-column:1 / -1;color:#7a7067;font-size:10px}.candidate-card.existing{border-left:3px solid #1f7a58!important}.candidate-section-label{padding:5px 3px 2px;color:#71675e;font:700 10px ui-monospace,monospace;text-transform:uppercase}.overlay-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;background:#2d251e61}.overlay-panel{width:min(720px,100%);max-height:min(760px,92vh);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #cdbda8;border-radius:7px;background:#fffaf2;box-shadow:0 24px 70px #271f194d}.overlay-panel>header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #ded2c2}.overlay-content{overflow:auto;padding:15px}.diagnostic-card,.cycle-card,.initialization-card{display:grid;gap:5px;margin-bottom:10px;padding:11px;border:1px solid #ded2c2;border-radius:5px}.diagnostic-card{border-left:3px solid #c85240}.diagnostic-card p,.cycle-card p{margin:0}.diagnostic-card small{color:#766c63}.cycle-card button{width:fit-content;padding:6px 8px;border:1px solid #ce7768;border-radius:4px;color:#963529}.model-code{min-height:320px;margin:0;padding:14px;overflow:auto;border-radius:5px;background:#292622;color:#f5eee5}.model-file-dialog{display:grid;gap:14px}.model-file-dialog>p{margin:0;line-height:1.5}.model-file-dialog>label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.model-path-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.model-path-input input{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8;font:12px ui-monospace,monospace}.model-path-input button{padding:8px 13px;border:1px solid #1d7052!important;border-radius:4px;color:#fff!important;background:#1f7a58!important}.model-path-input button:disabled{opacity:.4;cursor:default}.model-file-dialog section{display:grid;gap:7px}.recent-model-list{display:grid;gap:6px}.recent-model-list button{display:grid;gap:2px;padding:9px;border:1px solid #d8cbbb!important;border-radius:5px;background:#fffdf8!important;text-align:left}.recent-model-list button:hover{border-color:#73a88e!important;background:#edf6f0!important}.recent-model-list small,.model-file-dialog>small{color:#776d64;overflow-wrap:anywhere}.recovery-path{padding:9px;border:1px dashed #c99035!important;border-radius:5px;color:#6d511d!important;background:#fff6e6!important;text-align:left;overflow-wrap:anywhere}.initialization-group{display:grid;gap:10px;margin-bottom:12px;padding:12px;border:1px solid #d8cbbb;border-radius:6px;background:#fffdf8}.initialization-group>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.initialization-group>header div{display:grid}.initialization-group>header span,.initialization-group>header small{color:#786d64;font:10px ui-monospace,monospace}.initialization-group>p{margin:0;color:#6c625a;font-size:11px;line-height:1.45}.initialization-value{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:8px;align-items:end}.initialization-value label{display:grid;gap:4px;color:#5f554d;font-size:10px;font-weight:700}.initialization-value input,.initialization-value select{width:100%;min-width:0;padding:7px 8px;border:1px solid #d3c5b4;border-radius:4px;background:#fff}.initialization-value button,.initialization-object-list button{padding:7px 9px;border:1px solid #85ad99!important;border-radius:4px;color:#176047!important;background:#edf6f0!important}.initialization-value button:disabled,.initialization-object-list button:disabled{opacity:.4;cursor:default}.initialization-object-list{display:grid;gap:5px}.initialization-object-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding-top:5px;border-top:1px solid #ece1d2;font-size:11px}.initialization-object-list code{color:#a33d31}@media(max-width:980px){.model-toolbar{grid-template-columns:1fr}.view-tabs{grid-column:auto}.model-counts,.model-actions{justify-content:flex-start}.model-workspace{grid-template-columns:1fr}.model-inspector{display:none}}.application-form{width:min(780px,100%)}.object-form{width:min(640px,100%)}.override-form{width:min(760px,100%)}.application-form>header div{display:grid;gap:2px}.object-form>header div{display:grid;gap:2px}.override-form>header div{display:grid;gap:2px}.application-form>header span{color:#786d64;font-size:11px}.object-form>header span{color:#786d64;font-size:11px}.override-form>header span{color:#786d64;font-size:11px}.application-form-content,.object-form-content,.override-form-content{display:grid;gap:14px}.application-form-content>label,.application-form fieldset label,.object-form-content label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.override-form-content label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.application-form input,.application-form select,.object-form input,.object-form select,.override-form input,.override-form select{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8;color:#332c26;font:12px ui-monospace,monospace}.override-form fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.override-form legend{padding:0 6px;color:#2d6652;font-weight:800}.override-form fieldset label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.override-scope-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px}.override-scope-choice button{display:grid;gap:3px;padding:11px;border:1px solid #d4c7b6!important;border-radius:5px;background:#fffdf8!important;text-align:left}.override-scope-choice button.active{border-color:#72a88d!important;background:#edf6f0!important}.override-scope-choice span{color:#756a61;font-size:10px;line-height:1.4}.override-warning{display:grid;gap:3px;padding:10px;border-left:3px solid #c99035;background:#fff6e6}.override-warning span{color:#74685e;font-size:11px}.application-form fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.application-form legend{padding:0 6px;color:#2d6652;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.parameter-list{display:grid;gap:9px}.parameter-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:9px;align-items:end}.parameter-row>label>span{color:#3c342e}.parameter-row small{color:#8a7e74;font-weight:400}.selector-summary{margin:10px 0 0;color:#796e64;font-size:11px}.application-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.object-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.override-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.application-form>footer button,.object-form>footer button,.override-form>footer button,.inspector-actions button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d2c4b3;border-radius:4px;background:#fffdf8}.application-form>footer .primary,.object-form>footer .primary{color:#fff;border-color:#1d7052;background:#1f7a58}.override-form>footer .primary{color:#fff;border-color:#1d7052;background:#1f7a58}.application-form>footer button:disabled{opacity:.45}.object-form>footer button:disabled{opacity:.45}.override-form>footer button:disabled{opacity:.45}.inspector-actions{display:flex;gap:7px;margin:10px 0 16px}.inspector-actions .danger{color:#a33d31;border-color:#d8a296}.binding-form{width:min(680px,100%)}.binding-form>header div{display:grid;gap:2px}.binding-form>header span{color:#786d64;font-size:11px}.binding-form .overlay-content{display:grid;gap:14px}.binding-route{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;padding:12px;border:1px solid #d8cbbb;border-radius:5px;background:#fffdf8}.binding-route>div{display:grid;gap:3px;min-width:0}.binding-route>div:last-child{text-align:right}.binding-route small{color:#7c7168;text-transform:uppercase;font-size:9px}.binding-route strong,.binding-route code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.binding-route code{color:#1f7053}.binding-form fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.binding-form legend{padding:0 6px;color:#2d6652;font-weight:800}.binding-form fieldset label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.binding-form select{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8;color:#332c26;font:12px ui-monospace,monospace}.binding-form>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.binding-form>footer button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d2c4b3;border-radius:4px;background:#fffdf8}.binding-form>footer .primary{color:#fff;border-color:#1d7052;background:#1f7a58}.cycle-break-dialog{width:min(620px,100%)}.cycle-break-dialog>header div{display:grid;gap:2px}.cycle-break-dialog>header span{color:#a33d31;font:11px ui-monospace,monospace}.cycle-break-dialog .overlay-content{display:grid;gap:13px}.cycle-break-dialog p{margin:0;line-height:1.5}.cycle-impact{display:grid;gap:3px;padding:10px;border-left:3px solid #c54c3c;background:#fff0eb}.cycle-impact span{color:#705f57;font-size:11px}.cycle-break-dialog fieldset{margin:0;padding:12px;border:1px solid #d8cbbb;border-radius:5px}.cycle-break-dialog legend{padding:0 6px;color:#9a392e;font-weight:800}.cycle-break-dialog label{display:grid;gap:5px;color:#5f554d;font-size:11px;font-weight:700}.cycle-break-dialog input,.cycle-break-dialog select{width:100%;min-width:0;padding:8px 9px;border:1px solid #d3c5b4;border-radius:4px;background:#fffdf8}.cycle-break-dialog>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #ded2c2}.cycle-break-dialog>footer button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d2c4b3;border-radius:4px;background:#fffdf8}.cycle-break-dialog>footer .primary{color:#fff;border-color:#a8392d;background:#b94435}.cycle-break-dialog>footer button:disabled{opacity:.45;cursor:default}@media(max-width:700px){.form-grid,.parameter-row,.override-scope-choice,.binding-route{grid-template-columns:1fr}.binding-route>div:last-child{text-align:left}.initialization-value{grid-template-columns:1fr}}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(circle at 20% 24%,rgba(31,122,83,.045),transparent 30%),radial-gradient(circle at 78% 68%,rgba(201,144,53,.055),transparent 34%),linear-gradient(180deg,rgba(255,250,242,.26),transparent 42%),var(--bg);font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif}.app-shell{display:grid;grid-template-columns:minmax(0,1fr);height:100vh;position:relative}.app-shell.has-side-panel{grid-template-columns:minmax(0,1fr) 340px}.graph-panel{position:relative;min-width:0}.graph-panel:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.2;background-image:radial-gradient(rgba(49,39,33,.11) .55px,transparent .55px);background-size:16px 16px;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 22%,black 82%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,black 22%,black 82%,transparent 100%)}.topbar{position:absolute;z-index:10;top:18px;left:18px;right:18px;display:flex;align-items:center;gap:12px;padding:11px 14px;background:#fffaf2eb;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar:before{content:"";align-self:stretch;width:5px;border-radius:999px;background:var(--accent)}.editor-feedback{position:absolute;z-index:12;top:96px;left:18px;right:18px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fffaf2f2;box-shadow:0 12px 30px var(--shadow);max-height:132px;overflow:auto;font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.editor-feedback.error{color:var(--clay);border-color:#bf6a5466;background:#fff4eef7}.editor-feedback.info{color:var(--accent);border-color:#1f7a5359;background:#f5fcf8f7}.cycle-break-prompt{position:absolute;z-index:14;top:98px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid rgba(211,66,47,.32);border-radius:12px;background:linear-gradient(135deg,rgba(211,66,47,.12),transparent 62%),#fffaf2f5;box-shadow:0 16px 36px #382b2329}.cycle-break-prompt div{display:grid;gap:3px;min-width:0}.cycle-break-prompt strong{color:#7a2018;font-size:13px}.cycle-break-prompt span{color:var(--muted);font-size:12px;line-height:1.35}.cycle-break-prompt code{color:#7a2018;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.cycle-break-prompt.active{border-color:#d3422f85;box-shadow:0 16px 36px #382b2329,0 0 0 4px #d3422f14}.cycle-break-cta{flex:0 0 auto;justify-content:center;font-weight:780}.graph-workbench{flex-wrap:wrap;align-items:flex-start;max-height:min(36vh,250px);overflow:auto;scrollbar-width:thin}.brand-block{min-width:150px}.brand-block h1{font-size:clamp(16px,2.2vw,20px)}.search-box{position:relative;display:flex;align-items:center;gap:8px;flex:1 1 280px;max-width:460px;min-width:220px;padding:7px 9px;border:1px solid var(--line);border-radius:11px;background:#fffdf7db}.search-box input{width:100%;min-width:0;border:0;outline:0;color:var(--ink);background:transparent;font:inherit;font-size:13px}.clear-search{display:grid;place-items:center;width:20px;height:20px;border:0;border-radius:999px;background:#b7a6962e;color:var(--muted);cursor:pointer}.search-results{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;display:grid;gap:6px;max-height:360px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fffaf2fa;box-shadow:0 18px 45px var(--shadow)}.search-result{display:grid;gap:2px;padding:8px 9px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.search-result:hover,.search-result:focus-visible{border-color:#1f7a533d;background:var(--accent-soft);outline:none}.search-result strong{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.search-result span{color:var(--muted);font-size:11px}.eyebrow{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}h1,h2,h3{margin:0;letter-spacing:0}h1{font-size:20px;font-weight:800}.metrics{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.metrics span,.metric-button,.node-meta span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--line);border-radius:9px;background:#fffaf2e6;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.metric-button{color:var(--ink);cursor:pointer}.metric-button.active,.metric-button:hover,.metric-button:focus-visible{outline:none;background:#fff6f0}.view-mode-button.overview-cta{border-color:#1f7a5361;color:var(--accent);background:#1f7a531a;box-shadow:0 8px 18px #1f7a531a;font-weight:800}.meta-chip{position:relative}.meta-chip:after{content:attr(data-tooltip);position:absolute;z-index:20;left:0;bottom:calc(100% + 10px);width:max-content;max-width:280px;padding:8px 10px;color:var(--paper);background:var(--ink);border-radius:10px;box-shadow:0 12px 28px #382b232e;font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif;font-size:12px;line-height:1.3;white-space:normal;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease}.meta-chip:before{content:"";position:absolute;z-index:21;left:16px;bottom:calc(100% + 4px);width:10px;height:10px;background:var(--ink);opacity:0;pointer-events:none;transform:rotate(45deg) translateY(4px);transition:opacity .12s ease,transform .12s ease}.meta-chip:hover:after,.meta-chip:hover:before,.meta-chip:focus-visible:after,.meta-chip:focus-visible:before{opacity:1;transform:translateY(0)}.meta-chip:hover:before,.meta-chip:focus-visible:before{transform:rotate(45deg) translateY(0)}.metrics .warn{color:var(--clay);border-color:#c9614a73}.metrics .caution{color:var(--ochre);border-color:#c9903573}.metrics .warn svg{flex:0 0 auto}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);cursor:pointer;box-shadow:0 8px 18px #382b2314}.icon-button.compact{width:28px;height:28px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}.toolbar-group{display:flex;align-items:center;gap:8px}.open-button{flex:0 0 auto}.panel-switch{flex-wrap:wrap}.select-control{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--line);border-radius:10px;background:#fffaf2e6;color:var(--muted)}.select-control select{max-width:132px;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:12px}.relationship-legend{position:absolute;z-index:35;top:116px;left:18px;display:grid;gap:7px;width:190px;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fffaf2eb;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-height:min(480px,calc(100vh - 142px));overflow:auto}.legend-title,.legend-note{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.relationship-legend button{display:flex;align-items:center;gap:8px;padding:6px 7px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.relationship-legend button.active{color:var(--ink);border-color:#1f7a5338;background:var(--accent-soft)}.legend-line{width:28px;height:0;border-top:2px solid var(--line-strong)}.legend-line.mapped{border-color:var(--accent);border-style:dashed}.legend-line.call{border-color:var(--clay);border-style:dashed}.scale-controls{position:absolute;z-index:35;top:116px;left:220px;display:grid;gap:8px;width:190px;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fffaf2eb;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-height:min(560px,calc(100vh - 142px));overflow:auto}.scale-list{display:grid;gap:6px}.scale-list button,.scale-reset{display:grid;gap:2px;width:100%;padding:7px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font:inherit;text-align:left;cursor:pointer}.scale-list button.active{color:var(--ink);border-color:#1f7a5338;background:var(--accent-soft)}.scale-list button.collapsed{border-color:#b7a69657;border-style:dashed;background:#b7a69614}.scale-list span{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700}.scale-list small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.scale-reset{color:var(--accent);border-color:#1f7a5333;background:#1f7a5314;text-align:center}.floating-panel{position:absolute;z-index:40;top:116px;right:18px;width:min(360px,calc(100vw - 36px));max-height:min(560px,calc(100vh - 142px));overflow:auto;padding:14px;background:#fffaf2f5;border:1px solid rgba(191,106,84,.32);border-radius:14px;box-shadow:0 18px 45px var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.warnings-panel{border-color:#c9903559}.open-panel{left:18px;right:auto;border-color:#1f7a5352}.floating-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.floating-panel h2{font-size:18px}.react-flow{background:transparent;z-index:1}.react-flow__background{display:none}.react-flow__edges{z-index:8}.react-flow__edges:has(.react-flow__edge.highlighted){z-index:120}.react-flow__edgelabel-renderer{z-index:28}.react-flow__edgelabel-renderer:has(.edge-chip.highlighted){z-index:121}.react-flow__nodes{z-index:20}.model-node{position:relative;overflow:visible;background:#fffaf2f5;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 42px var(--shadow)}.model-remove-button{position:absolute;z-index:45;top:-11px;right:-11px;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(191,106,84,.4);border-radius:999px;color:#fff;background:var(--clay);box-shadow:0 10px 24px #bf6a543d;cursor:pointer}.model-remove-button:hover,.model-remove-button:focus-visible{outline:none;background:#9b3f2e;transform:translateY(-1px)}.node-header{border-radius:16px 16px 0 0}.model-node.selected{border-color:#1f7a53b8;box-shadow:0 20px 48px #1f7a5324}.model-node.focused{border-color:#1f7a539e;box-shadow:0 20px 48px #1f7a5324,0 0 0 4px #1f7a5314}.model-node.dimmed{opacity:.2;filter:grayscale(.2)}.model-node.cyclic{border-color:#bf6a549e;box-shadow:0 18px 42px var(--shadow),0 0 0 3px #bf6a5414}.model-node.cyclic .node-header>svg{color:var(--clay)}.model-node.hard_dependency{border-color:#bf6a548c;border-style:dashed;background:#fff6f0f0;box-shadow:0 14px 30px #bf6a541f}.model-node.hard_dependency .node-header{background:linear-gradient(90deg,rgba(191,106,84,.08),transparent 60%),var(--paper-strong)}.model-node.hard_dependency .node-header>svg{color:var(--clay)}.model-node.hard_dependency .process:before{content:"↳ ";color:var(--clay)}.model-node.overview-node{border-radius:12px;box-shadow:0 10px 24px #382b231a}.model-node.overview-node .node-header{min-height:64px;padding:9px 10px;border-radius:12px 12px 0 0}.model-node.overview-node .process{font-size:12px;line-height:1.18;overflow-wrap:anywhere}.model-node.overview-node .model-type{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-node-summary{display:flex;flex-wrap:wrap;gap:5px;padding:8px 10px 10px}.overview-node-summary span{min-width:0;max-width:100%;padding:3px 6px;border:1px solid rgba(183,166,150,.35);border-radius:999px;color:var(--muted);background:#fffdf7c2;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-port-handles .react-flow__handle{width:7px;height:7px;border-color:#fffaf2e6;background:var(--line-strong)}.overview-port-handles .react-flow__handle-right{background:var(--accent)}.hard-chip{color:var(--clay);border-color:#bf6a5447!important;background:#fff6f0e6!important}.node-header{display:grid;grid-template-columns:1fr auto;align-items:flex-start;gap:11px;padding:11px 12px 12px;color:var(--ink);background:var(--paper-strong);border-bottom:1px solid var(--line)}.node-header>svg{color:var(--accent)}.process{font-weight:820;font-size:15px;letter-spacing:0}.model-type{margin-top:2px;font-size:12px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.node-meta{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px 0}.ports-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}.port-title{margin-bottom:6px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.port{position:relative;display:flex;align-items:center;gap:5px;min-height:24px;margin:4px 0;padding:4px 7px;border:1px solid var(--line);border-radius:8px;background:#fffdf7e6;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.port:after{content:attr(data-default);position:absolute;z-index:60;left:50%;bottom:calc(100% + 8px);width:max-content;max-width:240px;padding:7px 9px;color:var(--paper);background:var(--ink);border-radius:9px;box-shadow:0 12px 28px #382b232e;font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif;font-size:11px;line-height:1.3;white-space:normal;opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:opacity .12s ease,transform .12s ease}.port:hover:after,.port.active:after{opacity:1;transform:translate(-50%)}.app-shell.has-candidate-popover .port.active:after{opacity:0}.port.output{justify-content:flex-end}.port.previous{color:var(--clay)}.port.mapped{border-color:#1f7a5361}.port-candidate-button{position:relative;z-index:8;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:16px;height:16px;padding:0;color:var(--accent);background:#fffdf7f0;border:1px solid rgba(31,122,83,.34);border-radius:999px;cursor:pointer}.port-candidate-button:hover,.port-candidate-button:focus-visible{color:#fffdfa;background:var(--accent);outline:none}.port-cycle-break-button{position:relative;z-index:9;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;padding:0;color:#9b2d22;background:#fff1ecf5;border:1px solid rgba(211,66,47,.45);border-radius:999px;cursor:pointer;box-shadow:0 5px 12px #d3422f29}.port-cycle-break-button:hover,.port-cycle-break-button:focus-visible{color:#fffdfa;background:#d3422f;outline:none}.port.active .port-candidate-button{color:var(--accent);background:#fffdfa}@keyframes cycleTargetPulse{0%,to{box-shadow:inset 3px 0 #d3422fc7,0 0 0 3px #d3422f14}50%{box-shadow:inset 3px 0 #d3422feb,0 0 0 6px #d3422f26}}.candidate-popover{position:fixed;z-index:1200;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;color:var(--ink);border:1px solid rgba(31,122,83,.28);border-radius:8px;background:linear-gradient(135deg,rgba(31,122,83,.08),transparent 42%),#fffdf7fa;box-shadow:0 18px 42px #382b232e}.candidate-popover-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 12px 9px;border-bottom:1px solid rgba(183,166,150,.32)}.candidate-popover-header h3{margin:3px 0 0;overflow-wrap:anywhere;font-size:15px}.candidate-popover-list{display:grid;gap:8px;overflow:auto;padding:10px}.candidate-model-card{display:grid;gap:5px;width:100%;padding:9px 10px;color:var(--ink);border:1px solid rgba(183,166,150,.38);border-left:4px solid var(--accent);border-radius:8px;background:#ffffffb3;font:inherit;text-align:left;cursor:pointer}.candidate-model-card:hover,.candidate-model-card:focus-visible{background:#fffdf7f5;border-color:#1f7a536b;outline:none}.candidate-model-card strong{overflow-wrap:anywhere;font-size:12px}.candidate-model-card span{color:var(--muted);font-size:11px}.candidate-model-card small{overflow-wrap:anywhere;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.port.required-input{border-color:#bf6a54b8;background:linear-gradient(90deg,#bf6a5429,#fffdf7eb 62%),#fffdf7e6;box-shadow:inset 3px 0 #bf6a54bd}.port.required-input .react-flow__handle{border-color:var(--clay);background:#fff6f0;box-shadow:0 0 0 3px #fffaf2eb,0 0 0 6px #bf6a5421}.port.cycle-break-target{border-color:#d3422fb8;background:linear-gradient(90deg,#d3422f2e,#fffdf7eb 62%),#fffdf7e6;box-shadow:inset 3px 0 #d3422fc7,0 0 0 3px #d3422f14}.cycle-break-mode .port.cycle-break-target{animation:cycleTargetPulse 1.35s ease-in-out infinite}.port.cycle-break-target .react-flow__handle{border-color:#d3422f;background:#fff1ec;box-shadow:0 0 0 3px #fffaf2eb,0 0 0 7px #d3422f26}.port.highlighted{border-color:var(--line);background:#fffdfa}.port.focused{border-color:#1f7a5394;background:var(--accent-soft)}.port.active{color:#fffdfa;border-color:var(--accent);background:var(--accent)}.port.cycle-break-target.active,.port.cycle-break-target.focused,.port.cycle-break-target.highlighted{color:#7a2018;border-color:#d3422fc7;background:linear-gradient(90deg,#d3422f33,#fffdf7f0 64%),#fffdf7f0;box-shadow:inset 3px 0 #d3422fdb,0 0 0 4px #d3422f1f}.port.cycle-break-target.active:after{background:#7a2018}.port.cycle-break-target.active .port-cycle-break-button,.port.cycle-break-target.focused .port-cycle-break-button,.port.cycle-break-target.highlighted .port-cycle-break-button{color:#9b2d22;background:#fff1ecfa}.react-flow__handle{width:9px;height:9px;border:1px solid var(--line-strong);background:var(--paper);z-index:25;box-shadow:0 0 0 3px #fffaf2eb}.react-flow__handle.call-handle{width:12px;height:36px;opacity:0;pointer-events:none}.react-flow__edge.multiscale path{stroke-dasharray:7 5}.react-flow__edge.mapped_variable path{stroke:var(--accent)}.react-flow__edge.hard_dependency path{stroke:var(--clay)}.react-flow__edge.cycle_dependency path,.react-flow__edge.cycle_edge path{stroke:#d3422f;filter:drop-shadow(0 0 5px rgba(211,66,47,.26))}.react-flow__edge.call_edge path{stroke-width:1.7;stroke-dasharray:3 6;opacity:.7}.react-flow__edge.highlighted path{stroke-width:3;stroke:var(--accent)}.react-flow__edge.focused path{stroke-width:2.8}.react-flow__edge.highlighted{z-index:80!important}.react-flow__edge.focused{z-index:70!important}.react-flow__edge.dimmed{opacity:.04}.overview-mode .react-flow__edge.variable_edge path{stroke-width:1.45!important;opacity:.74}.overview-mode .react-flow__edge.call_edge path{stroke-width:1.15!important;opacity:.4}.overview-mode .react-flow__edge.highlighted path,.overview-mode .react-flow__edge.focused path{stroke-width:2.8!important;opacity:1}.edge-chip{position:absolute;z-index:-1;display:inline-flex;align-items:center;gap:6px;padding:3px 7px;color:var(--ink);background:#fffaf2f0;border:1px solid var(--line);border-radius:999px;box-shadow:0 8px 20px #382b231a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1;pointer-events:none;white-space:nowrap}.edge-chip.mapped_variable,.edge-chip.multiscale{border-color:#1f7a534d;background:#f8faf1f5}.edge-chip.hard_dependency{border-color:#bf6a5452;background:#fff6f0f5}.edge-chip.cycle_dependency,.edge-chip.cycle_edge{color:#7a2018;border-color:#d3422f70;background:#ffeee9fa}.edge-chip small{color:var(--muted);font-size:9px;letter-spacing:.02em;text-transform:uppercase}.edge-chip.highlighted{z-index:80;color:#fffdfa;border-color:var(--accent);background:var(--accent);box-shadow:0 12px 24px #1f7a5338}.edge-chip.highlighted small{color:#fffdf7b8}.edge-chip.dimmed{opacity:.04}.overview-mode .edge-chip:not(.highlighted):not(.focused),.overview-mode .edge-terminal:not(.highlighted):not(.focused){display:none}.edge-chip.focused{z-index:70;border-color:#1f7a535c;box-shadow:0 10px 22px #1f7a5324}.edge-terminal{position:absolute;z-index:32;--terminal-color: var(--line-strong);width:18px;height:10px;pointer-events:none;opacity:.95}.edge-terminal:before{content:"";position:absolute;top:4px;left:2px;right:2px;height:2px;border-radius:999px;background:var(--terminal-color)}.edge-terminal.target:after{content:"";position:absolute;top:1px;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent}.edge-terminal[data-side=left]:before{left:7px}.edge-terminal[data-side=right]:before{right:7px}.edge-terminal.target[data-side=left]:after{right:0;border-left:7px solid var(--terminal-color)}.edge-terminal.target[data-side=right]:after{left:0;border-right:7px solid var(--terminal-color)}.edge-terminal.highlighted:before{height:3px}.edge-terminal.dimmed{opacity:.12}.cycle-edge-card{border-color:#d3422f57;background:linear-gradient(135deg,rgba(211,66,47,.1),transparent 58%),#fffaf2e0}.cycle-break-button{justify-content:center;margin:8px 0 4px}.inspector{border-left:1px solid var(--line);background:#fffaf2d1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:18px;overflow:auto}.inspector:focus{outline:none}.inspector.guided-focus{animation:guided-panel-focus 1.8s ease-out}@keyframes guided-panel-focus{0%{box-shadow:inset 0 0 0 3px #1f7a537a,-18px 0 44px #1f7a5329;background:#fafff7f0}60%{box-shadow:inset 0 0 0 3px #1f7a535c,-12px 0 34px #1f7a531f}to{box-shadow:none;background:#fffaf2d1}}.inspector header{display:flex;align-items:center;gap:8px;margin-bottom:14px}.mapping-code-panel{display:grid;gap:10px}.row-with-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.mapping-code{width:100%;min-height:260px;resize:vertical;border:1px solid var(--line);border-radius:10px;background:#fffdf7e6;color:var(--ink);padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.45}.storage-grid{display:grid;gap:8px}.path-status{display:grid;gap:3px;border:1px solid var(--line);border-radius:10px;background:#fffaf2b8;padding:9px}.path-status span{color:var(--muted);font-size:11px;font-weight:720}.path-status strong{color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;overflow-wrap:anywhere}.recent-mappings{display:grid;gap:8px;margin-top:4px}.open-mapping-panel{display:grid;gap:12px}.recent-mapping-list{display:grid;gap:7px}.recent-mapping-item{display:grid;gap:3px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fffdf7d1;color:var(--ink);padding:9px;cursor:pointer}.recent-mapping-item:hover,.recent-mapping-item:focus-visible{border-color:#1f7a5352;background:#1f7a5314}.recent-mapping-item span{font-weight:720}.recent-mapping-item small{color:var(--muted);overflow-wrap:anywhere}.inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.inspector h2{font-size:17px}.inspector h3{margin-top:22px;margin-bottom:8px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.row{display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px;padding:8px 0;border-top:1px solid rgba(183,166,150,.35)}.row span{color:var(--muted)}.row strong{overflow-wrap:anywhere;font-weight:620}.variable-card{border:1px solid var(--line);border-radius:12px;background:#fffaf2bf;padding:10px}.edge-detail-card{display:grid;gap:4px;margin-bottom:14px;padding:10px;border:1px solid rgba(31,122,83,.24);border-radius:12px;background:linear-gradient(135deg,rgba(31,122,83,.08),transparent 58%),#fffaf2d1}.edge-detail-card .diagnostic,.edge-detail-card .empty-state{margin-top:6px}.variable-card .row:first-of-type{margin-top:8px}.variable-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.variable-card-title span{overflow-wrap:anywhere;font-weight:720}.variable-card-title small{color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.diagnostic,.edit-suggestion,.initialization-note,.empty-state{border:1px solid var(--line);border-radius:12px;background:#fffaf2bf;padding:10px;color:var(--muted)}.diagnostic,.edit-suggestion,.initialization-note{display:flex;align-items:center;gap:7px}.diagnostic,.edit-suggestion{color:var(--clay);border-color:#c9614a47;background:#c9614a17}.initialization-note{color:#87533b;border-color:#bf6a5452;background:#bf6a541a}.initialization-list{display:grid;gap:8px}.initialization-list.compact{gap:6px}.initialization-group{display:grid;gap:7px}.initialization-group h4,.provenance-block h4{margin:6px 0 0;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.initialization-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 10px;color:var(--ink);background:#fffaf2c7;border:1px solid rgba(191,106,84,.28);border-left:4px solid var(--clay);border-radius:10px;font:inherit;text-align:left;cursor:pointer}.initialization-item:hover,.initialization-item:focus-visible{background:#fff6f0f5;outline:none}.initialization-item span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.initialization-item strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.initialization-item small{grid-column:1 / -1;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.initialization-item.previous_time_step{border-left-color:var(--ochre)}.initialization-item.mapped_unresolved{border-left-color:var(--accent)}.warning-list,.provenance-block{display:grid;gap:8px}.warning-group{display:grid;gap:7px}.warning-group h4{margin:6px 0 0;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.warning-item,.provenance-edge{display:grid;gap:3px;width:100%;padding:9px 10px;border:1px solid rgba(201,144,53,.28);border-left:4px solid var(--ochre);border-radius:10px;background:#fffaf2c7;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.warning-item.error{border-color:#bf6a5457;border-left-color:var(--clay);background:#bf6a5414}.warning-item.info{border-color:#7f8f7342;border-left-color:var(--sage);background:#7f8f7314}.provenance-edge{border-color:#b7a6966b;border-left-color:var(--line-strong)}.provenance-edge.mapped_variable{border-left-color:var(--accent)}.provenance-edge.hard_dependency{border-left-color:var(--clay)}.warning-item:hover,.warning-item:focus-visible,.provenance-edge:hover,.provenance-edge:focus-visible{background:#fff6f0f5;outline:none}.warning-item strong,.provenance-edge strong{overflow-wrap:anywhere;font-size:12px}.warning-item span,.provenance-edge span,.provenance-edge small{color:var(--muted);font-size:11px;line-height:1.25}.provenance-block{margin-top:10px}.empty-state.compact{padding:7px 8px;font-size:11px}.live-session{border-left:1px solid rgba(183,166,150,.36);padding-left:10px}.live-pill{display:inline-flex;align-items:center;height:28px;padding:0 9px;border:1px solid rgba(191,106,84,.38);border-radius:999px;color:var(--clay);background:#bf6a5414;font-size:11px;font-weight:800;text-transform:uppercase}.live-pill.connected{border-color:#1f7a5357;color:var(--accent);background:#1f7a5317}.metric-button:disabled{cursor:not-allowed;opacity:.42}.model-browser{display:grid;gap:7px}.model-browser-control{display:grid;gap:4px}.model-browser-control span,.parameter-row label{color:var(--muted);font-size:11px;font-weight:700}.model-browser-control select,.model-browser-control input,.parameter-row input,.parameter-row select{min-width:0;border:1px solid rgba(183,166,150,.44);border-radius:8px;background:#ffffffc7;color:var(--ink);font:inherit}.model-browser-control select,.model-browser-control input{height:32px;padding:0 8px}.model-browser-item{display:grid;gap:7px;padding:8px 9px;border:1px solid rgba(183,166,150,.34);border-radius:10px;background:#ffffff9e}.model-browser-item.add-model-config{gap:10px;padding-bottom:0}.model-browser-title{display:grid;gap:2px}.model-browser-item strong{overflow-wrap:anywhere;font-size:12px}.model-browser-item span{color:var(--muted);font-size:11px}.existing-model-editor{display:grid;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(183,166,150,.32)}.variable-mapping-editor{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(183,166,150,.32)}.variable-mapping-editor h4{margin:0;color:var(--muted);font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.initialization-editor{display:grid;gap:12px}.initialization-editor-group{display:grid;gap:8px}.initialization-editor-group h3{margin:0}.initialization-editor-row{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr) minmax(82px,.72fr) auto;gap:7px;align-items:center;padding:9px;border:1px solid rgba(191,106,84,.26);border-left:4px solid var(--clay);border-radius:8px;background:#fffaf2c7}.initialization-editor-row.provided{border-color:#1f7a533d;border-left-color:var(--accent)}.initialization-editor-row label{overflow-wrap:anywhere;font-weight:700}.initialization-editor-row input,.initialization-editor-row select{min-width:0;height:30px;border:1px solid rgba(183,166,150,.44);border-radius:8px;background:#ffffffc7;color:var(--ink);font:inherit}.initialization-editor-row input{padding:0 8px}.initialization-editor-row small{grid-column:1 / -1;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.parameter-row{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr) minmax(78px,.8fr);gap:6px;align-items:center}.parameter-row input,.parameter-row select{height:28px;padding:0 7px;font-size:12px}.rate-editor{display:grid;gap:6px;padding:7px;border:1px solid rgba(183,166,150,.28);border-radius:8px;background:#fcf9f4b8}.add-model-footer{position:sticky;bottom:-18px;display:flex;justify-content:flex-end;margin:2px -9px 0;padding:10px 9px;border-top:1px solid rgba(183,166,150,.34);border-radius:0 0 10px 10px;background:#fffaf2f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.rate-summary{color:var(--muted);font-size:11px;line-height:1.35}.rate-clock-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.rate-clock-row label{display:grid;gap:4px;color:var(--muted);font-size:11px;font-weight:700}.rate-clock-row input{min-width:0;height:28px;border:1px solid rgba(183,166,150,.44);border-radius:8px;background:#ffffffc7;color:var(--ink);font:inherit;padding:0 7px}.metric-button.danger{border-color:#bf6a546b;color:#9b3f2e;background:#fff2ecdb}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.inspector{position:absolute;z-index:28;top:150px;right:16px;bottom:16px;width:min(360px,calc(100% - 32px));border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 45px var(--shadow)}.relationship-legend,.scale-controls,.floating-panel{top:150px}.scale-controls{left:220px}}@media(max-width:720px){.topbar{top:10px;left:10px;right:10px;gap:8px;padding:9px 10px}.topbar:before{display:none}.brand-block{min-width:128px}.search-box{flex-basis:100%;max-width:none;min-width:0}.metrics{margin-left:0}.relationship-legend,.scale-controls,.floating-panel{top:132px;left:10px;right:10px;width:auto}.scale-controls{top:326px}.react-flow__minimap{display:none}}.mapping-dialog-overlay{position:fixed;inset:0;z-index:1000;background:#31272161;display:flex;align-items:center;justify-content:center}.mapping-dialog{background:var(--paper);border:1px solid var(--line-strong);border-radius:10px;box-shadow:0 8px 32px var(--shadow);width:360px;max-width:calc(100vw - 32px);display:flex;flex-direction:column;gap:0;overflow:hidden}.mapping-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid var(--line)}.mapping-dialog-header .eyebrow{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.mapping-dialog-body{padding:14px 16px;display:flex;flex-direction:column;gap:14px}.mapping-port-summary{display:flex;align-items:center;gap:8px;background:var(--paper-strong);border:1px solid var(--line);border-radius:6px;padding:10px 12px}.mapping-port{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}.mapping-port small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.mapping-port strong{font-size:12px;font-weight:700;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapping-port span{font-size:11px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapping-port.target strong{color:var(--clay)}.mapping-arrow{font-size:18px;color:var(--muted);flex-shrink:0}.mapping-mode-section{display:flex;flex-direction:column;gap:6px}.mapping-mode-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:2px}.mapping-radio{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;padding:4px 0}.mapping-radio input[type=radio]{accent-color:var(--accent);width:14px;height:14px;flex-shrink:0}.mapping-scale-picker{display:flex;flex-direction:column;gap:4px}.mapping-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer;padding:2px 0}.mapping-checkbox input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px;flex-shrink:0}.mapping-dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--line)}.accent-button{background:var(--accent);color:#fff;border-color:transparent}.accent-button:hover:not(:disabled){background:var(--sage-dark);border-color:transparent}.selector-preview{display:grid;gap:6px;padding:12px;border:1px solid #b9d3c4;background:#f2f8f4;border-radius:6px}.selector-preview span,.selector-preview p{margin:0;color:#615c55;font-size:.86rem}.selector-preview p{color:#a44b39}.selector-preview-button{display:inline-flex;align-items:center;gap:6px;width:max-content}.environment-ports{border-top:1px solid #ded5c8;margin-top:8px;padding-top:8px}.entity-node.environment{border-color:#8fb9c2;background:#f3fafb}.entity-node.template{border-color:#9a8bc0;background:#f8f5fd}.instance-form{width:min(780px,100%)}.instance-form-content{display:grid;gap:14px}.environment-form{width:min(560px,100%)}.environment-summary,.effective-environment{display:grid;gap:6px;padding:10px;border:1px solid #d4dfdb;border-radius:5px;background:#f4f9f6}.environment-summary span,.environment-hint{color:#655f58;font-size:12px}.environment-sources input,.configuration-list>div>input,.configuration-list>div>select{width:100%;min-height:32px;border:1px solid #cdbda8;border-radius:5px;background:#fffdf8;color:#302923}.compact-actions{display:flex;justify-content:flex-end;gap:8px}.compact-actions button{display:inline-flex;align-items:center;gap:5px}.application-configuration-form{width:min(820px,100%)}.application-configuration-content{display:grid;gap:14px}.application-configuration-content fieldset{margin:0;padding:12px;border:1px solid #ded2c2;border-radius:5px}.application-configuration-content legend{padding:0 6px;color:#2d6652;font-weight:800}.application-configuration-content p{margin:0;color:#786d64}.configuration-list{display:grid;gap:7px;margin-bottom:10px}.configuration-list>div,.configuration-list>label{min-height:36px;display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 9px;border:1px solid #e4d9ca;border-radius:5px;background:#fffdf8}.configuration-list span{overflow:hidden;color:#786d64;text-overflow:ellipsis;white-space:nowrap}.configuration-list select,.compact-configuration-row input,.compact-configuration-row select{width:100%;min-height:34px;border:1px solid #cdbda8;border-radius:5px;background:#fffdf8;color:#302923}.compact-configuration-row{align-items:end}.compact-configuration-row label{display:grid;gap:5px;color:#655b52;font-size:12px;font-weight:700}.compact-configuration-row button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;padding:0}.application-configuration-form>footer{display:flex;justify-content:flex-end;padding:12px 15px;border-top:1px solid #ded2c2} diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 2ae0fa640..8ec2c947c 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -4,8 +4,8 @@ PlantSimEngine Dependency Graph - - + +
diff --git a/frontend/e2e/graph-editor.spec.ts b/frontend/e2e/graph-editor.spec.ts index 5991ee8ec..dc645f5cd 100644 --- a/frontend/e2e/graph-editor.spec.ts +++ b/frontend/e2e/graph-editor.spec.ts @@ -71,6 +71,33 @@ test.describe.serial("PlantSimEngine model graph editor", () => { await expect(page.getByText("Edit application")).toHaveCount(0); }); + for (const width of [760, 420]) { + test(`static viewer keeps the graph visible in a ${width}px documentation iframe`, async ({ page }) => { + const url = new URL(server.url); + url.pathname = "/static"; + await page.setViewportSize({ width: 1200, height: 900 }); + await page.setContent(` + + + `); + + const viewer = page.frameLocator('iframe[title="Embedded model graph"]'); + const canvas = viewer.locator(".react-flow"); + await expect.poll(async () => (await canvas.boundingBox())?.height ?? 0).toBeGreaterThan(200); + await expect(viewer.getByTestId("application-node-light")).toBeInViewport({ ratio: 0.9 }); + await expect(viewer.locator(".react-flow__controls")).toBeInViewport({ ratio: 1 }); + + // Toolbar wrapping must leave the canvas within the iframe, with no lost space below it. + await expect.poll(async () => { + const shellBounds = await viewer.getByTestId("model-graph-viewer").boundingBox(); + const canvasBounds = await canvas.boundingBox(); + if (!shellBounds || !canvasBounds) return Infinity; + return Math.abs(shellBounds.y + shellBounds.height - canvasBounds.y - canvasBounds.height); + }).toBeLessThanOrEqual(1); + }); + } + test("creates and breaks a cycle directly in the graph", async ({ page, request }) => { await page.goto(server.url); await page.getByTestId("port-input-LAI").getByRole("button").click(); @@ -86,6 +113,8 @@ test.describe.serial("PlantSimEngine model graph editor", () => { await page.getByTestId("choose-cycle-break").click(); const scissors = page.locator("[data-testid^='cycle-break-']").first(); await expect(scissors).toBeVisible(); + // Adding the second model preserves the previous zoom; fit the expanded graph before editing it. + await page.getByRole("button", { name: "Fit View", exact: true }).click(); await scissors.click(); await expect(page.getByTestId("cycle-break-dialog")).toBeVisible(); const initialization = page.getByTestId("cycle-break-dialog").getByRole("textbox"); diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 66a595709..8b9795e35 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -19,11 +19,15 @@ .model-editor-shell { height: 100vh; min-height: 560px; - display: grid; - grid-template-rows: auto auto auto minmax(0, 1fr); + display: flex; + flex-direction: column; color: #302923; background: #f3eee5; } +.model-toolbar, +.cycle-callout, +.editor-feedback, +.graph-scope-filter { flex-shrink: 0; } .frontend-error { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; color: #743128; background: #fff5ef; text-align: center; } .frontend-error h1,.frontend-error p { margin: 0; } .frontend-error p { max-width: 620px; color: #655850; } @@ -151,7 +155,7 @@ padding: 5px 8px; } -.model-workspace { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 310px; } +.model-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 310px; } .flow-wrap { min-width: 0; min-height: 0; position: relative; } .model-inspector { overflow: auto; padding: 16px; background: #fffaf2; border-left: 1px solid #d9cdbd; } .model-inspector > header { display: grid; gap: 2px; margin-bottom: 14px; } From 55356c49bec4807958de628da36543234725ff3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vezy?= Date: Mon, 7 Sep 2026 15:11:59 +0100 Subject: [PATCH 2/6] Better wording for the "Start here" pages in the docs --- docs/src/agent_skill.md | 10 +++-- docs/src/index.md | 38 +++++++------------ docs/src/introduction/why_plantsimengine.md | 9 +++-- .../installing_plantsimengine.md | 26 ++++--------- 4 files changed, 32 insertions(+), 51 deletions(-) diff --git a/docs/src/agent_skill.md b/docs/src/agent_skill.md index 0092d025e..c055c61f3 100644 --- a/docs/src/agent_skill.md +++ b/docs/src/agent_skill.md @@ -24,16 +24,16 @@ skill_root = joinpath(package_root, "skills", "plantsimengine") Copy or link that complete directory into your coding agent's skill directory, following its installation instructions. Keep its `SKILL.md`, `references`, -`assets`, and `scripts` together. Use the copy from your installed package -rather than the latest `main` branch: different versions can describe +`assets`, and `scripts` together. Don't forget to tell your agent to upgrade its skill +whenever you update PlantSimEngine: different versions can describe different APIs. The skill uses the Julia tools available in your agent's environment. It does -not require a particular editor or connector. +not require a particular editor or connector, but you can use e.g. [Kaimon](https://kahliburke.github.io/Kaimon.jl) to help your agents further. ## Ask it to assemble existing models -Adapt this request to the packages, data, and scientific question you have: +You can ask your agents anything, for example you can ask it to assemble existing models into a simulation: > Use the PlantSimEngine skill shipped with my loaded package. I want to > compare two existing models for the same process. First identify available @@ -48,6 +48,8 @@ your input data and its units, and the outputs you want to compare. The [Loaded model catalog](@ref) and [Model compatibility and replacement](@ref) show the corresponding manual workflow. +Please give as much contest a possible to your agent, for example the data should be documented properly with protocols, units, etc... + ## Ask it to implement an equation Provide the equation or source paper, definitions of the variables, diff --git a/docs/src/index.md b/docs/src/index.md index 000860d22..e06ec3c5d 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -88,19 +88,17 @@ supported package versions. ## See what you can build -These examples show two ways to represent a plant system. The canopy curves -are calculated when this documentation is built, using teaching models and a -full year of weather. The 3D image illustrates an explicit organ structure. +These examples show two ways to represent a plant system. A crop-scale simulation like in crop models, and an 3D organ-scale structure like in frunctional-structural models. ```@raw html
Teaching simulation: leaf area index rises and falls over the season, while absorbed light responds to both canopy development and weather. -
A crop canopy over a season. Connect thermal time, leaf area index (LAI) and light interception without describing individual leaves. Couple models for a canopy →
+
A crop canopy over a season. Connect thermal time, leaf area index (LAI) and light interception without describing individual organs. Couple models for a canopy →
Static illustration of a plant with a stem, branches and individual leaves in three dimensions. -
A plant described by its organs. Apply models to leaves and combine their outputs at plant level. This is an illustrative 3D structure, not the output of the canopy example. Connect organ and plant models →
+
A plant described by its organs. Apply models to individual organs and combine their outputs at plant level. Connect organ and plant models →
``` @@ -115,14 +113,10 @@ MAESPA. What happens if carbon gain stops increasing in proportion to absorbed light? Here, the same small simulation is run with a linear response and then a -saturating response. Only the carbon-gain model changes. Both models declare -the same inputs, outputs and units, so PlantSimEngine can check whether -one can replace the other. +saturating response. Only the carbon-gain model changes. Both models simulate the same process, so we can just replace one by another, and PlantSimEngine handles the rest: **how, where and when the model is called**, relative to other models, objects (organs/plants/scene), and simulation rate. ![Two teaching models predict different carbon gains from the same absorbed light: a linear response and a saturating response.](home-model-comparison.svg) -The coefficients are illustrative. These curves demonstrate how to compare -model formulations; they are not calibrated predictions for a crop or species. The models come from the [examples supplied for model authors and AI agents](agent_skill.md). Follow the [model replacement guide](step_by_step/model_switching.md) to try alternatives and check whether their inputs require different connections. @@ -148,22 +142,19 @@ alternatives and check whether their inputs require different connections. connections before the time loop and reuses them during execution. This avoids resolving those connections again at every time step, including when models run on many organs. - [Read about the design and performance evidence](introduction/why_plantsimengine.md). + [Read about the design and performance of PlantSimEngine](introduction/why_plantsimengine.md). ## Work with an AI coding agent An **AI coding agent** is software that can read and edit code and run tests -with your development tools. PlantSimEngine is designed to support this way -of working: models expose their inputs and outputs, and can declare units and -other scientific conventions. Tools report model compatibility, missing inputs -and simulation connections. A versioned -**agent skill** provides instructions and tested examples for the installed -package. These give an agent concrete information to implement, inspect and -check a proposed model or coupling. You guide the scientific assumptions and -validate the equations, parameters and results. - -[Set up an agent for PlantSimEngine](agent_skill.md), or use the same -[model descriptions and checks](API/model_catalog.md) directly from Julia. +with your development tools. Think OpenAI's ChatGPT App (formerly Codex), Anthropic's Claude Code, SpaceXAI's Grok Bot, or Mistral's Vibe. PlantSimEngine is designed to support this way +of working, so you can just make new models, compare hypothesis, make model calibration or anything you'd like with just a prompt, such as: + +> Replace the radiation-use efficiency approach I'm using at the moment in my model by the FvCB, Medlyn and Monteith models from PlantBiophysics. Apply them at an hourly rate first, then at half-hourly, and compare the impact on yield of the three approaches. Report the results through dynamic graphs and statistics. + +For optimum results, ask your agent to [install the **agent skill**](agent_skill.md). It'll give your agent concrete information to implement, inspect and check models. Then, it will have access to every detail of the simulation, so you'll be able to ask it complex prompts such as: + +> Yield simulation is too low compared to data in 2025 and 2026, can you check why? ## Choose your starting point @@ -181,8 +172,7 @@ start with [installation](prerequisites/installing_plantsimengine.md) and The canopy example above connects three existing models: temperature drives thermal time, thermal time drives LAI, and LAI and radiation determine absorbed -photosynthetically active radiation (PAR). The phenology and LAI models are -teaching examples, not a calibrated crop model. +photosynthetically active radiation (PAR). First follow the [installation instructions](prerequisites/installing_plantsimengine.md) to get the package version used by this manual and the tutorial dependencies. diff --git a/docs/src/introduction/why_plantsimengine.md b/docs/src/introduction/why_plantsimengine.md index d9796b8a5..1e6720975 100644 --- a/docs/src/introduction/why_plantsimengine.md +++ b/docs/src/introduction/why_plantsimengine.md @@ -20,8 +20,10 @@ of processes or assumptions: connect their results to the plant, and update the structure during growth. Start with [one multiscale plant](../journeys/users/one_plant.md). +PlantSimEngine lets you start with one approach and switch to another in no time. For example you can start with an FSPM approach because you want to make digital twins of plants, and then ditch the 3D architecture for simpler plot-scale models (**e.g.** LAI approach) without changing the other models that were already calibrated and tested (phenology, carbon allocation...). + The scientific models, parameter sets, input data, and validation for your -species or experiment come from your own work or model packages such as +species or experiment come from your own work, your AI agent or model packages such as [PlantBiophysics.jl](https://github.com/VEZY/PlantBiophysics.jl). PlantSimEngine provides the tools for connecting and running them. @@ -41,9 +43,8 @@ and whether it is a rate or an accumulated amount. The same variable name alone is insufficient. Moving from a quantity per unit ground area to a total per plant, for example, needs an explicit conversion. -To replace a model only for selected plants, its inputs, outputs, and other -requirements must match the original model. A replacement that needs an extra -input, such as soil water content, requires changes to the simulation setup. See +To replace a model, its inputs, outputs, and other +requirements don't necessarily have to match the original model, because PlantSimEngine will connect it automatically to other models. However, some models require more inputs, that need other models to compute them, so replacing a model can lead to adding/removing other models too. See [model compatibility and replacement](../step_by_step/model_switching.md). Model authors can read each equation together with its inputs and outputs. diff --git a/docs/src/prerequisites/installing_plantsimengine.md b/docs/src/prerequisites/installing_plantsimengine.md index b4801a847..8be50276b 100644 --- a/docs/src/prerequisites/installing_plantsimengine.md +++ b/docs/src/prerequisites/installing_plantsimengine.md @@ -1,35 +1,26 @@ # Installing PlantSimEngine !!! compat "Use the package version described by this manual" - These development pages use the `CompositeModel` API. Registered releases - through 0.14.1 use the previous mapping API. Follow the commands below to - use the development version, or use the documentation matching your - installed release. For a pull-request preview, replace `"main"` with the - branch or commit shown by that pull request so its examples and package - sources match. + These development pages use the `CompositeModel` API introduced in v0.15.0. Install Julia from the [official download page](https://julialang.org/downloads/), create a project -environment (a folder that records the packages used for this simulation), -and install the tutorial packages: +environment (a folder that records the packages used for this simulation), open julia from this repository, and install the tutorial packages: ```julia using Pkg -Pkg.activate("my_simulation") -Pkg.add(["PlantMeteo", "DataFrames", "CairoMakie"]) -Pkg.add(url="https://github.com/VirtualPlantLab/PlantSimEngine.jl", rev="main") +Pkg.activate(".") +Pkg.add(["PlantMeteo", "DataFrames", "CairoMakie", "PlantSimEngine.jl"]) ``` PlantMeteo supplies weather data, DataFrames organizes the results, and CairoMakie draws the tutorial figures. Run these commands at Julia's interactive prompt, also called the **REPL**; `my_simulation` is the project directory created relative to your current -working directory. In a later session, run `Pkg.activate("my_simulation")` +working directory. In a later session, run `Pkg.activate(".")` from the same location before using the project again. -For reproducible work, record the package revision and keep the generated -`Project.toml` and `Manifest.toml` with your experiment. The development branch -can change; a commit revision selects one exact version. +Julia makes reproducibility seemless: whenever you add a new package, it records the package versions you're using in two files called `Project.toml` and `Manifest.toml`. ## First Simulation @@ -69,7 +60,4 @@ The result is the amount of light absorbed by the canopy, expressed in μmol of photons per m² of ground per second. The inputs are illustrative, not a calibrated crop scenario. Next, [couple three models over time](../journeys/users/one_object.md), then -[collect and plot their outputs](../guides/data/outputs_plotting.md). - -For local package development, use `Pkg.develop(path="...")`. Run the package -tests with `Pkg.test("PlantSimEngine")`. +[collect and plot their outputs](../guides/data/outputs_plotting.md). \ No newline at end of file From dca475054581b2eecafef625d9783bbb50dc4393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vezy?= Date: Mon, 7 Sep 2026 15:29:24 +0100 Subject: [PATCH 3/6] Update one_plant.md --- docs/src/journeys/users/one_plant.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/journeys/users/one_plant.md b/docs/src/journeys/users/one_plant.md index 3bf3c8c11..5295177f3 100644 --- a/docs/src/journeys/users/one_plant.md +++ b/docs/src/journeys/users/one_plant.md @@ -8,8 +8,8 @@ and radiation values are illustrative. The structure is: -> `:plant`
-> ├─ `:leaf_1`
+> `:plant` +> ├─ `:leaf_1` > └─ `:leaf_2` To choose objects for a calculation, use a **selector** such as From abb609aa3b79fb135c4c04258a82ce4852f8f864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vezy?= Date: Mon, 7 Sep 2026 17:30:35 +0100 Subject: [PATCH 4/6] Separate object IDs from optional display names Use typed object IDs for selectors, scopes, graph nodes, and editor operations. Keep display names optional and nonunique while preserving application and instance identities. Update documentation, examples, packaged guidance, and regression tests. --- AGENTS.md | 15 +- README.md | 6 + benchmark/test-hard-call-path-benchmark.jl | 29 ++- .../test-immutable-scenario-benchmark.jl | 9 +- docs/src/API/API_public.md | 27 ++- docs/src/guides/graph_visualizer_editor.md | 21 ++- docs/src/guides/multiscale/concepts.md | 8 +- docs/src/guides/multiscale/value_coupling.md | 2 +- .../guides/time/advanced_time_environment.md | 8 +- docs/src/journeys/users/advanced_execution.md | 2 +- docs/src/journeys/users/mental_model.md | 36 ++++ docs/src/journeys/users/several_objects.md | 4 +- docs/src/migration_composite_model.md | 9 + docs/src/troubleshooting/runtime_contracts.md | 2 +- examples/maespa_model_example.jl | 4 +- ext/PlantSimEngineGraphEditorExt.jl | 92 +++++++--- frontend/dist/.vite/manifest.json | 2 +- frontend/dist/assets/index-BGTX8zZ1.js | 38 ---- frontend/dist/assets/index-BsNfDYBn.js | 38 ++++ frontend/dist/index.html | 2 +- frontend/e2e/graph-editor.spec.ts | 12 +- frontend/src/App.test.ts | 7 + frontend/src/App.tsx | 27 +-- frontend/src/ApplicationForm.tsx | 24 +-- frontend/src/BindingForm.tsx | 16 +- frontend/src/InstanceForm.tsx | 23 +-- frontend/src/ObjectChoice.test.ts | 40 +++++ frontend/src/ObjectChoice.tsx | 58 ++++++ frontend/src/ObjectForm.tsx | 29 ++- frontend/src/OverrideForm.tsx | 11 +- .../assets/coupling-patterns.jl | 6 +- .../references/scenario-coupling.md | 24 ++- src/composite_model/compilation.jl | 34 ++-- src/composite_model/registry_topology.jl | 134 ++++++-------- src/composite_model/scenario_dsl.jl | 8 +- src/composite_model/selectors.jl | 129 ++++++++------ src/scenario_source.jl | 9 +- src/visualization/model_graph_editor_api.jl | 20 +-- src/visualization/model_graph_view.jl | 130 ++++++++++---- test/test-maespa-model-example.jl | 4 +- test/test-model-api-stabilization.jl | 8 +- test/test-model-configuration-errors.jl | 6 +- test/test-model-graph-editor-extension.jl | 57 +++++- test/test-model-graph-view.jl | 130 ++++++++++---- test/test-model-hard-calls.jl | 90 +++++----- test/test-model-initializers.jl | 4 +- test/test-model-multirate-integration.jl | 2 +- test/test-model-object-id.jl | 168 ++++++++++++++++++ test/test-model-status-type-runtime.jl | 6 +- test/test-unified-model-object-api.jl | 33 ++-- 50 files changed, 1099 insertions(+), 504 deletions(-) delete mode 100644 frontend/dist/assets/index-BGTX8zZ1.js create mode 100644 frontend/dist/assets/index-BsNfDYBn.js create mode 100644 frontend/src/ObjectChoice.test.ts create mode 100644 frontend/src/ObjectChoice.tsx diff --git a/AGENTS.md b/AGENTS.md index a660dda6a..3d67e40f5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,8 +27,9 @@ Read the current model's parameters directly from `model`. `context` is a - `CompositeModel` owns a `ObjectRegistry`, model applications, instances, and an environment. -- `Object` is one runtime entity with stable `ObjectId`, labels, parent, - geometry, and `Status`. +- `Object` is one runtime entity with a unique, stable `ObjectId`, optional + display `name`, group labels, parent, geometry, and `Status`. Display names + need not be unique and never select objects; the UI shows the ID by default. - Plant architecture is not prescribed. Users choose scales and topology. - `CompositeModelTemplate` and `ObjectInstance` reuse the same model definitions across several plants or objects. @@ -67,11 +68,15 @@ Scope and topology: - `Subtree()`: the current object and its descendants - `SelfPlant()`: the current plant instance/root - `Ancestor(...)` -- `Scope(name)` +- `Scope(:instance_name)`: an instance's root and descendants +- `Scope(ObjectId(root_id))`: a root chosen directly by object ID and its descendants - `Relation(...)` -Use keyword criteria for object labels: `kind=:plant`, `species=:oil_palm`, -`scale=:Leaf`, and `name=:leaf_1`. +Use `id=:leaf_1` to select a particular object. Preserve the ID's value type, +including numeric MTG IDs. Use keyword criteria for group labels: +`kind=:plant`, `species=:oil_palm`, and `scale=:Leaf`. +`ModelSpec.name` and `ObjectInstance.name` remain identifiers for applications +and instances; do not treat them as object display names. `Self()` never means the model, species, or plant unless the current object is itself that plant. diff --git a/README.md b/README.md index 0a2d5cc39..557b8f441 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ ModelSpec( This is the package API for multiscale, multi-plant, soil, microclimate, and model-scale simulations. +An object needs a unique ID, for example `Object(:leaf_1)`. Select it with +`One(id=:leaf_1)`, or add `scale=:Leaf` to select it as part of +`Many(scale=:Leaf)`. An optional `name="Sunlit leaf"` changes its display +label; it does not change the object's identity or connections. Model +application names identify the configured uses of models. + ## Installation The examples on this development branch use `CompositeModel`. Registered diff --git a/benchmark/test-hard-call-path-benchmark.jl b/benchmark/test-hard-call-path-benchmark.jl index b5b94c8b1..00f053b56 100644 --- a/benchmark/test-hard-call-path-benchmark.jl +++ b/benchmark/test-hard-call-path-benchmark.jl @@ -158,7 +158,6 @@ function setup_hard_call_path_benchmark(; PlantSimEngine.Object( Symbol(:leaf_, index); scale=:Leaf, - name=Symbol(:leaf_, index), parent=:scene, ) for index in 1:nobjects @@ -179,7 +178,7 @@ function setup_hard_call_path_benchmark(; else caller_selector = usage == :sparse ? - One(name=:leaf_1) : + One(id=:leaf_1) : Many(scale=:Leaf) caller = ModelSpec( BenchmarkCallControllerModel(); @@ -277,26 +276,25 @@ function setup_compiled_hard_call_benchmark(; end if kind == :sampled_environment model = CompositeModel( - PlantSimEngine.Object(:scene; scale=:Scene, name=:scene), + PlantSimEngine.Object(:scene; scale=:Scene), PlantSimEngine.Object( :leaf_1; scale=:Leaf, - name=:leaf_1, parent=:scene, ); applications=( ModelSpec( BenchmarkSampledEnvironmentSourceModel(); name=:source, - on=One(name=:leaf_1), + on=One(id=:leaf_1), ), ModelSpec( BenchmarkSampledEnvironmentControllerModel((T=30.0,)); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :source => One( - name=:leaf_1, + id=:leaf_1, application=:source, ), ), @@ -307,14 +305,13 @@ function setup_compiled_hard_call_benchmark(; return model, Int(steps) end leaf_count = kind == :many ? target_count : 1 - objects = Any[PlantSimEngine.Object(:scene; scale=:Scene, name=:scene)] + objects = Any[PlantSimEngine.Object(:scene; scale=:Scene)] if kind == :nested push!( objects, PlantSimEngine.Object( :middle; scale=:Plant, - name=:middle, parent=:scene, ), ) @@ -325,7 +322,6 @@ function setup_compiled_hard_call_benchmark(; PlantSimEngine.Object( Symbol(:leaf_, index); scale=:Leaf, - name=Symbol(:leaf_, index), parent=kind == :nested ? :middle : :scene, ) for index in 1:leaf_count @@ -341,10 +337,10 @@ function setup_compiled_hard_call_benchmark(; middle = ModelSpec( BenchmarkBulkCallControllerModel(1, false, false); name=:middle, - on=One(name=:middle), + on=One(id=:middle), calls=( :source => One( - name=:leaf_1, + id=:leaf_1, within=Subtree(), application=:source, ), @@ -353,10 +349,10 @@ function setup_compiled_hard_call_benchmark(; root = ModelSpec( BenchmarkBulkCallControllerModel(1, false, true); name=:root, - on=One(name=:scene), + on=One(id=:scene), calls=( :source => One( - name=:middle, + id=:middle, within=Subtree(), application=:middle, ), @@ -366,7 +362,7 @@ function setup_compiled_hard_call_benchmark(; else selector = kind == :many ? Many(scale=:Leaf, application=:source) : - One(name=:leaf_1, application=:source) + One(id=:leaf_1, application=:source) effective_repeats = kind == :repeated ? repeats : 1 effective_publish = kind == :published ? true : publish controller = ModelSpec( @@ -376,7 +372,7 @@ function setup_compiled_hard_call_benchmark(; true, ); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=(:source => selector,), ) applications = (source, controller) @@ -505,7 +501,6 @@ function benchmark_lifecycle_event(simulation, new_index) PlantSimEngine.Object( new_id; scale=:Leaf, - name=new_id, parent=:scene, ), ) diff --git a/benchmark/test-immutable-scenario-benchmark.jl b/benchmark/test-immutable-scenario-benchmark.jl index fc50f8954..cc7af5222 100644 --- a/benchmark/test-immutable-scenario-benchmark.jl +++ b/benchmark/test-immutable-scenario-benchmark.jl @@ -125,20 +125,19 @@ function setup_many_cadence_schedule_benchmark(; throw(ArgumentError("`napplications` must be positive.")) nsteps > 0 || throw(ArgumentError("`nsteps` must be positive.")) cadences = (1, 2, 3, 4, 6, 8, 12, 24) - object_names = Tuple(Symbol(:schedule_slot_, index) for index in 1:napplications) + object_ids = Tuple(Symbol(:schedule_slot_, index) for index in 1:napplications) objects = Object[ Object( - object_name; - name=object_name, + object_id; scale=:ScheduleSlot, ) - for object_name in object_names + for object_id in object_ids ] applications = ModelSpec[ ModelSpec( ImmutableScenarioBenchmarkSource(); name=Symbol(:scheduled_application_, index), - on=One(scale=:ScheduleSlot, name=object_names[index]), + on=One(scale=:ScheduleSlot, id=object_ids[index]), every=Hour(cadences[mod1(index, length(cadences))]), ) for index in 1:napplications diff --git a/docs/src/API/API_public.md b/docs/src/API/API_public.md index 8221b9e1f..9662cab0c 100644 --- a/docs/src/API/API_public.md +++ b/docs/src/API/API_public.md @@ -20,8 +20,13 @@ time-based inputs can instead read saved results. - `CompositeModel(model, models...; status=..., timestep=..., type_promotion=..., status_transform=...)` is the concise one-object form and creates one object and its model applications. -- `Object` represents one entity, such as a plant or organ, with an identifier - that stays the same and its own status. +- `Object(id; name=nothing, scale=nothing, kind=nothing, species=nothing, ...)` + represents one entity, such as a plant or organ, with a unique ID that stays + the same and its own status. The optional `name` is display text and does + not need to be unique. The graph viewer shows the ID when no name is given. +- Use `One(id=:leaf_1)` to select a particular object, or + `object_ids(model; id=:leaf_1)` to query its ID. Labels such as `scale=:Leaf` + select groups. IDs can also be numbers, including IDs imported from an MTG. - `object_id(model, source)` finds an object's identifier in the model's registry, the collection of registered objects. `source` can be an `ObjectId`, registered `Object` or `Status`, MTG node, or raw identifier. @@ -30,10 +35,14 @@ time-based inputs can instead read saved results. that function again, and rejects copied nodes or nodes from another model. The same methods accept a `RunContext` or `Simulation`. - `CompositeModelTemplate` and `ObjectInstance` reuse a set of model - definitions for several plants or other repeated objects. + definitions for several plants or other repeated objects. An instance name + identifies that use of the template; it does not change the root object's + ID or display name. - `ModelSpec(model; name=..., on=..., inputs=..., calls=..., outputs_to=..., every=..., environment=..., output_routing=..., updates=...)` configures a - model application. + model application. When `name` is omitted, the process name identifies the + application. Separate applications of the same process need explicit, + distinct names. ### Coupling @@ -142,8 +151,12 @@ complete examples. - Number of matches: `One(...)`, `OptionalOne(...)`, and `Many(...)`. - Where to look: `SceneScope()`, `Self()`, `Subtree()`, `SelfPlant()`, - `Ancestor(...)`, and `Scope(name)`. -- Label criteria: `kind=...`, `species=...`, `scale=...`, and `name=...`. + `Ancestor(...)`, and `Scope(...)`. Use `Scope(:instance_name)` for an + instance's root and descendants, or `Scope(ObjectId(root_id))` for a root + chosen directly by ID. +- Object identity: `id=...`. +- Group labels: `kind=...`, `species=...`, and `scale=...`. Object display + names do not select objects. - Connections between objects: `Relation(...)`. `Self()` always means the current object: the object on which the model @@ -154,7 +167,7 @@ Selector fields are checked where the selector is used: | Context | Accepted criteria | |---|---| -| `ModelSpec(...; on=...)` | `kind`, `species`, `scale`, `name`, and a scene or named scope | +| `ModelSpec(...; on=...)` | `id`, `kind`, `species`, `scale`, and a scene or explicit root/instance scope | | `ModelSpec(...; inputs=...)` | object criteria plus `process`, `application`, `var`, `policy`, `window`, `from_status`, and `after` | | `ModelSpec(...; calls=...)` | object criteria plus `process` and `application` | | `OutputTo(...)` in `ModelSpec(...; outputs_to=...)` | object criteria only | diff --git a/docs/src/guides/graph_visualizer_editor.md b/docs/src/guides/graph_visualizer_editor.md index b36b04800..69d575723 100644 --- a/docs/src/guides/graph_visualizer_editor.md +++ b/docs/src/guides/graph_visualizer_editor.md @@ -34,6 +34,16 @@ view = GraphEditor.model_graph_view(model) view.metadata ``` +`id=:plant` identifies the object. Its optional `name` is a display label; +because none is given here, the viewer shows `plant`. You could use +`name="Oil palm"` without changing any connections. Display names can be +shared by several objects; IDs must be different. + +`scale` and `kind` describe groups of objects. They are optional, unless your +models select those groups. To target one particular object, use +`One(id=:plant)`. See [how the pieces fit](../journeys/users/mental_model.md) +for the distinction between object labels and model application names. + The documentation build writes that graph as a self-contained HTML page and embeds it below. @@ -146,12 +156,12 @@ plant_template = CompositeModelTemplate(( plant_a = ObjectInstance( :plant_a, plant_template; - root=Object(:plant_a; name=:plant_a, scale=:Plant), + root=Object(:plant_a; scale=:Plant), ) plant_b = ObjectInstance( :plant_b, plant_template; - root=Object(:plant_b; name=:plant_b, scale=:Plant), + root=Object(:plant_b; scale=:Plant), ) model = CompositeModel(plant_a, plant_b) @@ -161,6 +171,11 @@ session = GraphEditor.edit_graph( ) ``` +The instance name and root ID happen to match here, but they serve different +purposes and may differ. The instance name separates its model applications +from those on the other plant. The root ID identifies the plant object. The +root keeps its own optional display name when you apply a template. + Use **Add instance** to apply a template to an existing root object and its descendants, provided they are not already part of another instance. You can also create a new root and apply the template in one operation. Preview the @@ -181,7 +196,7 @@ changing the shared template: plant_b = ObjectInstance( :plant_b, plant_template; - root=Object(:plant_b; name=:plant_b, scale=:Plant), + root=Object(:plant_b; scale=:Plant), overrides=( degree_days=ToyDegreeDaysCumulModel(T_base=12.0), ), diff --git a/docs/src/guides/multiscale/concepts.md b/docs/src/guides/multiscale/concepts.md index 3c0296ed9..7afd17a37 100644 --- a/docs/src/guides/multiscale/concepts.md +++ b/docs/src/guides/multiscale/concepts.md @@ -22,12 +22,14 @@ Common choices are: | input from one ancestor | `One(Ancestor(scale=:Plant))` | | input from this plant's leaves | `Many(scale=:Leaf, within=SelfPlant())` | | input from shared soil | `One(scale=:Soil, within=SceneScope())` | -| optional named organ | `OptionalOne(name=:fruit, within=SelfPlant())` | +| optional organ with a known ID | `OptionalOne(id=:fruit, within=SelfPlant())` | For a model running on a leaf, `Self()` means that leaf, not its plant or its species. Use object IDs and labels to select specific objects or groups. -`Scope(name)` refers to a named search area that you must define in the -simulation before using it. +`Scope(:plant_a)` searches the root and descendants of the instance called +`:plant_a`. To choose a root directly by its object ID, use +`Scope(ObjectId(:plant_a))`. An object's display name does not define a scope +or affect selection. Saved results identify the application, object, and variable. Each leaf's history therefore stays separate, including when you use the same process diff --git a/docs/src/guides/multiscale/value_coupling.md b/docs/src/guides/multiscale/value_coupling.md index 7b5118e12..a8f7125d2 100644 --- a/docs/src/guides/multiscale/value_coupling.md +++ b/docs/src/guides/multiscale/value_coupling.md @@ -43,7 +43,7 @@ end The returned `BoundMany` gives access to both values and their object IDs, without copying either. Its values are the same ones available through `status.irradiance`. Their order follows `ObjectId`, not the position of an -organ on the plant. Use `irradiance[ObjectId(:leaf_12)]` to read a named leaf's +organ on the plant. Use `irradiance[ObjectId(:leaf_12)]` to read that leaf's value, or an integer index to read a position in the collection. Call `bound_input` each time the model runs. PlantSimEngine may replace the diff --git a/docs/src/guides/time/advanced_time_environment.md b/docs/src/guides/time/advanced_time_environment.md index cb9a4ac12..1ce5ecd2c 100644 --- a/docs/src/guides/time/advanced_time_environment.md +++ b/docs/src/guides/time/advanced_time_environment.md @@ -34,13 +34,13 @@ using PlantSimEngine, Dates, DataFrames using PlantSimEngine.Examples model = CompositeModel( - Object(:hourly; scale=:Sensor, name=:hourly), - Object(:ninety_minutes; scale=:Sensor, name=:ninety_minutes); + Object(:hourly; scale=:Sensor), + Object(:ninety_minutes; scale=:Sensor); applications=( ModelSpec(ToyEnvironmentReaderModel(); name=:hourly, - on=One(name=:hourly), every=Hour(1)), + on=One(id=:hourly), every=Hour(1)), ModelSpec(ToyEnvironmentReaderModel(); name=:ninety_minutes, - on=One(name=:ninety_minutes), every=Minute(90)), + on=One(id=:ninety_minutes), every=Minute(90)), ), environment=(T=20.0, duration=Minute(30)), ) diff --git a/docs/src/journeys/users/advanced_execution.md b/docs/src/journeys/users/advanced_execution.md index 948cad334..7c06f9ddb 100644 --- a/docs/src/journeys/users/advanced_execution.md +++ b/docs/src/journeys/users/advanced_execution.md @@ -128,7 +128,7 @@ simulation = run!(model; outputs=:all) ``` The controller found two leaves but ran only `:sun_leaf`. It selects that leaf -by name with `call_targets(context, name; objects=(ObjectId(:sun_leaf),))`, +by ID with `call_targets(context, name; objects=(ObjectId(:sun_leaf),))`, so changing the order of the leaves would not change the selection. The two trials were not recorded. The accepted calculation recorded one result, and the reader on `:shade_leaf` did not run: diff --git a/docs/src/journeys/users/mental_model.md b/docs/src/journeys/users/mental_model.md index fa80d89ca..dbd6552fa 100644 --- a/docs/src/journeys/users/mental_model.md +++ b/docs/src/journeys/users/mental_model.md @@ -22,6 +22,31 @@ You decide how much detail to represent. A canopy can be one object, or it can contain several plants with individual leaves. PlantSimEngine does not require a particular plant structure. +## An ID identifies an object; a name labels it + +Each object needs an **ID** that is unique in the simulation. You use that ID +to connect objects and find their results. A `name` is optional text for +display; when you leave it out, the graph viewer shows the ID. + +```@example object_identity +using PlantSimEngine + +plant_a = Object(:plant_a; name="Oil palm") +plant_b = Object(:plant_b; name="Oil palm") + +(plant_a.id, plant_b.id) +``` + +These plants share a display name but have different IDs. `One(id=:plant_a)` +selects the first plant. Changing its display name does not change that +selection or its saved results. `Object(:plant_a)` also works: you do not +need to repeat the ID as a name. + +The optional labels `scale`, `kind`, and `species` let you select groups. +For example, `Many(scale=:Leaf)` selects every object labelled `:Leaf`. +Add the labels your models use; PlantSimEngine does not require you to fill +them all in. + ## An application says where and how to use a model A **model application** combines a model with instructions about where to run @@ -36,6 +61,17 @@ In the [first simulation](one_object.md), all models describe the same canopy, so `CompositeModel` creates these applications for you. Later guides use `ModelSpec` to choose objects and connections explicitly. +`ModelSpec.name` identifies an application, so other models can refer to it. +You can omit it when the process occurs only once: PlantSimEngine uses the +process name. Give each application a different name when you apply the same +process in separate `ModelSpec` entries. Applying one `ModelSpec` to many +objects does not require separate application names for those objects. + +Similarly, an `ObjectInstance` name identifies a particular use of a template, +such as one plant among several. It keeps that plant's model applications +separate from the others. It does not replace the root object's ID or display +name. See [several plants](several_plants.md) for an example. + ## Inputs come from object values or the environment A model needs **inputs** to calculate its **outputs**. For example, a diff --git a/docs/src/journeys/users/several_objects.md b/docs/src/journeys/users/several_objects.md index 980442c0c..ffeb86f46 100644 --- a/docs/src/journeys/users/several_objects.md +++ b/docs/src/journeys/users/several_objects.md @@ -49,7 +49,7 @@ model = CompositeModel( ) ``` -The names `:canopy_a` and `:canopy_b` identify the canopies throughout the +The IDs `:canopy_a` and `:canopy_b` identify the canopies throughout the simulation. Both use the same three models, but each keeps its own values. PlantSimEngine runs the models for each canopy, so the model code does not need a loop over canopies. @@ -69,7 +69,7 @@ LAI is in m² of leaves per m² of ground; `aPPFD` is in μmol of absorbed PAR per m² of ground per second. The CSV radiation totals were converted to mean fluxes just as in the one-object example. -The saved results include the model application name, canopy name, and +The saved results include the model application name, canopy ID, and variable name. This keeps the two LAI time series separate: ```@example journey_several_objects diff --git a/docs/src/migration_composite_model.md b/docs/src/migration_composite_model.md index 8196a2d87..9e7c5d9c6 100644 --- a/docs/src/migration_composite_model.md +++ b/docs/src/migration_composite_model.md @@ -12,6 +12,10 @@ API. Update early examples as follows: | Early spelling or behavior | Current API | | --- | --- | +| object selectors used `name=:leaf_1` | select the object's actual ID with `id=:leaf_1`; `Object.name` is optional display text | +| object names had to be unique | only object IDs must be unique; objects may share a display name | +| `Scope(:name)` could find an object by display name | use `Scope(:instance_name)` for an instance or `Scope(ObjectId(root_id))` for an object root | +| applying a template changed the root object's name | instance names identify model applications; root IDs and display names stay unchanged | | `Self()` searched self and descendants | `Self()` selects only the current object; use `Subtree()` for self plus descendants | | omitted `tracked_outputs` retained everything | use explicit `outputs=:all`; the safe default is `outputs=:none` | | `tracked_outputs=requests` | `outputs=requests` | @@ -20,6 +24,11 @@ API. Update early examples as follows: | calling `run!(model)` again implicitly looked like continuation | use `continue!(simulation)` or `step!(simulation)` | | compiler/cache types imported from the default namespace | qualify them through `PlantSimEngine.Advanced` | +If an old object name differed from its ID, use the ID in the new selector. +For example, `Object(:leaf_1; name="Sunlit leaf")` is selected with +`One(id=:leaf_1)`. The display label does not connect models or identify output +rows. You can omit `name`, `scale`, and `kind` when they are not needed. + `tracked_outputs` has been removed. Use `outputs=:all`, `outputs=:none`, or `outputs=requests` directly. Singular scenario `inputs` and `calls`, `OutputRequest`, object overrides, and `Updates(...; after=...)` now identify diff --git a/docs/src/troubleshooting/runtime_contracts.md b/docs/src/troubleshooting/runtime_contracts.md index 59b0c41c2..5733ca668 100644 --- a/docs/src/troubleshooting/runtime_contracts.md +++ b/docs/src/troubleshooting/runtime_contracts.md @@ -39,7 +39,7 @@ simulation = run!(model; outputs=:all) DataFrame(Diagnostics.explain_output_retention(simulation)) ``` -If model construction fails, use the error's object and application names to +If model construction fails, use the error's object IDs and application names to correct the configuration first. A diagnostic cannot inspect a model that was never constructed. diff --git a/examples/maespa_model_example.jl b/examples/maespa_model_example.jl index 876b58b2f..50e3cd929 100644 --- a/examples/maespa_model_example.jl +++ b/examples/maespa_model_example.jl @@ -802,6 +802,6 @@ if abspath(PROGRAM_FILE) == @__FILE__ only(model_objects(model; scale=:Scene)).status.scene_transpiration, ) println("psi_soil = ", only(model_objects(model; kind=:soil)).status.psi_soil) - println("plant_A = ", only(model_objects(model; name=:plant_A)).status.daily_growth) - println("plant_B = ", only(model_objects(model; name=:plant_B)).status.daily_growth) + println("plant_A = ", only(model_objects(model; id=:plant_A)).status.daily_growth) + println("plant_B = ", only(model_objects(model; id=:plant_B)).status.daily_growth) end diff --git a/ext/PlantSimEngineGraphEditorExt.jl b/ext/PlantSimEngineGraphEditorExt.jl index 3ca028b51..fdb4b9114 100644 --- a/ext/PlantSimEngineGraphEditorExt.jl +++ b/ext/PlantSimEngineGraphEditorExt.jl @@ -379,14 +379,14 @@ function _preview_instance_payload(session, command) payload["instancePreview"] = Dict{String,Any}( "name" => string(name), "objectIds" => [ - PlantSimEngine._model_graph_json_value(id.value) + PlantSimEngine._model_graph_object_id_value(id.value) for id in PlantSimEngine._instance_object_ids(candidate, instance) ], "applications" => [ Dict( "applicationId" => string(application.id), "targetIds" => [ - PlantSimEngine._model_graph_json_value(id.value) + PlantSimEngine._model_graph_object_id_value(id.value) for id in application.target_ids ], ) @@ -418,7 +418,7 @@ function _preview_application_targets_payload(session, command) append!(ids, selected_ids) push!(groups, Dict( "instance" => string(instance.name), - "objectIds" => [id.value for id in selected_ids], + "objectIds" => [PlantSimEngine._model_graph_object_id_value(id) for id in selected_ids], )) end unique(ids) @@ -430,7 +430,7 @@ function _preview_application_targets_payload(session, command) end payload = _state_payload(session) payload["targetPreview"] = Dict{String,Any}( - "objectIds" => [PlantSimEngine._model_graph_json_value(id.value) for id in target_ids], + "objectIds" => [PlantSimEngine._model_graph_object_id_value(id.value) for id in target_ids], "count" => length(target_ids), "groups" => groups, ) @@ -462,11 +462,11 @@ function _preview_input_binding_payload(session, command) "applicationRef" => _application_ref_payload(application), "input" => string(input), "consumerObjectIds" => unique([ - PlantSimEngine._model_graph_json_value(binding.consumer_id.value) + PlantSimEngine._model_graph_object_id_value(binding.consumer_id.value) for binding in bindings ]), "sourceObjectIds" => unique([ - PlantSimEngine._model_graph_json_value(source_id.value) + PlantSimEngine._model_graph_object_id_value(source_id.value) for binding in bindings for source_id in binding.source_ids ]), "sourceApplicationIds" => unique([ @@ -618,33 +618,33 @@ function _edit_from_command(session, command) _updates_from_payload(application, get(command, "updates", Any[])), ) kind == "set_object_status" && return PlantSimEngine.GraphEditor.SetModelObjectStatus( - command["objectId"], + _object_id_from_payload(command["objectId"]), Symbol(command["variable"]), _parameter_value(session, command["value"]), ) kind == "set_object_statuses" && return PlantSimEngine.GraphEditor.SetModelObjectStatuses( - command["objectIds"], + [_object_id_from_payload(id) for id in command["objectIds"]], Symbol(command["variable"]), _parameter_value(session, command["value"]), ) kind == "remove_object_status" && return PlantSimEngine.GraphEditor.RemoveModelObjectStatus( - command["objectId"], + _object_id_from_payload(command["objectId"]), Symbol(command["variable"]), ) kind in ("set_object_metadata", "update_object") && return PlantSimEngine.GraphEditor.SetModelObjectMetadata( - PlantSimEngine.ObjectId(command["objectId"]), + _object_id_from_payload(command["objectId"]), _metadata_from_payload(get(command, "configuration", Dict())), ) kind == "add_object" && return PlantSimEngine.GraphEditor.AddModelObject( _object_from_command(session, command), ) kind == "remove_object" && return PlantSimEngine.GraphEditor.RemoveModelObject( - command["objectId"]; + _object_id_from_payload(command["objectId"]); recursive=Bool(get(command, "recursive", true)), ) kind == "reparent_object" && return PlantSimEngine.ReparentModelObject( - command["objectId"], - get(command, "parentId", nothing), + _object_id_from_payload(command["objectId"]), + _optional_object_id_from_payload(get(command, "parentId", nothing)), ) kind == "set_instance_override" && return PlantSimEngine.GraphEditor.SetModelInstanceOverride( command["instance"], @@ -657,13 +657,13 @@ function _edit_from_command(session, command) ) kind == "set_object_override" && return PlantSimEngine.GraphEditor.SetModelObjectOverride( command["instance"], - command["objectId"], + _object_id_from_payload(command["objectId"]), application.application_id, _construct_model(session, command["modelType"], get(command, "parameters", Dict())), ) kind == "remove_object_override" && return PlantSimEngine.GraphEditor.RemoveModelObjectOverride( command["instance"], - command["objectId"], + _object_id_from_payload(command["objectId"]), application.application_id, ) kind == "add_application" && return _add_application_edit(session, command) @@ -678,7 +678,7 @@ end function _add_instance_edit(session, command) root_payload = get(command, "rootObject", nothing) root = isnothing(root_payload) ? nothing : _object_from_command(session, root_payload) - root_id = isnothing(root) ? command["rootId"] : root.id + root_id = isnothing(root) ? _object_id_from_payload(command["rootId"]) : root.id return PlantSimEngine.GraphEditor.AddModelInstance( command["name"], _template_from_id(session, command["templateId"]), @@ -722,10 +722,54 @@ function _symbol_keyed_namedtuple(payload) return (; (Symbol(key) => value for (key, value) in payload)...) end +const _OBJECT_ID_NUMERIC_TYPES = Dict{String,Type}( + string(type) => type for type in ( + Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, + UInt128, BigInt, Float16, Float32, Float64, + ) +) + +function _typed_object_id_value_from_payload(payload) + payload isa AbstractDict || begin + payload isa Union{Bool,Integer,AbstractString} && return payload + error("Unsupported scalar value in a typed object ID.") + end + type = String(get(payload, "type", "")) + type == "Symbol" && return Symbol(payload["value"]) + type == "Char" && return only(String(payload["value"])) + type == "Tuple" && return Tuple(_typed_object_id_value_from_payload(item) for item in payload["items"]) + type == "NamedTuple" && return NamedTuple{Tuple(Symbol.(payload["names"]))}( + Tuple(_typed_object_id_value_from_payload(item) for item in payload["items"]), + ) + type == "Pair" && return _typed_object_id_value_from_payload(payload["first"]) => + _typed_object_id_value_from_payload(payload["second"]) + type == "ObjectId" && return PlantSimEngine.ObjectId(_typed_object_id_value_from_payload(payload["value"])) + if haskey(_OBJECT_ID_NUMERIC_TYPES, type) + return parse(_OBJECT_ID_NUMERIC_TYPES[type], String(payload["value"])) + end + type == "Opaque" && error( + "The graph editor can display custom object IDs of type `$(payload["juliaType"])`, ", + "but cannot reconstruct them. Edit this object from Julia.", + ) + error("Unsupported typed object ID `$(type)`.") +end + +function _object_id_from_payload(payload) + if payload isa AbstractDict + get(payload, "type", nothing) == "ObjectId" || error("Expected a tagged ObjectId payload.") + return PlantSimEngine.ObjectId(_typed_object_id_value_from_payload(payload["value"])) + end + payload isa Union{Bool,Integer,AbstractString} || error("Expected a scalar object ID or a tagged ObjectId payload.") + return PlantSimEngine.ObjectId(payload) +end + +_optional_object_id_from_payload(payload) = isnothing(payload) ? nothing : _object_id_from_payload(payload) + function _metadata_from_payload(payload) payload isa AbstractDict || error("Expected an object metadata payload.") return (; ( - Symbol(key) => (value isa AbstractString && isempty(strip(value)) ? nothing : value) + Symbol(key) => (value isa AbstractString && isempty(strip(value)) ? nothing : + Symbol(key) == :parent ? _optional_object_id_from_payload(value) : value) for (key, value) in payload )...) end @@ -779,12 +823,12 @@ function _object_from_command(session, command) )...)) end return PlantSimEngine.Object( - command["objectId"]; + _object_id_from_payload(command["objectId"]); scale=get(configuration, "scale", nothing), kind=get(configuration, "kind", nothing), species=get(configuration, "species", nothing), name=get(configuration, "name", nothing), - parent=get(configuration, "parent", nothing), + parent=_optional_object_id_from_payload(get(configuration, "parent", nothing)), status=status, ) end @@ -884,7 +928,9 @@ function _selector_from_payload(payload) end function _selector_value(key, value) - key in (:scale, :kind, :species, :name, :process, :var, :relation, :application) && + key == :id && return value isa AbstractVector ? + Tuple(_object_id_from_payload(id) for id in value) : _object_id_from_payload(value) + key in (:scale, :kind, :species, :process, :var, :relation, :application) && return value isa AbstractVector ? Symbol.(value) : Symbol(value) key == :within && return _selector_atom_from_payload(value) key == :policy && return _policy_from_payload(value) @@ -900,7 +946,11 @@ function _selector_atom_from_payload(payload) type == "Subtree" && return PlantSimEngine.Subtree() type == "SelfPlant" && return PlantSimEngine.SelfPlant() type == "Ancestor" && return PlantSimEngine.Ancestor(; scale=get(payload, "scale", nothing)) - type == "Scope" && return PlantSimEngine.Scope(payload["name"]) + if type == "Scope" + return haskey(payload, "id") ? + PlantSimEngine.Scope(_object_id_from_payload(payload["id"])) : + PlantSimEngine.Scope(payload["name"]) + end type == "Relation" && return PlantSimEngine.Relation(payload["relation"]) error("Unsupported structured object selector type `$(type)`.") end diff --git a/frontend/dist/.vite/manifest.json b/frontend/dist/.vite/manifest.json index ba5cf349d..b04be629b 100644 --- a/frontend/dist/.vite/manifest.json +++ b/frontend/dist/.vite/manifest.json @@ -1,6 +1,6 @@ { "index.html": { - "file": "assets/index-BGTX8zZ1.js", + "file": "assets/index-BsNfDYBn.js", "name": "index", "src": "index.html", "isEntry": true, diff --git a/frontend/dist/assets/index-BGTX8zZ1.js b/frontend/dist/assets/index-BGTX8zZ1.js deleted file mode 100644 index 83972ca96..000000000 --- a/frontend/dist/assets/index-BGTX8zZ1.js +++ /dev/null @@ -1,38 +0,0 @@ -(function(){const E=document.createElement("link").relList;if(E&&E.supports&&E.supports("modulepreload"))return;for(const N of document.querySelectorAll('link[rel="modulepreload"]'))M(N);new MutationObserver(N=>{for(const $ of N)if($.type==="childList")for(const k of $.addedNodes)k.tagName==="LINK"&&k.rel==="modulepreload"&&M(k)}).observe(document,{childList:!0,subtree:!0});function x(N){const $={};return N.integrity&&($.integrity=N.integrity),N.referrerPolicy&&($.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?$.credentials="include":N.crossOrigin==="anonymous"?$.credentials="omit":$.credentials="same-origin",$}function M(N){if(N.ep)return;N.ep=!0;const $=x(N);fetch(N.href,$)}})();var Lhn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bke(g){return g&&g.__esModule&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g}var C7e={exports:{}},IG={};var Phn;function izn(){if(Phn)return IG;Phn=1;var g=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function x(M,N,$){var k=null;if($!==void 0&&(k=""+$),N.key!==void 0&&(k=""+N.key),"key"in N){$={};for(var H in N)H!=="key"&&($[H]=N[H])}else $=N;return N=$.ref,{$$typeof:g,type:M,key:k,ref:N!==void 0?N:null,props:$}}return IG.Fragment=E,IG.jsx=x,IG.jsxs=x,IG}var $hn;function rzn(){return $hn||($hn=1,C7e.exports=izn()),C7e.exports}var _=rzn(),T7e={exports:{}},Mc={};var Rhn;function czn(){if(Rhn)return Mc;Rhn=1;var g=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),k=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Z=Symbol.iterator;function se(ye){return ye===null||typeof ye!="object"?null:(ye=Z&&ye[Z]||ye["@@iterator"],typeof ye=="function"?ye:null)}var oe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ee=Object.assign,Me={};function pe(ye,Re,Hn){this.props=ye,this.context=Re,this.refs=Me,this.updater=Hn||oe}pe.prototype.isReactComponent={},pe.prototype.setState=function(ye,Re){if(typeof ye!="object"&&typeof ye!="function"&&ye!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ye,Re,"setState")},pe.prototype.forceUpdate=function(ye){this.updater.enqueueForceUpdate(this,ye,"forceUpdate")};function Pe(){}Pe.prototype=pe.prototype;function ae(ye,Re,Hn){this.props=ye,this.context=Re,this.refs=Me,this.updater=Hn||oe}var Ne=ae.prototype=new Pe;Ne.constructor=ae,ee(Ne,pe.prototype),Ne.isPureReactComponent=!0;var Xe=Array.isArray;function ln(){}var on={H:null,A:null,T:null,S:null},An=Object.prototype.hasOwnProperty;function xn(ye,Re,Hn){var rt=Hn.ref;return{$$typeof:g,type:ye,key:Re,ref:rt!==void 0?rt:null,props:Hn}}function tt(ye,Re){return xn(ye.type,Re,ye.props)}function vn(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===g}function wn(ye){var Re={"=":"=0",":":"=2"};return"$"+ye.replace(/[=:]/g,function(Hn){return Re[Hn]})}var Y=/\/+/g;function Je(ye,Re){return typeof ye=="object"&&ye!==null&&ye.key!=null?wn(""+ye.key):Re.toString(36)}function pn(ye){switch(ye.status){case"fulfilled":return ye.value;case"rejected":throw ye.reason;default:switch(typeof ye.status=="string"?ye.then(ln,ln):(ye.status="pending",ye.then(function(Re){ye.status==="pending"&&(ye.status="fulfilled",ye.value=Re)},function(Re){ye.status==="pending"&&(ye.status="rejected",ye.reason=Re)})),ye.status){case"fulfilled":return ye.value;case"rejected":throw ye.reason}}throw ye}function xe(ye,Re,Hn,rt,Jt){var di=typeof ye;(di==="undefined"||di==="boolean")&&(ye=null);var Gt=!1;if(ye===null)Gt=!0;else switch(di){case"bigint":case"string":case"number":Gt=!0;break;case"object":switch(ye.$$typeof){case g:case E:Gt=!0;break;case ie:return Gt=ye._init,xe(Gt(ye._payload),Re,Hn,rt,Jt)}}if(Gt)return Jt=Jt(ye),Gt=rt===""?"."+Je(ye,0):rt,Xe(Jt)?(Hn="",Gt!=null&&(Hn=Gt.replace(Y,"$&/")+"/"),xe(Jt,Re,Hn,"",function(Kr){return Kr})):Jt!=null&&(vn(Jt)&&(Jt=tt(Jt,Hn+(Jt.key==null||ye&&ye.key===Jt.key?"":(""+Jt.key).replace(Y,"$&/")+"/")+Gt)),Re.push(Jt)),1;Gt=0;var xt=rt===""?".":rt+":";if(Xe(ye))for(var si=0;si>>1,Mn=xe[$e];if(0>>1;$eN(Hn,fn))rtN(Jt,Hn)?(xe[$e]=Jt,xe[rt]=fn,$e=rt):(xe[$e]=Hn,xe[Re]=fn,$e=Re);else if(rtN(Jt,fn))xe[$e]=Jt,xe[rt]=fn,$e=rt;else break e}}return qe}function N(xe,qe){var fn=xe.sortIndex-qe.sortIndex;return fn!==0?fn:xe.id-qe.id}if(g.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var $=performance;g.unstable_now=function(){return $.now()}}else{var k=Date,H=k.now();g.unstable_now=function(){return k.now()-H}}var U=[],G=[],ie=1,W=null,Z=3,se=!1,oe=!1,ee=!1,Me=!1,pe=typeof setTimeout=="function"?setTimeout:null,Pe=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function Ne(xe){for(var qe=x(G);qe!==null;){if(qe.callback===null)M(G);else if(qe.startTime<=xe)M(G),qe.sortIndex=qe.expirationTime,E(U,qe);else break;qe=x(G)}}function Xe(xe){if(ee=!1,Ne(xe),!oe)if(x(U)!==null)oe=!0,ln||(ln=!0,wn());else{var qe=x(G);qe!==null&&pn(Xe,qe.startTime-xe)}}var ln=!1,on=-1,An=5,xn=-1;function tt(){return Me?!0:!(g.unstable_now()-xnxe&&tt());){var $e=W.callback;if(typeof $e=="function"){W.callback=null,Z=W.priorityLevel;var Mn=$e(W.expirationTime<=xe);if(xe=g.unstable_now(),typeof Mn=="function"){W.callback=Mn,Ne(xe),qe=!0;break n}W===x(U)&&M(U),Ne(xe)}else M(U);W=x(U)}if(W!==null)qe=!0;else{var ye=x(G);ye!==null&&pn(Xe,ye.startTime-xe),qe=!1}}break e}finally{W=null,Z=fn,se=!1}qe=void 0}}finally{qe?wn():ln=!1}}}var wn;if(typeof ae=="function")wn=function(){ae(vn)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,Je=Y.port2;Y.port1.onmessage=vn,wn=function(){Je.postMessage(null)}}else wn=function(){pe(vn,0)};function pn(xe,qe){on=pe(function(){xe(g.unstable_now())},qe)}g.unstable_IdlePriority=5,g.unstable_ImmediatePriority=1,g.unstable_LowPriority=4,g.unstable_NormalPriority=3,g.unstable_Profiling=null,g.unstable_UserBlockingPriority=2,g.unstable_cancelCallback=function(xe){xe.callback=null},g.unstable_forceFrameRate=function(xe){0>xe||125$e?(xe.sortIndex=fn,E(G,xe),x(U)===null&&xe===x(G)&&(ee?(Pe(on),on=-1):ee=!0,pn(Xe,fn-$e))):(xe.sortIndex=Mn,E(U,xe),oe||se||(oe=!0,ln||(ln=!0,wn()))),xe},g.unstable_shouldYield=tt,g.unstable_wrapCallback=function(xe){var qe=Z;return function(){var fn=Z;Z=qe;try{return xe.apply(this,arguments)}finally{Z=fn}}}})(I7e)),I7e}var Fhn;function szn(){return Fhn||(Fhn=1,N7e.exports=ozn()),N7e.exports}var D7e={exports:{}},rd={};var Jhn;function lzn(){if(Jhn)return rd;Jhn=1;var g=ZG();function E(U){var G="https://react.dev/errors/"+U;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g)}catch(E){console.error(E)}}return g(),D7e.exports=lzn(),D7e.exports}var Ghn;function fzn(){if(Ghn)return DG;Ghn=1;var g=szn(),E=ZG(),x=sdn();function M(a){var d="https://react.dev/errors/"+a;if(1Mn||(a.current=$e[Mn],$e[Mn]=null,Mn--)}function Hn(a,d){Mn++,$e[Mn]=a.current,a.current=d}var rt=ye(null),Jt=ye(null),di=ye(null),Gt=ye(null);function xt(a,d){switch(Hn(di,d),Hn(Jt,a),Hn(rt,null),d.nodeType){case 9:case 11:a=(a=d.documentElement)&&(a=a.namespaceURI)?fP(a):0;break;default:if(a=d.tagName,d=d.namespaceURI)d=fP(d),a=aP(d,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Re(rt),Hn(rt,a)}function si(){Re(rt),Re(Jt),Re(di)}function Kr(a){a.memoizedState!==null&&Hn(Gt,a);var d=rt.current,w=aP(d,a.type);d!==w&&(Hn(Jt,a),Hn(rt,w))}function Er(a){Jt.current===a&&(Re(rt),Re(Jt)),Gt.current===a&&(Re(Gt),n4._currentValue=fn)}var Mt,bi;function zi(a){if(Mt===void 0)try{throw Error()}catch(w){var d=w.stack.trim().match(/\n( *(at )?)/);Mt=d&&d[1]||"",bi=-1)":-1T||tn[j]!==Pn[T]){var it=` -`+tn[j].replace(" at new "," at ");return a.displayName&&it.includes("")&&(it=it.replace("",a.displayName)),it}while(1<=j&&0<=T);break}}}finally{cu=!1,Error.prepareStackTrace=w}return(w=a?a.displayName||a.name:"")?zi(w):""}function Rs(a,d){switch(a.tag){case 26:case 27:case 5:return zi(a.type);case 16:return zi("Lazy");case 13:return a.child!==d&&d!==null?zi("Suspense Fallback"):zi("Suspense");case 19:return zi("SuspenseList");case 0:case 15:return Fu(a.type,!1);case 11:return Fu(a.type.render,!1);case 1:return Fu(a.type,!0);case 31:return zi("Activity");default:return""}}function ia(a){try{var d="",w=null;do d+=Rs(a,w),w=a,a=a.return;while(a);return d}catch(j){return` -Error generating stack: `+j.message+` -`+j.stack}}var ef=Object.prototype.hasOwnProperty,Oa=g.unstable_scheduleCallback,Cc=g.unstable_cancelCallback,o0=g.unstable_shouldYield,xb=g.unstable_requestPaint,Sl=g.unstable_now,cd=g.unstable_getCurrentPriorityLevel,s0=g.unstable_ImmediatePriority,uh=g.unstable_UserBlockingPriority,ud=g.unstable_NormalPriority,b5=g.unstable_LowPriority,l0=g.unstable_IdlePriority,Cp=g.log,l6=g.unstable_setDisableYieldValue,Ab=null,ra=null;function od(a){if(typeof Cp=="function"&&l6(a),ra&&typeof ra.setStrictMode=="function")try{ra.setStrictMode(Ab,a)}catch{}}var Sf=Math.clz32?Math.clz32:Tp,f6=Math.log,oh=Math.LN2;function Tp(a){return a>>>=0,a===0?32:31-(f6(a)/oh|0)|0}var Gg=256,qg=262144,Ug=4194304;function sd(a){var d=a&42;if(d!==0)return d;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Xg(a,d,w){var j=a.pendingLanes;if(j===0)return 0;var T=0,I=a.suspendedLanes,Q=a.pingedLanes;a=a.warmLanes;var de=j&134217727;return de!==0?(j=de&~I,j!==0?T=sd(j):(Q&=de,Q!==0?T=sd(Q):w||(w=de&~a,w!==0&&(T=sd(w))))):(de=j&~I,de!==0?T=sd(de):Q!==0?T=sd(Q):w||(w=j&~a,w!==0&&(T=sd(w)))),T===0?0:d!==0&&d!==T&&(d&I)===0&&(I=T&-T,w=d&-d,I>=w||I===32&&(w&4194048)!==0)?d:T}function Mb(a,d){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&d)===0}function g5(a,d){switch(a){case 1:case 2:case 4:case 8:case 64:return d+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Op(){var a=Ug;return Ug<<=1,(Ug&62914560)===0&&(Ug=4194304),a}function Np(a){for(var d=[],w=0;31>w;w++)d.push(a);return d}function uu(a,d){a.pendingLanes|=d,d!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function w5(a,d,w,j,T,I){var Q=a.pendingLanes;a.pendingLanes=w,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=w,a.entangledLanes&=w,a.errorRecoveryDisabledLanes&=w,a.shellSuspendCounter=0;var de=a.entanglements,tn=a.expirationTimes,Pn=a.hiddenUpdates;for(w=Q&~w;0"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var IA=/[\n"\\]/g;function Lh(a){return a.replace(IA,function(d){return"\\"+d.charCodeAt(0).toString(16)+" "})}function sv(a,d,w,j,T,I,Q,de){a.name="",Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"?a.type=Q:a.removeAttribute("type"),d!=null?Q==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+_h(d)):a.value!==""+_h(d)&&(a.value=""+_h(d)):Q!=="submit"&&Q!=="reset"||a.removeAttribute("value"),d!=null?d6(a,Q,_h(d)):w!=null?d6(a,Q,_h(w)):j!=null&&a.removeAttribute("value"),T==null&&I!=null&&(a.defaultChecked=!!I),T!=null&&(a.checked=T&&typeof T!="function"&&typeof T!="symbol"),de!=null&&typeof de!="function"&&typeof de!="symbol"&&typeof de!="boolean"?a.name=""+_h(de):a.removeAttribute("name")}function sk(a,d,w,j,T,I,Q,de){if(I!=null&&typeof I!="function"&&typeof I!="symbol"&&typeof I!="boolean"&&(a.type=I),d!=null||w!=null){if(!(I!=="submit"&&I!=="reset"||d!=null)){j5(a);return}w=w!=null?""+_h(w):"",d=d!=null?""+_h(d):w,de||d===a.value||(a.value=d),a.defaultValue=d}j=j??T,j=typeof j!="function"&&typeof j!="symbol"&&!!j,a.checked=de?a.checked:!!j,a.defaultChecked=!!j,Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"&&(a.name=Q),j5(a)}function d6(a,d,w){d==="number"&&ov(a.ownerDocument)===a||a.defaultValue===""+w||(a.defaultValue=""+w)}function Wg(a,d,w,j){if(a=a.options,d){d={};for(var T=0;T"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$A=!1;if(ew)try{var g6={};Object.defineProperty(g6,"passive",{get:function(){$A=!0}}),window.addEventListener("test",g6,g6),window.removeEventListener("test",g6,g6)}catch{$A=!1}var $p=null,RA=null,fk=null;function MD(){if(fk)return fk;var a,d=RA,w=d.length,j,T="value"in $p?$p.value:$p.textContent,I=T.length;for(a=0;a=m6),DD=" ",_D=!1;function LD(a,d){switch(a){case"keyup":return _q.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PD(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var A5=!1;function Pq(a,d){switch(a){case"compositionend":return PD(d);case"keypress":return d.which!==32?null:(_D=!0,DD);case"textInput":return a=d.data,a===DD&&_D?null:a;default:return null}}function $q(a,d){if(A5)return a==="compositionend"||!HA&&LD(a,d)?(a=MD(),fk=RA=$p=null,A5=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:w,offset:d-a};a=j}e:{for(;w;){if(w.nextSibling){w=w.nextSibling;break e}w=w.parentNode}w=void 0}w=HD(w)}}function qD(a,d){return a&&d?a===d?!0:a&&a.nodeType===3?!1:d&&d.nodeType===3?qD(a,d.parentNode):"contains"in a?a.contains(d):a.compareDocumentPosition?!!(a.compareDocumentPosition(d)&16):!1:!1}function UD(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var d=ov(a.document);d instanceof a.HTMLIFrameElement;){try{var w=typeof d.contentWindow.location.href=="string"}catch{w=!1}if(w)a=d.contentWindow;else break;d=ov(a.document)}return d}function XA(a){var d=a&&a.nodeName&&a.nodeName.toLowerCase();return d&&(d==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||d==="textarea"||a.contentEditable==="true")}var qq=ew&&"documentMode"in document&&11>=document.documentMode,M5=null,KA=null,j6=null,VA=!1;function XD(a,d,w){var j=w.window===w?w.document:w.nodeType===9?w:w.ownerDocument;VA||M5==null||M5!==ov(j)||(j=M5,"selectionStart"in j&&XA(j)?j={start:j.selectionStart,end:j.selectionEnd}:(j=(j.ownerDocument&&j.ownerDocument.defaultView||window).getSelection(),j={anchorNode:j.anchorNode,anchorOffset:j.anchorOffset,focusNode:j.focusNode,focusOffset:j.focusOffset}),j6&&k6(j6,j)||(j6=j,j=tj(KA,"onSelect"),0>=Q,T-=Q,Cb=1<<32-Sf(d)+T|w<Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var qc=Gn(Sn,Xi,_n[Hr],ot);if(qc===null){Xi===null&&(Xi=ic);break}a&&Xi&&qc.alternate===null&&d(Sn,Xi),sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc,Xi=ic}if(Hr===_n.length)return w(Sn,Xi),ou&&tw(Sn,Hr),Hi;if(Xi===null){for(;Hr<_n.length;Hr++)Xi=gt(Sn,_n[Hr],ot),Xi!==null&&(sn=I(Xi,sn,Hr),_u===null?Hi=Xi:_u.sibling=Xi,_u=Xi);return ou&&tw(Sn,Hr),Hi}for(Xi=j(Xi);Hr<_n.length;Hr++)ic=et(Xi,Sn,Hr,_n[Hr],ot),ic!==null&&(a&&ic.alternate!==null&&Xi.delete(ic.key===null?Hr:ic.key),sn=I(ic,sn,Hr),_u===null?Hi=ic:_u.sibling=ic,_u=ic);return a&&Xi.forEach(function(At){return d(Sn,At)}),ou&&tw(Sn,Hr),Hi}function Cr(Sn,sn,_n,ot){if(_n==null)throw Error(M(151));for(var Hi=null,_u=null,Xi=sn,Hr=sn=0,ic=null,qc=_n.next();Xi!==null&&!qc.done;Hr++,qc=_n.next()){Xi.index>Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var At=Gn(Sn,Xi,qc.value,ot);if(At===null){Xi===null&&(Xi=ic);break}a&&Xi&&At.alternate===null&&d(Sn,Xi),sn=I(At,sn,Hr),_u===null?Hi=At:_u.sibling=At,_u=At,Xi=ic}if(qc.done)return w(Sn,Xi),ou&&tw(Sn,Hr),Hi;if(Xi===null){for(;!qc.done;Hr++,qc=_n.next())qc=gt(Sn,qc.value,ot),qc!==null&&(sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return ou&&tw(Sn,Hr),Hi}for(Xi=j(Xi);!qc.done;Hr++,qc=_n.next())qc=et(Xi,Sn,Hr,qc.value,ot),qc!==null&&(a&&qc.alternate!==null&&Xi.delete(qc.key===null?Hr:qc.key),sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return a&&Xi.forEach(function(fX){return d(Sn,fX)}),ou&&tw(Sn,Hr),Hi}function co(Sn,sn,_n,ot){if(typeof _n=="object"&&_n!==null&&_n.type===ee&&_n.key===null&&(_n=_n.props.children),typeof _n=="object"&&_n!==null){switch(_n.$$typeof){case se:e:{for(var Hi=_n.key;sn!==null;){if(sn.key===Hi){if(Hi=_n.type,Hi===ee){if(sn.tag===7){w(Sn,sn.sibling),ot=T(sn,_n.props.children),ot.return=Sn,Sn=ot;break e}}else if(sn.elementType===Hi||typeof Hi=="object"&&Hi!==null&&Hi.$$typeof===An&&wv(Hi)===sn.type){w(Sn,sn.sibling),ot=T(sn,_n.props),O6(ot,_n),ot.return=Sn,Sn=ot;break e}w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}_n.type===ee?(ot=dv(_n.props.children,Sn.mode,ot,_n.key),ot.return=Sn,Sn=ot):(ot=yk(_n.type,_n.key,_n.props,null,Sn.mode,ot),O6(ot,_n),ot.return=Sn,Sn=ot)}return Q(Sn);case oe:e:{for(Hi=_n.key;sn!==null;){if(sn.key===Hi)if(sn.tag===4&&sn.stateNode.containerInfo===_n.containerInfo&&sn.stateNode.implementation===_n.implementation){w(Sn,sn.sibling),ot=T(sn,_n.children||[]),ot.return=Sn,Sn=ot;break e}else{w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}ot=tM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot}return Q(Sn);case An:return _n=wv(_n),co(Sn,sn,_n,ot)}if(pn(_n))return Di(Sn,sn,_n,ot);if(wn(_n)){if(Hi=wn(_n),typeof Hi!="function")throw Error(M(150));return _n=Hi.call(_n),Cr(Sn,sn,_n,ot)}if(typeof _n.then=="function")return co(Sn,sn,xk(_n),ot);if(_n.$$typeof===ae)return co(Sn,sn,x6(Sn,_n),ot);Ak(Sn,_n)}return typeof _n=="string"&&_n!==""||typeof _n=="number"||typeof _n=="bigint"?(_n=""+_n,sn!==null&&sn.tag===6?(w(Sn,sn.sibling),ot=T(sn,_n),ot.return=Sn,Sn=ot):(w(Sn,sn),ot=nM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot),Q(Sn)):w(Sn,sn)}return function(Sn,sn,_n,ot){try{T6=0;var Hi=co(Sn,sn,_n,ot);return B5=null,Hi}catch(Xi){if(Xi===R5||Xi===Ek)throw Xi;var _u=w1(29,Xi,null,Sn.mode);return _u.lanes=ot,_u.return=Sn,_u}}}var mv=b_(!0),g_=b_(!1),qp=!1;function gM(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wM(a,d){a=a.updateQueue,d.updateQueue===a&&(d.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Up(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Xp(a,d,w){var j=a.updateQueue;if(j===null)return null;if(j=j.shared,(Ju&2)!==0){var T=j.pending;return T===null?d.next=d:(d.next=T.next,T.next=d),j.pending=d,d=vk(a),e_(a,null,w),d}return mk(a,j,d,w),vk(a)}function N6(a,d,w){if(d=d.updateQueue,d!==null&&(d=d.shared,(w&4194048)!==0)){var j=d.lanes;j&=a.pendingLanes,w|=j,d.lanes=w,rv(a,w)}}function pM(a,d){var w=a.updateQueue,j=a.alternate;if(j!==null&&(j=j.updateQueue,w===j)){var T=null,I=null;if(w=w.firstBaseUpdate,w!==null){do{var Q={lane:w.lane,tag:w.tag,payload:w.payload,callback:null,next:null};I===null?T=I=Q:I=I.next=Q,w=w.next}while(w!==null);I===null?T=I=d:I=I.next=d}else T=I=d;w={baseState:j.baseState,firstBaseUpdate:T,lastBaseUpdate:I,shared:j.shared,callbacks:j.callbacks},a.updateQueue=w;return}a=w.lastBaseUpdate,a===null?w.firstBaseUpdate=d:a.next=d,w.lastBaseUpdate=d}var mM=!1;function I6(){if(mM){var a=$5;if(a!==null)throw a}}function D6(a,d,w,j){mM=!1;var T=a.updateQueue;qp=!1;var I=T.firstBaseUpdate,Q=T.lastBaseUpdate,de=T.shared.pending;if(de!==null){T.shared.pending=null;var tn=de,Pn=tn.next;tn.next=null,Q===null?I=Pn:Q.next=Pn,Q=tn;var it=a.alternate;it!==null&&(it=it.updateQueue,de=it.lastBaseUpdate,de!==Q&&(de===null?it.firstBaseUpdate=Pn:de.next=Pn,it.lastBaseUpdate=tn))}if(I!==null){var gt=T.baseState;Q=0,it=Pn=tn=null,de=I;do{var Gn=de.lane&-536870913,et=Gn!==de.lane;if(et?(nu&Gn)===Gn:(j&Gn)===Gn){Gn!==0&&Gn===P5&&(mM=!0),it!==null&&(it=it.next={lane:0,tag:de.tag,payload:de.payload,callback:null,next:null});e:{var Di=a,Cr=de;Gn=d;var co=w;switch(Cr.tag){case 1:if(Di=Cr.payload,typeof Di=="function"){gt=Di.call(co,gt,Gn);break e}gt=Di;break e;case 3:Di.flags=Di.flags&-65537|128;case 0:if(Di=Cr.payload,Gn=typeof Di=="function"?Di.call(co,gt,Gn):Di,Gn==null)break e;gt=W({},gt,Gn);break e;case 2:qp=!0}}Gn=de.callback,Gn!==null&&(a.flags|=64,et&&(a.flags|=8192),et=T.callbacks,et===null?T.callbacks=[Gn]:et.push(Gn))}else et={lane:Gn,tag:de.tag,payload:de.payload,callback:de.callback,next:null},it===null?(Pn=it=et,tn=gt):it=it.next=et,Q|=Gn;if(de=de.next,de===null){if(de=T.shared.pending,de===null)break;et=de,de=et.next,et.next=null,T.lastBaseUpdate=et,T.shared.pending=null}}while(!0);it===null&&(tn=gt),T.baseState=tn,T.firstBaseUpdate=Pn,T.lastBaseUpdate=it,I===null&&(T.shared.lanes=0),Wp|=Q,a.lanes=Q,a.memoizedState=gt}}function w_(a,d){if(typeof a!="function")throw Error(M(191,a));a.call(d)}function p_(a,d){var w=a.callbacks;if(w!==null)for(a.callbacks=null,a=0;aI?I:8;var Q=xe.T,de={};xe.T=de,$M(a,!1,d,w);try{var tn=T(),Pn=xe.S;if(Pn!==null&&Pn(de,tn),tn!==null&&typeof tn=="object"&&typeof tn.then=="function"){var it=Zq(tn,j);$6(a,d,it,k1(a))}else $6(a,d,j,k1(a))}catch(gt){$6(a,d,{then:function(){},status:"rejected",reason:gt},k1())}finally{qe.p=I,Q!==null&&de.types!==null&&(Q.types=de.types),xe.T=Q}}function LM(){}function P6(a,d,w,j){if(a.tag!==5)throw Error(M(476));var T=K_(a).queue;X_(a,T,d,fn,w===null?LM:function(){return Pk(a),w(j)})}function K_(a){var d=a.memoizedState;if(d!==null)return d;d={memoizedState:fn,baseState:fn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:uw,lastRenderedState:fn},next:null};var w={};return d.next={memoizedState:w,baseState:w,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:uw,lastRenderedState:w},next:null},a.memoizedState=d,a=a.alternate,a!==null&&(a.memoizedState=d),d}function Pk(a){var d=K_(a);d.next===null&&(d=a.alternate.memoizedState),$6(a,d.next.queue,{},k1())}function PM(){return ua(n4)}function V_(){return el().memoizedState}function Y_(){return el().memoizedState}function uU(a){for(var d=a.return;d!==null;){switch(d.tag){case 24:case 3:var w=k1();a=Up(w);var j=Xp(d,a,w);j!==null&&(zh(j,d,w),N6(j,d,w)),d={cache:fM()},a.payload=d;return}d=d.return}}function oU(a,d,w){var j=k1();w={lane:j,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null},$k(a)?W_(d,w):(w=ZA(a,d,w,j),w!==null&&(zh(w,a,j),RM(w,d,j)))}function Q_(a,d,w){var j=k1();$6(a,d,w,j)}function $6(a,d,w,j){var T={lane:j,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null};if($k(a))W_(d,T);else{var I=a.alternate;if(a.lanes===0&&(I===null||I.lanes===0)&&(I=d.lastRenderedReducer,I!==null))try{var Q=d.lastRenderedState,de=I(Q,w);if(T.hasEagerState=!0,T.eagerState=de,g1(de,Q))return mk(a,d,T,0),Do===null&&pk(),!1}catch{}if(w=ZA(a,d,T,j),w!==null)return zh(w,a,j),RM(w,d,j),!0}return!1}function $M(a,d,w,j){if(j={lane:2,revertLane:vC(),gesture:null,action:j,hasEagerState:!1,eagerState:null,next:null},$k(a)){if(d)throw Error(M(479))}else d=ZA(a,w,j,2),d!==null&&zh(d,a,2)}function $k(a){var d=a.alternate;return a===bc||d!==null&&d===bc}function W_(a,d){F5=Tk=!0;var w=a.pending;w===null?d.next=d:(d.next=w.next,w.next=d),a.pending=d}function RM(a,d,w){if((w&4194048)!==0){var j=d.lanes;j&=a.pendingLanes,w|=j,d.lanes=w,rv(a,w)}}var R6={readContext:ua,use:Ik,useCallback:Bs,useContext:Bs,useEffect:Bs,useImperativeHandle:Bs,useLayoutEffect:Bs,useInsertionEffect:Bs,useMemo:Bs,useReducer:Bs,useRef:Bs,useState:Bs,useDebugValue:Bs,useDeferredValue:Bs,useTransition:Bs,useSyncExternalStore:Bs,useId:Bs,useHostTransitionStatus:Bs,useFormState:Bs,useActionState:Bs,useOptimistic:Bs,useMemoCache:Bs,useCacheRefresh:Bs};R6.useEffectEvent=Bs;var sU={readContext:ua,use:Ik,useCallback:function(a,d){return sh().memoizedState=[a,d===void 0?null:d],a},useContext:ua,useEffect:R_,useImperativeHandle:function(a,d,w){w=w!=null?w.concat([a]):null,_k(4194308,4,J_.bind(null,d,a),w)},useLayoutEffect:function(a,d){return _k(4194308,4,a,d)},useInsertionEffect:function(a,d){_k(4,2,a,d)},useMemo:function(a,d){var w=sh();d=d===void 0?null:d;var j=a();if(vv){od(!0);try{a()}finally{od(!1)}}return w.memoizedState=[j,d],j},useReducer:function(a,d,w){var j=sh();if(w!==void 0){var T=w(d);if(vv){od(!0);try{w(d)}finally{od(!1)}}}else T=d;return j.memoizedState=j.baseState=T,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:T},j.queue=a,a=a.dispatch=oU.bind(null,bc,a),[j.memoizedState,a]},useRef:function(a){var d=sh();return a={current:a},d.memoizedState=a},useState:function(a){a=OM(a);var d=a.queue,w=Q_.bind(null,bc,d);return d.dispatch=w,[a.memoizedState,w]},useDebugValue:DM,useDeferredValue:function(a,d){var w=sh();return _M(w,a,d)},useTransition:function(){var a=OM(!1);return a=X_.bind(null,bc,a.queue,!0,!1),sh().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,d,w){var j=bc,T=sh();if(ou){if(w===void 0)throw Error(M(407));w=w()}else{if(w=d(),Do===null)throw Error(M(349));(nu&127)!==0||E_(j,d,w)}T.memoizedState=w;var I={value:w,getSnapshot:d};return T.queue=I,R_(tU.bind(null,j,I,a),[a]),j.flags|=2048,H5(9,{destroy:void 0},S_.bind(null,j,I,w,d),null),w},useId:function(){var a=sh(),d=Do.identifierPrefix;if(ou){var w=Tb,j=Cb;w=(j&~(1<<32-Sf(j)-1)).toString(32)+w,d="_"+d+"R_"+w,w=Ok++,0<\/script>",I=I.removeChild(I.firstChild);break;case"select":I=typeof j.is=="string"?Q.createElement("select",{is:j.is}):Q.createElement("select"),j.multiple?I.multiple=!0:j.size&&(I.size=j.size);break;default:I=typeof j.is=="string"?Q.createElement(T,{is:j.is}):Q.createElement(T)}}I[Ws]=d,I[xf]=j;e:for(Q=d.child;Q!==null;){if(Q.tag===5||Q.tag===6)I.appendChild(Q.stateNode);else if(Q.tag!==4&&Q.tag!==27&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===d)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===d)break e;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}d.stateNode=I;e:switch(sa(I,T,j),T){case"button":case"input":case"select":case"textarea":j=!!j.autoFocus;break e;case"img":j=!0;break e;default:j=!1}j&&b0(d)}}return yo(d),WM(d,d.type,a===null?null:a.memoizedProps,d.pendingProps,w),null;case 6:if(a&&d.stateNode!=null)a.memoizedProps!==j&&b0(d);else{if(typeof j!="string"&&d.stateNode===null)throw Error(M(166));if(a=di.current,D5(d)){if(a=d.stateNode,w=d.memoizedProps,j=null,T=ca,T!==null)switch(T.tag){case 27:case 5:j=T.memoizedProps}a[Ws]=d,a=!!(a.nodeValue===w||j!==null&&j.suppressHydrationWarning===!0||sP(a.nodeValue,w)),a||zp(d,!0)}else a=ij(a).createTextNode(j),a[Ws]=d,d.stateNode=a}return yo(d),null;case 31:if(w=d.memoizedState,a===null||a.memoizedState!==null){if(j=D5(d),w!==null){if(a===null){if(!j)throw Error(M(318));if(a=d.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(M(557));a[Ws]=d}else bv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),a=!1}else w=_5(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=w),a=!0;if(!a)return d.flags&256?(m1(d),d):(m1(d),null);if((d.flags&128)!==0)throw Error(M(558))}return yo(d),null;case 13:if(j=d.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(T=D5(d),j!==null&&j.dehydrated!==null){if(a===null){if(!T)throw Error(M(318));if(T=d.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(M(317));T[Ws]=d}else bv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),T=!1}else T=_5(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=T),T=!0;if(!T)return d.flags&256?(m1(d),d):(m1(d),null)}return m1(d),(d.flags&128)!==0?(d.lanes=w,d):(w=j!==null,a=a!==null&&a.memoizedState!==null,w&&(j=d.child,T=null,j.alternate!==null&&j.alternate.memoizedState!==null&&j.alternate.memoizedState.cachePool!==null&&(T=j.alternate.memoizedState.cachePool.pool),I=null,j.memoizedState!==null&&j.memoizedState.cachePool!==null&&(I=j.memoizedState.cachePool.pool),I!==T&&(j.flags|=2048)),w!==a&&w&&(d.child.flags|=8192),Fk(d,d.updateQueue),yo(d),null);case 4:return si(),a===null&&EC(d.stateNode.containerInfo),yo(d),null;case 10:return rw(d.type),yo(d),null;case 19:if(Re(Zs),j=d.memoizedState,j===null)return yo(d),null;if(T=(d.flags&128)!==0,I=j.rendering,I===null)if(T)kv(j,!1);else{if(zs!==0||a!==null&&(a.flags&128)!==0)for(a=d.child;a!==null;){if(I=Ck(a),I!==null){for(d.flags|=128,kv(j,!1),a=I.updateQueue,d.updateQueue=a,Fk(d,a),d.subtreeFlags=0,a=w,w=d.child;w!==null;)n_(w,a),w=w.sibling;return Hn(Zs,Zs.current&1|2),ou&&tw(d,j.treeForkCount),d.child}a=a.sibling}j.tail!==null&&Sl()>Xk&&(d.flags|=128,T=!0,kv(j,!1),d.lanes=4194304)}else{if(!T)if(a=Ck(I),a!==null){if(d.flags|=128,T=!0,a=a.updateQueue,d.updateQueue=a,Fk(d,a),kv(j,!0),j.tail===null&&j.tailMode==="hidden"&&!I.alternate&&!ou)return yo(d),null}else 2*Sl()-j.renderingStartTime>Xk&&w!==536870912&&(d.flags|=128,T=!0,kv(j,!1),d.lanes=4194304);j.isBackwards?(I.sibling=d.child,d.child=I):(a=j.last,a!==null?a.sibling=I:d.child=I,j.last=I)}return j.tail!==null?(a=j.tail,j.rendering=a,j.tail=a.sibling,j.renderingStartTime=Sl(),a.sibling=null,w=Zs.current,Hn(Zs,T?w&1|2:w&1),ou&&tw(d,j.treeForkCount),a):(yo(d),null);case 22:case 23:return m1(d),yM(),j=d.memoizedState!==null,a!==null?a.memoizedState!==null!==j&&(d.flags|=8192):j&&(d.flags|=8192),j?(w&536870912)!==0&&(d.flags&128)===0&&(yo(d),d.subtreeFlags&6&&(d.flags|=8192)):yo(d),w=d.updateQueue,w!==null&&Fk(d,w.retryQueue),w=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(w=a.memoizedState.cachePool.pool),j=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(j=d.memoizedState.cachePool.pool),j!==w&&(d.flags|=2048),a!==null&&Re(gv),null;case 24:return w=null,a!==null&&(w=a.memoizedState.cache),d.memoizedState.cache!==w&&(d.flags|=2048),rw(Al),yo(d),null;case 25:return null;case 30:return null}throw Error(M(156,d.tag))}function hU(a,d){switch(rM(d),d.tag){case 1:return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 3:return rw(Al),si(),a=d.flags,(a&65536)!==0&&(a&128)===0?(d.flags=a&-65537|128,d):null;case 26:case 27:case 5:return Er(d),null;case 31:if(d.memoizedState!==null){if(m1(d),d.alternate===null)throw Error(M(340));bv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 13:if(m1(d),a=d.memoizedState,a!==null&&a.dehydrated!==null){if(d.alternate===null)throw Error(M(340));bv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 19:return Re(Zs),null;case 4:return si(),null;case 10:return rw(d.type),null;case 22:case 23:return m1(d),yM(),a!==null&&Re(gv),a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 24:return rw(Al),null;case 25:return null;default:return null}}function ZM(a,d){switch(rM(d),d.tag){case 3:rw(Al),si();break;case 26:case 27:case 5:Er(d);break;case 4:si();break;case 31:d.memoizedState!==null&&m1(d);break;case 13:m1(d);break;case 19:Re(Zs);break;case 10:rw(d.type);break;case 22:case 23:m1(d),yM(),a!==null&&Re(gv);break;case 24:rw(Al)}}function F6(a,d){try{var w=d.updateQueue,j=w!==null?w.lastEffect:null;if(j!==null){var T=j.next;w=T;do{if((w.tag&a)===a){j=void 0;var I=w.create,Q=w.inst;j=I(),Q.destroy=j}w=w.next}while(w!==T)}}catch(de){ro(d,d.return,de)}}function Yp(a,d,w){try{var j=d.updateQueue,T=j!==null?j.lastEffect:null;if(T!==null){var I=T.next;j=I;do{if((j.tag&a)===a){var Q=j.inst,de=Q.destroy;if(de!==void 0){Q.destroy=void 0,T=d;var tn=w,Pn=de;try{Pn()}catch(it){ro(T,tn,it)}}}j=j.next}while(j!==I)}}catch(it){ro(d,d.return,it)}}function J6(a){var d=a.updateQueue;if(d!==null){var w=a.stateNode;try{p_(d,w)}catch(j){ro(a,a.return,j)}}}function vL(a,d,w){w.props=yv(a.type,a.memoizedProps),w.state=a.memoizedState;try{w.componentWillUnmount()}catch(j){ro(a,d,j)}}function H6(a,d){try{var w=a.ref;if(w!==null){switch(a.tag){case 26:case 27:case 5:var j=a.stateNode;break;case 30:j=a.stateNode;break;default:j=a.stateNode}typeof w=="function"?a.refCleanup=w(j):w.current=j}}catch(T){ro(a,d,T)}}function Ob(a,d){var w=a.ref,j=a.refCleanup;if(w!==null)if(typeof j=="function")try{j()}catch(T){ro(a,d,T)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof w=="function")try{w(null)}catch(T){ro(a,d,T)}else w.current=null}function G6(a){var d=a.type,w=a.memoizedProps,j=a.stateNode;try{e:switch(d){case"button":case"input":case"select":case"textarea":w.autoFocus&&j.focus();break e;case"img":w.src?j.src=w.src:w.srcSet&&(j.srcset=w.srcSet)}}catch(T){ro(a,a.return,T)}}function eC(a,d,w){try{var j=a.stateNode;DU(j,a.type,w,d),j[xf]=d}catch(T){ro(a,a.return,T)}}function yL(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&i2(a.type)||a.tag===4}function nC(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||yL(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&i2(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function tC(a,d,w){var j=a.tag;if(j===5||j===6)a=a.stateNode,d?(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).insertBefore(a,d):(d=w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,d.appendChild(a),w=w._reactRootContainer,w!=null||d.onclick!==null||(d.onclick=Zg));else if(j!==4&&(j===27&&i2(a.type)&&(w=a.stateNode,d=null),a=a.child,a!==null))for(tC(a,d,w),a=a.sibling;a!==null;)tC(a,d,w),a=a.sibling}function jv(a,d,w){var j=a.tag;if(j===5||j===6)a=a.stateNode,d?w.insertBefore(a,d):w.appendChild(a);else if(j!==4&&(j===27&&i2(a.type)&&(w=a.stateNode),a=a.child,a!==null))for(jv(a,d,w),a=a.sibling;a!==null;)jv(a,d,w),a=a.sibling}function kL(a){var d=a.stateNode,w=a.memoizedProps;try{for(var j=a.type,T=d.attributes;T.length;)d.removeAttributeNode(T[0]);sa(d,j,w),d[Ws]=a,d[xf]=w}catch(I){ro(a,a.return,I)}}var Nb=!1,Tl=!1,q6=!1,iC=typeof WeakSet=="function"?WeakSet:Set,Af=null;function dU(a,d){if(a=a.containerInfo,AC=Mf,a=UD(a),XA(a)){if("selectionStart"in a)var w={start:a.selectionStart,end:a.selectionEnd};else e:{w=(w=a.ownerDocument)&&w.defaultView||window;var j=w.getSelection&&w.getSelection();if(j&&j.rangeCount!==0){w=j.anchorNode;var T=j.anchorOffset,I=j.focusNode;j=j.focusOffset;try{w.nodeType,I.nodeType}catch{w=null;break e}var Q=0,de=-1,tn=-1,Pn=0,it=0,gt=a,Gn=null;n:for(;;){for(var et;gt!==w||T!==0&>.nodeType!==3||(de=Q+T),gt!==I||j!==0&>.nodeType!==3||(tn=Q+j),gt.nodeType===3&&(Q+=gt.nodeValue.length),(et=gt.firstChild)!==null;)Gn=gt,gt=et;for(;;){if(gt===a)break n;if(Gn===w&&++Pn===T&&(de=Q),Gn===I&&++it===j&&(tn=Q),(et=gt.nextSibling)!==null)break;gt=Gn,Gn=gt.parentNode}gt=et}w=de===-1||tn===-1?null:{start:de,end:tn}}else w=null}w=w||{start:0,end:0}}else w=null;for(MC={focusedElem:a,selectionRange:w},Mf=!1,Af=d;Af!==null;)if(d=Af,a=d.child,(d.subtreeFlags&1028)!==0&&a!==null)a.return=d,Af=a;else for(;Af!==null;){switch(d=Af,I=d.alternate,a=d.flags,d.tag){case 0:if((a&4)!==0&&(a=d.updateQueue,a=a!==null?a.events:null,a!==null))for(w=0;w title"))),sa(I,j,w),I[Ws]=a,xl(I),j=I;break e;case"link":var Q=kP("link","href",T).get(j+(w.href||""));if(Q){for(var de=0;deco&&(Q=co,co=Cr,Cr=Q);var Sn=GD(de,Cr),sn=GD(de,co);if(Sn&&sn&&(et.rangeCount!==1||et.anchorNode!==Sn.node||et.anchorOffset!==Sn.offset||et.focusNode!==sn.node||et.focusOffset!==sn.offset)){var _n=gt.createRange();_n.setStart(Sn.node,Sn.offset),et.removeAllRanges(),Cr>co?(et.addRange(_n),et.extend(sn.node,sn.offset)):(_n.setEnd(sn.node,sn.offset),et.addRange(_n))}}}}for(gt=[],et=de;et=et.parentNode;)et.nodeType===1&>.push({element:et,left:et.scrollLeft,top:et.scrollTop});for(typeof de.focus=="function"&&de.focus(),de=0;dew?32:w,xe.T=null,w=fC,fC=null;var I=e2,Q=hw;if(nf=0,K5=e2=null,hw=0,(Ju&6)!==0)throw Error(M(331));var de=Ju;if(Ju|=4,NL(I.current),CL(I,I.current,Q,w),Ju=de,Q6(0,!1),ra&&typeof ra.onPostCommitFiberRoot=="function")try{ra.onPostCommitFiberRoot(Ab,I)}catch{}return!0}finally{qe.p=T,xe.T=j,VL(a,d)}}function QL(a,d,w){d=fd(w,d),d=HM(a.stateNode,d,2),a=Xp(a,d,2),a!==null&&(uu(a,2),Ib(a))}function ro(a,d,w){if(a.tag===3)QL(a,a,w);else for(;d!==null;){if(d.tag===3){QL(d,a,w);break}else if(d.tag===1){var j=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof j.componentDidCatch=="function"&&(Zp===null||!Zp.has(j))){a=fd(w,a),w=rL(2),j=Xp(d,w,2),j!==null&&(cL(w,j,d,a),uu(j,2),Ib(j));break}}d=d.return}}function bC(a,d,w){var j=a.pingCache;if(j===null){j=a.pingCache=new wU;var T=new Set;j.set(d,T)}else T=j.get(d),T===void 0&&(T=new Set,j.set(d,T));T.has(w)||(uC=!0,T.add(w),a=kU.bind(null,a,d,w),d.then(a,a))}function kU(a,d,w){var j=a.pingCache;j!==null&&j.delete(d),a.pingedLanes|=a.suspendedLanes&w,a.warmLanes&=~w,Do===a&&(nu&w)===w&&(zs===4||zs===3&&(nu&62914560)===nu&&300>Sl()-Uk?(Ju&2)===0&&V5(a,0):oC|=w,X5===nu&&(X5=0)),Ib(a)}function WL(a,d){d===0&&(d=Op()),a=hv(a,d),a!==null&&(uu(a,d),Ib(a))}function jU(a){var d=a.memoizedState,w=0;d!==null&&(w=d.retryLane),WL(a,w)}function EU(a,d){var w=0;switch(a.tag){case 31:case 13:var j=a.stateNode,T=a.memoizedState;T!==null&&(w=T.retryLane);break;case 19:j=a.stateNode;break;case 22:j=a.stateNode._retryCache;break;default:throw Error(M(314))}j!==null&&j.delete(d),WL(a,w)}function SU(a,d){return Oa(a,d)}var Zk=null,Q5=null,gC=!1,ej=!1,wC=!1,t2=0;function Ib(a){a!==Q5&&a.next===null&&(Q5===null?Zk=Q5=a:Q5=Q5.next=a),ej=!0,gC||(gC=!0,mC())}function Q6(a,d){if(!wC&&ej){wC=!0;do for(var w=!1,j=Zk;j!==null;){if(a!==0){var T=j.pendingLanes;if(T===0)var I=0;else{var Q=j.suspendedLanes,de=j.pingedLanes;I=(1<<31-Sf(42|a)+1)-1,I&=T&~(Q&~de),I=I&201326741?I&201326741|1:I?I|2:0}I!==0&&(w=!0,nP(j,I))}else I=nu,I=Xg(j,j===Do?I:0,j.cancelPendingCommit!==null||j.timeoutHandle!==-1),(I&3)===0||Mb(j,I)||(w=!0,nP(j,I));j=j.next}while(w);wC=!1}}function xU(){ZL()}function ZL(){ej=gC=!1;var a=0;t2!==0&&LU()&&(a=t2);for(var d=Sl(),w=null,j=Zk;j!==null;){var T=j.next,I=pC(j,d);I===0?(j.next=null,w===null?Zk=T:w.next=T,T===null&&(Q5=w)):(w=j,(a!==0||(I&3)!==0)&&(ej=!0)),j=T}nf!==0&&nf!==5||Q6(a),t2!==0&&(t2=0)}function pC(a,d){for(var w=a.suspendedLanes,j=a.pingedLanes,T=a.expirationTimes,I=a.pendingLanes&-62914561;0de)break;var it=tn.transferSize,gt=tn.initiatorType;it&&lP(gt)&&(tn=tn.responseEnd,Q+=it*(tn"u"?null:document;function pP(a,d,w){var j=W5;if(j&&typeof d=="string"&&d){var T=Lh(d);T='link[rel="'+a+'"][href="'+T+'"]',typeof w=="string"&&(T+='[crossorigin="'+w+'"]'),_C.has(T)||(_C.add(T),a={rel:a,crossOrigin:w,href:d},j.querySelector(T)===null&&(d=j.createElement("link"),sa(d,"link",a),xl(d),j.head.appendChild(d)))}}function GU(a){p0.D(a),pP("dns-prefetch",a,null)}function qU(a,d){p0.C(a,d),pP("preconnect",a,d)}function LC(a,d,w){p0.L(a,d,w);var j=W5;if(j&&a&&d){var T='link[rel="preload"][as="'+Lh(d)+'"]';d==="image"&&w&&w.imageSrcSet?(T+='[imagesrcset="'+Lh(w.imageSrcSet)+'"]',typeof w.imageSizes=="string"&&(T+='[imagesizes="'+Lh(w.imageSizes)+'"]')):T+='[href="'+Lh(a)+'"]';var I=T;switch(d){case"style":I=Z5(a);break;case"script":I=e4(a)}E1.has(I)||(a=W({rel:"preload",href:d==="image"&&w&&w.imageSrcSet?void 0:a,as:d},w),E1.set(I,a),j.querySelector(T)!==null||d==="style"&&j.querySelector(xv(I))||d==="script"&&j.querySelector(t9(I))||(d=j.createElement("link"),sa(d,"link",a),xl(d),j.head.appendChild(d)))}}function UU(a,d){p0.m(a,d);var w=W5;if(w&&a){var j=d&&typeof d.as=="string"?d.as:"script",T='link[rel="modulepreload"][as="'+Lh(j)+'"][href="'+Lh(a)+'"]',I=T;switch(j){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":I=e4(a)}if(!E1.has(I)&&(a=W({rel:"modulepreload",href:a},d),E1.set(I,a),w.querySelector(T)===null)){switch(j){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(w.querySelector(t9(I)))return}j=w.createElement("link"),sa(j,"link",a),xl(j),w.head.appendChild(j)}}}function XU(a,d,w){p0.S(a,d,w);var j=W5;if(j&&a){var T=Lp(j).hoistableStyles,I=Z5(a);d=d||"default";var Q=T.get(I);if(!Q){var de={loading:0,preload:null};if(Q=j.querySelector(xv(I)))de.loading=5;else{a=W({rel:"stylesheet",href:a,"data-precedence":d},w),(w=E1.get(I))&&RC(a,w);var tn=Q=j.createElement("link");xl(tn),sa(tn,"link",a),tn._p=new Promise(function(Pn,it){tn.onload=Pn,tn.onerror=it}),tn.addEventListener("load",function(){de.loading|=1}),tn.addEventListener("error",function(){de.loading|=2}),de.loading|=4,uj(Q,d,j)}Q={type:"stylesheet",instance:Q,count:1,state:de},T.set(I,Q)}}}function KU(a,d){p0.X(a,d);var w=W5;if(w&&a){var j=Lp(w).hoistableScripts,T=e4(a),I=j.get(T);I||(I=w.querySelector(t9(T)),I||(a=W({src:a,async:!0},d),(d=E1.get(T))&&BC(a,d),I=w.createElement("script"),xl(I),sa(I,"link",a),w.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},j.set(T,I))}}function PC(a,d){p0.M(a,d);var w=W5;if(w&&a){var j=Lp(w).hoistableScripts,T=e4(a),I=j.get(T);I||(I=w.querySelector(t9(T)),I||(a=W({src:a,async:!0,type:"module"},d),(d=E1.get(T))&&BC(a,d),I=w.createElement("script"),xl(I),sa(I,"link",a),w.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},j.set(T,I))}}function mP(a,d,w,j){var T=(T=di.current)?cj(T):null;if(!T)throw Error(M(446));switch(a){case"meta":case"title":return null;case"style":return typeof w.precedence=="string"&&typeof w.href=="string"?(d=Z5(w.href),w=Lp(T).hoistableStyles,j=w.get(d),j||(j={type:"style",instance:null,count:0,state:null},w.set(d,j)),j):{type:"void",instance:null,count:0,state:null};case"link":if(w.rel==="stylesheet"&&typeof w.href=="string"&&typeof w.precedence=="string"){a=Z5(w.href);var I=Lp(T).hoistableStyles,Q=I.get(a);if(Q||(T=T.ownerDocument||T,Q={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},I.set(a,Q),(I=T.querySelector(xv(a)))&&!I._p&&(Q.instance=I,Q.state.loading=5),E1.has(a)||(w={rel:"preload",as:"style",href:w.href,crossOrigin:w.crossOrigin,integrity:w.integrity,media:w.media,hrefLang:w.hrefLang,referrerPolicy:w.referrerPolicy},E1.set(a,w),I||$C(T,a,w,Q.state))),d&&j===null)throw Error(M(528,""));return Q}if(d&&j!==null)throw Error(M(529,""));return null;case"script":return d=w.async,w=w.src,typeof w=="string"&&d&&typeof d!="function"&&typeof d!="symbol"?(d=e4(w),w=Lp(T).hoistableScripts,j=w.get(d),j||(j={type:"script",instance:null,count:0,state:null},w.set(d,j)),j):{type:"void",instance:null,count:0,state:null};default:throw Error(M(444,a))}}function Z5(a){return'href="'+Lh(a)+'"'}function xv(a){return'link[rel="stylesheet"]['+a+"]"}function vP(a){return W({},a,{"data-precedence":a.precedence,precedence:null})}function $C(a,d,w,j){a.querySelector('link[rel="preload"][as="style"]['+d+"]")?j.loading=1:(d=a.createElement("link"),j.preload=d,d.addEventListener("load",function(){return j.loading|=1}),d.addEventListener("error",function(){return j.loading|=2}),sa(d,"link",w),xl(d),a.head.appendChild(d))}function e4(a){return'[src="'+Lh(a)+'"]'}function t9(a){return"script[async]"+a}function yP(a,d,w){if(d.count++,d.instance===null)switch(d.type){case"style":var j=a.querySelector('style[data-href~="'+Lh(w.href)+'"]');if(j)return d.instance=j,xl(j),j;var T=W({},w,{"data-href":w.href,"data-precedence":w.precedence,href:null,precedence:null});return j=(a.ownerDocument||a).createElement("style"),xl(j),sa(j,"style",T),uj(j,w.precedence,a),d.instance=j;case"stylesheet":T=Z5(w.href);var I=a.querySelector(xv(T));if(I)return d.state.loading|=4,d.instance=I,xl(I),I;j=vP(w),(T=E1.get(T))&&RC(j,T),I=(a.ownerDocument||a).createElement("link"),xl(I);var Q=I;return Q._p=new Promise(function(de,tn){Q.onload=de,Q.onerror=tn}),sa(I,"link",j),d.state.loading|=4,uj(I,w.precedence,a),d.instance=I;case"script":return I=e4(w.src),(T=a.querySelector(t9(I)))?(d.instance=T,xl(T),T):(j=w,(T=E1.get(I))&&(j=W({},w),BC(j,T)),a=a.ownerDocument||a,T=a.createElement("script"),xl(T),sa(T,"link",j),a.head.appendChild(T),d.instance=T);case"void":return null;default:throw Error(M(443,d.type))}else d.type==="stylesheet"&&(d.state.loading&4)===0&&(j=d.instance,d.state.loading|=4,uj(j,w.precedence,a));return d.instance}function uj(a,d,w){for(var j=w.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),T=j.length?j[j.length-1]:null,I=T,Q=0;Q title"):null)}function VU(a,d,w){if(w===1||d.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof d.precedence!="string"||typeof d.href!="string"||d.href==="")break;return!0;case"link":if(typeof d.rel!="string"||typeof d.href!="string"||d.href===""||d.onLoad||d.onError)break;return d.rel==="stylesheet"?(a=d.disabled,typeof d.precedence=="string"&&a==null):!0;case"script":if(d.async&&typeof d.async!="function"&&typeof d.async!="symbol"&&!d.onLoad&&!d.onError&&d.src&&typeof d.src=="string")return!0}return!1}function EP(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function YU(a,d,w,j){if(w.type==="stylesheet"&&(typeof j.media!="string"||matchMedia(j.media).matches!==!1)&&(w.state.loading&4)===0){if(w.instance===null){var T=Z5(j.href),I=d.querySelector(xv(T));if(I){d=I._p,d!==null&&typeof d=="object"&&typeof d.then=="function"&&(a.count++,a=i9.bind(a),d.then(a,a)),w.state.loading|=4,w.instance=I,xl(I);return}I=d.ownerDocument||d,j=vP(j),(T=E1.get(T))&&RC(j,T),I=I.createElement("link"),xl(I);var Q=I;Q._p=new Promise(function(de,tn){Q.onload=de,Q.onerror=tn}),sa(I,"link",j),w.instance=I}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(w,d),(d=w.state.preload)&&(w.state.loading&3)===0&&(a.count++,w=i9.bind(a),d.addEventListener("load",w),d.addEventListener("error",w))}}var zC=0;function QU(a,d){return a.stylesheets&&a.count===0&&Av(a,a.stylesheets),0zC?50:800)+d);return a.unsuspend=w,function(){a.unsuspend=null,clearTimeout(j),clearTimeout(T)}}:null}function i9(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Av(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var r9=null;function Av(a,d){a.stylesheets=null,a.unsuspend!==null&&(a.count++,r9=new Map,d.forEach(c9,a),r9=null,i9.call(a))}function c9(a,d){if(!(d.state.loading&4)){var w=r9.get(a);if(w)var j=w.get(null);else{w=new Map,r9.set(a,w);for(var T=a.querySelectorAll("link[data-precedence],style[data-precedence]"),I=0;I"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g)}catch(E){console.error(E)}}return g(),O7e.exports=fzn(),O7e.exports}var hzn=azn();function Ta(g){if(typeof g=="string"||typeof g=="number")return""+g;let E="";if(Array.isArray(g))for(let x=0,M;x{}};function Oue(){for(var g=0,E=arguments.length,x={},M;g=0&&(M=x.slice(N+1),x=x.slice(0,N)),x&&!E.hasOwnProperty(x))throw new Error("unknown type: "+x);return{type:x,name:M}})}hue.prototype=Oue.prototype={constructor:hue,on:function(g,E){var x=this._,M=bzn(g+"",x),N,$=-1,k=M.length;if(arguments.length<2){for(;++$0)for(var x=new Array(N),M=0,N,$;M=0&&(E=g.slice(0,x))!=="xmlns"&&(g=g.slice(x+1)),Xhn.hasOwnProperty(E)?{space:Xhn[E],local:g}:g}function wzn(g){return function(){var E=this.ownerDocument,x=this.namespaceURI;return x===Z7e&&E.documentElement.namespaceURI===Z7e?E.createElement(g):E.createElementNS(x,g)}}function pzn(g){return function(){return this.ownerDocument.createElementNS(g.space,g.local)}}function ldn(g){var E=Nue(g);return(E.local?pzn:wzn)(E)}function mzn(){}function gke(g){return g==null?mzn:function(){return this.querySelector(g)}}function vzn(g){typeof g!="function"&&(g=gke(g));for(var E=this._groups,x=E.length,M=new Array(x),N=0;N=ae&&(ae=Pe+1);!(Xe=Me[ae])&&++ae=0;)(k=M[N])&&($&&k.compareDocumentPosition($)^4&&$.parentNode.insertBefore(k,$),$=k);return this}function Gzn(g){g||(g=qzn);function E(W,Z){return W&&Z?g(W.__data__,Z.__data__):!W-!Z}for(var x=this._groups,M=x.length,N=new Array(M),$=0;$E?1:g>=E?0:NaN}function Uzn(){var g=arguments[0];return arguments[0]=this,g.apply(null,arguments),this}function Xzn(){return Array.from(this)}function Kzn(){for(var g=this._groups,E=0,x=g.length;E1?this.each((E==null?cFn:typeof E=="function"?oFn:uFn)(g,E,x??"")):bD(this.node(),g)}function bD(g,E){return g.style.getPropertyValue(E)||bdn(g).getComputedStyle(g,null).getPropertyValue(E)}function lFn(g){return function(){delete this[g]}}function fFn(g,E){return function(){this[g]=E}}function aFn(g,E){return function(){var x=E.apply(this,arguments);x==null?delete this[g]:this[g]=x}}function hFn(g,E){return arguments.length>1?this.each((E==null?lFn:typeof E=="function"?aFn:fFn)(g,E)):this.node()[g]}function gdn(g){return g.trim().split(/^|\s+/)}function wke(g){return g.classList||new wdn(g)}function wdn(g){this._node=g,this._names=gdn(g.getAttribute("class")||"")}wdn.prototype={add:function(g){var E=this._names.indexOf(g);E<0&&(this._names.push(g),this._node.setAttribute("class",this._names.join(" ")))},remove:function(g){var E=this._names.indexOf(g);E>=0&&(this._names.splice(E,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(g){return this._names.indexOf(g)>=0}};function pdn(g,E){for(var x=wke(g),M=-1,N=E.length;++M=0&&(x=E.slice(M+1),E=E.slice(0,M)),{type:E,name:x}})}function zFn(g){return function(){var E=this.__on;if(E){for(var x=0,M=-1,N=E.length,$;x()=>g;function eke(g,{sourceEvent:E,subject:x,target:M,identifier:N,active:$,x:k,y:H,dx:U,dy:G,dispatch:ie}){Object.defineProperties(this,{type:{value:g,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},subject:{value:x,enumerable:!0,configurable:!0},target:{value:M,enumerable:!0,configurable:!0},identifier:{value:N,enumerable:!0,configurable:!0},active:{value:$,enumerable:!0,configurable:!0},x:{value:k,enumerable:!0,configurable:!0},y:{value:H,enumerable:!0,configurable:!0},dx:{value:U,enumerable:!0,configurable:!0},dy:{value:G,enumerable:!0,configurable:!0},_:{value:ie}})}eke.prototype.on=function(){var g=this._.on.apply(this._,arguments);return g===this._?this:g};function YFn(g){return!g.ctrlKey&&!g.button}function QFn(){return this.parentNode}function WFn(g,E){return E??{x:g.x,y:g.y}}function ZFn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Edn(){var g=YFn,E=QFn,x=WFn,M=ZFn,N={},$=Oue("start","drag","end"),k=0,H,U,G,ie,W=0;function Z(Ne){Ne.on("mousedown.drag",se).filter(M).on("touchstart.drag",Me).on("touchmove.drag",pe,VFn).on("touchend.drag touchcancel.drag",Pe).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function se(Ne,Xe){if(!(ie||!g.call(this,Ne,Xe))){var ln=ae(this,E.call(this,Ne,Xe),Ne,Xe,"mouse");ln&&(Fg(Ne.view).on("mousemove.drag",oe,HG).on("mouseup.drag",ee,HG),kdn(Ne.view),_7e(Ne),G=!1,H=Ne.clientX,U=Ne.clientY,ln("start",Ne))}}function oe(Ne){if(hD(Ne),!G){var Xe=Ne.clientX-H,ln=Ne.clientY-U;G=Xe*Xe+ln*ln>W}N.mouse("drag",Ne)}function ee(Ne){Fg(Ne.view).on("mousemove.drag mouseup.drag",null),jdn(Ne.view,G),hD(Ne),N.mouse("end",Ne)}function Me(Ne,Xe){if(g.call(this,Ne,Xe)){var ln=Ne.changedTouches,on=E.call(this,Ne,Xe),An=ln.length,xn,tt;for(xn=0;xn>8&15|E>>4&240,E>>4&15|E&240,(E&15)<<4|E&15,1):x===8?Wce(E>>24&255,E>>16&255,E>>8&255,(E&255)/255):x===4?Wce(E>>12&15|E>>8&240,E>>8&15|E>>4&240,E>>4&15|E&240,((E&15)<<4|E&15)/255):null):(E=nJn.exec(g))?new Sb(E[1],E[2],E[3],1):(E=tJn.exec(g))?new Sb(E[1]*255/100,E[2]*255/100,E[3]*255/100,1):(E=iJn.exec(g))?Wce(E[1],E[2],E[3],E[4]):(E=rJn.exec(g))?Wce(E[1]*255/100,E[2]*255/100,E[3]*255/100,E[4]):(E=cJn.exec(g))?e1n(E[1],E[2]/100,E[3]/100,1):(E=uJn.exec(g))?e1n(E[1],E[2]/100,E[3]/100,E[4]):Khn.hasOwnProperty(g)?Qhn(Khn[g]):g==="transparent"?new Sb(NaN,NaN,NaN,0):null}function Qhn(g){return new Sb(g>>16&255,g>>8&255,g&255,1)}function Wce(g,E,x,M){return M<=0&&(g=E=x=NaN),new Sb(g,E,x,M)}function lJn(g){return g instanceof nq||(g=xA(g)),g?(g=g.rgb(),new Sb(g.r,g.g,g.b,g.opacity)):new Sb}function nke(g,E,x,M){return arguments.length===1?lJn(g):new Sb(g,E,x,M??1)}function Sb(g,E,x,M){this.r=+g,this.g=+E,this.b=+x,this.opacity=+M}pke(Sb,nke,Sdn(nq,{brighter(g){return g=g==null?mue:Math.pow(mue,g),new Sb(this.r*g,this.g*g,this.b*g,this.opacity)},darker(g){return g=g==null?GG:Math.pow(GG,g),new Sb(this.r*g,this.g*g,this.b*g,this.opacity)},rgb(){return this},clamp(){return new Sb(jA(this.r),jA(this.g),jA(this.b),vue(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:Whn,formatHex:Whn,formatHex8:fJn,formatRgb:Zhn,toString:Zhn}));function Whn(){return`#${kA(this.r)}${kA(this.g)}${kA(this.b)}`}function fJn(){return`#${kA(this.r)}${kA(this.g)}${kA(this.b)}${kA((isNaN(this.opacity)?1:this.opacity)*255)}`}function Zhn(){const g=vue(this.opacity);return`${g===1?"rgb(":"rgba("}${jA(this.r)}, ${jA(this.g)}, ${jA(this.b)}${g===1?")":`, ${g})`}`}function vue(g){return isNaN(g)?1:Math.max(0,Math.min(1,g))}function jA(g){return Math.max(0,Math.min(255,Math.round(g)||0))}function kA(g){return g=jA(g),(g<16?"0":"")+g.toString(16)}function e1n(g,E,x,M){return M<=0?g=E=x=NaN:x<=0||x>=1?g=E=NaN:E<=0&&(g=NaN),new ev(g,E,x,M)}function xdn(g){if(g instanceof ev)return new ev(g.h,g.s,g.l,g.opacity);if(g instanceof nq||(g=xA(g)),!g)return new ev;if(g instanceof ev)return g;g=g.rgb();var E=g.r/255,x=g.g/255,M=g.b/255,N=Math.min(E,x,M),$=Math.max(E,x,M),k=NaN,H=$-N,U=($+N)/2;return H?(E===$?k=(x-M)/H+(x0&&U<1?0:k,new ev(k,H,U,g.opacity)}function aJn(g,E,x,M){return arguments.length===1?xdn(g):new ev(g,E,x,M??1)}function ev(g,E,x,M){this.h=+g,this.s=+E,this.l=+x,this.opacity=+M}pke(ev,aJn,Sdn(nq,{brighter(g){return g=g==null?mue:Math.pow(mue,g),new ev(this.h,this.s,this.l*g,this.opacity)},darker(g){return g=g==null?GG:Math.pow(GG,g),new ev(this.h,this.s,this.l*g,this.opacity)},rgb(){var g=this.h%360+(this.h<0)*360,E=isNaN(g)||isNaN(this.s)?0:this.s,x=this.l,M=x+(x<.5?x:1-x)*E,N=2*x-M;return new Sb(L7e(g>=240?g-240:g+120,N,M),L7e(g,N,M),L7e(g<120?g+240:g-120,N,M),this.opacity)},clamp(){return new ev(n1n(this.h),Zce(this.s),Zce(this.l),vue(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 g=vue(this.opacity);return`${g===1?"hsl(":"hsla("}${n1n(this.h)}, ${Zce(this.s)*100}%, ${Zce(this.l)*100}%${g===1?")":`, ${g})`}`}}));function n1n(g){return g=(g||0)%360,g<0?g+360:g}function Zce(g){return Math.max(0,Math.min(1,g||0))}function L7e(g,E,x){return(g<60?E+(x-E)*g/60:g<180?x:g<240?E+(x-E)*(240-g)/60:E)*255}const mke=g=>()=>g;function hJn(g,E){return function(x){return g+x*E}}function dJn(g,E,x){return g=Math.pow(g,x),E=Math.pow(E,x)-g,x=1/x,function(M){return Math.pow(g+M*E,x)}}function bJn(g){return(g=+g)==1?Adn:function(E,x){return x-E?dJn(E,x,g):mke(isNaN(E)?x:E)}}function Adn(g,E){var x=E-g;return x?hJn(g,x):mke(isNaN(g)?E:g)}const yue=(function g(E){var x=bJn(E);function M(N,$){var k=x((N=nke(N)).r,($=nke($)).r),H=x(N.g,$.g),U=x(N.b,$.b),G=Adn(N.opacity,$.opacity);return function(ie){return N.r=k(ie),N.g=H(ie),N.b=U(ie),N.opacity=G(ie),N+""}}return M.gamma=g,M})(1);function gJn(g,E){E||(E=[]);var x=g?Math.min(E.length,g.length):0,M=E.slice(),N;return function($){for(N=0;Nx&&($=E.slice(x,$),H[k]?H[k]+=$:H[++k]=$),(M=M[0])===(N=N[0])?H[k]?H[k]+=N:H[++k]=N:(H[++k]=null,U.push({i:k,x:l5(M,N)})),x=P7e.lastIndex;return x180?ie+=360:ie-G>180&&(G+=360),Z.push({i:W.push(N(W)+"rotate(",null,M)-2,x:l5(G,ie)})):ie&&W.push(N(W)+"rotate("+ie+M)}function H(G,ie,W,Z){G!==ie?Z.push({i:W.push(N(W)+"skewX(",null,M)-2,x:l5(G,ie)}):ie&&W.push(N(W)+"skewX("+ie+M)}function U(G,ie,W,Z,se,oe){if(G!==W||ie!==Z){var ee=se.push(N(se)+"scale(",null,",",null,")");oe.push({i:ee-4,x:l5(G,W)},{i:ee-2,x:l5(ie,Z)})}else(W!==1||Z!==1)&&se.push(N(se)+"scale("+W+","+Z+")")}return function(G,ie){var W=[],Z=[];return G=g(G),ie=g(ie),$(G.translateX,G.translateY,ie.translateX,ie.translateY,W,Z),k(G.rotate,ie.rotate,W,Z),H(G.skewX,ie.skewX,W,Z),U(G.scaleX,G.scaleY,ie.scaleX,ie.scaleY,W,Z),G=ie=null,function(se){for(var oe=-1,ee=Z.length,Me;++oe=0&&g._call.call(void 0,E),g=g._next;--gD}function r1n(){AA=(jue=UG.now())+Iue,gD=$G=0;try{OJn()}finally{gD=0,IJn(),AA=0}}function NJn(){var g=UG.now(),E=g-jue;E>Odn&&(Iue-=E,jue=g)}function IJn(){for(var g,E=kue,x,M=1/0;E;)E._call?(M>E._time&&(M=E._time),g=E,E=E._next):(x=E._next,E._next=null,E=g?g._next=x:kue=x);RG=g,rke(M)}function rke(g){if(!gD){$G&&($G=clearTimeout($G));var E=g-AA;E>24?(g<1/0&&($G=setTimeout(r1n,g-UG.now()-Iue)),_G&&(_G=clearInterval(_G))):(_G||(jue=UG.now(),_G=setInterval(NJn,Odn)),gD=1,Ndn(r1n))}}function c1n(g,E,x){var M=new Eue;return E=E==null?0:+E,M.restart(N=>{M.stop(),g(N+E)},E,x),M}var DJn=Oue("start","end","cancel","interrupt"),_Jn=[],Ddn=0,u1n=1,cke=2,bue=3,o1n=4,uke=5,gue=6;function Due(g,E,x,M,N,$){var k=g.__transition;if(!k)g.__transition={};else if(x in k)return;LJn(g,x,{name:E,index:M,group:N,on:DJn,tween:_Jn,time:$.time,delay:$.delay,duration:$.duration,ease:$.ease,timer:null,state:Ddn})}function yke(g,E){var x=iv(g,E);if(x.state>Ddn)throw new Error("too late; already scheduled");return x}function d5(g,E){var x=iv(g,E);if(x.state>bue)throw new Error("too late; already running");return x}function iv(g,E){var x=g.__transition;if(!x||!(x=x[E]))throw new Error("transition not found");return x}function LJn(g,E,x){var M=g.__transition,N;M[E]=x,x.timer=Idn($,0,x.time);function $(G){x.state=u1n,x.timer.restart(k,x.delay,x.time),x.delay<=G&&k(G-x.delay)}function k(G){var ie,W,Z,se;if(x.state!==u1n)return U();for(ie in M)if(se=M[ie],se.name===x.name){if(se.state===bue)return c1n(k);se.state===o1n?(se.state=gue,se.timer.stop(),se.on.call("interrupt",g,g.__data__,se.index,se.group),delete M[ie]):+iecke&&M.state=0&&(E=E.slice(0,x)),!E||E==="start"})}function aHn(g,E,x){var M,N,$=fHn(E)?yke:d5;return function(){var k=$(this,g),H=k.on;H!==M&&(N=(M=H).copy()).on(E,x),k.on=N}}function hHn(g,E){var x=this._id;return arguments.length<2?iv(this.node(),x).on.on(g):this.each(aHn(x,g,E))}function dHn(g){return function(){var E=this.parentNode;for(var x in this.__transition)if(+x!==g)return;E&&E.removeChild(this)}}function bHn(){return this.on("end.remove",dHn(this._id))}function gHn(g){var E=this._name,x=this._id;typeof g!="function"&&(g=gke(g));for(var M=this._groups,N=M.length,$=new Array(N),k=0;k()=>g;function zHn(g,{sourceEvent:E,target:x,transform:M,dispatch:N}){Object.defineProperties(this,{type:{value:g,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},transform:{value:M,enumerable:!0,configurable:!0},_:{value:N}})}function c6(g,E,x){this.k=g,this.x=E,this.y=x}c6.prototype={constructor:c6,scale:function(g){return g===1?this:new c6(this.k*g,this.x,this.y)},translate:function(g,E){return g===0&E===0?this:new c6(this.k,this.x+this.k*g,this.y+this.k*E)},apply:function(g){return[g[0]*this.k+this.x,g[1]*this.k+this.y]},applyX:function(g){return g*this.k+this.x},applyY:function(g){return g*this.k+this.y},invert:function(g){return[(g[0]-this.x)/this.k,(g[1]-this.y)/this.k]},invertX:function(g){return(g-this.x)/this.k},invertY:function(g){return(g-this.y)/this.k},rescaleX:function(g){return g.copy().domain(g.range().map(this.invertX,this).map(g.invert,g))},rescaleY:function(g){return g.copy().domain(g.range().map(this.invertY,this).map(g.invert,g))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var _ue=new c6(1,0,0);$dn.prototype=c6.prototype;function $dn(g){for(;!g.__zoom;)if(!(g=g.parentNode))return _ue;return g.__zoom}function $7e(g){g.stopImmediatePropagation()}function LG(g){g.preventDefault(),g.stopImmediatePropagation()}function FHn(g){return(!g.ctrlKey||g.type==="wheel")&&!g.button}function JHn(){var g=this;return g instanceof SVGElement?(g=g.ownerSVGElement||g,g.hasAttribute("viewBox")?(g=g.viewBox.baseVal,[[g.x,g.y],[g.x+g.width,g.y+g.height]]):[[0,0],[g.width.baseVal.value,g.height.baseVal.value]]):[[0,0],[g.clientWidth,g.clientHeight]]}function s1n(){return this.__zoom||_ue}function HHn(g){return-g.deltaY*(g.deltaMode===1?.05:g.deltaMode?1:.002)*(g.ctrlKey?10:1)}function GHn(){return navigator.maxTouchPoints||"ontouchstart"in this}function qHn(g,E,x){var M=g.invertX(E[0][0])-x[0][0],N=g.invertX(E[1][0])-x[1][0],$=g.invertY(E[0][1])-x[0][1],k=g.invertY(E[1][1])-x[1][1];return g.translate(N>M?(M+N)/2:Math.min(0,M)||Math.max(0,N),k>$?($+k)/2:Math.min(0,$)||Math.max(0,k))}function Rdn(){var g=FHn,E=JHn,x=qHn,M=HHn,N=GHn,$=[0,1/0],k=[[-1/0,-1/0],[1/0,1/0]],H=250,U=due,G=Oue("start","zoom","end"),ie,W,Z,se=500,oe=150,ee=0,Me=10;function pe(Je){Je.property("__zoom",s1n).on("wheel.zoom",An,{passive:!1}).on("mousedown.zoom",xn).on("dblclick.zoom",tt).filter(N).on("touchstart.zoom",vn).on("touchmove.zoom",wn).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}pe.transform=function(Je,pn,xe,qe){var fn=Je.selection?Je.selection():Je;fn.property("__zoom",s1n),Je!==fn?Xe(Je,pn,xe,qe):fn.interrupt().each(function(){ln(this,arguments).event(qe).start().zoom(null,typeof pn=="function"?pn.apply(this,arguments):pn).end()})},pe.scaleBy=function(Je,pn,xe,qe){pe.scaleTo(Je,function(){var fn=this.__zoom.k,$e=typeof pn=="function"?pn.apply(this,arguments):pn;return fn*$e},xe,qe)},pe.scaleTo=function(Je,pn,xe,qe){pe.transform(Je,function(){var fn=E.apply(this,arguments),$e=this.__zoom,Mn=xe==null?Ne(fn):typeof xe=="function"?xe.apply(this,arguments):xe,ye=$e.invert(Mn),Re=typeof pn=="function"?pn.apply(this,arguments):pn;return x(ae(Pe($e,Re),Mn,ye),fn,k)},xe,qe)},pe.translateBy=function(Je,pn,xe,qe){pe.transform(Je,function(){return x(this.__zoom.translate(typeof pn=="function"?pn.apply(this,arguments):pn,typeof xe=="function"?xe.apply(this,arguments):xe),E.apply(this,arguments),k)},null,qe)},pe.translateTo=function(Je,pn,xe,qe,fn){pe.transform(Je,function(){var $e=E.apply(this,arguments),Mn=this.__zoom,ye=qe==null?Ne($e):typeof qe=="function"?qe.apply(this,arguments):qe;return x(_ue.translate(ye[0],ye[1]).scale(Mn.k).translate(typeof pn=="function"?-pn.apply(this,arguments):-pn,typeof xe=="function"?-xe.apply(this,arguments):-xe),$e,k)},qe,fn)};function Pe(Je,pn){return pn=Math.max($[0],Math.min($[1],pn)),pn===Je.k?Je:new c6(pn,Je.x,Je.y)}function ae(Je,pn,xe){var qe=pn[0]-xe[0]*Je.k,fn=pn[1]-xe[1]*Je.k;return qe===Je.x&&fn===Je.y?Je:new c6(Je.k,qe,fn)}function Ne(Je){return[(+Je[0][0]+ +Je[1][0])/2,(+Je[0][1]+ +Je[1][1])/2]}function Xe(Je,pn,xe,qe){Je.on("start.zoom",function(){ln(this,arguments).event(qe).start()}).on("interrupt.zoom end.zoom",function(){ln(this,arguments).event(qe).end()}).tween("zoom",function(){var fn=this,$e=arguments,Mn=ln(fn,$e).event(qe),ye=E.apply(fn,$e),Re=xe==null?Ne(ye):typeof xe=="function"?xe.apply(fn,$e):xe,Hn=Math.max(ye[1][0]-ye[0][0],ye[1][1]-ye[0][1]),rt=fn.__zoom,Jt=typeof pn=="function"?pn.apply(fn,$e):pn,di=U(rt.invert(Re).concat(Hn/rt.k),Jt.invert(Re).concat(Hn/Jt.k));return function(Gt){if(Gt===1)Gt=Jt;else{var xt=di(Gt),si=Hn/xt[2];Gt=new c6(si,Re[0]-xt[0]*si,Re[1]-xt[1]*si)}Mn.zoom(null,Gt)}})}function ln(Je,pn,xe){return!xe&&Je.__zooming||new on(Je,pn)}function on(Je,pn){this.that=Je,this.args=pn,this.active=0,this.sourceEvent=null,this.extent=E.apply(Je,pn),this.taps=0}on.prototype={event:function(Je){return Je&&(this.sourceEvent=Je),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Je,pn){return this.mouse&&Je!=="mouse"&&(this.mouse[1]=pn.invert(this.mouse[0])),this.touch0&&Je!=="touch"&&(this.touch0[1]=pn.invert(this.touch0[0])),this.touch1&&Je!=="touch"&&(this.touch1[1]=pn.invert(this.touch1[0])),this.that.__zoom=pn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Je){var pn=Fg(this.that).datum();G.call(Je,this.that,new zHn(Je,{sourceEvent:this.sourceEvent,target:pe,transform:this.that.__zoom,dispatch:G}),pn)}};function An(Je,...pn){if(!g.apply(this,arguments))return;var xe=ln(this,pn).event(Je),qe=this.__zoom,fn=Math.max($[0],Math.min($[1],qe.k*Math.pow(2,M.apply(this,arguments)))),$e=Zm(Je);if(xe.wheel)(xe.mouse[0][0]!==$e[0]||xe.mouse[0][1]!==$e[1])&&(xe.mouse[1]=qe.invert(xe.mouse[0]=$e)),clearTimeout(xe.wheel);else{if(qe.k===fn)return;xe.mouse=[$e,qe.invert($e)],wue(this),xe.start()}LG(Je),xe.wheel=setTimeout(Mn,oe),xe.zoom("mouse",x(ae(Pe(qe,fn),xe.mouse[0],xe.mouse[1]),xe.extent,k));function Mn(){xe.wheel=null,xe.end()}}function xn(Je,...pn){if(Z||!g.apply(this,arguments))return;var xe=Je.currentTarget,qe=ln(this,pn,!0).event(Je),fn=Fg(Je.view).on("mousemove.zoom",Re,!0).on("mouseup.zoom",Hn,!0),$e=Zm(Je,xe),Mn=Je.clientX,ye=Je.clientY;kdn(Je.view),$7e(Je),qe.mouse=[$e,this.__zoom.invert($e)],wue(this),qe.start();function Re(rt){if(LG(rt),!qe.moved){var Jt=rt.clientX-Mn,di=rt.clientY-ye;qe.moved=Jt*Jt+di*di>ee}qe.event(rt).zoom("mouse",x(ae(qe.that.__zoom,qe.mouse[0]=Zm(rt,xe),qe.mouse[1]),qe.extent,k))}function Hn(rt){fn.on("mousemove.zoom mouseup.zoom",null),jdn(rt.view,qe.moved),LG(rt),qe.event(rt).end()}}function tt(Je,...pn){if(g.apply(this,arguments)){var xe=this.__zoom,qe=Zm(Je.changedTouches?Je.changedTouches[0]:Je,this),fn=xe.invert(qe),$e=xe.k*(Je.shiftKey?.5:2),Mn=x(ae(Pe(xe,$e),qe,fn),E.apply(this,pn),k);LG(Je),H>0?Fg(this).transition().duration(H).call(Xe,Mn,qe,Je):Fg(this).call(pe.transform,Mn,qe,Je)}}function vn(Je,...pn){if(g.apply(this,arguments)){var xe=Je.touches,qe=xe.length,fn=ln(this,pn,Je.changedTouches.length===qe).event(Je),$e,Mn,ye,Re;for($7e(Je),Mn=0;Mn"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:g=>`Node type "${g}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:g=>`The old edge with id=${g} does not exist.`,error009:g=>`Marker type "${g}" doesn't exist.`,error008:(g,{id:E,sourceHandle:x,targetHandle:M})=>`Couldn't create edge for ${g} handle id: "${g==="source"?x:M}", edge id: ${E}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:g=>`Edge type "${g}" not found. Using fallback type "default".`,error012:g=>`Node with id "${g}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(g="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${g}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},XG=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],Bdn=["Enter"," ","Escape"],zdn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:g,x:E,y:x})=>`Moved selected node ${g}. New position, x: ${E}, y: ${x}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var wD;(function(g){g.Strict="strict",g.Loose="loose"})(wD||(wD={}));var EA;(function(g){g.Free="free",g.Vertical="vertical",g.Horizontal="horizontal"})(EA||(EA={}));var KG;(function(g){g.Partial="partial",g.Full="full"})(KG||(KG={}));const Fdn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var ek;(function(g){g.Bezier="default",g.Straight="straight",g.Step="step",g.SmoothStep="smoothstep",g.SimpleBezier="simplebezier"})(ek||(ek={}));var VG;(function(g){g.Arrow="arrow",g.ArrowClosed="arrowclosed"})(VG||(VG={}));var ur;(function(g){g.Left="left",g.Top="top",g.Right="right",g.Bottom="bottom"})(ur||(ur={}));const l1n={[ur.Left]:ur.Right,[ur.Right]:ur.Left,[ur.Top]:ur.Bottom,[ur.Bottom]:ur.Top};function Jdn(g){return g===null?null:g?"valid":"invalid"}const Hdn=g=>"id"in g&&"source"in g&&"target"in g,UHn=g=>"id"in g&&"position"in g&&!("source"in g)&&!("target"in g),jke=g=>"id"in g&&"internals"in g&&!("source"in g)&&!("target"in g),tq=(g,E=[0,0])=>{const{width:x,height:M}=s6(g),N=g.origin??E,$=x*N[0],k=M*N[1];return{x:g.position.x-$,y:g.position.y-k}},XHn=(g,E={nodeOrigin:[0,0]})=>{if(g.length===0)return{x:0,y:0,width:0,height:0};const x=g.reduce((M,N)=>{const $=typeof N=="string";let k=!E.nodeLookup&&!$?N:void 0;E.nodeLookup&&(k=$?E.nodeLookup.get(N):jke(N)?N:E.nodeLookup.get(N.id));const H=k?Sue(k,E.nodeOrigin):{x:0,y:0,x2:0,y2:0};return Lue(M,H)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Pue(x)},iq=(g,E={})=>{let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},M=!1;return g.forEach(N=>{(E.filter===void 0||E.filter(N))&&(x=Lue(x,Sue(N)),M=!0)}),M?Pue(x):{x:0,y:0,width:0,height:0}},Eke=(g,E,[x,M,N]=[0,0,1],$=!1,k=!1)=>{const H={...cq(E,[x,M,N]),width:E.width/N,height:E.height/N},U=[];for(const G of g.values()){const{measured:ie,selectable:W=!0,hidden:Z=!1}=G;if(k&&!W||Z)continue;const se=ie.width??G.width??G.initialWidth??null,oe=ie.height??G.height??G.initialHeight??null,ee=YG(H,mD(G)),Me=(se??0)*(oe??0),pe=$&&ee>0;(!G.internals.handleBounds||pe||ee>=Me||G.dragging)&&U.push(G)}return U},KHn=(g,E)=>{const x=new Set;return g.forEach(M=>{x.add(M.id)}),E.filter(M=>x.has(M.source)||x.has(M.target))};function VHn(g,E){const x=new Map,M=E?.nodes?new Set(E.nodes.map(N=>N.id)):null;return g.forEach(N=>{N.measured.width&&N.measured.height&&(E?.includeHiddenNodes||!N.hidden)&&(!M||M.has(N.id))&&x.set(N.id,N)}),x}async function YHn({nodes:g,width:E,height:x,panZoom:M,minZoom:N,maxZoom:$},k){if(g.size===0)return Promise.resolve(!0);const H=VHn(g,k),U=iq(H),G=Ske(U,E,x,k?.minZoom??N,k?.maxZoom??$,k?.padding??.1);return await M.setViewport(G,{duration:k?.duration,ease:k?.ease,interpolate:k?.interpolate}),Promise.resolve(!0)}function Gdn({nodeId:g,nextPosition:E,nodeLookup:x,nodeOrigin:M=[0,0],nodeExtent:N,onError:$}){const k=x.get(g),H=k.parentId?x.get(k.parentId):void 0,{x:U,y:G}=H?H.internals.positionAbsolute:{x:0,y:0},ie=k.origin??M;let W=k.extent||N;if(k.extent==="parent"&&!k.expandParent)if(!H)$?.("005",a5.error005());else{const se=H.measured.width,oe=H.measured.height;se&&oe&&(W=[[U,G],[U+se,G+oe]])}else H&&vD(k.extent)&&(W=[[k.extent[0][0]+U,k.extent[0][1]+G],[k.extent[1][0]+U,k.extent[1][1]+G]]);const Z=vD(W)?MA(E,W,k.measured):E;return(k.measured.width===void 0||k.measured.height===void 0)&&$?.("015",a5.error015()),{position:{x:Z.x-U+(k.measured.width??0)*ie[0],y:Z.y-G+(k.measured.height??0)*ie[1]},positionAbsolute:Z}}async function QHn({nodesToRemove:g=[],edgesToRemove:E=[],nodes:x,edges:M,onBeforeDelete:N}){const $=new Set(g.map(Z=>Z.id)),k=[];for(const Z of x){if(Z.deletable===!1)continue;const se=$.has(Z.id),oe=!se&&Z.parentId&&k.find(ee=>ee.id===Z.parentId);(se||oe)&&k.push(Z)}const H=new Set(E.map(Z=>Z.id)),U=M.filter(Z=>Z.deletable!==!1),ie=KHn(k,U);for(const Z of U)H.has(Z.id)&&!ie.find(oe=>oe.id===Z.id)&&ie.push(Z);if(!N)return{edges:ie,nodes:k};const W=await N({nodes:k,edges:ie});return typeof W=="boolean"?W?{edges:ie,nodes:k}:{edges:[],nodes:[]}:W}const pD=(g,E=0,x=1)=>Math.min(Math.max(g,E),x),MA=(g={x:0,y:0},E,x)=>({x:pD(g.x,E[0][0],E[1][0]-(x?.width??0)),y:pD(g.y,E[0][1],E[1][1]-(x?.height??0))});function qdn(g,E,x){const{width:M,height:N}=s6(x),{x:$,y:k}=x.internals.positionAbsolute;return MA(g,[[$,k],[$+M,k+N]],E)}const f1n=(g,E,x)=>gx?-pD(Math.abs(g-x),1,E)/E:0,Udn=(g,E,x=15,M=40)=>{const N=f1n(g.x,M,E.width-M)*x,$=f1n(g.y,M,E.height-M)*x;return[N,$]},Lue=(g,E)=>({x:Math.min(g.x,E.x),y:Math.min(g.y,E.y),x2:Math.max(g.x2,E.x2),y2:Math.max(g.y2,E.y2)}),oke=({x:g,y:E,width:x,height:M})=>({x:g,y:E,x2:g+x,y2:E+M}),Pue=({x:g,y:E,x2:x,y2:M})=>({x:g,y:E,width:x-g,height:M-E}),mD=(g,E=[0,0])=>{const{x,y:M}=jke(g)?g.internals.positionAbsolute:tq(g,E);return{x,y:M,width:g.measured?.width??g.width??g.initialWidth??0,height:g.measured?.height??g.height??g.initialHeight??0}},Sue=(g,E=[0,0])=>{const{x,y:M}=jke(g)?g.internals.positionAbsolute:tq(g,E);return{x,y:M,x2:x+(g.measured?.width??g.width??g.initialWidth??0),y2:M+(g.measured?.height??g.height??g.initialHeight??0)}},Xdn=(g,E)=>Pue(Lue(oke(g),oke(E))),YG=(g,E)=>{const x=Math.max(0,Math.min(g.x+g.width,E.x+E.width)-Math.max(g.x,E.x)),M=Math.max(0,Math.min(g.y+g.height,E.y+E.height)-Math.max(g.y,E.y));return Math.ceil(x*M)},a1n=g=>nv(g.width)&&nv(g.height)&&nv(g.x)&&nv(g.y),nv=g=>!isNaN(g)&&isFinite(g),WHn=(g,E)=>{},rq=(g,E=[1,1])=>({x:E[0]*Math.round(g.x/E[0]),y:E[1]*Math.round(g.y/E[1])}),cq=({x:g,y:E},[x,M,N],$=!1,k=[1,1])=>{const H={x:(g-x)/N,y:(E-M)/N};return $?rq(H,k):H},xue=({x:g,y:E},[x,M,N])=>({x:g*N+x,y:E*N+M});function sD(g,E){if(typeof g=="number")return Math.floor((E-E/(1+g))*.5);if(typeof g=="string"&&g.endsWith("px")){const x=parseFloat(g);if(!Number.isNaN(x))return Math.floor(x)}if(typeof g=="string"&&g.endsWith("%")){const x=parseFloat(g);if(!Number.isNaN(x))return Math.floor(E*x*.01)}return console.error(`[React Flow] The padding value "${g}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function ZHn(g,E,x){if(typeof g=="string"||typeof g=="number"){const M=sD(g,x),N=sD(g,E);return{top:M,right:N,bottom:M,left:N,x:N*2,y:M*2}}if(typeof g=="object"){const M=sD(g.top??g.y??0,x),N=sD(g.bottom??g.y??0,x),$=sD(g.left??g.x??0,E),k=sD(g.right??g.x??0,E);return{top:M,right:k,bottom:N,left:$,x:$+k,y:M+N}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function eGn(g,E,x,M,N,$){const{x:k,y:H}=xue(g,[E,x,M]),{x:U,y:G}=xue({x:g.x+g.width,y:g.y+g.height},[E,x,M]),ie=N-U,W=$-G;return{left:Math.floor(k),top:Math.floor(H),right:Math.floor(ie),bottom:Math.floor(W)}}const Ske=(g,E,x,M,N,$)=>{const k=ZHn($,E,x),H=(E-k.x)/g.width,U=(x-k.y)/g.height,G=Math.min(H,U),ie=pD(G,M,N),W=g.x+g.width/2,Z=g.y+g.height/2,se=E/2-W*ie,oe=x/2-Z*ie,ee=eGn(g,se,oe,ie,E,x),Me={left:Math.min(ee.left-k.left,0),top:Math.min(ee.top-k.top,0),right:Math.min(ee.right-k.right,0),bottom:Math.min(ee.bottom-k.bottom,0)};return{x:se-Me.left+Me.right,y:oe-Me.top+Me.bottom,zoom:ie}},QG=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function vD(g){return g!=null&&g!=="parent"}function s6(g){return{width:g.measured?.width??g.width??g.initialWidth??0,height:g.measured?.height??g.height??g.initialHeight??0}}function Kdn(g){return(g.measured?.width??g.width??g.initialWidth)!==void 0&&(g.measured?.height??g.height??g.initialHeight)!==void 0}function Vdn(g,E={width:0,height:0},x,M,N){const $={...g},k=M.get(x);if(k){const H=k.origin||N;$.x+=k.internals.positionAbsolute.x-(E.width??0)*H[0],$.y+=k.internals.positionAbsolute.y-(E.height??0)*H[1]}return $}function h1n(g,E){if(g.size!==E.size)return!1;for(const x of g)if(!E.has(x))return!1;return!0}function nGn(){let g,E;return{promise:new Promise((M,N)=>{g=M,E=N}),resolve:g,reject:E}}function tGn(g){return{...zdn,...g||{}}}function JG(g,{snapGrid:E=[0,0],snapToGrid:x=!1,transform:M,containerBounds:N}){const{x:$,y:k}=tv(g),H=cq({x:$-(N?.left??0),y:k-(N?.top??0)},M),{x:U,y:G}=x?rq(H,E):H;return{xSnapped:U,ySnapped:G,...H}}const xke=g=>({width:g.offsetWidth,height:g.offsetHeight}),Ydn=g=>g?.getRootNode?.()||window?.document,iGn=["INPUT","SELECT","TEXTAREA"];function Qdn(g){const E=g.composedPath?.()?.[0]||g.target;return E?.nodeType!==1?!1:iGn.includes(E.nodeName)||E.hasAttribute("contenteditable")||!!E.closest(".nokey")}const Wdn=g=>"clientX"in g,tv=(g,E)=>{const x=Wdn(g),M=x?g.clientX:g.touches?.[0].clientX,N=x?g.clientY:g.touches?.[0].clientY;return{x:M-(E?.left??0),y:N-(E?.top??0)}},d1n=(g,E,x,M,N)=>{const $=E.querySelectorAll(`.${g}`);return!$||!$.length?null:Array.from($).map(k=>{const H=k.getBoundingClientRect();return{id:k.getAttribute("data-handleid"),type:g,nodeId:N,position:k.getAttribute("data-handlepos"),x:(H.left-x.left)/M,y:(H.top-x.top)/M,...xke(k)}})};function Zdn({sourceX:g,sourceY:E,targetX:x,targetY:M,sourceControlX:N,sourceControlY:$,targetControlX:k,targetControlY:H}){const U=g*.125+N*.375+k*.375+x*.125,G=E*.125+$*.375+H*.375+M*.125,ie=Math.abs(U-g),W=Math.abs(G-E);return[U,G,ie,W]}function tue(g,E){return g>=0?.5*g:E*25*Math.sqrt(-g)}function b1n({pos:g,x1:E,y1:x,x2:M,y2:N,c:$}){switch(g){case ur.Left:return[E-tue(E-M,$),x];case ur.Right:return[E+tue(M-E,$),x];case ur.Top:return[E,x-tue(x-N,$)];case ur.Bottom:return[E,x+tue(N-x,$)]}}function e0n({sourceX:g,sourceY:E,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top,curvature:k=.25}){const[H,U]=b1n({pos:x,x1:g,y1:E,x2:M,y2:N,c:k}),[G,ie]=b1n({pos:$,x1:M,y1:N,x2:g,y2:E,c:k}),[W,Z,se,oe]=Zdn({sourceX:g,sourceY:E,targetX:M,targetY:N,sourceControlX:H,sourceControlY:U,targetControlX:G,targetControlY:ie});return[`M${g},${E} C${H},${U} ${G},${ie} ${M},${N}`,W,Z,se,oe]}function n0n({sourceX:g,sourceY:E,targetX:x,targetY:M}){const N=Math.abs(x-g)/2,$=x0}const uGn=({source:g,sourceHandle:E,target:x,targetHandle:M})=>`xy-edge__${g}${E||""}-${x}${M||""}`,oGn=(g,E)=>E.some(x=>x.source===g.source&&x.target===g.target&&(x.sourceHandle===g.sourceHandle||!x.sourceHandle&&!g.sourceHandle)&&(x.targetHandle===g.targetHandle||!x.targetHandle&&!g.targetHandle)),sGn=(g,E,x={})=>{if(!g.source||!g.target)return E;const M=x.getEdgeId||uGn;let N;return Hdn(g)?N={...g}:N={...g,id:M(g)},oGn(N,E)?E:(N.sourceHandle===null&&delete N.sourceHandle,N.targetHandle===null&&delete N.targetHandle,E.concat(N))};function t0n({sourceX:g,sourceY:E,targetX:x,targetY:M}){const[N,$,k,H]=n0n({sourceX:g,sourceY:E,targetX:x,targetY:M});return[`M ${g},${E}L ${x},${M}`,N,$,k,H]}const g1n={[ur.Left]:{x:-1,y:0},[ur.Right]:{x:1,y:0},[ur.Top]:{x:0,y:-1},[ur.Bottom]:{x:0,y:1}},lGn=({source:g,sourcePosition:E=ur.Bottom,target:x})=>E===ur.Left||E===ur.Right?g.xMath.sqrt(Math.pow(E.x-g.x,2)+Math.pow(E.y-g.y,2));function fGn({source:g,sourcePosition:E=ur.Bottom,target:x,targetPosition:M=ur.Top,center:N,offset:$,stepPosition:k}){const H=g1n[E],U=g1n[M],G={x:g.x+H.x*$,y:g.y+H.y*$},ie={x:x.x+U.x*$,y:x.y+U.y*$},W=lGn({source:G,sourcePosition:E,target:ie}),Z=W.x!==0?"x":"y",se=W[Z];let oe=[],ee,Me;const pe={x:0,y:0},Pe={x:0,y:0},[,,ae,Ne]=n0n({sourceX:g.x,sourceY:g.y,targetX:x.x,targetY:x.y});if(H[Z]*U[Z]===-1){Z==="x"?(ee=N.x??G.x+(ie.x-G.x)*k,Me=N.y??(G.y+ie.y)/2):(ee=N.x??(G.x+ie.x)/2,Me=N.y??G.y+(ie.y-G.y)*k);const An=[{x:ee,y:G.y},{x:ee,y:ie.y}],xn=[{x:G.x,y:Me},{x:ie.x,y:Me}];H[Z]===se?oe=Z==="x"?An:xn:oe=Z==="x"?xn:An}else{const An=[{x:G.x,y:ie.y}],xn=[{x:ie.x,y:G.y}];if(Z==="x"?oe=H.x===se?xn:An:oe=H.y===se?An:xn,E===M){const Je=Math.abs(g[Z]-x[Z]);if(Je<=$){const pn=Math.min($-1,$-Je);H[Z]===se?pe[Z]=(G[Z]>g[Z]?-1:1)*pn:Pe[Z]=(ie[Z]>x[Z]?-1:1)*pn}}if(E!==M){const Je=Z==="x"?"y":"x",pn=H[Z]===U[Je],xe=G[Je]>ie[Je],qe=G[Je]=Y?(ee=(tt.x+vn.x)/2,Me=oe[0].y):(ee=oe[0].x,Me=(tt.y+vn.y)/2)}const Xe={x:G.x+pe.x,y:G.y+pe.y},ln={x:ie.x+Pe.x,y:ie.y+Pe.y};return[[g,...Xe.x!==oe[0].x||Xe.y!==oe[0].y?[Xe]:[],...oe,...ln.x!==oe[oe.length-1].x||ln.y!==oe[oe.length-1].y?[ln]:[],x],ee,Me,ae,Ne]}function aGn(g,E,x,M){const N=Math.min(w1n(g,E)/2,w1n(E,x)/2,M),{x:$,y:k}=E;if(g.x===$&&$===x.x||g.y===k&&k===x.y)return`L${$} ${k}`;if(g.y===k){const G=g.xx.id===E):g[0])||null}function ske(g,E){return g?typeof g=="string"?g:`${E?`${E}__`:""}${Object.keys(g).sort().map(M=>`${M}=${g[M]}`).join("&")}`:""}function dGn(g,{id:E,defaultColor:x,defaultMarkerStart:M,defaultMarkerEnd:N}){const $=new Set;return g.reduce((k,H)=>([H.markerStart||M,H.markerEnd||N].forEach(U=>{if(U&&typeof U=="object"){const G=ske(U,E);$.has(G)||(k.push({id:G,color:U.color||x,...U}),$.add(G))}}),k),[]).sort((k,H)=>k.id.localeCompare(H.id))}const i0n=1e3,bGn=10,Ake={nodeOrigin:[0,0],nodeExtent:XG,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},gGn={...Ake,checkEquality:!0};function Mke(g,E){const x={...g};for(const M in E)E[M]!==void 0&&(x[M]=E[M]);return x}function wGn(g,E,x){const M=Mke(Ake,x);for(const N of g.values())if(N.parentId)Tke(N,g,E,M);else{const $=tq(N,M.nodeOrigin),k=vD(N.extent)?N.extent:M.nodeExtent,H=MA($,k,s6(N));N.internals.positionAbsolute=H}}function pGn(g,E){if(!g.handles)return g.measured?E?.internals.handleBounds:void 0;const x=[],M=[];for(const N of g.handles){const $={id:N.id,width:N.width??1,height:N.height??1,nodeId:g.id,x:N.x,y:N.y,position:N.position,type:N.type};N.type==="source"?x.push($):N.type==="target"&&M.push($)}return{source:x,target:M}}function Cke(g){return g==="manual"}function lke(g,E,x,M={}){const N=Mke(gGn,M),$={i:0},k=new Map(E),H=N?.elevateNodesOnSelect&&!Cke(N.zIndexMode)?i0n:0;let U=g.length>0,G=!1;E.clear(),x.clear();for(const ie of g){let W=k.get(ie.id);if(N.checkEquality&&ie===W?.internals.userNode)E.set(ie.id,W);else{const Z=tq(ie,N.nodeOrigin),se=vD(ie.extent)?ie.extent:N.nodeExtent,oe=MA(Z,se,s6(ie));W={...N.defaults,...ie,measured:{width:ie.measured?.width,height:ie.measured?.height},internals:{positionAbsolute:oe,handleBounds:pGn(ie,W),z:r0n(ie,H,N.zIndexMode),userNode:ie}},E.set(ie.id,W)}(W.measured===void 0||W.measured.width===void 0||W.measured.height===void 0)&&!W.hidden&&(U=!1),ie.parentId&&Tke(W,E,x,M,$),G||=ie.selected??!1}return{nodesInitialized:U,hasSelectedNodes:G}}function mGn(g,E){if(!g.parentId)return;const x=E.get(g.parentId);x?x.set(g.id,g):E.set(g.parentId,new Map([[g.id,g]]))}function Tke(g,E,x,M,N){const{elevateNodesOnSelect:$,nodeOrigin:k,nodeExtent:H,zIndexMode:U}=Mke(Ake,M),G=g.parentId,ie=E.get(G);if(!ie){console.warn(`Parent node ${G} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}mGn(g,x),N&&!ie.parentId&&ie.internals.rootParentIndex===void 0&&U==="auto"&&(ie.internals.rootParentIndex=++N.i,ie.internals.z=ie.internals.z+N.i*bGn),N&&ie.internals.rootParentIndex!==void 0&&(N.i=ie.internals.rootParentIndex);const W=$&&!Cke(U)?i0n:0,{x:Z,y:se,z:oe}=vGn(g,ie,k,H,W,U),{positionAbsolute:ee}=g.internals,Me=Z!==ee.x||se!==ee.y;(Me||oe!==g.internals.z)&&E.set(g.id,{...g,internals:{...g.internals,positionAbsolute:Me?{x:Z,y:se}:ee,z:oe}})}function r0n(g,E,x){const M=nv(g.zIndex)?g.zIndex:0;return Cke(x)?M:M+(g.selected?E:0)}function vGn(g,E,x,M,N,$){const{x:k,y:H}=E.internals.positionAbsolute,U=s6(g),G=tq(g,x),ie=vD(g.extent)?MA(G,g.extent,U):G;let W=MA({x:k+ie.x,y:H+ie.y},M,U);g.extent==="parent"&&(W=qdn(W,U,E));const Z=r0n(g,N,$),se=E.internals.z??0;return{x:W.x,y:W.y,z:se>=Z?se+1:Z}}function Oke(g,E,x,M=[0,0]){const N=[],$=new Map;for(const k of g){const H=E.get(k.parentId);if(!H)continue;const U=$.get(k.parentId)?.expandedRect??mD(H),G=Xdn(U,k.rect);$.set(k.parentId,{expandedRect:G,parent:H})}return $.size>0&&$.forEach(({expandedRect:k,parent:H},U)=>{const G=H.internals.positionAbsolute,ie=s6(H),W=H.origin??M,Z=k.x0||se>0||Me||pe)&&(N.push({id:U,type:"position",position:{x:H.position.x-Z+Me,y:H.position.y-se+pe}}),x.get(U)?.forEach(Pe=>{g.some(ae=>ae.id===Pe.id)||N.push({id:Pe.id,type:"position",position:{x:Pe.position.x+Z,y:Pe.position.y+se}})})),(ie.width0){const se=Oke(Z,E,x,N);G.push(...se)}return{changes:G,updatedInternals:U}}async function kGn({delta:g,panZoom:E,transform:x,translateExtent:M,width:N,height:$}){if(!E||!g.x&&!g.y)return Promise.resolve(!1);const k=await E.setViewportConstrained({x:x[0]+g.x,y:x[1]+g.y,zoom:x[2]},[[0,0],[N,$]],M),H=!!k&&(k.x!==x[0]||k.y!==x[1]||k.k!==x[2]);return Promise.resolve(H)}function y1n(g,E,x,M,N,$){let k=N;const H=M.get(k)||new Map;M.set(k,H.set(x,E)),k=`${N}-${g}`;const U=M.get(k)||new Map;if(M.set(k,U.set(x,E)),$){k=`${N}-${g}-${$}`;const G=M.get(k)||new Map;M.set(k,G.set(x,E))}}function c0n(g,E,x){g.clear(),E.clear();for(const M of x){const{source:N,target:$,sourceHandle:k=null,targetHandle:H=null}=M,U={edgeId:M.id,source:N,target:$,sourceHandle:k,targetHandle:H},G=`${N}-${k}--${$}-${H}`,ie=`${$}-${H}--${N}-${k}`;y1n("source",U,ie,g,N,k),y1n("target",U,G,g,$,H),E.set(M.id,M)}}function u0n(g,E){if(!g.parentId)return!1;const x=E.get(g.parentId);return x?x.selected?!0:u0n(x,E):!1}function k1n(g,E,x){let M=g;do{if(M?.matches?.(E))return!0;if(M===x)return!1;M=M?.parentElement}while(M);return!1}function jGn(g,E,x,M){const N=new Map;for(const[$,k]of g)if((k.selected||k.id===M)&&(!k.parentId||!u0n(k,g))&&(k.draggable||E&&typeof k.draggable>"u")){const H=g.get($);H&&N.set($,{id:$,position:H.position||{x:0,y:0},distance:{x:x.x-H.internals.positionAbsolute.x,y:x.y-H.internals.positionAbsolute.y},extent:H.extent,parentId:H.parentId,origin:H.origin,expandParent:H.expandParent,internals:{positionAbsolute:H.internals.positionAbsolute||{x:0,y:0}},measured:{width:H.measured.width??0,height:H.measured.height??0}})}return N}function R7e({nodeId:g,dragItems:E,nodeLookup:x,dragging:M=!0}){const N=[];for(const[k,H]of E){const U=x.get(k)?.internals.userNode;U&&N.push({...U,position:H.position,dragging:M})}if(!g)return[N[0],N];const $=x.get(g)?.internals.userNode;return[$?{...$,position:E.get(g)?.position||$.position,dragging:M}:N[0],N]}function EGn({dragItems:g,snapGrid:E,x,y:M}){const N=g.values().next().value;if(!N)return null;const $={x:x-N.distance.x,y:M-N.distance.y},k=rq($,E);return{x:k.x-$.x,y:k.y-$.y}}function SGn({onNodeMouseDown:g,getStoreItems:E,onDragStart:x,onDrag:M,onDragStop:N}){let $={x:null,y:null},k=0,H=new Map,U=!1,G={x:0,y:0},ie=null,W=!1,Z=null,se=!1,oe=!1,ee=null;function Me({noDragClassName:Pe,handleSelector:ae,domNode:Ne,isSelectable:Xe,nodeId:ln,nodeClickDistance:on=0}){Z=Fg(Ne);function An({x:wn,y:Y}){const{nodeLookup:Je,nodeExtent:pn,snapGrid:xe,snapToGrid:qe,nodeOrigin:fn,onNodeDrag:$e,onSelectionDrag:Mn,onError:ye,updateNodePositions:Re}=E();$={x:wn,y:Y};let Hn=!1;const rt=H.size>1,Jt=rt&&pn?oke(iq(H)):null,di=rt&&qe?EGn({dragItems:H,snapGrid:xe,x:wn,y:Y}):null;for(const[Gt,xt]of H){if(!Je.has(Gt))continue;let si={x:wn-xt.distance.x,y:Y-xt.distance.y};qe&&(si=di?{x:Math.round(si.x+di.x),y:Math.round(si.y+di.y)}:rq(si,xe));let Kr=null;if(rt&&pn&&!xt.extent&&Jt){const{positionAbsolute:bi}=xt.internals,zi=bi.x-Jt.x+pn[0][0],cu=bi.x+xt.measured.width-Jt.x2+pn[1][0],Fu=bi.y-Jt.y+pn[0][1],Rs=bi.y+xt.measured.height-Jt.y2+pn[1][1];Kr=[[zi,Fu],[cu,Rs]]}const{position:Er,positionAbsolute:Mt}=Gdn({nodeId:Gt,nextPosition:si,nodeLookup:Je,nodeExtent:Kr||pn,nodeOrigin:fn,onError:ye});Hn=Hn||xt.position.x!==Er.x||xt.position.y!==Er.y,xt.position=Er,xt.internals.positionAbsolute=Mt}if(oe=oe||Hn,!!Hn&&(Re(H,!0),ee&&(M||$e||!ln&&Mn))){const[Gt,xt]=R7e({nodeId:ln,dragItems:H,nodeLookup:Je});M?.(ee,H,Gt,xt),$e?.(ee,Gt,xt),ln||Mn?.(ee,xt)}}async function xn(){if(!ie)return;const{transform:wn,panBy:Y,autoPanSpeed:Je,autoPanOnNodeDrag:pn}=E();if(!pn){U=!1,cancelAnimationFrame(k);return}const[xe,qe]=Udn(G,ie,Je);(xe!==0||qe!==0)&&($.x=($.x??0)-xe/wn[2],$.y=($.y??0)-qe/wn[2],await Y({x:xe,y:qe})&&An($)),k=requestAnimationFrame(xn)}function tt(wn){const{nodeLookup:Y,multiSelectionActive:Je,nodesDraggable:pn,transform:xe,snapGrid:qe,snapToGrid:fn,selectNodesOnDrag:$e,onNodeDragStart:Mn,onSelectionDragStart:ye,unselectNodesAndEdges:Re}=E();W=!0,(!$e||!Xe)&&!Je&&ln&&(Y.get(ln)?.selected||Re()),Xe&&$e&&ln&&g?.(ln);const Hn=JG(wn.sourceEvent,{transform:xe,snapGrid:qe,snapToGrid:fn,containerBounds:ie});if($=Hn,H=jGn(Y,pn,Hn,ln),H.size>0&&(x||Mn||!ln&&ye)){const[rt,Jt]=R7e({nodeId:ln,dragItems:H,nodeLookup:Y});x?.(wn.sourceEvent,H,rt,Jt),Mn?.(wn.sourceEvent,rt,Jt),ln||ye?.(wn.sourceEvent,Jt)}}const vn=Edn().clickDistance(on).on("start",wn=>{const{domNode:Y,nodeDragThreshold:Je,transform:pn,snapGrid:xe,snapToGrid:qe}=E();ie=Y?.getBoundingClientRect()||null,se=!1,oe=!1,ee=wn.sourceEvent,Je===0&&tt(wn),$=JG(wn.sourceEvent,{transform:pn,snapGrid:xe,snapToGrid:qe,containerBounds:ie}),G=tv(wn.sourceEvent,ie)}).on("drag",wn=>{const{autoPanOnNodeDrag:Y,transform:Je,snapGrid:pn,snapToGrid:xe,nodeDragThreshold:qe,nodeLookup:fn}=E(),$e=JG(wn.sourceEvent,{transform:Je,snapGrid:pn,snapToGrid:xe,containerBounds:ie});if(ee=wn.sourceEvent,(wn.sourceEvent.type==="touchmove"&&wn.sourceEvent.touches.length>1||ln&&!fn.has(ln))&&(se=!0),!se){if(!U&&Y&&W&&(U=!0,xn()),!W){const Mn=tv(wn.sourceEvent,ie),ye=Mn.x-G.x,Re=Mn.y-G.y;Math.sqrt(ye*ye+Re*Re)>qe&&tt(wn)}($.x!==$e.xSnapped||$.y!==$e.ySnapped)&&H&&W&&(G=tv(wn.sourceEvent,ie),An($e))}}).on("end",wn=>{if(!(!W||se)&&(U=!1,W=!1,cancelAnimationFrame(k),H.size>0)){const{nodeLookup:Y,updateNodePositions:Je,onNodeDragStop:pn,onSelectionDragStop:xe}=E();if(oe&&(Je(H,!1),oe=!1),N||pn||!ln&&xe){const[qe,fn]=R7e({nodeId:ln,dragItems:H,nodeLookup:Y,dragging:!1});N?.(wn.sourceEvent,H,qe,fn),pn?.(wn.sourceEvent,qe,fn),ln||xe?.(wn.sourceEvent,fn)}}}).filter(wn=>{const Y=wn.target;return!wn.button&&(!Pe||!k1n(Y,`.${Pe}`,Ne))&&(!ae||k1n(Y,ae,Ne))});Z.call(vn)}function pe(){Z?.on(".drag",null)}return{update:Me,destroy:pe}}function xGn(g,E,x){const M=[],N={x:g.x-x,y:g.y-x,width:x*2,height:x*2};for(const $ of E.values())YG(N,mD($))>0&&M.push($);return M}const AGn=250;function MGn(g,E,x,M){let N=[],$=1/0;const k=xGn(g,x,E+AGn);for(const H of k){const U=[...H.internals.handleBounds?.source??[],...H.internals.handleBounds?.target??[]];for(const G of U){if(M.nodeId===G.nodeId&&M.type===G.type&&M.id===G.id)continue;const{x:ie,y:W}=CA(H,G,G.position,!0),Z=Math.sqrt(Math.pow(ie-g.x,2)+Math.pow(W-g.y,2));Z>E||(Z<$?(N=[{...G,x:ie,y:W}],$=Z):Z===$&&N.push({...G,x:ie,y:W}))}}if(!N.length)return null;if(N.length>1){const H=M.type==="source"?"target":"source";return N.find(U=>U.type===H)??N[0]}return N[0]}function o0n(g,E,x,M,N,$=!1){const k=M.get(g);if(!k)return null;const H=N==="strict"?k.internals.handleBounds?.[E]:[...k.internals.handleBounds?.source??[],...k.internals.handleBounds?.target??[]],U=(x?H?.find(G=>G.id===x):H?.[0])??null;return U&&$?{...U,...CA(k,U,U.position,!0)}:U}function s0n(g,E){return g||(E?.classList.contains("target")?"target":E?.classList.contains("source")?"source":null)}function CGn(g,E){let x=null;return E?x=!0:g&&!E&&(x=!1),x}const l0n=()=>!0;function TGn(g,{connectionMode:E,connectionRadius:x,handleId:M,nodeId:N,edgeUpdaterType:$,isTarget:k,domNode:H,nodeLookup:U,lib:G,autoPanOnConnect:ie,flowId:W,panBy:Z,cancelConnection:se,onConnectStart:oe,onConnect:ee,onConnectEnd:Me,isValidConnection:pe=l0n,onReconnectEnd:Pe,updateConnection:ae,getTransform:Ne,getFromHandle:Xe,autoPanSpeed:ln,dragThreshold:on=1,handleDomNode:An}){const xn=Ydn(g.target);let tt=0,vn;const{x:wn,y:Y}=tv(g),Je=s0n($,An),pn=H?.getBoundingClientRect();let xe=!1;if(!pn||!Je)return;const qe=o0n(N,Je,M,U,E);if(!qe)return;let fn=tv(g,pn),$e=!1,Mn=null,ye=!1,Re=null;function Hn(){if(!ie||!pn)return;const[Er,Mt]=Udn(fn,pn,ln);Z({x:Er,y:Mt}),tt=requestAnimationFrame(Hn)}const rt={...qe,nodeId:N,type:Je,position:qe.position},Jt=U.get(N);let Gt={inProgress:!0,isValid:null,from:CA(Jt,rt,ur.Left,!0),fromHandle:rt,fromPosition:rt.position,fromNode:Jt,to:fn,toHandle:null,toPosition:l1n[rt.position],toNode:null,pointer:fn};function xt(){xe=!0,ae(Gt),oe?.(g,{nodeId:N,handleId:M,handleType:Je})}on===0&&xt();function si(Er){if(!xe){const{x:Rs,y:ia}=tv(Er),ef=Rs-wn,Oa=ia-Y;if(!(ef*ef+Oa*Oa>on*on))return;xt()}if(!Xe()||!rt){Kr(Er);return}const Mt=Ne();fn=tv(Er,pn),vn=MGn(cq(fn,Mt,!1,[1,1]),x,U,rt),$e||(Hn(),$e=!0);const bi=f0n(Er,{handle:vn,connectionMode:E,fromNodeId:N,fromHandleId:M,fromType:k?"target":"source",isValidConnection:pe,doc:xn,lib:G,flowId:W,nodeLookup:U});Re=bi.handleDomNode,Mn=bi.connection,ye=CGn(!!vn,bi.isValid);const zi=U.get(N),cu=zi?CA(zi,rt,ur.Left,!0):Gt.from,Fu={...Gt,from:cu,isValid:ye,to:bi.toHandle&&ye?xue({x:bi.toHandle.x,y:bi.toHandle.y},Mt):fn,toHandle:bi.toHandle,toPosition:ye&&bi.toHandle?bi.toHandle.position:l1n[rt.position],toNode:bi.toHandle?U.get(bi.toHandle.nodeId):null,pointer:fn};ae(Fu),Gt=Fu}function Kr(Er){if(!("touches"in Er&&Er.touches.length>0)){if(xe){(vn||Re)&&Mn&&ye&&ee?.(Mn);const{inProgress:Mt,...bi}=Gt,zi={...bi,toPosition:Gt.toHandle?Gt.toPosition:null};Me?.(Er,zi),$&&Pe?.(Er,zi)}se(),cancelAnimationFrame(tt),$e=!1,ye=!1,Mn=null,Re=null,xn.removeEventListener("mousemove",si),xn.removeEventListener("mouseup",Kr),xn.removeEventListener("touchmove",si),xn.removeEventListener("touchend",Kr)}}xn.addEventListener("mousemove",si),xn.addEventListener("mouseup",Kr),xn.addEventListener("touchmove",si),xn.addEventListener("touchend",Kr)}function f0n(g,{handle:E,connectionMode:x,fromNodeId:M,fromHandleId:N,fromType:$,doc:k,lib:H,flowId:U,isValidConnection:G=l0n,nodeLookup:ie}){const W=$==="target",Z=E?k.querySelector(`.${H}-flow__handle[data-id="${U}-${E?.nodeId}-${E?.id}-${E?.type}"]`):null,{x:se,y:oe}=tv(g),ee=k.elementFromPoint(se,oe),Me=ee?.classList.contains(`${H}-flow__handle`)?ee:Z,pe={handleDomNode:Me,isValid:!1,connection:null,toHandle:null};if(Me){const Pe=s0n(void 0,Me),ae=Me.getAttribute("data-nodeid"),Ne=Me.getAttribute("data-handleid"),Xe=Me.classList.contains("connectable"),ln=Me.classList.contains("connectableend");if(!ae||!Pe)return pe;const on={source:W?ae:M,sourceHandle:W?Ne:N,target:W?M:ae,targetHandle:W?N:Ne};pe.connection=on;const xn=Xe&&ln&&(x===wD.Strict?W&&Pe==="source"||!W&&Pe==="target":ae!==M||Ne!==N);pe.isValid=xn&&G(on),pe.toHandle=o0n(ae,Pe,Ne,ie,x,!0)}return pe}const fke={onPointerDown:TGn,isValid:f0n};function OGn({domNode:g,panZoom:E,getTransform:x,getViewScale:M}){const N=Fg(g);function $({translateExtent:H,width:U,height:G,zoomStep:ie=1,pannable:W=!0,zoomable:Z=!0,inversePan:se=!1}){const oe=ae=>{if(ae.sourceEvent.type!=="wheel"||!E)return;const Ne=x(),Xe=ae.sourceEvent.ctrlKey&&QG()?10:1,ln=-ae.sourceEvent.deltaY*(ae.sourceEvent.deltaMode===1?.05:ae.sourceEvent.deltaMode?1:.002)*ie,on=Ne[2]*Math.pow(2,ln*Xe);E.scaleTo(on)};let ee=[0,0];const Me=ae=>{(ae.sourceEvent.type==="mousedown"||ae.sourceEvent.type==="touchstart")&&(ee=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY])},pe=ae=>{const Ne=x();if(ae.sourceEvent.type!=="mousemove"&&ae.sourceEvent.type!=="touchmove"||!E)return;const Xe=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY],ln=[Xe[0]-ee[0],Xe[1]-ee[1]];ee=Xe;const on=M()*Math.max(Ne[2],Math.log(Ne[2]))*(se?-1:1),An={x:Ne[0]-ln[0]*on,y:Ne[1]-ln[1]*on},xn=[[0,0],[U,G]];E.setViewportConstrained({x:An.x,y:An.y,zoom:Ne[2]},xn,H)},Pe=Rdn().on("start",Me).on("zoom",W?pe:null).on("zoom.wheel",Z?oe:null);N.call(Pe,{})}function k(){N.on("zoom",null)}return{update:$,destroy:k,pointer:Zm}}const $ue=g=>({x:g.x,y:g.y,zoom:g.k}),B7e=({x:g,y:E,zoom:x})=>_ue.translate(g,E).scale(x),fD=(g,E)=>g.target.closest(`.${E}`),a0n=(g,E)=>E===2&&Array.isArray(g)&&g.includes(2),NGn=g=>((g*=2)<=1?g*g*g:(g-=2)*g*g+2)/2,z7e=(g,E=0,x=NGn,M=()=>{})=>{const N=typeof E=="number"&&E>0;return N||M(),N?g.transition().duration(E).ease(x).on("end",M):g},h0n=g=>{const E=g.ctrlKey&&QG()?10:1;return-g.deltaY*(g.deltaMode===1?.05:g.deltaMode?1:.002)*E};function IGn({zoomPanValues:g,noWheelClassName:E,d3Selection:x,d3Zoom:M,panOnScrollMode:N,panOnScrollSpeed:$,zoomOnPinch:k,onPanZoomStart:H,onPanZoom:U,onPanZoomEnd:G}){return ie=>{if(fD(ie,E))return ie.ctrlKey&&ie.preventDefault(),!1;ie.preventDefault(),ie.stopImmediatePropagation();const W=x.property("__zoom").k||1;if(ie.ctrlKey&&k){const Me=Zm(ie),pe=h0n(ie),Pe=W*Math.pow(2,pe);M.scaleTo(x,Pe,Me,ie);return}const Z=ie.deltaMode===1?20:1;let se=N===EA.Vertical?0:ie.deltaX*Z,oe=N===EA.Horizontal?0:ie.deltaY*Z;!QG()&&ie.shiftKey&&N!==EA.Vertical&&(se=ie.deltaY*Z,oe=0),M.translateBy(x,-(se/W)*$,-(oe/W)*$,{internal:!0});const ee=$ue(x.property("__zoom"));clearTimeout(g.panScrollTimeout),g.isPanScrolling?(U?.(ie,ee),g.panScrollTimeout=setTimeout(()=>{G?.(ie,ee),g.isPanScrolling=!1},150)):(g.isPanScrolling=!0,H?.(ie,ee))}}function DGn({noWheelClassName:g,preventScrolling:E,d3ZoomHandler:x}){return function(M,N){const $=M.type==="wheel",k=!E&&$&&!M.ctrlKey,H=fD(M,g);if(M.ctrlKey&&$&&H&&M.preventDefault(),k||H)return null;M.preventDefault(),x.call(this,M,N)}}function _Gn({zoomPanValues:g,onDraggingChange:E,onPanZoomStart:x}){return M=>{if(M.sourceEvent?.internal)return;const N=$ue(M.transform);g.mouseButton=M.sourceEvent?.button||0,g.isZoomingOrPanning=!0,g.prevViewport=N,M.sourceEvent?.type==="mousedown"&&E(!0),x&&x?.(M.sourceEvent,N)}}function LGn({zoomPanValues:g,panOnDrag:E,onPaneContextMenu:x,onTransformChange:M,onPanZoom:N}){return $=>{g.usedRightMouseButton=!!(x&&a0n(E,g.mouseButton??0)),$.sourceEvent?.sync||M([$.transform.x,$.transform.y,$.transform.k]),N&&!$.sourceEvent?.internal&&N?.($.sourceEvent,$ue($.transform))}}function PGn({zoomPanValues:g,panOnDrag:E,panOnScroll:x,onDraggingChange:M,onPanZoomEnd:N,onPaneContextMenu:$}){return k=>{if(!k.sourceEvent?.internal&&(g.isZoomingOrPanning=!1,$&&a0n(E,g.mouseButton??0)&&!g.usedRightMouseButton&&k.sourceEvent&&$(k.sourceEvent),g.usedRightMouseButton=!1,M(!1),N)){const H=$ue(k.transform);g.prevViewport=H,clearTimeout(g.timerId),g.timerId=setTimeout(()=>{N?.(k.sourceEvent,H)},x?150:0)}}}function $Gn({zoomActivationKeyPressed:g,zoomOnScroll:E,zoomOnPinch:x,panOnDrag:M,panOnScroll:N,zoomOnDoubleClick:$,userSelectionActive:k,noWheelClassName:H,noPanClassName:U,lib:G,connectionInProgress:ie}){return W=>{const Z=g||E,se=x&&W.ctrlKey,oe=W.type==="wheel";if(W.button===1&&W.type==="mousedown"&&(fD(W,`${G}-flow__node`)||fD(W,`${G}-flow__edge`)))return!0;if(!M&&!Z&&!N&&!$&&!x||k||ie&&!oe||fD(W,H)&&oe||fD(W,U)&&(!oe||N&&oe&&!g)||!x&&W.ctrlKey&&oe)return!1;if(!x&&W.type==="touchstart"&&W.touches?.length>1)return W.preventDefault(),!1;if(!Z&&!N&&!se&&oe||!M&&(W.type==="mousedown"||W.type==="touchstart")||Array.isArray(M)&&!M.includes(W.button)&&W.type==="mousedown")return!1;const ee=Array.isArray(M)&&M.includes(W.button)||!W.button||W.button<=1;return(!W.ctrlKey||oe)&&ee}}function RGn({domNode:g,minZoom:E,maxZoom:x,translateExtent:M,viewport:N,onPanZoom:$,onPanZoomStart:k,onPanZoomEnd:H,onDraggingChange:U}){const G={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},ie=g.getBoundingClientRect(),W=Rdn().scaleExtent([E,x]).translateExtent(M),Z=Fg(g).call(W);Pe({x:N.x,y:N.y,zoom:pD(N.zoom,E,x)},[[0,0],[ie.width,ie.height]],M);const se=Z.on("wheel.zoom"),oe=Z.on("dblclick.zoom");W.wheelDelta(h0n);function ee(vn,wn){return Z?new Promise(Y=>{W?.interpolate(wn?.interpolate==="linear"?FG:due).transform(z7e(Z,wn?.duration,wn?.ease,()=>Y(!0)),vn)}):Promise.resolve(!1)}function Me({noWheelClassName:vn,noPanClassName:wn,onPaneContextMenu:Y,userSelectionActive:Je,panOnScroll:pn,panOnDrag:xe,panOnScrollMode:qe,panOnScrollSpeed:fn,preventScrolling:$e,zoomOnPinch:Mn,zoomOnScroll:ye,zoomOnDoubleClick:Re,zoomActivationKeyPressed:Hn,lib:rt,onTransformChange:Jt,connectionInProgress:di,paneClickDistance:Gt,selectionOnDrag:xt}){Je&&!G.isZoomingOrPanning&&pe();const si=pn&&!Hn&&!Je;W.clickDistance(xt?1/0:!nv(Gt)||Gt<0?0:Gt);const Kr=si?IGn({zoomPanValues:G,noWheelClassName:vn,d3Selection:Z,d3Zoom:W,panOnScrollMode:qe,panOnScrollSpeed:fn,zoomOnPinch:Mn,onPanZoomStart:k,onPanZoom:$,onPanZoomEnd:H}):DGn({noWheelClassName:vn,preventScrolling:$e,d3ZoomHandler:se});if(Z.on("wheel.zoom",Kr,{passive:!1}),!Je){const Mt=_Gn({zoomPanValues:G,onDraggingChange:U,onPanZoomStart:k});W.on("start",Mt);const bi=LGn({zoomPanValues:G,panOnDrag:xe,onPaneContextMenu:!!Y,onPanZoom:$,onTransformChange:Jt});W.on("zoom",bi);const zi=PGn({zoomPanValues:G,panOnDrag:xe,panOnScroll:pn,onPaneContextMenu:Y,onPanZoomEnd:H,onDraggingChange:U});W.on("end",zi)}const Er=$Gn({zoomActivationKeyPressed:Hn,panOnDrag:xe,zoomOnScroll:ye,panOnScroll:pn,zoomOnDoubleClick:Re,zoomOnPinch:Mn,userSelectionActive:Je,noPanClassName:wn,noWheelClassName:vn,lib:rt,connectionInProgress:di});W.filter(Er),Re?Z.on("dblclick.zoom",oe):Z.on("dblclick.zoom",null)}function pe(){W.on("zoom",null)}async function Pe(vn,wn,Y){const Je=B7e(vn),pn=W?.constrain()(Je,wn,Y);return pn&&await ee(pn),new Promise(xe=>xe(pn))}async function ae(vn,wn){const Y=B7e(vn);return await ee(Y,wn),new Promise(Je=>Je(Y))}function Ne(vn){if(Z){const wn=B7e(vn),Y=Z.property("__zoom");(Y.k!==vn.zoom||Y.x!==vn.x||Y.y!==vn.y)&&W?.transform(Z,wn,null,{sync:!0})}}function Xe(){const vn=Z?$dn(Z.node()):{x:0,y:0,k:1};return{x:vn.x,y:vn.y,zoom:vn.k}}function ln(vn,wn){return Z?new Promise(Y=>{W?.interpolate(wn?.interpolate==="linear"?FG:due).scaleTo(z7e(Z,wn?.duration,wn?.ease,()=>Y(!0)),vn)}):Promise.resolve(!1)}function on(vn,wn){return Z?new Promise(Y=>{W?.interpolate(wn?.interpolate==="linear"?FG:due).scaleBy(z7e(Z,wn?.duration,wn?.ease,()=>Y(!0)),vn)}):Promise.resolve(!1)}function An(vn){W?.scaleExtent(vn)}function xn(vn){W?.translateExtent(vn)}function tt(vn){const wn=!nv(vn)||vn<0?0:vn;W?.clickDistance(wn)}return{update:Me,destroy:pe,setViewport:ae,setViewportConstrained:Pe,getViewport:Xe,scaleTo:ln,scaleBy:on,setScaleExtent:An,setTranslateExtent:xn,syncViewport:Ne,setClickDistance:tt}}var yD;(function(g){g.Line="line",g.Handle="handle"})(yD||(yD={}));function BGn({width:g,prevWidth:E,height:x,prevHeight:M,affectsX:N,affectsY:$}){const k=g-E,H=x-M,U=[k>0?1:k<0?-1:0,H>0?1:H<0?-1:0];return k&&N&&(U[0]=U[0]*-1),H&&$&&(U[1]=U[1]*-1),U}function j1n(g){const E=g.includes("right")||g.includes("left"),x=g.includes("bottom")||g.includes("top"),M=g.includes("left"),N=g.includes("top");return{isHorizontal:E,isVertical:x,affectsX:M,affectsY:N}}function W7(g,E){return Math.max(0,E-g)}function Z7(g,E){return Math.max(0,g-E)}function iue(g,E,x){return Math.max(0,E-g,g-x)}function E1n(g,E){return g?!E:E}function zGn(g,E,x,M,N,$,k,H){let{affectsX:U,affectsY:G}=E;const{isHorizontal:ie,isVertical:W}=E,Z=ie&&W,{xSnapped:se,ySnapped:oe}=x,{minWidth:ee,maxWidth:Me,minHeight:pe,maxHeight:Pe}=M,{x:ae,y:Ne,width:Xe,height:ln,aspectRatio:on}=g;let An=Math.floor(ie?se-g.pointerX:0),xn=Math.floor(W?oe-g.pointerY:0);const tt=Xe+(U?-An:An),vn=ln+(G?-xn:xn),wn=-$[0]*Xe,Y=-$[1]*ln;let Je=iue(tt,ee,Me),pn=iue(vn,pe,Pe);if(k){let fn=0,$e=0;U&&An<0?fn=W7(ae+An+wn,k[0][0]):!U&&An>0&&(fn=Z7(ae+tt+wn,k[1][0])),G&&xn<0?$e=W7(Ne+xn+Y,k[0][1]):!G&&xn>0&&($e=Z7(Ne+vn+Y,k[1][1])),Je=Math.max(Je,fn),pn=Math.max(pn,$e)}if(H){let fn=0,$e=0;U&&An>0?fn=Z7(ae+An,H[0][0]):!U&&An<0&&(fn=W7(ae+tt,H[1][0])),G&&xn>0?$e=Z7(Ne+xn,H[0][1]):!G&&xn<0&&($e=W7(Ne+vn,H[1][1])),Je=Math.max(Je,fn),pn=Math.max(pn,$e)}if(N){if(ie){const fn=iue(tt/on,pe,Pe)*on;if(Je=Math.max(Je,fn),k){let $e=0;!U&&!G||U&&!G&&Z?$e=Z7(Ne+Y+tt/on,k[1][1])*on:$e=W7(Ne+Y+(U?An:-An)/on,k[0][1])*on,Je=Math.max(Je,$e)}if(H){let $e=0;!U&&!G||U&&!G&&Z?$e=W7(Ne+tt/on,H[1][1])*on:$e=Z7(Ne+(U?An:-An)/on,H[0][1])*on,Je=Math.max(Je,$e)}}if(W){const fn=iue(vn*on,ee,Me)/on;if(pn=Math.max(pn,fn),k){let $e=0;!U&&!G||G&&!U&&Z?$e=Z7(ae+vn*on+wn,k[1][0])/on:$e=W7(ae+(G?xn:-xn)*on+wn,k[0][0])/on,pn=Math.max(pn,$e)}if(H){let $e=0;!U&&!G||G&&!U&&Z?$e=W7(ae+vn*on,H[1][0])/on:$e=Z7(ae+(G?xn:-xn)*on,H[0][0])/on,pn=Math.max(pn,$e)}}}xn=xn+(xn<0?pn:-pn),An=An+(An<0?Je:-Je),N&&(Z?tt>vn*on?xn=(E1n(U,G)?-An:An)/on:An=(E1n(U,G)?-xn:xn)*on:ie?(xn=An/on,G=U):(An=xn*on,U=G));const xe=U?ae+An:ae,qe=G?Ne+xn:Ne;return{width:Xe+(U?-An:An),height:ln+(G?-xn:xn),x:$[0]*An*(U?-1:1)+xe,y:$[1]*xn*(G?-1:1)+qe}}const d0n={width:0,height:0,x:0,y:0},FGn={...d0n,pointerX:0,pointerY:0,aspectRatio:1};function JGn(g){return[[0,0],[g.measured.width,g.measured.height]]}function HGn(g,E,x){const M=E.position.x+g.position.x,N=E.position.y+g.position.y,$=g.measured.width??0,k=g.measured.height??0,H=x[0]*$,U=x[1]*k;return[[M-H,N-U],[M+$-H,N+k-U]]}function GGn({domNode:g,nodeId:E,getStoreItems:x,onChange:M,onEnd:N}){const $=Fg(g);let k={controlDirection:j1n("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function H({controlPosition:G,boundaries:ie,keepAspectRatio:W,resizeDirection:Z,onResizeStart:se,onResize:oe,onResizeEnd:ee,shouldResize:Me}){let pe={...d0n},Pe={...FGn};k={boundaries:ie,resizeDirection:Z,keepAspectRatio:W,controlDirection:j1n(G)};let ae,Ne=null,Xe=[],ln,on,An,xn=!1;const tt=Edn().on("start",vn=>{const{nodeLookup:wn,transform:Y,snapGrid:Je,snapToGrid:pn,nodeOrigin:xe,paneDomNode:qe}=x();if(ae=wn.get(E),!ae)return;Ne=qe?.getBoundingClientRect()??null;const{xSnapped:fn,ySnapped:$e}=JG(vn.sourceEvent,{transform:Y,snapGrid:Je,snapToGrid:pn,containerBounds:Ne});pe={width:ae.measured.width??0,height:ae.measured.height??0,x:ae.position.x??0,y:ae.position.y??0},Pe={...pe,pointerX:fn,pointerY:$e,aspectRatio:pe.width/pe.height},ln=void 0,ae.parentId&&(ae.extent==="parent"||ae.expandParent)&&(ln=wn.get(ae.parentId),on=ln&&ae.extent==="parent"?JGn(ln):void 0),Xe=[],An=void 0;for(const[Mn,ye]of wn)if(ye.parentId===E&&(Xe.push({id:Mn,position:{...ye.position},extent:ye.extent}),ye.extent==="parent"||ye.expandParent)){const Re=HGn(ye,ae,ye.origin??xe);An?An=[[Math.min(Re[0][0],An[0][0]),Math.min(Re[0][1],An[0][1])],[Math.max(Re[1][0],An[1][0]),Math.max(Re[1][1],An[1][1])]]:An=Re}se?.(vn,{...pe})}).on("drag",vn=>{const{transform:wn,snapGrid:Y,snapToGrid:Je,nodeOrigin:pn}=x(),xe=JG(vn.sourceEvent,{transform:wn,snapGrid:Y,snapToGrid:Je,containerBounds:Ne}),qe=[];if(!ae)return;const{x:fn,y:$e,width:Mn,height:ye}=pe,Re={},Hn=ae.origin??pn,{width:rt,height:Jt,x:di,y:Gt}=zGn(Pe,k.controlDirection,xe,k.boundaries,k.keepAspectRatio,Hn,on,An),xt=rt!==Mn,si=Jt!==ye,Kr=di!==fn&&xt,Er=Gt!==$e&&si;if(!Kr&&!Er&&!xt&&!si)return;if((Kr||Er||Hn[0]===1||Hn[1]===1)&&(Re.x=Kr?di:pe.x,Re.y=Er?Gt:pe.y,pe.x=Re.x,pe.y=Re.y,Xe.length>0)){const cu=di-fn,Fu=Gt-$e;for(const Rs of Xe)Rs.position={x:Rs.position.x-cu+Hn[0]*(rt-Mn),y:Rs.position.y-Fu+Hn[1]*(Jt-ye)},qe.push(Rs)}if((xt||si)&&(Re.width=xt&&(!k.resizeDirection||k.resizeDirection==="horizontal")?rt:pe.width,Re.height=si&&(!k.resizeDirection||k.resizeDirection==="vertical")?Jt:pe.height,pe.width=Re.width,pe.height=Re.height),ln&&ae.expandParent){const cu=Hn[0]*(Re.width??0);Re.x&&Re.x{xn&&(ee?.(vn,{...pe}),N?.({...pe}),xn=!1)});$.call(tt)}function U(){$.on(".drag",null)}return{update:H,destroy:U}}var F7e={exports:{}},J7e={},H7e={exports:{}},G7e={};var S1n;function qGn(){if(S1n)return G7e;S1n=1;var g=ZG();function E(W,Z){return W===Z&&(W!==0||1/W===1/Z)||W!==W&&Z!==Z}var x=typeof Object.is=="function"?Object.is:E,M=g.useState,N=g.useEffect,$=g.useLayoutEffect,k=g.useDebugValue;function H(W,Z){var se=Z(),oe=M({inst:{value:se,getSnapshot:Z}}),ee=oe[0].inst,Me=oe[1];return $(function(){ee.value=se,ee.getSnapshot=Z,U(ee)&&Me({inst:ee})},[W,se,Z]),N(function(){return U(ee)&&Me({inst:ee}),W(function(){U(ee)&&Me({inst:ee})})},[W]),k(se),se}function U(W){var Z=W.getSnapshot;W=W.value;try{var se=Z();return!x(W,se)}catch{return!0}}function G(W,Z){return Z()}var ie=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?G:H;return G7e.useSyncExternalStore=g.useSyncExternalStore!==void 0?g.useSyncExternalStore:ie,G7e}var x1n;function UGn(){return x1n||(x1n=1,H7e.exports=qGn()),H7e.exports}var A1n;function XGn(){if(A1n)return J7e;A1n=1;var g=ZG(),E=UGn();function x(G,ie){return G===ie&&(G!==0||1/G===1/ie)||G!==G&&ie!==ie}var M=typeof Object.is=="function"?Object.is:x,N=E.useSyncExternalStore,$=g.useRef,k=g.useEffect,H=g.useMemo,U=g.useDebugValue;return J7e.useSyncExternalStoreWithSelector=function(G,ie,W,Z,se){var oe=$(null);if(oe.current===null){var ee={hasValue:!1,value:null};oe.current=ee}else ee=oe.current;oe=H(function(){function pe(ln){if(!Pe){if(Pe=!0,ae=ln,ln=Z(ln),se!==void 0&&ee.hasValue){var on=ee.value;if(se(on,ln))return Ne=on}return Ne=ln}if(on=Ne,M(ae,ln))return on;var An=Z(ln);return se!==void 0&&se(on,An)?(ae=ln,on):(ae=ln,Ne=An)}var Pe=!1,ae,Ne,Xe=W===void 0?null:W;return[function(){return pe(ie())},Xe===null?void 0:function(){return pe(Xe())}]},[ie,W,Z,se]);var Me=N(G,oe[0],oe[1]);return k(function(){ee.hasValue=!0,ee.value=Me},[Me]),U(Me),Me},J7e}var M1n;function KGn(){return M1n||(M1n=1,F7e.exports=XGn()),F7e.exports}var VGn=KGn();const YGn=bke(VGn),QGn={},C1n=g=>{let E;const x=new Set,M=(ie,W)=>{const Z=typeof ie=="function"?ie(E):ie;if(!Object.is(Z,E)){const se=E;E=W??(typeof Z!="object"||Z===null)?Z:Object.assign({},E,Z),x.forEach(oe=>oe(E,se))}},N=()=>E,U={setState:M,getState:N,getInitialState:()=>G,subscribe:ie=>(x.add(ie),()=>x.delete(ie)),destroy:()=>{(QGn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),x.clear()}},G=E=g(M,N,U);return U},WGn=g=>g?C1n(g):C1n,{useDebugValue:ZGn}=uzn,{useSyncExternalStoreWithSelector:eqn}=YGn,nqn=g=>g;function b0n(g,E=nqn,x){const M=eqn(g.subscribe,g.getState,g.getServerState||g.getInitialState,E,x);return ZGn(M),M}const T1n=(g,E)=>{const x=WGn(g),M=(N,$=E)=>b0n(x,N,$);return Object.assign(M,x),M},tqn=(g,E)=>g?T1n(g,E):T1n;function jl(g,E){if(Object.is(g,E))return!0;if(typeof g!="object"||g===null||typeof E!="object"||E===null)return!1;if(g instanceof Map&&E instanceof Map){if(g.size!==E.size)return!1;for(const[M,N]of g)if(!Object.is(N,E.get(M)))return!1;return!0}if(g instanceof Set&&E instanceof Set){if(g.size!==E.size)return!1;for(const M of g)if(!E.has(M))return!1;return!0}const x=Object.keys(g);if(x.length!==Object.keys(E).length)return!1;for(const M of x)if(!Object.prototype.hasOwnProperty.call(E,M)||!Object.is(g[M],E[M]))return!1;return!0}var iqn=sdn();const Rue=Be.createContext(null),rqn=Rue.Provider,g0n=a5.error001();function zu(g,E){const x=Be.useContext(Rue);if(x===null)throw new Error(g0n);return b0n(x,g,E)}function El(){const g=Be.useContext(Rue);if(g===null)throw new Error(g0n);return Be.useMemo(()=>({getState:g.getState,setState:g.setState,subscribe:g.subscribe}),[g])}const O1n={display:"none"},cqn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},w0n="react-flow__node-desc",p0n="react-flow__edge-desc",uqn="react-flow__aria-live",oqn=g=>g.ariaLiveMessage,sqn=g=>g.ariaLabelConfig;function lqn({rfId:g}){const E=zu(oqn);return _.jsx("div",{id:`${uqn}-${g}`,"aria-live":"assertive","aria-atomic":"true",style:cqn,children:E})}function fqn({rfId:g,disableKeyboardA11y:E}){const x=zu(sqn);return _.jsxs(_.Fragment,{children:[_.jsx("div",{id:`${w0n}-${g}`,style:O1n,children:E?x["node.a11yDescription.default"]:x["node.a11yDescription.keyboardDisabled"]}),_.jsx("div",{id:`${p0n}-${g}`,style:O1n,children:x["edge.a11yDescription.default"]}),!E&&_.jsx(lqn,{rfId:g})]})}const Bue=Be.forwardRef(({position:g="top-left",children:E,className:x,style:M,...N},$)=>{const k=`${g}`.split("-");return _.jsx("div",{className:Ta(["react-flow__panel",x,...k]),style:M,ref:$,...N,children:E})});Bue.displayName="Panel";function aqn({proOptions:g,position:E="bottom-right"}){return g?.hideAttribution?null:_.jsx(Bue,{position:E,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:_.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const hqn=g=>{const E=[],x=[];for(const[,M]of g.nodeLookup)M.selected&&E.push(M.internals.userNode);for(const[,M]of g.edgeLookup)M.selected&&x.push(M);return{selectedNodes:E,selectedEdges:x}},rue=g=>g.id;function dqn(g,E){return jl(g.selectedNodes.map(rue),E.selectedNodes.map(rue))&&jl(g.selectedEdges.map(rue),E.selectedEdges.map(rue))}function bqn({onSelectionChange:g}){const E=El(),{selectedNodes:x,selectedEdges:M}=zu(hqn,dqn);return Be.useEffect(()=>{const N={nodes:x,edges:M};g?.(N),E.getState().onSelectionChangeHandlers.forEach($=>$(N))},[x,M,g]),null}const gqn=g=>!!g.onSelectionChangeHandlers;function wqn({onSelectionChange:g}){const E=zu(gqn);return g||E?_.jsx(bqn,{onSelectionChange:g}):null}const ake=typeof window<"u"?Be.useLayoutEffect:Be.useEffect,m0n=[0,0],pqn={x:0,y:0,zoom:1},mqn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],N1n=[...mqn,"rfId"],vqn=g=>({setNodes:g.setNodes,setEdges:g.setEdges,setMinZoom:g.setMinZoom,setMaxZoom:g.setMaxZoom,setTranslateExtent:g.setTranslateExtent,setNodeExtent:g.setNodeExtent,reset:g.reset,setDefaultNodesAndEdges:g.setDefaultNodesAndEdges}),I1n={translateExtent:XG,nodeOrigin:m0n,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function yqn(g){const{setNodes:E,setEdges:x,setMinZoom:M,setMaxZoom:N,setTranslateExtent:$,setNodeExtent:k,reset:H,setDefaultNodesAndEdges:U}=zu(vqn,jl),G=El();ake(()=>(U(g.defaultNodes,g.defaultEdges),()=>{ie.current=I1n,H()}),[]);const ie=Be.useRef(I1n);return ake(()=>{for(const W of N1n){const Z=g[W],se=ie.current[W];Z!==se&&(typeof g[W]>"u"||(W==="nodes"?E(Z):W==="edges"?x(Z):W==="minZoom"?M(Z):W==="maxZoom"?N(Z):W==="translateExtent"?$(Z):W==="nodeExtent"?k(Z):W==="ariaLabelConfig"?G.setState({ariaLabelConfig:tGn(Z)}):W==="fitView"?G.setState({fitViewQueued:Z}):W==="fitViewOptions"?G.setState({fitViewOptions:Z}):G.setState({[W]:Z})))}ie.current=g},N1n.map(W=>g[W])),null}function D1n(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function kqn(g){const[E,x]=Be.useState(g==="system"?null:g);return Be.useEffect(()=>{if(g!=="system"){x(g);return}const M=D1n(),N=()=>x(M?.matches?"dark":"light");return N(),M?.addEventListener("change",N),()=>{M?.removeEventListener("change",N)}},[g]),E!==null?E:D1n()?.matches?"dark":"light"}const _1n=typeof document<"u"?document:null;function WG(g=null,E={target:_1n,actInsideInputWithModifier:!0}){const[x,M]=Be.useState(!1),N=Be.useRef(!1),$=Be.useRef(new Set([])),[k,H]=Be.useMemo(()=>{if(g!==null){const G=(Array.isArray(g)?g:[g]).filter(W=>typeof W=="string").map(W=>W.replace("+",` -`).replace(` - -`,` -+`).split(` -`)),ie=G.reduce((W,Z)=>W.concat(...Z),[]);return[G,ie]}return[[],[]]},[g]);return Be.useEffect(()=>{const U=E?.target??_1n,G=E?.actInsideInputWithModifier??!0;if(g!==null){const ie=se=>{if(N.current=se.ctrlKey||se.metaKey||se.shiftKey||se.altKey,(!N.current||N.current&&!G)&&Qdn(se))return!1;const ee=P1n(se.code,H);if($.current.add(se[ee]),L1n(k,$.current,!1)){const Me=se.composedPath?.()?.[0]||se.target,pe=Me?.nodeName==="BUTTON"||Me?.nodeName==="A";E.preventDefault!==!1&&(N.current||!pe)&&se.preventDefault(),M(!0)}},W=se=>{const oe=P1n(se.code,H);L1n(k,$.current,!0)?(M(!1),$.current.clear()):$.current.delete(se[oe]),se.key==="Meta"&&$.current.clear(),N.current=!1},Z=()=>{$.current.clear(),M(!1)};return U?.addEventListener("keydown",ie),U?.addEventListener("keyup",W),window.addEventListener("blur",Z),window.addEventListener("contextmenu",Z),()=>{U?.removeEventListener("keydown",ie),U?.removeEventListener("keyup",W),window.removeEventListener("blur",Z),window.removeEventListener("contextmenu",Z)}}},[g,M]),x}function L1n(g,E,x){return g.filter(M=>x||M.length===E.size).some(M=>M.every(N=>E.has(N)))}function P1n(g,E){return E.includes(g)?"code":"key"}const jqn=()=>{const g=El();return Be.useMemo(()=>({zoomIn:E=>{const{panZoom:x}=g.getState();return x?x.scaleBy(1.2,E):Promise.resolve(!1)},zoomOut:E=>{const{panZoom:x}=g.getState();return x?x.scaleBy(1/1.2,E):Promise.resolve(!1)},zoomTo:(E,x)=>{const{panZoom:M}=g.getState();return M?M.scaleTo(E,x):Promise.resolve(!1)},getZoom:()=>g.getState().transform[2],setViewport:async(E,x)=>{const{transform:[M,N,$],panZoom:k}=g.getState();return k?(await k.setViewport({x:E.x??M,y:E.y??N,zoom:E.zoom??$},x),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[E,x,M]=g.getState().transform;return{x:E,y:x,zoom:M}},setCenter:async(E,x,M)=>g.getState().setCenter(E,x,M),fitBounds:async(E,x)=>{const{width:M,height:N,minZoom:$,maxZoom:k,panZoom:H}=g.getState(),U=Ske(E,M,N,$,k,x?.padding??.1);return H?(await H.setViewport(U,{duration:x?.duration,ease:x?.ease,interpolate:x?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(E,x={})=>{const{transform:M,snapGrid:N,snapToGrid:$,domNode:k}=g.getState();if(!k)return E;const{x:H,y:U}=k.getBoundingClientRect(),G={x:E.x-H,y:E.y-U},ie=x.snapGrid??N,W=x.snapToGrid??$;return cq(G,M,W,ie)},flowToScreenPosition:E=>{const{transform:x,domNode:M}=g.getState();if(!M)return E;const{x:N,y:$}=M.getBoundingClientRect(),k=xue(E,x);return{x:k.x+N,y:k.y+$}}}),[])};function v0n(g,E){const x=[],M=new Map,N=[];for(const $ of g)if($.type==="add"){N.push($);continue}else if($.type==="remove"||$.type==="replace")M.set($.id,[$]);else{const k=M.get($.id);k?k.push($):M.set($.id,[$])}for(const $ of E){const k=M.get($.id);if(!k){x.push($);continue}if(k[0].type==="remove")continue;if(k[0].type==="replace"){x.push({...k[0].item});continue}const H={...$};for(const U of k)Eqn(U,H);x.push(H)}return N.length&&N.forEach($=>{$.index!==void 0?x.splice($.index,0,{...$.item}):x.push({...$.item})}),x}function Eqn(g,E){switch(g.type){case"select":{E.selected=g.selected;break}case"position":{typeof g.position<"u"&&(E.position=g.position),typeof g.dragging<"u"&&(E.dragging=g.dragging);break}case"dimensions":{typeof g.dimensions<"u"&&(E.measured={...g.dimensions},g.setAttributes&&((g.setAttributes===!0||g.setAttributes==="width")&&(E.width=g.dimensions.width),(g.setAttributes===!0||g.setAttributes==="height")&&(E.height=g.dimensions.height))),typeof g.resizing=="boolean"&&(E.resizing=g.resizing);break}}}function y0n(g,E){return v0n(g,E)}function k0n(g,E){return v0n(g,E)}function yA(g,E){return{id:g,type:"select",selected:E}}function aD(g,E=new Set,x=!1){const M=[];for(const[N,$]of g){const k=E.has(N);!($.selected===void 0&&!k)&&$.selected!==k&&(x&&($.selected=k),M.push(yA($.id,k)))}return M}function $1n({items:g=[],lookup:E}){const x=[],M=new Map(g.map(N=>[N.id,N]));for(const[N,$]of g.entries()){const k=E.get($.id),H=k?.internals?.userNode??k;H!==void 0&&H!==$&&x.push({id:$.id,item:$,type:"replace"}),H===void 0&&x.push({item:$,type:"add",index:N})}for(const[N]of E)M.get(N)===void 0&&x.push({id:N,type:"remove"});return x}function R1n(g){return{id:g.id,type:"remove"}}const B1n=g=>UHn(g),Sqn=g=>Hdn(g);function j0n(g){return Be.forwardRef(g)}function z1n(g){const[E,x]=Be.useState(BigInt(0)),[M]=Be.useState(()=>xqn(()=>x(N=>N+BigInt(1))));return ake(()=>{const N=M.get();N.length&&(g(N),M.reset())},[E]),M}function xqn(g){let E=[];return{get:()=>E,reset:()=>{E=[]},push:x=>{E.push(x),g()}}}const E0n=Be.createContext(null);function Aqn({children:g}){const E=El(),x=Be.useCallback(H=>{const{nodes:U=[],setNodes:G,hasDefaultNodes:ie,onNodesChange:W,nodeLookup:Z,fitViewQueued:se,onNodesChangeMiddlewareMap:oe}=E.getState();let ee=U;for(const pe of H)ee=typeof pe=="function"?pe(ee):pe;let Me=$1n({items:ee,lookup:Z});for(const pe of oe.values())Me=pe(Me);ie&&G(ee),Me.length>0?W?.(Me):se&&window.requestAnimationFrame(()=>{const{fitViewQueued:pe,nodes:Pe,setNodes:ae}=E.getState();pe&&ae(Pe)})},[]),M=z1n(x),N=Be.useCallback(H=>{const{edges:U=[],setEdges:G,hasDefaultEdges:ie,onEdgesChange:W,edgeLookup:Z}=E.getState();let se=U;for(const oe of H)se=typeof oe=="function"?oe(se):oe;ie?G(se):W&&W($1n({items:se,lookup:Z}))},[]),$=z1n(N),k=Be.useMemo(()=>({nodeQueue:M,edgeQueue:$}),[]);return _.jsx(E0n.Provider,{value:k,children:g})}function Mqn(){const g=Be.useContext(E0n);if(!g)throw new Error("useBatchContext must be used within a BatchProvider");return g}const Cqn=g=>!!g.panZoom;function Nke(){const g=jqn(),E=El(),x=Mqn(),M=zu(Cqn),N=Be.useMemo(()=>{const $=W=>E.getState().nodeLookup.get(W),k=W=>{x.nodeQueue.push(W)},H=W=>{x.edgeQueue.push(W)},U=W=>{const{nodeLookup:Z,nodeOrigin:se}=E.getState(),oe=B1n(W)?W:Z.get(W.id),ee=oe.parentId?Vdn(oe.position,oe.measured,oe.parentId,Z,se):oe.position,Me={...oe,position:ee,width:oe.measured?.width??oe.width,height:oe.measured?.height??oe.height};return mD(Me)},G=(W,Z,se={replace:!1})=>{k(oe=>oe.map(ee=>{if(ee.id===W){const Me=typeof Z=="function"?Z(ee):Z;return se.replace&&B1n(Me)?Me:{...ee,...Me}}return ee}))},ie=(W,Z,se={replace:!1})=>{H(oe=>oe.map(ee=>{if(ee.id===W){const Me=typeof Z=="function"?Z(ee):Z;return se.replace&&Sqn(Me)?Me:{...ee,...Me}}return ee}))};return{getNodes:()=>E.getState().nodes.map(W=>({...W})),getNode:W=>$(W)?.internals.userNode,getInternalNode:$,getEdges:()=>{const{edges:W=[]}=E.getState();return W.map(Z=>({...Z}))},getEdge:W=>E.getState().edgeLookup.get(W),setNodes:k,setEdges:H,addNodes:W=>{const Z=Array.isArray(W)?W:[W];x.nodeQueue.push(se=>[...se,...Z])},addEdges:W=>{const Z=Array.isArray(W)?W:[W];x.edgeQueue.push(se=>[...se,...Z])},toObject:()=>{const{nodes:W=[],edges:Z=[],transform:se}=E.getState(),[oe,ee,Me]=se;return{nodes:W.map(pe=>({...pe})),edges:Z.map(pe=>({...pe})),viewport:{x:oe,y:ee,zoom:Me}}},deleteElements:async({nodes:W=[],edges:Z=[]})=>{const{nodes:se,edges:oe,onNodesDelete:ee,onEdgesDelete:Me,triggerNodeChanges:pe,triggerEdgeChanges:Pe,onDelete:ae,onBeforeDelete:Ne}=E.getState(),{nodes:Xe,edges:ln}=await QHn({nodesToRemove:W,edgesToRemove:Z,nodes:se,edges:oe,onBeforeDelete:Ne}),on=ln.length>0,An=Xe.length>0;if(on){const xn=ln.map(R1n);Me?.(ln),Pe(xn)}if(An){const xn=Xe.map(R1n);ee?.(Xe),pe(xn)}return(An||on)&&ae?.({nodes:Xe,edges:ln}),{deletedNodes:Xe,deletedEdges:ln}},getIntersectingNodes:(W,Z=!0,se)=>{const oe=a1n(W),ee=oe?W:U(W),Me=se!==void 0;return ee?(se||E.getState().nodes).filter(pe=>{const Pe=E.getState().nodeLookup.get(pe.id);if(Pe&&!oe&&(pe.id===W.id||!Pe.internals.positionAbsolute))return!1;const ae=mD(Me?pe:Pe),Ne=YG(ae,ee);return Z&&Ne>0||Ne>=ae.width*ae.height||Ne>=ee.width*ee.height}):[]},isNodeIntersecting:(W,Z,se=!0)=>{const ee=a1n(W)?W:U(W);if(!ee)return!1;const Me=YG(ee,Z);return se&&Me>0||Me>=Z.width*Z.height||Me>=ee.width*ee.height},updateNode:G,updateNodeData:(W,Z,se={replace:!1})=>{G(W,oe=>{const ee=typeof Z=="function"?Z(oe):Z;return se.replace?{...oe,data:ee}:{...oe,data:{...oe.data,...ee}}},se)},updateEdge:ie,updateEdgeData:(W,Z,se={replace:!1})=>{ie(W,oe=>{const ee=typeof Z=="function"?Z(oe):Z;return se.replace?{...oe,data:ee}:{...oe,data:{...oe.data,...ee}}},se)},getNodesBounds:W=>{const{nodeLookup:Z,nodeOrigin:se}=E.getState();return XHn(W,{nodeLookup:Z,nodeOrigin:se})},getHandleConnections:({type:W,id:Z,nodeId:se})=>Array.from(E.getState().connectionLookup.get(`${se}-${W}${Z?`-${Z}`:""}`)?.values()??[]),getNodeConnections:({type:W,handleId:Z,nodeId:se})=>Array.from(E.getState().connectionLookup.get(`${se}${W?Z?`-${W}-${Z}`:`-${W}`:""}`)?.values()??[]),fitView:async W=>{const Z=E.getState().fitViewResolver??nGn();return E.setState({fitViewQueued:!0,fitViewOptions:W,fitViewResolver:Z}),x.nodeQueue.push(se=>[...se]),Z.promise}}},[]);return Be.useMemo(()=>({...N,...g,viewportInitialized:M}),[M])}const F1n=g=>g.selected,Tqn=typeof window<"u"?window:void 0;function Oqn({deleteKeyCode:g,multiSelectionKeyCode:E}){const x=El(),{deleteElements:M}=Nke(),N=WG(g,{actInsideInputWithModifier:!1}),$=WG(E,{target:Tqn});Be.useEffect(()=>{if(N){const{edges:k,nodes:H}=x.getState();M({nodes:H.filter(F1n),edges:k.filter(F1n)}),x.setState({nodesSelectionActive:!1})}},[N]),Be.useEffect(()=>{x.setState({multiSelectionActive:$})},[$])}function Nqn(g){const E=El();Be.useEffect(()=>{const x=()=>{if(!g.current||!(g.current.checkVisibility?.()??!0))return!1;const M=xke(g.current);(M.height===0||M.width===0)&&E.getState().onError?.("004",a5.error004()),E.setState({width:M.width||500,height:M.height||500})};if(g.current){x(),window.addEventListener("resize",x);const M=new ResizeObserver(()=>x());return M.observe(g.current),()=>{window.removeEventListener("resize",x),M&&g.current&&M.unobserve(g.current)}}},[])}const zue={position:"absolute",width:"100%",height:"100%",top:0,left:0},Iqn=g=>({userSelectionActive:g.userSelectionActive,lib:g.lib,connectionInProgress:g.connection.inProgress});function Dqn({onPaneContextMenu:g,zoomOnScroll:E=!0,zoomOnPinch:x=!0,panOnScroll:M=!1,panOnScrollSpeed:N=.5,panOnScrollMode:$=EA.Free,zoomOnDoubleClick:k=!0,panOnDrag:H=!0,defaultViewport:U,translateExtent:G,minZoom:ie,maxZoom:W,zoomActivationKeyCode:Z,preventScrolling:se=!0,children:oe,noWheelClassName:ee,noPanClassName:Me,onViewportChange:pe,isControlledViewport:Pe,paneClickDistance:ae,selectionOnDrag:Ne}){const Xe=El(),ln=Be.useRef(null),{userSelectionActive:on,lib:An,connectionInProgress:xn}=zu(Iqn,jl),tt=WG(Z),vn=Be.useRef();Nqn(ln);const wn=Be.useCallback(Y=>{pe?.({x:Y[0],y:Y[1],zoom:Y[2]}),Pe||Xe.setState({transform:Y})},[pe,Pe]);return Be.useEffect(()=>{if(ln.current){vn.current=RGn({domNode:ln.current,minZoom:ie,maxZoom:W,translateExtent:G,viewport:U,onDraggingChange:xe=>Xe.setState(qe=>qe.paneDragging===xe?qe:{paneDragging:xe}),onPanZoomStart:(xe,qe)=>{const{onViewportChangeStart:fn,onMoveStart:$e}=Xe.getState();$e?.(xe,qe),fn?.(qe)},onPanZoom:(xe,qe)=>{const{onViewportChange:fn,onMove:$e}=Xe.getState();$e?.(xe,qe),fn?.(qe)},onPanZoomEnd:(xe,qe)=>{const{onViewportChangeEnd:fn,onMoveEnd:$e}=Xe.getState();$e?.(xe,qe),fn?.(qe)}});const{x:Y,y:Je,zoom:pn}=vn.current.getViewport();return Xe.setState({panZoom:vn.current,transform:[Y,Je,pn],domNode:ln.current.closest(".react-flow")}),()=>{vn.current?.destroy()}}},[]),Be.useEffect(()=>{vn.current?.update({onPaneContextMenu:g,zoomOnScroll:E,zoomOnPinch:x,panOnScroll:M,panOnScrollSpeed:N,panOnScrollMode:$,zoomOnDoubleClick:k,panOnDrag:H,zoomActivationKeyPressed:tt,preventScrolling:se,noPanClassName:Me,userSelectionActive:on,noWheelClassName:ee,lib:An,onTransformChange:wn,connectionInProgress:xn,selectionOnDrag:Ne,paneClickDistance:ae})},[g,E,x,M,N,$,k,H,tt,se,Me,on,ee,An,wn,xn,Ne,ae]),_.jsx("div",{className:"react-flow__renderer",ref:ln,style:zue,children:oe})}const _qn=g=>({userSelectionActive:g.userSelectionActive,userSelectionRect:g.userSelectionRect});function Lqn(){const{userSelectionActive:g,userSelectionRect:E}=zu(_qn,jl);return g&&E?_.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:E.width,height:E.height,transform:`translate(${E.x}px, ${E.y}px)`}}):null}const q7e=(g,E)=>x=>{x.target===E.current&&g?.(x)},Pqn=g=>({userSelectionActive:g.userSelectionActive,elementsSelectable:g.elementsSelectable,connectionInProgress:g.connection.inProgress,dragging:g.paneDragging});function $qn({isSelecting:g,selectionKeyPressed:E,selectionMode:x=KG.Full,panOnDrag:M,paneClickDistance:N,selectionOnDrag:$,onSelectionStart:k,onSelectionEnd:H,onPaneClick:U,onPaneContextMenu:G,onPaneScroll:ie,onPaneMouseEnter:W,onPaneMouseMove:Z,onPaneMouseLeave:se,children:oe}){const ee=El(),{userSelectionActive:Me,elementsSelectable:pe,dragging:Pe,connectionInProgress:ae}=zu(Pqn,jl),Ne=pe&&(g||Me),Xe=Be.useRef(null),ln=Be.useRef(),on=Be.useRef(new Set),An=Be.useRef(new Set),xn=Be.useRef(!1),tt=fn=>{if(xn.current||ae){xn.current=!1;return}U?.(fn),ee.getState().resetSelectedElements(),ee.setState({nodesSelectionActive:!1})},vn=fn=>{if(Array.isArray(M)&&M?.includes(2)){fn.preventDefault();return}G?.(fn)},wn=ie?fn=>ie(fn):void 0,Y=fn=>{xn.current&&(fn.stopPropagation(),xn.current=!1)},Je=fn=>{const{domNode:$e}=ee.getState();if(ln.current=$e?.getBoundingClientRect(),!ln.current)return;const Mn=fn.target===Xe.current;if(!Mn&&!!fn.target.closest(".nokey")||!g||!($&&Mn||E)||fn.button!==0||!fn.isPrimary)return;fn.target?.setPointerCapture?.(fn.pointerId),xn.current=!1;const{x:Hn,y:rt}=tv(fn.nativeEvent,ln.current);ee.setState({userSelectionRect:{width:0,height:0,startX:Hn,startY:rt,x:Hn,y:rt}}),Mn||(fn.stopPropagation(),fn.preventDefault())},pn=fn=>{const{userSelectionRect:$e,transform:Mn,nodeLookup:ye,edgeLookup:Re,connectionLookup:Hn,triggerNodeChanges:rt,triggerEdgeChanges:Jt,defaultEdgeOptions:di,resetSelectedElements:Gt}=ee.getState();if(!ln.current||!$e)return;const{x:xt,y:si}=tv(fn.nativeEvent,ln.current),{startX:Kr,startY:Er}=$e;if(!xn.current){const Fu=E?0:N;if(Math.hypot(xt-Kr,si-Er)<=Fu)return;Gt(),k?.(fn)}xn.current=!0;const Mt={startX:Kr,startY:Er,x:xtFu.id)),An.current=new Set;const cu=di?.selectable??!0;for(const Fu of on.current){const Rs=Hn.get(Fu);if(Rs)for(const{edgeId:ia}of Rs.values()){const ef=Re.get(ia);ef&&(ef.selectable??cu)&&An.current.add(ia)}}if(!h1n(bi,on.current)){const Fu=aD(ye,on.current,!0);rt(Fu)}if(!h1n(zi,An.current)){const Fu=aD(Re,An.current);Jt(Fu)}ee.setState({userSelectionRect:Mt,userSelectionActive:!0,nodesSelectionActive:!1})},xe=fn=>{fn.button===0&&(fn.target?.releasePointerCapture?.(fn.pointerId),!Me&&fn.target===Xe.current&&ee.getState().userSelectionRect&&tt?.(fn),ee.setState({userSelectionActive:!1,userSelectionRect:null}),xn.current&&(H?.(fn),ee.setState({nodesSelectionActive:on.current.size>0})))},qe=M===!0||Array.isArray(M)&&M.includes(0);return _.jsxs("div",{className:Ta(["react-flow__pane",{draggable:qe,dragging:Pe,selection:g}]),onClick:Ne?void 0:q7e(tt,Xe),onContextMenu:q7e(vn,Xe),onWheel:q7e(wn,Xe),onPointerEnter:Ne?void 0:W,onPointerMove:Ne?pn:Z,onPointerUp:Ne?xe:void 0,onPointerDownCapture:Ne?Je:void 0,onClickCapture:Ne?Y:void 0,onPointerLeave:se,ref:Xe,style:zue,children:[oe,_.jsx(Lqn,{})]})}function hke({id:g,store:E,unselect:x=!1,nodeRef:M}){const{addSelectedNodes:N,unselectNodesAndEdges:$,multiSelectionActive:k,nodeLookup:H,onError:U}=E.getState(),G=H.get(g);if(!G){U?.("012",a5.error012(g));return}E.setState({nodesSelectionActive:!1}),G.selected?(x||G.selected&&k)&&($({nodes:[G],edges:[]}),requestAnimationFrame(()=>M?.current?.blur())):N([g])}function S0n({nodeRef:g,disabled:E=!1,noDragClassName:x,handleSelector:M,nodeId:N,isSelectable:$,nodeClickDistance:k}){const H=El(),[U,G]=Be.useState(!1),ie=Be.useRef();return Be.useEffect(()=>{ie.current=SGn({getStoreItems:()=>H.getState(),onNodeMouseDown:W=>{hke({id:W,store:H,nodeRef:g})},onDragStart:()=>{G(!0)},onDragStop:()=>{G(!1)}})},[]),Be.useEffect(()=>{if(!(E||!g.current||!ie.current))return ie.current.update({noDragClassName:x,handleSelector:M,domNode:g.current,isSelectable:$,nodeId:N,nodeClickDistance:k}),()=>{ie.current?.destroy()}},[x,M,E,$,g,N,k]),U}const Rqn=g=>E=>E.selected&&(E.draggable||g&&typeof E.draggable>"u");function x0n(){const g=El();return Be.useCallback(x=>{const{nodeExtent:M,snapToGrid:N,snapGrid:$,nodesDraggable:k,onError:H,updateNodePositions:U,nodeLookup:G,nodeOrigin:ie}=g.getState(),W=new Map,Z=Rqn(k),se=N?$[0]:5,oe=N?$[1]:5,ee=x.direction.x*se*x.factor,Me=x.direction.y*oe*x.factor;for(const[,pe]of G){if(!Z(pe))continue;let Pe={x:pe.internals.positionAbsolute.x+ee,y:pe.internals.positionAbsolute.y+Me};N&&(Pe=rq(Pe,$));const{position:ae,positionAbsolute:Ne}=Gdn({nodeId:pe.id,nextPosition:Pe,nodeLookup:G,nodeExtent:M,nodeOrigin:ie,onError:H});pe.position=ae,pe.internals.positionAbsolute=Ne,W.set(pe.id,pe)}U(W)},[])}const Ike=Be.createContext(null),Bqn=Ike.Provider;Ike.Consumer;const A0n=()=>Be.useContext(Ike),zqn=g=>({connectOnClick:g.connectOnClick,noPanClassName:g.noPanClassName,rfId:g.rfId}),Fqn=(g,E,x)=>M=>{const{connectionClickStartHandle:N,connectionMode:$,connection:k}=M,{fromHandle:H,toHandle:U,isValid:G}=k,ie=U?.nodeId===g&&U?.id===E&&U?.type===x;return{connectingFrom:H?.nodeId===g&&H?.id===E&&H?.type===x,connectingTo:ie,clickConnecting:N?.nodeId===g&&N?.id===E&&N?.type===x,isPossibleEndHandle:$===wD.Strict?H?.type!==x:g!==H?.nodeId||E!==H?.id,connectionInProcess:!!H,clickConnectionInProcess:!!N,valid:ie&&G}};function Jqn({type:g="source",position:E=ur.Top,isValidConnection:x,isConnectable:M=!0,isConnectableStart:N=!0,isConnectableEnd:$=!0,id:k,onConnect:H,children:U,className:G,onMouseDown:ie,onTouchStart:W,...Z},se){const oe=k||null,ee=g==="target",Me=El(),pe=A0n(),{connectOnClick:Pe,noPanClassName:ae,rfId:Ne}=zu(zqn,jl),{connectingFrom:Xe,connectingTo:ln,clickConnecting:on,isPossibleEndHandle:An,connectionInProcess:xn,clickConnectionInProcess:tt,valid:vn}=zu(Fqn(pe,oe,g),jl);pe||Me.getState().onError?.("010",a5.error010());const wn=pn=>{const{defaultEdgeOptions:xe,onConnect:qe,hasDefaultEdges:fn}=Me.getState(),$e={...xe,...pn};if(fn){const{edges:Mn,setEdges:ye}=Me.getState();ye(sGn($e,Mn))}qe?.($e),H?.($e)},Y=pn=>{if(!pe)return;const xe=Wdn(pn.nativeEvent);if(N&&(xe&&pn.button===0||!xe)){const qe=Me.getState();fke.onPointerDown(pn.nativeEvent,{handleDomNode:pn.currentTarget,autoPanOnConnect:qe.autoPanOnConnect,connectionMode:qe.connectionMode,connectionRadius:qe.connectionRadius,domNode:qe.domNode,nodeLookup:qe.nodeLookup,lib:qe.lib,isTarget:ee,handleId:oe,nodeId:pe,flowId:qe.rfId,panBy:qe.panBy,cancelConnection:qe.cancelConnection,onConnectStart:qe.onConnectStart,onConnectEnd:(...fn)=>Me.getState().onConnectEnd?.(...fn),updateConnection:qe.updateConnection,onConnect:wn,isValidConnection:x||((...fn)=>Me.getState().isValidConnection?.(...fn)??!0),getTransform:()=>Me.getState().transform,getFromHandle:()=>Me.getState().connection.fromHandle,autoPanSpeed:qe.autoPanSpeed,dragThreshold:qe.connectionDragThreshold})}xe?ie?.(pn):W?.(pn)},Je=pn=>{const{onClickConnectStart:xe,onClickConnectEnd:qe,connectionClickStartHandle:fn,connectionMode:$e,isValidConnection:Mn,lib:ye,rfId:Re,nodeLookup:Hn,connection:rt}=Me.getState();if(!pe||!fn&&!N)return;if(!fn){xe?.(pn.nativeEvent,{nodeId:pe,handleId:oe,handleType:g}),Me.setState({connectionClickStartHandle:{nodeId:pe,type:g,id:oe}});return}const Jt=Ydn(pn.target),di=x||Mn,{connection:Gt,isValid:xt}=fke.isValid(pn.nativeEvent,{handle:{nodeId:pe,id:oe,type:g},connectionMode:$e,fromNodeId:fn.nodeId,fromHandleId:fn.id||null,fromType:fn.type,isValidConnection:di,flowId:Re,doc:Jt,lib:ye,nodeLookup:Hn});xt&&Gt&&wn(Gt);const si=structuredClone(rt);delete si.inProgress,si.toPosition=si.toHandle?si.toHandle.position:null,qe?.(pn,si),Me.setState({connectionClickStartHandle:null})};return _.jsx("div",{"data-handleid":oe,"data-nodeid":pe,"data-handlepos":E,"data-id":`${Ne}-${pe}-${oe}-${g}`,className:Ta(["react-flow__handle",`react-flow__handle-${E}`,"nodrag",ae,G,{source:!ee,target:ee,connectable:M,connectablestart:N,connectableend:$,clickconnecting:on,connectingfrom:Xe,connectingto:ln,valid:vn,connectionindicator:M&&(!xn||An)&&(xn||tt?$:N)}]),onMouseDown:Y,onTouchStart:Y,onClick:Pe?Je:void 0,ref:se,...Z,children:U})}const h5=Be.memo(j0n(Jqn));function Hqn({data:g,isConnectable:E,sourcePosition:x=ur.Bottom}){return _.jsxs(_.Fragment,{children:[g?.label,_.jsx(h5,{type:"source",position:x,isConnectable:E})]})}function Gqn({data:g,isConnectable:E,targetPosition:x=ur.Top,sourcePosition:M=ur.Bottom}){return _.jsxs(_.Fragment,{children:[_.jsx(h5,{type:"target",position:x,isConnectable:E}),g?.label,_.jsx(h5,{type:"source",position:M,isConnectable:E})]})}function qqn(){return null}function Uqn({data:g,isConnectable:E,targetPosition:x=ur.Top}){return _.jsxs(_.Fragment,{children:[_.jsx(h5,{type:"target",position:x,isConnectable:E}),g?.label]})}const Mue={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},J1n={input:Hqn,default:Gqn,output:Uqn,group:qqn};function Xqn(g){return g.internals.handleBounds===void 0?{width:g.width??g.initialWidth??g.style?.width,height:g.height??g.initialHeight??g.style?.height}:{width:g.width??g.style?.width,height:g.height??g.style?.height}}const Kqn=g=>{const{width:E,height:x,x:M,y:N}=iq(g.nodeLookup,{filter:$=>!!$.selected});return{width:nv(E)?E:null,height:nv(x)?x:null,userSelectionActive:g.userSelectionActive,transformString:`translate(${g.transform[0]}px,${g.transform[1]}px) scale(${g.transform[2]}) translate(${M}px,${N}px)`}};function Vqn({onSelectionContextMenu:g,noPanClassName:E,disableKeyboardA11y:x}){const M=El(),{width:N,height:$,transformString:k,userSelectionActive:H}=zu(Kqn,jl),U=x0n(),G=Be.useRef(null);Be.useEffect(()=>{x||G.current?.focus({preventScroll:!0})},[x]);const ie=!H&&N!==null&&$!==null;if(S0n({nodeRef:G,disabled:!ie}),!ie)return null;const W=g?se=>{const oe=M.getState().nodes.filter(ee=>ee.selected);g(se,oe)}:void 0,Z=se=>{Object.prototype.hasOwnProperty.call(Mue,se.key)&&(se.preventDefault(),U({direction:Mue[se.key],factor:se.shiftKey?4:1}))};return _.jsx("div",{className:Ta(["react-flow__nodesselection","react-flow__container",E]),style:{transform:k},children:_.jsx("div",{ref:G,className:"react-flow__nodesselection-rect",onContextMenu:W,tabIndex:x?void 0:-1,onKeyDown:x?void 0:Z,style:{width:N,height:$}})})}const H1n=typeof window<"u"?window:void 0,Yqn=g=>({nodesSelectionActive:g.nodesSelectionActive,userSelectionActive:g.userSelectionActive});function M0n({children:g,onPaneClick:E,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,paneClickDistance:H,deleteKeyCode:U,selectionKeyCode:G,selectionOnDrag:ie,selectionMode:W,onSelectionStart:Z,onSelectionEnd:se,multiSelectionKeyCode:oe,panActivationKeyCode:ee,zoomActivationKeyCode:Me,elementsSelectable:pe,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Ne,panOnScrollSpeed:Xe,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:An,defaultViewport:xn,translateExtent:tt,minZoom:vn,maxZoom:wn,preventScrolling:Y,onSelectionContextMenu:Je,noWheelClassName:pn,noPanClassName:xe,disableKeyboardA11y:qe,onViewportChange:fn,isControlledViewport:$e}){const{nodesSelectionActive:Mn,userSelectionActive:ye}=zu(Yqn,jl),Re=WG(G,{target:H1n}),Hn=WG(ee,{target:H1n}),rt=Hn||An,Jt=Hn||Ne,di=ie&&rt!==!0,Gt=Re||ye||di;return Oqn({deleteKeyCode:U,multiSelectionKeyCode:oe}),_.jsx(Dqn,{onPaneContextMenu:$,elementsSelectable:pe,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Jt,panOnScrollSpeed:Xe,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:!Re&&rt,defaultViewport:xn,translateExtent:tt,minZoom:vn,maxZoom:wn,zoomActivationKeyCode:Me,preventScrolling:Y,noWheelClassName:pn,noPanClassName:xe,onViewportChange:fn,isControlledViewport:$e,paneClickDistance:H,selectionOnDrag:di,children:_.jsxs($qn,{onSelectionStart:Z,onSelectionEnd:se,onPaneClick:E,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,panOnDrag:rt,isSelecting:!!Gt,selectionMode:W,selectionKeyPressed:Re,paneClickDistance:H,selectionOnDrag:di,children:[g,Mn&&_.jsx(Vqn,{onSelectionContextMenu:Je,noPanClassName:xe,disableKeyboardA11y:qe})]})})}M0n.displayName="FlowRenderer";const Qqn=Be.memo(M0n),Wqn=g=>E=>g?Eke(E.nodeLookup,{x:0,y:0,width:E.width,height:E.height},E.transform,!0).map(x=>x.id):Array.from(E.nodeLookup.keys());function Zqn(g){return zu(Be.useCallback(Wqn(g),[g]),jl)}const eUn=g=>g.updateNodeInternals;function nUn(){const g=zu(eUn),[E]=Be.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(x=>{const M=new Map;x.forEach(N=>{const $=N.target.getAttribute("data-id");M.set($,{id:$,nodeElement:N.target,force:!0})}),g(M)}));return Be.useEffect(()=>()=>{E?.disconnect()},[E]),E}function tUn({node:g,nodeType:E,hasDimensions:x,resizeObserver:M}){const N=El(),$=Be.useRef(null),k=Be.useRef(null),H=Be.useRef(g.sourcePosition),U=Be.useRef(g.targetPosition),G=Be.useRef(E),ie=x&&!!g.internals.handleBounds;return Be.useEffect(()=>{$.current&&!g.hidden&&(!ie||k.current!==$.current)&&(k.current&&M?.unobserve(k.current),M?.observe($.current),k.current=$.current)},[ie,g.hidden]),Be.useEffect(()=>()=>{k.current&&(M?.unobserve(k.current),k.current=null)},[]),Be.useEffect(()=>{if($.current){const W=G.current!==E,Z=H.current!==g.sourcePosition,se=U.current!==g.targetPosition;(W||Z||se)&&(G.current=E,H.current=g.sourcePosition,U.current=g.targetPosition,N.getState().updateNodeInternals(new Map([[g.id,{id:g.id,nodeElement:$.current,force:!0}]])))}},[g.id,E,g.sourcePosition,g.targetPosition]),$}function iUn({id:g,onClick:E,onMouseEnter:x,onMouseMove:M,onMouseLeave:N,onContextMenu:$,onDoubleClick:k,nodesDraggable:H,elementsSelectable:U,nodesConnectable:G,nodesFocusable:ie,resizeObserver:W,noDragClassName:Z,noPanClassName:se,disableKeyboardA11y:oe,rfId:ee,nodeTypes:Me,nodeClickDistance:pe,onError:Pe}){const{node:ae,internals:Ne,isParent:Xe}=zu(xt=>{const si=xt.nodeLookup.get(g),Kr=xt.parentLookup.has(g);return{node:si,internals:si.internals,isParent:Kr}},jl);let ln=ae.type||"default",on=Me?.[ln]||J1n[ln];on===void 0&&(Pe?.("003",a5.error003(ln)),ln="default",on=Me?.default||J1n.default);const An=!!(ae.draggable||H&&typeof ae.draggable>"u"),xn=!!(ae.selectable||U&&typeof ae.selectable>"u"),tt=!!(ae.connectable||G&&typeof ae.connectable>"u"),vn=!!(ae.focusable||ie&&typeof ae.focusable>"u"),wn=El(),Y=Kdn(ae),Je=tUn({node:ae,nodeType:ln,hasDimensions:Y,resizeObserver:W}),pn=S0n({nodeRef:Je,disabled:ae.hidden||!An,noDragClassName:Z,handleSelector:ae.dragHandle,nodeId:g,isSelectable:xn,nodeClickDistance:pe}),xe=x0n();if(ae.hidden)return null;const qe=s6(ae),fn=Xqn(ae),$e=xn||An||E||x||M||N,Mn=x?xt=>x(xt,{...Ne.userNode}):void 0,ye=M?xt=>M(xt,{...Ne.userNode}):void 0,Re=N?xt=>N(xt,{...Ne.userNode}):void 0,Hn=$?xt=>$(xt,{...Ne.userNode}):void 0,rt=k?xt=>k(xt,{...Ne.userNode}):void 0,Jt=xt=>{const{selectNodesOnDrag:si,nodeDragThreshold:Kr}=wn.getState();xn&&(!si||!An||Kr>0)&&hke({id:g,store:wn,nodeRef:Je}),E&&E(xt,{...Ne.userNode})},di=xt=>{if(!(Qdn(xt.nativeEvent)||oe)){if(Bdn.includes(xt.key)&&xn){const si=xt.key==="Escape";hke({id:g,store:wn,unselect:si,nodeRef:Je})}else if(An&&ae.selected&&Object.prototype.hasOwnProperty.call(Mue,xt.key)){xt.preventDefault();const{ariaLabelConfig:si}=wn.getState();wn.setState({ariaLiveMessage:si["node.a11yDescription.ariaLiveMessage"]({direction:xt.key.replace("Arrow","").toLowerCase(),x:~~Ne.positionAbsolute.x,y:~~Ne.positionAbsolute.y})}),xe({direction:Mue[xt.key],factor:xt.shiftKey?4:1})}}},Gt=()=>{if(oe||!Je.current?.matches(":focus-visible"))return;const{transform:xt,width:si,height:Kr,autoPanOnNodeFocus:Er,setCenter:Mt}=wn.getState();if(!Er)return;Eke(new Map([[g,ae]]),{x:0,y:0,width:si,height:Kr},xt,!0).length>0||Mt(ae.position.x+qe.width/2,ae.position.y+qe.height/2,{zoom:xt[2]})};return _.jsx("div",{className:Ta(["react-flow__node",`react-flow__node-${ln}`,{[se]:An},ae.className,{selected:ae.selected,selectable:xn,parent:Xe,draggable:An,dragging:pn}]),ref:Je,style:{zIndex:Ne.z,transform:`translate(${Ne.positionAbsolute.x}px,${Ne.positionAbsolute.y}px)`,pointerEvents:$e?"all":"none",visibility:Y?"visible":"hidden",...ae.style,...fn},"data-id":g,"data-testid":`rf__node-${g}`,onMouseEnter:Mn,onMouseMove:ye,onMouseLeave:Re,onContextMenu:Hn,onClick:Jt,onDoubleClick:rt,onKeyDown:vn?di:void 0,tabIndex:vn?0:void 0,onFocus:vn?Gt:void 0,role:ae.ariaRole??(vn?"group":void 0),"aria-roledescription":"node","aria-describedby":oe?void 0:`${w0n}-${ee}`,"aria-label":ae.ariaLabel,...ae.domAttributes,children:_.jsx(Bqn,{value:g,children:_.jsx(on,{id:g,data:ae.data,type:ln,positionAbsoluteX:Ne.positionAbsolute.x,positionAbsoluteY:Ne.positionAbsolute.y,selected:ae.selected??!1,selectable:xn,draggable:An,deletable:ae.deletable??!0,isConnectable:tt,sourcePosition:ae.sourcePosition,targetPosition:ae.targetPosition,dragging:pn,dragHandle:ae.dragHandle,zIndex:Ne.z,parentId:ae.parentId,...qe})})})}var rUn=Be.memo(iUn);const cUn=g=>({nodesDraggable:g.nodesDraggable,nodesConnectable:g.nodesConnectable,nodesFocusable:g.nodesFocusable,elementsSelectable:g.elementsSelectable,onError:g.onError});function C0n(g){const{nodesDraggable:E,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,onError:$}=zu(cUn,jl),k=Zqn(g.onlyRenderVisibleElements),H=nUn();return _.jsx("div",{className:"react-flow__nodes",style:zue,children:k.map(U=>_.jsx(rUn,{id:U,nodeTypes:g.nodeTypes,nodeExtent:g.nodeExtent,onClick:g.onNodeClick,onMouseEnter:g.onNodeMouseEnter,onMouseMove:g.onNodeMouseMove,onMouseLeave:g.onNodeMouseLeave,onContextMenu:g.onNodeContextMenu,onDoubleClick:g.onNodeDoubleClick,noDragClassName:g.noDragClassName,noPanClassName:g.noPanClassName,rfId:g.rfId,disableKeyboardA11y:g.disableKeyboardA11y,resizeObserver:H,nodesDraggable:E,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,nodeClickDistance:g.nodeClickDistance,onError:$},U))})}C0n.displayName="NodeRenderer";const uUn=Be.memo(C0n);function oUn(g){return zu(Be.useCallback(x=>{if(!g)return x.edges.map(N=>N.id);const M=[];if(x.width&&x.height)for(const N of x.edges){const $=x.nodeLookup.get(N.source),k=x.nodeLookup.get(N.target);$&&k&&cGn({sourceNode:$,targetNode:k,width:x.width,height:x.height,transform:x.transform})&&M.push(N.id)}return M},[g]),jl)}const sUn=({color:g="none",strokeWidth:E=1})=>{const x={strokeWidth:E,...g&&{stroke:g}};return _.jsx("polyline",{className:"arrow",style:x,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},lUn=({color:g="none",strokeWidth:E=1})=>{const x={strokeWidth:E,...g&&{stroke:g,fill:g}};return _.jsx("polyline",{className:"arrowclosed",style:x,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},G1n={[VG.Arrow]:sUn,[VG.ArrowClosed]:lUn};function fUn(g){const E=El();return Be.useMemo(()=>Object.prototype.hasOwnProperty.call(G1n,g)?G1n[g]:(E.getState().onError?.("009",a5.error009(g)),null),[g])}const aUn=({id:g,type:E,color:x,width:M=12.5,height:N=12.5,markerUnits:$="strokeWidth",strokeWidth:k,orient:H="auto-start-reverse"})=>{const U=fUn(E);return U?_.jsx("marker",{className:"react-flow__arrowhead",id:g,markerWidth:`${M}`,markerHeight:`${N}`,viewBox:"-10 -10 20 20",markerUnits:$,orient:H,refX:"0",refY:"0",children:_.jsx(U,{color:x,strokeWidth:k})}):null},T0n=({defaultColor:g,rfId:E})=>{const x=zu($=>$.edges),M=zu($=>$.defaultEdgeOptions),N=Be.useMemo(()=>dGn(x,{id:E,defaultColor:g,defaultMarkerStart:M?.markerStart,defaultMarkerEnd:M?.markerEnd}),[x,M,E,g]);return N.length?_.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:_.jsx("defs",{children:N.map($=>_.jsx(aUn,{id:$.id,type:$.type,color:$.color,width:$.width,height:$.height,markerUnits:$.markerUnits,strokeWidth:$.strokeWidth,orient:$.orient},$.id))})}):null};T0n.displayName="MarkerDefinitions";var hUn=Be.memo(T0n);function O0n({x:g,y:E,label:x,labelStyle:M,labelShowBg:N=!0,labelBgStyle:$,labelBgPadding:k=[2,4],labelBgBorderRadius:H=2,children:U,className:G,...ie}){const[W,Z]=Be.useState({x:1,y:0,width:0,height:0}),se=Ta(["react-flow__edge-textwrapper",G]),oe=Be.useRef(null);return Be.useEffect(()=>{if(oe.current){const ee=oe.current.getBBox();Z({x:ee.x,y:ee.y,width:ee.width,height:ee.height})}},[x]),x?_.jsxs("g",{transform:`translate(${g-W.width/2} ${E-W.height/2})`,className:se,visibility:W.width?"visible":"hidden",...ie,children:[N&&_.jsx("rect",{width:W.width+2*k[0],x:-k[0],y:-k[1],height:W.height+2*k[1],className:"react-flow__edge-textbg",style:$,rx:H,ry:H}),_.jsx("text",{className:"react-flow__edge-text",y:W.height/2,dy:"0.3em",ref:oe,style:M,children:x}),U]}):null}O0n.displayName="EdgeText";const dUn=Be.memo(O0n);function uq({path:g,labelX:E,labelY:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:H,labelBgBorderRadius:U,interactionWidth:G=20,...ie}){return _.jsxs(_.Fragment,{children:[_.jsx("path",{...ie,d:g,fill:"none",className:Ta(["react-flow__edge-path",ie.className])}),G?_.jsx("path",{d:g,fill:"none",strokeOpacity:0,strokeWidth:G,className:"react-flow__edge-interaction"}):null,M&&nv(E)&&nv(x)?_.jsx(dUn,{x:E,y:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:H,labelBgBorderRadius:U}):null]})}function q1n({pos:g,x1:E,y1:x,x2:M,y2:N}){return g===ur.Left||g===ur.Right?[.5*(E+M),x]:[E,.5*(x+N)]}function N0n({sourceX:g,sourceY:E,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top}){const[k,H]=q1n({pos:x,x1:g,y1:E,x2:M,y2:N}),[U,G]=q1n({pos:$,x1:M,y1:N,x2:g,y2:E}),[ie,W,Z,se]=Zdn({sourceX:g,sourceY:E,targetX:M,targetY:N,sourceControlX:k,sourceControlY:H,targetControlX:U,targetControlY:G});return[`M${g},${E} C${k},${H} ${U},${G} ${M},${N}`,ie,W,Z,se]}function I0n(g){return Be.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k,targetPosition:H,label:U,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:pe})=>{const[Pe,ae,Ne]=N0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:H}),Xe=g.isInternal?void 0:E;return _.jsx(uq,{id:Xe,path:Pe,labelX:ae,labelY:Ne,label:U,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:pe})})}const bUn=I0n({isInternal:!1}),D0n=I0n({isInternal:!0});bUn.displayName="SimpleBezierEdge";D0n.displayName="SimpleBezierEdgeInternal";function _0n(g){return Be.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:H,labelShowBg:U,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,sourcePosition:se=ur.Bottom,targetPosition:oe=ur.Top,markerEnd:ee,markerStart:Me,pathOptions:pe,interactionWidth:Pe})=>{const[ae,Ne,Xe]=Aue({sourceX:x,sourceY:M,sourcePosition:se,targetX:N,targetY:$,targetPosition:oe,borderRadius:pe?.borderRadius,offset:pe?.offset,stepPosition:pe?.stepPosition}),ln=g.isInternal?void 0:E;return _.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Xe,label:k,labelStyle:H,labelShowBg:U,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:ee,markerStart:Me,interactionWidth:Pe})})}const L0n=_0n({isInternal:!1}),P0n=_0n({isInternal:!0});L0n.displayName="SmoothStepEdge";P0n.displayName="SmoothStepEdgeInternal";function $0n(g){return Be.memo(({id:E,...x})=>{const M=g.isInternal?void 0:E;return _.jsx(L0n,{...x,id:M,pathOptions:Be.useMemo(()=>({borderRadius:0,offset:x.pathOptions?.offset}),[x.pathOptions?.offset])})})}const gUn=$0n({isInternal:!1}),R0n=$0n({isInternal:!0});gUn.displayName="StepEdge";R0n.displayName="StepEdgeInternal";function B0n(g){return Be.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:H,labelShowBg:U,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:se,markerStart:oe,interactionWidth:ee})=>{const[Me,pe,Pe]=t0n({sourceX:x,sourceY:M,targetX:N,targetY:$}),ae=g.isInternal?void 0:E;return _.jsx(uq,{id:ae,path:Me,labelX:pe,labelY:Pe,label:k,labelStyle:H,labelShowBg:U,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:se,markerStart:oe,interactionWidth:ee})})}const wUn=B0n({isInternal:!1}),z0n=B0n({isInternal:!0});wUn.displayName="StraightEdge";z0n.displayName="StraightEdgeInternal";function F0n(g){return Be.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k=ur.Bottom,targetPosition:H=ur.Top,label:U,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,pathOptions:pe,interactionWidth:Pe})=>{const[ae,Ne,Xe]=e0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:H,curvature:pe?.curvature}),ln=g.isInternal?void 0:E;return _.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Xe,label:U,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:Pe})})}const pUn=F0n({isInternal:!1}),J0n=F0n({isInternal:!0});pUn.displayName="BezierEdge";J0n.displayName="BezierEdgeInternal";const U1n={default:J0n,straight:z0n,step:R0n,smoothstep:P0n,simplebezier:D0n},X1n={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},mUn=(g,E,x)=>x===ur.Left?g-E:x===ur.Right?g+E:g,vUn=(g,E,x)=>x===ur.Top?g-E:x===ur.Bottom?g+E:g,K1n="react-flow__edgeupdater";function V1n({position:g,centerX:E,centerY:x,radius:M=10,onMouseDown:N,onMouseEnter:$,onMouseOut:k,type:H}){return _.jsx("circle",{onMouseDown:N,onMouseEnter:$,onMouseOut:k,className:Ta([K1n,`${K1n}-${H}`]),cx:mUn(E,M,g),cy:vUn(x,M,g),r:M,stroke:"transparent",fill:"transparent"})}function yUn({isReconnectable:g,reconnectRadius:E,edge:x,sourceX:M,sourceY:N,targetX:$,targetY:k,sourcePosition:H,targetPosition:U,onReconnect:G,onReconnectStart:ie,onReconnectEnd:W,setReconnecting:Z,setUpdateHover:se}){const oe=El(),ee=(Ne,Xe)=>{if(Ne.button!==0)return;const{autoPanOnConnect:ln,domNode:on,connectionMode:An,connectionRadius:xn,lib:tt,onConnectStart:vn,cancelConnection:wn,nodeLookup:Y,rfId:Je,panBy:pn,updateConnection:xe}=oe.getState(),qe=Xe.type==="target",fn=(ye,Re)=>{Z(!1),W?.(ye,x,Xe.type,Re)},$e=ye=>G?.(x,ye),Mn=(ye,Re)=>{Z(!0),ie?.(Ne,x,Xe.type),vn?.(ye,Re)};fke.onPointerDown(Ne.nativeEvent,{autoPanOnConnect:ln,connectionMode:An,connectionRadius:xn,domNode:on,handleId:Xe.id,nodeId:Xe.nodeId,nodeLookup:Y,isTarget:qe,edgeUpdaterType:Xe.type,lib:tt,flowId:Je,cancelConnection:wn,panBy:pn,isValidConnection:(...ye)=>oe.getState().isValidConnection?.(...ye)??!0,onConnect:$e,onConnectStart:Mn,onConnectEnd:(...ye)=>oe.getState().onConnectEnd?.(...ye),onReconnectEnd:fn,updateConnection:xe,getTransform:()=>oe.getState().transform,getFromHandle:()=>oe.getState().connection.fromHandle,dragThreshold:oe.getState().connectionDragThreshold,handleDomNode:Ne.currentTarget})},Me=Ne=>ee(Ne,{nodeId:x.target,id:x.targetHandle??null,type:"target"}),pe=Ne=>ee(Ne,{nodeId:x.source,id:x.sourceHandle??null,type:"source"}),Pe=()=>se(!0),ae=()=>se(!1);return _.jsxs(_.Fragment,{children:[(g===!0||g==="source")&&_.jsx(V1n,{position:H,centerX:M,centerY:N,radius:E,onMouseDown:Me,onMouseEnter:Pe,onMouseOut:ae,type:"source"}),(g===!0||g==="target")&&_.jsx(V1n,{position:U,centerX:$,centerY:k,radius:E,onMouseDown:pe,onMouseEnter:Pe,onMouseOut:ae,type:"target"})]})}function kUn({id:g,edgesFocusable:E,edgesReconnectable:x,elementsSelectable:M,onClick:N,onDoubleClick:$,onContextMenu:k,onMouseEnter:H,onMouseMove:U,onMouseLeave:G,reconnectRadius:ie,onReconnect:W,onReconnectStart:Z,onReconnectEnd:se,rfId:oe,edgeTypes:ee,noPanClassName:Me,onError:pe,disableKeyboardA11y:Pe}){let ae=zu(Mt=>Mt.edgeLookup.get(g));const Ne=zu(Mt=>Mt.defaultEdgeOptions);ae=Ne?{...Ne,...ae}:ae;let Xe=ae.type||"default",ln=ee?.[Xe]||U1n[Xe];ln===void 0&&(pe?.("011",a5.error011(Xe)),Xe="default",ln=ee?.default||U1n.default);const on=!!(ae.focusable||E&&typeof ae.focusable>"u"),An=typeof W<"u"&&(ae.reconnectable||x&&typeof ae.reconnectable>"u"),xn=!!(ae.selectable||M&&typeof ae.selectable>"u"),tt=Be.useRef(null),[vn,wn]=Be.useState(!1),[Y,Je]=Be.useState(!1),pn=El(),{zIndex:xe,sourceX:qe,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ye,targetPosition:Re}=zu(Be.useCallback(Mt=>{const bi=Mt.nodeLookup.get(ae.source),zi=Mt.nodeLookup.get(ae.target);if(!bi||!zi)return{zIndex:ae.zIndex,...X1n};const cu=hGn({id:g,sourceNode:bi,targetNode:zi,sourceHandle:ae.sourceHandle||null,targetHandle:ae.targetHandle||null,connectionMode:Mt.connectionMode,onError:pe});return{zIndex:rGn({selected:ae.selected,zIndex:ae.zIndex,sourceNode:bi,targetNode:zi,elevateOnSelect:Mt.elevateEdgesOnSelect,zIndexMode:Mt.zIndexMode}),...cu||X1n}},[ae.source,ae.target,ae.sourceHandle,ae.targetHandle,ae.selected,ae.zIndex]),jl),Hn=Be.useMemo(()=>ae.markerStart?`url('#${ske(ae.markerStart,oe)}')`:void 0,[ae.markerStart,oe]),rt=Be.useMemo(()=>ae.markerEnd?`url('#${ske(ae.markerEnd,oe)}')`:void 0,[ae.markerEnd,oe]);if(ae.hidden||qe===null||fn===null||$e===null||Mn===null)return null;const Jt=Mt=>{const{addSelectedEdges:bi,unselectNodesAndEdges:zi,multiSelectionActive:cu}=pn.getState();xn&&(pn.setState({nodesSelectionActive:!1}),ae.selected&&cu?(zi({nodes:[],edges:[ae]}),tt.current?.blur()):bi([g])),N&&N(Mt,ae)},di=$?Mt=>{$(Mt,{...ae})}:void 0,Gt=k?Mt=>{k(Mt,{...ae})}:void 0,xt=H?Mt=>{H(Mt,{...ae})}:void 0,si=U?Mt=>{U(Mt,{...ae})}:void 0,Kr=G?Mt=>{G(Mt,{...ae})}:void 0,Er=Mt=>{if(!Pe&&Bdn.includes(Mt.key)&&xn){const{unselectNodesAndEdges:bi,addSelectedEdges:zi}=pn.getState();Mt.key==="Escape"?(tt.current?.blur(),bi({edges:[ae]})):zi([g])}};return _.jsx("svg",{style:{zIndex:xe},children:_.jsxs("g",{className:Ta(["react-flow__edge",`react-flow__edge-${Xe}`,ae.className,Me,{selected:ae.selected,animated:ae.animated,inactive:!xn&&!N,updating:vn,selectable:xn}]),onClick:Jt,onDoubleClick:di,onContextMenu:Gt,onMouseEnter:xt,onMouseMove:si,onMouseLeave:Kr,onKeyDown:on?Er:void 0,tabIndex:on?0:void 0,role:ae.ariaRole??(on?"group":"img"),"aria-roledescription":"edge","data-id":g,"data-testid":`rf__edge-${g}`,"aria-label":ae.ariaLabel===null?void 0:ae.ariaLabel||`Edge from ${ae.source} to ${ae.target}`,"aria-describedby":on?`${p0n}-${oe}`:void 0,ref:tt,...ae.domAttributes,children:[!Y&&_.jsx(ln,{id:g,source:ae.source,target:ae.target,type:ae.type,selected:ae.selected,animated:ae.animated,selectable:xn,deletable:ae.deletable??!0,label:ae.label,labelStyle:ae.labelStyle,labelShowBg:ae.labelShowBg,labelBgStyle:ae.labelBgStyle,labelBgPadding:ae.labelBgPadding,labelBgBorderRadius:ae.labelBgBorderRadius,sourceX:qe,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ye,targetPosition:Re,data:ae.data,style:ae.style,sourceHandleId:ae.sourceHandle,targetHandleId:ae.targetHandle,markerStart:Hn,markerEnd:rt,pathOptions:"pathOptions"in ae?ae.pathOptions:void 0,interactionWidth:ae.interactionWidth}),An&&_.jsx(yUn,{edge:ae,isReconnectable:An,reconnectRadius:ie,onReconnect:W,onReconnectStart:Z,onReconnectEnd:se,sourceX:qe,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ye,targetPosition:Re,setUpdateHover:wn,setReconnecting:Je})]})})}var jUn=Be.memo(kUn);const EUn=g=>({edgesFocusable:g.edgesFocusable,edgesReconnectable:g.edgesReconnectable,elementsSelectable:g.elementsSelectable,connectionMode:g.connectionMode,onError:g.onError});function H0n({defaultMarkerColor:g,onlyRenderVisibleElements:E,rfId:x,edgeTypes:M,noPanClassName:N,onReconnect:$,onEdgeContextMenu:k,onEdgeMouseEnter:H,onEdgeMouseMove:U,onEdgeMouseLeave:G,onEdgeClick:ie,reconnectRadius:W,onEdgeDoubleClick:Z,onReconnectStart:se,onReconnectEnd:oe,disableKeyboardA11y:ee}){const{edgesFocusable:Me,edgesReconnectable:pe,elementsSelectable:Pe,onError:ae}=zu(EUn,jl),Ne=oUn(E);return _.jsxs("div",{className:"react-flow__edges",children:[_.jsx(hUn,{defaultColor:g,rfId:x}),Ne.map(Xe=>_.jsx(jUn,{id:Xe,edgesFocusable:Me,edgesReconnectable:pe,elementsSelectable:Pe,noPanClassName:N,onReconnect:$,onContextMenu:k,onMouseEnter:H,onMouseMove:U,onMouseLeave:G,onClick:ie,reconnectRadius:W,onDoubleClick:Z,onReconnectStart:se,onReconnectEnd:oe,rfId:x,onError:ae,edgeTypes:M,disableKeyboardA11y:ee},Xe))]})}H0n.displayName="EdgeRenderer";const SUn=Be.memo(H0n),xUn=g=>`translate(${g.transform[0]}px,${g.transform[1]}px) scale(${g.transform[2]})`;function AUn({children:g}){const E=zu(xUn);return _.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:E},children:g})}function MUn(g){const E=Nke(),x=Be.useRef(!1);Be.useEffect(()=>{!x.current&&E.viewportInitialized&&g&&(setTimeout(()=>g(E),1),x.current=!0)},[g,E.viewportInitialized])}const CUn=g=>g.panZoom?.syncViewport;function TUn(g){const E=zu(CUn),x=El();return Be.useEffect(()=>{g&&(E?.(g),x.setState({transform:[g.x,g.y,g.zoom]}))},[g,E]),null}function OUn(g){return g.connection.inProgress?{...g.connection,to:cq(g.connection.to,g.transform)}:{...g.connection}}function NUn(g){return OUn}function IUn(g){const E=NUn();return zu(E,jl)}const DUn=g=>({nodesConnectable:g.nodesConnectable,isValid:g.connection.isValid,inProgress:g.connection.inProgress,width:g.width,height:g.height});function _Un({containerStyle:g,style:E,type:x,component:M}){const{nodesConnectable:N,width:$,height:k,isValid:H,inProgress:U}=zu(DUn,jl);return!($&&N&&U)?null:_.jsx("svg",{style:g,width:$,height:k,className:"react-flow__connectionline react-flow__container",children:_.jsx("g",{className:Ta(["react-flow__connection",Jdn(H)]),children:_.jsx(G0n,{style:E,type:x,CustomComponent:M,isValid:H})})})}const G0n=({style:g,type:E=ek.Bezier,CustomComponent:x,isValid:M})=>{const{inProgress:N,from:$,fromNode:k,fromHandle:H,fromPosition:U,to:G,toNode:ie,toHandle:W,toPosition:Z,pointer:se}=IUn();if(!N)return;if(x)return _.jsx(x,{connectionLineType:E,connectionLineStyle:g,fromNode:k,fromHandle:H,fromX:$.x,fromY:$.y,toX:G.x,toY:G.y,fromPosition:U,toPosition:Z,connectionStatus:Jdn(M),toNode:ie,toHandle:W,pointer:se});let oe="";const ee={sourceX:$.x,sourceY:$.y,sourcePosition:U,targetX:G.x,targetY:G.y,targetPosition:Z};switch(E){case ek.Bezier:[oe]=e0n(ee);break;case ek.SimpleBezier:[oe]=N0n(ee);break;case ek.Step:[oe]=Aue({...ee,borderRadius:0});break;case ek.SmoothStep:[oe]=Aue(ee);break;default:[oe]=t0n(ee)}return _.jsx("path",{d:oe,fill:"none",className:"react-flow__connection-path",style:g})};G0n.displayName="ConnectionLine";const LUn={};function Y1n(g=LUn){Be.useRef(g),El(),Be.useEffect(()=>{},[g])}function PUn(){El(),Be.useRef(!1),Be.useEffect(()=>{},[])}function q0n({nodeTypes:g,edgeTypes:E,onInit:x,onNodeClick:M,onEdgeClick:N,onNodeDoubleClick:$,onEdgeDoubleClick:k,onNodeMouseEnter:H,onNodeMouseMove:U,onNodeMouseLeave:G,onNodeContextMenu:ie,onSelectionContextMenu:W,onSelectionStart:Z,onSelectionEnd:se,connectionLineType:oe,connectionLineStyle:ee,connectionLineComponent:Me,connectionLineContainerStyle:pe,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,multiSelectionKeyCode:Xe,panActivationKeyCode:ln,zoomActivationKeyCode:on,deleteKeyCode:An,onlyRenderVisibleElements:xn,elementsSelectable:tt,defaultViewport:vn,translateExtent:wn,minZoom:Y,maxZoom:Je,preventScrolling:pn,defaultMarkerColor:xe,zoomOnScroll:qe,zoomOnPinch:fn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ye,zoomOnDoubleClick:Re,panOnDrag:Hn,onPaneClick:rt,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneScroll:xt,onPaneContextMenu:si,paneClickDistance:Kr,nodeClickDistance:Er,onEdgeContextMenu:Mt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,onReconnect:Rs,onReconnectStart:ia,onReconnectEnd:ef,noDragClassName:Oa,noWheelClassName:Cc,noPanClassName:o0,disableKeyboardA11y:xb,nodeExtent:Sl,rfId:cd,viewport:s0,onViewportChange:uh}){return Y1n(g),Y1n(E),PUn(),MUn(x),TUn(s0),_.jsx(Qqn,{onPaneClick:rt,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneContextMenu:si,onPaneScroll:xt,paneClickDistance:Kr,deleteKeyCode:An,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,onSelectionStart:Z,onSelectionEnd:se,multiSelectionKeyCode:Xe,panActivationKeyCode:ln,zoomActivationKeyCode:on,elementsSelectable:tt,zoomOnScroll:qe,zoomOnPinch:fn,zoomOnDoubleClick:Re,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ye,panOnDrag:Hn,defaultViewport:vn,translateExtent:wn,minZoom:Y,maxZoom:Je,onSelectionContextMenu:W,preventScrolling:pn,noDragClassName:Oa,noWheelClassName:Cc,noPanClassName:o0,disableKeyboardA11y:xb,onViewportChange:uh,isControlledViewport:!!s0,children:_.jsxs(AUn,{children:[_.jsx(SUn,{edgeTypes:E,onEdgeClick:N,onEdgeDoubleClick:k,onReconnect:Rs,onReconnectStart:ia,onReconnectEnd:ef,onlyRenderVisibleElements:xn,onEdgeContextMenu:Mt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,defaultMarkerColor:xe,noPanClassName:o0,disableKeyboardA11y:xb,rfId:cd}),_.jsx(_Un,{style:ee,type:oe,component:Me,containerStyle:pe}),_.jsx("div",{className:"react-flow__edgelabel-renderer"}),_.jsx(uUn,{nodeTypes:g,onNodeClick:M,onNodeDoubleClick:$,onNodeMouseEnter:H,onNodeMouseMove:U,onNodeMouseLeave:G,onNodeContextMenu:ie,nodeClickDistance:Er,onlyRenderVisibleElements:xn,noPanClassName:o0,noDragClassName:Oa,disableKeyboardA11y:xb,nodeExtent:Sl,rfId:cd}),_.jsx("div",{className:"react-flow__viewport-portal"})]})})}q0n.displayName="GraphView";const $Un=Be.memo(q0n),Q1n=({nodes:g,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:U=.5,maxZoom:G=2,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z="basic"}={})=>{const se=new Map,oe=new Map,ee=new Map,Me=new Map,pe=M??E??[],Pe=x??g??[],ae=ie??[0,0],Ne=W??XG;c0n(ee,Me,pe);const{nodesInitialized:Xe}=lke(Pe,se,oe,{nodeOrigin:ae,nodeExtent:Ne,zIndexMode:Z});let ln=[0,0,1];if(k&&N&&$){const on=iq(se,{filter:vn=>!!((vn.width||vn.initialWidth)&&(vn.height||vn.initialHeight))}),{x:An,y:xn,zoom:tt}=Ske(on,N,$,U,G,H?.padding??.1);ln=[An,xn,tt]}return{rfId:"1",width:N??0,height:$??0,transform:ln,nodes:Pe,nodesInitialized:Xe,nodeLookup:se,parentLookup:oe,edges:pe,edgeLookup:Me,connectionLookup:ee,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:x!==void 0,hasDefaultEdges:M!==void 0,panZoom:null,minZoom:U,maxZoom:G,translateExtent:XG,nodeExtent:Ne,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:wD.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:ae,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:k??!1,fitViewOptions:H,fitViewResolver:null,connection:{...Fdn},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:WHn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:zdn,zIndexMode:Z,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},RUn=({nodes:g,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:U,maxZoom:G,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z})=>tqn((se,oe)=>{async function ee(){const{nodeLookup:Me,panZoom:pe,fitViewOptions:Pe,fitViewResolver:ae,width:Ne,height:Xe,minZoom:ln,maxZoom:on}=oe();pe&&(await YHn({nodes:Me,width:Ne,height:Xe,panZoom:pe,minZoom:ln,maxZoom:on},Pe),ae?.resolve(!0),se({fitViewResolver:null}))}return{...Q1n({nodes:g,edges:E,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:U,maxZoom:G,nodeOrigin:ie,nodeExtent:W,defaultNodes:x,defaultEdges:M,zIndexMode:Z}),setNodes:Me=>{const{nodeLookup:pe,parentLookup:Pe,nodeOrigin:ae,elevateNodesOnSelect:Ne,fitViewQueued:Xe,zIndexMode:ln,nodesSelectionActive:on}=oe(),{nodesInitialized:An,hasSelectedNodes:xn}=lke(Me,pe,Pe,{nodeOrigin:ae,nodeExtent:W,elevateNodesOnSelect:Ne,checkEquality:!0,zIndexMode:ln}),tt=on&&xn;Xe&&An?(ee(),se({nodes:Me,nodesInitialized:An,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:tt})):se({nodes:Me,nodesInitialized:An,nodesSelectionActive:tt})},setEdges:Me=>{const{connectionLookup:pe,edgeLookup:Pe}=oe();c0n(pe,Pe,Me),se({edges:Me})},setDefaultNodesAndEdges:(Me,pe)=>{if(Me){const{setNodes:Pe}=oe();Pe(Me),se({hasDefaultNodes:!0})}if(pe){const{setEdges:Pe}=oe();Pe(pe),se({hasDefaultEdges:!0})}},updateNodeInternals:Me=>{const{triggerNodeChanges:pe,nodeLookup:Pe,parentLookup:ae,domNode:Ne,nodeOrigin:Xe,nodeExtent:ln,debug:on,fitViewQueued:An,zIndexMode:xn}=oe(),{changes:tt,updatedInternals:vn}=yGn(Me,Pe,ae,Ne,Xe,ln,xn);vn&&(wGn(Pe,ae,{nodeOrigin:Xe,nodeExtent:ln,zIndexMode:xn}),An?(ee(),se({fitViewQueued:!1,fitViewOptions:void 0})):se({}),tt?.length>0&&(on&&console.log("React Flow: trigger node changes",tt),pe?.(tt)))},updateNodePositions:(Me,pe=!1)=>{const Pe=[];let ae=[];const{nodeLookup:Ne,triggerNodeChanges:Xe,connection:ln,updateConnection:on,onNodesChangeMiddlewareMap:An}=oe();for(const[xn,tt]of Me){const vn=Ne.get(xn),wn=!!(vn?.expandParent&&vn?.parentId&&tt?.position),Y={id:xn,type:"position",position:wn?{x:Math.max(0,tt.position.x),y:Math.max(0,tt.position.y)}:tt.position,dragging:pe};if(vn&&ln.inProgress&&ln.fromNode.id===vn.id){const Je=CA(vn,ln.fromHandle,ur.Left,!0);on({...ln,from:Je})}wn&&vn.parentId&&Pe.push({id:xn,parentId:vn.parentId,rect:{...tt.internals.positionAbsolute,width:tt.measured.width??0,height:tt.measured.height??0}}),ae.push(Y)}if(Pe.length>0){const{parentLookup:xn,nodeOrigin:tt}=oe(),vn=Oke(Pe,Ne,xn,tt);ae.push(...vn)}for(const xn of An.values())ae=xn(ae);Xe(ae)},triggerNodeChanges:Me=>{const{onNodesChange:pe,setNodes:Pe,nodes:ae,hasDefaultNodes:Ne,debug:Xe}=oe();if(Me?.length){if(Ne){const ln=y0n(Me,ae);Pe(ln)}Xe&&console.log("React Flow: trigger node changes",Me),pe?.(Me)}},triggerEdgeChanges:Me=>{const{onEdgesChange:pe,setEdges:Pe,edges:ae,hasDefaultEdges:Ne,debug:Xe}=oe();if(Me?.length){if(Ne){const ln=k0n(Me,ae);Pe(ln)}Xe&&console.log("React Flow: trigger edge changes",Me),pe?.(Me)}},addSelectedNodes:Me=>{const{multiSelectionActive:pe,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Xe}=oe();if(pe){const ln=Me.map(on=>yA(on,!0));Ne(ln);return}Ne(aD(ae,new Set([...Me]),!0)),Xe(aD(Pe))},addSelectedEdges:Me=>{const{multiSelectionActive:pe,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Xe}=oe();if(pe){const ln=Me.map(on=>yA(on,!0));Xe(ln);return}Xe(aD(Pe,new Set([...Me]))),Ne(aD(ae,new Set,!0))},unselectNodesAndEdges:({nodes:Me,edges:pe}={})=>{const{edges:Pe,nodes:ae,nodeLookup:Ne,triggerNodeChanges:Xe,triggerEdgeChanges:ln}=oe(),on=Me||ae,An=pe||Pe,xn=[];for(const vn of on){if(!vn.selected)continue;const wn=Ne.get(vn.id);wn&&(wn.selected=!1),xn.push(yA(vn.id,!1))}const tt=[];for(const vn of An)vn.selected&&tt.push(yA(vn.id,!1));Xe(xn),ln(tt)},setMinZoom:Me=>{const{panZoom:pe,maxZoom:Pe}=oe();pe?.setScaleExtent([Me,Pe]),se({minZoom:Me})},setMaxZoom:Me=>{const{panZoom:pe,minZoom:Pe}=oe();pe?.setScaleExtent([Pe,Me]),se({maxZoom:Me})},setTranslateExtent:Me=>{oe().panZoom?.setTranslateExtent(Me),se({translateExtent:Me})},resetSelectedElements:()=>{const{edges:Me,nodes:pe,triggerNodeChanges:Pe,triggerEdgeChanges:ae,elementsSelectable:Ne}=oe();if(!Ne)return;const Xe=pe.reduce((on,An)=>An.selected?[...on,yA(An.id,!1)]:on,[]),ln=Me.reduce((on,An)=>An.selected?[...on,yA(An.id,!1)]:on,[]);Pe(Xe),ae(ln)},setNodeExtent:Me=>{const{nodes:pe,nodeLookup:Pe,parentLookup:ae,nodeOrigin:Ne,elevateNodesOnSelect:Xe,nodeExtent:ln,zIndexMode:on}=oe();Me[0][0]===ln[0][0]&&Me[0][1]===ln[0][1]&&Me[1][0]===ln[1][0]&&Me[1][1]===ln[1][1]||(lke(pe,Pe,ae,{nodeOrigin:Ne,nodeExtent:Me,elevateNodesOnSelect:Xe,checkEquality:!1,zIndexMode:on}),se({nodeExtent:Me}))},panBy:Me=>{const{transform:pe,width:Pe,height:ae,panZoom:Ne,translateExtent:Xe}=oe();return kGn({delta:Me,panZoom:Ne,transform:pe,translateExtent:Xe,width:Pe,height:ae})},setCenter:async(Me,pe,Pe)=>{const{width:ae,height:Ne,maxZoom:Xe,panZoom:ln}=oe();if(!ln)return Promise.resolve(!1);const on=typeof Pe?.zoom<"u"?Pe.zoom:Xe;return await ln.setViewport({x:ae/2-Me*on,y:Ne/2-pe*on,zoom:on},{duration:Pe?.duration,ease:Pe?.ease,interpolate:Pe?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{se({connection:{...Fdn}})},updateConnection:Me=>{se({connection:Me})},reset:()=>se({...Q1n()})}},Object.is);function BUn({initialNodes:g,initialEdges:E,defaultNodes:x,defaultEdges:M,initialWidth:N,initialHeight:$,initialMinZoom:k,initialMaxZoom:H,initialFitViewOptions:U,fitView:G,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z,children:se}){const[oe]=Be.useState(()=>RUn({nodes:g,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:G,minZoom:k,maxZoom:H,fitViewOptions:U,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z}));return _.jsx(rqn,{value:oe,children:_.jsx(Aqn,{children:se})})}function zUn({children:g,nodes:E,edges:x,defaultNodes:M,defaultEdges:N,width:$,height:k,fitView:H,fitViewOptions:U,minZoom:G,maxZoom:ie,nodeOrigin:W,nodeExtent:Z,zIndexMode:se}){return Be.useContext(Rue)?_.jsx(_.Fragment,{children:g}):_.jsx(BUn,{initialNodes:E,initialEdges:x,defaultNodes:M,defaultEdges:N,initialWidth:$,initialHeight:k,fitView:H,initialFitViewOptions:U,initialMinZoom:G,initialMaxZoom:ie,nodeOrigin:W,nodeExtent:Z,zIndexMode:se,children:g})}const FUn={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function JUn({nodes:g,edges:E,defaultNodes:x,defaultEdges:M,className:N,nodeTypes:$,edgeTypes:k,onNodeClick:H,onEdgeClick:U,onInit:G,onMove:ie,onMoveStart:W,onMoveEnd:Z,onConnect:se,onConnectStart:oe,onConnectEnd:ee,onClickConnectStart:Me,onClickConnectEnd:pe,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Xe,onNodeDoubleClick:ln,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onNodesDelete:tt,onEdgesDelete:vn,onDelete:wn,onSelectionChange:Y,onSelectionDragStart:Je,onSelectionDrag:pn,onSelectionDragStop:xe,onSelectionContextMenu:qe,onSelectionStart:fn,onSelectionEnd:$e,onBeforeDelete:Mn,connectionMode:ye,connectionLineType:Re=ek.Bezier,connectionLineStyle:Hn,connectionLineComponent:rt,connectionLineContainerStyle:Jt,deleteKeyCode:di="Backspace",selectionKeyCode:Gt="Shift",selectionOnDrag:xt=!1,selectionMode:si=KG.Full,panActivationKeyCode:Kr="Space",multiSelectionKeyCode:Er=QG()?"Meta":"Control",zoomActivationKeyCode:Mt=QG()?"Meta":"Control",snapToGrid:bi,snapGrid:zi,onlyRenderVisibleElements:cu=!1,selectNodesOnDrag:Fu,nodesDraggable:Rs,autoPanOnNodeFocus:ia,nodesConnectable:ef,nodesFocusable:Oa,nodeOrigin:Cc=m0n,edgesFocusable:o0,edgesReconnectable:xb,elementsSelectable:Sl=!0,defaultViewport:cd=pqn,minZoom:s0=.5,maxZoom:uh=2,translateExtent:ud=XG,preventScrolling:b5=!0,nodeExtent:l0,defaultMarkerColor:Cp="#b1b1b7",zoomOnScroll:l6=!0,zoomOnPinch:Ab=!0,panOnScroll:ra=!1,panOnScrollSpeed:od=.5,panOnScrollMode:Sf=EA.Free,zoomOnDoubleClick:f6=!0,panOnDrag:oh=!0,onPaneClick:Tp,onPaneMouseEnter:Gg,onPaneMouseMove:qg,onPaneMouseLeave:Ug,onPaneScroll:sd,onPaneContextMenu:Xg,paneClickDistance:Mb=1,nodeClickDistance:g5=0,children:Op,onReconnect:Np,onReconnectStart:uu,onReconnectEnd:w5,onEdgeContextMenu:Kg,onEdgeDoubleClick:rv,onEdgeMouseEnter:p5,onEdgeMouseMove:Vg,onEdgeMouseLeave:cv,reconnectRadius:m5=10,onNodesChange:v5,onEdgesChange:b1,noDragClassName:Ws="nodrag",noWheelClassName:xf="nowheel",noPanClassName:vt="nopan",fitView:kc,fitViewOptions:tc,connectOnClick:tk,attributionPosition:f0,proOptions:Yg,defaultEdgeOptions:a6,elevateNodesOnSelect:Ip=!0,elevateEdgesOnSelect:Dp=!1,disableKeyboardA11y:_p=!1,autoPanOnConnect:Lp,autoPanOnNodeDrag:xl,autoPanSpeed:y5,connectionRadius:ik,isValidConnection:Qg,onError:Pp,style:OA,id:h6,nodeDragThreshold:rk,connectionDragThreshold:ck,viewport:uv,onViewportChange:k5,width:a0,height:_h,colorMode:uk="light",debug:NA,onScroll:j5,ariaLabelConfig:ok,zIndexMode:ov="basic",...IA},Lh){const sv=h6||"1",sk=kqn(uk),d6=Be.useCallback(Wg=>{Wg.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),j5?.(Wg)},[j5]);return _.jsx("div",{"data-testid":"rf__wrapper",...IA,onScroll:d6,style:{...OA,...FUn},ref:Lh,className:Ta(["react-flow",N,sk]),id:h6,role:"application",children:_.jsxs(zUn,{nodes:g,edges:E,width:a0,height:_h,fitView:kc,fitViewOptions:tc,minZoom:s0,maxZoom:uh,nodeOrigin:Cc,nodeExtent:l0,zIndexMode:ov,children:[_.jsx(yqn,{nodes:g,edges:E,defaultNodes:x,defaultEdges:M,onConnect:se,onConnectStart:oe,onConnectEnd:ee,onClickConnectStart:Me,onClickConnectEnd:pe,nodesDraggable:Rs,autoPanOnNodeFocus:ia,nodesConnectable:ef,nodesFocusable:Oa,edgesFocusable:o0,edgesReconnectable:xb,elementsSelectable:Sl,elevateNodesOnSelect:Ip,elevateEdgesOnSelect:Dp,minZoom:s0,maxZoom:uh,nodeExtent:l0,onNodesChange:v5,onEdgesChange:b1,snapToGrid:bi,snapGrid:zi,connectionMode:ye,translateExtent:ud,connectOnClick:tk,defaultEdgeOptions:a6,fitView:kc,fitViewOptions:tc,onNodesDelete:tt,onEdgesDelete:vn,onDelete:wn,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onSelectionDrag:pn,onSelectionDragStart:Je,onSelectionDragStop:xe,onMove:ie,onMoveStart:W,onMoveEnd:Z,noPanClassName:vt,nodeOrigin:Cc,rfId:sv,autoPanOnConnect:Lp,autoPanOnNodeDrag:xl,autoPanSpeed:y5,onError:Pp,connectionRadius:ik,isValidConnection:Qg,selectNodesOnDrag:Fu,nodeDragThreshold:rk,connectionDragThreshold:ck,onBeforeDelete:Mn,debug:NA,ariaLabelConfig:ok,zIndexMode:ov}),_.jsx($Un,{onInit:G,onNodeClick:H,onEdgeClick:U,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Xe,onNodeDoubleClick:ln,nodeTypes:$,edgeTypes:k,connectionLineType:Re,connectionLineStyle:Hn,connectionLineComponent:rt,connectionLineContainerStyle:Jt,selectionKeyCode:Gt,selectionOnDrag:xt,selectionMode:si,deleteKeyCode:di,multiSelectionKeyCode:Er,panActivationKeyCode:Kr,zoomActivationKeyCode:Mt,onlyRenderVisibleElements:cu,defaultViewport:cd,translateExtent:ud,minZoom:s0,maxZoom:uh,preventScrolling:b5,zoomOnScroll:l6,zoomOnPinch:Ab,zoomOnDoubleClick:f6,panOnScroll:ra,panOnScrollSpeed:od,panOnScrollMode:Sf,panOnDrag:oh,onPaneClick:Tp,onPaneMouseEnter:Gg,onPaneMouseMove:qg,onPaneMouseLeave:Ug,onPaneScroll:sd,onPaneContextMenu:Xg,paneClickDistance:Mb,nodeClickDistance:g5,onSelectionContextMenu:qe,onSelectionStart:fn,onSelectionEnd:$e,onReconnect:Np,onReconnectStart:uu,onReconnectEnd:w5,onEdgeContextMenu:Kg,onEdgeDoubleClick:rv,onEdgeMouseEnter:p5,onEdgeMouseMove:Vg,onEdgeMouseLeave:cv,reconnectRadius:m5,defaultMarkerColor:Cp,noDragClassName:Ws,noWheelClassName:xf,noPanClassName:vt,rfId:sv,disableKeyboardA11y:_p,nodeExtent:l0,viewport:uv,onViewportChange:k5}),_.jsx(wqn,{onSelectionChange:Y}),Op,_.jsx(aqn,{proOptions:Yg,position:f0}),_.jsx(fqn,{rfId:sv,disableKeyboardA11y:_p})]})})}var HUn=j0n(JUn);const GUn=g=>g.domNode?.querySelector(".react-flow__edgelabel-renderer");function qUn({children:g}){const E=zu(GUn);return E?iqn.createPortal(g,E):null}function UUn(g){const[E,x]=Be.useState(g),M=Be.useCallback(N=>x($=>y0n(N,$)),[]);return[E,x,M]}function XUn(g){const[E,x]=Be.useState(g),M=Be.useCallback(N=>x($=>k0n(N,$)),[]);return[E,x,M]}function KUn({dimensions:g,lineWidth:E,variant:x,className:M}){return _.jsx("path",{strokeWidth:E,d:`M${g[0]/2} 0 V${g[1]} M0 ${g[1]/2} H${g[0]}`,className:Ta(["react-flow__background-pattern",x,M])})}function VUn({radius:g,className:E}){return _.jsx("circle",{cx:g,cy:g,r:g,className:Ta(["react-flow__background-pattern","dots",E])})}var nk;(function(g){g.Lines="lines",g.Dots="dots",g.Cross="cross"})(nk||(nk={}));const YUn={[nk.Dots]:1,[nk.Lines]:1,[nk.Cross]:6},QUn=g=>({transform:g.transform,patternId:`pattern-${g.rfId}`});function U0n({id:g,variant:E=nk.Dots,gap:x=20,size:M,lineWidth:N=1,offset:$=0,color:k,bgColor:H,style:U,className:G,patternClassName:ie}){const W=Be.useRef(null),{transform:Z,patternId:se}=zu(QUn,jl),oe=M||YUn[E],ee=E===nk.Dots,Me=E===nk.Cross,pe=Array.isArray(x)?x:[x,x],Pe=[pe[0]*Z[2]||1,pe[1]*Z[2]||1],ae=oe*Z[2],Ne=Array.isArray($)?$:[$,$],Xe=Me?[ae,ae]:Pe,ln=[Ne[0]*Z[2]||1+Xe[0]/2,Ne[1]*Z[2]||1+Xe[1]/2],on=`${se}${g||""}`;return _.jsxs("svg",{className:Ta(["react-flow__background",G]),style:{...U,...zue,"--xy-background-color-props":H,"--xy-background-pattern-color-props":k},ref:W,"data-testid":"rf__background",children:[_.jsx("pattern",{id:on,x:Z[0]%Pe[0],y:Z[1]%Pe[1],width:Pe[0],height:Pe[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${ln[0]},-${ln[1]})`,children:ee?_.jsx(VUn,{radius:ae/2,className:ie}):_.jsx(KUn,{dimensions:Xe,lineWidth:N,variant:E,className:ie})}),_.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${on})`})]})}U0n.displayName="Background";const WUn=Be.memo(U0n);function ZUn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:_.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function eXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:_.jsx("path",{d:"M0 0h32v4.2H0z"})})}function nXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:_.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function tXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:_.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function iXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:_.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function cue({children:g,className:E,...x}){return _.jsx("button",{type:"button",className:Ta(["react-flow__controls-button",E]),...x,children:g})}const rXn=g=>({isInteractive:g.nodesDraggable||g.nodesConnectable||g.elementsSelectable,minZoomReached:g.transform[2]<=g.minZoom,maxZoomReached:g.transform[2]>=g.maxZoom,ariaLabelConfig:g.ariaLabelConfig});function X0n({style:g,showZoom:E=!0,showFitView:x=!0,showInteractive:M=!0,fitViewOptions:N,onZoomIn:$,onZoomOut:k,onFitView:H,onInteractiveChange:U,className:G,children:ie,position:W="bottom-left",orientation:Z="vertical","aria-label":se}){const oe=El(),{isInteractive:ee,minZoomReached:Me,maxZoomReached:pe,ariaLabelConfig:Pe}=zu(rXn,jl),{zoomIn:ae,zoomOut:Ne,fitView:Xe}=Nke(),ln=()=>{ae(),$?.()},on=()=>{Ne(),k?.()},An=()=>{Xe(N),H?.()},xn=()=>{oe.setState({nodesDraggable:!ee,nodesConnectable:!ee,elementsSelectable:!ee}),U?.(!ee)},tt=Z==="horizontal"?"horizontal":"vertical";return _.jsxs(Bue,{className:Ta(["react-flow__controls",tt,G]),position:W,style:g,"data-testid":"rf__controls","aria-label":se??Pe["controls.ariaLabel"],children:[E&&_.jsxs(_.Fragment,{children:[_.jsx(cue,{onClick:ln,className:"react-flow__controls-zoomin",title:Pe["controls.zoomIn.ariaLabel"],"aria-label":Pe["controls.zoomIn.ariaLabel"],disabled:pe,children:_.jsx(ZUn,{})}),_.jsx(cue,{onClick:on,className:"react-flow__controls-zoomout",title:Pe["controls.zoomOut.ariaLabel"],"aria-label":Pe["controls.zoomOut.ariaLabel"],disabled:Me,children:_.jsx(eXn,{})})]}),x&&_.jsx(cue,{className:"react-flow__controls-fitview",onClick:An,title:Pe["controls.fitView.ariaLabel"],"aria-label":Pe["controls.fitView.ariaLabel"],children:_.jsx(nXn,{})}),M&&_.jsx(cue,{className:"react-flow__controls-interactive",onClick:xn,title:Pe["controls.interactive.ariaLabel"],"aria-label":Pe["controls.interactive.ariaLabel"],children:ee?_.jsx(iXn,{}):_.jsx(tXn,{})}),ie]})}X0n.displayName="Controls";const cXn=Be.memo(X0n);function uXn({id:g,x:E,y:x,width:M,height:N,style:$,color:k,strokeColor:H,strokeWidth:U,className:G,borderRadius:ie,shapeRendering:W,selected:Z,onClick:se}){const{background:oe,backgroundColor:ee}=$||{},Me=k||oe||ee;return _.jsx("rect",{className:Ta(["react-flow__minimap-node",{selected:Z},G]),x:E,y:x,rx:ie,ry:ie,width:M,height:N,style:{fill:Me,stroke:H,strokeWidth:U},shapeRendering:W,onClick:se?pe=>se(pe,g):void 0})}const oXn=Be.memo(uXn),sXn=g=>g.nodes.map(E=>E.id),U7e=g=>g instanceof Function?g:()=>g;function lXn({nodeStrokeColor:g,nodeColor:E,nodeClassName:x="",nodeBorderRadius:M=5,nodeStrokeWidth:N,nodeComponent:$=oXn,onClick:k}){const H=zu(sXn,jl),U=U7e(E),G=U7e(g),ie=U7e(x),W=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return _.jsx(_.Fragment,{children:H.map(Z=>_.jsx(aXn,{id:Z,nodeColorFunc:U,nodeStrokeColorFunc:G,nodeClassNameFunc:ie,nodeBorderRadius:M,nodeStrokeWidth:N,NodeComponent:$,onClick:k,shapeRendering:W},Z))})}function fXn({id:g,nodeColorFunc:E,nodeStrokeColorFunc:x,nodeClassNameFunc:M,nodeBorderRadius:N,nodeStrokeWidth:$,shapeRendering:k,NodeComponent:H,onClick:U}){const{node:G,x:ie,y:W,width:Z,height:se}=zu(oe=>{const ee=oe.nodeLookup.get(g);if(!ee)return{node:void 0,x:0,y:0,width:0,height:0};const Me=ee.internals.userNode,{x:pe,y:Pe}=ee.internals.positionAbsolute,{width:ae,height:Ne}=s6(Me);return{node:Me,x:pe,y:Pe,width:ae,height:Ne}},jl);return!G||G.hidden||!Kdn(G)?null:_.jsx(H,{x:ie,y:W,width:Z,height:se,style:G.style,selected:!!G.selected,className:M(G),color:E(G),borderRadius:N,strokeColor:x(G),strokeWidth:$,shapeRendering:k,onClick:U,id:G.id})}const aXn=Be.memo(fXn);var hXn=Be.memo(lXn);const dXn=200,bXn=150,gXn=g=>!g.hidden,wXn=g=>{const E={x:-g.transform[0]/g.transform[2],y:-g.transform[1]/g.transform[2],width:g.width/g.transform[2],height:g.height/g.transform[2]};return{viewBB:E,boundingRect:g.nodeLookup.size>0?Xdn(iq(g.nodeLookup,{filter:gXn}),E):E,rfId:g.rfId,panZoom:g.panZoom,translateExtent:g.translateExtent,flowWidth:g.width,flowHeight:g.height,ariaLabelConfig:g.ariaLabelConfig}},pXn="react-flow__minimap-desc";function K0n({style:g,className:E,nodeStrokeColor:x,nodeColor:M,nodeClassName:N="",nodeBorderRadius:$=5,nodeStrokeWidth:k,nodeComponent:H,bgColor:U,maskColor:G,maskStrokeColor:ie,maskStrokeWidth:W,position:Z="bottom-right",onClick:se,onNodeClick:oe,pannable:ee=!1,zoomable:Me=!1,ariaLabel:pe,inversePan:Pe,zoomStep:ae=1,offsetScale:Ne=5}){const Xe=El(),ln=Be.useRef(null),{boundingRect:on,viewBB:An,rfId:xn,panZoom:tt,translateExtent:vn,flowWidth:wn,flowHeight:Y,ariaLabelConfig:Je}=zu(wXn,jl),pn=g?.width??dXn,xe=g?.height??bXn,qe=on.width/pn,fn=on.height/xe,$e=Math.max(qe,fn),Mn=$e*pn,ye=$e*xe,Re=Ne*$e,Hn=on.x-(Mn-on.width)/2-Re,rt=on.y-(ye-on.height)/2-Re,Jt=Mn+Re*2,di=ye+Re*2,Gt=`${pXn}-${xn}`,xt=Be.useRef(0),si=Be.useRef();xt.current=$e,Be.useEffect(()=>{if(ln.current&&tt)return si.current=OGn({domNode:ln.current,panZoom:tt,getTransform:()=>Xe.getState().transform,getViewScale:()=>xt.current}),()=>{si.current?.destroy()}},[tt]),Be.useEffect(()=>{si.current?.update({translateExtent:vn,width:wn,height:Y,inversePan:Pe,pannable:ee,zoomStep:ae,zoomable:Me})},[ee,Me,Pe,ae,vn,wn,Y]);const Kr=se?bi=>{const[zi,cu]=si.current?.pointer(bi)||[0,0];se(bi,{x:zi,y:cu})}:void 0,Er=oe?Be.useCallback((bi,zi)=>{const cu=Xe.getState().nodeLookup.get(zi).internals.userNode;oe(bi,cu)},[]):void 0,Mt=pe??Je["minimap.ariaLabel"];return _.jsx(Bue,{position:Z,style:{...g,"--xy-minimap-background-color-props":typeof U=="string"?U:void 0,"--xy-minimap-mask-background-color-props":typeof G=="string"?G:void 0,"--xy-minimap-mask-stroke-color-props":typeof ie=="string"?ie:void 0,"--xy-minimap-mask-stroke-width-props":typeof W=="number"?W*$e:void 0,"--xy-minimap-node-background-color-props":typeof M=="string"?M:void 0,"--xy-minimap-node-stroke-color-props":typeof x=="string"?x:void 0,"--xy-minimap-node-stroke-width-props":typeof k=="number"?k:void 0},className:Ta(["react-flow__minimap",E]),"data-testid":"rf__minimap",children:_.jsxs("svg",{width:pn,height:xe,viewBox:`${Hn} ${rt} ${Jt} ${di}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Gt,ref:ln,onClick:Kr,children:[Mt&&_.jsx("title",{id:Gt,children:Mt}),_.jsx(hXn,{onClick:Er,nodeColor:M,nodeStrokeColor:x,nodeBorderRadius:$,nodeClassName:N,nodeStrokeWidth:k,nodeComponent:H}),_.jsx("path",{className:"react-flow__minimap-mask",d:`M${Hn-Re},${rt-Re}h${Jt+Re*2}v${di+Re*2}h${-Jt-Re*2}z - M${An.x},${An.y}h${An.width}v${An.height}h${-An.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}K0n.displayName="MiniMap";const mXn=Be.memo(K0n),vXn=g=>E=>g?`${Math.max(1/E.transform[2],1)}`:void 0,yXn={[yD.Line]:"right",[yD.Handle]:"bottom-right"};function kXn({nodeId:g,position:E,variant:x=yD.Handle,className:M,style:N=void 0,children:$,color:k,minWidth:H=10,minHeight:U=10,maxWidth:G=Number.MAX_VALUE,maxHeight:ie=Number.MAX_VALUE,keepAspectRatio:W=!1,resizeDirection:Z,autoScale:se=!0,shouldResize:oe,onResizeStart:ee,onResize:Me,onResizeEnd:pe}){const Pe=A0n(),ae=typeof g=="string"?g:Pe,Ne=El(),Xe=Be.useRef(null),ln=x===yD.Handle,on=zu(Be.useCallback(vXn(ln&&se),[ln,se]),jl),An=Be.useRef(null),xn=E??yXn[x];Be.useEffect(()=>{if(!(!Xe.current||!ae))return An.current||(An.current=GGn({domNode:Xe.current,nodeId:ae,getStoreItems:()=>{const{nodeLookup:vn,transform:wn,snapGrid:Y,snapToGrid:Je,nodeOrigin:pn,domNode:xe}=Ne.getState();return{nodeLookup:vn,transform:wn,snapGrid:Y,snapToGrid:Je,nodeOrigin:pn,paneDomNode:xe}},onChange:(vn,wn)=>{const{triggerNodeChanges:Y,nodeLookup:Je,parentLookup:pn,nodeOrigin:xe}=Ne.getState(),qe=[],fn={x:vn.x,y:vn.y},$e=Je.get(ae);if($e&&$e.expandParent&&$e.parentId){const Mn=$e.origin??xe,ye=vn.width??$e.measured.width??0,Re=vn.height??$e.measured.height??0,Hn={id:$e.id,parentId:$e.parentId,rect:{width:ye,height:Re,...Vdn({x:vn.x??$e.position.x,y:vn.y??$e.position.y},{width:ye,height:Re},$e.parentId,Je,Mn)}},rt=Oke([Hn],Je,pn,xe);qe.push(...rt),fn.x=vn.x?Math.max(Mn[0]*ye,vn.x):void 0,fn.y=vn.y?Math.max(Mn[1]*Re,vn.y):void 0}if(fn.x!==void 0&&fn.y!==void 0){const Mn={id:ae,type:"position",position:{...fn}};qe.push(Mn)}if(vn.width!==void 0&&vn.height!==void 0){const ye={id:ae,type:"dimensions",resizing:!0,setAttributes:Z?Z==="horizontal"?"width":"height":!0,dimensions:{width:vn.width,height:vn.height}};qe.push(ye)}for(const Mn of wn){const ye={...Mn,type:"position"};qe.push(ye)}Y(qe)},onEnd:({width:vn,height:wn})=>{const Y={id:ae,type:"dimensions",resizing:!1,dimensions:{width:vn,height:wn}};Ne.getState().triggerNodeChanges([Y])}})),An.current.update({controlPosition:xn,boundaries:{minWidth:H,minHeight:U,maxWidth:G,maxHeight:ie},keepAspectRatio:W,resizeDirection:Z,onResizeStart:ee,onResize:Me,onResizeEnd:pe,shouldResize:oe}),()=>{An.current?.destroy()}},[xn,H,U,G,ie,W,ee,Me,pe,oe]);const tt=xn.split("-");return _.jsx("div",{className:Ta(["react-flow__resize-control","nodrag",...tt,x,M]),ref:Xe,style:{...N,scale:on,...k&&{[ln?"backgroundColor":"borderColor"]:k}},children:$})}Be.memo(kXn);const jXn=g=>g.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),V0n=(...g)=>g.filter((E,x,M)=>!!E&&E.trim()!==""&&M.indexOf(E)===x).join(" ").trim();var EXn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const SXn=Be.forwardRef(({color:g="currentColor",size:E=24,strokeWidth:x=2,absoluteStrokeWidth:M,className:N="",children:$,iconNode:k,...H},U)=>Be.createElement("svg",{ref:U,...EXn,width:E,height:E,stroke:g,strokeWidth:M?Number(x)*24/Number(E):x,className:V0n("lucide",N),...H},[...k.map(([G,ie])=>Be.createElement(G,ie)),...Array.isArray($)?$:[$]]));const Ef=(g,E)=>{const x=Be.forwardRef(({className:M,...N},$)=>Be.createElement(SXn,{ref:$,iconNode:E,className:V0n(`lucide-${jXn(g)}`,M),...N}));return x.displayName=`${g}`,x};const xXn=Ef("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);const AXn=Ef("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);const TA=Ef("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const MXn=Ef("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const CXn=Ef("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);const TXn=Ef("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const Dke=Ef("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const OXn=Ef("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);const NXn=Ef("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);const Y0n=Ef("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const W1n=Ef("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const IXn=Ef("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);const SA=Ef("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const DXn=Ef("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);const _Xn=Ef("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const LXn=Ef("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);const Q0n=Ef("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);const PXn=Ef("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const BG=Ef("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const dke=Ef("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const $Xn=Ef("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);const Jg=Ef("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function RXn({mode:g,models:E,objects:x,application:M,initialModelType:N,suggestedSelector:$,nameReadOnly:k=!1,preview:H,onPreview:U,onSubmit:G,onClose:ie}){const Z=(M?W0n(E,M):null)?.type||N||E[0]?.type||"",[se,oe]=Be.useState(Z),ee=E.find(Mt=>Mt.type===se)??null,[Me,pe]=Be.useState(M?.name||M?.applicationId||Z1n(ee)),[Pe,ae]=Be.useState(()=>Cue(ee,M)),Ne=M?.selector||$||zXn(x),[Xe,ln]=Be.useState(Ne.multiplicity),[on,An]=Be.useState(uue(Ne,"scale")),[xn,tt]=Be.useState(uue(Ne,"kind")),[vn,wn]=Be.useState(uue(Ne,"species")),[Y,Je]=Be.useState(uue(Ne,"name")),pn=FXn(Ne,"within"),xe=M?.owner.scope==="template"&&pn?.type==="Scope"&&String(pn.name||"")===M.owner.instance,[qe,fn]=Be.useState(pn?.type==="Scope"&&!xe?"named_scope":pn?.type==="SceneScope"?"scene":"local"),[$e,Mn]=Be.useState(pn?.type==="Scope"&&!xe?String(pn.name||""):""),[ye,Re]=Be.useState(M?.cadence.mode==="period"?"period":"default"),[Hn,rt]=Be.useState(String(M?.cadence.value??1)),[Jt,di]=Be.useState(M?.cadence.unit||"Hour"),Gt=Mt=>{const bi=E.find(zi=>zi.type===Mt)??null;oe(Mt),ae(Cue(bi,g==="update"?M:void 0)),g==="add"&&pe(Z1n(bi))},xt=Be.useMemo(()=>({scales:zG(x.map(Mt=>Mt.scale)),kinds:zG(x.map(Mt=>Mt.kind)),species:zG(x.map(Mt=>Mt.species)),names:zG(x.map(Mt=>Mt.name))}),[x]),si=Be.useMemo(()=>{const Mt=[on&&`scale ${on}`,xn&&`kind ${xn}`,vn&&`species ${vn}`,Y&&`name ${Y}`].filter(Boolean),bi=Mt.length?Mt.join(", "):"matching objects";return qe==="scene"?`${bi} in the whole scene`:qe==="named_scope"?`${bi} below ${$e||"the named root"}`:`${bi} in the local instance scope`},[xn,Y,on,qe,$e,vn]),Kr=()=>{const Mt={selectors:[]};return qe==="named_scope"&&$e&&(Mt.within={type:"Scope",name:$e}),qe==="scene"&&(Mt.within={type:"SceneScope"}),on&&(Mt.scale=on),xn&&(Mt.kind=xn),vn&&(Mt.species=vn),Y&&(Mt.name=Y),{type:JXn(Xe),multiplicity:Xe,criteria:Mt,julia:""}},Er=()=>{G({applicationRef:M?.owner,modelType:se,name:Me.trim(),parameters:Pe,selector:Kr(),cadence:ye==="period"?{mode:"period",value:Number(Hn),unit:Jt,julia:`Dates.${Jt}(${Hn})`}:{mode:"default",value:null,unit:null,julia:"nothing"}})};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:ie,children:_.jsxs("section",{className:"overlay-panel application-form",onMouseDown:Mt=>Mt.stopPropagation(),"data-testid":"application-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:g==="add"?"Add application":`Update ${M?.applicationId}`}),_.jsx("span",{children:"A configured use of a model on selected scene objects"})]}),_.jsx("button",{onClick:ie,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content application-form-content",children:[_.jsxs("label",{children:["Model",_.jsx("select",{value:se,onChange:Mt=>Gt(Mt.target.value),"data-testid":"application-model-select",children:E.map(Mt=>_.jsxs("option",{value:Mt.type,children:[Mt.package?`${Mt.package} · `:"",Mt.name," (",Mt.process,")"]},Mt.type))})]}),_.jsxs("label",{children:["Application name",_.jsx("input",{value:Me,disabled:k,onChange:Mt=>pe(Mt.target.value),"data-testid":"application-name"})]}),ee&&ee.constructor.fields.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Model parameters"}),_.jsx(Z0n,{fields:ee.constructor.fields,values:Pe,onChange:ae})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Target selector"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Multiplicity",_.jsxs("select",{value:Xe,onChange:Mt=>ln(Mt.target.value),children:[_.jsx("option",{value:"one",children:"One"}),_.jsx("option",{value:"optional_one",children:"Optional one"}),_.jsx("option",{value:"many",children:"Many"})]})]}),_.jsxs("label",{children:["Scope",_.jsxs("select",{value:qe,onChange:Mt=>fn(Mt.target.value),children:[_.jsx("option",{value:"local",children:"Default / instance local"}),_.jsx("option",{value:"scene",children:"Explicit whole scene"}),_.jsx("option",{value:"named_scope",children:"Named object subtree"})]})]}),qe==="named_scope"&&_.jsx(PG,{label:"Scope root",value:$e,options:xt.names,onChange:Mn}),_.jsx(PG,{label:"Scale",value:on,options:xt.scales,onChange:An}),_.jsx(PG,{label:"Kind",value:xn,options:xt.kinds,onChange:tt}),_.jsx(PG,{label:"Species",value:vn,options:xt.species,onChange:wn}),_.jsx(PG,{label:"Object name",value:Y,options:xt.names,onChange:Je})]}),_.jsxs("p",{className:"selector-summary",children:["Julia will resolve ",_.jsx("strong",{children:Xe.replace("_"," ")})," target from ",si,"."]}),_.jsxs("button",{className:"selector-preview-button",type:"button",onClick:()=>U(Kr()),"data-testid":"application-target-preview",children:[_.jsx(Dke,{size:15})," Preview targets in Julia"]}),H&&_.jsxs("section",{className:"selector-preview","data-testid":"application-target-preview-result",children:[_.jsxs("strong",{children:[H.count," target object",H.count===1?"":"s"]}),_.jsx("code",{children:H.objectIds.map(String).join(", ")||"No targets"}),H.groups.map(Mt=>_.jsxs("div",{children:[_.jsx("span",{children:Mt.instance}),_.jsx("code",{children:Mt.objectIds.map(String).join(", ")||"No targets"})]},Mt.instance))]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Cadence"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Mode",_.jsxs("select",{value:ye,onChange:Mt=>Re(Mt.target.value),"data-testid":"application-cadence-mode",children:[_.jsx("option",{value:"default",children:"Model or environment default"}),_.jsx("option",{value:"period",children:"Explicit period"})]})]}),ye==="period"&&_.jsxs(_.Fragment,{children:[_.jsxs("label",{children:["Value",_.jsx("input",{type:"number",min:"1",step:"1",value:Hn,onChange:Mt=>rt(Mt.target.value),"data-testid":"application-cadence-value"})]}),_.jsxs("label",{children:["Unit",_.jsxs("select",{value:Jt,onChange:Mt=>di(Mt.target.value),"data-testid":"application-cadence-unit",children:[_.jsx("option",{children:"Second"}),_.jsx("option",{children:"Minute"}),_.jsx("option",{children:"Hour"}),_.jsx("option",{children:"Day"})]})]})]})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:ie,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:!se||!Me.trim()||ye==="period"&&(!Number.isInteger(Number(Hn))||Number(Hn)<=0),onClick:Er,"data-testid":"application-submit",children:[_.jsx(TA,{size:15})," ",g==="add"?"Add application":"Apply changes"]})]})]})})}function W0n(g,E){return g.find(x=>x.type===E.modelType)??g.find(x=>x.name===E.modelName&&x.module===E.module)??null}function Z0n({fields:g,values:E,onChange:x}){const M=new Map;for(const $ of g)$.typeParameter&&!M.has($.typeParameter)&&M.set($.typeParameter,$.name);const N=($,k)=>{const H=$.typeParameter?g.filter(U=>U.typeParameter===$.typeParameter).map(U=>U.name):[$.name];x(Object.fromEntries(Object.entries(E).map(([U,G])=>[U,H.includes(U)?{...G,type:k}:G])))};return _.jsx("div",{className:"parameter-list",children:g.map($=>{const k=E[$.name]||{type:$.inferredChoice,value:""},H=!$.typeParameter||M.get($.typeParameter)===$.name;return _.jsxs("div",{className:"parameter-row",children:[_.jsxs("label",{children:[_.jsx("span",{children:$.name}),_.jsx("small",{children:$.declaredType}),_.jsx("input",{"data-testid":`application-param-${$.name}`,value:k.value,onChange:U=>x({...E,[$.name]:{...k,value:U.target.value}})})]}),H&&_.jsxs("label",{className:"parameter-type",children:[_.jsx("span",{children:$.typeParameter?`${$.typeParameter} type`:"Value type"}),_.jsx("select",{"data-testid":`application-param-type-${$.name}`,value:k.type,onChange:U=>N($,U.target.value),children:$.choices.map(U=>_.jsx("option",{value:U,children:U},U))})]})]},$.name)})})}function PG({label:g,value:E,options:x,onChange:M}){return _.jsxs("label",{children:[g,_.jsxs("select",{value:E,onChange:N=>M(N.target.value),children:[_.jsx("option",{value:"",children:"Any"}),x.map(N=>_.jsx("option",{value:N,children:N},N))]})]})}function Cue(g,E){return g?Object.fromEntries(g.constructor.fields.map(x=>{const M=E?.modelParameters[x.name],N=M?.type||x.inferredChoice,$=M?M.julia:x.hasDefault?N==="julia"?x.defaultJulia||"":BXn(x.default,N):"";return[x.name,{type:N,value:$}]})):{}}function BXn(g,E){const x=g==null?"":String(g);return E==="symbol"?x.replace(/^:/,""):x}function Z1n(g){return g?.process||g?.name||"application"}function zXn(g){const E=zG(g.map(x=>x.scale))[0];return{type:"Many",multiplicity:"many",criteria:E?{selectors:[],scale:E}:{selectors:[]},julia:""}}function uue(g,E){const x=g.criteria[E];return typeof x=="string"?x:""}function FXn(g,E){const x=g.criteria[E];return x&&typeof x=="object"?x:null}function JXn(g){return g==="one"?"One":g==="optional_one"?"OptionalOne":"Many"}function zG(g){return[...new Set(g.filter(E=>!!E))].sort()}function HXn({application:g,applications:E,environments:x,models:M,onCommand:N,onClose:$}){const k=E.filter($e=>$e.applicationId!==g.applicationId&&(g.owner.scope==="global"?$e.owner.scope==="global":$e.owner.scope==="template"&&$e.owner.templateId===g.owner.templateId&&$e.owner.instance===g.owner.instance)),[H,U]=Be.useState(""),[G,ie]=Be.useState(k[0]?.applicationId||""),[W,Z]=Be.useState("manual"),[se,oe]=Be.useState(g.environment?g.environment.backendId||"scene":"default"),[ee,Me]=Be.useState(String(g.environment?.provider||"")),[pe,Pe]=Be.useState(()=>({...Object.fromEntries(g.environmentInputs.map($e=>[$e.name,""])),...g.environment?.sources||{}})),[ae,Ne]=Be.useState(String(g.environment?.sink||"")),[Xe,ln]=Be.useState(()=>qXn(g.environment?.extra)),[on,An]=Be.useState(g.updates||[]),[xn,tt]=Be.useState(g.outputs[0]?.name||""),[vn,wn]=Be.useState(k[0]?.owner.applicationId||""),Y=k.find($e=>$e.applicationId===G),Je=M.find($e=>$e.type===g.modelType),pn=Be.useMemo(()=>{const $e=g.owner.scope==="template"&&Y?.owner.scope==="template"&&Y.owner.templateId===g.owner.templateId;return{type:W==="initializer"||Y?.targetCount===1?"One":"Many",multiplicity:W==="initializer"||Y?.targetCount===1?"one":"many",criteria:{selectors:[],...$e?{}:{within:{type:"SceneScope"}},application:Y?.owner.applicationId||G},julia:""}},[g.owner.scope,g.owner.templateId,W,G,Y]),xe=()=>{!H.trim()||!G||(N(GXn(g.owner,H.trim(),pn,W)),U(""))},qe=()=>{!xn||!vn||An($e=>[...$e.filter(Mn=>!Mn.variables.includes(xn)),{variables:[xn],after:[vn]}])},fn=()=>{const $e=UXn(se,ee,pe,ae,Xe);N({action:"edit",kind:"set_application_environment",applicationRef:g.owner,configuration:$e})};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel application-configuration-form",onMouseDown:$e=>$e.stopPropagation(),"data-testid":"application-configuration-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsxs("strong",{children:["Configure ",g.owner.applicationId]}),_.jsx("span",{children:"Authored coupling and execution policy, validated by Julia"})]}),_.jsx("button",{onClick:$,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content application-configuration-content",children:[_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Explicit input bindings"}),Object.entries(g.inputBindings).length===0&&_.jsx("p",{children:"No authored input bindings. Unique same-object producers may still be inferred."}),_.jsx("div",{className:"configuration-list",children:Object.entries(g.inputBindings).map(([$e,Mn])=>_.jsxs("div",{children:[_.jsx("code",{children:$e}),_.jsx("span",{children:Mn.julia||Mn.type}),_.jsx("button",{className:"danger icon-button",title:`Remove ${$e} binding`,onClick:()=>N({action:"edit",kind:"remove_input_binding",applicationRef:g.owner,input:$e}),children:_.jsx(BG,{size:14})})]},$e))})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Calls and newborn initializers"}),_.jsx("div",{className:"configuration-list",children:Object.entries(g.callBindings).map(([$e,Mn])=>_.jsxs("div",{children:[_.jsx("code",{children:$e}),_.jsxs("span",{children:[_.jsx("strong",{children:Mn.mode==="initializer"?"Initializer":"Manual call"})," · ",Mn.julia||Mn.type]}),_.jsx("button",{className:"danger icon-button",title:`Remove ${$e} call`,onClick:()=>N({action:"edit",kind:"remove_call_binding",applicationRef:g.owner,call:$e}),children:_.jsx(BG,{size:14})})]},$e))}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Binding mode",_.jsxs("select",{"data-testid":"call-mode",value:W,onChange:$e=>Z($e.target.value),children:[_.jsx("option",{value:"manual",children:"Manual call"}),_.jsx("option",{value:"initializer",children:"Newborn initializer"})]})]}),_.jsxs("label",{children:["Call name",_.jsx("input",{"data-testid":"call-name",value:H,onChange:$e=>U($e.target.value),placeholder:"child"})]}),_.jsxs("label",{children:["Target application",_.jsxs("select",{"data-testid":"call-target",value:G,onChange:$e=>ie($e.target.value),children:[_.jsx("option",{value:"",children:"Choose application"}),k.map($e=>_.jsx("option",{value:$e.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),_.jsxs("button",{type:"button","data-testid":"add-call-binding",disabled:!H.trim()||!G,onClick:xe,children:[_.jsx(SA,{size:14})," Add ",W==="initializer"?"initializer":"call"]})]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Environment"}),Je?.environmentHint&&_.jsxs("p",{className:"environment-hint",children:[_.jsx("strong",{children:"Model hint"})," ",Je.environmentHint]}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Backend",_.jsxs("select",{"data-testid":"environment-backend",value:se,onChange:$e=>oe($e.target.value),children:[_.jsx("option",{value:"default",children:"No application override"}),_.jsx("option",{value:"scene",children:"Active scene environment"}),x.filter($e=>$e.source==="catalog").map($e=>_.jsxs("option",{value:$e.id,children:[$e.name," · ",$e.type]},$e.id))]})]}),_.jsxs("label",{children:["Provider",_.jsx("input",{"data-testid":"environment-provider",value:ee,onChange:$e=>Me($e.target.value),placeholder:"default provider",disabled:se==="default"})]}),_.jsxs("label",{children:["Output sink",_.jsx("input",{"data-testid":"environment-sink",value:ae,onChange:$e=>Ne($e.target.value),placeholder:"default sink",disabled:se==="default"})]})]}),g.environmentInputs.length>0&&_.jsx("div",{className:"configuration-list environment-sources",children:g.environmentInputs.map($e=>_.jsxs("label",{children:[_.jsx("code",{children:$e.name}),_.jsx("input",{value:pe[$e.name]||"",onChange:Mn=>Pe(ye=>({...ye,[$e.name]:Mn.target.value})),placeholder:"backend source variable",disabled:se==="default","data-testid":`environment-source-${$e.name}`})]},$e.name))}),_.jsx("div",{className:"configuration-list",children:Xe.map(($e,Mn)=>_.jsxs("div",{children:[_.jsx("input",{"aria-label":"Backend option",value:$e.key,onChange:ye=>ln(Re=>Re.map((Hn,rt)=>rt===Mn?{...Hn,key:ye.target.value}:Hn)),placeholder:"option"}),_.jsxs("select",{value:$e.type,onChange:ye=>ln(Re=>Re.map((Hn,rt)=>rt===Mn?{...Hn,type:ye.target.value}:Hn)),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]}),_.jsx("input",{"aria-label":"Backend option value",value:$e.value,onChange:ye=>ln(Re=>Re.map((Hn,rt)=>rt===Mn?{...Hn,value:ye.target.value}:Hn))}),_.jsx("button",{className:"danger icon-button",onClick:()=>ln(ye=>ye.filter((Re,Hn)=>Hn!==Mn)),children:_.jsx(BG,{size:14})})]},Mn))}),_.jsxs("div",{className:"compact-actions",children:[_.jsxs("button",{type:"button",disabled:se==="default",onClick:()=>ln($e=>[...$e,{key:"",type:"string",value:""}]),children:[_.jsx(SA,{size:14})," Backend option"]}),_.jsxs("button",{type:"button","data-testid":"apply-environment",onClick:fn,children:[_.jsx(TA,{size:14})," Apply environment"]})]}),_.jsxs("div",{className:"effective-environment",children:[_.jsx("strong",{children:"Effective bindings"}),_.jsx("code",{children:JSON.stringify(g.environmentBindings||{},null,2)}),g.environmentWindow!==null&&g.environmentWindow!==void 0?_.jsx("code",{children:JSON.stringify(g.environmentWindow)}):null]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Output routing"}),_.jsx("div",{className:"configuration-list",children:g.outputs.map($e=>_.jsxs("label",{children:[_.jsx("code",{children:$e.name}),_.jsxs("select",{"data-testid":`output-routing-${$e.name}`,value:g.outputRouting[$e.name]||"canonical",onChange:Mn=>N({action:"edit",kind:"set_output_routing",applicationRef:g.owner,output:$e.name,route:Mn.target.value}),children:[_.jsx("option",{value:"canonical",children:"Canonical status owner"}),_.jsx("option",{value:"stream_only",children:"Stream only"})]})]},$e.name))})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Duplicate-writer ordering"}),_.jsx("div",{className:"configuration-list",children:on.map(($e,Mn)=>_.jsxs("div",{children:[_.jsx("code",{children:$e.variables.join(", ")}),_.jsxs("span",{children:["after ",$e.after.join(", ")]}),_.jsx("button",{className:"danger icon-button",title:"Remove update ordering",onClick:()=>An(ye=>ye.filter((Re,Hn)=>Hn!==Mn)),children:_.jsx(BG,{size:14})})]},`${$e.variables.join(",")}:${$e.after.join(",")}`))}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Output",_.jsx("select",{value:xn,onChange:$e=>tt($e.target.value),children:g.outputs.map($e=>_.jsx("option",{value:$e.name,children:$e.name},$e.name))})]}),_.jsxs("label",{children:["Run after",_.jsxs("select",{value:vn,onChange:$e=>wn($e.target.value),children:[_.jsx("option",{value:"",children:"Choose application"}),k.map($e=>_.jsx("option",{value:$e.owner.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),_.jsxs("button",{type:"button",disabled:!xn||!vn,onClick:qe,children:[_.jsx(SA,{size:14})," Add rule"]}),_.jsxs("button",{type:"button",onClick:()=>N({action:"edit",kind:"set_update_ordering",applicationRef:g.owner,updates:on}),children:[_.jsx(TA,{size:14})," Apply ordering"]})]})]})]}),_.jsx("footer",{children:_.jsx("button",{className:"primary",onClick:$,children:"Done"})})]})})}function GXn(g,E,x,M){return{action:"edit",kind:"set_call_binding",applicationRef:g,call:E,selector:x,mode:M}}function qXn(g){return Object.entries(g||{}).map(([E,x])=>({key:E,type:typeof x=="number"?Number.isInteger(x)?"integer":"float":typeof x=="boolean"?"boolean":"string",value:String(x??"")}))}function UXn(g,E,x,M,N){return g==="default"?null:{backendId:g,provider:E.trim()||null,sources:Object.fromEntries(Object.entries(x).filter(([,$])=>$.trim()).map(([$,k])=>[$,k.trim()])),sink:M.trim()||null,extra:Object.fromEntries(N.filter($=>$.key.trim()).map($=>[$.key.trim(),{type:$.type,value:$.value}]))}}function XXn({endpoints:g,objects:E,preview:x,onPreview:M,onSubmit:N,onClose:$}){const k=KXn(g.sourceApplication.targetIds,g.targetApplication.targetIds),[H,U]=Be.useState(g.sourceApplication.targetCount>1&&g.targetApplication.targetCount===1?"many":"one"),[G,ie]=Be.useState(k?"self":""),[W,Z]=Be.useState("local"),[se,oe]=Be.useState(""),[ee,Me]=Be.useState(""),[pe,Pe]=Be.useState(X7e(g.sourceApplication.targetScales)),[ae,Ne]=Be.useState(X7e(g.sourceApplication.targetKinds)),[Xe,ln]=Be.useState(X7e(g.sourceApplication.targetSpecies)),[on,An]=Be.useState(""),[xn,tt]=Be.useState("application"),[vn,wn]=Be.useState("automatic"),[Y,Je]=Be.useState(""),[pn,xe]=Be.useState("Hour"),qe=oue(E.map(Re=>Re.scale)),fn=oue(E.map(Re=>Re.kind)),$e=oue(E.map(Re=>Re.species)),Mn=oue(E.map(Re=>Re.name)),ye=()=>{const Re={selectors:[],var:g.sourcePort.name};Re[xn]=xn==="application"?g.sourceApplication.owner.applicationId:g.sourceApplication.process;const Hn=QXn(W,se,ee);if(Hn&&(Re.within=Hn),G&&(Re.relation=G),pe&&(Re.scale=pe),ae&&(Re.kind=ae),Xe&&(Re.species=Xe),on&&(Re.name=on),vn!=="automatic"&&(Re.policy={type:YXn(vn)}),Y.trim()){const rt=WXn(Y,pn);rt&&(Re.window=rt)}return{applicationRef:g.targetApplication.owner,input:g.targetPort.name,selector:{type:VXn(H),multiplicity:H,criteria:Re,julia:""}}};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel binding-form",onMouseDown:Re=>Re.stopPropagation(),"data-testid":"binding-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Connect applications"}),_.jsx("span",{children:"Julia resolves this declaration into concrete object bindings"})]}),_.jsx("button",{onClick:$,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsxs("div",{className:"binding-route",children:[_.jsxs("div",{children:[_.jsx("small",{children:"Producer"}),_.jsx("strong",{children:g.sourceApplication.applicationId}),_.jsx("code",{children:g.sourcePort.name})]}),_.jsx(W1n,{size:22}),_.jsxs("div",{children:[_.jsx("small",{children:"Consumer"}),_.jsx("strong",{children:g.targetApplication.applicationId}),_.jsx("code",{children:g.targetPort.name})]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Source object selector"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Multiplicity",_.jsxs("select",{value:H,onChange:Re=>U(Re.target.value),children:[_.jsx("option",{value:"one",children:"One"}),_.jsx("option",{value:"optional_one",children:"Optional one"}),_.jsx("option",{value:"many",children:"Many"})]})]}),_.jsxs("label",{children:["Scope",_.jsxs("select",{value:W,onChange:Re=>Z(Re.target.value),children:[_.jsx("option",{value:"local",children:"Default / instance local"}),_.jsx("option",{value:"scene",children:"Explicit whole scene"}),_.jsx("option",{value:"self",children:"Consumer object"}),_.jsx("option",{value:"subtree",children:"Consumer subtree"}),_.jsx("option",{value:"self_plant",children:"Consumer plant"}),_.jsx("option",{value:"ancestor",children:"Ancestor subtree"}),_.jsx("option",{value:"named_scope",children:"Named object subtree"})]})]}),W==="ancestor"&&_.jsx(lD,{label:"Ancestor scale",value:ee,options:qe,onChange:Me}),W==="named_scope"&&_.jsx(lD,{label:"Scope root",value:se,options:Mn,onChange:oe}),_.jsxs("label",{children:["Relation",_.jsxs("select",{value:G,onChange:Re=>ie(Re.target.value),children:[_.jsx("option",{value:"",children:"Any relation"}),_.jsx("option",{value:"self",children:"Same object"}),_.jsx("option",{value:"parent",children:"Parent"}),_.jsx("option",{value:"children",children:"Children"}),_.jsx("option",{value:"ancestors",children:"Ancestors"}),_.jsx("option",{value:"descendants",children:"Descendants"}),_.jsx("option",{value:"siblings",children:"Siblings"})]})]}),_.jsxs("label",{children:["Producer filter",_.jsxs("select",{value:xn,onChange:Re=>tt(Re.target.value),children:[_.jsx("option",{value:"application",children:"This application"}),_.jsx("option",{value:"process",children:"Any application of this process"})]})]}),_.jsx(lD,{label:"Scale",value:pe,options:qe,onChange:Pe}),_.jsx(lD,{label:"Kind",value:ae,options:fn,onChange:Ne}),_.jsx(lD,{label:"Species",value:Xe,options:$e,onChange:ln}),_.jsx(lD,{label:"Object name",value:on,options:Mn,onChange:An}),_.jsxs("label",{children:["Temporal policy",_.jsxs("select",{value:vn,onChange:Re=>wn(Re.target.value),children:[_.jsx("option",{value:"automatic",children:"Automatic"}),_.jsx("option",{value:"hold_last",children:"Hold last"}),_.jsx("option",{value:"interpolate",children:"Interpolate"}),_.jsx("option",{value:"integrate",children:"Integrate"}),_.jsx("option",{value:"aggregate",children:"Aggregate"})]})]}),_.jsxs("label",{children:["Window value",_.jsx("input",{type:"number",min:"1",step:"1",value:Y,onChange:Re=>Je(Re.target.value),placeholder:"Automatic","data-testid":"binding-window-value"})]}),_.jsxs("label",{children:["Window unit",_.jsxs("select",{value:pn,onChange:Re=>xe(Re.target.value),disabled:!Y.trim(),"data-testid":"binding-window-unit",children:[_.jsx("option",{children:"Second"}),_.jsx("option",{children:"Minute"}),_.jsx("option",{children:"Hour"}),_.jsx("option",{children:"Day"})]})]})]})]}),x&&_.jsxs("section",{className:"selector-preview","data-testid":"binding-preview",children:[_.jsxs("strong",{children:[x.bindingCount," resolved binding",x.bindingCount===1?"":"s"]}),_.jsxs("span",{children:[x.consumerObjectIds.length," consumer object",x.consumerObjectIds.length===1?"":"s"," from ",x.sourceObjectIds.length," source object",x.sourceObjectIds.length===1?"":"s"]}),x.sourceApplicationIds.length>0&&_.jsx("code",{children:x.sourceApplicationIds.join(", ")}),x.diagnostics.map(Re=>_.jsx("p",{children:Re},Re))]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:$,children:"Cancel"}),_.jsxs("button",{onClick:()=>M(ye()),"data-testid":"binding-preview-button",children:[_.jsx(Dke,{size:15})," Preview resolution"]}),_.jsxs("button",{className:"primary",onClick:()=>N(ye()),"data-testid":"binding-submit",children:[_.jsx(W1n,{size:15})," Apply binding"]})]})]})})}function lD({label:g,value:E,options:x,onChange:M}){return _.jsxs("label",{children:[g,_.jsxs("select",{value:E,onChange:N=>M(N.target.value),children:[_.jsx("option",{value:"",children:"Any"}),x.map(N=>_.jsx("option",{value:N,children:N},N))]})]})}function KXn(g,E){return g.length===E.length&&g.every(x=>E.some(M=>String(M)===String(x)))}function X7e(g){return g.length===1?g[0]:""}function VXn(g){return g==="one"?"One":g==="optional_one"?"OptionalOne":"Many"}function oue(g){return[...new Set(g.filter(E=>!!E))].sort()}function YXn(g){return g==="hold_last"?"HoldLast":g==="interpolate"?"Interpolate":g==="integrate"?"Integrate":"Aggregate"}function QXn(g,E,x){return g==="local"?null:g==="scene"?{type:"SceneScope"}:g==="self"?{type:"Self"}:g==="subtree"?{type:"Subtree"}:g==="self_plant"?{type:"SelfPlant"}:g==="ancestor"?{type:"Ancestor",scale:x||null}:g==="named_scope"&&E?{type:"Scope",name:E}:null}function WXn(g,E){const x=Number(g);return!Number.isInteger(x)||x<=0?null:{mode:"period",value:x,unit:E,julia:`Dates.${E}(${x})`}}function ZXn({environments:g,activeId:E,onSubmit:x,onClose:M}){const[N,$]=Be.useState(E||"none"),k=g.find(H=>H.id===N);return _.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:_.jsxs("section",{className:"overlay-panel environment-form",onMouseDown:H=>H.stopPropagation(),"data-testid":"environment-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Scene environment"}),_.jsx("span",{children:"Environment values stay in Julia and are selected by catalog name"})]}),_.jsx("button",{onClick:M,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsxs("label",{children:["Environment",_.jsxs("select",{value:N,onChange:H=>$(H.target.value),"data-testid":"scene-environment",children:[_.jsx("option",{value:"none",children:"No environment"}),g.filter(H=>H.source==="catalog").map(H=>_.jsxs("option",{value:H.id,children:[H.name," · ",H.type]},H.id))]})]}),k&&_.jsxs("section",{className:"environment-summary",children:[_.jsx("strong",{children:k.name}),_.jsx("code",{children:k.type}),_.jsx("span",{children:k.variables.length?`Available variables: ${k.variables.join(", ")}`:"Backend variables are discovered by Julia at compile time."})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:M,children:"Cancel"}),_.jsxs("button",{className:"primary",onClick:()=>x(N==="none"?null:N),"data-testid":"environment-submit",children:[_.jsx(TA,{size:15})," Use environment"]})]})]})})}function eKn({templates:g,instances:E,objects:x,preview:M,onPreview:N,onSubmit:$,onClose:k}){const[H,U]=Be.useState(g[0]?.id||""),[G,ie]=Be.useState(""),[W,Z]=Be.useState("existing"),se=Be.useMemo(()=>nKn(x,E),[E,x]),[oe,ee]=Be.useState(String(se[0]?.objectId??"")),[Me,pe]=Be.useState(""),[Pe,ae]=Be.useState(""),[Ne,Xe]=Be.useState(""),[ln,on]=Be.useState(""),[An,xn]=Be.useState(""),tt=()=>W==="existing"?{name:G.trim(),templateId:H,rootId:oe}:{name:G.trim(),templateId:H,rootObject:{objectId:Me.trim(),configuration:{parent:Pe||null,scale:Ne.trim()||null,kind:ln.trim()||null,species:An.trim()||null,name:G.trim()}}},vn=!!(H&&G.trim()&&(W==="existing"?oe:Me.trim()));return _.jsx("div",{className:"overlay-backdrop",onMouseDown:k,children:_.jsxs("section",{className:"overlay-panel instance-form",onMouseDown:wn=>wn.stopPropagation(),"data-testid":"instance-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Add template instance"}),_.jsx("span",{children:"Mount one reusable coupled model set on an object subtree"})]}),_.jsx("button",{onClick:k,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content instance-form-content",children:[_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Template",_.jsx("select",{value:H,onChange:wn=>U(wn.target.value),"data-testid":"instance-template",children:g.map(wn=>_.jsxs("option",{value:wn.id,children:[wn.name," · ",wn.source==="catalog"?"preset":"model-local"," · ",wn.applications.length," applications"]},wn.id))})]}),_.jsxs("label",{children:["Instance name",_.jsx("input",{value:G,onChange:wn=>ie(wn.target.value),placeholder:"plant_1","data-testid":"instance-name"})]})]}),_.jsxs("div",{className:"override-scope-choice",children:[_.jsxs("button",{className:W==="existing"?"active":"",onClick:()=>Z("existing"),children:[_.jsx("strong",{children:"Use existing root"}),_.jsx("span",{children:"All unclaimed descendants are mounted automatically"})]}),_.jsxs("button",{className:W==="new"?"active":"",onClick:()=>Z("new"),children:[_.jsx("strong",{children:"Create minimal root"}),_.jsx("span",{children:"Create the object and mount the template atomically"})]})]}),W==="existing"?_.jsxs("label",{children:["Unclaimed root",_.jsxs("select",{value:oe,onChange:wn=>ee(wn.target.value),"data-testid":"instance-root",children:[_.jsx("option",{value:"",children:"Choose an object"}),se.map(wn=>_.jsxs("option",{value:String(wn.objectId),children:[wn.name||String(wn.objectId)," · ",wn.scale||"unscaled"]},wn.id))]})]}):_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Stable object ID",_.jsx("input",{value:Me,onChange:wn=>pe(wn.target.value),"data-testid":"instance-new-root-id"})]}),_.jsxs("label",{children:["Parent object",_.jsxs("select",{value:Pe,onChange:wn=>ae(wn.target.value),children:[_.jsx("option",{value:"",children:"No parent"}),x.map(wn=>_.jsx("option",{value:String(wn.objectId),children:wn.name||String(wn.objectId)},wn.id))]})]}),_.jsxs("label",{children:["Scale",_.jsx("input",{value:Ne,onChange:wn=>Xe(wn.target.value)})]}),_.jsxs("label",{children:["Kind",_.jsx("input",{value:ln,onChange:wn=>on(wn.target.value)})]}),_.jsxs("label",{children:["Species",_.jsx("input",{value:An,onChange:wn=>xn(wn.target.value)})]})]}),M&&_.jsxs("section",{className:"selector-preview","data-testid":"instance-preview",children:[_.jsxs("strong",{children:[M.objectIds.length," claimed object",M.objectIds.length===1?"":"s"]}),_.jsx("code",{children:M.objectIds.map(String).join(", ")}),M.applications.map(wn=>_.jsxs("div",{children:[_.jsx("code",{children:wn.applicationId}),_.jsxs("span",{children:[wn.targetIds.length," resolved target",wn.targetIds.length===1?"":"s"]})]},wn.applicationId)),M.diagnostics.map(wn=>_.jsx("p",{children:wn},wn))]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:k,children:"Cancel"}),_.jsxs("button",{disabled:!vn,onClick:()=>N(tt()),"data-testid":"instance-preview-button",children:[_.jsx(Dke,{size:15})," Preview mount"]}),_.jsxs("button",{className:"primary",disabled:!vn,onClick:()=>$(tt()),"data-testid":"instance-submit",children:[_.jsx(TA,{size:15})," Add instance"]})]})]})})}function nKn(g,E){const x=new Set(E.flatMap(M=>M.objectIds.map(String)));return g.filter(M=>!x.has(String(M.objectId)))}function tKn({mode:g,objects:E,object:x,onSubmit:M,onClose:N}){const[$,k]=Be.useState(String(x?.objectId??"")),[H,U]=Be.useState(iKn(x?.parent)),[G,ie]=Be.useState(x?.scale||""),[W,Z]=Be.useState(x?.kind||""),[se,oe]=Be.useState(x?.species||""),[ee,Me]=Be.useState(x?.name||""),pe=Be.useMemo(()=>E.filter(ae=>String(ae.objectId)!==$),[$,E]),Pe=()=>M({objectId:$.trim(),configuration:{parent:H||null,scale:G.trim()||null,kind:W.trim()||null,species:se.trim()||null,name:ee.trim()||null}});return _.jsx("div",{className:"overlay-backdrop",onMouseDown:N,children:_.jsxs("section",{className:"overlay-panel object-form",onMouseDown:ae=>ae.stopPropagation(),"data-testid":"object-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:g==="add"?"Add scene object":`Update object ${String(x?.objectId)}`}),_.jsx("span",{children:"Objects define the concrete entities and topology targeted by applications"})]}),_.jsx("button",{onClick:N,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content object-form-content",children:[_.jsxs("label",{children:["Stable object ID",_.jsx("input",{value:$,disabled:g==="update",onChange:ae=>k(ae.target.value),"data-testid":"object-id"})]}),_.jsxs("label",{children:["Parent object",_.jsxs("select",{value:H,onChange:ae=>U(ae.target.value),children:[_.jsx("option",{value:"",children:"No parent"}),pe.map(ae=>_.jsxs("option",{value:String(ae.objectId),children:[ae.name||String(ae.objectId)," · ",ae.scale||"unscaled"]},ae.id))]})]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Scale",_.jsx("input",{value:G,onChange:ae=>ie(ae.target.value)})]}),_.jsxs("label",{children:["Kind",_.jsx("input",{value:W,onChange:ae=>Z(ae.target.value)})]}),_.jsxs("label",{children:["Species",_.jsx("input",{value:se,onChange:ae=>oe(ae.target.value)})]}),_.jsxs("label",{children:["Name",_.jsx("input",{value:ee,onChange:ae=>Me(ae.target.value)})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:N,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:!$.trim(),onClick:Pe,"data-testid":"object-submit",children:[_.jsx(TA,{size:15})," ",g==="add"?"Add object":"Apply changes"]})]})]})})}function iKn(g){if(g==null||g==="")return"";const E=String(g);return E.startsWith("object:")?E.slice(7):E}function rKn({application:g,models:E,instances:x,onSubmit:M,onRemove:N,onClose:$}){const k=Be.useMemo(()=>E.filter(tt=>tt.process===g.process),[g.process,E]),H=W0n(k,g)||k[0]||null,[U,G]=Be.useState("instance"),[ie,W]=Be.useState(g.targetInstances[0]||x[0]?.name||""),Z=x.find(tt=>tt.name===ie),se=(Z?.objectIds||[]).filter(tt=>g.targetIds.some(vn=>String(vn)===String(tt))),[oe,ee]=Be.useState(se[0]??""),[Me,pe]=Be.useState(H?.type||g.modelType),Pe=k.find(tt=>tt.type===Me)||H,[ae,Ne]=Be.useState(()=>Cue(Pe,g)),Xe=g.owner.applicationId,ln=!!Z?.instanceOverrides.includes(Xe),on=!!Z?.objectOverrides.some(tt=>{const vn=tt;return String(vn.object??vn.objectId??"")===String(oe)&&String(vn.application??vn.applicationId??"")===Xe}),An=U==="instance"?ln:on,xn=tt=>{pe(tt),Ne(Cue(k.find(vn=>vn.type===tt)||null))};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel override-form",onMouseDown:tt=>tt.stopPropagation(),"data-testid":"override-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Create a model override"}),_.jsx("span",{children:"The shared template remains unchanged outside the selected scope"})]}),_.jsx("button",{onClick:$,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content override-form-content",children:[_.jsxs("div",{className:"override-scope-choice",children:[_.jsxs("button",{className:U==="instance"?"active":"",onClick:()=>G("instance"),children:[_.jsx("strong",{children:"One instance"}),_.jsx("span",{children:"All targets of this application in one plant or object instance"})]}),_.jsxs("button",{className:U==="object"?"active":"",onClick:()=>G("object"),children:[_.jsx("strong",{children:"One object"}),_.jsx("span",{children:"Only one concrete execution receives the replacement model"})]})]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Instance",_.jsx("select",{value:ie,onChange:tt=>{const vn=tt.target.value,Y=(x.find(Je=>Je.name===vn)?.objectIds||[]).find(Je=>g.targetIds.some(pn=>String(pn)===String(Je)));W(vn),ee(Y??"")},children:x.filter(tt=>g.targetInstances.includes(tt.name)).map(tt=>_.jsx("option",{value:tt.name,children:tt.name},tt.name))})]}),U==="object"&&_.jsxs("label",{children:["Object",_.jsx("select",{value:String(oe),onChange:tt=>ee(tt.target.value),children:se.map(tt=>_.jsx("option",{value:String(tt),children:String(tt)},String(tt)))})]}),_.jsxs("label",{children:["Replacement model",_.jsx("select",{value:Me,onChange:tt=>xn(tt.target.value),children:k.map(tt=>_.jsxs("option",{value:tt.type,children:[tt.package?`${tt.package} · `:"",tt.name]},tt.type))})]})]}),Pe&&Pe.constructor.fields.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Model parameters"}),_.jsx(Z0n,{fields:Pe.constructor.fields,values:ae,onChange:Ne})]}),_.jsxs("div",{className:"override-warning",children:[_.jsx("strong",{children:U==="instance"?`Override ${ie}`:`Override object ${String(oe)}`}),_.jsx("span",{children:"Julia validates that the replacement keeps the same process and declared variable contract."})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:$,children:"Cancel"}),An&&_.jsxs("button",{className:"danger","data-testid":"remove-override",onClick:()=>N({scope:U,instance:ie,objectId:U==="object"?oe:void 0,applicationRef:g.owner,modelType:Me,parameters:ae}),children:[_.jsx(BG,{size:15})," Remove override"]}),_.jsxs("button",{className:"primary",disabled:!ie||!Me||U==="object"&&!String(oe),onClick:()=>M({scope:U,instance:ie,objectId:U==="object"?oe:void 0,applicationRef:g.owner,modelType:Me,parameters:ae}),children:[_.jsx(TA,{size:15})," Apply override"]})]})]})})}function sue(g){throw new Error('Could not dynamically require "'+g+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var K7e={exports:{}},edn;function cKn(){return edn||(edn=1,(function(g,E){(function(x){g.exports=x()})(function(){return(function(){function x(M,N,$){function k(G,ie){if(!N[G]){if(!M[G]){var W=typeof sue=="function"&&sue;if(!ie&&W)return W(G,!0);if(H)return H(G,!0);var Z=new Error("Cannot find module '"+G+"'");throw Z.code="MODULE_NOT_FOUND",Z}var se=N[G]={exports:{}};M[G][0].call(se.exports,function(oe){var ee=M[G][1][oe];return k(ee||oe)},se,se.exports,x,M,N,$)}return N[G].exports}for(var H=typeof sue=="function"&&sue,U=0;U<$.length;U++)k($[U]);return k}return x})()({1:[function(x,M,N){Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function $(Z){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},$(Z)}function k(Z,se){if(!(Z instanceof se))throw new TypeError("Cannot call a class as a function")}function H(Z,se){for(var oe=0;oe0&&arguments[0]!==void 0?arguments[0]:{},ee=oe.defaultLayoutOptions,Me=ee===void 0?{}:ee,pe=oe.algorithms,Pe=pe===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:pe,ae=oe.workerFactory,Ne=oe.workerUrl;if(k(this,Z),this.defaultLayoutOptions=Me,this.initialized=!1,typeof Ne>"u"&&typeof ae>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Xe=ae;typeof Ne<"u"&&typeof ae>"u"&&(Xe=function(An){return new Worker(An)});var ln=Xe(Ne);if(typeof ln.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new W(ln),this.worker.postMessage({cmd:"register",algorithms:Pe}).then(function(on){return se.initialized=!0}).catch(console.err)}return U(Z,[{key:"layout",value:function(oe){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Me=ee.layoutOptions,pe=Me===void 0?this.defaultLayoutOptions:Me,Pe=ee.logging,ae=Pe===void 0?!1:Pe,Ne=ee.measureExecutionTime,Xe=Ne===void 0?!1:Ne;return oe?this.worker.postMessage({cmd:"layout",graph:oe,layoutOptions:pe,options:{logging:ae,measureExecutionTime:Xe}}):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&&this.worker.terminate()}}])})();var W=(function(){function Z(se){var oe=this;if(k(this,Z),se===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=se,this.worker.onmessage=function(ee){setTimeout(function(){oe.receive(oe,ee)},0)}}return U(Z,[{key:"postMessage",value:function(oe){var ee=this.id||0;this.id=ee+1,oe.id=ee;var Me=this;return new Promise(function(pe,Pe){Me.resolvers[ee]=function(ae,Ne){ae?(Me.convertGwtStyleError(ae),Pe(ae)):pe(Ne)},Me.worker.postMessage(oe)})}},{key:"receive",value:function(oe,ee){var Me=ee.data,pe=oe.resolvers[Me.id];pe&&(delete oe.resolvers[Me.id],Me.error?pe(Me.error):pe(null,Me.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(oe){if(oe){var ee=oe.__java$exception;ee&&(ee.cause&&ee.cause.backingJsObject&&(oe.cause=ee.cause.backingJsObject,this.convertGwtStyleError(oe.cause)),delete oe.__java$exception)}}}])})()},{}],2:[function(x,M,N){(function($){(function(){var k;typeof window<"u"?k=window:typeof $<"u"?k=$:typeof self<"u"&&(k=self);var H;function U(){}function G(){}function ie(){}function W(){}function Z(){}function se(){}function oe(){}function ee(){}function Me(){}function pe(){}function Pe(){}function ae(){}function Ne(){}function Xe(){}function ln(){}function on(){}function An(){}function xn(){}function tt(){}function vn(){}function wn(){}function Y(){}function Je(){}function pn(){}function xe(){}function qe(){}function fn(){}function $e(){}function Mn(){}function ye(){}function Re(){}function Hn(){}function rt(){}function Jt(){}function di(){}function Gt(){}function xt(){}function si(){}function Kr(){}function Er(){}function Mt(){}function bi(){}function zi(){}function cu(){}function Fu(){}function Rs(){}function ia(){}function ef(){}function Oa(){}function Cc(){}function o0(){}function xb(){}function Sl(){}function cd(){}function s0(){}function uh(){}function ud(){}function b5(){}function l0(){}function Cp(){}function l6(){}function Ab(){}function ra(){}function od(){}function Sf(){}function f6(){}function oh(){}function Tp(){}function Gg(){}function qg(){}function Ug(){}function sd(){}function Xg(){}function Mb(){}function g5(){}function Op(){}function Np(){}function uu(){}function w5(){}function Kg(){}function rv(){}function p5(){}function Vg(){}function cv(){}function m5(){}function v5(){}function b1(){}function Ws(){}function xf(){}function vt(){}function kc(){}function tc(){}function tk(){}function f0(){}function Yg(){}function a6(){}function Ip(){}function Dp(){}function _p(){}function Lp(){}function xl(){}function y5(){}function ik(){}function Qg(){}function Pp(){}function OA(){}function h6(){}function rk(){}function ck(){}function uv(){}function k5(){}function a0(){}function _h(){}function uk(){}function NA(){}function j5(){}function ok(){}function ov(){}function IA(){}function Lh(){}function sv(){}function sk(){}function d6(){}function Wg(){}function kD(){}function jD(){}function E5(){}function oq(){}function ED(){}function SD(){}function DA(){}function sq(){}function lq(){}function lk(){}function Zg(){}function _A(){}function LA(){}function S5(){}function x5(){}function xD(){}function PA(){}function AD(){}function b6(){}function ew(){}function $A(){}function g6(){}function $p(){}function RA(){}function fk(){}function MD(){}function ak(){}function hk(){}function CD(){}function Ph(){}function lv(){}function dk(){}function w6(){}function fq(){}function BA(){}function zA(){}function p6(){}function bk(){}function TD(){}function aq(){}function hq(){}function dq(){}function FA(){}function bq(){}function gq(){}function wq(){}function pq(){}function mq(){}function OD(){}function vq(){}function yq(){}function kq(){}function jq(){}function JA(){}function Eq(){}function Sq(){}function xq(){}function ND(){}function Aq(){}function Mq(){}function Cq(){}function Tq(){}function Oq(){}function Nq(){}function Iq(){}function Dq(){}function _q(){}function HA(){}function m6(){}function Lq(){}function ID(){}function DD(){}function _D(){}function LD(){}function PD(){}function A5(){}function Pq(){}function $q(){}function Rq(){}function $D(){}function RD(){}function v6(){}function y6(){}function Bq(){}function gk(){}function BD(){}function GA(){}function qA(){}function UA(){}function zD(){}function FD(){}function JD(){}function zq(){}function Fq(){}function Jq(){}function Hq(){}function Gq(){}function g1(){}function k6(){}function HD(){}function GD(){}function qD(){}function UD(){}function XA(){}function qq(){}function M5(){}function KA(){}function j6(){}function VA(){}function XD(){}function fv(){}function C5(){}function YA(){}function KD(){}function av(){}function VD(){}function YD(){}function QD(){}function Uq(){}function Xq(){}function Kq(){}function WD(){}function ZD(){}function QA(){}function h0(){}function wk(){}function ld(){}function T5(){}function WA(){}function pk(){}function mk(){}function ZA(){}function hv(){}function e_(){}function vk(){}function O5(){}function Vq(){}function w1(){}function eM(){}function nw(){}function n_(){}function yk(){}function dv(){}function nM(){}function t_(){}function tM(){}function i_(){}function fd(){}function N5(){}function I5(){}function kk(){}function E6(){}function ad(){}function hd(){}function Rp(){}function Cb(){}function Tb(){}function tw(){}function r_(){}function iM(){}function rM(){}function c_(){}function ca(){}function Jo(){}function ou(){}function Bp(){}function dd(){}function cM(){}function zp(){}function u_(){}function o_(){}function D5(){}function bv(){}function _5(){}function Fp(){}function uM(){}function Jp(){}function iw(){}function Hp(){}function rw(){}function oM(){}function sM(){}function L5(){}function S6(){}function Gp(){}function ua(){}function x6(){}function lM(){}function Yq(){}function Qq(){}function A6(){}function Al(){}function fM(){}function M6(){}function C6(){}function aM(){}function P5(){}function $5(){}function Wq(){}function s_(){}function Zq(){}function l_(){}function gv(){}function hM(){}function jk(){}function f_(){}function R5(){}function dM(){}function Ek(){}function Sk(){}function a_(){}function h_(){}function wv(){}function pv(){}function d_(){}function bM(){}function B5(){}function T6(){}function xk(){}function O6(){}function Ak(){}function b_(){}function mv(){}function g_(){}function qp(){}function gM(){}function wM(){}function Up(){}function Xp(){}function N6(){}function pM(){}function mM(){}function I6(){}function D6(){}function w_(){}function p_(){}function z5(){}function Mk(){}function m_(){}function vM(){}function yM(){}function p1(){}function bd(){}function Kp(){}function kM(){}function v_(){}function Vp(){}function m1(){}function Zs(){}function Ck(){}function cw(){}function bc(){}function vo(){}function Ml(){}function Tk(){}function F5(){}function vv(){}function Ok(){}function _6(){}function J5(){}function eU(){}function Bs(){}function jM(){}function EM(){}function y_(){}function k_(){}function nU(){}function SM(){}function xM(){}function AM(){}function sh(){}function el(){}function Nk(){}function L6(){}function Ik(){}function MM(){}function uw(){}function Dk(){}function CM(){}function TM(){}function j_(){}function E_(){}function S_(){}function tU(){}function x_(){}function A_(){}function OM(){}function M_(){}function iU(){}function C_(){}function T_(){}function O_(){}function NM(){}function N_(){}function I_(){}function D_(){}function __(){}function L_(){}function rU(){}function P_(){}function H5(){}function $_(){}function _k(){}function Lk(){}function R_(){}function IM(){}function cU(){}function B_(){}function z_(){}function F_(){}function J_(){}function H_(){}function DM(){}function G_(){}function q_(){}function _M(){}function U_(){}function X_(){}function LM(){}function P6(){}function K_(){}function Pk(){}function PM(){}function V_(){}function Y_(){}function uU(){}function oU(){}function Q_(){}function $6(){}function $M(){}function $k(){}function W_(){}function RM(){}function R6(){}function sU(){}function BM(){}function Z_(){}function zM(){}function FM(){}function eL(){}function nL(){}function yv(){}function tL(){}function gd(){}function iL(){}function d0(){}function JM(){}function HM(){}function rL(){}function cL(){}function lU(){}function GM(){}function Cl(){}function oa(){}function uL(){}function oL(){}function sL(){}function lL(){}function B6(){}function fL(){}function Rk(){}function aL(){}function fU(){}function Bk(){}function qM(){}function hL(){}function dL(){}function Ge(){}function UM(){}function XM(){}function KM(){}function bL(){}function VM(){}function zk(){}function YM(){}function gL(){}function QM(){}function wL(){}function ow(){}function z6(){}function aU(){}function pL(){}function b0(){}function WM(){}function mL(){}function Fk(){}function kv(){}function yo(){}function Jk(){}function hU(){}function ZM(){}function F6(){}function Yp(){}function J6(){}function vL(){}function H6(){}function Ob(){}function G6(){}function eC(){}function yL(){}function nC(){}function tC(){}function jv(){}function kL(){}function Nb(){}function Tl(){}function q6(){}function iC(){}function Af(){}function dU(){}function jL(){}function EL(){}function Ss(){}function $h(){}function sw(){}function SL(){}function xL(){}function AL(){}function bU(){}function Hk(){}function Rh(){}function g0(){}function ML(){}function Ol(){}function Gk(){}function lw(){}function Ev(){}function fw(){}function rC(){}function cC(){}function w0(){}function CL(){}function G5(){}function U6(){}function X6(){}function q5(){}function TL(){}function OL(){}function K6(){}function NL(){}function qk(){}function IL(){}function gU(){}function wU(){}function Ju(){}function Do(){}function Hc(){}function nu(){}function io(){}function v1(){}function Qp(){}function U5(){}function uC(){}function aw(){}function zs(){}function Wp(){}function Sv(){}function oC(){}function y1(){}function X5(){}function V6(){}function Bh(){}function sC(){}function Uk(){}function DL(){}function Xk(){}function Kk(){}function Zp(){}function nf(){}function e2(){}function K5(){}function hw(){}function lC(){}function fC(){}function _L(){}function Y6(){}function aC(){}function k1(){}function LL(){}function zh(){}function PL(){}function $L(){}function pU(){}function n2(){}function Vk(){}function hC(){}function V5(){}function RL(){}function BL(){}function zL(){}function FL(){}function Yk(){}function dC(){}function mU(){}function vU(){}function yU(){}function JL(){}function HL(){}function Y5(){}function Qk(){}function GL(){}function qL(){}function UL(){}function XL(){}function KL(){}function VL(){}function Wk(){}function YL(){}function QL(){}function ro(){}function bC(){}function kU(){}function WL(){}function jU(){}function EU(){}function SU(){}function Zk(){}function Q5(){}function gC(){}function ej(){}function wC(){}function t2(){}function Ib(){}function Q6(){}function xU(){}function ZL(){}function pC(){}function eP(){}function nP(){}function mC(){vj()}function vC(){C0e()}function tP(){Hf()}function iP(){Rde()}function AU(){RO()}function yC(){IT()}function kC(){cT()}function MU(){rT()}function CU(){TMe()}function W6(){q4()}function TU(){r$e()}function rP(){i8()}function Gc(){G0()}function jC(){Bhe()}function nj(){K_e()}function EC(){Rhe()}function cP(){Y_e()}function SC(){V_e()}function Z6(){Q_e()}function tj(){P$e()}function OU(){W_e()}function uP(){MBe()}function NU(){Oe()}function IU(){ZP()}function oP(){xBe()}function sP(){ABe()}function ko(){YLe()}function xC(){Dge()}function sa(){CBe()}function DU(){eLe()}function lP(){H4()}function _U(){zFe()}function AC(){P1()}function MC(){cbe()}function ij(){HO()}function fP(){YBe()}function aP(){Gbe()}function CC(){THe()}function TC(){Z_e()}function LU(){WXe()}function hP(){Mu()}function PU(){Ha()}function dP(){nge()}function $U(){q0()}function RU(){_W()}function i2(){HQ()}function bP(){rB()}function OC(){Xt()}function NC(){xz()}function BU(){BB()}function zU(){bde()}function IC(){Uz()}function rj(){JY()}function nl(){_Ne()}function FU(){rge()}function j1(e){Ln(e)}function DC(e){this.a=e}function e9(e){this.a=e}function gP(e){this.a=e}function wP(e){this.a=e}function n9(e){this.a=e}function E1(e){this.a=e}function _C(e){this.a=e}function cj(e){this.a=e}function p0(e){this.a=e}function JU(e){this.a=e}function HU(e){this.a=e}function W5(e){this.a=e}function pP(e){this.a=e}function GU(e){this.c=e}function qU(e){this.a=e}function LC(e){this.a=e}function UU(e){this.a=e}function XU(e){this.a=e}function KU(e){this.a=e}function PC(e){this.a=e}function mP(e){this.a=e}function Z5(e){this.a=e}function xv(e){this.a=e}function vP(e){this.a=e}function $C(e){this.a=e}function e4(e){this.a=e}function t9(e){this.a=e}function yP(e){this.a=e}function uj(e){this.a=e}function RC(e){this.a=e}function BC(e){this.a=e}function oj(e){this.a=e}function kP(e){this.a=e}function jP(e){this.a=e}function VU(e){this.a=e}function EP(e){this.a=e}function YU(e){this.a=e}function zC(e){this.a=e}function QU(e){this.a=e}function i9(e){this.a=e}function r9(e){this.a=e}function Av(e){this.a=e}function c9(e){this.a=e}function n4(e){this.b=e}function wd(){this.a=[]}function SP(e,n){e.a=n}function WU(e,n){e.a=n}function ZU(e,n){e.b=n}function eX(e,n){e.c=n}function xP(e,n){e.c=n}function nX(e,n){e.d=n}function tX(e,n){e.d=n}function Mf(e,n){e.k=n}function AP(e,n){e.j=n}function Jue(e,n){e.c=n}function sj(e,n){e.c=n}function lj(e,n){e.a=n}function FC(e,n){e.a=n}function MP(e,n){e.f=n}function iX(e,n){e.a=n}function CP(e,n){e.b=n}function Db(e,n){e.d=n}function m0(e,n){e.i=n}function dw(e,n){e.o=n}function fj(e,n){e.r=n}function aj(e,n){e.a=n}function Mv(e,n){e.b=n}function rX(e,n){e.e=n}function cX(e,n){e.f=n}function t4(e,n){e.g=n}function Hue(e,n){e.e=n}function uX(e,n){e.f=n}function JC(e,n){e.f=n}function hj(e,n){e.a=n}function HC(e,n){e.b=n}function GC(e,n){e.n=n}function qC(e,n){e.a=n}function oX(e,n){e.c=n}function u9(e,n){e.c=n}function sX(e,n){e.c=n}function TP(e,n){e.a=n}function UC(e,n){e.a=n}function lX(e,n){e.d=n}function Gue(e,n){e.d=n}function XC(e,n){e.e=n}function a(e,n){e.e=n}function d(e,n){e.g=n}function w(e,n){e.f=n}function j(e,n){e.j=n}function T(e,n){e.a=n}function I(e,n){e.a=n}function Q(e,n){e.b=n}function de(e){e.b=e.a}function tn(e){e.c=e.d.d}function Pn(e){this.a=e}function it(e){this.a=e}function gt(e){this.a=e}function Gn(e){this.a=e}function et(e){this.a=e}function Di(e){this.a=e}function Cr(e){this.a=e}function co(e){this.a=e}function Sn(e){this.a=e}function sn(e){this.a=e}function _n(e){this.a=e}function ot(e){this.a=e}function Hi(e){this.a=e}function _u(e){this.a=e}function Xi(e){this.b=e}function Hr(e){this.b=e}function ic(e){this.b=e}function qc(e){this.d=e}function At(e){this.a=e}function fX(e){this.a=e}function que(e){this.a=e}function Lke(e){this.a=e}function Pke(e){this.a=e}function Uue(e){this.a=e}function Xue(e){this.a=e}function aX(e){this.c=e}function P(e){this.c=e}function $ke(e){this.c=e}function Kue(e){this.a=e}function Vue(e){this.a=e}function Yue(e){this.a=e}function Que(e){this.a=e}function o9(e){this.a=e}function Rke(e){this.a=e}function Bke(e){this.a=e}function s9(e){this.a=e}function zke(e){this.a=e}function Fke(e){this.a=e}function Jke(e){this.a=e}function Hke(e){this.a=e}function Gke(e){this.a=e}function qke(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Vke(e){this.a=e}function Yke(e){this.a=e}function dj(e){this.a=e}function Qke(e){this.a=e}function Wke(e){this.a=e}function OP(e){this.a=e}function Zke(e){this.a=e}function eje(e){this.a=e}function Wue(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function ije(e){this.a=e}function Zue(e){this.a=e}function eoe(e){this.a=e}function noe(e){this.a=e}function bj(e){this.a=e}function l9(e){this.a=e}function rje(e){this.a=e}function i4(e){this.a=e}function toe(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function lje(e){this.a=e}function fje(e){this.a=e}function aje(e){this.a=e}function hje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function gje(e){this.a=e}function ioe(e){this.a=e}function wje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function jje(e){this.a=e}function Eje(e){this.a=e}function Sje(e){this.a=e}function xje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Oje(e){this.a=e}function Nje(e){this.a=e}function Ije(e){this.a=e}function Dje(e){this.a=e}function _je(e){this.a=e}function Lje(e){this.a=e}function Pje(e){this.a=e}function $je(e){this.a=e}function Rje(e){this.a=e}function Bje(e){this.a=e}function zje(e){this.a=e}function Fje(e){this.a=e}function Jje(e){this.a=e}function Hje(e){this.a=e}function Gje(e){this.a=e}function qje(e){this.a=e}function Uje(e){this.a=e}function Xje(e){this.a=e}function Kje(e){this.a=e}function Vje(e){this.a=e}function Yje(e){this.a=e}function Qje(e){this.a=e}function Wje(e){this.b=e}function Zje(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.a=e}function tEe(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.a=e}function cEe(e){this.c=e}function uEe(e){this.a=e}function oEe(e){this.a=e}function sEe(e){this.a=e}function lEe(e){this.a=e}function fEe(e){this.a=e}function aEe(e){this.a=e}function hEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function gEe(e){this.a=e}function wEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function jEe(e){this.a=e}function EEe(e){this.a=e}function SEe(e){this.a=e}function xEe(e){this.a=e}function AEe(e){this.a=e}function MEe(e){this.a=e}function CEe(e){this.a=e}function TEe(e){this.a=e}function OEe(e){this.a=e}function NEe(e){this.a=e}function IEe(e){this.a=e}function S1(e){this.a=e}function Cv(e){this.a=e}function DEe(e){this.a=e}function _Ee(e){this.a=e}function LEe(e){this.a=e}function PEe(e){this.a=e}function $Ee(e){this.a=e}function REe(e){this.a=e}function BEe(e){this.a=e}function zEe(e){this.a=e}function FEe(e){this.a=e}function JEe(e){this.a=e}function HEe(e){this.a=e}function GEe(e){this.a=e}function qEe(e){this.a=e}function UEe(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function VEe(e){this.a=e}function YEe(e){this.a=e}function QEe(e){this.a=e}function WEe(e){this.a=e}function ZEe(e){this.a=e}function eSe(e){this.a=e}function nSe(e){this.a=e}function tSe(e){this.a=e}function iSe(e){this.a=e}function rSe(e){this.a=e}function NP(e){this.a=e}function cSe(e){this.f=e}function uSe(e){this.a=e}function oSe(e){this.a=e}function sSe(e){this.a=e}function lSe(e){this.a=e}function fSe(e){this.a=e}function aSe(e){this.a=e}function hSe(e){this.a=e}function dSe(e){this.a=e}function bSe(e){this.a=e}function gSe(e){this.a=e}function wSe(e){this.a=e}function pSe(e){this.a=e}function mSe(e){this.a=e}function vSe(e){this.a=e}function ySe(e){this.a=e}function kSe(e){this.a=e}function jSe(e){this.a=e}function ESe(e){this.a=e}function SSe(e){this.a=e}function xSe(e){this.a=e}function ASe(e){this.a=e}function MSe(e){this.a=e}function CSe(e){this.a=e}function TSe(e){this.a=e}function OSe(e){this.a=e}function NSe(e){this.a=e}function ISe(e){this.a=e}function hX(e){this.a=e}function roe(e){this.a=e}function ki(e){this.b=e}function DSe(e){this.a=e}function _Se(e){this.a=e}function LSe(e){this.a=e}function PSe(e){this.a=e}function $Se(e){this.a=e}function RSe(e){this.a=e}function BSe(e){this.a=e}function zSe(e){this.b=e}function FSe(e){this.a=e}function KC(e){this.a=e}function JSe(e){this.a=e}function HSe(e){this.a=e}function IP(e){this.a=e}function DP(e){this.a=e}function coe(e){this.c=e}function _P(e){this.e=e}function LP(e){this.e=e}function dX(e){this.a=e}function GSe(e){this.d=e}function qSe(e){this.a=e}function uoe(e){this.a=e}function ooe(e){this.a=e}function bw(e){this.e=e}function ibn(){this.a=0}function Te(){CK(this)}function wt(){Hu(this)}function bX(){LDe(this)}function USe(){}function gw(){this.c=Q8e}function XSe(e,n){e.b+=n}function rbn(e,n){n.Wb(e)}function cbn(e){return e.a}function ubn(e){return e.a}function obn(e){return e.a}function sbn(e){return e.a}function lbn(e){return e.a}function R(e){return e.e}function fbn(){return null}function abn(){return null}function hbn(e){throw R(e)}function r4(e){this.a=Nt(e)}function KSe(){this.a=this}function _b(){hOe.call(this)}function dbn(e){e.b.Mf(e.e)}function VSe(e){e.b=new NX}function gj(e,n){e.b=n-e.b}function wj(e,n){e.a=n-e.a}function YSe(e,n){n.gd(e.a)}function bbn(e,n){Ar(n,e)}function qn(e,n){e.push(n)}function QSe(e,n){e.sort(n)}function gbn(e,n,t){e.Wd(t,n)}function VC(e,n){e.e=n,n.b=e}function wbn(){zoe(),RRn()}function WSe(e){B9(),ite.je(e)}function soe(){_b.call(this)}function gX(){_b.call(this)}function loe(){hOe.call(this)}function ZSe(){_b.call(this)}function Nl(){_b.call(this)}function exe(){_b.call(this)}function YC(){_b.call(this)}function is(){_b.call(this)}function c4(){_b.call(this)}function _t(){_b.call(this)}function hu(){_b.call(this)}function nxe(){_b.call(this)}function PP(){this.Bb|=256}function txe(){this.b=new aTe}function foe(){foe=Y,new wt}function r2(e,n){e.length=n}function $P(e,n){Ce(e.a,n)}function pbn(e,n){O0e(e.c,n)}function mbn(e,n){hr(e.b,n)}function f9(e,n){hi(e.e,n)}function vbn(e,n){az(e.a,n)}function ybn(e,n){wQ(e.a,n)}function u4(e){Tz(e.c,e.b)}function kbn(e,n){e.kc().Nb(n)}function aoe(e){this.a=Njn(e)}function ar(){this.a=new wt}function ixe(){this.a=new wt}function RP(){this.a=new Te}function wX(){this.a=new Te}function hoe(){this.a=new Te}function Lb(){this.a=new KPe}function pX(){this.a=new jMe}function doe(){this.a=new R_e}function boe(){this.a=new rNe}function tf(){this.a=new l6}function goe(){this.a=new rv}function rxe(){this.a=new pLe}function cxe(){this.a=new Te}function uxe(){this.a=new Te}function woe(){this.a=new Te}function oxe(){this.a=new Te}function sxe(){this.d=new Te}function lxe(){this.a=new ar}function fxe(){this.a=new wt}function axe(){this.b=new wt}function hxe(){this.b=new Te}function poe(){this.e=new Te}function dxe(){this.a=new Gc}function bxe(){this.d=new Te}function pj(){USe.call(this)}function mX(){pj.call(this)}function o4(){USe.call(this)}function moe(){o4.call(this)}function gxe(){soe.call(this)}function BP(){RP.call(this)}function wxe(){X$.call(this)}function pxe(){woe.call(this)}function mxe(){Te.call(this)}function vxe(){g_e.call(this)}function yxe(){g_e.call(this)}function kxe(){joe.call(this)}function jxe(){joe.call(this)}function Exe(){joe.call(this)}function Sxe(){Eoe.call(this)}function mj(){Fk.call(this)}function voe(){Fk.call(this)}function xs(){xi.call(this)}function xxe(){Bxe.call(this)}function Axe(){Bxe.call(this)}function Mxe(){wt.call(this)}function Cxe(){wt.call(this)}function Txe(){wt.call(this)}function vX(){kBe.call(this)}function Oxe(){ar.call(this)}function Nxe(){PP.call(this)}function yX(){cle.call(this)}function yoe(){wt.call(this)}function kX(){cle.call(this)}function jX(){wt.call(this)}function Ixe(){wt.call(this)}function koe(){jv.call(this)}function Dxe(){koe.call(this)}function _xe(){jv.call(this)}function Lxe(){pC.call(this)}function joe(){this.a=new ar}function Pxe(){this.a=new wt}function $xe(){this.a=new Te}function Rxe(){this.j=new Te}function Eoe(){this.a=new wt}function s4(){this.a=new xi}function Bxe(){this.a=new eC}function Soe(){this.a=new J_}function zxe(){this.a=new $Ae}function vj(){vj=Y,Vne=new G}function EX(){EX=Y,Yne=new Jxe}function SX(){SX=Y,Qne=new Fxe}function Fxe(){xv.call(this,"")}function Jxe(){xv.call(this,"")}function Hxe(e){QRe.call(this,e)}function Gxe(e){QRe.call(this,e)}function xoe(e){E1.call(this,e)}function Aoe(e){YAe.call(this,e)}function jbn(e){YAe.call(this,e)}function Ebn(e){Aoe.call(this,e)}function Sbn(e){Aoe.call(this,e)}function xbn(e){Aoe.call(this,e)}function qxe(e){uY.call(this,e)}function Uxe(e){uY.call(this,e)}function Xxe(e){VTe.call(this,e)}function Kxe(e){Xoe.call(this,e)}function yj(e){YP.call(this,e)}function Moe(e){YP.call(this,e)}function Vxe(e){YP.call(this,e)}function du(e){HIe.call(this,e)}function Yxe(e){du.call(this,e)}function l4(){c9.call(this,{})}function xX(e){j9(),this.a=e}function Qxe(e){e.b=null,e.c=0}function Abn(e,n){e.e=n,QUe(e,n)}function Mbn(e,n){e.a=n,BCn(e)}function AX(e,n,t){e.a[n.g]=t}function Cbn(e,n,t){uAn(t,e,n)}function Tbn(e,n){u2n(n.i,e.n)}function Wxe(e,n){ykn(e).Ad(n)}function Obn(e,n){return e*e/n}function Zxe(e,n){return e.g-n.g}function Nbn(e,n){e.a.ec().Kc(n)}function Ibn(e){return new Av(e)}function Dbn(e){return new M2(e)}function eAe(){eAe=Y,vme=new U}function Coe(){Coe=Y,yme=new Xe}function zP(){zP=Y,XS=new An}function FP(){FP=Y,Zne=new KTe}function nAe(){nAe=Y,Zen=new tt}function JP(e){n1e(),this.a=e}function MX(e){fV(),this.f=e}function v0(e){fV(),this.f=e}function tAe(e){DNe(),this.a=e}function HP(e){du.call(this,e)}function jo(e){du.call(this,e)}function iAe(e){du.call(this,e)}function CX(e){HIe.call(this,e)}function a9(e){du.call(this,e)}function Un(e){du.call(this,e)}function Uc(e){du.call(this,e)}function rAe(e){du.call(this,e)}function f4(e){du.call(this,e)}function pd(e){du.call(this,e)}function Su(e){Ln(e),this.a=e}function kj(e){$fe(e,e.length)}function Toe(e){return ig(e),e}function c2(e){return!!e&&e.b}function _bn(e){return!!e&&e.k}function Lbn(e){return!!e&&e.j}function jj(e){return e.b==e.c}function Fe(e){return Ln(e),e}function ne(e){return Ln(e),e}function QC(e){return Ln(e),e}function Ooe(e){return Ln(e),e}function Pbn(e){return Ln(e),e}function lh(e){du.call(this,e)}function md(e){du.call(this,e)}function a4(e){du.call(this,e)}function TX(e){du.call(this,e)}function Bt(e){du.call(this,e)}function OX(e){dle.call(this,e,0)}function NX(){Sae.call(this,12,3)}function IX(){this.a=Pt(Nt(To))}function cAe(){throw R(new _t)}function Noe(){throw R(new _t)}function uAe(){throw R(new _t)}function $bn(){throw R(new _t)}function Rbn(){throw R(new _t)}function Bbn(){throw R(new _t)}function GP(){GP=Y,B9()}function vd(){Di.call(this,"")}function Ej(){Di.call(this,"")}function y0(){Di.call(this,"")}function h4(){Di.call(this,"")}function Ioe(e){jo.call(this,e)}function Doe(e){jo.call(this,e)}function fh(e){Un.call(this,e)}function h9(e){Hr.call(this,e)}function oAe(e){h9.call(this,e)}function DX(e){F$.call(this,e)}function zbn(e,n,t){e.c.Cf(n,t)}function Fbn(e,n,t){n.Ad(e.a[t])}function Jbn(e,n,t){n.Ne(e.a[t])}function Hbn(e,n){return e.a-n.a}function Gbn(e,n){return e.a-n.a}function qbn(e,n){return e.a-n.a}function qP(e,n){return yY(e,n)}function z(e,n){return G_e(e,n)}function Ubn(e,n){return n in e.a}function sAe(e){return e.a?e.b:0}function Xbn(e){return e.a?e.b:0}function lAe(e,n){return e.f=n,e}function Kbn(e,n){return e.b=n,e}function fAe(e,n){return e.c=n,e}function Vbn(e,n){return e.g=n,e}function _oe(e,n){return e.a=n,e}function Loe(e,n){return e.f=n,e}function Ybn(e,n){return e.f=n,e}function Poe(e,n){return e.e=n,e}function Qbn(e,n){return e.k=n,e}function $oe(e,n){return e.a=n,e}function Wbn(e,n){return e.e=n,e}function Zbn(e,n){e.b=new wc(n)}function aAe(e,n){e._d(n),n.$d(e)}function egn(e,n){il(),n.n.a+=e}function ngn(e,n){G0(),wu(n,e)}function Roe(e){XDe.call(this,e)}function hAe(e){XDe.call(this,e)}function dAe(){qse.call(this,"")}function bAe(){this.b=0,this.a=0}function gAe(){gAe=Y,hnn=DAn()}function u2(e,n){return e.b=n,e}function UP(e,n){return e.a=n,e}function o2(e,n){return e.c=n,e}function s2(e,n){return e.d=n,e}function l2(e,n){return e.e=n,e}function Boe(e,n){return e.f=n,e}function Sj(e,n){return e.a=n,e}function d9(e,n){return e.b=n,e}function b9(e,n){return e.c=n,e}function Ke(e,n){return e.c=n,e}function hn(e,n){return e.b=n,e}function Ve(e,n){return e.d=n,e}function Ye(e,n){return e.e=n,e}function tgn(e,n){return e.f=n,e}function Qe(e,n){return e.g=n,e}function We(e,n){return e.a=n,e}function Ze(e,n){return e.i=n,e}function en(e,n){return e.j=n,e}function ign(e,n){return n.pg(e)}function rgn(e,n){return e.b-n.b}function cgn(e,n){return e.g-n.g}function ugn(e,n){return e.s-n.s}function ogn(e,n){return e?0:n-1}function wAe(e,n){return e?0:n-1}function sgn(e,n){return e?n-1:0}function pAe(e,n){return e.k=n,e}function lgn(e,n){return e.j=n,e}function Vr(){this.a=0,this.b=0}function XP(e){XK.call(this,e)}function k0(e){_w.call(this,e)}function mAe(e){$V.call(this,e)}function vAe(e){$V.call(this,e)}function yAe(){yAe=Y,Pr=eMn()}function j0(){j0=Y,kan=Gxn()}function zoe(){zoe=Y,Lg=SE()}function g9(){g9=Y,Y8e=qxn()}function kAe(){kAe=Y,chn=Uxn()}function Foe(){Foe=Y,Bu=PCn()}function la(e){return e.e&&e.e()}function jAe(e,n){return e.c._b(n)}function EAe(e,n){return kFe(e.b,n)}function SAe(e,n){return Lgn(e.a,n)}function xAe(e,n){e.b=0,$2(e,n)}function fgn(e,n){e.c=n,e.b=!0}function Tv(e,n){return e.a+=n,e}function _X(e,n){return e.a+=n,e}function yd(e,n){return e.a+=n,e}function ww(e,n){return e.a+=n,e}function Pb(e){return M1(e),e.o}function Joe(e){CVe(),QRn(this,e)}function AAe(){throw R(new _t)}function MAe(){throw R(new _t)}function CAe(){throw R(new _t)}function TAe(){throw R(new _t)}function OAe(){throw R(new _t)}function NAe(){throw R(new _t)}function KP(e){this.a=new b4(e)}function kd(e){this.a=new gV(e)}function Ov(e,n){for(;e.Pe(n););}function Hoe(e,n){for(;e.zd(n););}function agn(e,n,t){b3n(e.a,n,t)}function Goe(e,n,t){e.splice(n,t)}function hgn(e,n){return XLn(n,e)}function qoe(e,n){return e.d[n.p]}function WC(e){return e.b!=e.d.c}function IAe(e){return e.l|e.m<<22}function LX(e){return e?e.d:null}function dgn(e){return e?e.g:null}function bgn(e){return e?e.i:null}function DAe(e,n){return bIn(e,n)}function w9(e){return T0(e),e.a}function _Ae(e){e.c?dXe(e):bXe(e)}function LAe(){this.b=new iS(iye)}function PAe(){this.b=new iS(Wre)}function $Ae(){this.b=new iS(Wre)}function RAe(){this.a=new iS(Rye)}function BAe(){this.a=new iS(s6e)}function VP(e){this.a=0,this.b=e}function zAe(){throw R(new _t)}function FAe(){throw R(new _t)}function JAe(){throw R(new _t)}function HAe(){throw R(new _t)}function GAe(){throw R(new _t)}function qAe(){throw R(new _t)}function UAe(){throw R(new _t)}function XAe(){throw R(new _t)}function KAe(){throw R(new _t)}function VAe(){throw R(new _t)}function ggn(){throw R(new hu)}function wgn(){throw R(new hu)}function ZC(e){this.a=new pMe(e)}function p9(e,n){this.e=e,this.d=n}function Uoe(e,n){this.b=e,this.c=n}function YAe(e){tle(e.dc()),this.c=e}function eT(e,n){Hv.call(this,e,n)}function m9(e,n){eT.call(this,e,n)}function QAe(e,n){this.a=e,this.b=n}function WAe(e,n){this.a=e,this.b=n}function ZAe(e,n){this.a=e,this.b=n}function eMe(e,n){this.a=e,this.b=n}function nMe(e,n){this.a=e,this.b=n}function tMe(e,n){this.a=e,this.b=n}function iMe(e,n){this.a=e,this.b=n}function rMe(e,n){this.b=e,this.a=n}function cMe(e,n){this.b=e,this.a=n}function pw(e,n){this.g=e,this.i=n}function uMe(e,n){this.a=e,this.b=n}function oMe(e,n){this.b=e,this.a=n}function sMe(e,n){this.a=e,this.b=n}function lMe(e,n){this.b=e,this.a=n}function YP(e){this.b=u(Nt(e),50)}function QP(e){this.b=u(Nt(e),92)}function Ot(e,n){this.f=e,this.g=n}function PX(e,n){this.a=e,this.b=n}function fMe(e,n){this.a=e,this.f=n}function aMe(e){this.a=u(Nt(e),16)}function Xoe(e){this.a=u(Nt(e),16)}function hMe(e,n){this.b=e,this.c=n}function dMe(e){this.a=u(Nt(e),92)}function pgn(e,n){this.a=e,this.b=n}function bMe(e,n){this.a=e,this.b=n}function gMe(e,n){return so(e.b,n)}function wMe(e,n){return e>n&&n0}function HX(e,n){return ao(e,n)<0}function PMe(e,n){return sV(e.a,n)}function $gn(e,n){B_e.call(this,e,n)}function ise(e){OV(),WMn.call(this,e)}function rse(e){OV(),ise.call(this,e)}function cse(e){cV(),VTe.call(this,e)}function use(e,n){NIe(e,e.length,n)}function uT(e,n){uDe(e,e.length,n)}function Dj(e,n){return e.a.get(n)}function $Me(e,n){return so(e.e,n)}function ose(e){return Ln(e),!1}function RMe(){return gAe(),new hnn}function oT(e){return at(e.a),e.b}function BMe(e,n){this.b=e,this.a=n}function u$(e,n){this.d=e,this.e=n}function zMe(e,n){this.a=e,this.b=n}function FMe(e,n){this.a=e,this.b=n}function JMe(e,n){this.a=e,this.b=n}function HMe(e,n){this.a=e,this.b=n}function GMe(e,n){this.b=e,this.a=n}function g4(e,n){this.a=e,this.b=n}function o$(e,n){Ot.call(this,e,n)}function GX(e,n){Ot.call(this,e,n)}function qX(e,n){Ot.call(this,e,n)}function UX(e,n){Ot.call(this,e,n)}function XX(e,n){Ot.call(this,e,n)}function s$(e,n){Ot.call(this,e,n)}function l$(e){yn.call(this,e,21)}function qMe(e,n){this.b=e,this.a=n}function sse(e,n){this.b=e,this.a=n}function lse(e,n){this.b=e,this.a=n}function fse(e,n){Ot.call(this,e,n)}function KX(e,n){Ot.call(this,e,n)}function sT(e,n){Ot.call(this,e,n)}function ase(e,n){this.b=e,this.a=n}function k9(e,n){this.c=e,this.d=n}function f$(e,n){Ot.call(this,e,n)}function a$(e,n){Ot.call(this,e,n)}function UMe(e,n){this.e=e,this.d=n}function w4(e,n){Ot.call(this,e,n)}function XMe(e,n){this.a=e,this.b=n}function hse(e,n){Ot.call(this,e,n)}function br(e,n){Ot.call(this,e,n)}function h$(e,n){Ot.call(this,e,n)}function _j(e,n,t){e.splice(n,0,t)}function Rgn(e,n,t){e.Mb(t)&&n.Ad(t)}function Bgn(e,n,t){n.Ne(e.a.We(t))}function zgn(e,n,t){n.Bd(e.a.Xe(t))}function Fgn(e,n,t){n.Ad(e.a.Kb(t))}function Jgn(e,n){return cs(e.c,n)}function Hgn(e,n){return cs(e.e,n)}function KMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.a=e,this.b=n}function QMe(e,n){this.a=e,this.b=n}function WMe(e,n){this.a=e,this.b=n}function ZMe(e,n){this.a=e,this.b=n}function eCe(e,n){this.a=e,this.b=n}function nCe(e,n){this.a=e,this.b=n}function tCe(e,n){this.b=e,this.a=n}function iCe(e,n){this.b=e,this.a=n}function rCe(e,n){this.b=e,this.a=n}function cCe(e,n){this.b=n,this.c=e}function d$(e,n){Ot.call(this,e,n)}function lT(e,n){Ot.call(this,e,n)}function dse(e,n){Ot.call(this,e,n)}function Lj(e,n){Ot.call(this,e,n)}function b$(e,n){Ot.call(this,e,n)}function VX(e,n){Ot.call(this,e,n)}function YX(e,n){Ot.call(this,e,n)}function Pj(e,n){Ot.call(this,e,n)}function $j(e,n){Ot.call(this,e,n)}function bse(e,n){Ot.call(this,e,n)}function Nv(e,n){Ot.call(this,e,n)}function QX(e,n){Ot.call(this,e,n)}function Rj(e,n){Ot.call(this,e,n)}function gse(e,n){Ot.call(this,e,n)}function h2(e,n){Ot.call(this,e,n)}function WX(e,n){Ot.call(this,e,n)}function ZX(e,n){Ot.call(this,e,n)}function eK(e,n){Ot.call(this,e,n)}function wse(e,n){Ot.call(this,e,n)}function fT(e,n){Ot.call(this,e,n)}function pse(e,n){Ot.call(this,e,n)}function Iv(e,n){Ot.call(this,e,n)}function nK(e,n){Ot.call(this,e,n)}function g$(e,n){Ot.call(this,e,n)}function aT(e,n){Ot.call(this,e,n)}function d2(e,n){Ot.call(this,e,n)}function w$(e,n){Ot.call(this,e,n)}function mse(e,n){Ot.call(this,e,n)}function tK(e,n){Ot.call(this,e,n)}function iK(e,n){Ot.call(this,e,n)}function rK(e,n){Ot.call(this,e,n)}function cK(e,n){Ot.call(this,e,n)}function uK(e,n){Ot.call(this,e,n)}function oK(e,n){Ot.call(this,e,n)}function p$(e,n){Ot.call(this,e,n)}function uCe(e,n){this.b=e,this.a=n}function vse(e,n){Ot.call(this,e,n)}function oCe(e,n){this.a=e,this.b=n}function sCe(e,n){this.a=e,this.b=n}function lCe(e,n){this.a=e,this.b=n}function yse(e,n){Ot.call(this,e,n)}function kse(e,n){Ot.call(this,e,n)}function fCe(e,n){this.a=e,this.b=n}function Ggn(e,n){return C9(),n!=e}function sK(e){return GTn(e,e.c),e}function qgn(e){k.clearTimeout(e)}function jse(e,n){Ot.call(this,e,n)}function Ese(e,n){Ot.call(this,e,n)}function aCe(e,n){this.a=e,this.b=n}function hCe(e,n){this.a=e,this.b=n}function dCe(e,n){this.b=e,this.d=n}function bCe(e,n){this.a=e,this.b=n}function gCe(e,n){this.b=e,this.a=n}function m$(e,n){Ot.call(this,e,n)}function mw(e,n){Ot.call(this,e,n)}function lK(e,n){Ot.call(this,e,n)}function v$(e,n){Ot.call(this,e,n)}function Sse(e,n){Ot.call(this,e,n)}function wCe(e,n){this.b=e,this.a=n}function pCe(e,n){this.b=e,this.a=n}function mCe(e,n){this.b=e,this.a=n}function vCe(e,n){this.b=e,this.a=n}function xse(e,n){Ot.call(this,e,n)}function hT(e,n){Ot.call(this,e,n)}function Ase(e,n){Ot.call(this,e,n)}function fK(e,n){Ot.call(this,e,n)}function y$(e,n){Ot.call(this,e,n)}function aK(e,n){Ot.call(this,e,n)}function hK(e,n){Ot.call(this,e,n)}function k$(e,n){Ot.call(this,e,n)}function dK(e,n){Ot.call(this,e,n)}function Mse(e,n){Ot.call(this,e,n)}function bK(e,n){Ot.call(this,e,n)}function gK(e,n){Ot.call(this,e,n)}function dT(e,n){Ot.call(this,e,n)}function wK(e,n){Ot.call(this,e,n)}function Cse(e,n){Ot.call(this,e,n)}function bT(e,n){Ot.call(this,e,n)}function Tse(e,n){Ot.call(this,e,n)}function Ose(e,n){this.a=e,this.b=n}function yCe(e,n){this.a=e,this.b=n}function kCe(e,n){this.a=e,this.b=n}function jCe(){Y$(),this.a=new Lle}function ECe(){Bz(),this.a=new ar}function SCe(){UV(),this.b=new ar}function xCe(){jae(),Afe.call(this)}function ACe(){kae(),b_e.call(this)}function MCe(){kae(),b_e.call(this)}function gT(e,n){Ot.call(this,e,n)}function p4(e,n){Ot.call(this,e,n)}function Bj(e,n){Ot.call(this,e,n)}function zj(e,n){Ot.call(this,e,n)}function wT(e,n){Ot.call(this,e,n)}function j$(e,n){Ot.call(this,e,n)}function pK(e,n){Ot.call(this,e,n)}function E$(e,n){Ot.call(this,e,n)}function Fj(e,n){Ot.call(this,e,n)}function mK(e,n){Ot.call(this,e,n)}function S$(e,n){Ot.call(this,e,n)}function Dv(e,n){Ot.call(this,e,n)}function pT(e,n){Ot.call(this,e,n)}function Jj(e,n){Ot.call(this,e,n)}function Hj(e,n){Ot.call(this,e,n)}function vK(e,n){Ot.call(this,e,n)}function mT(e,n){Ot.call(this,e,n)}function x$(e,n){Ot.call(this,e,n)}function _v(e,n){Ot.call(this,e,n)}function yK(e,n){Ot.call(this,e,n)}function kK(e,n){Ot.call(this,e,n)}function A$(e,n){Ot.call(this,e,n)}function Ee(e,n){this.a=e,this.b=n}function CCe(e,n){this.a=e,this.b=n}function TCe(e,n){this.a=e,this.b=n}function OCe(e,n){this.a=e,this.b=n}function NCe(e,n){this.a=e,this.b=n}function ICe(e,n){this.a=e,this.b=n}function DCe(e,n){this.a=e,this.b=n}function jc(e,n){this.a=e,this.b=n}function _Ce(e,n){this.a=e,this.b=n}function LCe(e,n){this.a=e,this.b=n}function PCe(e,n){this.a=e,this.b=n}function $Ce(e,n){this.a=e,this.b=n}function RCe(e,n){this.a=e,this.b=n}function BCe(e,n){this.a=e,this.b=n}function zCe(e,n){this.b=e,this.a=n}function FCe(e,n){this.b=e,this.a=n}function JCe(e,n){this.b=e,this.a=n}function HCe(e,n){this.b=e,this.a=n}function GCe(e,n){this.a=e,this.b=n}function qCe(e,n){this.a=e,this.b=n}function UCe(e,n){this.a=e,this.b=n}function XCe(e,n){this.a=e,this.b=n}function KCe(e,n){this.f=e,this.c=n}function Nse(e,n){this.i=e,this.g=n}function M$(e,n){Ot.call(this,e,n)}function m4(e,n){Ot.call(this,e,n)}function C$(e,n){this.a=e,this.b=n}function VCe(e,n){this.a=e,this.b=n}function Ise(e,n){this.d=e,this.e=n}function YCe(e,n){this.a=e,this.b=n}function QCe(e,n){this.a=e,this.b=n}function WCe(e,n){this.d=e,this.b=n}function ZCe(e,n){this.e=e,this.a=n}function Dse(e,n){e.i=null,xB(e,n)}function Ugn(e,n){e&&ei(eD,e,n)}function eTe(e,n){return xQ(e.a,n)}function _se(e,n){return cs(e.g,n)}function Xgn(e,n){return cs(n.b,e)}function Kgn(e,n){return-e.b.$e(n)}function T$(e){return IO(e.c,e.b)}function Vgn(e,n){l8n(new st(e),n)}function Ygn(e,n,t){VHe(n,vW(e,t))}function Qgn(e,n,t){VHe(n,vW(e,t))}function nTe(e,n){W9n(e.a,u(n,12))}function tTe(e,n){this.a=e,this.b=n}function vT(e,n){this.b=e,this.c=n}function x0(e,n){return e.Pd().Xb(n)}function O$(e,n){return j7n(e.Jc(),n)}function bu(e){return e?e.kd():null}function ue(e){return e??null}function b2(e){return typeof e===ly}function g2(e){return typeof e===Lge}function $r(e){return typeof e===aZ}function Gj(e,n){return ao(e,n)==0}function N$(e,n){return ao(e,n)>=0}function qj(e,n){return ao(e,n)!=0}function Lse(e,n){return e.a+=""+n,e}function Wgn(e){return""+(Ln(e),e)}function iTe(e){return Is(e),e.d.gc()}function Pse(e){return kn(e,0),null}function I$(e){return tE(e==null),e}function Uj(e,n){return e.a+=""+n,e}function Bc(e,n){return e.a+=""+n,e}function Xj(e,n){return e.a+=""+n,e}function uo(e,n){return e.a+=""+n,e}function Kt(e,n){return e.a+=""+n,e}function rTe(e,n){e.q.setTime(Qb(n))}function cTe(e,n){Dfe.call(this,e,n)}function uTe(e,n){Dfe.call(this,e,n)}function D$(e,n){Dfe.call(this,e,n)}function gc(e,n){Ki(e,n,e.c.b,e.c)}function Lv(e,n){Ki(e,n,e.a,e.a.a)}function Zgn(e,n){return e.j[n.p]==2}function oTe(e,n){return e.a=n.g+1,e}function fa(e){return e.a=0,e.b=0,e}function sTe(e){Hu(this),AE(this,e)}function lTe(){this.b=0,this.a=!1}function fTe(){this.b=0,this.a=!1}function aTe(){this.b=new b4(z2(12))}function hTe(){hTe=Y,itn=Dt(DQ())}function dTe(){dTe=Y,ain=Dt(JUe())}function bTe(){bTe=Y,isn=Dt(sze())}function $se(){$se=Y,foe(),kme=new wt}function ewn(e){return Nt(e),new Kj(e)}function gTe(e,n){return ue(e)===ue(n)}function _$(e){return e<10?"0"+e:""+e}function wTe(e){return _o(e.l,e.m,e.h)}function su(e){return typeof e===Lge}function jK(e,n){return of(e.a,0,n)}function v4(e){return lc((Ln(e),e))}function nwn(e){return lc((Ln(e),e))}function twn(e,n){return ji(e.a,n.a)}function Rse(e,n){return oo(e.a,n.a)}function iwn(e,n){return rDe(e.a,n.a)}function ah(e,n){return e.indexOf(n)}function Bse(e,n){G9(e,0,e.length,n)}function ti(e,n){i$(),ei(EG,e,n)}function an(e,n){Pi.call(this,e,n)}function EK(e,n){k2.call(this,e,n)}function Pv(e,n){Nse.call(this,e,n)}function pTe(e,n){ST.call(this,e,n)}function SK(e,n){W9.call(this,e,n)}function Fh(){Uue.call(this,new D0)}function mTe(){hR.call(this,0,0,0,0)}function zse(e){return pu(e.b.b,e,0)}function vTe(e,n){return oo(e.g,n.g)}function rwn(e){return e==fp||e==gm}function cwn(e){return e==fp||e==bm}function uwn(e,n){return oo(e.g,n.g)}function own(e,n){return il(),n.a+=e}function swn(e,n){return il(),n.a+=e}function lwn(e,n){return il(),n.c+=e}function fwn(e,n){return Ce(e.c,n),e}function yTe(e,n){return Ce(e.a,n),n}function Fse(e,n){return ll(e.a,n),e}function kTe(e){this.a=RMe(),this.b=e}function jTe(e){this.a=RMe(),this.b=e}function wc(e){this.a=e.a,this.b=e.b}function Kj(e){this.a=e,mC.call(this)}function ETe(e){this.a=e,mC.call(this)}function Fs(e){return e.sh()&&e.th()}function $v(e){return e!=th&&e!=pb}function x1(e){return e==Zc||e==ru}function Rv(e){return e==Vl||e==eh}function STe(e){return e==U3||e==q3}function L$(e){return ll(new or,e)}function xTe(e){return NV(u(e,125))}function awn(e,n){return ji(n.f,e.f)}function ATe(e,n){return new W9(n,e)}function hwn(e,n){return new W9(n,e)}function Il(e,n,t){Os(e,n),Ns(e,t)}function xK(e,n,t){wB(e,n),pB(e,t)}function vw(e,n,t){Pw(e,n),Lw(e,t)}function yT(e,n,t){Wv(e,n),Zv(e,t)}function kT(e,n,t){e3(e,n),n3(e,t)}function AK(e,n){c8(e,n),K9(e,e.D)}function MK(e){KCe.call(this,e,!0)}function y4(){_f.call(this,0,0,0,0)}function MTe(){o$.call(this,"Head",1)}function CTe(){o$.call(this,"Tail",3)}function TTe(e,n,t){Sle.call(this,e,n,t)}function yw(e){hR.call(this,e,e,e,e)}function A0(e){yh(),C7n.call(this,e)}function OTe(e){Ao(e.Qf(),new Wke(e))}function Bv(e){return e!=null?Ni(e):0}function dwn(e,n){return P2(n,_a(e))}function bwn(e,n){return P2(n,_a(e))}function gwn(e,n){return e[e.length]=n}function wwn(e,n){return e[e.length]=n}function pwn(e,n){return jB(AV(e.f),n)}function mwn(e,n){return jB(AV(e.n),n)}function vwn(e,n){return jB(AV(e.p),n)}function Jse(e){return Mvn(e.b.Jc(),e.a)}function ywn(e){return e==null?0:Ni(e)}function CK(e){e.c=le(Mr,Nn,1,0,5,1)}function NTe(e,n,t){ir(e.c[n.g],n.g,t)}function kwn(e,n,t){u(e.c,72).Ei(n,t)}function jwn(e,n,t){Il(t,t.i+e,t.j+n)}function Yr(e,n){Pi.call(this,e.b,n)}function Ewn(e,n){Et(Vu(e.a),sLe(n))}function Swn(e,n){Et(Ts(e.a),lLe(n))}function xwn(e,n){Va||(e.b=n)}function TK(e,n,t){return ir(e,n,t),t}function Lt(){Lt=Y,new ITe,new Te}function ITe(){new wt,new wt,new wt}function Awn(){throw R(new pd($en))}function Mwn(){throw R(new pd($en))}function Cwn(){throw R(new pd(Ren))}function Twn(){throw R(new pd(Ren))}function DTe(){DTe=Y,are=new FE(Mce)}function Na(){Na=Y,k.Math.log(2)}function Dl(){Dl=Y,d1=(IMe(),Man)}function Vj(e){ai(),bw.call(this,e)}function _Te(e){this.a=e,rfe.call(this,e)}function OK(e){this.a=e,QP.call(this,e)}function NK(e){this.a=e,QP.call(this,e)}function Tr(e,n){oV(e.c,e.c.length,n)}function gu(e){return e.an?1:0}function Gse(e,n){return ao(e,n)>0?e:n}function _o(e,n,t){return{l:e,m:n,h:t}}function Own(e,n){e.a!=null&&nTe(n,e.a)}function Nwn(e){fc(e,null),Gr(e,null)}function Iwn(e,n,t){return ei(e.g,t,n)}function Dwn(e,n){Nt(n),qv(e).Ic(new Pe)}function PTe(){Vde(),this.a=new iS(pve)}function P$(e){this.b=e,this.a=new Te}function $Te(e){this.b=new w5,this.a=e}function qse(e){Ple.call(this),this.a=e}function RTe(e){hae.call(this),this.b=e}function BTe(){o$.call(this,"Range",2)}function $$(e){e.j=le(_me,Ae,324,0,0,1)}function zTe(e){e.a=new Jt,e.c=new Jt}function FTe(e){e.a=new wt,e.e=new wt}function Use(e){return new Ee(e.c,e.d)}function _wn(e){return new Ee(e.c,e.d)}function pc(e){return new Ee(e.a,e.b)}function Lwn(e,n){return ei(e.a,n.a,n)}function Pwn(e,n,t){return ei(e.k,t,n)}function zv(e,n,t){return gde(n,t,e.c)}function Xse(e,n){return re(zn(e.i,n))}function Kse(e,n){return re(zn(e.j,n))}function JTe(e,n){return w$n(e.a,n,null)}function Yj(e,n){return APn(e.c,e.b,n)}function X(e,n){return e!=null&&$Q(e,n)}function HTe(e,n){kt(e),e.Fc(u(n,16))}function $wn(e,n,t){e.c._c(n,u(t,136))}function Rwn(e,n,t){e.c.Si(n,u(t,136))}function Bwn(e,n,t){return b$n(e,n,t),t}function zwn(e,n){return rl(),n.n.b+=e}function IK(e,n){return ikn(e.Jc(),n)!=-1}function Fwn(e,n){return new pOe(e.Jc(),n)}function R$(e){return e.Ob()?e.Pb():null}function GTe(e){return ph(e,0,e.length)}function qTe(e){KV(e,null),VV(e,null)}function UTe(){ST.call(this,null,null)}function XTe(){G$.call(this,null,null)}function KTe(){Ot.call(this,"INSTANCE",0)}function Fv(){this.a=le(Mr,Nn,1,8,5,1)}function Vse(e){this.a=e,wt.call(this)}function VTe(e){this.a=(En(),new h9(e))}function Jwn(e){this.b=(En(),new aX(e))}function j9(){j9=Y,Gme=new xX(null)}function Yse(){Yse=Y,Yse(),gnn=new xt}function Ce(e,n){return qn(e.c,n),!0}function YTe(e,n){e.c&&(pfe(n),A_e(n))}function Hwn(e,n){e.q.setHours(n),sS(e,n)}function Qse(e,n){return e.a.Ac(n)!=null}function DK(e,n){return e.a.Ac(n)!=null}function Ia(e,n){return e.a[n.c.p][n.p]}function Gwn(e,n){return e.e[n.c.p][n.p]}function qwn(e,n){return e.c[n.c.p][n.p]}function _K(e,n,t){return e.a[n.g][t.g]}function Uwn(e,n){return e.j[n.p]=WOn(n)}function k4(e,n){return e.a*n.a+e.b*n.b}function Xwn(e,n){return e.a=e}function Wwn(e,n,t){return t?n!=0:n!=e-1}function QTe(e,n,t){e.a=n^1502,e.b=t^JZ}function Zwn(e,n,t){return e.a=n,e.b=t,e}function A1(e,n){return e.a*=n,e.b*=n,e}function Qj(e,n,t){return ir(e.g,n,t),t}function epn(e,n,t,i){ir(e.a[n.g],t.g,i)}function mr(e,n,t){PT.call(this,e,n,t)}function B$(e,n,t){mr.call(this,e,n,t)}function rs(e,n,t){mr.call(this,e,n,t)}function WTe(e,n,t){B$.call(this,e,n,t)}function Wse(e,n,t){PT.call(this,e,n,t)}function Jv(e,n,t){PT.call(this,e,n,t)}function ZTe(e,n,t){nR.call(this,e,n,t)}function Zse(e,n,t){nR.call(this,e,n,t)}function eOe(e,n,t){Zse.call(this,e,n,t)}function nOe(e,n,t){Wse.call(this,e,n,t)}function M0(e){this.c=e,this.a=this.c.a}function st(e){this.i=e,this.f=this.i.j}function Hv(e,n){this.a=e,QP.call(this,n)}function tOe(e,n){this.a=e,OX.call(this,n)}function iOe(e,n){this.a=e,OX.call(this,n)}function rOe(e,n){this.a=e,OX.call(this,n)}function ele(e){this.a=e,GU.call(this,e.d)}function cOe(e){e.b.Qb(),--e.d.f.d,bR(e.d)}function uOe(e){e.a=u(Kn(e.b.a,4),129)}function oOe(e){e.a=u(Kn(e.b.a,4),129)}function npn(e){HT(e,fZe),_z(e,aRn(e))}function nle(e,n){return Ijn(e,new y0,n).a}function tpn(e){return WC(e.a)?oLe(e):null}function sOe(e){xv.call(this,u(Nt(e),35))}function lOe(e){xv.call(this,u(Nt(e),35))}function tle(e){if(!e)throw R(new YC)}function ile(e){if(!e)throw R(new is)}function Qn(e,n){return Nt(n),new wOe(e,n)}function fOe(e,n){return new ZGe(e.a,e.b,n)}function ipn(e){return e.l+e.m*dy+e.h*hg}function rpn(e){return e==null?null:e.name}function rle(e,n,t){return e.indexOf(n,t)}function z$(e,n){return e.lastIndexOf(n)}function Wj(e){return e==null?Vo:fu(e)}function $n(){$n=Y,ib=!1,d7=!0}function aOe(){aOe=Y,zX(),thn=new FU}function cle(){this.Bb|=256,this.Bb|=512}function hOe(){$$(this),TR(this),this.he()}function F$(e){Hr.call(this,e),this.a=e}function ule(e){ic.call(this,e),this.a=e}function ole(e){h9.call(this,e),this.a=e}function cf(e){Di.call(this,(Ln(e),e))}function tl(e){Di.call(this,(Ln(e),e))}function LK(e){Uue.call(this,new lhe(e))}function dOe(e){this.a=e,Xi.call(this,e)}function sle(e,n){this.a=n,OX.call(this,e)}function bOe(e,n){this.a=n,uY.call(this,e)}function gOe(e,n){this.a=e,uY.call(this,n)}function wOe(e,n){this.a=n,YP.call(this,e)}function pOe(e,n){this.a=n,YP.call(this,e)}function lle(e){pX.call(this),ac(this,e)}function Js(e){return at(e.a!=null),e.a}function mOe(e,n){return Ce(n.a,e.a),e.a}function vOe(e,n){return Ce(n.b,e.a),e.a}function kw(e,n){return Ce(n.a,e.a),e.a}function jT(e,n,t){return UY(e,n,n,t),e}function J$(e,n){return++e.b,Ce(e.a,n)}function fle(e,n){return++e.b,qo(e.a,n)}function cpn(e,n){return ji(e.c.d,n.c.d)}function upn(e,n){return ji(e.c.c,n.c.c)}function opn(e,n){return ji(e.n.a,n.n.a)}function Ho(e,n){return u(vi(e.b,n),16)}function spn(e,n){return e.n.b=(Ln(n),n)}function lpn(e,n){return e.n.b=(Ln(n),n)}function cs(e,n){return!!n&&e.b[n.g]==n}function Zj(e){return gu(e.a)||gu(e.b)}function fpn(e,n){return ji(e.e.b,n.e.b)}function apn(e,n){return ji(e.e.a,n.e.a)}function hpn(e,n,t){return rPe(e,n,t,e.b)}function ale(e,n,t){return rPe(e,n,t,e.c)}function dpn(e){return il(),!!e&&!e.dc()}function yOe(){Cj(),this.b=new _je(this)}function H$(){H$=Y,mJ=new Pi(WYe,0)}function j4(e){this.d=e,st.call(this,e)}function E4(e){this.c=e,st.call(this,e)}function ET(e){this.c=e,j4.call(this,e)}function hle(e,n){Sde.call(this,e,n,null)}function S4(e){return e.a!=null?e.a:null}function jw(e){return e.$H||(e.$H=++_Bn)}function Sd(e){var n;n=e.a,e.a=e.b,e.b=n}function ST(e,n){Ij(),this.a=e,this.b=n}function G$(e,n){Ed(),this.b=e,this.c=n}function q$(e,n){fV(),this.f=n,this.d=e}function dle(e,n){Zae(n,e),this.c=e,this.b=n}function bpn(e,n){return dV(e.c).Kd().Xb(n)}function PK(e,n){return new kNe(e,e.gc(),n)}function gpn(e){return FP(),It((nLe(),Uen),e)}function wpn(e){return new D2(3,e)}function Jh(e){return sl(e,rm),new xo(e)}function kOe(e){return B9(),parseInt(e)||-1}function E9(e,n,t){return rle(e,Xo(n),t)}function ble(e,n,t){u(oO(e,n),22).Ec(t)}function ppn(e,n,t){wQ(e.a,t),az(e.a,n)}function S9(e,n,t){var i;i=e.dd(n),i.Rb(t)}function jOe(e,n,t,i){Nfe.call(this,e,n,t,i)}function EOe(e){ufe.call(this,e,null,null)}function $K(e){f2(),this.b=e,this.a=!0}function SOe(e){WP(),this.b=e,this.a=!0}function xOe(e){if(!e)throw R(new Nl)}function gle(e){if(!e)throw R(new YC)}function mpn(e){if(!e)throw R(new gX)}function at(e){if(!e)throw R(new hu)}function w2(e){if(!e)throw R(new is)}function AOe(e){e.d=new EOe(e),e.e=new wt}function x9(e){return at(e.b!=0),e.a.a.c}function If(e){return at(e.b!=0),e.c.b.c}function vpn(e,n){return UY(e,n,n+1,""),e}function MOe(e){lZ(),VSe(this),this.Df(e)}function COe(e){this.c=e,this.a=1,this.b=1}function xT(e){X(e,161)&&u(e,161).mi()}function TOe(e){return e.b=u(oae(e.a),45)}function p2(e,n){return u($a(e.a,n),35)}function wi(e,n){return!!e.q&&so(e.q,n)}function ypn(e,n){return e>0?n/(e*e):n*100}function kpn(e,n){return e>0?n*n/e:n*n*100}function jpn(e){return e.f!=null?e.f:""+e.g}function RK(e){return e.f!=null?e.f:""+e.g}function Epn(e){return P1(),e.e.a+e.f.a/2}function Spn(e){return P1(),e.e.b+e.f.b/2}function xpn(e,n,t){return P1(),t.e.b-e*n}function Apn(e,n,t){return P1(),t.e.a-e*n}function Mpn(e,n,t){return e$(),t.Lg(e,n)}function Cpn(e,n){return G0(),gn(e,n.e,n)}function Tpn(e,n,t){return Ce(n,ZFe(e,t))}function Opn(e,n,t){rB(),e.nf(n)&&t.Ad(e)}function m2(e,n,t){return e.a+=n,e.b+=t,e}function OOe(e,n,t){return e.a-=n,e.b-=t,e}function wle(e,n){return e.a=n.a,e.b=n.b,e}function U$(e){return e.a=-e.a,e.b=-e.b,e}function NOe(e){this.c=e,Os(e,0),Ns(e,0)}function IOe(e){xi.call(this),xE(this,e)}function DOe(){Ot.call(this,"GROW_TREE",0)}function Hs(e,n,t){os.call(this,e,n,t,2)}function _Oe(e,n){Ed(),ple.call(this,e,n)}function ple(e,n){Ed(),G$.call(this,e,n)}function LOe(e,n){Ed(),G$.call(this,e,n)}function POe(e,n){Ij(),ST.call(this,e,n)}function BK(e,n){Dl(),fR.call(this,e,n)}function $Oe(e,n){Dl(),BK.call(this,e,n)}function mle(e,n){Dl(),BK.call(this,e,n)}function ROe(e,n){Dl(),mle.call(this,e,n)}function vle(e,n){Dl(),fR.call(this,e,n)}function BOe(e,n){Dl(),vle.call(this,e,n)}function zOe(e,n){Dl(),fR.call(this,e,n)}function Npn(e,n){return e.c.Ec(u(n,136))}function Ipn(e,n){return u(zn(e.e,n),26)}function Dpn(e,n){return u(zn(e.e,n),26)}function yle(e,n,t){return Yz(lO(e,n),t)}function _pn(e,n,t){return n.xl(e.e,e.c,t)}function Lpn(e,n,t){return n.yl(e.e,e.c,t)}function zK(e,n){return z0(e.e,u(n,52))}function Ppn(e,n,t){RE(Vu(e.a),n,sLe(t))}function $pn(e,n,t){RE(Ts(e.a),n,lLe(t))}function FOe(e,n){return Ln(e),e+UK(n)}function Rpn(e){return e==null?null:fu(e)}function Bpn(e){return e==null?null:fu(e)}function zpn(e){return e==null?null:sCn(e)}function Fpn(e){return e==null?null:tRn(e)}function M1(e){e.o==null&&MOn(e)}function ze(e){return tE(e==null||b2(e)),e}function re(e){return tE(e==null||g2(e)),e}function Pt(e){return tE(e==null||$r(e)),e}function Jpn(e,n){return qQ(e,n),new IDe(e,n)}function AT(e,n){this.c=e,p9.call(this,e,n)}function eE(e,n){this.a=e,AT.call(this,e,n)}function Hpn(e,n){this.d=e,tn(this),this.b=n}function kle(){kBe.call(this),this.Bb|=Ec}function JOe(){this.a=new Nw,this.b=new Nw}function jle(e){this.q=new k.Date(Qb(e))}function Gv(){Gv=Y,V3=new ki("root")}function A9(){A9=Y,tD=new xxe,new Axe}function v2(){v2=Y,Qme=rn((Vs(),_g))}function Gpn(e,n){n.a?KTn(e,n):DK(e.a,n.b)}function HOe(e,n){Va||Ce(e.a,n)}function qpn(e,n){return cT(),Q9(n.d.i,e)}function Upn(e,n){return q4(),new RXe(n,e)}function Xpn(e,n,t){return e.Le(n,t)<=0?t:n}function Kpn(e,n,t){return e.Le(n,t)<=0?n:t}function Vpn(e,n){return u($a(e.b,n),144)}function Ypn(e,n){return u($a(e.c,n),233)}function FK(e){return u(Le(e.a,e.b),295)}function GOe(e){return new Ee(e.c,e.d+e.a)}function qOe(e){return Ln(e),e?1231:1237}function UOe(e){return rl(),STe(u(e,203))}function Ele(e,n){return u(zn(e.b,n),278)}function XOe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function MT(e,n,t){++e.j,e.rj(),gY(e,n,t)}function Sle(e,n,t){nB.call(this,e,n,t,null)}function KOe(e,n,t){nB.call(this,e,n,t,null)}function xle(e,n){wY.call(this,e),this.a=n}function Ale(e,n){wY.call(this,e),this.a=n}function Pi(e,n){ki.call(this,e),this.a=n}function Mle(e,n){coe.call(this,e),this.a=n}function JK(e,n){coe.call(this,e),this.a=n}function VOe(e,n){this.c=e,_w.call(this,n)}function YOe(e,n){this.a=e,zSe.call(this,n)}function CT(e,n){this.a=e,zSe.call(this,n)}function Cle(e,n,t){return t=hl(e,n,3,t),t}function Tle(e,n,t){return t=hl(e,n,6,t),t}function Ole(e,n,t){return t=hl(e,n,9,t),t}function hh(e,n){return HT(n,ewe),e.f=n,e}function Nle(e,n){return(n&oi)%e.d.length}function QOe(e,n,t){return bge(e.c,e.b,n,t)}function Qpn(e,n,t){return e.apply(n,t)}function WOe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function ZOe(e,n,t){return e.a+=ph(n,0,t),e}function TT(e){return!e.a&&(e.a=new vn),e.a}function Ile(e,n){var t;return t=e.e,e.e=n,t}function Dle(e,n){var t;return t=n,!!e.De(t)}function Bb(e,n){return $n(),e==n?0:e?1:-1}function y2(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function Wpn(e,n){var t;t=e[FZ],t.call(e,n)}function Zpn(e,n){var t;t=e[FZ],t.call(e,n)}function e2n(e,n,t){$b(),SP(e,n.Te(e.a,t))}function _le(e,n,t){return I4(e,u(n,23),t)}function Df(e,n){return qP(new Array(n),e)}function n2n(e){return Rt(Hb(e,32))^Rt(e)}function HK(e){return String.fromCharCode(e)}function t2n(e){return e==null?null:e.message}function GK(e){this.a=(En(),new _n(Nt(e)))}function eNe(e){this.a=(sl(e,rm),new xo(e))}function nNe(e){this.a=(sl(e,rm),new xo(e))}function tNe(){this.a=new Te,this.b=new Te}function iNe(){this.a=new rv,this.b=new txe}function Lle(){this.b=new D0,this.a=new D0}function rNe(){this.b=new Vr,this.c=new Te}function Ple(){this.n=new Vr,this.o=new Vr}function X$(){this.n=new o4,this.i=new y4}function cNe(){this.b=new ar,this.a=new ar}function uNe(){this.a=new Te,this.d=new Te}function oNe(){this.a=new IU,this.b=new o_}function sNe(){this.b=new LAe,this.a=new kM}function lNe(){this.b=new wt,this.a=new wt}function fNe(){X$.call(this),this.a=new Vr}function $le(e,n,t,i){hR.call(this,e,n,t,i)}function i2n(e,n){return e.n.a=(Ln(n),n+10)}function r2n(e,n){return e.n.a=(Ln(n),n+10)}function c2n(e,n){return cT(),!Q9(n.d.i,e)}function aNe(e){Hu(e.e),e.d.b=e.d,e.d.a=e.d}function OT(e){e.b?OT(e.b):e.f.c.yc(e.e,e.d)}function u2n(e,n){x1(e.f)?vOn(e,n):aMn(e,n)}function hNe(e,n,t){t!=null&&EB(n,KQ(e,t))}function dNe(e,n,t){t!=null&&SB(n,KQ(e,t))}function x4(e,n,t,i){we.call(this,e,n,t,i)}function Rle(e,n,t,i){we.call(this,e,n,t,i)}function bNe(e,n,t,i){Rle.call(this,e,n,t,i)}function gNe(e,n,t,i){yR.call(this,e,n,t,i)}function qK(e,n,t,i){yR.call(this,e,n,t,i)}function wNe(e,n,t,i){qK.call(this,e,n,t,i)}function Ble(e,n,t,i){yR.call(this,e,n,t,i)}function In(e,n,t,i){Ble.call(this,e,n,t,i)}function zle(e,n,t,i){qK.call(this,e,n,t,i)}function pNe(e,n,t,i){zle.call(this,e,n,t,i)}function mNe(e,n,t,i){Lfe.call(this,e,n,t,i)}function k2(e,n){jo.call(this,RS+e+pg+n)}function o2n(e,n){return n==e||y8(Dz(n),e)}function Fle(e,n){return e.hk().ti().oi(e,n)}function Jle(e,n){return e.hk().ti().qi(e,n)}function s2n(e,n){return e.e=u(e.d.Kb(n),162)}function vNe(e,n){return ei(e.a,n,"")==null}function yNe(e,n){return Ln(e),ue(e)===ue(n)}function bn(e,n){return Ln(e),ue(e)===ue(n)}function Hle(e,n,t){return e.lastIndexOf(n,t)}function kNe(e,n,t){this.a=e,dle.call(this,n,t)}function jNe(e){this.c=e,D$.call(this,bN,0)}function ENe(e,n,t){this.c=n,this.b=t,this.a=e}function pi(e,n){return e.a+=n.a,e.b+=n.b,e}function Nr(e,n){return e.a-=n.a,e.b-=n.b,e}function l2n(e){return r2(e.j.c,0),e.a=-1,e}function f2n(e,n){var t;return t=n.ni(e.a),t}function Gle(e,n,t){return t=hl(e,n,11,t),t}function a2n(e,n,t){return ji(e[n.a],e[t.a])}function h2n(e,n){return oo(e.a.d.p,n.a.d.p)}function d2n(e,n){return oo(n.a.d.p,e.a.d.p)}function b2n(e,n){return ji(e.c-e.s,n.c-n.s)}function g2n(e,n){return ji(e.b.e.a,n.b.e.a)}function w2n(e,n){return ji(e.c.e.a,n.c.e.a)}function p2n(e,n){return he(n,(Oe(),hI),e)}function m2n(e,n){return e.b.zd(new FMe(e,n))}function v2n(e,n){return e.b.zd(new JMe(e,n))}function SNe(e,n){return e.b.zd(new HMe(e,n))}function xNe(e,n){return X(n,16)&&mXe(e.c,n)}function ANe(e){return e.c?pu(e.c.a,e,0):-1}function y2n(e){return e<100?null:new k0(e)}function A4(e){return e==Dg||e==a1||e==to}function k2n(e,n,t){return u(e.c,72).Uk(n,t)}function K$(e,n,t){return u(e.c,72).Vk(n,t)}function j2n(e,n,t){return _pn(e,u(n,344),t)}function qle(e,n,t){return Lpn(e,u(n,344),t)}function E2n(e,n,t){return cGe(e,u(n,344),t)}function MNe(e,n,t){return EMn(e,u(n,344),t)}function nE(e,n){return n==null?null:J2(e.b,n)}function S2n(e,n){Va||n&&(e.d=n)}function Ule(e,n){if(!e)throw R(new Un(n))}function M9(e){if(!e)throw R(new Uc(Pge))}function UK(e){return g2(e)?(Ln(e),e):e.se()}function V$(e){return!isNaN(e)&&!isFinite(e)}function XK(e){zTe(this),qs(this),ac(this,e)}function bs(e){CK(this),sfe(this.c,0,e.Nc())}function NT(e){C9(),this.d=e,this.a=new Fv}function CNe(e,n,t){this.d=e,this.b=t,this.a=n}function _l(e,n,t){this.a=e,this.b=n,this.c=t}function TNe(e,n,t){this.a=e,this.b=n,this.c=t}function Xle(e,n){this.c=e,yV.call(this,e,n)}function ONe(e,n){Nvn.call(this,e,e.length,n)}function KK(e,n){if(e!=n)throw R(new Nl)}function NNe(e){this.a=e,jd(),Lu(Date.now())}function INe(e){As(e.a),uhe(e.c,e.b),e.b=null}function VK(){VK=Y,Hme=new di,dnn=new Gt}function YK(e){var n;return n=new f6,n.e=e,n}function x2n(e,n,t){return $b(),e.a.Wd(n,t),n}function Kle(e,n,t){this.b=e,this.c=n,this.a=t}function Vle(e){var n;return n=new sxe,n.b=e,n}function A2n(e){return wa(),It((C$e(),Onn),e)}function M2n(e){return q9(),It((J$e(),wnn),e)}function C2n(e){return zl(),It((M$e(),jnn),e)}function T2n(e){return ws(),It((T$e(),Inn),e)}function O2n(e){return Uo(),It((O$e(),_nn),e)}function N2n(e){return nF(),It((hTe(),itn),e)}function I2n(e){return Rw(),It((X$e(),ctn),e)}function D2n(e){return n8(),It((K$e(),Vtn),e)}function _2n(e){return aB(),It((_Pe(),btn),e)}function L2n(e){return kE(),It((A$e(),ztn),e)}function P2n(e){return zr(),It((PRe(),Gtn),e)}function $2n(e){return W4(),It((U$e(),nin),e)}function R2n(e){return Fn(),It((rze(),cin),e)}function B2n(e){return Y9(),It((LPe(),fin),e)}function QK(e){hR.call(this,e.d,e.c,e.a,e.b)}function Yle(e){hR.call(this,e.d,e.c,e.a,e.b)}function z2n(e){return Ur(),It((dTe(),ain),e)}function DNe(){DNe=Y,Ian=le(Mr,Nn,1,0,5,1)}function _Ne(){_Ne=Y,Yan=le(Mr,Nn,1,0,5,1)}function Qle(){Qle=Y,Qan=le(Mr,Nn,1,0,5,1)}function IT(){IT=Y,SJ=new fq,xJ=new BA}function Y$(){Y$=Y,win=new Tq,gin=new Oq}function il(){il=Y,kin=new wk,jin=new ld}function F2n(e){return $w(),It((f$e(),Iin),e)}function J2n(e){return zf(),It((W$e(),xin),e)}function H2n(e){return X2(),It((ORe(),Min),e)}function G2n(e){return Fz(),It((oze(),Din),e)}function q2n(e){return ty(),It((fBe(),_in),e)}function U2n(e){return iB(),It((pPe(),Lin),e)}function X2n(e){return zE(),It((eRe(),Pin),e)}function K2n(e){return vB(),It((c$e(),$in),e)}function V2n(e){return YO(),It((dze(),Rin),e)}function Y2n(e){return hO(),It((mPe(),Bin),e)}function Q2n(e){return tg(),It((u$e(),Fin),e)}function W2n(e){return Az(),It((lBe(),Jin),e)}function Z2n(e){return uO(),It((vPe(),Hin),e)}function emn(e){return JO(),It((oBe(),Gin),e)}function nmn(e){return j8(),It((sBe(),qin),e)}function tmn(e){return Ic(),It((Oze(),Uin),e)}function imn(e){return e8(),It((o$e(),Xin),e)}function rmn(e){return $0(),It((s$e(),Kin),e)}function cmn(e){return _1(),It((l$e(),Yin),e)}function umn(e){return GR(),It((yPe(),Qin),e)}function omn(e){return Xs(),It((IRe(),Zin),e)}function smn(e){return XR(),It((kPe(),ern),e)}function lmn(e){return WO(),It((bze(),Fun),e)}function fmn(e){return _E(),It((a$e(),Jun),e)}function amn(e){return U2(),It((Y$e(),Hun),e)}function hmn(e){return GE(),It((NRe(),Gun),e)}function dmn(e){return X0(),It((Tze(),qun),e)}function bmn(e){return F1(),It((Q$e(),Uun),e)}function gmn(e){return sO(),It((jPe(),Xun),e)}function wmn(e){return Nc(),It((h$e(),Vun),e)}function pmn(e){return _B(),It((d$e(),Yun),e)}function mmn(e){return DE(),It((b$e(),Qun),e)}function vmn(e){return u8(),It((g$e(),Wun),e)}function ymn(e){return mB(),It((w$e(),Zun),e)}function kmn(e){return LB(),It((p$e(),eon),e)}function jmn(e){return $B(),It((q$e(),bin),e)}function Emn(e){return rg(),It((V$e(),von),e)}function Smn(e,n){return Ln(e),e+(Ln(n),n)}function xmn(e){return vE(),It((EPe(),Son),e)}function Amn(e){return dh(),It((xPe(),Non),e)}function Mmn(e){return Da(),It((SPe(),Don),e)}function Cmn(e){return da(),It((APe(),Kon),e)}function C9(){C9=Y,nye=(Ie(),Yn),IH=nt}function Tmn(e){return Iw(),It((MPe(),nsn),e)}function Omn(e){return ny(),It((iRe(),tsn),e)}function Nmn(e){return uS(),It((bTe(),isn),e)}function Imn(e){return IE(),It((m$e(),rsn),e)}function Dmn(e){return NE(),It((Z$e(),Msn),e)}function _mn(e){return HR(),It((CPe(),Csn),e)}function Lmn(e){return AB(),It((TPe(),Dsn),e)}function Pmn(e){return kz(),It((DRe(),Lsn),e)}function $mn(e){return cB(),It((OPe(),Psn),e)}function Rmn(e){return xO(),It((v$e(),$sn),e)}function Bmn(e){return dz(),It((tRe(),iln),e)}function zmn(e){return DB(),It((y$e(),rln),e)}function Fmn(e){return ez(),It((k$e(),cln),e)}function Jmn(e){return Ez(),It((nRe(),oln),e)}function Hmn(e){return VB(),It((x$e(),fln),e)}function Gmn(e){return!e.e&&(e.e=new Te),e.e}function Q$(e,n,t){this.e=n,this.b=e,this.d=t}function LNe(e,n,t){this.a=e,this.b=n,this.c=t}function PNe(e,n,t){this.a=e,this.b=n,this.c=t}function Wle(e,n,t){this.a=e,this.b=n,this.c=t}function $Ne(e,n,t){this.a=e,this.b=n,this.c=t}function RNe(e,n,t){this.a=e,this.c=n,this.b=t}function W$(e,n,t){this.b=e,this.a=n,this.c=t}function BNe(e,n,t){this.b=e,this.a=n,this.c=t}function WK(e,n){this.c=e,this.a=n,this.b=n-e}function qmn(e){return GB(),It((E$e(),_ln),e)}function Umn(e){return t$(),It((KLe(),zln),e)}function Xmn(e){return eO(),It((IPe(),Fln),e)}function Kmn(e){return GO(),It((LRe(),Jln),e)}function Vmn(e){return n$(),It((XLe(),Rln),e)}function Ymn(e){return tS(),It((_Re(),Pln),e)}function Qmn(e){return OO(),It((S$e(),$ln),e)}function Wmn(e){return QR(),It((NPe(),Iln),e)}function Zmn(e){return uB(),It((j$e(),Dln),e)}function evn(e){return Tj(),It((VLe(),rfn),e)}function nvn(e){return vO(),It((DPe(),cfn),e)}function tvn(e){return vh(),It((RRe(),afn),e)}function ivn(e){return lg(),It((cze(),dfn),e)}function rvn(e){return z1(),It((cRe(),Vfn),e)}function cvn(e){return vr(),It(($Re(),Ufn),e)}function uvn(e){return s8(),It((rRe(),Xfn),e)}function ovn(e){return Ra(),It((N$e(),Kfn),e)}function svn(e){return Yh(),It((iBe(),bfn),e)}function lvn(e){return sg(),It((rBe(),yfn),e)}function fvn(e){return Q2(),It((wze(),nan),e)}function avn(e){return u3(),It((BRe(),tan),e)}function hvn(e){return Br(),It((uBe(),ian),e)}function dvn(e){return ps(),It((cBe(),ran),e)}function bvn(e){return fl(),It((uRe(),ean),e)}function gvn(e){return Sz(),It((tBe(),Yfn),e)}function wvn(e){return B1(),It((D$e(),Wfn),e)}function pvn(e){return KR(),It((oRe(),ban),e)}function mvn(e){return _s(),It((gze(),han),e)}function vvn(e){return V4(),It((I$e(),dan),e)}function yvn(e){return Ie(),It((zRe(),can),e)}function kvn(e){return EE(),It((_$e(),fan),e)}function jvn(e){return Vs(),It((sRe(),aan),e)}function Evn(e){return YB(),It((lRe(),gan),e)}function Svn(e){return RB(),It((fRe(),man),e)}function xvn(e){return S8(),It((uze(),Nan),e)}function zNe(e,n,t){Dl(),bae.call(this,e,n,t)}function ZK(e,n,t){Dl(),Vfe.call(this,e,n,t)}function FNe(e,n,t){Dl(),ZK.call(this,e,n,t)}function Zle(e,n,t){Dl(),ZK.call(this,e,n,t)}function JNe(e,n,t){Dl(),Zle.call(this,e,n,t)}function HNe(e,n,t){Dl(),efe.call(this,e,n,t)}function efe(e,n,t){Dl(),Vfe.call(this,e,n,t)}function nfe(e,n,t){Dl(),Vfe.call(this,e,n,t)}function GNe(e,n,t){Dl(),nfe.call(this,e,n,t)}function qNe(e,n,t){this.a=e,this.c=n,this.b=t}function UNe(e,n,t){this.a=e,this.b=n,this.c=t}function tfe(e,n,t){this.a=e,this.b=n,this.c=t}function ife(e,n,t){this.a=e,this.b=n,this.c=t}function eV(e,n,t){this.a=e,this.b=n,this.c=t}function XNe(e,n,t){this.a=e,this.b=n,this.c=t}function xd(e,n,t){this.e=e,this.a=n,this.c=t}function rfe(e){this.d=e,tn(this),this.b=m3n(e.d)}function cfe(e,n){pgn.call(this,e,XB(new Su(n)))}function DT(e,n){return Nt(e),Nt(n),new WAe(e,n)}function M4(e,n){return Nt(e),Nt(n),new rIe(e,n)}function Avn(e,n){return Nt(e),Nt(n),new cIe(e,n)}function Mvn(e,n){return Nt(e),Nt(n),new lMe(e,n)}function nV(e){return at(e.b!=0),$l(e,e.a.a)}function Cvn(e){return at(e.b!=0),$l(e,e.c.b)}function Tvn(e){return!e.c&&(e.c=new Ol),e.c}function _T(e){var n;return n=new xi,BY(n,e),n}function KNe(e){var n;return n=new pX,BY(n,e),n}function Ovn(e){var n;return n=new ar,MY(n,e),n}function T9(e){var n;return n=new Te,MY(n,e),n}function u(e,n){return tE(e==null||$Q(e,n)),e}function Nvn(e,n,t){XIe.call(this,n,t),this.a=e}function VNe(e,n){this.c=e,this.b=n,this.a=!1}function YNe(){this.a=";,;",this.b="",this.c=""}function QNe(e,n,t){this.b=e,cTe.call(this,n,t)}function ufe(e,n,t){this.c=e,u$.call(this,n,t)}function ofe(e,n,t){k9.call(this,e,n),this.b=t}function sfe(e,n,t){ebe(t,0,e,n,t.length,!1)}function Hh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function lfe(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function Ivn(e,n){n&&(e.b=n,e.a=(T0(n),n.a))}function LT(e,n){if(!e)throw R(new Un(n))}function C4(e,n){if(!e)throw R(new Uc(n))}function ffe(e,n){if(!e)throw R(new iAe(n))}function Dvn(e,n){return ZP(),oo(e.d.p,n.d.p)}function _vn(e,n){return P1(),ji(e.e.b,n.e.b)}function Lvn(e,n){return P1(),ji(e.e.a,n.e.a)}function Pvn(e,n){return oo(fIe(e.d),fIe(n.d))}function Z$(e,n){return n&&xR(e,n.d)?n:null}function $vn(e,n){return n==(Ie(),Yn)?e.c:e.d}function Rvn(e){return new Ee(e.c+e.b,e.d+e.a)}function WNe(e){return e!=null&&!jQ(e,oA,sA)}function Bvn(e,n){return(_Fe(e)<<4|_Fe(n))&yr}function ZNe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function afe(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function hfe(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function zvn(e,n){var t;return t=e.c,Jhe(e,n),t}function dfe(e,n){return n<0?e.g=-1:e.g=n,e}function eR(e,n){return N8n(e),e.a*=n,e.b*=n,e}function PT(e,n,t){Ise.call(this,e,n),this.c=t}function nR(e,n,t){Ise.call(this,e,n),this.c=t}function bfe(e){Qle(),jv.call(this),this._h(e)}function eIe(){J9(),W3n.call(this,(E0(),kf))}function nIe(e){return ai(),new Gh(0,e)}function tIe(){tIe=Y,Gce=(En(),new _n(Bne))}function tR(){tR=Y,new Mde((SX(),Qne),(EX(),Yne))}function iIe(){this.b=ne(re(_e((Hf(),jte))))}function tV(e){this.b=e,this.a=Fb(this.b.a).Md()}function rIe(e,n){this.b=e,this.a=n,mC.call(this)}function cIe(e,n){this.a=e,this.b=n,mC.call(this)}function uIe(e,n,t){this.a=e,Pv.call(this,n,t)}function oIe(e,n,t){this.a=e,Pv.call(this,n,t)}function O9(e,n,t){var i;i=new M2(t),$f(e,n,i)}function gfe(e,n,t){var i;return i=e[n],e[n]=t,i}function iR(e){var n;return n=e.slice(),yY(n,e)}function rR(e){var n;return n=e.n,e.a.b+n.d+n.a}function sIe(e){var n;return n=e.n,e.e.b+n.d+n.a}function wfe(e){var n;return n=e.n,e.e.a+n.b+n.c}function pfe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Vt(e,n){return Ki(e,n,e.c.b,e.c),!0}function Fvn(e){return e.a?e.a:IV(e)}function tE(e){if(!e)throw R(new a9(null))}function Ew(e,n){return KE(e,new k9(n.a,n.b))}function Jvn(e){return!uc(e)&&e.c.i.c==e.d.i.c}function Hvn(e,n){return e.c=n)throw R(new gxe)}function Hu(e){e.f=new kTe(e),e.i=new jTe(e),++e.g}function mR(e){this.b=new xo(11),this.a=(Tw(),e)}function gV(e){this.b=null,this.a=(Tw(),e||Fme)}function Dfe(e,n){this.e=e,this.d=(n&64)!=0?n|jh:n}function XIe(e,n){this.c=0,this.d=e,this.b=n|64|jh}function KIe(e){this.a=KJe(e.a),this.b=new bs(e.b)}function Ad(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function _fe(e){var n;for(n=e;n.f;)n=n.f;return n}function x3n(e){return e.e?ihe(e.e):null}function uE(e){return ps(),!e.Gc(Z1)&&!e.Gc(mb)}function VIe(e,n,t){return M8(),qY(e,n)&&qY(e,t)}function YIe(e,n,t){return rYe(e,u(n,12),u(t,12))}function wV(e,n){return n.Sh()?z0(e.b,u(n,52)):n}function vR(e){return new Ee(e.c+e.b/2,e.d+e.a/2)}function A3n(e,n,t){n.of(t,ne(re(zn(e.b,t)))*e.a)}function M3n(e,n){n.Tg("General 'Rotator",1),J$n(e)}function Dr(e,n,t,i,r){mY.call(this,e,n,t,i,r,-1)}function oE(e,n,t,i,r){rO.call(this,e,n,t,i,r,-1)}function we(e,n,t,i){mr.call(this,e,n,t),this.b=i}function yR(e,n,t,i){PT.call(this,e,n,t),this.b=i}function QIe(e){KCe.call(this,e,!1),this.a=!1}function WIe(){kK.call(this,"LOOKAHEAD_LAYOUT",1)}function ZIe(){kK.call(this,"LAYOUT_NEXT_LEVEL",3)}function eDe(e){this.b=e,j4.call(this,e),uOe(this)}function nDe(e){this.b=e,ET.call(this,e),oOe(this)}function tDe(e,n){this.b=e,GU.call(this,e.b),this.a=n}function x2(e,n,t){this.a=e,x4.call(this,n,t,5,6)}function Lfe(e,n,t,i){this.b=e,mr.call(this,n,t,i)}function Gb(e,n,t){yh(),this.e=e,this.d=n,this.a=t}function Zr(e,n){for(Ln(n);e.Ob();)n.Ad(e.Pb())}function kR(e,n){return ai(),new Yfe(e,n,0)}function pV(e,n){return ai(),new Yfe(6,e,n)}function C3n(e,n){return bn(e.substr(0,n.length),n)}function so(e,n){return $r(n)?BV(e,n):!!Xc(e.f,n)}function T3n(e){return _o(~e.l&Ls,~e.m&Ls,~e.h&G1)}function mV(e){return typeof e===fN||typeof e===hZ}function Uh(e){return new Xn(new sle(e.a.length,e.a))}function vV(e){return new mn(null,$3n(e,e.length))}function iDe(e){if(!e)throw R(new hu);return e.d}function N4(e){var n;return n=OE(e),at(n!=null),n}function O3n(e){var n;return n=pjn(e),at(n!=null),n}function I9(e,n){var t;return t=e.a.gc(),Zae(n,t),t-n}function hr(e,n){var t;return t=e.a.yc(n,e),t==null}function RT(e,n){return e.a.yc(n,($n(),ib))==null}function N3n(e,n){return e>0?k.Math.log(e/n):-100}function Pfe(e,n){return n?ac(e,n):!1}function I4(e,n,t){return Bf(e.a,n),gfe(e.b,n.g,t)}function I3n(e,n,t){N9(t,e.a.c.length),ul(e.a,t,n)}function ce(e,n,t,i){tFe(n,t,e.length),D3n(e,n,t,i)}function D3n(e,n,t,i){var r;for(r=n;r0?1:0}function lE(e){return e.e==0?e:new Gb(-e.e,e.d,e.a)}function L3n(e){return e==Vi?qN:e==Ir?"-INF":""+e}function P3n(e){return e==Vi?qN:e==Ir?"-INF":""+e}function $3n(e,n){return M8n(n,e.length),new bIe(e,n)}function cDe(e,n,t,i,r){for(;n=e.g}function CV(e,n,t){var i;return i=RY(e,n,t),zbe(e,i)}function pDe(e,n){var t;t=console[e],t.call(console,n)}function D4(e,n){var t;t=e.a.length,L2(e,t),tY(e,t,n)}function mDe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function TV(e,n){for(Ln(n);e.c=e?new Yoe:Q8n(e-1)}function uf(e){if(e==null)throw R(new c4);return e}function Ln(e){if(e==null)throw R(new c4);return e}function t5n(e){return!e.a&&(e.a=new mr(vb,e,4)),e.a}function Mw(e){return!e.d&&(e.d=new mr(Rc,e,1)),e.d}function i5n(e){if(e.p!=3)throw R(new is);return e.e}function r5n(e){if(e.p!=4)throw R(new is);return e.e}function c5n(e){if(e.p!=6)throw R(new is);return e.f}function u5n(e){if(e.p!=3)throw R(new is);return e.j}function o5n(e){if(e.p!=4)throw R(new is);return e.j}function s5n(e){if(e.p!=6)throw R(new is);return e.k}function or(){Rxe.call(this),r2(this.j.c,0),this.a=-1}function CDe(){Ot.call(this,"DELAUNAY_TRIANGULATION",0)}function l5n(){return FP(),F(z(qen,1),je,537,0,[Zne])}function f5n(e,n,t){return X4(),t.Kg(e,u(n.jd(),147))}function a5n(e,n){Et((!e.a&&(e.a=new CT(e,e)),e.a),n)}function Wfe(e,n){e.c<0||e.b.b=0?e.hi(t):q0e(e,n)}function L9(e,n){var t;return t=MV("",e),t.n=n,t.i=1,t}function Cw(e){return e.c==-2&&sX(e,AMn(e.g,e.b)),e.c}function Zfe(e){return!e.b&&(e.b=new IP(new jX)),e.b}function TDe(e,n){return tR(),new Mde(new lOe(e),new sOe(n))}function d5n(e){return sl(e,wZ),hB(mc(mc(5,e),e/10|0))}function OV(){OV=Y,Ken=new rse(F(z(yg,1),tF,45,0,[]))}function ODe(){j0e.call(this,vg,(kAe(),chn)),NPn(this)}function NDe(){j0e.call(this,hf,(g9(),Y8e)),BLn(this)}function IDe(e,n){Jwn.call(this,W8n(Nt(e),Nt(n))),this.a=n}function eae(e,n,t,i){pw.call(this,e,n),this.d=t,this.a=i}function AR(e,n,t,i){pw.call(this,e,t),this.a=n,this.f=i}function DDe(e,n){this.b=e,yV.call(this,e,n),uOe(this)}function _De(e,n){this.b=e,Xle.call(this,e,n),oOe(this)}function dE(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function LDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function P9(e){return!e.a&&(e.a=new oAe(e.c.vc())),e.a}function PDe(e){return!e.b&&(e.b=new h9(e.c.ec())),e.b}function $De(e){return!e.d&&(e.d=new Hr(e.c.Bc())),e.d}function Xh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function RDe(e,n){var t;return t=new Xu(e),qn(n.c,t),t}function b5n(e,n){hV(u(n.b,68),e),Ao(n.a,new Wue(e))}function BDe(e,n){e.u.Gc((ps(),Z1))&&jTn(e,n),E9n(e,n)}function Ku(e,n){return ue(e)===ue(n)||e!=null&&gi(e,n)}function ei(e,n,t){return $r(n)?Kc(e,n,t):Ko(e.f,n,t)}function nae(e){return En(),e?e.Me():(Tw(),Tw(),Jme)}function g5n(){return n$(),F(z(P6e,1),je,477,0,[Zre])}function w5n(){return t$(),F(z(Bln,1),je,546,0,[ece])}function p5n(){return Tj(),F(z(i9e,1),je,527,0,[OI])}function zc(e,n){return sV(e.a,n)?e.b[u(n,23).g]:null}function m5n(e){return String.fromCharCode.apply(null,e)}function rc(e,n){return Wn(n,e.length),e.charCodeAt(n)}function zT(e){return e.j.c.length=0,rae(e.c),l2n(e.a),e}function $9(e){return e.e==f7&&a(e,zEn(e.g,e.b)),e.e}function FT(e){return e.f==f7&&w(e,Txn(e.g,e.b)),e.f}function v5n(e){return!e.b&&(e.b=new In(mt,e,4,7)),e.b}function tae(e){return!e.c&&(e.c=new In(mt,e,5,8)),e.c}function iae(e){return!e.c&&(e.c=new we($s,e,9,9)),e.c}function NV(e){return!e.n&&(e.n=new we(Eu,e,1,7)),e.n}function qv(e){var n;return n=e.b,!n&&(e.b=n=new cj(e)),n}function rae(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function y5n(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function k5n(e,n){return new h_e(u(Nt(e),51),u(Nt(n),51))}function li(e,n){return F0(e),new mn(e,new whe(n,e.a))}function So(e,n){return F0(e),new mn(e,new the(n,e.a))}function C2(e,n){return F0(e),new xle(e,new ZPe(n,e.a))}function MR(e,n){return F0(e),new Ale(e,new e$e(n,e.a))}function zDe(e,n){W1e(e,ne($1(n,"x")),ne($1(n,"y")))}function FDe(e,n){W1e(e,ne($1(n,"x")),ne($1(n,"y")))}function j5n(e,n){return Qoe(),ji((Ln(e),e),(Ln(n),n))}function E5n(e,n){return ji(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function S5n(e,n){return ji(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function x5n(e){return e!=null&&xj(SG,e.toLowerCase())}function A5n(e){il();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function IV(e){var n;return n=e7n(e),n||null}function ri(e,n,t,i){return ZBe(e,n,t,!1),HB(e,i),e}function M5n(e,n,t){DLn(e.a,t),W7n(t),cOn(e.b,t),ePn(n,t)}function _4(e,n,t,i){Ot.call(this,e,n),this.a=t,this.b=i}function CR(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function cae(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function JDe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function DV(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function HDe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function _f(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function _V(e,n,t){this.a=Jge,this.d=e,this.b=n,this.c=t}function uae(e,n){this.b=e,this.c=n,this.a=new d4(this.b)}function GDe(e,n){this.d=(Ln(e),e),this.a=16449,this.c=n}function qDe(e,n,t,i){Kze.call(this,e,t,i,!1),this.f=n}function LV(e,n,t){var i,r;return i=Tge(e),r=n.qi(t,i),r}function T1(e){var n,t;return t=(n=new gw,n),X9(t,e),t}function PV(e){var n,t;return t=(n=new gw,n),x0e(t,e),t}function UDe(e){return!e.b&&(e.b=new we(pr,e,12,3)),e.b}function XDe(e){this.a=new Te,this.e=le($t,Ae,54,e,0,2)}function $V(e){this.f=e,this.c=this.f.e,e.f>0&&HHe(this)}function KDe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function VDe(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function YDe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function QDe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Ub(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function WDe(e,n,t,i){Dl(),WPe.call(this,n,t,i),this.a=e}function ZDe(e,n,t,i){Dl(),WPe.call(this,n,t,i),this.a=e}function e_e(e,n){this.a=e,Hpn.call(this,e,u(e.d,16).dd(n))}function C5n(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function T5n(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function L4(e){var n;return n=e.f,n||(e.f=new p9(e,e.c))}function En(){En=Y,Sc=new xe,r1=new fn,bJ=new $e}function Tw(){Tw=Y,Fme=new ye,ste=new ye,Jme=new Re}function R9(e){if(Is(e.d),e.d.d!=e.c)throw R(new Nl)}function qs(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function oae(e){return at(e.b0?Pf(e):new Te}function TR(e){return e.n&&(e.e!==mYe&&e.he(),e.j=null),e}function sae(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function N5n(e,n,t){return Ce(e.a,(qQ(n,t),new pw(n,t))),e}function I5n(e,n){return u(C(e,(me(),Dy)),16).Ec(n),n}function D5n(e,n){return gn(e,u(C(n,(Oe(),xm)),15),n)}function _5n(e){return Uw(e)&&Fe(ze(ke(e,(Oe(),xg))))}function L5n(e,n,t){return Cj(),$jn(u(zn(e.e,n),516),t)}function P5n(e,n,t){e.i=0,e.e=0,n!=t&&Gze(e,n,t)}function $5n(e,n,t){e.i=0,e.e=0,n!=t&&qze(e,n,t)}function n_e(e,n,t,i){this.b=e,this.c=i,D$.call(this,n,t)}function t_e(e,n){this.g=e,this.d=F(z(u1,1),Fd,9,0,[n])}function i_e(e,n){e.d&&!e.d.a&&(XSe(e.d,n),i_e(e.d,n))}function r_e(e,n){e.e&&!e.e.a&&(XSe(e.e,n),r_e(e.e,n))}function c_e(e,n){return c3(e.j,n.s,n.c)+c3(n.e,e.s,e.c)}function R5n(e,n){return-ji(us(e)*Gs(e),us(n)*Gs(n))}function B5n(e){return u(e.jd(),147).Og()+":"+fu(e.kd())}function u_e(){bW(this,new IC),this.wb=(C0(),Bn),g9()}function o_e(e){this.b=new s_,this.a=e,k.Math.random()}function s_e(e){this.b=new Te,Sr(this.b,this.b),this.a=e}function lae(e,n){new xi,this.a=new xs,this.b=e,this.c=n}function l_e(){du.call(this,"There is no more element.")}function z5n(e){GP(),k.setTimeout(function(){throw e},0)}function F5n(e){e.Tg("No crossing minimization",1),e.Ug()}function J5n(e,n){return Us(e),Us(n),Zxe(u(e,23),u(n,23))}function Xb(e,n,t){var i,r;i=UK(t),r=new Av(i),$f(e,n,r)}function RV(e,n,t,i,r,c){rO.call(this,e,n,t,i,r,c?-2:-1)}function f_e(e,n,t,i){Ise.call(this,n,t),this.b=e,this.a=i}function fae(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function OR(e){return!e.a&&(e.a=new we(Ft,e,10,11)),e.a}function yi(e){return!e.q&&(e.q=new we(yf,e,11,10)),e.q}function ge(e){return!e.s&&(e.s=new we(ns,e,21,17)),e.s}function a_e(e){return tE(e==null||mV(e)&&e.Rm!==wn),e}function NR(e,n){if(e==null)throw R(new f4(n));return e}function h_e(e,n){Ebn.call(this,new gV(e)),this.a=e,this.b=n}function BV(e,n){return n==null?!!Xc(e.f,null):a3n(e.i,n)}function zV(e){return X(e,18)?new E2(u(e,18)):Ovn(e.Jc())}function IR(e){return En(),X(e,59)?new DX(e):new F$(e)}function H5n(e){return Nt(e),cHe(new Xn(Qn(e.a.Jc(),new ee)))}function G5n(e){return new tOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function q5n(e){return new iOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function aae(e){return e&&e.hashCode?e.hashCode():jw(e)}function U5n(e){e&&_R(e,e.ge())}function X5n(e,n){var t;return t=Qse(e.a,n),t&&(n.d=null),t}function d_e(e,n,t){return e.f?e.f.cf(n,t):!1}function JT(e,n,t,i){ir(e.c[n.g],t.g,i),ir(e.c[t.g],n.g,i)}function FV(e,n,t,i){ir(e.c[n.g],n.g,t),ir(e.b[n.g],n.g,i)}function K5n(e,n,t){return ne(re(t.a))<=e&&ne(re(t.b))>=n}function b_e(){this.d=new xi,this.b=new wt,this.c=new Te}function g_e(){this.b=new ar,this.d=new xi,this.e=new BP}function hae(){this.c=new Vr,this.d=new Vr,this.e=new Vr}function Ow(){this.a=new xs,this.b=(sl(3,rm),new xo(3))}function w_e(e){this.c=e,this.b=new kd(u(Nt(new ra),51))}function p_e(e){this.c=e,this.b=new kd(u(Nt(new f0),51))}function m_e(e){this.b=e,this.a=new kd(u(Nt(new uu),51))}function Md(e,n){this.e=e,this.a=Mr,this.b=_Xe(n),this.c=n}function DR(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function v_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function y_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function O0(e,n,t,i,r,c,o){return new cY(e.e,n,t,i,r,c,o)}function V5n(e,n,t){return t>=0&&bn(e.substr(t,n.length),n)}function k_e(e,n){return X(n,147)&&bn(e.b,u(n,147).Og())}function Y5n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function j_e(e,n){var t;return t=e.b.Oc(n),gPe(t,e.b.gc()),t}function HT(e,n){if(e==null)throw R(new f4(n));return e}function tu(e){return e.u||(Ms(e),e.u=new YOe(e,e)),e.u}function Go(e){var n;return n=u(Kn(e,16),29),n||e.fi()}function _R(e,n){var t;return t=Pb(e.Pm),n==null?t:t+": "+n}function of(e,n,t){return Qr(n,t,e.length),e.substr(n,t-n)}function E_e(e,n){X$.call(this),Che(this),this.a=e,this.c=n}function S_e(){kK.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function Q5n(){return iB(),F(z(g3e,1),je,422,0,[b3e,Kte])}function W5n(){return hO(),F(z(S3e,1),je,419,0,[VJ,E3e])}function Z5n(){return uO(),F(z(M3e,1),je,476,0,[A3e,QJ])}function e4n(){return GR(),F(z(F3e,1),je,420,0,[gie,z3e])}function n4n(){return XR(),F(z(n5e,1),je,423,0,[xie,Sie])}function t4n(){return sO(),F(z(J4e,1),je,421,0,[ire,rre])}function i4n(){return vE(),F(z(Eon,1),je,518,0,[Ox,Tx])}function r4n(){return Da(),F(z(Ion,1),je,508,0,[Og,Qa])}function c4n(){return dh(),F(z(Oon,1),je,509,0,[yp,Kd])}function u4n(){return da(),F(z(Xon,1),je,515,0,[Dm,ab])}function o4n(){return Iw(),F(z(esn,1),je,454,0,[hb,X3])}function s4n(){return HR(),F(z($ye,1),je,425,0,[Are,Pye])}function l4n(){return AB(),F(z(Rye,1),je,487,0,[FH,Y3])}function f4n(){return cB(),F(z(zye,1),je,426,0,[Bye,Ire])}function a4n(){return aB(),F(z(nve,1),je,424,0,[yte,vJ])}function h4n(){return Y9(),F(z(lin,1),je,502,0,[ZN,Dte])}function d4n(){return QR(),F(z(T6e,1),je,478,0,[Vre,C6e])}function b4n(){return eO(),F(z($6e,1),je,428,0,[nce,WH])}function g4n(){return vO(),F(z(c9e,1),je,427,0,[eG,r9e])}function LR(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function GT(e){return e.b.b==0?e.a.uf():nV(e.b)}function w4n(e){if(e.p!=5)throw R(new is);return Rt(e.f)}function p4n(e){if(e.p!=5)throw R(new is);return Rt(e.k)}function dae(e){return ue(e.a)===ue((JY(),Fce))&&xPn(e),e.a}function x_e(e,n){aj(this,new Ee(e.a,e.b)),Mv(this,_T(n))}function Nw(){Sbn.call(this,new b4(z2(12))),tle(!0),this.a=2}function JV(e,n,t){ai(),bw.call(this,e),this.b=n,this.a=t}function bae(e,n,t){Dl(),_P.call(this,n),this.a=e,this.b=t}function m4n(e,n){var t=tte[e.charCodeAt(0)];return t??e}function PR(e,n){return NR(e,"set1"),NR(n,"set2"),new bMe(e,n)}function $R(e,n){return dPe(n),B8n(e,le($t,ni,30,n,15,1),n)}function v4n(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=lR(e.c,e.b,e.a))}function y4n(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=lR(e.c,e.b,e.a))}function A_e(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function M_e(e){return e.b==0?null:(at(e.b!=0),$l(e,e.a.a))}function lo(e,n){return n==null?bu(Xc(e.f,null)):Dj(e.i,n)}function C_e(e,n,t,i,r){return new wW(e,(q9(),hte),n,t,i,r)}function HV(e,n,t,i){var r;r=new fNe,n.a[t.g]=r,I4(e.b,i,r)}function T_e(e,n){var t,i;return t=n,i=new si,gVe(e,t,i),i.d}function k4n(e,n){var t;return t=D8n(e.f,n),pi(U$(t),e.f.d)}function qT(e){var n;X8n(e.a),OTe(e.a),n=new OP(e.a),ode(n)}function j4n(e,n){EXe(e,!0),Ao(e.e.Pf(),new Kle(e,!0,n))}function E4n(e,n){return P1(),u(C(n,(Mu(),Dh)),15).a==e}function lc(e){return Math.max(Math.min(e,oi),-2147483648)|0}function O_e(e){X$.call(this),Che(this),this.a=e,this.c=!0}function gae(e,n,t){this.a=new Te,this.e=e,this.f=n,this.c=t}function RR(e,n,t){this.c=new Te,this.e=e,this.f=n,this.b=t}function N_e(e,n,t){this.i=new Te,this.b=e,this.g=n,this.a=t}function I_e(e){this.a=u(Nt(e),277),this.b=(En(),new ole(e))}function B9(){B9=Y;var e,n;n=!yEn(),e=new on,ite=n?new ln:e}function wae(){wae=Y,xnn=new uh,Mnn=new xfe,Ann=new Ab}function dh(){dh=Y,yp=new yse(gy,0),Kd=new yse(by,1)}function Da(){Da=Y,Og=new kse(KZ,0),Qa=new kse("UP",1)}function Iw(){Iw=Y,hb=new Ese(by,0),X3=new Ese(gy,1)}function Uv(e,n,t){BR(),e&&ei(Rce,e,n),e&&ei(eD,e,t)}function pae(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):ybe(e,n,t)}function D_e(e,n){var t;for(Nt(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function UT(e,n){var t;t=e.q.getHours(),e.q.setDate(n),sS(e,t)}function __e(e){var n;return n=new KP(z2(e.length)),m1e(n,e),n}function S4n(e){function n(){}return n.prototype=e||{},new n}function x4n(e,n){return vze(e,n)?(vBe(e),!0):!1}function O1(e,n){if(n==null)throw R(new c4);return xEn(e,n)}function A4n(e){if(e.ye())return null;var n=e.n;return sJ[n]}function T2(e){return e.Db>>16!=3?null:u(e.Cb,26)}function _a(e){return e.Db>>16!=9?null:u(e.Cb,26)}function L_e(e){return e.Db>>16!=6?null:u(e.Cb,85)}function P_e(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):jW(e,n)}function GV(e,n,t){var i;i=Bze(e,n,t),e.b=new CB(i.c.length)}function $_e(e){this.a=e,this.b=le(yon,Ae,2005,e.e.length,0,2)}function R_e(){this.a=new Fh,this.e=new ar,this.g=0,this.i=0}function B_e(e,n){$$(this),this.f=n,this.g=e,TR(this),this.he()}function z_e(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function mae(e){var n;return n=e.d,n=e._i(e.f),Et(e,n),n.Ob()}function F_e(e,n){var t;return t=new kfe(n),pGe(t,e),new bs(t)}function M4n(e){if(e.p!=0)throw R(new is);return qj(e.f,0)}function C4n(e){if(e.p!=0)throw R(new is);return qj(e.k,0)}function J_e(e){return e.Db>>16!=7?null:u(e.Cb,241)}function vae(e){return e.Db>>16!=7?null:u(e.Cb,174)}function H_e(e){return e.Db>>16!=3?null:u(e.Cb,158)}function z9(e){return e.Db>>16!=6?null:u(e.Cb,241)}function Fi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function O2(e){return e.Db>>16!=17?null:u(e.Cb,29)}function bE(e,n,t,i,r,c){return new L1(e.e,n,e.Jj(),t,i,r,c)}function Kc(e,n,t){return n==null?Ko(e.f,null,t):Bw(e.i,n,t)}function qV(e,n){return k.Math.abs(e)0}function yae(e){var n;return F0(e),n=new ar,li(e,new qke(n))}function G_e(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function D4n(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),sS(e,t)}function fc(e,n){e.c&&qo(e.c.g,e),e.c=n,e.c&&Ce(e.c.g,e)}function Or(e,n){e.c&&qo(e.c.a,e),e.c=n,e.c&&Ce(e.c.a,e)}function Gr(e,n){e.d&&qo(e.d.e,e),e.d=n,e.d&&Ce(e.d.e,e)}function wu(e,n){e.i&&qo(e.i.j,e),e.i=n,e.i&&Ce(e.i.j,e)}function q_e(e,n,t){this.a=n,this.c=e,this.b=(Nt(t),new bs(t))}function U_e(e,n,t){this.a=n,this.c=e,this.b=(Nt(t),new bs(t))}function X_e(e,n){this.a=e,this.c=pc(this.a),this.b=new DR(n)}function N2(e,n){if(e<0||e>n)throw R(new jo(Qge+e+Wge+n))}function K_e(){K_e=Y,uon=Eo(new or,(zr(),Pc),(Ur(),Cy))}function kae(){kae=Y,oon=Eo(new or,(zr(),Pc),(Ur(),Cy))}function V_e(){V_e=Y,non=Eo(new or,(zr(),Pc),(Ur(),Cy))}function Y_e(){Y_e=Y,ton=Eo(new or,(zr(),Pc),(Ur(),Cy))}function Q_e(){Q_e=Y,ion=Eo(new or,(zr(),Pc),(Ur(),Cy))}function jae(){jae=Y,ron=Eo(new or,(zr(),Pc),(Ur(),Cy))}function W_e(){W_e=Y,xon=qt(new or,(zr(),Pc),(Ur(),tx))}function rl(){rl=Y,Con=qt(new or,(zr(),Pc),(Ur(),tx))}function Z_e(){Z_e=Y,Ton=qt(new or,(zr(),Pc),(Ur(),tx))}function UV(){UV=Y,_on=qt(new or,(zr(),Pc),(Ur(),tx))}function eLe(){eLe=Y,Tsn=Eo(new or,(ny(),Ix),(uS(),cye))}function nLe(){nLe=Y,Uen=Dt((FP(),F(z(qen,1),je,537,0,[Zne])))}function BR(){BR=Y,Rce=new wt,eD=new wt,Ugn(ann,new H6)}function _4n(e,n){var t,i;t=n.c,i=t!=null,i&&D4(e,new M2(n.c))}function tLe(e,n){Q3n(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function zR(e,n){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,n)}function XV(e,n){X(e.Cb,88)&&Y2(Ms(u(e.Cb,88)),4),Mo(e,n)}function L4n(e,n){Q1e(e,n),X(e.Cb,88)&&Y2(Ms(u(e.Cb,88)),2)}function P4n(e,n){return ji(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function $4n(e,n){return ji(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function fo(e,n){return Tc(),AY(n)?new uR(n,e):new vT(n,e)}function KV(e,n){e.a&&qo(e.a.k,e),e.a=n,e.a&&Ce(e.a.k,e)}function VV(e,n){e.b&&qo(e.b.f,e),e.b=n,e.b&&Ce(e.b.f,e)}function N0(e,n,t){NFe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function P4(e){this.c=new xi,this.b=e.b,this.d=e.c,this.a=e.a}function YV(e){this.a=k.Math.cos(e),this.b=k.Math.sin(e)}function Kb(e,n,t,i){this.c=e,this.d=i,KV(this,n),VV(this,t)}function yn(e,n){this.b=(Ln(e),e),this.a=(n&cm)==0?n|64|jh:n}function R4n(e,n){QTe(e,Rt(Rr(Sw(n,24),uF)),Rt(Rr(n,uF)))}function XT(e){return yh(),ao(e,0)>=0?J0(e):lE(J0(Od(e)))}function B4n(){return zl(),F(z(Qo,1),je,130,0,[Kme,Yo,Vme])}function iLe(e,n,t){return new wW(e,(q9(),ate),null,!1,n,t)}function rLe(e,n,t){return new wW(e,(q9(),dte),n,t,null,!1)}function cLe(e,n,t){var i;NFe(n,t,e.c.length),i=t-n,Goe(e.c,n,i)}function uLe(e,n){var t;return t=u(J2(L4(e.a),n),18),t?t.gc():0}function Eae(e){var n;return F0(e),n=(Tw(),Tw(),ste),dB(e,n)}function oLe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function sLe(e){var n,t;return t=(g9(),n=new gw,n),X9(t,e),t}function lLe(e){var n,t;return t=(g9(),n=new gw,n),X9(t,e),t}function Xv(e){return Cj(),X(e.g,9)?u(e.g,9):null}function z4n(){return $w(),F(z(Bte,1),je,368,0,[hp,ub,ap])}function F4n(){return vB(),F(z(y3e,1),je,350,0,[v3e,KJ,Vte])}function J4n(){return tg(),F(z(zin,1),je,449,0,[iie,E7,L3])}function H4n(){return e8(),F(z(die,1),je,302,0,[aie,hie,rI])}function G4n(){return $0(),F(z(bie,1),je,329,0,[cI,B3e,ym])}function q4n(){return _1(),F(z(Vin,1),je,315,0,[uI,$3,Ty])}function U4n(){return _E(),F(z(I4e,1),je,352,0,[Yie,N4e,AH])}function X4n(){return Nc(),F(z(Kun,1),je,452,0,[Ax,ys,Io])}function K4n(){return _B(),F(z(q4e,1),je,381,0,[H4e,cre,G4e])}function V4n(){return DE(),F(z(U4e,1),je,348,0,[ore,ure,vI])}function Y4n(){return u8(),F(z(K4e,1),je,349,0,[sre,X4e,Mx])}function Q4n(){return mB(),F(z(Q4e,1),je,351,0,[Y4e,lre,V4e])}function W4n(){return LB(),F(z(W4e,1),je,382,0,[fre,L7,Im])}function Z4n(){return kE(),F(z(wve,1),je,384,0,[Ste,Ete,xte])}function eyn(){return wa(),F(z(dm,1),je,237,0,[Ou,No,Nu])}function nyn(){return ws(),F(z(Nnn,1),je,461,0,[Oh,rb,qf])}function tyn(){return Uo(),F(z(Dnn,1),je,462,0,[ja,cb,Uf])}function iyn(){return IE(),F(z(gye,1),je,385,0,[bye,dre,jI])}function ryn(){return xO(),F(z(Hye,1),je,386,0,[JH,Fye,Jye])}function cyn(){return VB(),F(z(a6e,1),je,387,0,[f6e,qre,l6e])}function uyn(){return DB(),F(z(o6e,1),je,303,0,[$re,u6e,c6e])}function oyn(){return ez(),F(z(s6e,1),je,436,0,[$x,qH,Rre])}function syn(){return GB(),F(z(L6e,1),je,430,0,[D6e,_6e,Qre])}function lyn(){return OO(),F(z(Wre,1),je,435,0,[VH,YH,QH])}function fyn(){return uB(),F(z(I6e,1),je,429,0,[Yre,N6e,O6e])}function ayn(){return Ra(),F(z(t8e,1),je,279,0,[H7,Fm,G7])}function hyn(){return B1(),F(z(b8e,1),je,347,0,[lG,Wd,Wx])}function dyn(){return EE(),F(z(y8e,1),je,300,0,[qI,Tce,v8e])}function byn(){return V4(),F(z(E8e,1),je,281,0,[j8e,Hm,gG])}function La(e){return mu(F(z(Lr,1),Ae,8,0,[e.i.n,e.n,e.a]))}function gyn(e,n,t){var i;i=new wc(t.d),pi(i,e),W1e(n,i.a,i.b)}function fLe(e,n,t){var i;i=new gM,i.b=n,i.a=t,++n.b,Ce(e.d,i)}function wyn(e,n,t){var i;return i=aS(e,n,!1),i.b<=n&&i.a<=t}function pyn(e){if(e.p!=2)throw R(new is);return Rt(e.f)&yr}function myn(e){if(e.p!=2)throw R(new is);return Rt(e.k)&yr}function kn(e,n){if(e<0||e>=n)throw R(new jo(Qge+e+Wge+n))}function Wn(e,n){if(e<0||e>=n)throw R(new Ioe(Qge+e+Wge+n))}function vyn(e){return e.Db>>16!=6?null:u(xW(e),241)}function aLe(e,n){var t,i;return i=I9(e,n),t=e.a.dd(i),new hMe(e,t)}function yyn(e,n){var t;return t=(Ln(e),e).g,gle(!!t),Ln(n),t(n)}function kyn(e){return e.a==(J9(),CG)&&UC(e,QIn(e.g,e.b)),e.a}function $4(e){return e.d==(J9(),CG)&&Gue(e,V_n(e.g,e.b)),e.d}function Sae(e,n){jbn.call(this,new b4(z2(e))),sl(n,hYe),this.a=n}function hLe(e,n,t){bw.call(this,25),this.b=e,this.a=n,this.c=t}function cl(e){ai(),bw.call(this,e),this.c=!1,this.a=!1}function dLe(e,n){Gb.call(this,1,2,F(z($t,1),ni,30,15,[e,n]))}function Rr(e,n){return P0(y3n(su(e)?sf(e):e,su(n)?sf(n):n))}function bh(e,n){return P0(k3n(su(e)?sf(e):e,su(n)?sf(n):n))}function QV(e,n){return P0(j3n(su(e)?sf(e):e,su(n)?sf(n):n))}function xae(e,n){return IIe(e.a,n)?gfe(e.b,u(n,23).g,null):null}function Vb(e){return Nt(e),X(e,18)?new bs(u(e,18)):T9(e.Jc())}function WV(e){oR(),this.a=(En(),X(e,59)?new DX(e):new F$(e))}function jyn(e){var n;return n=u(iR(e.b),10),new _l(e.a,n,e.c)}function Eyn(e,n){var t;t=ne(re(e.a.mf((Xt(),cG)))),RVe(e,n,t)}function Syn(e,n){return jE(),e.c==n.c?ji(n.d,e.d):ji(e.c,n.c)}function xyn(e,n){return jE(),e.c==n.c?ji(e.d,n.d):ji(e.c,n.c)}function Ayn(e,n){return jE(),e.c==n.c?ji(e.d,n.d):ji(n.c,e.c)}function Myn(e,n){return jE(),e.c==n.c?ji(n.d,e.d):ji(n.c,e.c)}function Cyn(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function L(e){return at(e.ai?1:0}function gLe(e,n){var t,i;return t=kY(n),i=t,u(zn(e.c,i),15).a}function ZV(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function Iyn(e,n,t){var i;e.n&&n&&t&&(i=new pL,Ce(e.e,i))}function eY(e,n){if(hr(e.a,n),n.d)throw R(new du(PYe));n.d=e}function Cae(e,n){this.a=new Te,this.d=new Te,this.f=e,this.c=n}function wLe(){X4(),this.b=new wt,this.a=new wt,this.c=new Te}function pLe(){this.c=new PTe,this.a=new VPe,this.b=new axe,CMe()}function mLe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function vLe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function yLe(e,n,t,i,r,c){The.call(this,e,n,t,i,r),c&&(this.o=-2)}function kLe(e,n,t,i,r,c){Ohe.call(this,e,n,t,i,r),c&&(this.o=-2)}function jLe(e,n,t,i,r,c){Gae.call(this,e,n,t,i,r),c&&(this.o=-2)}function ELe(e,n,t,i,r,c){Dhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function SLe(e,n,t,i,r,c){qae.call(this,e,n,t,i,r),c&&(this.o=-2)}function xLe(e,n,t,i,r,c){Nhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function ALe(e,n,t,i,r,c){Ihe.call(this,e,n,t,i,r),c&&(this.o=-2)}function MLe(e,n,t,i,r,c){Uae.call(this,e,n,t,i,r),c&&(this.o=-2)}function CLe(e,n,t,i){_P.call(this,t),this.b=e,this.c=n,this.d=i}function TLe(e,n){this.f=e,this.a=(J9(),MG),this.c=MG,this.b=n}function OLe(e,n){this.g=e,this.d=(J9(),CG),this.a=CG,this.b=n}function Tae(e,n){!e.c&&(e.c=new tr(e,0)),Vz(e.c,(Si(),fA),n)}function Dyn(e,n){return TOn(e,n,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function _yn(e,n){return rDe(Lu(e.q.getTime()),Lu(n.q.getTime()))}function NLe(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),16,new W5(e))}function Lyn(e){return!!e.u&&Vu(e.u.a).i!=0&&!(e.n&&FQ(e.n))}function Pyn(e){return!!e.a&&Ts(e.a.a).i!=0&&!(e.b&&JQ(e.b))}function Oae(e,n){return n==0?!!e.o&&e.o.f!=0:LQ(e,n)}function ILe(e){return at(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function gE(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function DLe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function qr(e,n){this.a=e,qc.call(this,e),N2(n,e.gc()),this.b=n}function _Le(e){this.a=le(Mr,Nn,1,b1e(k.Math.max(8,e))<<1,5,1)}function LLe(e){FY.call(this,e,(q9(),fte),null,!1,null,!1)}function PLe(e,n){var t;return t=1-n,e.a[t]=MB(e.a[t],t),MB(e,n)}function $Le(e,n){var t,i;return i=Rr(e,Dc),t=qh(n,32),bh(t,i)}function $yn(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function RLe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function BLe(e,n,t){var i;i=(Nt(e),new bs(e)),pxn(new q_e(i,n,t))}function VT(e,n,t){var i;i=(Nt(e),new bs(e)),mxn(new U_e(i,n,t))}function Ryn(e,n,t){e.a=n,e.c=t,e.b.a.$b(),qs(e.d),r2(e.e.a.c,0)}function zLe(e,n){var t;e.e=new Soe,t=W2(n),Tr(t,e.c),aXe(e,t,0)}function Byn(e,n){return new eV(n,OOe(pc(n.e),e,e),($n(),!0))}function zyn(e,n){return H4(),u(C(n,(Mu(),K3)),15).a>=e.gc()}function Fyn(e){return rl(),!uc(e)&&!(!uc(e)&&e.c.i.c==e.d.i.c)}function gh(e){return u(Ba(e,le(w7,Y8,17,e.c.length,0,1)),323)}function Jyn(e){XFe((!e.a&&(e.a=new we(Ft,e,10,11)),e.a),new _M)}function Nae(){var e,n,t;return n=(t=(e=new gw,e),t),Ce(u7e,n),n}function xu(e,n,t,i,r,c){return ZBe(e,n,t,c),H1e(e,i),G1e(e,r),e}function FLe(e,n,t,i){return e.a+=""+of(n==null?Vo:fu(n),t,i),e}function YT(e,n){if(e<0||e>=n)throw R(new jo(nTn(e,n)));return e}function JLe(e,n,t){if(e<0||nt)throw R(new jo(jCn(e,n,t)))}function Se(e,n,t,i){var r;r=new JM,r.a=n,r.b=t,r.c=i,Vt(e.b,r)}function qi(e,n,t,i){var r;r=new JM,r.a=n,r.b=t,r.c=i,Vt(e.a,r)}function Hyn(e,n,t){var i;i=GEn();try{return Qpn(e,n,t)}finally{u9n(i)}}function Qb(e){var n;return su(e)?(n=e,n==-0?0:n):i8n(e)}function HLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function GLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function qLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function Gyn(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function qyn(e){return qv(e).dc()?!1:(Dwn(e,new ae),!0)}function Iae(e){var n;return T0(e),n=new Hn,Ov(e.a,new Jke(n)),n}function FR(e){var n;return T0(e),n=new rt,Ov(e.a,new Hke(n)),n}function Uyn(e){if(!("stack"in e))try{throw e}catch{}return e}function JR(e){return new xo((sl(e,wZ),hB(mc(mc(5,e),e/10|0))))}function ULe(e){return u(Ba(e,le(uin,fQe,12,e.c.length,0,1)),2004)}function Xyn(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),273,new HU(e))}function XLe(){XLe=Y,Rln=Dt((n$(),F(z(P6e,1),je,477,0,[Zre])))}function KLe(){KLe=Y,zln=Dt((t$(),F(z(Bln,1),je,546,0,[ece])))}function VLe(){VLe=Y,rfn=Dt((Tj(),F(z(i9e,1),je,527,0,[OI])))}function YLe(){YLe=Y,eye=TDe(ve(1),ve(4)),Z4e=TDe(ve(1),ve(2))}function HR(){HR=Y,Are=new Sse("DFS",0),Pye=new Sse("BFS",1)}function GR(){GR=Y,gie=new wse(H8,0),z3e=new wse("TOP_LEFT",1)}function Dae(e,n,t){this.d=new iEe(this),this.e=e,this.i=n,this.f=t}function _ae(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function Kyn(e,n,t){e.d&&qo(e.d.e,e),e.d=n,e.d&&zb(e.d.e,t,e)}function Vyn(e,n,t){var i;return i=g8(t),Hz(e.n,i,n),Hz(e.o,n,t),n}function F9(e,n){var t,i;return t=L2(e,n),i=null,t&&(i=t.qe()),i}function wE(e,n){var t,i;return t=O1(e,n),i=null,t&&(i=t.qe()),i}function Dw(e,n){var t,i;return t=O1(e,n),i=null,t&&(i=t.ne()),i}function N1(e,n){var t,i;return t=O1(e,n),i=null,t&&(i=I0e(t)),i}function pE(e,n){zRn(n,e),afe(e.d),afe(u(C(e,(Oe(),vH)),213))}function nY(e,n){FRn(n,e),hfe(e.d),hfe(u(C(e,(Oe(),vH)),213))}function I0(e,n){Ln(n),e.b=e.b-1&e.a.length-1,ir(e.a,e.b,n),jHe(e)}function Lae(e,n){Ln(n),ir(e.a,e.c,n),e.c=e.c+1&e.a.length-1,jHe(e)}function jt(e){return at(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function QLe(e){if(e.e.g!=e.b)throw R(new Nl);return!!e.c&&e.d>0}function I2(e){return X(e,18)?u(e,18).dc():!e.Jc().Ob()}function Yyn(e){return new yn(_8n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function WLe(e){var n;n=e.Dh(),this.a=X(n,72)?u(n,72).Gi():n.Jc()}function Pae(e,n){var t;return t=u($a(e.b,n),66),!t&&(t=new xi),t}function Qyn(e,n){var t;t=n.a,fc(t,n.c.d),Gr(t,n.d.d),R2(t.a,e.n)}function ZLe(e,n,t,i){return X(t,59)?new jOe(e,n,t,i):new Nfe(e,n,t,i)}function Wyn(){return zf(),F(z(Sin,1),je,413,0,[mm,m7,v7,Rte])}function Zyn(){return Rw(),F(z(rtn,1),je,409,0,[VN,KN,mte,vte])}function e6n(){return n8(),F(z(Ktn,1),je,408,0,[fp,gm,bm,O3])}function n6n(){return q9(),F(z(gJ,1),je,309,0,[fte,ate,hte,dte])}function t6n(){return W4(),F(z(yve,1),je,383,0,[ex,vve,Ote,Nte])}function i6n(){return $B(),F(z(din,1),je,367,0,[$te,JJ,HJ,eI])}function r6n(){return zE(),F(z(m3e,1),je,301,0,[rx,w3e,tI,p3e])}function c6n(){return U2(),F(z(Wie,1),je,203,0,[MH,Qie,U3,q3])}function u6n(){return F1(),F(z(F4e,1),je,269,0,[fb,z4e,nre,tre])}function o6n(){return rg(),F(z(mon,1),je,404,0,[yI,Cx,NH,OH])}function s6n(e){var n;return e.j==(Ie(),bt)&&(n=Zqe(e),cs(n,nt))}function l6n(){return ny(),F(z(iye,1),je,398,0,[LH,Nx,Ix,Dx])}function ePe(e,n){return u(Js(S2(u(vi(e.k,n),16).Mc(),I3)),113)}function nPe(e,n){return u(Js(O4(u(vi(e.k,n),16).Mc(),I3)),113)}function f6n(e,n){return k4(new Ee(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function a6n(){return Ez(),F(z(uln,1),je,401,0,[Jre,Bre,Fre,zre])}function h6n(){return dz(),F(z(r6e,1),je,354,0,[Pre,t6e,i6e,n6e])}function d6n(){return NE(),F(z(Lye,1),je,353,0,[xre,zH,Sre,Ere])}function b6n(){return s8(),F(z(n8e,1),je,278,0,[BI,sG,Z9e,e8e])}function g6n(){return z1(),F(z(Mce,1),je,222,0,[Ace,zI,q7,Vy])}function w6n(){return fl(),F(z(Zfn,1),je,292,0,[JI,l1,gb,FI])}function p6n(){return KR(),F(z(YI,1),je,288,0,[S8e,A8e,Nce,x8e])}function m6n(){return Vs(),F(z(iA,1),je,380,0,[XI,_g,UI,Jm])}function v6n(){return YB(),F(z(O8e,1),je,326,0,[Ice,M8e,T8e,C8e])}function y6n(){return RB(),F(z(pan,1),je,407,0,[Dce,I8e,N8e,D8e])}function Ll(e,n,t){return n<0?jW(e,t):u(t,69).uk().zk(e,e.ei(),n)}function k6n(e,n,t){var i;return i=g8(t),Hz(e.f,i,n),ei(e.g,n,t),n}function j6n(e,n,t){var i;return i=g8(t),Hz(e.p,i,n),ei(e.q,n,t),n}function tPe(e){var n,t;return n=(j0(),t=new kv,t),e&&_z(n,e),n}function $ae(e){var n;return n=e.$i(e.i),e.i>0&&Wu(e.g,0,n,0,e.i),n}function R4(e){return Cj(),X(e.g,156)?u(e.g,156):null}function E6n(e){return BR(),so(Rce,e)?u(zn(Rce,e),342).Pg():null}function S6n(e){e.a=null,e.e=null,r2(e.b.c,0),r2(e.f.c,0),e.c=null}function iPe(e,n){var t;for(t=e.j.c.length;t>24}function A6n(e){if(e.p!=1)throw R(new is);return Rt(e.k)<<24>>24}function M6n(e){if(e.p!=7)throw R(new is);return Rt(e.k)<<16>>16}function C6n(e){if(e.p!=7)throw R(new is);return Rt(e.f)<<16>>16}function Kv(e,n){return n.e==0||e.e==0?VS:(C8(),TW(e,n))}function uPe(e,n){return ue(n)===ue(e)?"(this Map)":n==null?Vo:fu(n)}function T6n(e,n,t){return bV(re(bu(Xc(e.f,n))),re(bu(Xc(e.f,t))))}function O6n(e,n,t){var i;i=u(zn(e.g,t),60),Ce(e.a.c,new jc(n,i))}function oPe(e,n){var t;return t=new h4,e.Ed(t),t.a+="..",n.Fd(t),t.a}function ha(e){var n;for(n=0;e.Ob();)e.Pb(),n=mc(n,1);return hB(n)}function N6n(e,n,t,i,r){var c;c=HOn(r,t,i),Ce(n,XCn(r,c)),FMn(e,r,n)}function sPe(e,n,t){e.i=0,e.e=0,n!=t&&(qze(e,n,t),Gze(e,n,t))}function lPe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function Rae(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function fPe(e,n){hae.call(this),this.a=e,this.b=n,Ce(this.a.b,this)}function I1(e,n){yh(),Gb.call(this,e,1,F(z($t,1),ni,30,15,[n]))}function I6n(e,n,t){return N8(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function qR(e,n,t){return qz(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function D6n(e,n,t){return LOn(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function Bae(e,n){return e==(Fn(),Wi)&&n==Wi?4:e==Wi||n==Wi?8:32}function _6n(e,n){return u(n==null?bu(Xc(e.f,null)):Dj(e.i,n),290)}function aPe(e,n){var t;for(t=n;t;)m2(e,t.i,t.j),t=Fi(t);return e}function Vu(e){return e.n||(Ms(e),e.n=new RIe(e,Rc,e),tu(e)),e.n}function Kh(e,n){Tc();var t;return t=u(e,69).tk(),eCn(t,n),t.vl(n)}function mE(e){return at(e.a"+Aae(e.d):"e_"+jw(e)}function P6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),I$(t)}function $6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),I$(t)}function gPe(e,n){var t;for(t=0;t=0&&e.a[t]===n[t];t--);return t<0}function J6n(e,n){var t,i;i=!1;do t=Dze(e,n),i=i|t;while(t);return i}function vE(){vE=Y,Ox=new vse("UPPER",0),Tx=new vse("LOWER",1)}function XR(){XR=Y,xie=new pse(va,0),Sie=new pse("ALTERNATING",1)}function KR(){KR=Y,S8e=new wIe,A8e=new WIe,Nce=new S_e,x8e=new ZIe}function pPe(){pPe=Y,Lin=Dt((iB(),F(z(g3e,1),je,422,0,[b3e,Kte])))}function mPe(){mPe=Y,Bin=Dt((hO(),F(z(S3e,1),je,419,0,[VJ,E3e])))}function vPe(){vPe=Y,Hin=Dt((uO(),F(z(M3e,1),je,476,0,[A3e,QJ])))}function yPe(){yPe=Y,Qin=Dt((GR(),F(z(F3e,1),je,420,0,[gie,z3e])))}function kPe(){kPe=Y,ern=Dt((XR(),F(z(n5e,1),je,423,0,[xie,Sie])))}function jPe(){jPe=Y,Xun=Dt((sO(),F(z(J4e,1),je,421,0,[ire,rre])))}function EPe(){EPe=Y,Son=Dt((vE(),F(z(Eon,1),je,518,0,[Ox,Tx])))}function SPe(){SPe=Y,Don=Dt((Da(),F(z(Ion,1),je,508,0,[Og,Qa])))}function xPe(){xPe=Y,Non=Dt((dh(),F(z(Oon,1),je,509,0,[yp,Kd])))}function APe(){APe=Y,Kon=Dt((da(),F(z(Xon,1),je,515,0,[Dm,ab])))}function MPe(){MPe=Y,nsn=Dt((Iw(),F(z(esn,1),je,454,0,[hb,X3])))}function CPe(){CPe=Y,Csn=Dt((HR(),F(z($ye,1),je,425,0,[Are,Pye])))}function TPe(){TPe=Y,Dsn=Dt((AB(),F(z(Rye,1),je,487,0,[FH,Y3])))}function OPe(){OPe=Y,Psn=Dt((cB(),F(z(zye,1),je,426,0,[Bye,Ire])))}function NPe(){NPe=Y,Iln=Dt((QR(),F(z(T6e,1),je,478,0,[Vre,C6e])))}function IPe(){IPe=Y,Fln=Dt((eO(),F(z($6e,1),je,428,0,[nce,WH])))}function DPe(){DPe=Y,cfn=Dt((vO(),F(z(c9e,1),je,427,0,[eG,r9e])))}function _Pe(){_Pe=Y,btn=Dt((aB(),F(z(nve,1),je,424,0,[yte,vJ])))}function LPe(){LPe=Y,fin=Dt((Y9(),F(z(lin,1),je,502,0,[ZN,Dte])))}function VR(e){w0e(),QTe(this,Rt(Rr(Sw(e,24),uF)),Rt(Rr(e,uF)))}function H6n(e){return(e.k==(Fn(),Wi)||e.k==wr)&&wi(e,(me(),sx))}function G6n(e,n,t){return u(n==null?Ko(e.f,null,t):Bw(e.i,n,t),290)}function q6n(){return vr(),F(z(Yx,1),je,86,0,[nh,ru,Zc,eh,Vl])}function U6n(){return Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])}function X6n(e){return GP(),function(){return Hyn(e,this,arguments)}}function PPe(e,n){var t;return t=n.jd(),new pw(t,e.e.pc(t,u(n.kd(),18)))}function $Pe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&Ku(i.e,n.kd())}function cc(e,n){var t,i;for(Ln(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function ul(e,n,t){var i;return i=(kn(n,e.c.length),e.c[n]),e.c[n]=t,i}function Hae(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function RPe(e,n){var t;for(t=n;t;)m2(e,-t.i,-t.j),t=Fi(t);return e}function K6n(e,n){var t;return t=e.a.get(n),t??le(Mr,Nn,1,0,5,1)}function Vv(e,n){return(F0(e),w9(new mn(e,new whe(n,e.a)))).zd(Sy)}function V6n(){return zr(),F(z(pve,1),je,363,0,[Xf,c1,eo,no,Pc])}function BPe(e){nYe(),VSe(this),this.a=new xi,x1e(this,e),Vt(this.a,e)}function zPe(){CK(this),this.b=new Ee(Vi,Vi),this.a=new Ee(Ir,Ir)}function oY(e){YR(),!Va&&(this.c=e,this.e=!0,this.a=new Te)}function YR(){YR=Y,Va=!0,mnn=!1,vnn=!1,knn=!1,ynn=!1}function QR(){QR=Y,Vre=new Mse(bwe,0),C6e=new Mse("TARGET_WIDTH",1)}function Y6n(){return kz(),F(z(_sn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])}function Q6n(){return X2(),F(z(Ain,1),je,371,0,[nI,UJ,XJ,qJ,GJ])}function W6n(){return GE(),F(z(_4e,1),je,328,0,[D4e,Zie,ere,Ex,Sx])}function Z6n(){return Xs(),F(z(e5e,1),je,165,0,[fI,ax,V1,hx,Sg])}function e9n(){return tS(),F(z(Lln,1),je,369,0,[Q3,Jy,Hx,Jx,TI])}function n9n(){return GO(),F(z(F6e,1),je,330,0,[R6e,tce,z6e,ice,B6e])}function t9n(){return vh(),F(z(Wa,1),je,160,0,[Tn,fr,xa,Yd,Q1])}function i9n(){return u3(),F(z(eA,1),je,257,0,[wb,HI,g8e,Zx,w8e])}function sY(e,n){var t;return t=u($a(e.d,n),21),t||u($a(e.e,n),21)}function FPe(e){this.b=e,st.call(this,e),this.a=u(Kn(this.b.a,4),129)}function JPe(e){this.b=e,E4.call(this,e),this.a=u(Kn(this.b.a,4),129)}function HPe(e,n){this.c=0,this.b=n,uTe.call(this,e,17493),this.a=this.c}function Lf(e,n,t,i,r){YPe.call(this,n,i,r),this.c=e,this.b=t}function Gae(e,n,t,i,r){mLe.call(this,n,i,r),this.c=e,this.a=t}function qae(e,n,t,i,r){vLe.call(this,n,i,r),this.c=e,this.a=t}function Uae(e,n,t,i,r){YPe.call(this,n,i,r),this.c=e,this.a=t}function Xae(e,n,t){e.a.c.length=0,OPn(e,n,t),e.a.c.length==0||t_n(e,n)}function QT(e){e.i=0,uT(e.b,null),uT(e.c,null),e.a=null,e.e=null,++e.g}function r9n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function Kae(e,n){return X(n,144)?bn(e.c,u(n,144).c):!1}function GPe(e){var n;return e.c||(n=e.r,X(n,88)&&(e.c=u(n,29))),e.c}function Ms(e){return e.t||(e.t=new RSe(e),RE(new tAe(e),0,e.t)),e.t}function uc(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function B4(e,n){return n==0||e.e==0?e:n>0?aJe(e,n):WUe(e,-n)}function Vae(e,n){return n==0||e.e==0?e:n>0?WUe(e,n):aJe(e,-n)}function ct(e){if(ht(e))return e.c=e.a,e.a.Pb();throw R(new hu)}function qPe(e){var n;return n=e.length,bn(Rn.substr(Rn.length-n,n),e)}function UPe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(Fn(),wr)&&t.k==wr}function lY(e){var n,t,i;return n=e&Ls,t=e>>22&Ls,i=e<0?G1:0,_o(n,t,i)}function c9n(e,n){var t,i;t=u(Zkn(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function u9n(e){e&&s8n((Coe(),yme)),--lJ,e&&fJ!=-1&&(qgn(fJ),fJ=-1)}function Yae(e){$gn.call(this,e==null?Vo:fu(e),X(e,80)?u(e,80):null)}function fY(e){var n;return n=new Ow,Pu(n,e),he(n,(Oe(),Wc),null),n}function aY(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):Xw(e,n,t)}function o9n(e,n,t){return ji(k4(w8(e),pc(n.b)),k4(w8(e),pc(t.b)))}function s9n(e,n,t){return ji(k4(w8(e),pc(n.e)),k4(w8(e),pc(t.e)))}function l9n(e,n){return k.Math.min(_0(n.a,e.d.d.c),_0(n.b,e.d.d.c))}function XPe(e,n,t){var i;i=new Vse(e.a),AE(i,e.a.a),Ko(i.f,n,t),e.a.a=i}function Qae(e,n,t,i){var r;for(r=0;rn)throw R(new jo(F0e(e,n,"index")));return e}function ehe(e){var n;return n=e.e+e.f,isNaN(n)&&V$(e.d)?e.d:n}function a9n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),sS(e,t)}function nhe(e,n){var t,i;return t=(Ln(e),e),i=(Ln(n),n),t==i?0:tn.p?-1:0}function t$e(e,n){return so(e.a,n)?(z4(e.a,n),!0):!1}function g9n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),DT(t.Lc(),new n9(n))}function dY(e){var n;return n=e.b,n.b==0?null:u(Yu(n,0),65).b}function eB(e,n){return Ln(n),e.c=0,"Initial capacity must not be negative")}function tB(){tB=Y,Gx=new ki("org.eclipse.elk.labels.labelManager")}function r$e(){r$e=Y,l3e=new Pi("separateLayerConnections",($B(),$te))}function da(){da=Y,Dm=new jse("REGULAR",0),ab=new jse("CRITICAL",1)}function eO(){eO=Y,nce=new Cse("FIXED",0),WH=new Cse("CENTER_NODE",1)}function iB(){iB=Y,b3e=new dse("QUADRATIC",0),Kte=new dse("SCANLINE",1)}function c$e(){c$e=Y,$in=Dt((vB(),F(z(y3e,1),je,350,0,[v3e,KJ,Vte])))}function u$e(){u$e=Y,Fin=Dt((tg(),F(z(zin,1),je,449,0,[iie,E7,L3])))}function o$e(){o$e=Y,Xin=Dt((e8(),F(z(die,1),je,302,0,[aie,hie,rI])))}function s$e(){s$e=Y,Kin=Dt(($0(),F(z(bie,1),je,329,0,[cI,B3e,ym])))}function l$e(){l$e=Y,Yin=Dt((_1(),F(z(Vin,1),je,315,0,[uI,$3,Ty])))}function f$e(){f$e=Y,Iin=Dt(($w(),F(z(Bte,1),je,368,0,[hp,ub,ap])))}function a$e(){a$e=Y,Jun=Dt((_E(),F(z(I4e,1),je,352,0,[Yie,N4e,AH])))}function h$e(){h$e=Y,Vun=Dt((Nc(),F(z(Kun,1),je,452,0,[Ax,ys,Io])))}function d$e(){d$e=Y,Yun=Dt((_B(),F(z(q4e,1),je,381,0,[H4e,cre,G4e])))}function b$e(){b$e=Y,Qun=Dt((DE(),F(z(U4e,1),je,348,0,[ore,ure,vI])))}function g$e(){g$e=Y,Wun=Dt((u8(),F(z(K4e,1),je,349,0,[sre,X4e,Mx])))}function w$e(){w$e=Y,Zun=Dt((mB(),F(z(Q4e,1),je,351,0,[Y4e,lre,V4e])))}function p$e(){p$e=Y,eon=Dt((LB(),F(z(W4e,1),je,382,0,[fre,L7,Im])))}function m$e(){m$e=Y,rsn=Dt((IE(),F(z(gye,1),je,385,0,[bye,dre,jI])))}function v$e(){v$e=Y,$sn=Dt((xO(),F(z(Hye,1),je,386,0,[JH,Fye,Jye])))}function y$e(){y$e=Y,rln=Dt((DB(),F(z(o6e,1),je,303,0,[$re,u6e,c6e])))}function k$e(){k$e=Y,cln=Dt((ez(),F(z(s6e,1),je,436,0,[$x,qH,Rre])))}function j$e(){j$e=Y,Dln=Dt((uB(),F(z(I6e,1),je,429,0,[Yre,N6e,O6e])))}function E$e(){E$e=Y,_ln=Dt((GB(),F(z(L6e,1),je,430,0,[D6e,_6e,Qre])))}function S$e(){S$e=Y,$ln=Dt((OO(),F(z(Wre,1),je,435,0,[VH,YH,QH])))}function x$e(){x$e=Y,fln=Dt((VB(),F(z(a6e,1),je,387,0,[f6e,qre,l6e])))}function A$e(){A$e=Y,ztn=Dt((kE(),F(z(wve,1),je,384,0,[Ste,Ete,xte])))}function M$e(){M$e=Y,jnn=Dt((zl(),F(z(Qo,1),je,130,0,[Kme,Yo,Vme])))}function C$e(){C$e=Y,Onn=Dt((wa(),F(z(dm,1),je,237,0,[Ou,No,Nu])))}function T$e(){T$e=Y,Inn=Dt((ws(),F(z(Nnn,1),je,461,0,[Oh,rb,qf])))}function O$e(){O$e=Y,_nn=Dt((Uo(),F(z(Dnn,1),je,462,0,[ja,cb,Uf])))}function N$e(){N$e=Y,Kfn=Dt((Ra(),F(z(t8e,1),je,279,0,[H7,Fm,G7])))}function I$e(){I$e=Y,dan=Dt((V4(),F(z(E8e,1),je,281,0,[j8e,Hm,gG])))}function D$e(){D$e=Y,Wfn=Dt((B1(),F(z(b8e,1),je,347,0,[lG,Wd,Wx])))}function _$e(){_$e=Y,fan=Dt((EE(),F(z(y8e,1),je,300,0,[qI,Tce,v8e])))}function ba(e,n){return!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),xQ(e.o,n)}function p9n(e){return!e.g&&(e.g=new G6),!e.g.d&&(e.g.d=new LSe(e)),e.g.d}function m9n(e){return!e.g&&(e.g=new G6),!e.g.b&&(e.g.b=new _Se(e)),e.g.b}function nO(e){return!e.g&&(e.g=new G6),!e.g.c&&(e.g.c=new $Se(e)),e.g.c}function v9n(e){return!e.g&&(e.g=new G6),!e.g.a&&(e.g.a=new PSe(e)),e.g.a}function y9n(e,n,t,i){return t&&(i=t.Oh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function k9n(e,n,t,i){return t&&(i=t.Qh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function bY(e,n,t,i){var r;return r=le($t,ni,30,n+1,15,1),$_n(r,e,n,t,i),r}function le(e,n,t,i,r,c){var o;return o=dHe(r,i),r!=10&&F(z(e,c),n,t,r,o),o}function j9n(e,n,t){var i,r;for(r=new W9(n,e),i=0;it||n=0?e.Ih(t,!0,!0):Xw(e,n,!0)}function tO(e,n){var t,i,r;return r=e.r,i=e.d,t=aS(e,n,!0),t.b!=r||t.a!=i}function R$e(e,n){return $Me(e.e,n)||ug(e.e,n,new $Je(n)),u($a(e.e,n),113)}function Cs(e,n,t,i){return Ln(e),Ln(n),Ln(t),Ln(i),new Bfe(e,n,new Fu)}function iO(e,n,t){var i,r;return r=(i=x8(e.b,n),i),r?Yz(lO(e,r),t):null}function R9n(e,n,t){var i,r,c;i=O1(e,t),r=null,i&&(r=I0e(i)),c=r,_Je(n,t,c)}function B9n(e,n,t){var i,r,c;i=O1(e,t),r=null,i&&(r=I0e(i)),c=r,_Je(n,t,c)}function os(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new Lfe(this,n,t,i)}function mY(e,n,t,i,r,c){_ae.call(this,n,i,r,c),this.c=e,this.b=t}function rO(e,n,t,i,r,c){_ae.call(this,n,i,r,c),this.c=e,this.a=t}function ghe(e,n,t,i,r){FTe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function whe(e,n){D$.call(this,n.xd(),n.wd()&-16449),Ln(e),this.a=e,this.c=n}function z9n(e,n){e.a.Le(n.d,e.b)>0&&(Ce(e.c,new ofe(n.c,n.d,e.d)),e.b=n.d)}function vY(e){e.a=le($t,ni,30,e.b+1,15,1),e.c=le($t,ni,30,e.b,15,1),e.d=0}function F9n(e,n,t){var i;return i=Bze(e,n,t),e.b=new CB(i.c.length),Ibe(e,i)}function J9n(e){if(e.b<=0)throw R(new hu);return--e.b,e.a-=e.c.c,ve(e.a)}function H9n(e){var n;if(!e.a)throw R(new l_e);return n=e.a,e.a=Fi(e.a),n}function B$e(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)K(e,n);return $ae(e)}function J4(e){var n;return Nt(e),X(e,204)?(n=u(e,204),n):new t9(e)}function G9n(e){for(;!e.a;)if(!SNe(e.c,new Gke(e)))return!1;return!0}function phe(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.g[n]}function z$e(e,n,t){if(r8(e,t),t!=null&&!e.dk(t))throw R(new gX);return t}function yY(e,n){return aO(n)!=10&&F(Us(n),n.Qm,n.__elementTypeId$,aO(n),e),e}function F$e(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),F4(e,i,t)}function G9(e,n,t,i){var r;i=(Tw(),i||Fme),r=e.slice(n,t),J0e(r,e,n,t,-n,i)}function Pl(e,n,t,i,r){return n<0?Xw(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function q9n(e,n){return ji(ne(re(C(e,(me(),gp)))),ne(re(C(n,gp))))}function J$e(){J$e=Y,wnn=Dt((q9(),F(z(gJ,1),je,309,0,[fte,ate,hte,dte])))}function q9(){q9=Y,fte=new o$("All",0),ate=new MTe,hte=new BTe,dte=new CTe}function ws(){ws=Y,Oh=new UX(by,0),rb=new UX(H8,1),qf=new UX(gy,2)}function H$e(){H$e=Y,Uz(),b7e=Vi,yhn=Ir,g7e=new et(Vi),khn=new et(Ir)}function rB(){rB=Y,sfn=new yv,ffn=new tL,lfn=ckn((Xt(),Ece),sfn,bb,ffn)}function U9n(e){rB(),u(e.mf((Xt(),Rm)),182).Ec((ps(),GI)),e.of(Ece,null)}function X9n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function K9n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function mhe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function G$e(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function cO(e){var n;for(n=e.p+1;n=0?sz(e,t,!0,!0):Xw(e,n,!0)}function e8n(e,n){A4(u(u(e.f,26).mf((Xt(),Vx)),102))&&XFe(iae(u(e.f,26)),n)}function mRe(e,n){Os(e,n==null||V$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function vRe(e,n){Ns(e,n==null||V$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function yRe(e,n){Pw(e,n==null||V$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function kRe(e,n){Lw(e,n==null||V$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function jRe(e){(this.q?this.q:(En(),En(),r1)).zc(e.q?e.q:(En(),En(),r1))}function xY(e,n,t){var i;return i=e.g[n],Qj(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function fB(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function AY(e){var n;return e.d!=e.r&&(n=ff(e),e.e=!!n&&n.jk()==een,e.d=n),e.e}function MY(e,n){var t;for(Nt(e),Nt(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function $a(e,n){var t;return t=u(zn(e.e,n),393),t?(YTe(e,t),t.e):null}function ERe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function lu(e,n){var t,i;return F0(e),i=new the(n,e.a),t=new jNe(i),new mn(e,t)}function L2(e,n){var t=e.a[n],i=(WY(),rte)[typeof t];return i?i(t):F1e(typeof t)}function n8n(e,n){var t,i,r;r=n.c.i,t=u(zn(e.f,r),60),i=t.d.c-t.e.c,Zhe(n.a,i,0)}function Vh(e,n,t){var i,r;for(i=10,r=0;r=0;)++n[0]}function CRe(e,n,t,i){ai(),bw.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function L1(e,n,t,i,r,c,o){DY.call(this,n,i,r,c,o),this.c=e,this.b=t}function TRe(e){this.g=e,this.f=new Te,this.a=k.Math.min(this.g.c.c,this.g.d.c)}function jE(){jE=Y,Wtn=new Ip,Ztn=new Dp,Ytn=new _p,Qtn=new Lp,ein=new xl}function aB(){aB=Y,yte=new fse("EADES",0),vJ=new fse("FRUCHTERMAN_REINGOLD",1)}function hO(){hO=Y,VJ=new bse("READING_DIRECTION",0),E3e=new bse("ROTATION",1)}function ORe(){ORe=Y,Min=Dt((X2(),F(z(Ain,1),je,371,0,[nI,UJ,XJ,qJ,GJ])))}function NRe(){NRe=Y,Gun=Dt((GE(),F(z(_4e,1),je,328,0,[D4e,Zie,ere,Ex,Sx])))}function IRe(){IRe=Y,Zin=Dt((Xs(),F(z(e5e,1),je,165,0,[fI,ax,V1,hx,Sg])))}function DRe(){DRe=Y,Lsn=Dt((kz(),F(z(_sn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])))}function _Re(){_Re=Y,Pln=Dt((tS(),F(z(Lln,1),je,369,0,[Q3,Jy,Hx,Jx,TI])))}function LRe(){LRe=Y,Jln=Dt((GO(),F(z(F6e,1),je,330,0,[R6e,tce,z6e,ice,B6e])))}function PRe(){PRe=Y,Gtn=Dt((zr(),F(z(pve,1),je,363,0,[Xf,c1,eo,no,Pc])))}function $Re(){$Re=Y,Ufn=Dt((vr(),F(z(Yx,1),je,86,0,[nh,ru,Zc,eh,Vl])))}function RRe(){RRe=Y,afn=Dt((vh(),F(z(Wa,1),je,160,0,[Tn,fr,xa,Yd,Q1])))}function BRe(){BRe=Y,tan=Dt((u3(),F(z(eA,1),je,257,0,[wb,HI,g8e,Zx,w8e])))}function zRe(){zRe=Y,can=Dt((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])))}function FRe(e){var n;return n=u(C(e,(me(),dp)),317),n?n.a==e:!1}function JRe(e){var n;return n=u(C(e,(me(),dp)),317),n?n.i==e:!1}function HRe(e,n){return Ln(n),Ife(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function hB(e){return ao(e,oi)>0?oi:ao(e,Xr)<0?Xr:Rt(e)}function f8n(e,n){var t;return t=zw(e.e.c,n.e.c),t==0?ji(e.e.d,n.e.d):t}function TY(e,n){var t;return t=u(zn(e.a,n),150),t||(t=new Vg,ei(e.a,n,t)),t}function $f(e,n,t){var i;if(n==null)throw R(new c4);return i=O1(e,n),L6n(e,n,t),i}function a8n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function h8n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],lc($T(i))}function d8n(e,n,t){var i,r;for(r=new P(t);r.a0?n-1:n,pAe(lgn(hBe(dfe(new s4,t),e.n),e.j),e.k)}function y8n(e,n,t,i){var r;e.j=-1,nbe(e,D0e(e,n,t),(Tc(),r=u(n,69).tk(),r.vl(i)))}function KRe(e,n,t,i,r,c){var o;o=fY(i),fc(o,r),Gr(o,c),gn(e.a,i,new W$(o,n,t.f))}function dB(e,n){var t;return F0(e),t=new n_e(e,e.a.xd(),e.a.wd()|4,n),new mn(e,t)}function k8n(e,n){var t,i;return t=u(J2(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function Cn(e,n){var t;return t=(e.i==null&&kh(e),e.i),n>=0&&n=-.01&&e.a<=qa&&(e.a=0),e.b>=-.01&&e.b<=qa&&(e.b=0),e}function Yv(e){M8();var n,t;for(t=Fpe,n=0;nt&&(t=e[n]);return t}function j8n(e){var n;return n=ne(re(C(e,(Oe(),Ud)))),n<0&&(n=0,he(e,Ud,n)),n}function E8n(e,n){A4(u(C(u(e.e,9),(Oe(),Zi)),102))&&(En(),Tr(u(e.e,9).j,n))}function bB(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),he(t,(me(),_y),n)}function S8n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;re||e>n)throw R(new Doe("fromIndex: 0, toIndex: "+e+Xge+n))}function WRe(e,n){Ei(e,(Qh(),Gre),n.f),Ei(e,lln,n.e),Ei(e,Hre,n.d),Ei(e,sln,n.c)}function Ao(e,n){var t,i,r,c;for(Ln(n),i=e.c,r=0,c=i.length;r0&&(e.a/=n,e.b/=n),e}function ZRe(e,n,t){var i,r;i=n;do r=ne(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function ol(e){var n;return e.w?e.w:(n=vyn(e),n&&!n.Sh()&&(e.w=n),n)}function Ahe(e,n){return Na(),Rf(Y0),k.Math.abs(e-n)<=Y0||e==n||isNaN(e)&&isNaN(n)}function I8n(e){var n;return e==null?null:(n=u(e,195),yMn(n,n.length))}function K(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.Ui(n,e.g[n])}function wa(){wa=Y,Ou=new qX("BEGIN",0),No=new qX(H8,1),Nu=new qX("END",2)}function Ra(){Ra=Y,H7=new pK(H8,0),Fm=new pK("HEAD",1),G7=new pK("TAIL",2)}function H4(){H4=Y,Osn=mh(mh(mh(Nj(new or,(ny(),Nx)),(uS(),hre)),oye),aye)}function P1(){P1=Y,Isn=mh(mh(mh(Nj(new or,(ny(),Dx)),(uS(),lye)),rye),sye)}function Qv(e,n){return bgn(ME(e,n,Rt(hc(e1,Xh(Rt(hc(n==null?0:Ni(n),n1)),15)))))}function Mhe(e,n){return Na(),Rf(Y0),k.Math.abs(e-n)<=Y0||e==n||isNaN(e)&&isNaN(n)}function X9(e,n){var t,i;i=e.a,t=djn(e,n,null),i!=n&&!e.e&&(t=_8(e,n,t)),t&&t.mj()}function D8n(e,n){var t;return t=Nr(pc(u(zn(e.g,n),8)),Use(u(zn(e.f,n),460).b)),t}function eBe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function G4(e){var n;return tE(e==null||Array.isArray(e)&&(n=aO(e),!(n>=14&&n<=16))),e}function Che(e){e.b=(ws(),rb),e.f=(Uo(),cb),e.d=(sl(2,rm),new xo(2)),e.e=new Vr}function gB(e){this.b=(Nt(e),new bs(e)),this.a=new Te,this.d=new Te,this.e=new Vr}function nBe(e){return F0(e),C4(!0,"n may not be negative"),new mn(e,new yBe(e.a))}function _8n(e,n){En();var t,i;for(i=new Te,t=0;t0?u(Le(t.a,i-1),9):null}function Rf(e){if(!(e>=0))throw R(new Un("tolerance ("+e+") must be >= 0"));return e}function SE(){return oce||(oce=new DXe,K4(oce,F(z(xy,1),Nn,148,0,[new OC]))),oce}function mB(){mB=Y,Y4e=new uK("NO",0),lre=new uK(bwe,1),V4e=new uK("LOOK_BACK",2)}function Nc(){Nc=Y,Ax=new tK(yS,0),ys=new tK("INPUT",1),Io=new tK("OUTPUT",2)}function vB(){vB=Y,v3e=new VX("ARD",0),KJ=new VX("MSD",1),Vte=new VX("MANUAL",2)}function F8n(){return YO(),F(z(j3e,1),je,267,0,[Wte,k3e,eie,nie,Zte,tie,iI,Qte,Yte])}function J8n(){return WO(),F(z(O4e,1),je,268,0,[Vie,M4e,C4e,Xie,A4e,T4e,xH,Uie,Kie])}function H8n(){return _s(),F(z(k8e,1),je,266,0,[X7,VI,aG,rA,hG,bG,dG,Oce,KI])}function G8n(){kMe();for(var e=Kne,n=0;nt)throw R(new k2(n,t));return new Xle(e,n)}function yB(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function q8n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i=0),CEn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function yBe(e){D$.call(this,e.yd(64)?Gse(0,lf(e.xd(),1)):bN,e.wd()),this.b=1,this.a=e}function kBe(){cle.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Gf}function jBe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new mNe(this,n,t,i)}function DY(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function EBe(e){Woe(),this.g=new wt,this.f=new wt,this.b=new wt,this.c=new Nw,this.i=e}function $he(){this.f=new Vr,this.d=new moe,this.c=new Vr,this.a=new Te,this.b=new Te}function X8n(e){var n,t;for(t=new P(vHe(e));t.a=0}function Rhe(){Rhe=Y,son=qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)}function SBe(){SBe=Y,lon=qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)}function Bhe(){Bhe=Y,fon=qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)}function xBe(){xBe=Y,aon=qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)}function ABe(){ABe=Y,hon=qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)}function MBe(){MBe=Y,don=qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)}function CBe(){CBe=Y,won=Eo(qt(qt(new or,(zr(),eo),(Ur(),_J)),no,TJ),Pc,DJ)}function TBe(){TBe=Y,nnn=F(z($t,1),ni,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function zhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function Fhe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function _Y(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,t,e.c))}function Jhe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function Hhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.d))}function V9(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.k))}function LY(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.D))}function EB(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.f))}function SB(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,t,e.i))}function Ghe(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.a))}function qhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function Y8n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new Lxe:new pC,e.c=MIn(i,e.b,e.a)}function OBe(e,n){return J1(e.e,n)?(Tc(),AY(n)?new uR(n,e):new vT(n,e)):new tTe(n,e)}function Q8n(e){var n,t;return 0>e?new Yoe:(n=e+1,t=new HPe(n,e),new Ale(null,t))}function W8n(e,n){En();var t;return t=new b4(1),$r(e)?Kc(t,e,n):Ko(t.f,e,n),new aX(t)}function Z8n(e,n){var t;t=new Kg,u(n.b,68),u(n.b,68),u(n.b,68),Ao(n.a,new ife(e,t,n))}function NBe(e,n){var t;return X(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function e7n(e){var n;return n=C(e,(me(),mi)),X(n,174)?WFe(u(n,174)):null}function IBe(e){var n;return e=k.Math.max(e,2),n=b1e(e),e>n?(n<<=1,n>0?n:gS):n}function PY(e){switch(ile(e.e!=3),e.e){case 2:return!1;case 0:return!0}return r9n(e)}function Uhe(e){var n;return e.b==null?(Ed(),Ed(),iD):(n=e.sl()?e.rl():e.ql(),n)}function DBe(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),zO(e,t.jd(),t.kd())}function Xhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,t,e.d))}function xB(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,13,t,e.j))}function Khe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,21,t,e.b))}function Vhe(e,n){e.r>0&&e.c0&&e.g!=0&&Vhe(e.i,n/e.r*e.i.d))}function _Be(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i0?1:0:(!e.c&&(e.c=XT(Lu(e.f))),e.c).e}function GBe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function c7n(e,n){n.Tg(yQe,1),er(lu(new mn(null,new yn(e.b,16)),new Wg),new kD),n.Ug()}function FY(e,n,t,i,r,c){var o;this.c=e,o=new Te,_de(e,o,n,e.b,t,i,r,c),this.a=new qr(o,0)}function rr(e,n,t,i,r,c,o,l,f,h,b,p,y){return uqe(e,n,t,i,r,c,o,l,f,h,b,p,y),mQ(e,!1),e}function u7n(e,n){typeof window===fN&&typeof window.$gwt===fN&&(window.$gwt[e]=n)}function o7n(e,n,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(e[t]=i)}function s7n(e,n,t){t.Tg("DFS Treeifying phase",1),mEn(e,n),VNn(e,n),e.a=null,e.b=null,t.Ug()}function l7n(e,n){var t;n.Tg("General Compactor",1),t=eEn(u(ke(e,(q0(),_re)),386)),t.Bg(e)}function f7n(e,n){var t,i;return t=u(ke(e,(q0(),HH)),15),i=u(ke(n,HH),15),oo(t.a,i.a)}function Zhe(e,n,t){var i,r;for(r=St(e,0);r.b!=r.d.c;)i=u(jt(r),8),i.a+=n,i.b+=t;return e}function a7n(e,n,t,i){var r;r=new l4,Xb(r,"x",vz(e,n,i.a)),Xb(r,"y",yz(e,n,i.b)),D4(t,r)}function h7n(e,n,t,i){var r;r=new l4,Xb(r,"x",vz(e,n,i.a)),Xb(r,"y",yz(e,n,i.b)),D4(t,r)}function d7n(){return X0(),F(z(B4e,1),je,243,0,[CH,pI,mI,P4e,$4e,L4e,R4e,TH,_7,xx])}function b7n(){return Ic(),F(z(fie,1),je,261,0,[ZJ,Kl,ux,eH,A7,P3,ox,S7,x7,nH])}function JY(){JY=Y,lA=new Oxe,Fce=F(z(ns,1),M3,179,0,[]),Wan=F(z(yf,1),ime,62,0,[])}function q4(){q4=Y,Pte=new Pi("edgelabelcenterednessanalysis.includelabel",($n(),ib))}function qBe(e,n){return ne(re(Js(CO(So(new mn(null,new yn(e.c.b,16)),new Qje(e)),n))))}function e1e(e,n){return ne(re(Js(CO(So(new mn(null,new yn(e.c.b,16)),new Yje(e)),n))))}function Ni(e){return $r(e)?Id(e):g2(e)?v4(e):b2(e)?qOe(e):Tfe(e)?e.Hb():Sfe(e)?jw(e):aae(e)}function UBe(e,n){return Na(),Rf(qa),k.Math.abs(0-n)<=qa||n==0||isNaN(0)&&isNaN(n)?0:e/n}function g7n(e,n){return n8(),e==fp&&n==bm||e==fp&&n==O3||e==gm&&n==O3||e==gm&&n==bm}function w7n(e,n){return n8(),e==fp&&n==gm||e==gm&&n==fp||e==O3&&n==bm||e==bm&&n==O3}function ss(){ss=Y,Ave=new k5,Sve=new a0,xve=new _h,Eve=new uk,Mve=new NA,Cve=new j5}function p7n(e){var n;return n=FR(e),Gj(n.a,0)?(WP(),WP(),bnn):(WP(),new SOe(n.b))}function HY(e){var n;return n=Iae(e),Gj(n.a,0)?(f2(),f2(),lte):(f2(),new $K(n.b))}function GY(e){var n;return n=Iae(e),Gj(n.a,0)?(f2(),f2(),lte):(f2(),new $K(n.c))}function m7n(e){return e.b.c.i.k==(Fn(),wr)?u(C(e.b.c.i,(me(),mi)),12):e.b.c}function XBe(e){return e.b.d.i.k==(Fn(),wr)?u(C(e.b.d.i,(me(),mi)),12):e.b.d}function KBe(e){switch(e.g){case 2:return Ie(),Yn;case 4:return Ie(),nt;default:return e}}function VBe(e){switch(e.g){case 1:return Ie(),bt;case 3:return Ie(),Vn;default:return e}}function v7n(e,n){var t;return t=m0e(e),V0e(new Ee(t.c,t.d),new Ee(t.b,t.a),e.Kf(),n,e.$f())}function y7n(e,n){n.Tg(yQe,1),ode(xgn(new OP((Mj(),new DV(e,!1,!1,new ck))))),n.Ug()}function n1e(){n1e=Y,pon=mh(oTe(qt(qt(new or,(zr(),eo),(Ur(),_J)),no,TJ),Pc),DJ)}function YBe(){YBe=Y,kon=mh(oTe(qt(qt(new or,(zr(),eo),(Ur(),_J)),no,TJ),Pc),DJ)}function QBe(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new Te,fTn(this),En(),Tr(this.a,null)}function Bl(e,n,t,i,r,c,o){Ot.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=Pf(o)}function t1e(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function AE(e,n){var t,i;for(Ln(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function k7n(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!qR(e,n,i.Pb()))return!1;return!0}function ME(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&C1(n,i.g))return i;return null}function CE(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&C1(n,i.i))return i;return null}function j7n(e,n){var t;for(Nt(n);e.Ob();)if(t=e.Pb(),!u1e(u(t,9)))return!1;return!0}function E7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function S7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function WBe(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function x7n(e){var n,t,i;return e.j==(Ie(),Vn)&&(n=Zqe(e),t=cs(n,nt),i=cs(n,Yn),i||i&&t)}function A7n(e){var n,t,i;for(i=0,t=new P(e.b);t.ar&&n.ac&&n.br?t=r:Wn(n,t+1),e.a=of(e.a,0,n)+(""+i)+qfe(e.a,t)}function ZBe(e,n,t,i){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,t),n&&ATn(e,n),i&&e.el(!0)}function T7n(e,n){var t,i;for(i=new P(n.b);i.a1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw R(new hu)}function $7n(e,n){var t,i;for(i=new P(n);i.a>22),r=e.h+n.h+(i>>22),_o(t&Ls,i&Ls,r&G1)}function Aze(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),_o(t&Ls,i&Ls,r&G1)}function QY(e){var n,t,i,r;for(r=new Te,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=W2(t),Sr(r,n);return r}function tkn(e){var n;Bd(e,!0),n=zd,wi(e,(Oe(),N7))&&(n+=u(C(e,N7),15).a),he(e,N7,ve(n))}function Mze(e,n,t){var i;Hu(e.a),Ao(t.i,new YEe(e)),i=new P$(u(zn(e.a,n.b),68)),SJe(e,i,n),t.f=i}function l1e(e){var n,t;return t=(j0(),n=new yo,n),e&&Et((!e.a&&(e.a=new we($i,e,6,6)),e.a),t),t}function U4(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=bh(i,qh(1,t));return i}function ikn(e,n){var t,i;for(NR(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function f1e(e,n){if(n===0){!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),e.o.c.$b();return}pW(e,n)}function Cze(e){switch(e.g){case 1:return gb;case 2:return l1;case 3:return FI;default:return JI}}function a1e(e){En();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?Ni(n):0),i=i|0;return i}function rkn(e){var n;return n=new xn,n.a=e,n.b=fkn(e),n.c=le(He,Ae,2,2,6,1),n.c[0]=HBe(e),n.c[1]=HBe(e),n}function $B(){$B=Y,$te=new h$(va,0),JJ=new h$(EQe,1),HJ=new h$(SQe,2),eI=new h$("BOTH",3)}function n8(){n8=Y,fp=new f$("Q1",0),gm=new f$("Q4",1),bm=new f$("Q2",2),O3=new f$("Q3",3)}function $0(){$0=Y,cI=new ZX("ONLY_WITHIN_GROUP",0),B3e=new ZX(eee,1),ym=new ZX("ENFORCED",2)}function tg(){tg=Y,iie=new QX(va,0),E7=new QX("INCOMING_ONLY",1),L3=new QX("OUTGOING_ONLY",2)}function X4(){X4=Y,ofn=new BM,ufn=new Z_}function WY(){WY=Y,rte={boolean:ygn,number:Ibn,string:Dbn,object:lqe,function:lqe,undefined:abn}}function Tze(){Tze=Y,qun=Dt((X0(),F(z(B4e,1),je,243,0,[CH,pI,mI,P4e,$4e,L4e,R4e,TH,_7,xx])))}function Oze(){Oze=Y,Uin=Dt((Ic(),F(z(fie,1),je,261,0,[ZJ,Kl,ux,eH,A7,P3,ox,S7,x7,nH])))}function ckn(e,n,t,i){return new rse(F(z(yg,1),tF,45,0,[(qQ(e,n),new pw(e,n)),(qQ(t,i),new pw(t,i))]))}function ukn(e,n){var t,i;return t=u(u(zn(e.g,n.a),49).a,68),i=u(u(zn(e.g,n.b),49).a,68),vKe(t,i)}function h1e(e,n,t){var i;if(i=e.gc(),n>i)throw R(new k2(n,i));return e.Qi()&&(t=F_e(e,t)),e.Ci(n,t)}function Nze(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new _f(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function okn(e,n){return!e||!n||e==n?!1:zw(e.b.c,n.b.c+n.b.b)<0&&zw(n.b.c,e.b.c+e.b.b)<0}function ZY(e,n,t){return e>=128?!1:e<64?qj(Rr(qh(1,e),t),0):qj(Rr(qh(1,e-64),n),0)}function EO(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function SO(e,n,t){return t==null?(!e.q&&(e.q=new wt),z4(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function he(e,n,t){return t==null?(!e.q&&(e.q=new wt),z4(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function Ize(e){var n,t;return t=new WR,Pu(t,e),he(t,(L0(),My),e),n=new wt,nLn(e,t,n),I$n(e,t,n),t}function skn(e){M8();var n,t,i;for(t=le(Lr,Ae,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=FSn(i,e);return t}function Dze(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;ce.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function d1e(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=ff(e),X(n,88)&&(e.c=u(n,29))),e.c}function b1e(e){var n;if(e<0)return Xr;if(e==0)return 0;for(n=gS;(n&e)==0;n>>=1);return n}function fkn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+ERe(e))}function Lze(e){var n,t;return t=KO(e.h),t==32?(n=KO(e.m),n==32?KO(e.l)+32:n+20-10):t-12}function eQ(e){var n,t,i;n=~e.l+1&Ls,t=~e.m+(n==0?1:0)&Ls,i=~e.h+(n==0&&t==0?1:0)&G1,e.l=n,e.m=t,e.h=i}function OE(e){var n;return n=e.a[e.b],n==null?null:(ir(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function g1e(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function w1e(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function Pze(e,n){this.b=e,Pv.call(this,(u(K(ge((C0(),Bn).o),10),19),n.i),n.g),this.a=(JY(),Fce)}function p1e(e,n,t){this.q=new k.Date,this.q.setFullYear(e+Q0,n,t),this.q.setHours(0,0,0,0),sS(this,0)}function $ze(e,n,t){var i,r;return i=new pY(n,t),r=new si,e.b=tXe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function m1e(e,n){En();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;ro||i+r>c)throw R(new soe)}function Rze(e,n,t){var i,r,c,o;for(o=PE(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),ei(e.c,i,ve(c++))}function R0(e){var n,t;for(t=new P(e.a.b);t.a=0,"Negative initial capacity"),LT(n>=0,"Non-positive load factor"),Hu(this)}function Hze(e,n){var t;for(t=0;t1||n>=0&&e.b<3)}function vkn(){ai();var e;return Xce||(e=wpn(K0("M",!0)),e=dR(K0("M",!1),e),Xce=e,Xce)}function Uze(e){if(e.g===0)return new R6;throw R(new Un(BF+(e.f!=null?e.f:""+e.g)))}function Xze(e){if(e.g===0)return new W_;throw R(new Un(BF+(e.f!=null?e.f:""+e.g)))}function E1e(e,n,t){if(n===0){!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),NB(e.o,t);return}yW(e,n,t)}function tQ(e,n,t){this.g=e,this.e=new Vr,this.f=new Vr,this.d=new xi,this.b=new xi,this.a=n,this.c=t}function iQ(e,n,t,i){this.b=new Te,this.n=new Te,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function Kze(e,n,t,i){this.b=new wt,this.g=new wt,this.d=(_E(),AH),this.c=e,this.e=n,this.d=t,this.a=i}function r8(e,n){if(!e.Ji()&&n==null)throw R(new Un("The 'no null' constraint is violated"));return n}function S1e(e){switch(e.g){case 1:return qQe;default:case 2:return 0;case 3:return UQe;case 4:return zpe}}function ykn(e){return Ce(e.c,(X4(),ofn)),Ahe(e.a,ne(re(_e((SQ(),SH)))))?new QM:new tSe(e)}function kkn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!jj(e.b))e.d=u(N4(e.b),50);else return null;return e.d}function Id(e){var n,t;for(n=0,t=0;ti?1:0}function Vze(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function rQ(e,n){var t;return n===e?!0:X(n,229)?(t=u(n,229),gi(e.Zb(),t.Zb())):!1}function x1e(e,n){return zUe(e,n)?(gn(e.b,u(C(n,(me(),K1)),22),n),Vt(e.a,n),!0):!1}function Skn(e,n){return wi(e,(me(),Oi))&&wi(n,Oi)?u(C(n,Oi),15).a-u(C(e,Oi),15).a:0}function xkn(e,n){return wi(e,(me(),Oi))&&wi(n,Oi)?u(C(e,Oi),15).a-u(C(n,Oi),15).a:0}function Yze(e){return Va?le(pnn,IYe,567,0,0,1):u(Ba(e.a,le(pnn,IYe,567,e.a.c.length,0,1)),840)}function Us(e){return $r(e)?He:g2(e)?gr:b2(e)?Qi:Tfe(e)||Sfe(e)?e.Pm:e.Pm||Array.isArray(e)&&z(Ven,1)||Ven}function i3(e,n,t){var i,r;return r=(i=new yX,i),Fc(r,n,t),Et((!e.q&&(e.q=new we(yf,e,11,10)),e.q),r),r}function cQ(e){var n,t,i,r;for(r=Pgn(Can,e),t=r.length,i=le(He,Ae,2,t,6,1),n=0;n=e.b.c.length||(A1e(e,2*n+1),t=2*n+2,t0&&(n.Ad(t),t.i&&ZEn(t))}function M1e(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:HX(Rr(e[i],Dc),Rr(n[i],Dc))?-1:1}function Mkn(e,n){var t;return!e||e==n||!wi(n,(me(),bp))?!1:(t=u(C(n,(me(),bp)),9),t!=e)}function uQ(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function Qze(e,n,t){return e.d[n.p][t.p]||(kSn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function Wze(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=IBe(t),i=le(Xen,gN,227,r,0,1),this.b=i}function Ckn(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function Zze(e,n,t){var i,r,c,o;for(Ln(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function oQ(e,n){var t,i;return i=u(Kn(e.a,4),129),t=le(Bce,_ne,415,n,0,1),i!=null&&Wu(i,0,t,0,i.length),t}function eFe(e,n){var t;return t=new DW((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function Tkn(e,n){var t;return e===n?!0:X(n,92)?(t=u(n,92),T0e(Fb(e),t.vc())):!1}function nFe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function RB(){RB=Y,Dce=new M$("ELK",0),I8e=new M$("JSON",1),N8e=new M$("DOT",2),D8e=new M$("SVG",3)}function NE(){NE=Y,xre=new v$(eee,0),zH=new v$(VQe,1),Sre=new v$("FAN",2),Ere=new v$("CONSTRAINT",3)}function IE(){IE=Y,bye=new lK(va,0),dre=new lK("MIDDLE_TO_MIDDLE",1),jI=new lK("AVOID_OVERLAP",2)}function xO(){xO=Y,JH=new fK(va,0),Fye=new fK("RADIAL_COMPACTION",1),Jye=new fK("WEDGE_COMPACTION",2)}function DE(){DE=Y,ore=new rK("STACKED",0),ure=new rK("REVERSE_STACKED",1),vI=new rK("SEQUENCED",2)}function zl(){zl=Y,Kme=new GX("CONCURRENT",0),Yo=new GX("IDENTITY_FINISH",1),Vme=new GX("UNORDERED",2)}function B1(){B1=Y,lG=new mK(L2e,0),Wd=new mK("INCLUDE_CHILDREN",1),Wx=new mK("SEPARATE_CHILDREN",2)}function BB(){BB=Y,d8e=new yw(15),Qfn=new Yr((Xt(),s1),d8e),Qx=Uy,l8e=jfn,f8e=Ig,h8e=n5,a8e=$m}function sQ(){sQ=Y,Mte=__e(F(z(Yx,1),je,86,0,[(vr(),Zc),ru])),Cte=__e(F(z(Yx,1),je,86,0,[Vl,eh]))}function Okn(e){var n,t,i;for(n=0,i=le(Lr,Ae,8,e.b,0,1),t=St(e,0);t.b!=t.d.c;)i[n++]=u(jt(t),8);return i}function lQ(e,n,t){var i,r,c;for(i=new xi,c=St(t,0);c.b!=c.d.c;)r=u(jt(c),8),Vt(i,new wc(r));Zze(e,n,i)}function Nkn(e,n){var t;t=_e((SQ(),SH))!=null&&n.Rg()!=null?ne(re(n.Rg()))/ne(re(_e(SH))):1,ei(e.b,n,t)}function Ikn(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function C1e(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t0)return N9(n-1,e.a.c.length),Cd(e.a,n-1);throw R(new exe)}function Dkn(e,n,t){if(n<0)throw R(new jo(bWe+n));nn)throw R(new Un(oF+e+DYe+n));if(e<0||n>t)throw R(new Doe(oF+e+Yge+n+Xge+t))}function iFe(e){if(!e.a||(e.a.i&8)==0)throw R(new Uc("Enumeration class expected for layout option "+e.f))}function rFe(e){B_e.call(this,"The given string does not match the expected format for individual spacings.",e)}function cFe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function Dd(e){switch(e.c){case 0:return cV(),mme;case 1:return new r4(pqe(new d4(e)));default:return new Xxe(e)}}function uFe(e){switch(e.gc()){case 0:return cV(),mme;case 1:return new r4(e.Jc().Pb());default:return new cse(e)}}function O1e(e){var n;return n=(!e.a&&(e.a=new we(ed,e,9,5)),e.a),n.i!=0?_gn(u(K(n,0),684)):null}function _kn(e,n){var t;return t=mc(e,n),HX(QV(e,n),0)|N$(QV(e,t),0)?t:mc(bN,QV(Hb(t,63),1))}function N1e(e,n,t){var i,r;return N2(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(sfe(e.c,n,i),!0)}function Lkn(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.b,null),e.b=e.b+1&t}function Pkn(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.c,null)}function c8(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),LY(e,n==null?null:(Ln(n),n)),e.C&&e.fl(null)}function r3(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(r2(e.a.c,0),Sr(e.a,e.b),Sr(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function F2(e){var n;++e.j,e.i==0?e.g=null:e.ir&&(WHe(n.q,r),i=t!=n.q.d)),i}function gFe(e,n){var t,i,r,c,o,l,f,h;return f=n.i,h=n.j,i=e.f,r=i.i,c=i.j,o=f-r,l=h-c,t=k.Math.sqrt(o*o+l*l),t}function _1e(e,n){var t,i;return i=iz(e),i||(t=(eZ(),wUe(n)),i=new GSe(t),Et(i.Cl(),e)),i}function AO(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function Jkn(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw R(new hu);return n=e.a,e.a+=e.c.c,++e.b,ve(n)}function Hkn(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n=i||n=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function Qkn(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function z0(e,n){var t,i,r,c;return c=(r=e?iz(e):null,sqe((i=n,r&&r.El(),i))),c==n&&(t=iz(e),t&&t.El()),c}function P1e(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,1,r,n),t?t.lj(i):t=i),t}function mFe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,3,r,n),t?t.lj(i):t=i),t}function vFe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,0,r,n),t?t.lj(i):t=i),t}function yFe(e){var n,t;if(e!=null)for(t=0;t-129&&e<128?(vIe(),n=e+128,t=Dme[n],!t&&(t=Dme[n]=new Pn(e)),t):new Pn(e)}function ve(e){var n,t;return e>-129&&e<128?(hIe(),n=e+128,t=Tme[n],!t&&(t=Tme[n]=new co(e)),t):new co(e)}function ijn(e,n,t,i,r){n==0||i==0||(n==1?r[i]=Cde(r,t,i,e[0]):i==1?r[n]=Cde(r,e,n,t[0]):UTn(e,t,r,n,i))}function xFe(e,n){var t;e.c.length!=0&&(t=u(Ba(e,le(u1,Fd,9,e.c.length,0,1)),199),Bse(t,new Ph),Nqe(t,n))}function AFe(e,n){var t;e.c.length!=0&&(t=u(Ba(e,le(u1,Fd,9,e.c.length,0,1)),199),Bse(t,new lv),Nqe(t,n))}function MFe(e,n){var t;e.a.c.length>0&&(t=u(Le(e.a,e.a.c.length-1),565),x1e(t,n))||Ce(e.a,new BPe(n))}function rjn(e){il();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),Ao(t.b,new Pje(n)),Ao(t.c,new $je(n)),cc(t.i,new Rje(n))}function CFe(e){var n;return n=new y0,n.a+="VerticalSegment ",uo(n,e.e),n.a+=" ",Kt(n,nle(new IX,new P(e.k))),n.a}function cjn(e,n){var t;e.c=n,e.a=iEn(n),e.a<54&&(e.f=(t=n.d>1?$Le(n.a[0],n.a[1]):$Le(n.a[0],0),Qb(n.e>0?t:Od(t))))}function dQ(e,n){var t,i,r;for(t=0,r=vu(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=C(i,(me(),vs))!=null?1:0;return t}function c3(e,n,t){var i,r,c;for(i=0,c=St(e,0);c.b!=c.d.c&&(r=ne(re(jt(c))),!(r>t));)r>=n&&++i;return i}function ujn(e){var n;return n=u($a(e.c.c,""),233),n||(n=new P4(b9(d9(new d0,""),"Other")),ug(e.c.c,"",n)),n}function LE(e){var n;return(e.Db&64)!=0?Ff(e):(n=new cf(Ff(e)),n.a+=" (name: ",Bc(n,e.zb),n.a+=")",n.a)}function B1e(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),t}function MO(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&Wu(e.g,n,e.g,n+1,e.i-n),ir(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function z1e(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function ojn(e,n,t){var i,r;return i=new L1(e.e,3,13,null,(r=n.c,r||(jn(),rh)),$d(e,n),!1),t?t.lj(i):t=i,t}function sjn(e,n,t){var i,r;return i=new L1(e.e,4,13,(r=n.c,r||(jn(),rh)),null,$d(e,n),!1),t?t.lj(i):t=i,t}function ljn(e,n){var t,i,r,c;if(n.cj(e.a),c=u(Kn(e.a,8),1997),c!=null)for(t=c,i=0,r=t.length;i>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function fjn(e){return e?(e.i&1)!=0?e==ts?Qi:e==$t?jr:e==Ym?b7:e==Jr?gr:e==Ap?sp:e==o5?lp:e==ds?jy:KS:e:null}function gi(e,n){return $r(e)?bn(e,n):g2(e)?yNe(e,n):b2(e)?(Ln(e),ue(e)===ue(n)):Tfe(e)?e.Fb(n):Sfe(e)?gTe(e,n):Mae(e,n)}function OFe(e){var n;return ao(e,0)<0&&(e=P0(T3n(su(e)?sf(e):e))),n=Rt(Hb(e,32)),64-(n!=0?KO(n):KO(Rt(e))+32)}function CO(e,n){var t;return t=new Oa,e.a.zd(t)?(j9(),new xX(Ln(dRe(e,t.a,n)))):(T0(e),j9(),j9(),Gme)}function PE(e,n){switch(n.g){case 2:case 1:return vu(e,n);case 3:case 4:return Ks(vu(e,n))}return En(),En(),Sc}function ajn(e,n){var t;return n.a&&(t=n.a.a.length,e.a?Kt(e.a,e.b):e.a=new tl(e.d),FLe(e.a,n.a,n.d.length,t)),e}function hjn(e){nF();var n,t,i,r;for(t=DQ(),i=0,r=t.length;it)throw R(new jo(oF+e+Yge+n+", size: "+t));if(e>n)throw R(new Un(oF+e+DYe+n))}function Fl(e,n,t){if(n<0)q0e(e,t);else{if(!t.pk())throw R(new Un(nb+t.ve()+LS));u(t,69).uk().Ck(e,e.ei(),n)}}function bQ(e,n,t){return k.Math.abs(n-e)DF?e-t>DF:t-e>DF}function J1e(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new we(Eu,e,1,7)),e.n;case 2:return e.k}return $de(e,n,t,i)}function IFe(e){var n;return(e.Db&64)!=0?Ff(e):(n=new cf(Ff(e)),n.a+=" (source: ",Bc(n,e.d),n.a+=")",n.a)}function Ld(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,2,t,n))}function H1e(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,8,t,n))}function G1e(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,9,t,n))}function Pd(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,3,t,n))}function HB(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,8,t,n))}function djn(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,5,r,e.a),t?s0e(t,i):t=i),t}function $E(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):Ji(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function DFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),29),ue(n)===ue(t))return!0;return!1}function _Fe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function q1e(e){var n,t;return n=e.k,n==(Fn(),wr)?(t=u(C(e,(me(),Iu)),64),t==(Ie(),Vn)||t==bt):!1}function LFe(e){var n;return n=Iae(e),Gj(n.a,0)?(f2(),f2(),lte):(f2(),new $K(JX(n.a,0)?ehe(n)/Qb(n.a):0))}function bjn(e,n){var t;if(t=ZO(e,n),X(t,335))return u(t,38);throw R(new Un(nb+n+"' is not a valid attribute"))}function RE(e,n,t){var i;if(i=e.gc(),n>i)throw R(new k2(n,i));if(e.Qi()&&e.Gc(t))throw R(new Un(BN));e.Ei(n,t)}function PFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),143),ue(n)===ue(t))return!0;return!1}function gjn(e,n,t){var i,r,c;return c=(r=x8(e.b,n),r),c&&(i=u(Yz(lO(e,c),""),29),i)?gbe(e,i,n,t):null}function gQ(e,n,t){var i,r,c;return c=(r=x8(e.b,n),r),c&&(i=u(Yz(lO(e,c),""),29),i)?wbe(e,i,n,t):null}function wjn(e){var n,t,i;for(i=0,t=e.length,n=0;n=0?J0(e):lE(J0(Od(e))))}function $Fe(e,n,t,i,r,c){this.e=new Te,this.f=(Nc(),Ax),Ce(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function ji(e,n){return en?1:e==n?e==0?ji(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function pjn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,ir(e.a,e.c,null),n)}function RFe(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function mjn(e){var n,t,i;for(n=new Te,i=new P(e.b);i.a=1?ru:eh):t}function Sjn(e){var n,t;for(t=pUe(ol(e)).Jc();t.Ob();)if(n=Pt(t.Pb()),oS(e,n))return P6n((DMe(),zan),n);return null}function xjn(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),jO(t,u(Le(n,i.p),18)))return i;return null}function Ajn(e,n,t){var i,r;for(r=X(n,103)&&(u(n,19).Bb&Ec)!=0?new SK(n,e):new W9(n,e),i=0;i>10)+vN&yr,n[1]=(e&1023)+56320&yr,ph(n,0,n.length)}function Y1e(e,n){var t;t=(e.Bb&Ec)!=0,n?e.Bb|=Ec:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,20,t,n))}function d8(e,n){var t;t=(e.Bb&jh)!=0,n?e.Bb|=jh:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,16,t,n))}function mQ(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,18,t,n))}function Q1e(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Lf(e,1,18,t,n))}function vu(e,n){var t;return e.i||G0e(e),t=u(zc(e.g,n),49),t?new N0(e.j,u(t.a,15).a,u(t.b,15).a):(En(),En(),Sc)}function Tjn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?gO(i,r):i!=null?-1:r!=null?1:0}function W1e(e,n,t){var i,r;return i=(j0(),r=new Jk,r),wB(i,n),pB(i,t),e&&Et((!e.a&&(e.a=new mr(yl,e,5)),e.a),i),i}function Z1e(e,n,t){var i;return i=0,n&&(Rv(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(Rv(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Bw(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function vQ(e){var n;return(e.Db&64)!=0?Ff(e):(n=new cf(Ff(e)),n.a+=" (identifier: ",Bc(n,e.k),n.a+=")",n.a)}function XB(e){var n;switch(e.gc()){case 0:return oR(),ete;case 1:return new GK(Nt(e.Xb(0)));default:return n=e,new WV(n)}}function Ojn(e){switch(u(C(e,(Oe(),Y1)),222).g){case 1:return new dd;case 3:return new D5;default:return new Bp}}function Njn(e){var n;return n=K2(e),n>34028234663852886e22?Vi:n<-34028234663852886e22?Ir:n}function mc(e,n){var t;return su(e)&&su(n)&&(t=e+n,mNn){ILe(t);break}}jR(t,n)}function nn(e,n){var t,i,r,c,o;if(t=n.f,ug(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;cn&&i.Le(e[c-1],e[c])>0;--c)o=e[c],ir(e,c,e[c-1]),ir(e,c-1,o)}function Jl(e,n,t,i){if(n<0)ybe(e,t,i);else{if(!t.pk())throw R(new Un(nb+t.ve()+LS));u(t,69).uk().Ak(e,e.ei(),n,i)}}function Fjn(e,n){var t;if(t=ZO(e.Ah(),n),X(t,103))return u(t,19);throw R(new Un(nb+n+"' is not a valid reference"))}function KB(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw R(new Un("Node "+n+" not part of edge "+e))}function nde(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return J1e(e,n,t,i)}function Jjn(e){return e.k!=(Fn(),Wi)?!1:Vv(new mn(null,new A2(new Xn(Qn(Ii(e).a.Jc(),new ee)))),new nM)}function Xs(){Xs=Y,fI=new fT(va,0),ax=new fT("FIRST",1),V1=new fT(EQe,2),hx=new fT("LAST",3),Sg=new fT(SQe,4)}function zE(){zE=Y,rx=new b$("LAYER_SWEEP",0),w3e=new b$("MEDIAN_LAYER_SWEEP",1),tI=new b$(cee,2),p3e=new b$(va,3)}function VB(){VB=Y,f6e=new dK("ASPECT_RATIO_DRIVEN",0),qre=new dK("MAX_SCALE_DRIVEN",1),l6e=new dK("AREA_DRIVEN",2)}function YB(){YB=Y,Ice=new A$(Rpe,0),M8e=new A$("GROUP_DEC",1),T8e=new A$("GROUP_MIXED",2),C8e=new A$("GROUP_INC",3)}function Hjn(e,n){return bn(n.b&&n.c?Yb(n.b)+"->"+Yb(n.c):"e_"+Ni(n),e.b&&e.c?Yb(e.b)+"->"+Yb(e.c):"e_"+Ni(e))}function Gjn(e,n){return bn(n.b&&n.c?Yb(n.b)+"->"+Yb(n.c):"e_"+Ni(n),e.b&&e.c?Yb(e.b)+"->"+Yb(e.c):"e_"+Ni(e))}function zw(e,n){return Na(),Rf(Y0),k.Math.abs(e-n)<=Y0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Bb(isNaN(e),isNaN(n))}function tde(e){SQ(),this.c=Pf(F(z(VBn,1),Nn,829,0,[Bun])),this.b=new wt,this.a=e,ei(this.b,SH,1),Ao(zun,new nSe(this))}function FE(e){var n;this.a=(n=u(e.e&&e.e(),10),new _l(n,u(Df(n,n.length),10),0)),this.b=le(Mr,Nn,1,this.a.a.length,5,1)}function fu(e){var n;return Array.isArray(e)&&e.Rm===wn?Pb(Us(e))+"@"+(n=Ni(e)>>>0,n.toString(16)):e.toString()}function qjn(e){var n;return e==null?!0:(n=e.length,n>0&&(Wn(n-1,e.length),e.charCodeAt(n-1)==58)&&!jQ(e,oA,sA))}function jQ(e,n,t){var i,r;for(i=0,r=e.length;i=r)return n.c+t;return n.c+n.b.gc()}function XFe(e,n){A9();var t,i,r,c;for(i=B$e(e),r=n,G9(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function rde(e){var n,t,i;for(i=new vd,i.a+="[",n=0,t=e.gc();n=0;--i)for(n=t[i],r=0;r>5,n=e&31,i=le($t,ni,30,t+1,15,1),i[t]=1<0&&(n.lengthe.i&&ir(n,e.i,null),n}function QB(e){var n;return(e.Db&64)!=0?LE(e):(n=new cf(LE(e)),n.a+=" (instanceClassName: ",Bc(n,e.D),n.a+=")",n.a)}function WB(e){var n,t,i,r;for(r=0,t=0,i=e.length;t0?(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=EUe(e,r,i,n),t!=-1):!1}function Co(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),MO(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):MO(e,e.i,n),t}function pa(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=W0e(e,r,i,n),t)?t.kd():null}function dEn(e,n,t){var i,r;return i=new L1(e.e,3,10,null,(r=n.c,X(r,88)?u(r,29):(jn(),jf)),$d(e,n),!1),t?t.lj(i):t=i,t}function bEn(e,n,t){var i,r;return i=new L1(e.e,4,10,(r=n.c,X(r,88)?u(r,29):(jn(),jf)),null,$d(e,n),!1),t?t.lj(i):t=i,t}function rJe(e,n){var t,i,r;return X(n,45)?(t=u(n,45),i=t.jd(),r=J2(e.Pc(),i),C1(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function dde(e,n){switch(n){case 3:Lw(e,0);return;case 4:Pw(e,0);return;case 5:Os(e,0);return;case 6:Ns(e,0);return}R1e(e,n)}function Fw(e,n){switch(n.g){case 1:return M4(e.j,(ss(),Sve));case 2:return M4(e.j,(ss(),Ave));default:return En(),En(),Sc}}function J0(e){yh();var n,t;return t=Rt(e),n=Rt(Hb(e,32)),n!=0?new dLe(t,n):t>10||t<0?new I1(1,t):unn[t]}function cJe(e){U2();var n;return(e.q?e.q:(En(),En(),r1))._b((Oe(),mp))?n=u(C(e,mp),203):n=u(C(_r(e),yx),203),n}function gEn(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function uJe(e,n,t){aBe(),wxe.call(this),this.a=j2(Tnn,[Ae,Zge],[592,216],0,[pJ,wte],2),this.c=new y4,this.g=e,this.f=n,this.d=t}function oJe(e){this.e=le($t,ni,30,e.length,15,1),this.c=le(ts,ma,30,e.length,16,1),this.b=le(ts,ma,30,e.length,16,1),this.f=0}function wEn(e){var n,t;for(e.j=le(Jr,Jc,30,e.p.c.length,15,1),t=new P(e.p);t.a>5,n&=31,r=e.d+t+(n==0?0:1),i=le($t,ni,30,r,15,1),bMn(i,e.a,t,n),c=new Gb(e.e,r,i),gE(c),c}function b8(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function _O(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function CQ(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t0?(k.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function kEn(e){var n;n=e.a;do n=u(ct(new Xn(Qn(Ii(n).a.Jc(),new ee))),17).d.i,n.k==(Fn(),dr)&&Ce(e.e,n);while(n.k==(Fn(),dr))}function jEn(e,n){var t,i,r;for(i=new Xn(Qn(Ii(e).a.Jc(),new ee));ht(i);)if(t=u(ct(i),17),r=t.d.i,r.c==n)return!1;return!0}function dJe(e,n,t){var i,r,c,o;for(r=u(zn(e.b,t),171),i=0,o=new P(n.j);o.an?1:Bb(isNaN(e),isNaN(n)))>0}function pde(e,n){return Na(),Na(),Rf(Y0),(k.Math.abs(e-n)<=Y0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Bb(isNaN(e),isNaN(n)))<0}function mJe(e,n){return Na(),Na(),Rf(Y0),(k.Math.abs(e-n)<=Y0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Bb(isNaN(e),isNaN(n)))<=0}function mde(e){switch(e.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 vde(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=lR(this.c,this.b,this.a))}function xEn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(WY(),rte)[typeof i],c=r?r(i):F1e(typeof i);return c}function g8(e){var n,t,i;if(i=null,n=Ch in e.a,t=!n,t)throw R(new lh("Every element must have an id."));return i=ry(O1(e,Ch)),i}function Jw(e){var n,t;for(t=qGe(e),n=null;e.c==2;)fi(e),n||(n=(ai(),ai(),new Vj(2)),fg(n,t),t=n),t.Hm(qGe(e));return t}function nz(e,n){var t,i,r;return e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=W0e(e,r,i,n),t?(pBe(e,t),t.kd()):null}function ph(e,n,t){var i,r,c,o;for(c=n+t,Qr(n,c,e.length),o="",r=n;rn.e?1:e.en.d?e.e:e.d=48&&e<48+k.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function AEn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw R(new Un("Input edge is not connected to the input port."))}function mh(e,n){if(e.a<0)throw R(new Uc("Did not call before(...) or after(...) before calling add(...)."));return ble(e,e.a,n),e}function yde(e){return BR(),X(e,166)?u(zn(eD,ann),296).Qg(e):so(eD,Us(e))?u(zn(eD,Us(e)),296).Qg(e):null}function Lo(e){var n,t;return(e.Db&32)==0&&(t=(n=u(Kn(e,16),29),dt(n||e.fi())-dt(e.fi())),t!=0&&Q4(e,32,le(Mr,Nn,1,t,5,1))),e}function Q4(e,n,t){var i;(e.Db&n)!=0?t==null?qTn(e,n):(i=YQ(e,n),i==-1?e.Eb=t:ir(G4(e.Eb),i,t)):t!=null&&aIn(e,n,t)}function MEn(e,n,t,i){var r,c;n.c.length!=0&&(r=cNn(t,i),c=dTn(n),er(dB(new mn(null,new yn(c,1)),new p_),new HDe(e,t,r,i)))}function CEn(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,xOe(t=c?(Pkn(e,n),-1):(Lkn(e,n),1)}function TEn(e,n){var t,i;for(t=(Wn(n,e.length),e.charCodeAt(n)),i=n+1;in.e?1:e.fn.f?1:Ni(e)-Ni(n)}function EJe(e,n){var t;return ue(n)===ue(e)?!0:!X(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function tz(e,n){return Ln(e),n==null?!1:bn(e,n)?!0:e.length==n.length&&bn(e.toLowerCase(),n.toLowerCase())}function q2(e){var n,t;return ao(e,-129)>0&&ao(e,128)<0?(mIe(),n=Rt(e)+128,t=Ome[n],!t&&(t=Ome[n]=new Sn(e)),t):new Sn(e)}function W4(){W4=Y,ex=new a$(va,0),vve=new a$("INSIDE_PORT_SIDE_GROUPS",1),Ote=new a$("GROUP_MODEL_ORDER",2),Nte=new a$(eee,3)}function iz(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>RZ)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function IEn(e){var n;return e.b||fgn(e,(n=f2n(e.e,e.a),!n||!bn(hne,pa((!n.b&&(n.b=new Hs((jn(),Ac),Du,n)),n.b),"qualified")))),e.c}function DEn(e){var n,t;for(t=new P(e.a.b);t.a2e3&&(Yen=e,fJ=k.setTimeout(Agn,10))),lJ++==0?(o8n((Coe(),yme)),!0):!1}function qEn(e,n,t){var i;(mnn?(rEn(e),!0):vnn||knn?(y9(),!0):ynn&&(y9(),!1))&&(i=new NNe(n),i.b=t,UMn(e,i))}function NQ(e,n){var t;t=!e.A.Gc((Vs(),_g))||e.q==(Br(),to),e.u.Gc((ps(),Z1))?t?dRn(e,n):AVe(e,n):e.u.Gc(mb)&&(t?L$n(e,n):FVe(e,n))}function UEn(e,n,t){var i,r;hW(e.e,n,t,(Ie(),Yn)),hW(e.i,n,t,nt),e.a&&(r=u(C(n,(me(),mi)),12),i=u(C(t,mi),12),ZV(e.g,r,i))}function CJe(e){var n;ue(ke(e,(Xt(),W3)))===ue((B1(),lG))&&(Fi(e)?(n=u(ke(Fi(e),W3),347),Ei(e,W3,n)):Ei(e,W3,Wx))}function TJe(e,n,t){return new _f(k.Math.min(e.a,n.a)-t/2,k.Math.min(e.b,n.b)-t/2,k.Math.abs(e.a-n.a)+t,k.Math.abs(e.b-n.b)+t)}function OJe(e){var n;this.d=new Te,this.j=new Vr,this.g=new Vr,n=e.g.b,this.f=u(C(_r(n),(Oe(),wl)),86),this.e=ne(re(uz(n,Om)))}function NJe(e){this.d=new Te,this.e=new D0,this.c=le($t,ni,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=e}function xde(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new Ee(0,i);case 2:case 4:return new Ee(i,0);default:return null}}function XEn(e,n){var t;if(t=Qv(e.o,n),t==null)throw R(new lh("Node did not exist in input."));return Sbe(e,n),$W(e,n),bbe(e,n,t),null}function IJe(e,n){var t,i;for(i=e.a.length,n.lengthi&&ir(n,i,null),n}function Ba(e,n){var t,i;for(i=e.c.length,n.lengthi&&ir(n,i,null),n}function IQ(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n0&&(Ce(e.b,new VNe(n.a,t)),i=n.a.length,0i&&(n.a+=GTe(le(Wl,Eh,30,-i,15,1))))}function LJe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new P(r3(n));r.a=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t=0?e.Th(r):jW(e,i)):t<0?jW(e,i):u(i,69).uk().zk(e,e.ei(),t)}function BJe(e){var n,t,i;for(i=(!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return nO(i)}function _e(e){var n;if(X(e.a,4)){if(n=yde(e.a),n==null)throw R(new Uc(wWe+e.b+"'. "+gWe+(M1(nD),nD.k)+C2e));return n}else return e.a}function rSn(e){var n;if(e==null)return null;if(n=kRn(bo(e,!0)),n==null)throw R(new TX("Invalid base64Binary value: '"+e+"'"));return n}function ft(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function PQ(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function cz(e){var n,t,i,r;for(r=0,t=0,i=e.length;t=64&&n<128&&(r=bh(r,qh(1,n-64)));return r}function uz(e,n){var t,i;return i=null,wi(e,(Xt(),Xy))&&(t=u(C(e,Xy),105),t.nf(n)&&(i=t.mf(n))),i==null&&_r(e)&&(i=C(_r(e),n)),i}function cSn(e,n){var t;return t=u(C(e,(Oe(),Wc)),78),IK(n,tin)?t?qs(t):(t=new xs,he(e,Wc,t)):t&&he(e,Wc,null),t}function uSn(e,n){var t,i,r;for(r=new xo(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?E8(e,t,t.c):yCn(e,t)||qn(r.c,t);return r}function zJe(e,n){var t,i,r;for(t=e.o,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=sxn(i,t.a),i.e.b=t.b*ne(re(i.b.mf(mJ)))}function oSn(e,n){var t,i,r,c;return r=e.k,t=ne(re(C(e,(me(),gp)))),c=n.k,i=ne(re(C(n,gp))),c!=(Fn(),wr)?-1:r!=wr?1:t==i?0:tt.b)return!0}return!1}function HJe(e){var n;return n=new y0,n.a+="n",e.k!=(Fn(),Wi)&&Kt(Kt((n.a+="(",n),RK(e.k).toLowerCase()),")"),Kt((n.a+="_",n),$O(e)),n.a}function GE(){GE=Y,D4e=new aT(Rpe,0),Zie=new aT(cee,1),ere=new aT("LINEAR_SEGMENTS",2),Ex=new aT("BRANDES_KOEPF",3),Sx=new aT(zQe,4)}function Z4(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function Ade(e,n){switch(n){case 7:!e.e&&(e.e=new In(pr,e,7,4)),kt(e.e);return;case 8:!e.d&&(e.d=new In(pr,e,8,5)),kt(e.d);return}dde(e,n)}function Ei(e,n,t){return t==null?(!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),nz(e.o,n)):(!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),zO(e.o,n,t)),e}function Yu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=sr(i),X(i,112)?R(new jo("Can't get element "+n)):R(i)}}function GJe(e,n){var t;switch(t=u(zc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function bSn(e){var n;n=e.a;do n=u(ct(new Xn(Qn(cr(n).a.Jc(),new ee))),17).c.i,n.k==(Fn(),dr)&&e.b.Ec(n);while(n.k==(Fn(),dr));e.b=Ks(e.b)}function qJe(e,n){var t,i,r;for(r=e,i=new Xn(Qn(cr(n).a.Jc(),new ee));ht(i);)t=u(ct(i),17),t.c.i.c&&(r=k.Math.max(r,t.c.i.c.p));return r}function gSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function wSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function UJe(e){var n,t,i,r;if(i=0,r=W2(e),r.c.length==0)return 1;for(t=new P(r);t.a=0?e.Ih(o,t,!0):Xw(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function vSn(e,n,t,i){var r,c;c=n.nf((Xt(),e5))?u(n.mf(e5),22):e.j,r=hjn(c),r!=(nF(),pte)&&(t&&!mde(r)||O0e(_On(e,r,i),n))}function $Q(e,n){return $r(e)?!!Hen[n]:e.Qm?!!e.Qm[n]:g2(e)?!!Jen[n]:b2(e)?!!Fen[n]:!1}function ySn(e){switch(e.g){case 1:return Rw(),VN;case 3:return Rw(),KN;case 2:return Rw(),vte;case 4:return Rw(),mte;default:return null}}function kSn(e,n,t){if(e.e)switch(e.b){case 1:P5n(e.c,n,t);break;case 0:$5n(e.c,n,t)}else sPe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function KJe(e){var n,t;if(e==null)return null;for(t=le(u1,Ae,199,e.length,0,2),n=0;nc?1:0):0}function U2(){U2=Y,MH=new g$(va,0),Qie=new g$("PORT_POSITION",1),U3=new g$("NODE_SIZE_WHERE_SPACE_PERMITS",2),q3=new g$("NODE_SIZE",3)}function jSn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(C(e,(Ti(),yye)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),Vt(i.b.d,i),Vt(i.c.b,i);n.Ug()}function Yh(){Yh=Y,lce=new Bj("AUTOMATIC",0),NI=new Bj(by,1),II=new Bj(gy,2),iG=new Bj("TOP",3),nG=new Bj(nwe,4),tG=new Bj(H8,5)}function o3(e,n,t){var i,r;if(r=e.gc(),n>=r)throw R(new k2(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw R(new Un(BN));return e.Vi(n,t)}function $d(e,n){var t,i,r;if(r=OHe(e,n),r>=0)return r;if(e.ml()){for(i=0;i0||e==(EX(),Yne)||n==(SX(),Qne))throw R(new Un("Invalid range: "+oPe(e,n)))}function Cde(e,n,t,i){C8();var r,c;for(r=0,c=0;c0),(n&-n)==n)return lc(n*Ds(e,31)*4656612873077393e-25);do t=Ds(e,31),i=t%n;while(t-i+(n-1)<0);return lc(i)}function ESn(e,n){var t,i,r;for(t=kw(new Lb,e),r=new P(n);r.a1&&(c=ESn(e,n)),c}function CSn(e){var n,t,i;for(n=0,i=new P(e.c.a);i.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function qQ(e,n){if(e==null)throw R(new f4("null key in entry: null="+n));if(n==null)throw R(new f4("null value in entry: "+e+"=null"))}function tHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[fQ(e.a[0],n),fQ(e.a[1],n),fQ(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function iHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[FB(e.a[0],n),FB(e.a[1],n),FB(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function Ide(e,n,t){A4(u(C(n,(Oe(),Zi)),102))||(Xae(e,n,Rd(n,t)),Xae(e,n,Rd(n,(Ie(),bt))),Xae(e,n,Rd(n,Vn)),En(),Tr(n.j,new tEe(e)))}function rHe(e){var n,t;for(e.c||TPn(e),t=new xs,n=new P(e.a),L(n);n.a0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function qSn(e){var n;return e==null?null:new A0((n=bo(e,!0),n.length>0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function _de(e,n,t,i,r,c,o,l){var f,h;i&&(f=i.a[0],f&&_de(e,n,t,f,r,c,o,l),eW(e,t,i.d,r,c,o,l)&&n.Ec(i),h=i.a[1],h&&_de(e,n,t,h,r,c,o,l))}function qE(e,n){var t,i,r,c;for(c=e.gc(),n.lengthc&&ir(n,c,null),n}function USn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(f+=r),h[b]=o,o+=l*(f+i)}function ZSn(e){var n;for(n=0;n0?e.c:0),++r;e.b=i,e.d=c}function wHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[Tde(e,(wa(),Ou),n),Tde(e,No,n),Tde(e,Nu,n)]),e.f&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function pHe(e){var n;wi(e,(Oe(),pp))&&(n=u(C(e,pp),22),n.Gc((Q2(),Yf))?(n.Kc(Yf),n.Ec(Qf)):n.Gc(Qf)&&(n.Kc(Qf),n.Ec(Yf)))}function mHe(e){var n;wi(e,(Oe(),pp))&&(n=u(C(e,pp),22),n.Gc((Q2(),Zf))?(n.Kc(Zf),n.Ec(pf)):n.Gc(pf)&&(n.Kc(pf),n.Ec(Zf)))}function QQ(e,n,t,i){var r,c,o,l;return e.a==null&&YMn(e,n),o=n.b.j.c.length,c=t.d.p,l=i.d.p,r=l-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function exn(e){var n;for(n=0;n0&&(r.b+=n),r}function gz(e,n){var t,i,r;for(r=new Vr,i=e.Jc();i.Ob();)t=u(i.Pb(),37),T8(t,0,r.b),r.b+=t.f.b+n,r.a=k.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function yHe(e,n){var t,i;if(n.length==0)return 0;for(t=CV(e.a,n[0],(Ie(),Yn)),t+=CV(e.a,n[n.length-1],nt),i=0;i>16==6?e.Cb.Qh(e,5,Aa,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function uxn(e){B9();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` -`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` -`)}return[]}function oxn(e){var n;return n=(TBe(),nnn),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}function jHe(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=b1e(k.Math.max(8,i))<<1,e.b!=0?(n=Df(e.a,t),_Be(e,n,i),e.a=n,e.b=0):r2(e.a,t),e.c=i)}function sxn(e,n){var t;return t=e.b,t.nf((Xt(),Ps))?t.$f()==(Ie(),Yn)?-t.Kf().a-ne(re(t.mf(Ps))):n+ne(re(t.mf(Ps))):t.$f()==(Ie(),Yn)?-t.Kf().a:n}function $O(e){var n;return e.b.c.length!=0&&u(Le(e.b,0),70).a?u(Le(e.b,0),70).a:(n=IV(e),n??""+(e.c?pu(e.c.a,e,0):-1))}function wz(e){var n;return e.f.c.length!=0&&u(Le(e.f,0),70).a?u(Le(e.f,0),70).a:(n=IV(e),n??""+(e.i?pu(e.i.j,e,0):-1))}function lxn(e,n){var t,i;if(n<0||n>=e.gc())return null;for(t=n;t0?e.c:0),r=k.Math.max(r,n.d),++i;e.e=c,e.b=r}function fxn(e){var n,t;if(!e.b)for(e.b=JR(u(e.f,125).jh().i),t=new st(u(e.f,125).jh());t.e!=t.i.gc();)n=u(ft(t),157),Ce(e.b,new MX(n));return e.b}function axn(e,n){var t,i,r;if(n.dc())return A9(),A9(),tD;for(t=new VOe(e,n.gc()),r=new st(e);r.e!=r.i.gc();)i=ft(r),n.Gc(i)&&Et(t,i);return t}function $de(e,n,t,i){return n==0?i?(!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),e.o):(!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),nO(e.o)):sz(e,n,t,i)}function ZQ(e){var n,t;if(e.rb)for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&Ls,e.m=i&Ls,e.h=r&G1,!0)}function eW(e,n,t,i,r,c,o){var l,f;return!(n.Re()&&(f=e.a.Le(t,i),f<0||!r&&f==0)||n.Se()&&(l=e.a.Le(t,c),l>0||!o&&l==0))}function gxn(e,n){i8();var t;if(t=e.j.g-n.j.g,t!=0)return 0;switch(e.j.g){case 2:return kQ(n,h3e)-kQ(e,h3e);case 4:return kQ(e,a3e)-kQ(n,a3e)}return 0}function wxn(e){switch(e.g){case 0:return rie;case 1:return cie;case 2:return uie;case 3:return oie;case 4:return YJ;case 5:return sie;default:return null}}function Qc(e,n,t){var i,r;return i=(r=new kX,cg(r,n),Mo(r,t),Et((!e.c&&(e.c=new we(jp,e,12,10)),e.c),r),r),Nd(i,0),$2(i,1),Pd(i,!0),Ld(i,!0),i}function ey(e,n){var t,i;if(n>=e.i)throw R(new EK(n,e.i));return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Wu(e.g,n+1,e.g,n,i),ir(e.g,--e.i,null),e.Oi(n,t),e.Li(),t}function EHe(e,n){var t,i;return e.Db>>16==17?e.Cb.Qh(e,21,vf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function pxn(e){var n,t,i,r;for(En(),Tr(e.c,e.a),r=new P(e.c);r.at.a.c.length))throw R(new Un("index must be >= 0 and <= layer node count"));e.c&&qo(e.c.a,e),e.c=t,t&&zb(t.a,n,e)}function NHe(e,n){this.c=new wt,this.a=e,this.b=n,this.d=u(C(e,(me(),z3)),316),ue(C(e,(Oe(),o4e)))===ue((uO(),QJ))?this.e=new yxe:this.e=new vxe}function Exn(e,n){var t,i,r,c;for(c=0,i=new P(e);i.a0?n:0),++t;return new Ee(i,r)}function Sxn(e,n){var t,i;for(e.b=0,e.d=new BP,i=new P(n.a);i.a>16==6?e.Cb.Qh(e,6,pr,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),wG)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Hde(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,1,QI,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),L8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Gde(e,n){var t,i;return e.Db>>16==9?e.Cb.Qh(e,9,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),$8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function _He(e,n){var t,i;return e.Db>>16==5?e.Cb.Qh(e,9,xG,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),n0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function LHe(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,6,Aa,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),i0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function qde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,0,ZI,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),e0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Ude(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,12,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),_8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Cxn(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rRZ)return m8(e,i);if(i==e)return!0}}return!1}function Oxn(e){switch(H$(),e.q.g){case 5:jqe(e,(Ie(),Vn)),jqe(e,bt);break;case 4:CUe(e,(Ie(),Vn)),CUe(e,bt);break;default:OVe(e,(Ie(),Vn)),OVe(e,bt)}}function Nxn(e){switch(H$(),e.q.g){case 5:Fqe(e,(Ie(),nt)),Fqe(e,Yn);break;case 4:zJe(e,(Ie(),nt)),zJe(e,Yn);break;default:NVe(e,(Ie(),nt)),NVe(e,Yn)}}function Ixn(e){var n,t;n=u(C(e,(Hf(),Etn)),15),n?(t=n.a,t==0?he(e,(L0(),jJ),new yQ):he(e,(L0(),jJ),new VR(t))):he(e,(L0(),jJ),new VR(1))}function Dxn(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function _xn(e,n){switch(e.g){case 0:return n==(Xs(),V1)?JJ:HJ;case 1:return n==(Xs(),V1)?JJ:eI;case 2:return n==(Xs(),V1)?eI:HJ;default:return eI}}function BO(e,n){var t,i,r;for(qo(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=qee,i=new P(e.a);i.a>16==11?e.Cb.Qh(e,10,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),P8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function PHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,11,vf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),t0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function $He(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,12,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),Km)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function RHe(e,n){var t,i,r,c,o;if(n)for(r=n.a.length,t=new Jb(r),o=(t.b-t.a)*t.c<0?(S0(),Eb):new M0(t);o.Ob();)c=u(o.Pb(),15),i=F9(n,c.a),i&&jUe(e,i)}function Fxn(){nse();var e,n;for(sBn((C0(),Bn)),WRn(Bn),ZQ(Bn),Q8e=(jn(),rh),n=new P(u7e);n.a>19,h=n.h>>19,f!=h?h-f:(r=e.h,l=n.h,r!=l?r-l:(i=e.m,o=n.m,i!=o?i-o:(t=e.l,c=n.l,t-c)))}function BHe(e,n,t){var i,r,c,o,l;for(r=e[t.g],l=new P(n.d);l.a0?e.b:0),++t;n.b=i,n.e=r}function zHe(e){var n,t,i;if(i=e.b,wMe(e.i,i.length)){for(t=i.length*2,e.b=le(Wne,gN,308,t,0,1),e.c=le(Wne,gN,308,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c)XO(e,n,n);++e.g}}function KE(e,n){return e.b.a=k.Math.min(e.b.a,n.c),e.b.b=k.Math.min(e.b.b,n.d),e.a.a=k.Math.max(e.a.a,n.c),e.a.b=k.Math.max(e.a.b,n.d),qn(e.c,n),!0}function Hxn(e,n,t){var i;i=n.c.i,i.k==(Fn(),dr)?(he(e,(me(),Ea),u(C(i,Ea),12)),he(e,gf,u(C(i,gf),12))):(he(e,(me(),Ea),n.c),he(e,gf,t.d))}function v8(e,n,t){M8();var i,r,c,o,l,f;return o=n/2,c=t/2,i=k.Math.abs(e.a),r=k.Math.abs(e.b),l=1,f=1,i>o&&(l=o/i),r>c&&(f=c/r),A1(e,k.Math.min(l,f)),e}function Gxn(){Uz();var e,n;try{if(n=u(r0e((E0(),kf),o7),2075),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Ffe((Lt(),e));else throw R(t)}return new hU}function qxn(){Uz();var e,n;try{if(n=u(r0e((E0(),kf),hf),2002),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Ffe((Lt(),e));else throw R(t)}return new lw}function Uxn(){H$e();var e,n;try{if(n=u(r0e((E0(),kf),vg),2084),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Ffe((Lt(),e));else throw R(t)}return new lC}function Xxn(e,n,t){var i,r;return r=e.e,e.e=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),r!=n&&(n?t=_8(e,Iz(e,n),t):t=_8(e,e.a,t)),t}function FHe(){r$.call(this),this.e=-1,this.a=!1,this.p=Xr,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=Xr}function Kxn(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Vxn(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Yxn(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Vde(){Vde=Y,Ftn=Eo(qt(qt(qt(new or,(zr(),no),(Ur(),Qve)),no,Wve),Pc,Zve),Pc,zve),Htn=qt(qt(new or,no,Dve),no,Fve),Jtn=Eo(new or,Pc,Hve)}function Qxn(e){var n,t,i,r,c;for(n=u(C(e,(me(),sx)),92),c=e.n,i=n.Bc().Jc();i.Ob();)t=u(i.Pb(),318),r=t.i,r.c+=c.a,r.d+=c.b,t.c?dXe(t):bXe(t);he(e,sx,null)}function Wxn(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function JHe(e,n){var t,i;for(i=new P(n);i.a0&&(o=(c&oi)%e.d.length,r=W0e(e,o,c,n),r)?(l=r.ld(t),l):(i=e.ak(c,n,t),e.c.Ec(i),null)}function Wde(e,n){var t,i,r,c;switch(_d(e,n).Il()){case 3:case 2:{for(t=g3(n),r=0,c=t.i;r=0;i--)if(bn(e[i].d,n)||bn(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break}return e}function FO(e,n){var t;return su(e)&&su(n)&&(t=e/n,mN0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=k.Math.min(i,r))}function VHe(e,n){var t,i;if(i=!1,$r(n)&&(i=!0,D4(e,new M2(Pt(n)))),i||X(n,242)&&(i=!0,D4(e,(t=UK(u(n,242)),new Av(t)))),!i)throw R(new CX(U2e))}function gAn(e,n,t,i){var r,c,o;return r=new L1(e.e,1,10,(o=n.c,X(o,88)?u(o,29):(jn(),jf)),(c=t.c,X(c,88)?u(c,29):(jn(),jf)),$d(e,n),!1),i?i.lj(r):i=r,i}function n0e(e){var n,t;switch(u(C(_r(e),(Oe(),Z5e)),420).g){case 0:return n=e.n,t=e.o,new Ee(n.a+t.a/2,n.b+t.b/2);case 1:return new wc(e.n);default:return null}}function JO(){JO=Y,WJ=new Pj(va,0),T3e=new Pj("LEFTUP",1),N3e=new Pj("RIGHTUP",2),C3e=new Pj("LEFTDOWN",3),O3e=new Pj("RIGHTDOWN",4),lie=new Pj("BALANCED",5)}function wAn(e,n,t){var i,r,c;if(i=ji(e.a[n.p],e.a[t.p]),i==0){if(r=u(C(n,(me(),Dy)),16),c=u(C(t,Dy),16),r.Gc(t))return-1;if(c.Gc(n))return 1}return i}function pAn(e){switch(e.g){case 1:return new $_;case 2:return new _k;case 3:return new H5;case 0:return null;default:throw R(new Un(Wee+(e.f!=null?e.f:""+e.g)))}}function t0e(e,n,t){switch(n){case 1:!e.n&&(e.n=new we(Eu,e,1,7)),kt(e.n),!e.n&&(e.n=new we(Eu,e,1,7)),nr(e.n,u(t,18));return;case 2:V9(e,Pt(t));return}E1e(e,n,t)}function i0e(e,n,t){switch(n){case 3:Lw(e,ne(re(t)));return;case 4:Pw(e,ne(re(t)));return;case 5:Os(e,ne(re(t)));return;case 6:Ns(e,ne(re(t)));return}t0e(e,n,t)}function pz(e,n,t){var i,r,c;c=(i=new kX,i),r=Fa(c,n,null),r&&r.mj(),Mo(c,t),Et((!e.c&&(e.c=new we(jp,e,12,10)),e.c),c),Nd(c,0),$2(c,1),Pd(c,!0),Ld(c,!0)}function r0e(e,n){var t,i,r;return t=Dj(e.i,n),X(t,241)?(r=u(t,241),r.wi()==null,r.ti()):X(t,493)?(i=u(t,1999),r=i.b,r):null}function mAn(e,n,t,i){var r,c;return Nt(n),Nt(t),c=u(nE(e.d,n),15),SRe(!!c,"Row %s not in %s",n,e.e),r=u(nE(e.b,t),15),SRe(!!r,"Column %s not in %s",t,e.c),Eze(e,c.a,r.a,i)}function vAn(e){var n,t,i,r,c,o;for(t=null,r=e,c=0,o=r.length;c1||l==-1?(c=u(f,16),r.Wb(tEn(e,c))):r.Wb(FW(e,u(f,57)))))}function AAn(e,n,t,i){kMe();var r=Kne;function c(){for(var o=0;o0)return!1;return!0}function TAn(e){switch(u(C(e.b,(Oe(),U5e)),381).g){case 1:er(So(lu(new mn(null,new yn(e.d,16)),new tw),new r_),new iM);break;case 2:uDn(e);break;case 0:ZCn(e)}}function OAn(e,n,t){var i,r,c;for(i=t,!i&&(i=new s4),i.Tg("Layout",e.a.c.length),c=new P(e.a);c.aKee)return t;r>-1e-6&&++t}return t}function vz(e,n,t){if(X(n,271))return iNn(e,u(n,85),t);if(X(n,276))return Lxn(e,u(n,276),t);throw R(new Un(s7+Ja(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function yz(e,n,t){if(X(n,271))return rNn(e,u(n,85),t);if(X(n,276))return Pxn(e,u(n,276),t);throw R(new Un(s7+Ja(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function u0e(e,n){var t;n!=e.b?(t=null,e.b&&(t=LR(e.b,e,-4,t)),n&&(t=Z4(n,e,-4,t)),t=mFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function ZHe(e,n){var t;n!=e.f?(t=null,e.f&&(t=LR(e.f,e,-1,t)),n&&(t=Z4(n,e,-1,t)),t=vFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,n,n))}function LAn(e,n,t,i){var r,c,o,l;return Fs(e.e)&&(r=n.Jk(),l=n.kd(),c=t.kd(),o=O0(e,1,r,l,c,r.Hk()?N8(e,r,c,X(r,103)&&(u(r,19).Bb&Ec)!=0):-1,!0),i?i.lj(o):i=o),i}function eGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new vd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function nGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new vd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function PAn(e,n){var t,i,r,c,o;for(c=new P(n.a);c.a0&&rc(e,e.length-1)==33)try{return n=wUe(of(e,0,e.length-1)),n.e==null}catch(t){if(t=sr(t),!X(t,32))throw R(t)}return!1}function zAn(e,n,t){var i,r,c;switch(i=_r(n),r=UB(i),c=new Qu,wu(c,n),t.g){case 1:Ar(c,NO(Y4(r)));break;case 2:Ar(c,Y4(r))}return he(c,(Oe(),Am),re(C(e,Am))),c}function o0e(e){var n,t;return n=u(ct(new Xn(Qn(cr(e.a).a.Jc(),new ee))),17),t=u(ct(new Xn(Qn(Ii(e.a).a.Jc(),new ee))),17),Fe(ze(C(n,(me(),qd))))||Fe(ze(C(t,qd)))}function X2(){X2=Y,nI=new lT("ONE_SIDE",0),UJ=new lT("TWO_SIDES_CORNER",1),XJ=new lT("TWO_SIDES_OPPOSING",2),qJ=new lT("THREE_SIDES",3),GJ=new lT("FOUR_SIDES",4)}function rGe(e,n){var t,i,r,c;for(c=new Te,r=0,i=n.Jc();i.Ob();){for(t=ve(u(i.Pb(),15).a+r);t.a=e.f)break;qn(c.c,t)}return c}function FAn(e){var n,t;for(t=new P(e.e.b);t.a0&&xHe(this,this.c-1,(Ie(),nt)),this.c0&&e[0].length>0&&(this.c=Fe(ze(C(_r(e[0][0]),(me(),X3e))))),this.a=le(bon,Ae,2079,e.length,0,2),this.b=le(gon,Ae,2080,e.length,0,2),this.d=new hFe}function qAn(e){return e.c.length==0?!1:(kn(0,e.c.length),u(e.c[0],17)).c.i.k==(Fn(),dr)?!0:Vv(So(new mn(null,new yn(e,16)),new jk),new l_)}function oGe(e,n){var t,i,r,c,o,l,f;for(l=W2(n),c=n.f,f=n.g,o=k.Math.sqrt(c*c+f*f),r=0,i=new P(l);i.a=0?(t=FO(e,rF),i=AQ(e,rF)):(n=Hb(e,1),t=FO(n,5e8),i=AQ(n,5e8),i=mc(qh(i,1),Rr(e,1))),bh(qh(i,32),Rr(t,Dc))}function iMn(e,n,t,i){var r,c,o,l,f;for(r=null,c=0,l=new P(n);l.a1;n>>=1)(n&1)!=0&&(i=Kv(i,t)),t.d==1?t=Kv(t,t):t=new AJe(eKe(t.a,t.d,le($t,ni,30,t.d<<1,15,1)));return i=Kv(i,t),i}function w0e(){w0e=Y;var e,n,t,i;for(qme=le(Jr,Jc,30,25,15,1),Ume=le(Jr,Jc,30,33,15,1),i=152587890625e-16,n=32;n>=0;n--)Ume[n]=i,i*=.5;for(t=1,e=24;e>=0;e--)qme[e]=t,t*=.5}function sMn(e){var n,t;if(Fe(ze(ke(e,(Oe(),Sm))))){for(t=new Xn(Qn(U0(e).a.Jc(),new ee));ht(t);)if(n=u(ct(t),85),Uw(n)&&Fe(ze(ke(n,xg))))return!0}return!1}function fGe(e){var n,t,i,r;for(n=new xi,t=new xi,r=St(e,0);r.b!=r.d.c;)i=u(jt(r),12),i.e.c.length==0?Ki(t,i,t.c.b,t.c):Ki(n,i,n.c.b,n.c);return Ks(n).Fc(t),n}function aGe(e,n){var t,i,r;hr(e.f,n)&&(n.b=e,i=n.c,pu(e.j,i,0)!=-1||Ce(e.j,i),r=n.d,pu(e.j,r,0)!=-1||Ce(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new OJe(e)),$7n(e.i,t)))}function lMn(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&bn(e.substr(n,3),"GMT")||n>=0&&bn(e.substr(n,3),"UTC"))&&(t[0]=n+3),Zbe(e,t,i)}function aMn(e,n){var t,i,r,c,o;for(c=e.g.a,o=e.g.b,i=new P(e.d);i.at;c--)e[c]|=n[c-t-1]>>>o,e[c-1]=n[c-t-1]<0&&Wu(e.g,n,e.g,n+i,l),o=t.Jc(),e.i+=i,r=0;r>4&15,c=e[i]&15,o[r++]=R8e[t],o[r++]=R8e[c];return ph(o,0,o.length)}function Xo(e){var n,t;return e>=Ec?(n=vN+(e-Ec>>10&1023)&yr,t=56320+(e-Ec&1023)&yr,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&yr)}function kMn(e,n){v2();var t,i,r,c;return r=u(u(vi(e.r,n),22),83),r.gc()>=2?(i=u(r.Jc().Pb(),115),t=e.u.Gc((ps(),tA)),c=e.u.Gc(Yy),!i.a&&!t&&(r.gc()==2||c)):!1}function gGe(e,n,t,i,r){var c,o,l;for(c=cXe(e,n,t,i,r),l=!1;!c;)Oz(e,r,!0),l=!0,c=cXe(e,n,t,i,r);l&&Oz(e,r,!1),o=QY(r),o.c.length!=0&&(e.d&&e.d.Fg(o),gGe(e,r,t,i,o))}function Ez(){Ez=Y,Jre=new k$("NODE_SIZE_REORDERER",0),Bre=new k$("INTERACTIVE_NODE_REORDERER",1),Fre=new k$("MIN_SIZE_PRE_PROCESSOR",2),zre=new k$("MIN_SIZE_POST_PROCESSOR",3)}function Sz(){Sz=Y,Cce=new Fj(va,0),c8e=new Fj("DIRECTED",1),o8e=new Fj("UNDIRECTED",2),i8e=new Fj("ASSOCIATION",3),u8e=new Fj("GENERALIZATION",4),r8e=new Fj("DEPENDENCY",5)}function jMn(e,n){var t;if(!_a(e))throw R(new Uc(zWe));switch(t=_a(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g)}return 0}function EMn(e,n,t){var i,r,c;return i=n.Jk(),c=n.kd(),r=i.Hk()?O0(e,4,i,c,null,N8(e,i,c,X(i,103)&&(u(i,19).Bb&Ec)!=0),!0):O0(e,i.rk()?2:1,i,c,i.gk(),-1,!0),t?t.lj(r):t=r,t}function k8(e,n){var t,i;for(Ln(n),i=e.b.c.length,Ce(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.Le(Le(e.b,i),n)<=0)return ul(e.b,t,n),!0;ul(e.b,t,Le(e.b,i))}return ul(e.b,i,n),!0}function v0e(e,n,t,i){var r,c;if(r=0,t)r=FB(e.a[t.g][n.g],i);else for(c=0;c=l)}function wGe(e){switch(e.g){case 0:return new K_;case 1:return new PM;default:throw R(new Un("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function y0e(e,n,t,i){var r;if(r=!1,$r(i)&&(r=!0,O9(n,t,Pt(i))),r||b2(i)&&(r=!0,y0e(e,n,t,i)),r||X(i,242)&&(r=!0,Xb(n,t,u(i,242))),!r)throw R(new CX(U2e))}function xMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=pa((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),af),r!=null)){for(i=1;i<(ls(),s7e).length;++i)if(bn(s7e[i],r))return i}return 0}function AMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=pa((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),af),r!=null)){for(i=1;i<(ls(),l7e).length;++i)if(bn(l7e[i],r))return i}return 0}function pGe(e,n){var t,i,r,c;if(Ln(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=e.a.Le(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function TMn(e){var n,t,i,r;for(n=new Te,t=le(ts,ma,30,e.a.c.length,16,1),$fe(t,t.length),r=new P(e.a);r.a0&&VXe((kn(0,t.c.length),u(t.c[0],25)),e),t.c.length>1&&VXe(u(Le(t,t.c.length-1),25),e),n.Ug()}function NMn(e){ps();var n,t;return n=Ci(Z1,F(z(fG,1),je,280,0,[mb])),!(pO(PR(n,e))>1||(t=Ci(tA,F(z(fG,1),je,280,0,[nA,Yy])),pO(PR(t,e))>1))}function j0e(e,n){var t;t=lo((E0(),kf),e),X(t,493)?Kc(kf,e,new YCe(this,n)):Kc(kf,e,this),bW(this,n),n==(g9(),Y8e)?(this.wb=u(this,2e3),u(n,2002)):this.wb=(C0(),Bn)}function IMn(e){var n,t,i;if(e==null)return null;for(n=null,t=0;tc}function kGe(e,n){var t,i,r;if(S0e(e,n))return!0;for(i=new P(n);i.a=r||n<0)throw R(new jo(Cne+n+pg+r));if(t>=r||t<0)throw R(new jo(Tne+t+pg+r));return n!=t?i=(c=e.Aj(t),e.oj(n,c),c):i=e.vj(t),i}function EGe(e){var n,t,i;if(i=e,e)for(n=0,t=e.Bh();t;t=t.Bh()){if(++n>RZ)return EGe(t);if(i=t,t==e)throw R(new Uc("There is a cycle in the containment hierarchy of "+e))}return i}function Ja(e){var n,t,i;for(i=new ng(To,"[","]"),t=e.Jc();t.Ob();)n=t.Pb(),D1(i,ue(n)===ue(e)?"(this Collection)":n==null?Vo:fu(n));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function S0e(e,n){var t,i;if(i=!1,n.gc()<2)return!1;for(t=0;t1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=k.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e))}function G0(){G0=Y,Tin=F(z(xc,1),qu,64,0,[(Ie(),Vn),nt,bt]),Cin=F(z(xc,1),qu,64,0,[nt,bt,Yn]),Oin=F(z(xc,1),qu,64,0,[bt,Yn,Vn]),Nin=F(z(xc,1),qu,64,0,[Yn,Vn,nt])}function xGe(e){var n,t,i,r,c,o,l,f,h;for(this.a=KJe(e),this.b=new Te,t=e,i=0,r=t.length;iFK(e.d).c?(e.i+=e.g.c,TQ(e.d)):FK(e.d).c>FK(e.g).c?(e.e+=e.d.c,TQ(e.g)):(e.i+=SIe(e.g),e.e+=SIe(e.d),TQ(e.g),TQ(e.d))}function FMn(e,n,t){var i,r,c,o;for(c=n.q,o=n.r,new Kb((da(),ab),n,c,1),new Kb(ab,c,o,1),r=new P(t);r.al&&(f=l/i),r>c&&(h=c/r),o=k.Math.min(f,h),e.a+=o*(n.a-e.a),e.b+=o*(n.b-e.b)}function qMn(e,n,t,i,r){var c,o;for(o=!1,c=u(Le(t.b,0),26);K_n(e,n,c,i,r)&&(o=!0,NAn(t,c),t.b.c.length!=0);)c=u(Le(t.b,0),26);return t.b.c.length==0&&BO(t.j,t),o&&bz(n.q),o}function A0e(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new os((Gu(),h1),Zd,e,0)),K$(e.o,n,i)):(c=u(Cn((r=u(Kn(e,16),29),r||e.fi()),t),69),c.uk().yk(e,Lo(e),t-dt(e.fi()),n,i))}function bW(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=u(e.sb,52).Qh(e,1,cA,t)),n&&(t=u(n,52).Oh(e,1,cA,t)),t=B1e(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,n,n))}function TGe(e,n){var t,i,r,c;if(n)r=$1(n,"x"),t=new hSe(e),Wv(t.a,(Ln(r),r)),c=$1(n,"y"),i=new dSe(e),Zv(i.a,(Ln(c),c));else throw R(new lh("All edge sections need an end point."))}function OGe(e,n){var t,i,r,c;if(n)r=$1(n,"x"),t=new lSe(e),e3(t.a,(Ln(r),r)),c=$1(n,"y"),i=new fSe(e),n3(i.a,(Ln(c),c));else throw R(new lh("All edge sections need a start point."))}function UMn(e,n){var t,i,r,c,o,l,f;for(i=Yze(e),c=0,l=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<=zd?"error":i>=900?"warn":i>=800?"info":"log"),pDe(t,e.a),e.b&&Mbe(n,t,e.b,"Exception: ",!0))}function _Ge(e,n){var t,i,r,c,o;for(r=n==1?Cte:Mte,i=r.a.ec().Jc();i.Ob();)for(t=u(i.Pb(),86),o=u(vi(e.f.c,t),22).Jc();o.Ob();)c=u(o.Pb(),49),Ce(e.b.b,u(c.b,82)),Ce(e.b.a,u(c.b,82).d)}function LGe(e,n,t,i){var r,c,o,l,f;switch(f=e.b,c=n.d,o=c.j,l=xde(o,f.d[o.g],t),r=pi(pc(c.n),c.a),c.j.g){case 3:case 1:l.a+=r.a;break;case 2:l.b+=r.b;break;case 4:l.b+=r.b}Ki(i,l,i.c.b,i.c)}function YMn(e,n){var t,i,r,c;for(c=n.b.j,e.a=le($t,ni,30,c.c.length,15,1),r=0,i=0;ie)throw R(new Un("k must be smaller than n"));return n==0||n==e?1:e==0?0:Zde(e)/(Zde(n)*Zde(e-n))}function M0e(e,n){var t,i,r,c;for(t=new MK(e);t.g==null&&!t.c?mae(t):t.g==null||t.i!=0&&u(t.g[t.i-1],50).Ob();)if(c=u(Nz(t),57),X(c,174))for(i=u(c,174),r=0;r>4],n[t*2+1]=OG[c&15];return ph(n,0,n.length)}function lCn(e){var n,t,i;switch(i=e.c.length,i){case 0:return OV(),Ken;case 1:return n=u(pqe(new P(e)),45),Jpn(n.jd(),n.kd());default:return t=u(Ba(e,le(yg,tF,45,e.c.length,0,1)),175),new ise(t)}}function Rd(e,n){switch(n.g){case 1:return M4(e.j,(ss(),xve));case 2:return M4(e.j,(ss(),Eve));case 3:return M4(e.j,(ss(),Mve));case 4:return M4(e.j,(ss(),Cve));default:return En(),En(),Sc}}function fCn(e,n){var t,i,r;t=$vn(n,e.e),i=u(zn(e.g.f,t),15).a,r=e.a.c.length-1,e.a.c.length!=0&&u(Le(e.a,r),295).c==i?(++u(Le(e.a,r),295).a,++u(Le(e.a,r),295).b):Ce(e.a,new COe(i))}function q0(){q0=Y,nln=(Xt(),Uy),tln=Qd,Qsn=Ig,Wsn=n5,Zsn=bb,Ysn=e5,Vye=$I,eln=Rm,Dre=(Gbe(),Bsn),_re=zsn,Qye=Gsn,Lre=Xsn,Wye=qsn,Zye=Usn,Yye=Fsn,HH=Jsn,GH=Hsn,AI=Ksn,e6e=Vsn,Kye=Rsn}function $Ge(e,n){var t,i,r,c,o;if(e.e<=n||wyn(e,e.g,n))return e.g;for(c=e.r,i=e.g,o=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=k.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a))}function dCn(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b}}function bCn(e,n,t){var i,r,c;for(r=new Xn(Qn(wh(t).a.Jc(),new ee));ht(r);)i=u(ct(r),17),!uc(i)&&!(!uc(i)&&i.c.i.c==i.d.i.c)&&(c=NUe(e,i,t,new mxe),c.c.length>1&&qn(n.c,c))}function zGe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e}function gCn(e){if(X(e,144))return PNn(u(e,144));if(X(e,233))return Xjn(u(e,233));if(X(e,21))return KMn(u(e,21));throw R(new Un(s7+Ja(new Su(F(z(Mr,1),Nn,1,5,[e])))))}function wCn(e,n,t,i,r){var c,o,l;for(c=!0,o=0;o>>r|t[o+i+1]<>>r,++o}return c}function N0e(e,n,t,i){var r,c,o;if(n.k==(Fn(),dr)){for(c=new Xn(Qn(cr(n).a.Jc(),new ee));ht(c);)if(r=u(ct(c),17),o=r.c.i.k,o==dr&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t)return!0}return!1}function pCn(e,n){var t,i,r,c;return n&=63,t=e.h&G1,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),_o(i&Ls,r&Ls,c&G1)}function FGe(e,n,t,i){var r;this.b=i,this.e=e==(rg(),Cx),r=n[t],this.d=j2(ts,[Ae,ma],[171,30],16,[r.length,r.length],2),this.a=j2($t,[Ae,ni],[54,30],15,[r.length,r.length],2),this.c=new h0e(n,t)}function mCn(e){var n,t,i;for(e.k=new Sae((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,e.j.c.length),i=new P(e.j);i.a=t)return E8(e,n,i.p),!0;return!1}function a3(e,n,t,i){var r,c,o,l,f,h;for(o=t.length,c=0,r=-1,h=URe((Wn(n,e.length+1),e.substr(n)),(VK(),Hme)),l=0;lc&&C3n(h,URe(t[l],Hme))&&(r=l,c=f);return r>=0&&(i[0]=n+c),r}function kCn(e,n,t){var i,r,c,o,l,f,h,b;c=e.d.p,l=c.e,f=c.r,e.g=new NT(f),o=e.d.o.c.p,i=o>0?l[o-1]:le(u1,Fd,9,0,0,1),r=l[o],h=ot?F0e(e,t,"start index"):n<0||n>t?F0e(n,t,"end index"):cS("end index (%s) must not be less than start index (%s)",F(z(Mr,1),Nn,1,5,[ve(n),ve(e)]))}function UGe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&XGe(e,c,t));n.p=0}function xCn(e){var n,t,i,r;for(n=qb(Kt(new tl("Predicates."),"and"),40),t=!0,r=new qc(e);r.b=0?e.hi(r):q0e(e,i);else throw R(new Un(nb+i.ve()+LS));else throw R(new Un(QWe+n+WWe));else Fl(e,t,i)}function I0e(e){var n,t;if(t=null,n=!1,X(e,210)&&(n=!0,t=u(e,210).a),n||X(e,265)&&(n=!0,t=""+u(e,265).a),n||X(e,479)&&(n=!0,t=""+u(e,479).a),!n)throw R(new CX(U2e));return t}function D0e(e,n,t){var i,r,c,o,l,f;for(f=Po(e.e.Ah(),n),i=0,l=e.i,r=u(e.g,122),o=0;o=e.d.b.c.length&&(n=new Xu(e.d),n.p=i.p-1,Ce(e.d.b,n),t=new Xu(e.d),t.p=i.p,Ce(e.d.b,t)),Or(i,u(Le(e.d.b,i.p),25))}function CCn(e){var n,t,i,r;for(t=new xi,ac(t,e.o),i=new BP;t.b!=0;)n=u(t.b==0?null:(at(t.b!=0),$l(t,t.a.a)),500),r=$Ve(e,n,!0),r&&Ce(i.a,n);for(;i.a.c.length!=0;)n=u(T1e(i),500),$Ve(e,n,!1)}function Ue(e){var n;this.c=new xi,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=u(la(Wa),10),new _l(n,u(Df(n,n.length),10),0)),this.g=e.f}function lg(){lg=Y,o9e=new p4(yS,0),xr=new p4("BOOLEAN",1),dc=new p4("INT",2),Gy=new p4("STRING",3),ec=new p4("DOUBLE",4),Bi=new p4("ENUM",5),Hy=new p4("ENUMSET",6),Za=new p4("OBJECT",7)}function YE(e,n){var t,i,r,c,o;i=k.Math.min(e.c,n.c),c=k.Math.min(e.d,n.d),r=k.Math.max(e.c+e.b,n.c+n.b),o=k.Math.max(e.d+e.a,n.d+n.a),r=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)She(this);this.b=n,this.a=null}function NCn(e,n){var t,i;n.a?eIn(e,n):(t=u(BX(e.b,n.b),60),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Ec(n.b),i=u(RX(e.b,n.b),60),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Ec(i),DK(e.b,n.b))}function eqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.b=0,t.n.c=0;return}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Gc((Vs(),_g))&&OXe(e,n),i=wSn(e,n),NW(e,n)==(u3(),wb)&&(i+=2*e.w),t.a.a=i}function nqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.d=0,t.n.a=0;return}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Gc((Vs(),_g))&&NXe(e,n),i=gSn(e,n),NW(e,n)==(u3(),wb)&&(i+=2*e.w),t.a.b=i}function ICn(e,n){var t,i,r,c;for(c=new Te,i=new P(n);i.ai&&(Wn(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return i>0||nt.a&&(i.Gc((sg(),qx))?r=(n.a-t.a)/2:i.Gc(Ux)&&(r=n.a-t.a)),n.b>t.b&&(i.Gc((sg(),Kx))?c=(n.b-t.b)/2:i.Gc(Xx)&&(c=n.b-t.b)),k0e(e,r,c)}function uqe(e,n,t,i,r,c,o,l,f,h,b,p,y){X(e.Cb,88)&&Y2(Ms(u(e.Cb,88)),4),Mo(e,t),e.f=o,a8(e,l),h8(e,f),l8(e,h),f8(e,b),Pd(e,p),d8(e,y),Ld(e,!0),Nd(e,r),e.Xk(c),cg(e,n),i!=null&&(e.i=null,xB(e,i))}function F0e(e,n,t){if(e<0)return cS(oYe,F(z(Mr,1),Nn,1,5,[t,ve(e)]));if(n<0)throw R(new Un(sYe+n));return cS("%s (%s) must not be greater than size (%s)",F(z(Mr,1),Nn,1,5,[t,ve(e),ve(n)]))}function J0e(e,n,t,i,r,c){var o,l,f,h;if(o=i-t,o<7){zjn(n,t,i,c);return}if(f=t+r,l=i+r,h=f+(l-f>>1),J0e(n,e,f,h,-r,c),J0e(n,e,h,l,-r,c),c.Le(e[h-1],e[h])<=0){for(;t=0?e.$h(c,t):ybe(e,r,t);else throw R(new Un(nb+r.ve()+LS));else throw R(new Un(QWe+n+WWe));else Jl(e,i,r,t)}function oqe(e){var n,t;if(e.f){for(;e.n>0;){if(n=u(e.k.Xb(e.n-1),75),t=n.Jk(),X(t,103)&&(u(t,19).Bb&Ru)!=0&&(!e.e||t.nk()!=K7||t.Jj()!=0)&&n.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function sqe(e){var n,t,i,r;if(t=u(e,52).Yh(),t)try{if(i=null,n=x8((E0(),kf),ZXe(Kjn(t))),n&&(r=n.Zh(),r&&(i=r.Dl(Pbn(t.e)))),i&&i!=e)return sqe(i)}catch(c){if(c=sr(c),!X(c,63))throw R(c)}return e}function KCn(e,n,t){var i,r,c;t.Tg("Remove overlaps",1),t.bh(n,Ype),i=u(ke(n,(Gv(),V3)),26),e.f=i,e.a=RQ(u(ke(n,(q0(),AI)),303)),r=re(ke(n,(Xt(),Qd))),t4(e,(Ln(r),r)),c=W2(i),yVe(e,n,c,t),t.bh(n,PF)}function VCn(e){var n,t,i;if(Fe(ze(ke(e,(Xt(),LI))))){for(i=new Te,t=new Xn(Qn(U0(e).a.Jc(),new ee));ht(t);)n=u(ct(t),85),Uw(n)&&Fe(ze(ke(n,wce)))&&qn(i.c,n);return i}else return En(),En(),Sc}function lqe(e){if(!e)return nAe(),Zen;var n=e.valueOf?e.valueOf():e;if(n!==e){var t=rte[typeof n];return t?t(n):F1e(typeof n)}else return e instanceof Array||e instanceof k.Array?new i9(e):new c9(e)}function fqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=WE(i),r.a=QE(i),r.b=k.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}GW(i),qW(i)}function aqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=WE(i),r.a=QE(i),r.a=k.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}GW(i),qW(i)}function YCn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=R4(n),r?k.Math.max(0,e.b/2-.5):(t=Xv(n),t?(i=ne(re(G2(t,(Oe(),Tg)))),k.Math.max(0,i/2-.5)):Vi))}function QCn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=R4(n),r?k.Math.max(0,e.b/2-.5):(t=Xv(n),t?(i=ne(re(G2(t,(Oe(),Tg)))),k.Math.max(0,i/2-.5)):Vi))}function WCn(e,n){var t,i,r,c,o;if(!n.dc()){if(r=u(n.Xb(0),132),n.gc()==1){VUe(e,r,r,1,0,n);return}for(t=1;t0)try{r=al(n,Xr,oi)}catch(c){throw c=sr(c),X(c,131)?(i=c,R(new sB(i))):R(c)}return t=(!e.a&&(e.a=new dX(e)),e.a),r=0?u(K(t,r),57):null}function nTn(e,n){if(e<0)return cS(oYe,F(z(Mr,1),Nn,1,5,["index",ve(e)]));if(n<0)throw R(new Un(sYe+n));return cS("%s (%s) must be less than size (%s)",F(z(Mr,1),Nn,1,5,["index",ve(e),ve(n)]))}function tTn(e){var n,t,i,r,c;if(e==null)return Vo;for(c=new ng(To,"[","]"),t=e,i=0,r=t.length;i=0?e.Ih(t,!0,!0):Xw(e,r,!0),163)),u(i,219).Xl(n);else throw R(new Un(nb+n.ve()+LS))}function U0e(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=lc(k.Math.floor(k.Math.log(e)/.6931471805599453)),(!n||e!=k.Math.pow(2,t))&&++t,t):OFe(Lu(e))}function dTn(e){var n,t,i,r,c,o,l;for(c=new Fh,t=new P(e);t.a2&&l.e.b+l.j.b<=2&&(r=l,i=o),c.a.yc(r,c),r.q=i);return c}function bTn(e,n,t){t.Tg("Eades radial",1),t.bh(n,PF),e.d=u(ke(n,(Gv(),V3)),26),e.c=ne(re(ke(n,(q0(),GH)))),e.e=RQ(u(ke(n,AI),303)),e.a=Zjn(u(ke(n,e6e),426)),e.b=pAn(u(ke(n,Yye),354)),nAn(e),t.bh(n,PF)}function gTn(e,n){if(n.Tg("Target Width Setter",1),ba(e,(Ha(),Kre)))Ei(e,(Qh(),_m),re(ke(e,Kre)));else throw R(new md("A target width has to be set if the TargetWidthWidthApproximator should be used."));n.Ug()}function mqe(e,n){var t,i,r;return i=new za(e),Pu(i,n),he(i,(me(),cH),n),he(i,(Oe(),Zi),(Br(),to)),he(i,Nh,(Yh(),tG)),Mf(i,(Fn(),wr)),t=new Qu,wu(t,i),Ar(t,(Ie(),Yn)),r=new Qu,wu(r,i),Ar(r,nt),i}function vqe(e,n){var t,i,r,c,o;for(e.c[n.p]=!0,Ce(e.a,n),o=new P(n.j);o.a=c)o.$b();else for(r=o.Jc(),i=0;i0?Noe():o<0&&Sqe(e,n,-o),!0):!1}function QE(e){var n,t,i,r,c,o,l;if(l=0,e.b==0){for(o=tHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}else l=sAe(HY(C2(li(vV(e.a),new ud),new Cp)));return l>0?l+e.n.d+e.n.a:0}function WE(e){var n,t,i,r,c,o,l;if(l=0,e.b==0)l=sAe(HY(C2(li(vV(e.a),new b5),new l0)));else{for(o=iHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}return l>0?l+e.n.b+e.n.c:0}function kTn(e){var n,t;if(e.c.length!=2)throw R(new Uc("Order only allowed for two paths."));n=(kn(0,e.c.length),u(e.c[0],17)),t=(kn(1,e.c.length),u(e.c[1],17)),n.d.i!=t.c.i&&(e.c.length=0,qn(e.c,t),qn(e.c,n))}function xqe(e,n,t){var i;for(vw(t,n.g,n.f),Il(t,n.i,n.j),i=0;i<(!n.a&&(n.a=new we(Ft,n,10,11)),n.a).i;i++)xqe(e,u(K((!n.a&&(n.a=new we(Ft,n,10,11)),n.a),i),26),u(K((!t.a&&(t.a=new we(Ft,t,10,11)),t.a),i),26))}function jTn(e,n){var t,i,r,c;for(c=u(zc(e.b,n),127),t=c.a,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.c&&(t.a=k.Math.max(t.a,wfe(i.c)));if(t.a>0)switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function ETn(e,n){var t,i,r;return t=u(C(n,(Hf(),Ay)),15).a-u(C(e,Ay),15).a,t==0?(i=Nr(pc(u(C(e,(L0(),YN)),8)),u(C(e,ZS),8)),r=Nr(pc(u(C(n,YN),8)),u(C(n,ZS),8)),ji(i.a*i.b,r.a*r.b)):t}function STn(e,n){var t,i,r;return t=u(C(n,(Mu(),BH)),15).a-u(C(e,BH),15).a,t==0?(i=Nr(pc(u(C(e,(Ti(),EI)),8)),u(C(e,P7),8)),r=Nr(pc(u(C(n,EI),8)),u(C(n,P7),8)),ji(i.a*i.b,r.a*r.b)):t}function Aqe(e){var n,t;return t=new y0,t.a+="e_",n=F7n(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(Kt((t.a+=" ",t),wz(e.c)),Kt(uo((t.a+="[",t),e.c.i),"]"),Kt((t.a+=nee,t),wz(e.d)),Kt(uo((t.a+="[",t),e.d.i),"]")),t.a}function Mqe(e){switch(e.g){case 0:return new DU;case 1:return new lP;case 2:return new _U;case 3:return new AC;default:throw R(new Un("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function V0e(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=k.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=k.Math.max(0,-e.b-i);break;case 2:c=k.Math.max(0,-e.a-i);break;case 4:c=k.Math.max(0,n.a+e.a-(t.a+i))}return c}function Cqe(e,n,t){var i,r,c,o,l;if(t)for(r=t.a.length,i=new Jb(r),l=(i.b-i.a)*i.c<0?(S0(),Eb):new M0(i);l.Ob();)o=u(l.Pb(),15),c=F9(t,o.a),F2e in c.a||Ane in c.a?CDn(e,c,n):VRn(e,c,n),npn(u(zn(e.c,g8(c)),85))}function Y0e(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=ff(e),n&&(Tc(),n.jk()==een)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function Q0e(e,n){var t,i,r,c;if(fi(e),e.c!=0||e.a!=123)throw R(new Bt(Ht((Lt(),jZe))));if(c=n==112,i=e.d,t=E9(e.i,125,i),t<0)throw R(new Bt(Ht((Lt(),EZe))));return r=of(e.i,i,t),e.d=t+1,$$e(r,c,(e.e&512)==512)}function xTn(e){var n,t,i,r,c,o,l;for(l=Jh(e.c.length),r=new P(e);r.a=0&&i=0?e.Ih(t,!0,!0):Xw(e,r,!0),163)),u(i,219).Ul(n);throw R(new Un(nb+n.ve()+pne))}function MTn(){nse();var e;return ehn?u(x8((E0(),kf),hf),2e3):(ti(yg,new DL),p$n(),e=u(X(lo((E0(),kf),hf),548)?lo(kf,hf):new NDe,548),ehn=!0,wBn(e),jBn(e),ei((ese(),V8e),e,new Ev),Kc(kf,hf,e),e)}function CTn(e,n){var t,i,r,c;e.j=-1,Fs(e.e)?(t=e.i,c=e.i!=0,WT(e,n),i=new L1(e.e,3,e.c,null,n,t,c),r=n.xl(e.e,e.c,null),r=cGe(e,n,r),r?(r.lj(i),r.mj()):hi(e.e,i)):(WT(e,n),r=n.xl(e.e,e.c,null),r&&r.mj())}function Cz(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length)return-1;for(t=(Wn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));)t=(Wn(i,e.length),e.charCodeAt(i));return i>n[0]?n[0]=i:r=-1,r}function TTn(e,n,t){var i,r,c,o,l;o=e.c,l=e.d,c=mu(F(z(Lr,1),Ae,8,0,[o.i.n,o.n,o.a])).b,r=(c+mu(F(z(Lr,1),Ae,8,0,[l.i.n,l.n,l.a])).b)/2,i=null,o.j==(Ie(),nt)?i=new Ee(n+o.i.c.c.a+t,r):i=new Ee(n-t,r),S9(e.a,0,i)}function Uw(e){var n,t,i,r;for(n=null,i=Uh(Rl(F(z(Xl,1),Nn,20,0,[(!e.b&&(e.b=new In(mt,e,4,7)),e.b),(!e.c&&(e.c=new In(mt,e,5,8)),e.c)])));ht(i);)if(t=u(ct(i),84),r=iu(t),!n)n=r;else if(n!=r)return!1;return!0}function EW(e,n,t){var i;if(++e.j,n>=e.i)throw R(new jo(Cne+n+pg+e.i));if(t>=e.i)throw R(new jo(Tne+t+pg+e.i));return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-cm,n=i>>16&4,t+=n,e<<=n,i=e-jh,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n)}function OTn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.c.g==e.g&&ue(C(t.b,(Mu(),Dh)))!==ue(C(t.c,Dh))&&!Vv(new mn(null,new yn(r,16)),new NEe(t))&&qn(r.c,t);return Tr(r,new Ck),r}function Oqe(e,n,t){var i,r,c,o;return X(n,155)&&X(t,155)?(c=u(n,155),o=u(t,155),e.a[c.a][o.a]+e.a[o.a][c.a]):X(n,251)&&X(t,251)&&(i=u(n,251),r=u(t,251),i.a==r.a)?u(C(r.a,(Hf(),Ay)),15).a:0}function Nqe(e,n){var t,i,r,c,o,l,f,h;for(h=ne(re(C(n,(Oe(),kx)))),f=e[0].n.a+e[0].o.a+e[0].d.c+h,l=1;l=0?t:(l=aE(Nr(new Ee(o.c+o.b/2,o.d+o.a/2),new Ee(c.c+c.b/2,c.d+c.a/2))),-(sKe(c,o)-1)*l)}function ITn(e,n,t){var i;er(new mn(null,(!t.a&&(t.a=new we($i,t,6,6)),new yn(t.a,16))),new ICe(e,n)),er(new mn(null,(!t.n&&(t.n=new we(Eu,t,1,7)),new yn(t.n,16))),new DCe(e,n)),i=u(ke(t,(Xt(),Z3)),78),i&&Zhe(i,e,n)}function Xw(e,n,t){var i,r,c;if(c=w3((ls(),nc),e.Ah(),n),c)return Tc(),u(c,69).vk()||(c=$4(Vc(nc,c))),r=(i=e.Fh(c),u(i>=0?e.Ih(i,!0,!0):Xw(e,c,!0),163)),u(r,219).Ql(n,t);throw R(new Un(nb+n.ve()+pne))}function W0e(e,n,t,i){var r,c,o,l,f;if(r=e.d[n],r){if(c=r.g,f=r.i,i!=null){for(l=0;l=t&&(i=n,h=(f.c+f.a)/2,o=h-t,f.c<=h-t&&(r=new WK(f.c,o),zb(e,i++,r)),l=h+t,l<=f.a&&(c=new WK(l,f.a),N2(i,e.c.length),_j(e.c,i,c)))}function Lqe(e,n,t){var i,r,c,o,l,f;if(!n.dc()){for(r=new xi,f=n.Jc();f.Ob();)for(l=u(f.Pb(),40),ei(e.a,ve(l.g),ve(t)),o=(i=St(new S1(l).a.d,0),new Cv(i));WC(o.a);)c=u(jt(o.a),65).c,Ki(r,c,r.c.b,r.c);Lqe(e,r,t+1)}}function Z0e(e){var n;if(!e.c&&e.g==null)e.d=e._i(e.f),Et(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=u(e.g[e.i-1],50)}return n==e.b&&null.Tm>=null.Sm()?(Nz(e),Z0e(e)):n.Ob()}function Pqe(e){if(this.a=e,e.c.i.k==(Fn(),wr))this.c=e.c,this.d=u(C(e.c.i,(me(),Iu)),64);else if(e.d.i.k==wr)this.c=e.d,this.d=u(C(e.d.i,(me(),Iu)),64);else throw R(new Un("Edge "+e+" is not an external edge."))}function $qe(e,n){var t,i,r;r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,r,e.b)),n?n!=e&&(Mo(e,n.zb),IY(e,n.d),t=(i=n.c,i??n.zb),_Y(e,t==null||bn(t,n.zb)?null:t)):(Mo(e,null),IY(e,0),_Y(e,null))}function Rqe(e){!tte&&(tte=SRn());var n=e.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 m4n(t)});return'"'+n+'"'}function ebe(e,n,t,i,r,c){var o,l,f,h,b;if(r!=0)for(ue(e)===ue(t)&&(e=e.slice(n,n+r),n=0),f=t,l=n,h=n+r;l=o)throw R(new k2(n,o));return r=t[n],o==1?i=null:(i=le(Bce,_ne,415,o-1,0,1),Wu(t,0,i,0,n),c=o-n-1,c>0&&Wu(t,n+1,i,n,c)),p8(e,i),cqe(e,n,r),r}function Bqe(e){var n,t;if(e.f){for(;e.n0)for(o=e.c.d,l=e.d.d,r=A1(Nr(new Ee(l.a,l.b),o),1/(i+1)),c=new Ee(o.a,o.b),t=new P(e.a);t.a0?c=Y4(t):c=NO(Y4(t))),Ei(n,O7,c)}function Gqe(e,n){var t,i;if(e.c.length!=0){if(e.c.length==2)sy((kn(0,e.c.length),u(e.c[0],9)),(fl(),l1)),sy((kn(1,e.c.length),u(e.c[1],9)),gb);else for(i=new P(e);i.a0&&nN(e,t,n),c):i.a!=null?(nN(e,n,t),-1):r.a!=null?(nN(e,t,n),1):0}function qqe(e){UV();var n,t,i,r,c,o,l;for(t=new D0,r=new P(e.e.b);r.a=0;)i=t[c],o.$l(i.Jk())&&Et(r,i);!JVe(e,r)&&Fs(e.e)&&f9(e,n.Hk()?O0(e,6,n,(En(),Sc),null,-1,!1):O0(e,n.rk()?2:1,n,null,null,-1,!1))}function JTn(e,n){var t,i,r,c,o;return e.a==(j8(),cx)?!0:(c=n.a.c,t=n.a.c+n.a.b,!(n.j&&(i=n.A,o=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>o)||n.q&&(i=n.C,o=i.c.c.a-i.o.a/2,r=i.n.a-t,r>o)))}function Xqe(e,n,t){var i,r,c,o,l,f;for(i=0,f=t,n||(i=t*(e.c.length-1),f*=-1),c=new P(e);c.a=0?e.xh(null):e.Mh().Qh(e,-1-n,null,null)),e.yh(u(r,52),t),i&&i.mj(),e.sh()&&e.th()&&t>-1&&hi(e,new Dr(e,9,t,c,r)),r):c}function rbe(e,n){var t,i,r,c,o;for(c=e.b.Ae(n),i=(t=e.a.get(c),t??le(Mr,Nn,1,0,5,1)),o=0;o>5,r>=e.d)return e.e<0;if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=WBe(e),r>16)),16).bd(c),l0&&(!(x1(e.a.c)&&n.n.d)&&!(Rv(e.a.c)&&n.n.b)&&(n.g.d+=k.Math.max(0,i/2-.5)),!(x1(e.a.c)&&n.n.a)&&!(Rv(e.a.c)&&n.n.c)&&(n.g.a-=i-1))}function uUe(e,n,t){var i,r,c,o,l,f;c=u(Le(n.e,0),17).c,i=c.i,r=i.k,f=u(Le(t.g,0),17).d,o=f.i,l=o.k,r==(Fn(),dr)?he(e,(me(),Ea),u(C(i,Ea),12)):he(e,(me(),Ea),c),l==dr?he(e,(me(),gf),u(C(o,gf),12)):he(e,(me(),gf),f)}function oUe(e,n){var t,i,r,c,o,l;for(c=new P(e.b);c.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(o=i?G1:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(o=i?G1:0,c=i?Ls:0,r=t>>n-44),_o(r&Ls,c&Ls,o&G1)}function sUe(e,n){var t,i,r,c,o,l,f,h,b;if(e.a.f>0&&X(n,45)&&(e.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Nle(e.a,c),t=e.a.d[o],t)){for(i=u(t.g,374),b=t.i,l=0;l=2)for(t=r.Jc(),n=re(t.Pb());t.Ob();)c=n,n=re(t.Pb()),i=k.Math.min(i,(Ln(n),n-(Ln(c),c)));return i}function aOn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.b.g==e.g&&!bn(t.b.c,_F)&&ue(C(t.b,(Mu(),Dh)))!==ue(C(t.c,Dh))&&!Vv(new mn(null,new yn(r,16)),new IEe(t))&&qn(r.c,t);return Tr(r,new cw),r}function hOn(e,n){var t,i,r;if(ue(n)===ue(Nt(e)))return!0;if(!X(n,16)||(i=u(n,16),r=e.gc(),r!=i.gc()))return!1;if(X(i,59)){for(t=0;t0&&(r=t),o=new P(e.f.e);o.a0?r+=n:r+=1;return r}function yOn(e,n){var t,i,r,c,o,l,f,h,b,p;h=e,f=wE(h,"individualSpacings"),f&&(i=ba(n,(Xt(),Xy)),o=!i,o&&(r=new z6,Ei(n,Xy,r)),l=u(ke(n,Xy),379),p=f,c=null,p&&(c=(b=zY(p,le(He,Ae,2,0,6,1)),new $X(p,b))),c&&(t=new HCe(p,l),cc(c,t)))}function kOn(e,n){var t,i,r,c,o,l,f,h,b,p,y;return f=null,p=e,b=null,(oZe in p.a||sZe in p.a||HF in p.a)&&(h=null,y=l1e(n),o=wE(p,oZe),t=new wSe(y),YFe(t.a,o),l=wE(p,sZe),i=new xSe(y),QFe(i.a,l),c=Dw(p,HF),r=new CSe(y),h=(iGe(r.a,c),c),b=h),f=b,f}function jOn(e,n){var t,i,r;if(n===e)return!0;if(X(n,540)){if(r=u(n,833),e.a.d!=r.a.d||qv(e).gc()!=qv(r).gc())return!1;for(i=qv(r).Jc();i.Ob();)if(t=u(i.Pb(),416),uLe(e,t.a.jd())!=u(t.a.kd(),18).gc())return!1;return!0}return!1}function EOn(e,n){var t,i,r,c;for(c=new P(n.a);c.an.c?1:e.bn.b?1:e.a!=n.a?Ni(e.a)-Ni(n.a):e.d==(vE(),Ox)&&n.d==Tx?-1:e.d==Tx&&n.d==Ox?1:0}function AW(e){var n,t,i,r,c,o,l,f;for(r=Vi,i=Ir,t=new P(e.e.b);t.a0&&r0):r<0&&-r0):!1}function xOn(e,n,t,i){var r,c,o,l,f,h,b,p;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,p=new P(e.c);p.a>24;return o}function MOn(e){if(e.xe()){var n=e.c;n.ye()?e.o="["+n.n:n.xe()?e.o="["+n.ve():e.o="[L"+n.ve()+";",e.b=n.ue()+"[]",e.k=n.we()+"[]";return}var t=e.j,i=e.d;i=i.split("/"),e.o=CQ(".",[t,CQ("$",i)]),e.b=CQ(".",[t,CQ(".",i)]),e.k=i[i.length-1]}function COn(e,n){var t,i,r,c,o;for(o=null,c=new P(e.e.a);c.a0&&lN(n,(kn(i-1,e.c.length),u(e.c[i-1],9)),r)>0;)ul(e,i,(kn(i-1,e.c.length),u(e.c[i-1],9))),--i;kn(i,e.c.length),e.c[i]=r}n.b=new wt,n.g=new wt}function yUe(e,n,t){var i,r,c;for(i=1;i0&&n.Le((kn(r-1,e.c.length),u(e.c[r-1],9)),c)>0;)ul(e,r,(kn(r-1,e.c.length),u(e.c[r-1],9))),--r;kn(r,e.c.length),e.c[r]=c}t.a=new wt,t.b=new wt}function Oz(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(c=n.Jc();c.Ob();)r=u(c.Pb(),26),b=r.i+r.g/2,y=r.j+r.f/2,f=e.f,o=f.i+f.g/2,l=f.j+f.f/2,h=b-o,p=y-l,i=k.Math.sqrt(h*h+p*p),h*=e.e/i,p*=e.e/i,t?(b-=h,y-=p):(b+=h,y+=p),Os(r,b-r.g/2),Ns(r,y-r.f/2)}function h3(e){var n,t,i;if(!e.c&&e.b!=null){for(n=e.b.length-4;n>=0;n-=2)for(t=0;t<=n;t+=2)(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);e.c=!0}}function Ff(e){var n,t;return t=new tl(Pb(e.Pm)),t.a+="@",Kt(t,(n=Ni(e)>>>0,n.toString(16))),e.Sh()?(t.a+=" (eProxyURI: ",uo(t,e.Yh()),e.Hh()&&(t.a+=" eClass: ",uo(t,e.Hh())),t.a+=")"):e.Hh()&&(t.a+=" (eClass: ",uo(t,e.Hh()),t.a+=")"),t.a}function nS(e){var n,t,i,r;if(e.e)throw R(new Uc((M1(gte),UZ+gte.k+XZ)));for(e.d==(vr(),nh)&&Qz(e,Zc),t=new P(e.a.a);t.a>24}return t}function _On(e,n,t){var i,r,c;if(r=u(zc(e.i,n),318),!r)if(r=new GRe(e.d,n,t),I4(e.i,n,r),mde(n))epn(e.a,n.c,n.b,r);else switch(c=TCn(n),i=u(zc(e.p,c),253),c.g){case 1:case 3:r.j=!0,AX(i,n.b,r);break;case 4:case 2:r.k=!0,AX(i,n.c,r)}return r}function LOn(e,n,t,i){var r,c,o,l,f,h;if(l=new J6,f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk())for(o=0;o=0)return r;for(c=1,l=new P(n.j);l.a=0)return r;for(c=1,l=new P(n.j);l.a=0?(n||(n=new Ej,i>0&&Bc(n,(Qr(0,i,e.length),e.substr(0,i)))),n.a+="\\",_9(n,t&yr)):n&&_9(n,t&yr);return n?n.a:e}function $On(e){var n,t,i;for(t=new P(e.a.a.b);t.a0&&(!(x1(e.a.c)&&n.n.d)&&!(Rv(e.a.c)&&n.n.b)&&(n.g.d-=k.Math.max(0,i/2-.5)),!(x1(e.a.c)&&n.n.a)&&!(Rv(e.a.c)&&n.n.c)&&(n.g.a+=k.Math.max(0,i-1)))}function AUe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2)n==(Ie(),Vn)||n==nt?(bB(u(OE(e),16),(fl(),l1)),bB(u(OE(e),16),gb)):(bB(u(OE(e),16),(fl(),gb)),bB(u(OE(e),16),l1));else for(r=new dE(e);r.a!=r.b;)i=u(JB(r),16),bB(i,t)}function ROn(e,n,t){var i,r,c,o,l,f,h,b,p;for(b=-1,p=0,l=n,f=0,h=l.length;f0&&++p;++b}return p}function BOn(e,n){var t,i,r,c,o,l,f;for(r=T9(new roe(e)),l=new qr(r,r.c.length),c=T9(new roe(n)),f=new qr(c,c.c.length),o=null;l.b>0&&f.b>0&&(t=(at(l.b>0),u(l.a.Xb(l.c=--l.b),26)),i=(at(f.b>0),u(f.a.Xb(f.c=--f.b),26)),t==i);)o=t;return o}function zOn(e,n){var t,i,r,c;for(n.Tg("Self-Loop pre-processing",1),i=new P(e.a);i.agLe(e,t)?(i=vu(t,(Ie(),nt)),e.d=i.dc()?0:iV(u(i.Xb(0),12)),o=vu(n,Yn),e.b=o.dc()?0:iV(u(o.Xb(0),12))):(r=vu(t,(Ie(),Yn)),e.d=r.dc()?0:iV(u(r.Xb(0),12)),c=vu(n,nt),e.b=c.dc()?0:iV(u(c.Xb(0),12)))}function FOn(e){var n,t,i,r,c,o,l,f;n=!0,r=null,c=null;e:for(f=new P(e.a);f.ae.c));o++)r.a>=e.s&&(c<0&&(c=o),l=o);return f=(e.s+e.c)/2,c>=0&&(i=ADn(e,n,c,l),f=Ngn((kn(i,n.c.length),u(n.c[i],340))),PTn(n,i,t)),f}function Ct(e,n,t){var i,r,c,o,l,f,h;for(o=(c=new Nb,c),Hhe(o,(Ln(n),n)),h=(!o.b&&(o.b=new Hs((jn(),Ac),Du,o)),o.b),f=1;f=2}function qOn(e,n,t,i,r){var c,o,l,f,h,b;for(c=e.c.d.j,o=u(Yu(t,0),8),b=1;b1||(n=Ci(Yf,F(z($c,1),je,96,0,[W1,Qf])),pO(PR(n,e))>1)||(i=Ci(Zf,F(z($c,1),je,96,0,[f1,pf])),pO(PR(i,e))>1))}function TUe(e){var n,t,i,r,c,o,l;for(n=0,i=new P(e.a);i.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Vt(n,i.b));for(r=new P(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Vt(t,i.a))}function Nz(e){var n,t,i,r,c;if(e.g==null&&(e.d=e._i(e.f),Et(e,e.d),e.c))return c=e.f,c;if(n=u(e.g[e.i-1],50),r=n.Pb(),e.e=n,t=e._i(r),t.Ob())e.d=t,Et(e,t);else for(e.d=null;!n.Ob()&&(ir(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],50),n=i;return r}function XOn(e,n){var t,i,r,c,o,l;if(i=n,r=i.Jk(),J1(e.e,r)){if(r.Qi()&&qR(e,r,i.kd()))return!1}else for(l=Po(e.e.Ah(),r),t=u(e.g,122),c=0;c1||t>1)return 2;return n+t==1?2:0}function Ds(e,n){var t,i,r,c,o,l;return c=e.a*JZ+e.b*1502,l=e.b*JZ+11,t=k.Math.floor(l*kN),c+=t,l-=t*Uge,c%=Uge,e.a=c,e.b=l,n<=24?k.Math.floor(e.a*qme[n]):(r=e.a*(1<=2147483648&&(i-=4294967296),i)}function IUe(e,n,t){var i,r,c,o,l,f,h;for(c=new Te,h=new xi,o=new xi,hLn(e,h,o,n),XPn(e,h,o,n,t),f=new P(e);f.ai.b.g&&qn(c.c,i);return c}function ZOn(e,n,t){var i,r,c,o,l,f;for(l=e.c,o=(t.q?t.q:(En(),En(),r1)).vc().Jc();o.Ob();)c=u(o.Pb(),45),i=!w9(li(new mn(null,new yn(l,16)),new s9(new yCe(n,c)))).zd(($b(),Sy)),i&&(f=c.kd(),X(f,4)&&(r=yde(f),r!=null&&(f=r)),n.of(u(c.jd(),147),f))}function eNn(e,n){var t,i,r,c;for(n.Tg("Resize child graph to fit parent.",1),i=new P(e.b);i.a1)for(r=new P(e.a);r.a=0?e.Ih(i,!0,!0):Xw(e,c,!0),163)),u(r,219).Vl(n,t)}else throw R(new Un(nb+n.ve()+LS))}function iNn(e,n,t){var i,r,c,o,l,f;if(f=Ele(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Xse(e,T2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Xse(e,T2(n)),o=(Ln(t),t+(Ln(r),r)),c=Xse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function rNn(e,n,t){var i,r,c,o,l,f;if(f=Ele(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Kse(e,T2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Kse(e,T2(n)),o=(Ln(t),t+(Ln(r),r)),c=Kse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function Iz(e,n){var t,i,r,c,o;if(n){for(c=X(e.Cb,88)||X(e.Cb,103),o=!c&&X(e.Cb,335),i=new st((!n.a&&(n.a=new iE(n,Rc,n)),n.a));i.e!=i.i.gc();)if(t=u(ft(i),87),r=Gz(t),c?X(r,88):o?X(r,159):r)return r;return c?(jn(),jf):(jn(),rh)}else return null}function cNn(e,n){var t,i,r,c,o;for(t=new Te,r=lu(new mn(null,new yn(e,16)),new z5),c=lu(new mn(null,new yn(e,16)),new Mk),o=V9n(w9n(C2(wNn(F(z(DBn,1),Nn,832,0,[r,c])),new m_))),i=1;i=2*n&&Ce(t,new WK(o[i-1]+n,o[i]-n));return t}function DUe(e,n,t){var i,r,c,o,l,f,h,b;if(t)for(c=t.a.length,i=new Jb(c),l=(i.b-i.a)*i.c<0?(S0(),Eb):new M0(i);l.Ob();)o=u(l.Pb(),15),r=F9(t,o.a),r&&(f=j6n(e,(h=(j0(),b=new voe,b),n&&kbe(h,n),h),r),V9(f,N1(r,Ch)),jz(r,f),H0e(r,f),nQ(e,r,f))}function Dz(e){var n,t,i,r,c,o;if(!e.j){if(o=new EL,n=lA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),r=Dz(t),nr(o,r),Et(o,t);n.a.Ac(e)!=null}F2(o),e.j=new Pv((u(K(ge((C0(),Bn).o),11),19),o.i),o.g),Ms(e).b&=-33}return e.j}function uNn(e){var n,t,i,r;if(e==null)return null;if(i=bo(e,!0),r=qN.length,bn(i.substr(i.length-r,r),qN)){if(t=i.length,t==4){if(n=(Wn(0,i.length),i.charCodeAt(0)),n==43)return g7e;if(n==45)return khn}else if(t==3)return g7e}return new aoe(i)}function oNn(e){var n,t,i;return t=e.l,(t&t-1)!=0||(i=e.m,(i&i-1)!=0)||(n=e.h,(n&n-1)!=0)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?Phe(t):n==0&&i!=0&&t==0?Phe(i)+22:n!=0&&i==0&&t==0?Phe(n)+44:-1}function d3(e,n){var t,i,r,c,o;for(r=n.a&e.f,c=null,i=e.b[r];;i=i.b){if(i==n){c?c.b=n.b:e.b[r]=n.b;break}c=i}for(o=n.f&e.f,c=null,t=e.c[o];;t=t.d){if(t==n){c?c.d=n.d:e.c[o]=n.d;break}c=t}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g}function sNn(e,n){var t;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(t=u(uf(u(z4(e.b,n.a),262)),262),t.a=0,++e.c):(t=u(uf(u(zn(e.b,n.a),262)),262),--t.a,n.e?n.e.c=n.c:t.b=u(uf(n.c),497),n.c?n.c.e=n.e:t.c=u(uf(n.e),497)),--e.d}function CW(e,n){var t,i,r,c;for(c=new qr(e,0),t=(at(c.b0),c.a.Xb(c.c=--c.b),y2(c,r),at(c.b3&&Vh(e,0,n-3))}function fNn(e){var n,t,i,r;return ue(C(e,(Oe(),Em)))===ue((B1(),Wd))?!e.e&&ue(C(e,hI))!==ue((e8(),rI)):(i=u(C(e,Nie),302),r=Fe(ze(C(e,Iie)))||ue(C(e,px))===ue((zE(),tI)),n=u(C(e,z5e),15).a,t=e.a.c.length,!r&&i!=(e8(),rI)&&(n==0||n>t))}function aNn(e,n){var t,i,r,c,o,l,f;for(r=e.Jc();r.Ob();)for(i=u(r.Pb(),9),l=new Qu,wu(l,i),Ar(l,(Ie(),nt)),he(l,(me(),uH),($n(),!0)),o=n.Jc();o.Ob();)c=u(o.Pb(),9),f=new Qu,wu(f,c),Ar(f,Yn),he(f,uH,!0),t=new Ow,he(t,uH,!0),fc(t,l),Gr(t,f)}function hNn(e){var n,t;for(t=0;t0);t++);if(t>0&&t0);n++);return n>0&&t>16!=6&&n){if(m8(e,n))throw R(new Un(PS+Kqe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Jde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=Z4(n,e,6,i)),i=Tle(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,6,n,n))}function _z(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(m8(e,n))throw R(new Un(PS+RKe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Ude(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=Z4(n,e,12,i)),i=Cle(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function kbe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(m8(e,n))throw R(new Un(PS+LXe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Gde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=Z4(n,e,9,i)),i=Ole(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,9,n,n))}function A8(e){var n,t,i,r,c;if(i=ff(e),c=e.j,c==null&&i)return e.Hk()?null:i.gk();if(X(i,159)){if(t=i.hk(),t&&(r=t.ti(),r!=e.i)){if(n=u(i,159),n.lk())try{e.g=r.qi(n,c)}catch(o){if(o=sr(o),X(o,80))e.g=null;else throw R(o)}e.i=r}return e.g}return null}function RUe(e){var n;return n=new Te,Ce(n,new g4(new Ee(e.c,e.d),new Ee(e.c+e.b,e.d))),Ce(n,new g4(new Ee(e.c,e.d),new Ee(e.c,e.d+e.a))),Ce(n,new g4(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c+e.b,e.d))),Ce(n,new g4(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c,e.d+e.a))),n}function bNn(e){var n,t,i,r;for(i=e.a.d.j,r=e.c.d.j,t=new P(e.i.d);t.a>>0),t.toString(16)),qEn(G7n(),(y9(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+Pb(n.Pm)+">";throw R(r)}}function wNn(e){var n,t,i,r,c,o,l,f,h;for(i=!1,n=336,t=0,c=new eNe(e.length),l=e,f=0,h=l.length;f1)for(n=kw((t=new Lb,++e.b,t),e.d),l=St(c,0);l.b!=l.d.c;)o=u(jt(l),124),Jf(Of(Tf(Nf(Cf(new tf,1),0),n),o))}function Lz(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=11&&n){if(m8(e,n))throw R(new Un(PS+Jbe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Xde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=Z4(n,e,10,i)),i=Gle(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,n,n))}function kNn(e,n,t){var i,r,c,o,l,f;if(c=0,o=0,e.c)for(f=new P(e.d.i.j);f.ac.a?-1:r.af){for(b=e.d,e.d=le(z8e,nme,67,2*f+4,0,1),c=0;c=9223372036854776e3?(U9(),jme):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=hg&&(i=lc(e/hg),e-=i*hg),t=0,e>=dy&&(t=lc(e/dy),e-=t*dy),n=lc(e),c=_o(n,t,i),r&&eQ(c),c)}function DNn(e){var n,t,i,r,c;if(c=new Te,Ao(e.b,new Kke(c)),e.b.c.length=0,c.c.length!=0){for(n=(kn(0,c.c.length),u(c.c[0],80)),t=1,i=c.c.length;t>16!=7&&n){if(m8(e,n))throw R(new Un(PS+HGe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Hde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,1,QI,i)),i=Mfe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,n,n))}function FUe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(m8(e,n))throw R(new Un(PS+IFe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?qde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,0,ZI,i)),i=Cfe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function TW(e,n){C8();var t,i,r,c,o,l,f,h,b;return n.d>e.d&&(l=e,e=n,n=l),n.d<63?EIn(e,n):(o=(e.d&-2)<<4,h=Vae(e,o),b=Vae(n,o),i=VW(e,B4(h,o)),r=VW(n,B4(b,o)),f=TW(h,b),t=TW(i,r),c=TW(VW(h,i),VW(r,b)),c=tZ(tZ(c,f),t),c=B4(c,o),f=B4(f,o<<1),tZ(tZ(f,c),t))}function WO(){WO=Y,Vie=new Iv(zQe,0),M4e=new Iv("LONGEST_PATH",1),C4e=new Iv("LONGEST_PATH_SOURCE",2),Xie=new Iv("COFFMAN_GRAHAM",3),A4e=new Iv(cee,4),T4e=new Iv("STRETCH_WIDTH",5),xH=new Iv("MIN_WIDTH",6),Uie=new Iv("BF_MODEL_ORDER",7),Kie=new Iv("DF_MODEL_ORDER",8)}function RNn(e,n){var t,i,r,c,o,l;if(!e.tb){for(c=(!e.rb&&(e.rb=new x2(e,Ma,e)),e.rb),l=new b4(c.i),r=new st(c);r.e!=r.i.gc();)i=u(ft(r),143),o=i.ve(),t=u(o==null?Ko(l.f,null,i):Bw(l.i,o,i),143),t&&(o==null?Ko(l.f,null,t):Bw(l.i,o,t));e.tb=l}return u(lo(e.tb,n),143)}function ZO(e,n){var t,i,r,c,o;if((e.i==null&&kh(e),e.i).length,!e.p){for(o=new b4((3*e.g.i/2|0)+1),r=new E4(e.g);r.e!=r.i.gc();)i=u(PQ(r),179),c=i.ve(),t=u(c==null?Ko(o.f,null,i):Bw(o.i,c,i),179),t&&(c==null?Ko(o.f,null,t):Bw(o.i,c,t));e.p=o}return u(lo(e.p,n),179)}function Mbe(e,n,t,i,r){var c,o,l,f,h;for(LEn(i+_R(t,t.ge()),r),pDe(n,Wjn(t)),c=t.f,c&&Mbe(e,n,c,"Caused by: ",!1),l=(t.k==null&&(t.k=le(nte,Ae,80,0,0,1)),t.k),f=0,h=l.length;f=0;c+=t?1:-1)o=o|n.c.jg(f,c,t,i&&!Fe(ze(C(n.j,(me(),ob))))&&!Fe(ze(C(n.j,(me(),B3))))),o=o|n.q.tg(f,c,t),o=o|CXe(e,f[c],t,i);return hr(e.c,n),o}function $z(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(b=ULe(e.j),p=0,y=b.length;p1&&(e.a=!0),h3n(u(t.b,68),pi(pc(u(n.b,68).c),A1(Nr(pc(u(t.b,68).a),u(n.b,68).a),r))),tLe(e,n),HUe(e,t)}function GUe(e){var n,t,i,r,c,o,l;for(c=new P(e.a.a);c.a0&&c>0?o.p=n++:i>0?o.p=t++:c>0?o.p=r++:o.p=t++}En(),Tr(e.j,new _q)}function HNn(e){var n,t;t=null,n=u(Le(e.g,0),17);do{if(t=n.d.i,wi(t,(me(),gf)))return u(C(t,gf),12).i;if(t.k!=(Fn(),Wi)&&ht(new Xn(Qn(Ii(t).a.Jc(),new ee))))n=u(ct(new Xn(Qn(Ii(t).a.Jc(),new ee))),17);else if(t.k!=Wi)return null}while(t&&t.k!=(Fn(),Wi));return t}function GNn(e,n){var t,i,r,c,o,l,f,h,b;for(l=n.j,o=n.g,f=u(Le(l,l.c.length-1),113),b=(kn(0,l.c.length),u(l.c[0],113)),h=QQ(e,o,f,b),c=1;ch&&(f=t,b=r,h=i);n.a=b,n.c=f}function Kw(e,n,t,i){var r,c;if(r=ue(C(t,(Oe(),gx)))===ue(($0(),ym)),c=u(C(t,B5e),16),wi(e,(me(),Oi)))if(r){if(c.Gc(C(e,wx))&&c.Gc(C(n,wx)))return i*u(C(e,wx),15).a+u(C(e,Oi),15).a}else return u(C(e,Oi),15).a;else return-1;return u(C(e,Oi),15).a}function qNn(e,n,t){var i,r,c,o,l,f,h;for(h=new kd(new bEe(e)),o=F(z(uin,1),fQe,12,0,[n,t]),l=0,f=o.length;lf-e.b&&lf-e.a&&lt.p?1:0:c.Ob()?1:-1}function ZNn(e,n){var t,i,r,c,o,l;n.Tg(fWe,1),r=u(ke(e,(Ha(),zx)),104),c=(!e.a&&(e.a=new we(Ft,e,10,11)),e.a),o=yxn(c),l=k.Math.max(o.a,ne(re(ke(e,(Qh(),Bx))))-(r.b+r.c)),i=k.Math.max(o.b,ne(re(ke(e,UH)))-(r.d+r.a)),t=i-o.b,Ei(e,Rx,t),Ei(e,Fy,l),Ei(e,R7,i+t),n.Ug()}function Rz(e){var n,t;if((!e.a&&(e.a=new we($i,e,6,6)),e.a).i==0)return l1e(e);for(n=u(K((!e.a&&(e.a=new we($i,e,6,6)),e.a),0),170),kt((!n.a&&(n.a=new mr(yl,n,5)),n.a)),e3(n,0),n3(n,0),Wv(n,0),Zv(n,0),t=(!e.a&&(e.a=new we($i,e,6,6)),e.a);t.i>1;)Z2(t,t.i-1);return n}function Po(e,n){Tc();var t,i,r,c;return n?n==(Si(),vhn)||(n==ohn||n==Pg||n==uhn)&&e!=d7e?new Age(e,n):(i=u(n,682),t=i.Yk(),t||($9(Vc((ls(),nc),n)),t=i.Yk()),c=(!t.i&&(t.i=new wt),t.i),r=u(bu(Xc(c.f,e)),2003),!r&&ei(c,e,r=new Age(e,n)),r):ihn}function eIn(e,n){var t,i;if(i=RT(e.b,n.b),!i)throw R(new Uc("Invalid hitboxes for scanline constraint calculation."));(Sze(n.b,u(jgn(e.b,n.b),60))||Sze(n.b,u(kgn(e.b,n.b),60)))&&jd(),e.a[n.b.f]=u(BX(e.b,n.b),60),t=u(RX(e.b,n.b),60),t&&(e.a[t.f]=n.b)}function nIn(e,n){var t,i,r,c,o,l,f,h,b;for(f=u(C(e,(me(),mi)),12),h=mu(F(z(Lr,1),Ae,8,0,[f.i.n,f.n,f.a])).a,b=e.i.n.b,t=gh(e.e),r=t,c=0,o=r.length;c0?c.a?(l=c.b.Kf().a,t>l&&(r=(t-l)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:uE(e.u)&&(i=m0e(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Kf().a&&(c.d.c=i.c+i.b-c.b.Kf().a))}function oIn(e,n){var t,i,r,c,o;o=new Te,t=n;do c=u(zn(e.b,t),132),c.B=t.c,c.D=t.d,qn(o.c,c),t=u(zn(e.k,t),17);while(t);return i=(kn(0,o.c.length),u(o.c[0],132)),i.j=!0,i.A=u(i.d.a.ec().Jc().Pb(),17).c.i,r=u(Le(o,o.c.length-1),132),r.q=!0,r.C=u(r.d.a.ec().Jc().Pb(),17).d.i,o}function sIn(e){var n,t;t=u(C(e,(Oe(),ku)),165),n=u(C(e,(me(),jg)),315),t==(Xs(),V1)?(he(e,ku,fI),he(e,jg,(_1(),$3))):t==Sg?(he(e,ku,fI),he(e,jg,(_1(),Ty))):n==(_1(),$3)?(he(e,ku,V1),he(e,jg,uI)):n==Ty&&(he(e,ku,Sg),he(e,jg,uI))}function Bz(){Bz=Y,kI=new Xp,Jon=qt(new or,(zr(),eo),(Ur(),CJ)),qon=Eo(qt(new or,eo,PJ),Pc,LJ),Uon=mh(mh(Nj(Eo(qt(new or,Xf,zJ),Pc,BJ),no),RJ),FJ),Hon=Eo(qt(qt(qt(new or,c1,OJ),no,IJ),no,p7),Pc,NJ),Gon=Eo(qt(qt(new or,no,p7),no,MJ),Pc,AJ)}function rS(){rS=Y,Von=qt(Eo(new or,(zr(),Pc),(Ur(),Jve)),eo,CJ),Zon=mh(mh(Nj(Eo(qt(new or,Xf,zJ),Pc,BJ),no),RJ),FJ),Yon=Eo(qt(qt(qt(new or,c1,OJ),no,IJ),no,p7),Pc,NJ),Won=qt(qt(new or,eo,PJ),Pc,LJ),Qon=Eo(qt(qt(new or,no,p7),no,MJ),Pc,AJ)}function lIn(e,n,t,i,r){var c,o;(!uc(n)&&n.c.i.c==n.d.i.c||!NBe(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])),t))&&!uc(n)&&(n.c==r?S9(n.a,0,new wc(t)):Vt(n.a,new wc(t)),i&&!rf(e.a,t)&&(o=u(C(n,(Oe(),Wc)),78),o||(o=new xs,he(n,Wc,o)),c=new wc(t),Ki(o,c,o.c.b,o.c),hr(e.a,c)))}function XUe(e,n){var t,i,r,c;for(c=Rt(hc(e1,Xh(Rt(hc(n==null?0:Ni(n),n1)),15))),t=c&e.b.length-1,r=null,i=e.b[t];i;r=i,i=i.a)if(i.d==c&&C1(i.i,n))return r?r.a=i.a:e.b[t]=i.a,aAe(u(uf(i.c),593),u(uf(i.f),593)),VC(u(uf(i.b),227),u(uf(i.e),227)),--e.f,++e.e,!0;return!1}function fIn(e){var n,t;for(t=new Xn(Qn(cr(e).a.Jc(),new ee));ht(t);)if(n=u(ct(t),17),n.c.i.k!=(Fn(),Uu))throw R(new md(ree+$O(e)+"' 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 KUe(e,n){var t,i,r,c,o,l,f,h,b,p,y;r=n?new rw:new oM,c=!1;do for(c=!1,h=n?Ks(e.b):e.b,f=h.Jc();f.Ob();)for(l=u(f.Pb(),25),y=Vb(l.a),n||Ks(y),p=new P(y);p.a=0;o+=r?1:-1){for(l=n[o],f=i==(Ie(),nt)?r?vu(l,i):Ks(vu(l,i)):r?Ks(vu(l,i)):vu(l,i),c&&(e.c[l.p]=f.gc()),p=f.Jc();p.Ob();)b=u(p.Pb(),12),e.d[b.p]=h++;Sr(t,f)}}function YUe(e,n,t){var i,r,c,o,l,f,h,b;for(c=ne(re(e.b.Jc().Pb())),h=ne(re(q7n(n.b))),i=A1(pc(e.a),h-t),r=A1(pc(n.a),t-c),b=pi(i,r),A1(b,1/(h-c)),this.a=b,this.b=new Te,l=!0,o=e.b.Jc(),o.Pb();o.Ob();)f=ne(re(o.Pb())),l&&f-t>Kee&&(this.b.Ec(t),l=!1),this.b.Ec(f);l&&this.b.Ec(t)}function hIn(e){var n,t,i,r;if(TDn(e,e.n),e.d.c.length>0){for(kj(e.c);obe(e,u(L(new P(e.e.a)),124))>5,n&=31,i>=e.d)return e.e<0?(yh(),cnn):(yh(),VS);if(c=e.d-i,r=le($t,ni,30,c+1,15,1),wCn(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n!=0){for(t=0;t=0?!1:(t=w3((ls(),nc),r,n),t?(i=t.Gk(),(i>1||i==-1)&&Cw(Vc(nc,t))!=3):!0)):!1}function mIn(e,n,t,i){var r,c,o,l,f,h,b,p,y,S;if(f=e.c.d,h=e.d.d,f.j!=h.j)for(S=e.b,b=null,l=null,o=DEn(e),o&&S.i&&(b=e.b.i.i,l=S.i.j),r=f.j,p=null;r!=h.j;)p=n==0?qB(r):X1e(r),c=xde(r,S.d[r.g],t),y=xde(p,S.d[p.g],t),o&&b&&l&&(r==b?HFe(c,b,l):p==b&&HFe(y,b,l)),Vt(i,pi(c,y)),r=p}function Obe(e,n,t){var i,r,c,o,l,f;if(i=sgn(t,e.length),o=e[i],c=wAe(t,o.length),o[c].k==(Fn(),wr))for(f=n.j,r=0;r0&&(t[0]+=e.d,o-=t[0]),t[2]>0&&(t[2]+=e.d,o-=t[2]),c=k.Math.max(0,o),t[1]=k.Math.max(t[1],o),Qae(e,No,r.c+i.b+t[0]-(t[1]-o)/2,t),n==No&&(e.c.b=c,e.c.c=r.c+i.b+(c-o)/2)}function rXe(){this.c=le(Jr,Jc,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),this.a=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),use(this.c,Vi),use(this.b,Ir),use(this.a,Ir)}function SIn(e,n,t,i){var r,c,o,l,f;for(f=n.i,l=t[f.g][e.d[f.g]],r=!1,o=new P(n.d);o.a=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||h3(e)}}function xIn(e,n,t){var i,r,c,o,l,f,h;for(h=n.d,e.a=new xo(h.c.length),e.c=new wt,l=new P(h);l.a=0?e.Ih(h,!1,!0):Xw(e,t,!1),61));e:for(c=p.Jc();c.Ob();){for(r=u(c.Pb(),57),b=0;be.d[o.p]&&(t+=Hae(e.b,c),I0(e.a,ve(c)));for(;!jj(e.a);)Ehe(e.b,u(N4(e.a),15).a)}return t}function oXe(e,n,t){var i,r,c,o;for(c=(!n.a&&(n.a=new we(Ft,n,10,11)),n.a).i,r=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ft(r),26),(!i.a&&(i.a=new we(Ft,i,10,11)),i.a).i==0||(c+=oXe(e,i,!1));if(t)for(o=Fi(n);o;)c+=(!o.a&&(o.a=new we(Ft,o,10,11)),o.a).i,o=Fi(o);return c}function Z2(e,n){var t,i,r,c;return e.Nj()?(i=null,r=e.Oj(),e.Rj()&&(i=e.Tj(e.Yi(n),null)),t=e.Gj(4,c=ey(e,n),null,n,r),e.Kj()&&c!=null&&(i=e.Mj(c,i)),i?(i.lj(t),i.mj()):e.Hj(t),c):(c=ey(e,n),e.Kj()&&c!=null&&(i=e.Mj(c,null),i&&i.mj()),c)}function IIn(e){var n,t,i,r,c,o,l,f,h,b;for(h=e.a,n=new ar,f=0,i=new P(e.d);i.al.d&&(b=l.d+l.a+h));t.c.d=b,n.a.yc(t,n),f=k.Math.max(f,t.c.d+t.c.a)}return f}function DIn(e,n,t){var i,r,c,o,l,f;for(o=u(C(e,(me(),pie)),16).Jc();o.Ob();){switch(c=u(o.Pb(),9),u(C(c,(Oe(),ku)),165).g){case 2:Or(c,n);break;case 4:Or(c,t)}for(r=new Xn(Qn(wh(c).a.Jc(),new ee));ht(r);)i=u(ct(r),17),!(i.c&&i.d)&&(l=!i.d,f=u(C(i,Q3e),12),l?Gr(i,f):fc(i,f))}}function Ic(){Ic=Y,ZJ=new h2("COMMENTS",0),Kl=new h2("EXTERNAL_PORTS",1),ux=new h2("HYPEREDGES",2),eH=new h2("HYPERNODES",3),A7=new h2("NON_FREE_PORTS",4),P3=new h2("NORTH_SOUTH_PORTS",5),ox=new h2(CQe,6),S7=new h2("CENTER_LABELS",7),x7=new h2("END_LABELS",8),nH=new h2("PARTITIONS",9)}function _In(e,n,t,i,r){return i<0?(i=a3(e,r,F(z(He,1),Ae,2,6,[vZ,yZ,kZ,jZ,ay,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=a3(e,r,F(z(He,1),Ae,2,6,["Jan","Feb","Mar","Apr",ay,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function LIn(e,n,t,i,r){return i<0?(i=a3(e,r,F(z(He,1),Ae,2,6,[vZ,yZ,kZ,jZ,ay,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=a3(e,r,F(z(He,1),Ae,2,6,["Jan","Feb","Mar","Apr",ay,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function PIn(e,n,t,i,r,c){var o,l,f,h;if(l=32,i<0){if(n[0]>=e.length||(l=rc(e,n[0]),l!=43&&l!=45)||(++n[0],i=Cz(e,n),i<0))return!1;l==45&&(i=-i)}return l==32&&n[0]-t==2&&r.b==2&&(f=new r$,h=f.q.getFullYear()-Q0+Q0-80,o=h%100,c.a=i==o,i+=(h/100|0)*100+(i=0?J0(e):lE(J0(Od(e)))),YS[n]=N$(qh(e,n),0)?J0(qh(e,n)):lE(J0(Od(qh(e,n)))),e=hc(e,5);for(;n=h&&(f=i);f&&(b=k.Math.max(b,f.a.o.a)),b>y&&(p=h,y=b)}return p}function FIn(e){var n,t,i,r,c,o,l;for(c=new kd(u(Nt(new Op),51)),l=Ir,t=new P(e.d);t.arWe?Tr(f,e.b):i<=rWe&&i>cWe?Tr(f,e.d):i<=cWe&&i>uWe?Tr(f,e.c):i<=uWe&&Tr(f,e.a),c=aXe(e,f,c);return r}function hXe(e,n,t,i){var r,c,o,l,f,h;for(r=(i.c+i.a)/2,qs(n.j),Vt(n.j,r),qs(t.e),Vt(t.e,r),h=new bAe,l=new P(e.f);l.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),xE(n.a,F(z(Lr,1),Ae,8,0,[y,p]))}function Dbe(e,n,t){var i,r;for(n=48;t--)dA[t]=t-48<<24>>24;for(i=70;i>=65;i--)dA[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)dA[r]=r-97+10<<24>>24;for(c=0;c<10;c++)OG[c]=48+c&yr;for(e=10;e<=15;e++)OG[e]=65+e-10&yr}function wXe(e,n){n.Tg("Process graph bounds",1),he(e,(Ti(),pre),oT(GY(C2(new mn(null,new yn(e.b,16)),new eU)))),he(e,mre,oT(GY(C2(new mn(null,new yn(e.b,16)),new Bs)))),he(e,mye,oT(HY(C2(new mn(null,new yn(e.b,16)),new jM)))),he(e,vye,oT(HY(C2(new mn(null,new yn(e.b,16)),new EM)))),n.Ug()}function UIn(e){var n,t,i,r,c;r=u(C(e,(Oe(),Ag)),22),c=u(C(e,kH),22),t=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new wc(t),r.Gc((Vs(),Jm))&&(i=u(C(e,T7),8),c.Gc((_s(),X7))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=k.Math.max(t.a,i.a),n.b=k.Math.max(t.b,i.b)),Fe(ze(C(e,Bie)))||mLn(e,t,n)}function XIn(e){var n,t,i,r,c,o,l;for(n=!1,t=0,r=new P(e.d.b);r.a>19!=0)return"-"+pXe(t8(e));for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=lY(rF),t=mge(t,r,!0),n=""+IAe(tb),!(t.l==0&&t.m==0&&t.h==0))for(c=9-n.length;c>0;c--)n="0"+n;i=n+i}return i}function KIn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",n=Object.create(null);if(n[e]!==void 0)return!1;var t=Object.getOwnPropertyNames(n);return!(t.length!=0||(n[e]=42,n[e]!==42)||Object.getOwnPropertyNames(n).length==0)}function VIn(e,n,t){var i,r,c,o,l,f,h,b,p;for(i=t.c,r=t.d,l=La(n.c),f=La(n.d),i==n.c?(l=vbe(e,l,r),f=mGe(n.d)):(l=mGe(n.c),f=vbe(e,f,r)),h=new XP(n.a),Ki(h,l,h.a,h.a.a),Ki(h,f,h.c.b,h.c),o=n.c==i,p=new uxe,c=0;c=e.a||!b0e(n,t))return-1;if(I2(u(i.Kb(n),20)))return 1;for(r=0,o=u(i.Kb(n),20).Jc();o.Ob();)if(c=u(o.Pb(),17),f=c.c.i==n?c.d.i:c.c.i,l=Pbe(e,f,t,i),l==-1||(r=k.Math.max(r,l),r>e.c-1))return-1;return r+1}function Ha(){Ha=Y,KH=new Yr((Xt(),B7),1.3),Cln=new Yr($m,($n(),!1)),k6e=new yw(15),zx=new Yr(s1,k6e),Fx=new Yr(Qd,15),Sln=DI,Mln=Ig,Tln=n5,Oln=bb,Aln=e5,Ure=$I,Nln=Rm,x6e=(nge(),kln),S6e=yln,Kre=Eln,A6e=jln,y6e=pln,Xre=wln,v6e=gln,E6e=vln,p6e=PI,xln=pce,MI=hln,w6e=aln,CI=dln,j6e=mln,m6e=bln}function mXe(e,n){var t,i,r,c,o,l;if(ue(n)===ue(e))return!0;if(!X(n,16)||(i=u(n,16),l=e.gc(),i.gc()!=l))return!1;if(o=i.Jc(),e.Wi()){for(t=0;t0){if(e.Zj(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw R(new fh("Invalid hexadecimal"))}}function yXe(e,n,t,i){var r,c,o,l,f,h;for(f=iW(e,t),h=iW(n,t),r=!1;f&&h&&(i||nxn(f,h,t));)o=iW(f,t),l=iW(h,t),cO(n),cO(e),c=f.c,iZ(f,!1),iZ(h,!1),t?(H0(n,h.p,c),n.p=h.p,H0(e,f.p+1,c),e.p=f.p):(H0(e,f.p,c),e.p=f.p,H0(n,h.p+1,c),n.p=h.p),Or(f,null),Or(h,null),f=o,h=l,r=!0;return r}function kXe(e){switch(e.g){case 0:return new uP;case 1:return new oP;case 3:return new OMe;case 4:return new C6;case 5:return new cNe;case 6:return new ko;case 2:return new sP;case 7:return new EC;case 8:return new jC;default:throw R(new Un("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function ZIn(e,n,t,i){var r,c,o,l,f;for(r=!1,c=!1,l=new P(i.j);l.a=n.length)throw R(new jo("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new NT(i),RY(this.e,this.c,(Ie(),Yn)),this.i=new NT(i),RY(this.i,this.c,nt),this.f=new OIe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Fn(),wr),this.a&&kCn(this,e,n.length)}function EXe(e,n){var t,i,r,c,o,l;c=!e.B.Gc((_s(),KI)),o=e.B.Gc(Oce),e.a=new uJe(o,c,e.c),e.n&&sae(e.a.n,e.n),AX(e.g,(wa(),No),e.a),n||(i=new HE(1,c,e.c),i.n.a=e.k,I4(e.p,(Ie(),Vn),i),r=new HE(1,c,e.c),r.n.d=e.k,I4(e.p,bt,r),l=new HE(0,c,e.c),l.n.c=e.k,I4(e.p,Yn,l),t=new HE(0,c,e.c),t.n.b=e.k,I4(e.p,nt,t))}function nDn(e){var n,t,i;switch(n=u(C(e.d,(Oe(),Y1)),222),n.g){case 2:t=HRn(e);break;case 3:t=(i=new Te,er(li(So(lu(lu(new mn(null,new yn(e.d.b,16)),new nw),new n_),new yk),new h0),new Gje(i)),i);break;default:throw R(new Uc("Compaction not supported for "+n+" edges."))}dPn(e,t),cc(new it(e.g),new zje(e))}function tDn(e,n){var t,i,r,c,o,l,f;if(n.Tg("Process directions",1),t=u(C(e,(Mu(),kp)),86),t!=(vr(),eh))for(r=St(e.b,0);r.b!=r.d.c;){switch(i=u(jt(r),40),l=u(C(i,(Ti(),SI)),15).a,f=u(C(i,xI),15).a,t.g){case 4:f*=-1;break;case 1:c=l,l=f,f=c;break;case 2:o=l,l=-f,f=o}he(i,SI,ve(l)),he(i,xI,ve(f))}n.Ug()}function iDn(e){var n,t,i,r,c,o,l,f;for(f=new zPe,l=new P(e.a);l.a0&&n=0)return!1;if(n.p=t.b,Ce(t.e,n),r==(Fn(),dr)||r==wo){for(o=new P(n.j);o.ae.d[l.p]&&(t+=Hae(e.b,c),I0(e.a,ve(c)))):++o;for(t+=e.b.d*o;!jj(e.a);)Ehe(e.b,u(N4(e.a),15).a)}return t}function _Xe(e){var n,t,i,r,c,o;return c=0,n=ff(e),n.ik()&&(c|=4),(e.Bb&as)!=0&&(c|=2),X(e,103)?(t=u(e,19),r=Oc(t),(t.Bb&Ru)!=0&&(c|=32),r&&(dt(O2(r)),c|=8,o=r.t,(o>1||o==-1)&&(c|=16),(r.Bb&Ru)!=0&&(c|=64)),(t.Bb&Ec)!=0&&(c|=V0),c|=Gf):X(n,459)?c|=512:(i=n.ik(),i&&(i.i&1)!=0&&(c|=256)),(e.Bb&512)!=0&&(c|=128),c}function gDn(e,n){var t;return e.f==Gce?(t=Cw(Vc((ls(),nc),n)),e.e?t==4&&n!=(cy(),Zy)&&n!=(cy(),Wy)&&n!=(cy(),qce)&&n!=(cy(),Uce):t==2):e.d&&(e.d.Gc(n)||e.d.Gc($4(Vc((ls(),nc),n)))||e.d.Gc(w3((ls(),nc),e.b,n)))?!0:e.f&&jbe((ls(),e.f),FT(Vc(nc,n)))?(t=Cw(Vc(nc,n)),e.e?t==4:t==2):!1}function wDn(e,n){var t,i,r,c,o,l,f,h;for(c=new Te,n.b.c.length=0,t=u(gs(Eae(new mn(null,new yn(new it(e.a.b),1))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16),r=t.Jc();r.Ob();)if(i=u(r.Pb(),15),o=Pae(e.a,i),o.b!=0)for(l=new Xu(n),qn(c.c,l),l.p=i.a,h=St(o,0);h.b!=h.d.c;)f=u(jt(h),9),Or(f,l);Sr(n.b,c)}function LW(e){var n,t,i,r,c,o,l;for(l=new wt,i=new P(e.a.b);i.agg&&(r-=gg),l=u(ke(i,Uy),8),h=l.a,p=l.b+e,c=k.Math.atan2(p,h),c<0&&(c+=gg),c+=n,c>gg&&(c-=gg),Na(),Rf(1e-10),k.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:Bb(isNaN(r),isNaN(c))}function Fbe(e,n,t,i){var r,c,o;n&&(c=ne(re(C(n,(Ti(),Vd))))+i,o=t+ne(re(C(n,RH)))/2,he(n,SI,ve(Rt(Lu(k.Math.round(c))))),he(n,xI,ve(Rt(Lu(k.Math.round(o))))),n.d.b==0||Fbe(e,u(R$((r=St(new S1(n).a.d,0),new Cv(r))),40),t+ne(re(C(n,RH)))+e.b,i+ne(re(C(n,$7)))),C(n,yre)!=null&&Fbe(e,u(C(n,yre),40),t,i))}function yDn(e,n){var t,i,r,c;if(c=u(ke(e,(Xt(),t5)),64).g-u(ke(n,t5),64).g,c!=0)return c;if(t=u(ke(e,jce),15),i=u(ke(n,jce),15),t&&i&&(r=t.a-i.a,r!=0))return r;switch(u(ke(e,t5),64).g){case 1:return ji(e.i,n.i);case 2:return ji(e.j,n.j);case 3:return ji(n.i,e.i);case 4:return ji(n.j,e.j);default:throw R(new Uc(dwe))}}function Jbe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new tl(R2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new we(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new we(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(ww(Kt(ww(Kt(ww(Kt(ww((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function LXe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new tl(B2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new we(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new we(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(ww(Kt(ww(Kt(ww(Kt(ww((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function kDn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A;for(S=-1,A=0,b=n,p=0,y=b.length;p0&&++A;++S}return A}function jDn(e,n){var t,i,r,c,o;for(n==(DE(),ure)&&qO(u(vi(e.a,(X2(),nI)),16)),r=u(vi(e.a,(X2(),nI)),16).Jc();r.Ob();)switch(i=u(r.Pb(),107),t=u(Le(i.j,0),113).d.j,c=new bs(i.j),Tr(c,new I5),n.g){case 2:sW(e,c,t,($w(),ub),1);break;case 1:case 0:o=hNn(c),sW(e,new N0(c,0,o),t,($w(),ub),0),sW(e,new N0(c,o,c.c.length),t,ub,1)}}function EDn(e){var n,t,i,r,c,o,l;for(r=u(C(e,(me(),bp)),9),i=e.j,t=(kn(0,i.c.length),u(i.c[0],12)),o=new P(r.j);o.ar.p?(Ar(c,bt),c.d&&(l=c.o.b,n=c.a.b,c.a.b=l-n)):c.j==bt&&r.p>e.p&&(Ar(c,Vn),c.d&&(l=c.o.b,n=c.a.b,c.a.b=-(l-n)));break}return r}function Hbe(e,n){var t,i,r,c,o,l,f;if(n==null||n.length==0)return null;if(r=u(lo(e.a,n),144),!r){for(i=(l=new ot(e.b).a.vc().Jc(),new Hi(l));i.a.Ob();)if(t=(c=u(i.a.Pb(),45),u(c.kd(),144)),o=t.c,f=n.length,bn(o.substr(o.length-f,f),n)&&(n.length==o.length||rc(o,o.length-n.length-1)==46)){if(r)return null;r=t}r&&Kc(e.a,n,r)}return r}function T8(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(c=new Ee(n,t),b=new P(e.a);b.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),xE(n.a,F(z(Lr,1),Ae,8,0,[y,p]))}function X0(){X0=Y,CH=new d2(va,0),pI=new d2("NIKOLOV",1),mI=new d2("NIKOLOV_PIXEL",2),P4e=new d2("NIKOLOV_IMPROVED",3),$4e=new d2("NIKOLOV_IMPROVED_PIXEL",4),L4e=new d2("DUMMYNODE_PERCENTAGE",5),R4e=new d2("NODECOUNT_PERCENTAGE",6),TH=new d2("NO_BOUNDARY",7),_7=new d2("MODEL_ORDER_LEFT_TO_RIGHT",8),xx=new d2("MODEL_ORDER_RIGHT_TO_LEFT",9)}function $W(e,n){var t,i,r,c,o,l,f,h,b,p,y,S;return b=null,y=hbe(e,n),i=null,l=u(ke(n,(Xt(),Tfn)),300),l?i=l:i=(EE(),qI),S=i,S==(EE(),qI)&&(r=null,h=u(zn(e.r,y),300),h?r=h:r=Tce,S=r),ei(e.r,n,S),c=null,f=u(ke(n,Cfn),278),f?c=f:c=(s8(),BI),p=c,p==(s8(),BI)&&(o=null,t=u(zn(e.b,y),278),t?o=t:o=sG,p=o),b=u(ei(e.b,n,p),278),b}function _Dn(e){var n,t,i,r,c;for(i=e.length,n=new Ej,c=0;c=40,o&&D_n(e),qLn(e),hIn(e),t=RFe(e),i=0;t&&i0&&Vt(e.g,c)):(e.d[o]-=h+1,e.d[o]<=0&&e.a[o]>0&&Vt(e.f,c))))}function KXe(e,n,t,i){var r,c,o,l,f,h,b;for(f=new Ee(t,i),Nr(f,u(C(n,(Ti(),P7)),8)),b=St(n.b,0);b.b!=b.d.c;)h=u(jt(b),40),pi(h.e,f),Vt(e.b,h);for(l=u(gs(yae(new mn(null,new yn(n.a,16))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16).Jc();l.Ob();){for(o=u(l.Pb(),65),c=St(o.a,0);c.b!=c.d.c;)r=u(jt(c),8),r.a+=f.a,r.b+=f.b;Vt(e.a,o)}}function Qbe(e,n){var t,i,r,c;if(0<(X(e,18)?u(e,18).gc():ha(e.Jc()))){if(r=n,1=0&&f1)&&n==1&&u(e.a[e.b],9).k==(Fn(),Uu)?sy(u(e.a[e.b],9),(fl(),l1)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&u(e.a[e.c-1&e.a.length-1],9).k==(Fn(),Uu)?sy(u(e.a[e.c-1&e.a.length-1],9),(fl(),gb)):(e.c-e.b&e.a.length-1)==2?(sy(u(OE(e),9),(fl(),l1)),sy(u(OE(e),9),gb)):NOn(e,r),zae(e)}function QDn(e){var n,t,i,r,c,o,l,f;for(f=new wt,n=new wX,o=e.Jc();o.Ob();)r=u(o.Pb(),9),l=kw(iT(new Lb,r),n),Ko(f.f,r,l);for(c=e.Jc();c.Ob();)for(r=u(c.Pb(),9),i=new Xn(Qn(Ii(r).a.Jc(),new ee));ht(i);)t=u(ct(i),17),!uc(t)&&Jf(Of(Tf(Cf(Nf(new tf,k.Math.max(1,u(C(t,(Oe(),g4e)),15).a)),1),u(zn(f,t.c.i),124)),u(zn(f,t.d.i),124)));return n}function QXe(e,n,t,i){var r,c,o,l,f,h,b,p,y,S;if(C8n(e,n,t),c=n[t],S=i?(Ie(),Yn):(Ie(),nt),Wwn(n.length,t,i)){for(r=n[i?t-1:t+1],rhe(e,r,i?(Nc(),Io):(Nc(),ys)),f=c,b=0,y=f.length;bc*2?(b=new gB(p),h=us(o)/Gs(o),f=oZ(b,n,new o4,t,i,r,h),pi(fa(b.e),f),p.c.length=0,c=0,qn(p.c,b),qn(p.c,o),c=us(b)*Gs(b)+us(o)*Gs(o)):(qn(p.c,o),c+=us(o)*Gs(o));return p}function ZDn(e,n){var t,i,r,c,o,l,f;for(n.Tg("Port order processing",1),f=u(C(e,(Oe(),b4e)),421),i=new P(e.b);i.at?n:t;h<=p;++h)h==t?l=i++:(c=r[h],b=A.$l(c.Jk()),h==n&&(f=h==p&&!b?i-1:i),b&&++i);return y=u(BE(e,n,t),75),l!=f&&f9(e,new rO(e.e,7,o,ve(l),S.kd(),f)),y}}else return u(EW(e,n,t),75);return u(BE(e,n,t),75)}function Wbe(e,n){var t,i,r,c,o,l,f,h,b,p;for(p=0,c=new Fv,I0(c,n);c.b!=c.c;)for(f=u(N4(c),218),h=0,b=u(C(n.j,(Oe(),o1)),269),u(C(n.j,gx),329),o=ne(re(C(n.j,aI))),l=ne(re(C(n.j,Mie))),b!=(F1(),fb)&&(h+=o*ROn(n.j,f.e,b),h+=l*kDn(n.j,f.e)),p+=yHe(f.d,f.e)+h,r=new P(f.b);r.a=0&&(l=bxn(e,o),!(l&&(h<22?f.l|=1<>>1,o.m=b>>>1|(p&1)<<21,o.l=y>>>1|(b&1)<<21,--h;return t&&eQ(f),c&&(i?(tb=t8(e),r&&(tb=Aze(tb,(U9(),Eme)))):tb=_o(e.l,e.m,e.h)),f}function t_n(e,n){var t,i,r,c,o,l,f,h,b,p;for(h=e.e[n.c.p][n.p]+1,f=n.c.a.c.length+1,l=new P(e.a);l.a0&&(Wn(0,e.length),e.charCodeAt(0)==45||(Wn(0,e.length),e.charCodeAt(0)==43))?1:0,i=o;it)throw R(new fh(Zw+e+'"'));return l}function i_n(e){var n,t,i,r,c,o,l;for(o=new xi,c=new P(e.a);c.a=e.length)return t.o=0,!0;switch(rc(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++n[0],c=n[0],o=Cz(e,n),o==0&&n[0]==c)return!1;if(n[0]l&&(l=r,b.c.length=0),r==l&&Ce(b,new jc(t.c.i,t)));En(),Tr(b,e.c),zb(e.b,f.p,b)}}function l_n(e,n){var t,i,r,c,o,l,f,h,b;for(o=new P(n.b);o.al&&(l=r,b.c.length=0),r==l&&Ce(b,new jc(t.d.i,t)));En(),Tr(b,e.c),zb(e.f,f.p,b)}}function f_n(e){var n,t,i,r,c,o,l;for(c=_a(e),r=new st((!e.e&&(e.e=new In(pr,e,7,4)),e.e));r.e!=r.i.gc();)if(i=u(ft(r),85),l=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)),!P2(l,c))return!0;for(t=new st((!e.d&&(e.d=new In(pr,e,8,5)),e.d));t.e!=t.i.gc();)if(n=u(ft(t),85),o=iu(u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84)),!P2(o,c))return!0;return!1}function a_n(e){var n,t,i,r,c;i=u(C(e,(me(),mi)),26),c=u(ke(i,(Oe(),Ag)),182).Gc((Vs(),_g)),e.e||(r=u(C(e,po),22),n=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Gc((Ic(),Kl))?(Ei(i,Zi,(Br(),to)),Yw(i,n.a,n.b,!1,!0)):Fe(ze(ke(i,Bie)))||Yw(i,n.a,n.b,!0,!0)),c?Ei(i,Ag,rn(_g)):Ei(i,Ag,(t=u(la(iA),10),new _l(t,u(Df(t,t.length),10),0)))}function h_n(e,n){var t,i,r,c,o,l,f,h;if(h=ze(C(n,(Mu(),jsn))),h==null||(Ln(h),h)){for(FTn(e,n),r=new Te,f=St(n.b,0);f.b!=f.d.c;)o=u(jt(f),40),t=P0e(e,o,null),t&&(Pu(t,n),qn(r.c,t));if(e.a=null,e.b=null,r.c.length>1)for(i=new P(r);i.a=0&&l!=t&&(c=new Dr(e,1,l,o,null),i?i.lj(c):i=c),t>=0&&(c=new Dr(e,1,t,l==t?o:null,n),i?i.lj(c):i=c)),i}function ZXe(e){var n,t,i;if(e.b==null){if(i=new vd,e.i!=null&&(Bc(i,e.i),i.a+=":"),(e.f&256)!=0){for((e.f&256)!=0&&e.a!=null&&(x5n(e.i)||(i.a+="//"),Bc(i,e.a)),e.d!=null&&(i.a+="/",Bc(i,e.d)),(e.f&16)!=0&&(i.a+="/"),n=0,t=e.j.length;ny?!1:(p=(f=aS(i,y,!1),f.a),b+l+p<=n.b&&(tO(t,c-t.s),t.c=!0,tO(i,c-t.s),LO(i,t.s,t.t+t.d+l),i.k=!0,i1e(t.q,i),S=!0,r&&(kB(n,i),i.j=n,e.c.length>o&&(BO((kn(o,e.c.length),u(e.c[o],186)),i),(kn(o,e.c.length),u(e.c[o],186)).a.c.length==0&&Cd(e,o)))),S)}function v_n(e,n){var t,i,r,c,o,l;if(n.Tg("Partition midprocessing",1),r=new Nw,er(li(new mn(null,new yn(e.a,16)),new m6),new Sje(r)),r.d!=0){for(l=u(gs(Eae((c=r.i,new mn(null,(c||(r.i=new Hv(r,r.c))).Lc()))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16),i=l.Jc(),t=u(i.Pb(),15);i.Ob();)o=u(i.Pb(),15),aNn(u(vi(r,t),22),u(vi(r,o),22)),t=o;n.Ug()}}function oS(e,n){var t,i,r,c,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(r=u(e.Ab.g,1995),n==null){for(c=0;ct.s&&lf+A&&(O=p.g+y.g,y.a=(y.g*y.a+p.g*p.a)/O,y.g=O,p.f=y,t=!0)),c=l,p=y;return t}function j_n(e,n,t){var i,r,c,o,l,f,h,b;for(t.Tg(XQe,1),Hu(e.b),Hu(e.a),l=null,c=St(n.b,0);!l&&c.b!=c.d.c;)h=u(jt(c),40),Fe(ze(C(h,(Ti(),db))))&&(l=h);for(f=new xi,Ki(f,l,f.c.b,f.c),IVe(e,f),b=St(n.b,0);b.b!=b.d.c;)h=u(jt(b),40),o=Pt(C(h,(Ti(),_x))),r=lo(e.b,o)!=null?u(lo(e.b,o),15).a:0,he(h,wre,ve(r)),i=1+(lo(e.a,o)!=null?u(lo(e.a,o),15).a:0),he(h,pye,ve(i));t.Ug()}function cKe(e){a2(e,new qw(l2(u2(s2(o2(new gd,cp),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new UM))),Se(e,cp,sm,g9e),Se(e,cp,om,15),Se(e,cp,xN,ve(0)),Se(e,cp,T2e,_e(h9e)),Se(e,cp,k3,_e(wfn)),Se(e,cp,py,_e(pfn)),Se(e,cp,U8,pWe),Se(e,cp,ES,_e(d9e)),Se(e,cp,my,_e(b9e)),Se(e,cp,O2e,_e(fce)),Se(e,cp,OF,_e(gfn))}function uKe(e,n){var t,i,r,c,o,l,f,h,b;if(r=e.i,o=r.o.a,c=r.o.b,o<=0&&c<=0)return Ie(),ju;switch(h=e.n.a,b=e.n.b,l=e.o.a,t=e.o.b,n.g){case 2:case 1:if(h<0)return Ie(),Yn;if(h+l>o)return Ie(),nt;break;case 4:case 3:if(b<0)return Ie(),Vn;if(b+t>c)return Ie(),bt}return f=(h+l/2)/o,i=(b+t/2)/c,f+i<=1&&f-i<=0?(Ie(),Yn):f+i>=1&&f-i>=0?(Ie(),nt):i<.5?(Ie(),Vn):(Ie(),bt)}function oKe(e,n,t,i,r,c,o){var l,f,h,b,p,y;for(y=new y4,h=n.Jc();h.Ob();)for(l=u(h.Pb(),837),p=new P(l.Pf());p.a0?l.a?(h=l.b.Kf().b,r>h&&(e.v||l.c.d.c.length==1?(o=(r-h)/2,l.d.d=o,l.d.a=o):(t=u(Le(l.c.d,0),187).Kf().b,i=(t-h)/2,l.d.d=k.Math.max(0,i),l.d.a=r-i-h))):l.d.a=e.t+r:uE(e.u)&&(c=m0e(l.b),c.d<0&&(l.d.d=-c.d),c.d+c.a>l.b.Kf().b&&(l.d.a=c.d+c.a-l.b.Kf().b))}function Hf(){Hf=Y,Ay=new Yr((Xt(),RI),ve(1)),kJ=new Yr(Qd,80),xtn=new Yr(q9e,5),gtn=new Yr(B7,q8),Etn=new Yr(Sce,ve(1)),Stn=new Yr(xce,($n(),!0)),cve=new yw(50),ktn=new Yr(s1,cve),tve=PI,uve=Vx,wtn=new Yr(bce,!1),rve=$I,vtn=$m,ytn=bb,mtn=Ig,ptn=e5,jtn=Rm,ive=(C0e(),stn),jte=htn,yJ=otn,kte=ltn,ove=atn,Ctn=J7,Ttn=uG,Mtn=zm,Atn=F7,sve=(V4(),Hm),new Yr(Ky,sve)}function x_n(e,n){var t;switch(aO(e)){case 6:return $r(n);case 7:return g2(n);case 8:return b2(n);case 3:return Array.isArray(n)&&(t=aO(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===hZ;case 12:return n!=null&&(typeof n===fN||typeof n==hZ);case 0:return $Q(n,e.__elementTypeId$);case 2:return mV(n)&&n.Rm!==wn;case 1:return mV(n)&&n.Rm!==wn||$Q(n,e.__elementTypeId$);default:return!0}}function A_n(e){var n,t,i,r;i=e.o,v2(),e.A.dc()||gi(e.A,Qme)?r=i.a:(e.D?r=k.Math.max(i.a,WE(e.f)):r=WE(e.f),e.A.Gc((Vs(),UI))&&!e.B.Gc((_s(),rA))&&(r=k.Math.max(r,WE(u(zc(e.p,(Ie(),Vn)),253))),r=k.Math.max(r,WE(u(zc(e.p,bt),253)))),n=tze(e),n&&(r=k.Math.max(r,n.a))),Fe(ze(e.e.Rf().mf((Xt(),$m))))?i.a=k.Math.max(i.a,r):i.a=r,t=e.f.i,t.c=0,t.b=r,GW(e.f)}function sKe(e,n){var t,i,r,c;return i=k.Math.min(k.Math.abs(e.c-(n.c+n.b)),k.Math.abs(e.c+e.b-n.c)),c=k.Math.min(k.Math.abs(e.d-(n.d+n.a)),k.Math.abs(e.d+e.a-n.d)),t=k.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=k.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:k.Math.min(i/t,c/r)+1}function M_n(e,n){var t,i,r,c,o,l,f;for(c=0,l=0,f=0,r=new P(e.f.e);r.a0&&e.d!=(kE(),xte)&&(l+=o*(i.d.a+e.a[n.a][i.a]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(kE(),Ete)&&(f+=o*(i.d.b+e.a[n.a][i.a]*(n.d.b-i.d.b)/t)));switch(e.d.g){case 1:return new Ee(l/c,n.d.b);case 2:return new Ee(n.d.a,f/c);default:return new Ee(l/c,f/c)}}function lKe(e){var n,t,i,r,c,o;for(t=(!e.a&&(e.a=new mr(yl,e,5)),e.a).i+2,o=new xo(t),Ce(o,new Ee(e.j,e.k)),er(new mn(null,(!e.a&&(e.a=new mr(yl,e,5)),new yn(e.a,16))),new iSe(o)),Ce(o,new Ee(e.b,e.c)),n=1;n0&&(EO(f,!1,(vr(),Zc)),EO(f,!0,ru)),Ao(n.g,new nCe(e,t)),ei(e.g,n,t)}function nge(){nge=Y,mln=new an(s2e,($n(),!1)),ve(-1),aln=new an(l2e,ve(-1)),ve(-1),hln=new an(f2e,ve(-1)),dln=new an(a2e,!1),bln=new an(h2e,!1),g6e=(QR(),Vre),jln=new an(d2e,g6e),Eln=new an(b2e,-1),b6e=(VB(),qre),kln=new an(g2e,b6e),yln=new an(w2e,!0),h6e=(uB(),Yre),pln=new an(p2e,h6e),wln=new an(m2e,!1),ve(1),gln=new an(v2e,ve(1)),d6e=(GB(),Qre),vln=new an(y2e,d6e)}function hKe(){hKe=Y;var e;for(Nme=F(z($t,1),ni,30,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]),cte=le($t,ni,30,37,15,1),tnn=F(z($t,1),ni,30,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]),Ime=le(Ap,xYe,30,37,14,1),e=2;e<=36;e++)cte[e]=lc(k.Math.pow(e,Nme[e])),Ime[e]=FO(bN,cte[e])}function C_n(e){var n;if((!e.a&&(e.a=new we($i,e,6,6)),e.a).i!=1)throw R(new Un(FWe+(!e.a&&(e.a=new we($i,e,6,6)),e.a).i));return n=new xs,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84))&&ac(n,YVe(e,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84)),!1)),VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84))&&ac(n,YVe(e,VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84)),!0)),n}function dKe(e,n){var t,i,r,c,o;for(n.d?r=e.a.c==(dh(),yp)?cr(n.b):Ii(n.b):r=e.a.c==(dh(),Kd)?cr(n.b):Ii(n.b),c=!1,i=new Xn(Qn(r.a.Jc(),new ee));ht(i);)if(t=u(ct(i),17),o=Fe(e.a.f[e.a.g[n.b.p].p]),!(!o&&!uc(t)&&t.c.i.c==t.d.i.c)&&!(Fe(e.a.n[e.a.g[n.b.p].p])||Fe(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,rf(e.b,e.a.g[QSn(t,n.b).p])))return n.c=!0,n.a=t,n;return n.c=c,n.a=null,n}function tge(e,n,t){var i,r,c,o,l,f,h;if(i=t.gc(),i==0)return!1;if(e.Nj())if(f=e.Oj(),lde(e,n,t),o=i==1?e.Gj(3,null,t.Jc().Pb(),n,f):e.Gj(5,null,t,n,f),e.Kj()){for(l=i<100?null:new k0(i),c=n+i,r=n;r0){for(o=0;o>16==-15&&e.Cb.Vh()&&EY(new mY(e.Cb,9,13,t,e.c,$d(Ts(u(e.Cb,62)),e))):X(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(n=e.c,X(n,88)||(n=(jn(),jf)),X(t,88)||(t=(jn(),jf)),EY(new mY(e.Cb,9,10,t,n,$d(Vu(u(e.Cb,29)),e)))))),e.c}function wKe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A;if(n==t)return!0;if(n=ube(e,n),t=ube(e,t),i=GQ(n),i){if(b=GQ(t),b!=i)return b?(f=i.kk(),A=b.kk(),f==A&&f!=null):!1;if(o=(!n.d&&(n.d=new mr(Rc,n,1)),n.d),c=o.i,y=(!t.d&&(t.d=new mr(Rc,t,1)),t.d),c==y.i){for(h=0;h0,l=KB(n,c),fle(t?l.b:l.g,n),r3(l).c.length==1&&Ki(i,l,i.c.b,i.c),r=new jc(c,n),I0(e.o,r),qo(e.e.a,c))}function vKe(e,n){var t,i,r,c,o,l,f;return i=k.Math.abs(vR(e.b).a-vR(n.b).a),l=k.Math.abs(vR(e.b).b-vR(n.b).b),r=0,f=0,t=1,o=1,i>e.b.b/2+n.b.b/2&&(r=k.Math.min(k.Math.abs(e.b.c-(n.b.c+n.b.b)),k.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),l>e.b.a/2+n.b.a/2&&(f=k.Math.min(k.Math.abs(e.b.d-(n.b.d+n.b.a)),k.Math.abs(e.b.d+e.b.a-n.b.d)),o=1-f/l),c=k.Math.min(t,o),(1-c)*k.Math.sqrt(i*i+l*l)}function __n(e){var n,t,i,r;for(uZ(e,e.e,e.f,(Iw(),hb),!0,e.c,e.i),uZ(e,e.e,e.f,hb,!1,e.c,e.i),uZ(e,e.e,e.f,X3,!0,e.c,e.i),uZ(e,e.e,e.f,X3,!1,e.c,e.i),N_n(e,e.c,e.e,e.f,e.i),i=new qr(e.i,0);i.b=65;t--)ch[t]=t-65<<24>>24;for(i=122;i>=97;i--)ch[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)ch[r]=r-48+52<<24>>24;for(ch[43]=62,ch[47]=63,c=0;c<=25;c++)r0[c]=65+c&yr;for(o=26,f=0;o<=51;++o,f++)r0[o]=97+f&yr;for(e=52,l=0;e<=61;++e,l++)r0[e]=48+l&yr;r0[62]=43,r0[63]=47}function yKe(e,n){var t,i,r,c,o,l;return r=Whe(e),l=Whe(n),r==l?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:k.Math.floor((e.a-1)*AYe)+1)-(n.d>0?n.d:k.Math.floor((n.a-1)*AYe)+1),t>i+1?r:t0&&(o=Kv(o,IKe(i))),kJe(c,o))):rh&&(y=0,S+=f+n,f=0),T8(o,y,S),t=k.Math.max(t,y+b.a),f=k.Math.max(f,b.b),y+=b.a+n;return new Ee(t+n,S+f+n)}function uge(e,n){var t,i,r,c,o,l,f;if(!_a(e))throw R(new Uc(zWe));if(i=_a(e),c=i.g,r=i.f,c<=0&&r<=0)return Ie(),ju;switch(l=e.i,f=e.j,n.g){case 2:case 1:if(l<0)return Ie(),Yn;if(l+e.g>c)return Ie(),nt;break;case 4:case 3:if(f<0)return Ie(),Vn;if(f+e.f>r)return Ie(),bt}return o=(l+e.g/2)/c,t=(f+e.f/2)/r,o+t<=1&&o-t<=0?(Ie(),Yn):o+t>=1&&o-t>=0?(Ie(),nt):t<.5?(Ie(),Vn):(Ie(),bt)}function $_n(e,n,t,i,r){var c,o;if(c=mc(Rr(n[0],Dc),Rr(i[0],Dc)),e[0]=Rt(c),c=Sw(c,32),t>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=c.b[0]-1),n=1;n0&&(Db(f,f.d-r.d),r.c==(da(),ab)&&iX(f,f.a-r.d),f.d<=0&&f.i>0&&Ki(n,f,n.c.b,n.c)));for(c=new P(e.f);c.a0&&(m0(l,l.i-r.d),r.c==(da(),ab)&&CP(l,l.b-r.d),l.i<=0&&l.d>0&&Ki(t,l,t.c.b,t.c)))}function z_n(e,n,t,i,r){var c,o,l,f,h,b,p,y,S;for(En(),Tr(e,new VM),o=_T(e),S=new Te,y=new Te,l=null,f=0;o.b!=0;)c=u(o.b==0?null:(at(o.b!=0),$l(o,o.a.a)),167),!l||us(l)*Gs(l)/21&&(f>us(l)*Gs(l)/2||o.b==0)&&(p=new gB(y),b=us(l)/Gs(l),h=oZ(p,n,new o4,t,i,r,b),pi(fa(p.e),h),l=p,qn(S.c,p),f=0,y.c.length=0));return Sr(S,y),S}function Wu(e,n,t,i,r){jd();var c,o,l,f,h,b,p;if(Rfe(e,"src"),Rfe(t,"dest"),p=Us(e),f=Us(t),ffe((p.i&4)!=0,"srcType is not an array"),ffe((f.i&4)!=0,"destType is not an array"),b=p.c,o=f.c,ffe((b.i&1)!=0?b==o:(o.i&1)==0,"Array types don't match"),akn(e,n,t,i,r),(b.i&1)==0&&p!=f)if(h=G4(e),c=G4(t),ue(e)===ue(t)&&ni;)ir(c,l,h[--n]);else for(l=i+r;i0),i.a.Xb(i.c=--i.b),p>y+f&&As(i);for(o=new P(S);o.a0),i.a.Xb(i.c=--i.b)}}function J_n(){ai();var e,n,t,i,r,c;if(Kce)return Kce;for(e=new cl(4),tm(e,K0(Une,!0)),bS(e,K0("M",!0)),bS(e,K0("C",!0)),c=new cl(4),i=0;i<11;i++)ho(c,i,i);return n=new cl(4),tm(n,K0("M",!0)),ho(n,4448,4607),ho(n,65438,65439),r=new Vj(2),fg(r,e),fg(r,gA),t=new Vj(2),t.Hm(dR(c,K0("L",!0))),t.Hm(n),t=new D2(3,t),t=new zfe(r,t),Kce=t,Kce}function nm(e,n){var t,i,r,c,o,l,f,h;for(t=new RegExp(n,"g"),f=le(He,Ae,2,0,6,1),i=0,h=e,c=null;;)if(l=t.exec(h),l==null||h==""){f[i]=h;break}else o=l.index,f[i]=(Qr(0,o,h.length),h.substr(0,o)),h=of(h,o+l[0].length,h.length),t.lastIndex=0,c==h&&(f[i]=(Qr(0,1,h.length),h.substr(0,1)),h=(Wn(1,h.length+1),h.substr(1))),c=h,++i;if(e.length>0){for(r=f.length;r>0&&f[r-1]=="";)--r;rb&&(b=f);for(h=k.Math.pow(4,n),b>h&&(h=b),y=(k.Math.log(h)-k.Math.log(1))/n,c=k.Math.exp(y),r=c,o=0;o0&&(p-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(p-=i[2]+e.c),i[1]=k.Math.max(i[1],p),gR(e.a[1],t.c+n.b+i[0]-(i[1]-p)/2,i[1]);for(c=e.a,l=0,h=c.length;l0?(e.n.c.length-1)*e.i:0,i=new P(e.n);i.a1)for(i=St(r,0);i.b!=i.d.c;)for(t=u(jt(i),235),c=0,f=new P(t.e);f.a0&&(n[0]+=e.c,p-=n[0]),n[2]>0&&(p-=n[2]+e.c),n[1]=k.Math.max(n[1],p),wR(e.a[1],i.d+t.d+n[0]-(n[1]-p)/2,n[1]);else for(A=i.d+t.d,S=i.a-t.d-t.a,o=e.a,f=0,b=o.length;f=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(o=u(Le(n.n,n.n.c.length-1),208),o.e+o.d+t.g+r<=i&&(c=u(Le(n.n,n.n.c.length-1),208),c.f-e.f+t.f<=e.b||e.a.c.length==1))return ede(n,t),!0;if(n.s+t.g<=i&&n.t+n.d+t.f+r<=e.f+e.b)return Ce(n.b,t),l=u(Le(n.n,n.n.c.length-1),208),Ce(n.n,new RR(n.s,l.f+l.a+n.i,n.i)),Dde(u(Le(n.n,n.n.c.length-1),208),t),EKe(n,t),!0}return!1}function qz(e,n,t,i){var r,c,o,l,f;if(f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o0||zw(r.b.d,e.b.d+e.b.a)==0&&i.b<0||zw(r.b.d+r.b.a,e.b.d)==0&&i.b>0){l=0;break}}else l=k.Math.min(l,dqe(e,r,i));l=k.Math.min(l,xKe(e,c,l,i))}return l}function sge(e,n){var t,i,r,c,o,l,f;if(e.b<2)throw R(new Un("The vector chain must contain at least a source and a target point."));for(r=(at(e.b!=0),u(e.a.a.c,8)),kT(n,r.a,r.b),f=new j4((!n.a&&(n.a=new mr(yl,n,5)),n.a)),o=St(e,1);o.a=0&&c!=t))throw R(new Un(BN));for(r=0,f=0;fne(Ia(o.g,o.d[0]).a)?(at(f.b>0),f.a.Xb(f.c=--f.b),y2(f,o),r=!0):l.e&&l.e.gc()>0&&(c=(!l.e&&(l.e=new Te),l.e).Kc(n),h=(!l.e&&(l.e=new Te),l.e).Kc(t),(c||h)&&((!l.e&&(l.e=new Te),l.e).Ec(o),++o.c));r||qn(i.c,o)}function Q_n(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B;return p=e.a.i+e.a.g/2,y=e.a.i+e.a.g/2,A=n.i+n.g/2,D=n.j+n.f/2,l=new Ee(A,D),h=u(ke(n,(Xt(),Uy)),8),h.a=h.a+p,h.b=h.b+y,c=(l.b-h.b)/(l.a-h.a),i=l.b-c*l.a,O=t.i+t.g/2,B=t.j+t.f/2,f=new Ee(O,B),b=u(ke(t,Uy),8),b.a=b.a+p,b.b=b.b+y,o=(f.b-b.b)/(f.a-b.a),r=f.b-o*f.a,S=(i-r)/(o-c),h.a>>0,"0"+n.toString(16)),i="\\x"+of(t,t.length-2,t.length)):e>=Ec?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+of(t,t.length-6,t.length)):i=""+String.fromCharCode(e&yr)}return i}function OKe(e,n){var t,i,r,c,o,l,f,h,b;for(c=new P(e.b);c.at){n.Ug();return}switch(u(C(e,(Oe(),Gie)),350).g){case 2:c=new x6;break;case 0:c=new Jp;break;default:c=new lM}if(i=c.mg(e,r),!c.ng())switch(u(C(e,EH),351).g){case 2:i=bqe(r,i);break;case 1:i=rGe(r,i)}WLn(e,r,i),n.Ug()}function sS(e,n){var t,i,r,c,o,l,f,h;n%=24,e.q.getHours()!=n&&(i=new k.Date(e.q.getTime()),i.setDate(i.getDate()+1),l=e.q.getTimezoneOffset()-i.getTimezoneOffset(),l>0&&(f=l/60|0,h=l%60,r=e.q.getDate(),t=e.q.getHours(),t+f>=24&&++r,c=new k.Date(e.q.getFullYear(),e.q.getMonth(),r,n+f,e.q.getMinutes()+h,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),o=e.q.getTime(),e.q.setTime(o+36e5),e.q.getHours()!=n&&e.q.setTime(o)}function rLn(e,n){var t,i,r,c;if(R4n(e.d,e.e),e.c.a.$b(),ne(re(C(n.j,(Oe(),aI))))!=0||ne(re(C(n.j,aI)))!=0)for(t=E3,ue(C(n.j,o1))!==ue((F1(),fb))&&he(n.j,(me(),ob),($n(),!0)),c=u(C(n.j,jx),15).a,r=0;rr&&++h,Ce(o,(kn(l+h,n.c.length),u(n.c[l+h],15))),f+=(kn(l+h,n.c.length),u(n.c[l+h],15)).a-i,++t;t=D&&e.e[f.p]>A*e.b||V>=t*D)&&(qn(y.c,l),l=new Te,ac(o,c),c.a.$b(),h-=b,S=k.Math.max(S,h*e.b+O),h+=V,q=V,V=0,b=0,O=0);return new jc(S,y)}function UW(e){var n,t,i,r,c,o,l;if(!e.d){if(l=new dU,n=lA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),nr(l,UW(t));n.a.Ac(e)!=null,n.a.gc()==0}for(o=l.i,r=(!e.q&&(e.q=new we(yf,e,11,10)),new st(e.q));r.e!=r.i.gc();++o)u(ft(r),403);nr(l,(!e.q&&(e.q=new we(yf,e,11,10)),e.q)),F2(l),e.d=new Pv((u(K(ge((C0(),Bn).o),9),19),l.i),l.g),e.e=u(l.g,678),e.e==null&&(e.e=Wan),Ms(e).b&=-17}return e.d}function N8(e,n,t,i){var r,c,o,l,f,h;if(h=Po(e.e.Ah(),n),f=0,r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o1||A==-1)if(p=u(O,72),y=u(b,72),p.dc())y.$b();else for(o=!!Oc(n),c=0,l=e.a?p.Jc():p.Gi();l.Ob();)h=u(l.Pb(),57),r=u($a(e,h),57),r?(o?(f=y.bd(r),f==-1?y.Ei(c,r):c!=f&&y.Si(c,r)):y.Ei(c,r),++c):e.b&&!o&&(y.Ei(c,h),++c);else O==null?b.Wb(null):(r=$a(e,O),r==null?e.b&&!Oc(n)&&b.Wb(O):b.Wb(r))}function lLn(e,n){var t,i,r,c,o,l,f,h;for(t=new w6,r=new Xn(Qn(cr(n).a.Jc(),new ee));ht(r);)if(i=u(ct(r),17),!uc(i)&&(l=i.c.i,b0e(l,xJ))){if(h=Pbe(e,l,xJ,SJ),h==-1)continue;t.b=k.Math.max(t.b,h),!t.a&&(t.a=new Te),Ce(t.a,l)}for(o=new Xn(Qn(Ii(n).a.Jc(),new ee));ht(o);)if(c=u(ct(o),17),!uc(c)&&(f=c.d.i,b0e(f,SJ))){if(h=Pbe(e,f,SJ,xJ),h==-1)continue;t.d=k.Math.max(t.d,h),!t.c&&(t.c=new Te),Ce(t.c,f)}return t}function fLn(e,n,t,i){var r,c,o,l,f,h,b;if(t.d.i!=n.i){for(r=new za(e),Mf(r,(Fn(),dr)),he(r,(me(),mi),t),he(r,(Oe(),Zi),(Br(),to)),qn(i.c,r),o=new Qu,wu(o,r),Ar(o,(Ie(),Yn)),l=new Qu,wu(l,r),Ar(l,nt),b=t.d,Gr(t,o),c=new Ow,Pu(c,t),he(c,Wc,null),fc(c,l),Gr(c,b),h=new qr(t.b,0);h.b1e6)throw R(new HP("power of ten too big"));if(e<=oi)return B4(VO(Ey[1],n),n);for(i=VO(Ey[1],oi),r=i,t=Lu(e-oi),n=lc(e%oi);ao(t,oi)>0;)r=Kv(r,i),t=lf(t,oi);for(r=Kv(r,VO(Ey[1],n)),r=B4(r,oi),t=Lu(e-oi);ao(t,oi)>0;)r=B4(r,oi),t=lf(t,oi);return r=B4(r,n),r}function DKe(e){var n,t,i,r,c,o,l,f,h,b;for(f=new P(e.a);f.ah&&i>h)b=l,h=ne(n.p[l.p])+ne(n.d[l.p])+l.o.b+l.d.a;else{r=!1,t.$g()&&t.ah("bk node placement breaks on "+l+" which should have been after "+b);break}if(!r)break}return t.$g()&&t.ah(n+" is feasible: "+r),r}function age(e,n,t,i){var r,c,o,l,f,h,b,p,y;if(c=new za(e),Mf(c,(Fn(),wo)),he(c,(Oe(),Zi),(Br(),to)),r=0,n){for(o=new Qu,he(o,(me(),mi),n),he(c,mi,n.i),Ar(o,(Ie(),Yn)),wu(o,c),y=gh(n.e),h=y,b=0,p=h.length;b0){if(r<0&&b.a&&(r=f,c=h[0],i=0),r>=0){if(l=b.b,f==r&&(l-=i++,l==0))return 0;if(!LVe(n,h,b,l,o)){f=r-1,h[0]=c;continue}}else if(r=-1,!LVe(n,h,b,0,o))return 0}else{if(r=-1,rc(b.c,0)==32){if(p=h[0],MRe(n,h),h[0]>p)continue}else if(V5n(n,b.c,h[0])){h[0]+=b.c.length;continue}return 0}return iRn(o,t)?h[0]:0}function gLn(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(b=new mR(new nje(t)),l=le(ts,ma,30,e.f.e.c.length,16,1),$fe(l,l.length),t[n.a]=0,h=new P(e.f.e);h.a=l.a?c.b>=l.b?(i.a=l.a+(c.a-l.a)/2+r,i.b=l.b+(c.b-l.b)/2-r-e.e.b):(i.a=l.a+(c.a-l.a)/2+r,i.b=c.b+(l.b-c.b)/2+r):c.b>=l.b?(i.a=c.a+(l.a-c.a)/2+r,i.b=l.b+(c.b-l.b)/2+r):(i.a=c.a+(l.a-c.a)/2+r,i.b=c.b+(l.b-c.b)/2-r-e.e.b))}function fS(e){var n,t,i,r,c,o,l,f;if(!e.f){if(f=new iC,l=new iC,n=lA,o=n.a.yc(e,n),o==null){for(c=new st(tu(e));c.e!=c.i.gc();)r=u(ft(c),29),nr(f,fS(r));n.a.Ac(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new we(ns,e,21,17)),new st(e.s));i.e!=i.i.gc();)t=u(ft(i),179),X(t,103)&&Et(l,u(t,19));F2(l),e.r=new oIe(e,(u(K(ge((C0(),Bn).o),6),19),l.i),l.g),nr(f,e.r),F2(f),e.f=new Pv((u(K(ge(Bn.o),5),19),f.i),f.g),Ms(e).b&=-3}return e.f}function Uz(){Uz=Y,R8e=F(z(Wl,1),Eh,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Can=new RegExp(`[ -\r\f]+`);try{uA=F(z(ezn,1),Nn,2076,0,[new KC(($se(),ZB("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",TT((zP(),zP(),XS))))),new KC(ZB("yyyy-MM-dd'T'HH:mm:ss'.'SSS",TT(XS))),new KC(ZB("yyyy-MM-dd'T'HH:mm:ss",TT(XS))),new KC(ZB("yyyy-MM-dd'T'HH:mm",TT(XS))),new KC(ZB("yyyy-MM-dd",TT(XS)))])}catch(e){if(e=sr(e),!X(e,80))throw R(e)}}function wLn(e){var n,t,i,r,c,o,l;for(t=null,l=null,i=u(C(e.b,(Oe(),Die)),348),i==(DE(),vI)&&(t=new Te,l=new Te),o=new P(e.d);o.at);return c}function LKe(e,n){var t,i,r,c;if(r=Ds(e.d,1)!=0,i=Mz(e,n),i==0&&Fe(ze(C(n.j,(me(),ob)))))return 0;!Fe(ze(C(n.j,(me(),ob))))&&!Fe(ze(C(n.j,B3)))||ue(C(n.j,(Oe(),o1)))===ue((F1(),fb))?n.c.kg(n.e,r):r=Fe(ze(C(n.j,ob))),eN(e,n,r,!0),Fe(ze(C(n.j,B3)))&&he(n.j,B3,($n(),!1)),Fe(ze(C(n.j,ob)))&&(he(n.j,ob,($n(),!1)),he(n.j,B3,!0)),t=Mz(e,n);do{if(Qhe(e),t==0)return 0;r=!r,c=t,eN(e,n,r,!1),t=Mz(e,n)}while(c>t);return c}function mLn(e,n,t){var i,r,c,o,l;if(i=u(C(e,(Oe(),Oie)),22),t.a>n.a&&(i.Gc((sg(),qx))?e.c.a+=(t.a-n.a)/2:i.Gc(Ux)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((sg(),Kx))?e.c.b+=(t.b-n.b)/2:i.Gc(Xx)&&(e.c.b+=t.b-n.b)),u(C(e,(me(),po)),22).Gc((Ic(),Kl))&&(t.a>n.a||t.b>n.b))for(l=new P(e.a);l.an.a&&(i.Gc((sg(),qx))?e.c.a+=(t.a-n.a)/2:i.Gc(Ux)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((sg(),Kx))?e.c.b+=(t.b-n.b)/2:i.Gc(Xx)&&(e.c.b+=t.b-n.b)),u(C(e,(me(),po)),22).Gc((Ic(),Kl))&&(t.a>n.a||t.b>n.b))for(o=new P(e.a);o.a=0&&p<=1&&y>=0&&y<=1?pi(new Ee(e.a,e.b),A1(new Ee(n.a,n.b),p)):null}function aS(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(c=0,o=e.t,r=0,i=0,f=0,y=0,p=0,t&&(e.n.c.length=0,Ce(e.n,new RR(e.s,e.t,e.i))),l=0,b=new P(e.b);b.a0?e.i:0)>n&&f>0&&(c=0,o+=f+e.i,r=k.Math.max(r,y),i+=f+e.i,f=0,y=0,t&&(++p,Ce(e.n,new RR(e.s,o,e.i))),l=0),y+=h.g+(l>0?e.i:0),f=k.Math.max(f,h.f),t&&Dde(u(Le(e.n,p),208),h),c+=h.g+(l>0?e.i:0),++l;return r=k.Math.max(r,y),i+=f,t&&(e.r=r,e.d=i,Pde(e.j)),new _f(e.s,e.t,r,i)}function Xz(e){var n,t,i;return t=ue(ke(e,(Oe(),By)))===ue((YO(),nie))||ue(ke(e,By))===ue(Yte)||ue(ke(e,By))===ue(Qte)||ue(ke(e,By))===ue(Zte)||ue(ke(e,By))===ue(tie)||ue(ke(e,By))===ue(iI),i=ue(ke(e,wH))===ue((WO(),Uie))||ue(ke(e,wH))===ue(Kie)||ue(ke(e,dI))===ue((X0(),_7))||ue(ke(e,dI))===ue((X0(),xx)),n=ue(ke(e,o1))!==ue((F1(),fb))||Fe(ze(ke(e,C7)))||ue(ke(e,bx))!==ue((W4(),ex))||ne(re(ke(e,aI)))!=0||ne(re(ke(e,Mie)))!=0,t||i||n}function g3(e){var n,t,i,r,c,o,l,f;if(!e.a){if(e.o=null,f=new BSe(e),n=new Af,t=lA,l=t.a.yc(e,t),l==null){for(o=new st(tu(e));o.e!=o.i.gc();)c=u(ft(o),29),nr(f,g3(c));t.a.Ac(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new we(ns,e,21,17)),new st(e.s));r.e!=r.i.gc();)i=u(ft(r),179),X(i,335)&&Et(n,u(i,38));F2(n),e.k=new uIe(e,(u(K(ge((C0(),Bn).o),7),19),n.i),n.g),nr(f,e.k),F2(f),e.a=new Pv((u(K(ge(Bn.o),4),19),f.i),f.g),Ms(e).b&=-2}return e.a}function kLn(e){var n,t,i,r,c,o,l,f,h,b,p,y;if(l=e.d,p=u(C(e,(me(),$y)),16),n=u(C(e,Oy),16),!(!p&&!n)){if(c=ne(re(G2(e,(Oe(),zie)))),o=ne(re(G2(e,w4e))),y=0,p){for(h=0,r=p.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),y+=i.o.a;y+=c*(p.gc()-1),l.d+=h+o}if(t=0,n){for(h=0,r=n.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),t+=i.o.a;t+=c*(n.gc()-1),l.a+=h+o}f=k.Math.max(y,t),f>e.o.a&&(b=(f-e.o.a)/2,l.b=k.Math.max(l.b,b),l.c=k.Math.max(l.c,b))}}function bge(e,n,t,i){var r,c,o,l,f,h,b;if(b=Po(e.e.Ah(),n),r=0,c=u(e.g,122),f=null,Tc(),u(n,69).vk()){for(l=0;ll?1:-1:M1e(e.a,n.a,c),r==-1)p=-f,b=o==f?hY(n.a,l,e.a,c):bY(n.a,l,e.a,c);else if(p=o,o==f){if(r==0)return yh(),VS;b=hY(e.a,c,n.a,l)}else b=bY(e.a,c,n.a,l);return h=new Gb(p,b.length,b),gE(h),h}function SLn(e,n){var t,i,r,c;if(c=kKe(n),!n.c&&(n.c=new we($s,n,9,9)),er(new mn(null,(!n.c&&(n.c=new we($s,n,9,9)),new yn(n.c,16))),new cje(c)),r=u(C(c,(me(),po)),22),y$n(n,r),r.Gc((Ic(),Kl)))for(i=new st((!n.c&&(n.c=new we($s,n,9,9)),n.c));i.e!=i.i.gc();)t=u(ft(i),125),q$n(e,n,c,t);return u(ke(n,(Oe(),Ag)),182).gc()!=0&&sXe(n,c),Fe(ze(C(c,a4e)))&&r.Ec(nH),wi(c,bI)&&Wxe(new tde(ne(re(C(c,bI)))),c),ue(ke(n,Em))===ue((B1(),Wd))?dBn(e,n,c):Q$n(e,n,c),c}function bo(e,n){var t,i,r,c,o,l,f;if(e==null)return null;if(c=e.length,c==0)return"";for(f=le(Wl,Eh,30,c,15,1),Qr(0,c,e.length),Qr(0,c,f.length),cDe(e,0,c,f,0),t=null,l=n,r=0,o=0;r0?of(t.a,0,c-1):""):(Qr(0,c-1,e.length),e.substr(0,c-1)):t?t.a:e}function xLn(e,n,t){var i,r,c;if(wi(n,(Oe(),ku))&&(ue(C(n,ku))===ue((Xs(),V1))||ue(C(n,ku))===ue(Sg))||wi(t,ku)&&(ue(C(t,ku))===ue((Xs(),V1))||ue(C(t,ku))===ue(Sg)))return 0;if(i=_r(n),r=dDn(e,n,t),r!=0)return r;if(wi(n,(me(),Oi))&&wi(t,Oi)){if(c=oo(Kw(n,t,i,u(C(i,sb),15).a),Kw(t,n,i,u(C(i,sb),15).a)),ue(C(i,gx))===ue(($0(),cI))&&ue(C(n,wx))!==ue(C(t,wx))&&(c=0),c<0)return nN(e,n,t),c;if(c>0)return nN(e,t,n),c}return zTn(e,n,t)}function PKe(e,n){var t,i,r,c,o,l,f,h,b,p,y;for(i=new Xn(Qn(U0(n).a.Jc(),new ee));ht(i);)t=u(ct(i),85),X(K((!t.b&&(t.b=new In(mt,t,4,7)),t.b),0),193)||(f=iu(u(K((!t.c&&(t.c=new In(mt,t,5,8)),t.c),0),84)),eS(t)||(o=n.i+n.g/2,l=n.j+n.f/2,b=f.i+f.g/2,p=f.j+f.f/2,y=new Vr,y.a=b-o,y.b=p-l,c=new Ee(y.a,y.b),v8(c,n.g,n.f),y.a-=c.a,y.b-=c.b,o=b-y.a,l=p-y.b,h=new Ee(y.a,y.b),v8(h,f.g,f.f),y.a-=h.a,y.b-=h.b,b=o+y.a,p=l+y.b,r=Rz(t),e3(r,o),n3(r,l),Wv(r,b),Zv(r,p),PKe(e,f)))}function tm(e,n){var t,i,r,c,o;if(o=u(n,137),h3(e),h3(o),o.b!=null){if(e.c=!0,e.b==null){e.b=le($t,ni,30,o.b.length,15,1),Wu(o.b,0,e.b,0,o.b.length);return}for(c=le($t,ni,30,e.b.length+o.b.length,15,1),t=0,i=0,r=0;t=e.b.length?(c[r++]=o.b[i++],c[r++]=o.b[i++]):i>=o.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):o.b[i]0?e.i:0)),++n;for(K1e(e.n,f),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=Vi,e.p=Vi,c=new P(e.b);c.a0&&(r=(!e.n&&(e.n=new we(Eu,e,1,7)),u(K(e.n,0),157)).a,!r||Kt(Kt((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new In(mt,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new In(mt,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",Kt(n,nle(new IX,new st(e.b))),t&&(n.a+="]"),n.a+=nee,t&&(n.a+="["),Kt(n,nle(new IX,new st(e.c))),t&&(n.a+="]"),n.a)}function MLn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On;for(be=e.c,fe=n.c,t=pu(be.a,e,0),i=pu(fe.a,n,0),V=u(Fw(e,(Nc(),ys)).Jc().Pb(),12),cn=u(Fw(e,Io).Jc().Pb(),12),te=u(Fw(n,ys).Jc().Pb(),12),On=u(Fw(n,Io).Jc().Pb(),12),B=gh(V.e),De=gh(cn.g),q=gh(te.e),un=gh(On.g),H0(e,i,fe),o=q,b=0,A=o.length;b0&&f[i]&&(A=zv(e.b,f[i],r)),O=k.Math.max(O,r.c.c.b+A);for(c=new P(b.e);c.ab?new Kb((da(),Dm),t,n,h-b):h>0&&b>0&&(new Kb((da(),Dm),n,t,0),new Kb(Dm,t,n,0))),o)}function NLn(e,n,t){var i,r,c;for(e.a=new Te,c=St(n.b,0);c.b!=c.d.c;){for(r=u(jt(c),40);u(C(r,(Mu(),Dh)),15).a>e.a.c.length-1;)Ce(e.a,new jc(E3,Fpe));i=u(C(r,Dh),15).a,t==(vr(),Zc)||t==ru?(r.e.ane(re(u(Le(e.a,i),49).b))&&HC(u(Le(e.a,i),49),r.e.a+r.f.a)):(r.e.bne(re(u(Le(e.a,i),49).b))&&HC(u(Le(e.a,i),49),r.e.b+r.f.b))}}function BKe(e,n,t,i){var r,c,o,l,f,h,b;if(c=UB(i),l=Fe(ze(C(i,(Oe(),c4e)))),(l||Fe(ze(C(e,gH))))&&!$v(u(C(e,Zi),102)))r=Y4(c),f=ege(e,t,t==(Nc(),Io)?r:NO(r));else switch(f=new Qu,wu(f,e),n?(b=f.n,b.a=n.a-e.n.a,b.b=n.b-e.n.b,zGe(b,0,0,e.o.a,e.o.b),Ar(f,uKe(f,c))):(r=Y4(c),Ar(f,t==(Nc(),Io)?r:NO(r))),o=u(C(i,(me(),po)),22),h=f.j,c.g){case 2:case 1:(h==(Ie(),Vn)||h==bt)&&o.Ec((Ic(),P3));break;case 4:case 3:(h==(Ie(),nt)||h==Yn)&&o.Ec((Ic(),P3))}return f}function zKe(e,n){var t,i,r,c,o,l;for(o=new B2(new sn(e.f.b).a);o.b;){if(c=t3(o),r=u(c.jd(),591),n==1){if(r.yf()!=(vr(),Vl)&&r.yf()!=eh)continue}else if(r.yf()!=(vr(),Zc)&&r.yf()!=ru)continue;switch(i=u(u(c.kd(),49).b,82),l=u(u(c.kd(),49).a,194),t=l.c,r.yf().g){case 2:i.g.c=e.e.a,i.g.b=k.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=k.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=k.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=k.Math.max(1,i.g.a-t)}}}function ILn(e,n){var t,i,r,c,o,l,f,h,b,p;for(n.Tg("Simple node placement",1),p=u(C(e,(me(),z3)),316),l=0,c=new P(e.b);c.a1)throw R(new Un(GN));f||(c=Kh(n,i.Jc().Pb()),o.Ec(c))}return h1e(e,D0e(e,n,t),o)}function Vz(e,n,t){var i,r,c,o,l,f,h,b;if(J1(e.e,n))f=(Tc(),u(n,69).vk()?new uR(n,e):new vT(n,e)),Tz(f.c,f.b),Yj(f,u(t,18));else{for(b=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o"}f!=null&&(n.a+=""+f)}else e.e?(l=e.e.zb,l!=null&&(n.a+=""+l)):(n.a+="?",e.b?(n.a+=" super ",QW(e.b,n)):e.f&&(n.a+=" extends ",QW(e.f,n)))}function BLn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function zLn(e){var n,t,i,r;if(i=fZ((!e.c&&(e.c=XT(Lu(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(n=Whe(e)<0?1:0,t=e.e,r=(i.length+1+k.Math.abs(lc(e.e)),new h4),n==1&&(r.a+="-"),e.e>0)if(t-=i.length-n,t>=0){for(r.a+="0.";t>kg.length;t-=kg.length)MIe(r,kg);ZOe(r,kg,lc(t)),Kt(r,(Wn(n,i.length+1),i.substr(n)))}else t=n-t,Kt(r,of(i,n,lc(t))),r.a+=".",Kt(r,qfe(i,lc(t)));else{for(Kt(r,(Wn(n,i.length+1),i.substr(n)));t<-kg.length;t+=kg.length)MIe(r,kg);ZOe(r,kg,lc(-t))}return r.a}function WW(e){var n,t,i,r,c,o,l,f,h;return!(e.k!=(Fn(),Wi)||e.j.c.length<=1||(c=u(C(e,(Oe(),Zi)),102),c==(Br(),to))||(r=(U2(),(e.q?e.q:(En(),En(),r1))._b(mp)?i=u(C(e,mp),203):i=u(C(_r(e),yx),203),i),r==MH)||!(r==U3||r==q3)&&(o=ne(re(G2(e,kx))),n=u(C(e,wI),140),!n&&(n=new $le(o,o,o,o)),h=vu(e,(Ie(),Yn)),f=n.d+n.a+(h.gc()-1)*o,f>e.o.b||(t=vu(e,nt),l=n.d+n.a+(t.gc()-1)*o,l>e.o.b)))}function FLn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D;n.Tg("Orthogonal edge routing",1),h=ne(re(C(e,(Oe(),Nm)))),t=ne(re(C(e,Tm))),i=ne(re(C(e,lb))),y=new EV(0,t),D=0,o=new qr(e.b,0),l=null,b=null,f=null,p=null;do b=o.b0?(S=(A-1)*t,l&&(S+=i),b&&(S+=i),S0;for(l=u(C(e.c.i,xm),15).a,c=u(gs(li(n.Mc(),new Aje(l)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16),o=new xi,b=new ar,Vt(o,e.c.i),hr(b,e.c.i);o.b!=0;){if(t=u(o.b==0?null:(at(o.b!=0),$l(o,o.a.a)),9),c.Gc(t))return!0;for(r=new Xn(Qn(Ii(t).a.Jc(),new ee));ht(r);)i=u(ct(r),17),f=i.d.i,b.a._b(f)||(b.a.yc(f,b),Ki(o,f,o.c.b,o.c))}return!1}function qKe(e,n,t){var i,r,c,o,l,f,h,b,p;for(p=new Te,b=new Cae(0,t),c=0,kB(b,new iQ(0,0,b,t)),r=0,h=new st(e);h.e!=h.i.gc();)f=u(ft(h),26),i=u(Le(b.a,b.a.c.length-1),173),l=r+f.g+(u(Le(b.a,0),173).b.c.length==0?0:t),(l>n||Fe(ze(ke(f,(Ha(),CI)))))&&(r=0,c+=b.b+t,qn(p.c,b),b=new Cae(c,t),i=new iQ(0,b.f,b,t),kB(b,i),r=0),i.b.c.length==0||!Fe(ze(ke(Fi(f),(Ha(),Xre))))&&(f.f>=i.o&&f.f<=i.f||i.a*.5<=f.f&&i.a*1.5>=f.f)?ede(i,f):(o=new iQ(i.s+i.r+t,b.f,b,t),kB(b,o),ede(o,f)),r=f.i+f.g;return qn(p.c,b),p}function hS(e){var n,t,i,r;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,r=0;r=e.b[r+1])r+=2;else if(t0)for(i=new bs(u(vi(e.a,c),22)),En(),Tr(i,new noe(n)),r=new qr(c.b,0);r.b0&&i>=-6?i>=0?jT(c,t-lc(e.e),"."):(UY(c,n-1,n-1,"0."),jT(c,n+1,ph(kg,0,-lc(i)-1))):(t-n>=1&&(jT(c,n,"."),++t),jT(c,t,"E"),i>0&&jT(c,++t,"+"),jT(c,++t,""+cE(Lu(i)))),e.g=c.a,e.g))}function QLn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De;i=ne(re(C(n,(Oe(),s4e)))),be=u(C(n,jx),15).a,y=4,r=3,fe=20/be,S=!1,f=0,o=oi;do{for(c=f!=1,p=f!=0,De=0,D=e.a,q=0,te=D.length;qbe)?(f=2,o=oi):f==0?(f=1,o=De):(f=0,o=De)):(S=De>=o||o-De=Ec?Bc(t,V1e(i)):_9(t,i&yr),o=new JV(10,null,0),I3n(e.a,o,l-1)):(t=(o.Km().length+c,new Ej),Bc(t,o.Km())),n.e==0?(i=n.Im(),i>=Ec?Bc(t,V1e(i)):_9(t,i&yr)):Bc(t,n.Km()),u(o,517).b=t.a}}function WLn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D;if(!t.dc()){for(l=0,y=0,i=t.Jc(),A=u(i.Pb(),15).a;l0?1:Bb(isNaN(i),isNaN(0)))>=0^(Rf(Mh),(k.Math.abs(l)<=Mh||l==0||isNaN(l)&&isNaN(0)?0:l<0?-1:l>0?1:Bb(isNaN(l),isNaN(0)))>=0)?k.Math.max(l,i):(Rf(Mh),(k.Math.abs(i)<=Mh||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Bb(isNaN(i),isNaN(0)))>0?k.Math.sqrt(l*l+i*i):-k.Math.sqrt(l*l+i*i))}function tPn(e){var n,t,i,r;r=e.o,v2(),e.A.dc()||gi(e.A,Qme)?n=r.b:(e.D?n=k.Math.max(r.b,QE(e.f)):n=QE(e.f),e.A.Gc((Vs(),UI))&&!e.B.Gc((_s(),rA))&&(n=k.Math.max(n,QE(u(zc(e.p,(Ie(),nt)),253))),n=k.Math.max(n,QE(u(zc(e.p,Yn),253)))),t=tze(e),t&&(n=k.Math.max(n,t.b)),e.A.Gc(XI)&&(e.q==(Br(),a1)||e.q==to)&&(n=k.Math.max(n,rR(u(zc(e.b,(Ie(),nt)),127))),n=k.Math.max(n,rR(u(zc(e.b,Yn),127))))),Fe(ze(e.e.Rf().mf((Xt(),$m))))?r.b=k.Math.max(r.b,n):r.b=n,i=e.f.i,i.d=0,i.a=n,qW(e.f)}function iPn(e,n,t,i,r,c,o,l){var f,h,b,p;switch(f=Pf(F(z(KBn,1),Nn,238,0,[n,t,i,r])),p=null,e.b.g){case 1:p=Pf(F(z(M6e,1),Nn,523,0,[new Pk,new LM,new P6]));break;case 0:p=Pf(F(z(M6e,1),Nn,523,0,[new P6,new LM,new Pk]));break;case 2:p=Pf(F(z(M6e,1),Nn,523,0,[new LM,new Pk,new P6]))}for(b=new P(p);b.a1&&(f=h.Gg(f,e.a,l));return f.c.length==1?u(Le(f,f.c.length-1),238):f.c.length==2?HLn((kn(0,f.c.length),u(f.c[0],238)),(kn(1,f.c.length),u(f.c[1],238)),o,c):null}function rPn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A;r=new c9(e),c=new Qqe,i=(QT(c.n),QT(c.p),Hu(c.c),QT(c.f),QT(c.o),Hu(c.q),Hu(c.d),Hu(c.g),Hu(c.k),Hu(c.e),Hu(c.i),Hu(c.j),Hu(c.r),Hu(c.b),y=kqe(c,r,null),jUe(c,r),y),n&&(f=new c9(n),o=jLn(f),M0e(i,F(z(u9e,1),Nn,524,0,[o]))),p=!1,b=!1,t&&(f=new c9(t),UF in f.a&&(p=O1(f,UF).oe().a),hZe in f.a&&(b=O1(f,hZe).oe().a)),h=pAe(hBe(new s4,p),b),aCn(new zM,i,h),UF in r.a&&$f(r,UF,null),(p||b)&&(l=new l4,gKe(h,l,p,b),$f(r,UF,l)),S=new kSe(c),Fze(new MK(i),S),A=new jSe(c),Fze(new MK(i),A)}function cPn(e,n,t){var i,r,c,o,l,f,h;for(t.Tg("Find roots",1),e.a.c.length=0,r=St(n.b,0);r.b!=r.d.c;)i=u(jt(r),40),i.b.b==0&&(he(i,(Ti(),db),($n(),!0)),Ce(e.a,i));switch(e.a.c.length){case 0:c=new tQ(0,n,"DUMMY_ROOT"),he(c,(Ti(),db),($n(),!0)),he(c,gre,!0),Vt(n.b,c);break;case 1:break;default:for(o=new tQ(0,n,_F),f=new P(e.a);f.a=k.Math.abs(i.b)?(i.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(n=new Nse(e.i,e.g),t=e.i,c=t<100?null:new k0(t),e.Rj())for(i=0;i0){for(l=e.g,h=e.i,yE(e),c=h<100?null:new k0(h),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,l=n.l&8191,f=n.l>>13|(n.m&15)<<9,h=n.m>>4&8191,b=n.m>>17|(n.h&255)<<5,p=(n.h&1048320)>>8,un=t*l,cn=i*l,On=r*l,Dn=c*l,lt=o*l,f!=0&&(cn+=t*f,On+=i*f,Dn+=r*f,lt+=c*f),h!=0&&(On+=t*h,Dn+=i*h,lt+=r*h),b!=0&&(Dn+=t*b,lt+=i*b),p!=0&&(lt+=t*p),S=un&Ls,A=(cn&511)<<13,y=S+A,D=un>>22,B=cn>>9,q=(On&262143)<<4,V=(Dn&31)<<17,O=D+B+q+V,be=On>>18,fe=Dn>>5,De=(lt&4095)<<8,te=be+fe+De,O+=y>>22,y&=Ls,te+=O>>22,O&=Ls,te&=G1,_o(y,O,te)}function VKe(e){var n,t,i,r,c,o,l;if(l=u(Le(e.j,0),12),l.g.c.length!=0&&l.e.c.length!=0)throw R(new Uc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(l.g.c.length!=0){for(c=Vi,t=new P(l.g);t.a0&&XGe(e,l,p);for(r=new P(p);r.a4)if(e.dk(n)){if(e.$k()){if(r=u(n,52),i=r.Bh(),f=i==e.e&&(e.kl()?r.vh(r.Ch(),e.gl())==e.hl():-1-r.Ch()==e.Jj()),e.ll()&&!f&&!i&&r.Gh()){for(c=0;ce.d[o.p]&&(t+=Hae(e.b,c)*u(f.b,15).a,I0(e.a,ve(c)));for(;!jj(e.a);)Ehe(e.b,u(N4(e.a),15).a)}return t}function fPn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D;for(n.Tg(JQe,1),S=new Te,b=k.Math.max(e.a.c.length,u(C(e,(me(),sb)),15).a),t=b*u(C(e,oI),15).a,l=ue(C(e,(Oe(),Ry)))===ue(($0(),ym)),O=new P(e.a);O.a0&&(h=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(h=e.n.b/r)}he(e,(me(),gp),h)}if(f=e.o,o=e.a,i)o.a=i.a,o.b=i.b,e.d=!0;else if(n!=th&&n!=pb&&l!=ju)switch(l.g){case 1:o.a=f.a/2;break;case 2:o.a=f.a,o.b=f.b/2;break;case 3:o.a=f.a/2,o.b=f.b;break;case 4:o.b=f.b/2}else o.a=f.a/2,o.b=f.b/2}function dS(e){var n,t,i,r,c,o,l,f,h,b;if(e.Nj())if(b=e.Cj(),f=e.Oj(),b>0)if(n=new t1e(e.nj()),t=b,c=t<100?null:new k0(t),MT(e,t,n.g),r=t==1?e.Gj(4,K(n,0),null,0,f):e.Gj(6,n,null,-1,f),e.Kj()){for(i=new st(n);i.e!=i.i.gc();)c=e.Mj(ft(i),c);c?(c.lj(r),c.mj()):e.Hj(r)}else c?(c.lj(r),c.mj()):e.Hj(r);else MT(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(En(),Sc),null,-1,f));else if(e.Kj())if(b=e.Cj(),b>0){for(l=e.Dj(),h=b,MT(e,b,l),c=h<100?null:new k0(h),i=0;i1&&us(o)*Gs(o)/2>l[0]){for(c=0;cl[c];)++c;A=new N0(O,0,c+1),p=new gB(A),b=us(o)/Gs(o),f=oZ(p,n,new o4,t,i,r,b),pi(fa(p.e),f),C4(k8(y,p),F8),S=new N0(O,c+1,O.c.length),zde(y,S),O.c.length=0,h=0,NIe(l,l.length,0)}else D=y.b.c.length==0?null:Le(y.b,0),D!=null&&$Y(y,0),h>0&&(l[h]=l[h-1]),l[h]+=us(o)*Gs(o),++h,qn(O.c,o);return O}function vPn(e,n){var t,i,r,c;t=n.b,c=new bs(t.j),r=0,i=t.j,i.c.length=0,xw(u(eg(e.b,(Ie(),Vn),($w(),hp)),16),t),r=PO(c,r,new E6,i),xw(u(eg(e.b,Vn,ub),16),t),r=PO(c,r,new ad,i),xw(u(eg(e.b,Vn,ap),16),t),xw(u(eg(e.b,nt,hp),16),t),xw(u(eg(e.b,nt,ub),16),t),r=PO(c,r,new hd,i),xw(u(eg(e.b,nt,ap),16),t),xw(u(eg(e.b,bt,hp),16),t),r=PO(c,r,new Rp,i),xw(u(eg(e.b,bt,ub),16),t),r=PO(c,r,new Cb,i),xw(u(eg(e.b,bt,ap),16),t),xw(u(eg(e.b,Yn,hp),16),t),r=PO(c,r,new fd,i),xw(u(eg(e.b,Yn,ub),16),t),xw(u(eg(e.b,Yn,ap),16),t)}function yPn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O;for(n.Tg("Layer size calculation",1),b=Vi,h=Ir,r=!1,l=new P(e.b);l.a.5?B-=o*2*(A-.5):A<.5&&(B+=c*2*(.5-A)),r=l.d.b,BD.a-O-b&&(B=D.a-O-b),l.n.a=n+B}}function jPn(e){var n,t,i,r,c;if(i=u(C(e,(Oe(),ku)),165),i==(Xs(),V1)){for(t=new Xn(Qn(cr(e).a.Jc(),new ee));ht(t);)if(n=u(ct(t),17),!UPe(n))throw R(new md(ree+$O(e)+"' 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(i==Sg){for(c=new Xn(Qn(Ii(e).a.Jc(),new ee));ht(c);)if(r=u(ct(c),17),!UPe(r))throw R(new md(ree+$O(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function uN(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A;if(e.e&&e.c.c>19!=0&&(n=t8(n),f=!f),o=oNn(n),c=!1,r=!1,i=!1,e.h==pN&&e.m==0&&e.l==0)if(r=!0,c=!0,o==-1)e=wTe((U9(),jme)),i=!0,f=!f;else return l=lbe(e,o),f&&eQ(l),t&&(tb=_o(0,0,0)),l;else e.h>>19!=0&&(c=!0,e=t8(e),i=!0,f=!f);return o!=-1?pkn(e,o,f,c,t):Kde(e,n)<0?(t&&(c?tb=t8(e):tb=_o(e.l,e.m,e.h)),_o(0,0,0)):n_n(i?e:_o(e.l,e.m,e.h),n,f,c,r,t)}function tZ(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A;if(o=e.e,f=n.e,o==0)return n;if(f==0)return e;if(c=e.d,l=n.d,c+l==2)return t=Rr(e.a[0],Dc),i=Rr(n.a[0],Dc),o==f?(b=mc(t,i),A=Rt(b),S=Rt(Hb(b,32)),S==0?new I1(o,A):new Gb(o,2,F(z($t,1),ni,30,15,[A,S]))):(yh(),N$(o<0?lf(i,t):lf(t,i),0)?J0(o<0?lf(i,t):lf(t,i)):lE(J0(Od(o<0?lf(i,t):lf(t,i)))));if(o==f)y=o,p=c>=l?bY(e.a,c,n.a,l):bY(n.a,l,e.a,c);else{if(r=c!=l?c>l?1:-1:M1e(e.a,n.a,c),r==0)return yh(),VS;r==1?(y=o,p=hY(e.a,c,n.a,l)):(y=f,p=hY(n.a,l,e.a,c))}return h=new Gb(y,p.length,p),gE(h),h}function SPn(e,n){var t,i,r,c,o,l,f;if(!(e.g>n.f||n.g>e.f)){for(t=0,i=0,o=e.w.a.ec().Jc();o.Ob();)r=u(o.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;for(l=e.r.a.ec().Jc();l.Ob();)r=u(l.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;for(f=n.w.a.ec().Jc();f.Ob();)r=u(f.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;for(c=n.r.a.ec().Jc();c.Ob();)r=u(c.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;t=0)return t;switch(Cw(Vc(e,t))){case 2:{if(bn("",_d(e,t.ok()).ve())){if(f=FT(Vc(e,t)),l=$9(Vc(e,t)),b=gbe(e,n,f,l),b)return b;for(r=qbe(e,n),o=0,p=r.gc();o1)throw R(new Un(GN));for(b=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o1,h=new Pa(y.b);gu(h.a)||gu(h.b);)f=u(gu(h.a)?L(h.a):L(h.b),17),p=f.c==y?f.d:f.c,k.Math.abs(mu(F(z(Lr,1),Ae,8,0,[p.i.n,p.n,p.a])).b-o.b)>1&&lIn(e,f,o,c,y)}}function TPn(e){var n,t,i,r,c,o;if(r=new qr(e.e,0),i=new qr(e.a,0),e.d)for(t=0;tKee;){for(c=n,o=0;k.Math.abs(n-c)0),r.a.Xb(r.c=--r.b),F_n(e,e.b-o,c,i,r),at(r.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(t=0;t0?(e.f[b.p]=S/(b.e.c.length+b.g.c.length),e.c=k.Math.min(e.c,e.f[b.p]),e.b=k.Math.max(e.b,e.f[b.p])):l&&(e.f[b.p]=S)}}function NPn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function IPn(e,n,t){var i,r,c,o;for(t.Tg("Graph transformation ("+e.a+")",1),o=Vb(n.a),c=new P(n.b);c.a=l.b.c)&&(l.b=n),(!l.c||n.c<=l.c.c)&&(l.d=l.c,l.c=n),(!l.e||n.d>=l.e.d)&&(l.e=n),(!l.f||n.d<=l.f.d)&&(l.f=n);return i=new oz((n8(),fp)),VT(e,Ztn,new Su(F(z(QN,1),Nn,377,0,[i]))),o=new oz(gm),VT(e,Wtn,new Su(F(z(QN,1),Nn,377,0,[o]))),r=new oz(bm),VT(e,Qtn,new Su(F(z(QN,1),Nn,377,0,[r]))),c=new oz(O3),VT(e,Ytn,new Su(F(z(QN,1),Nn,377,0,[c]))),CW(i.c,fp),CW(r.c,bm),CW(c.c,O3),CW(o.c,gm),l.a.c.length=0,Sr(l.a,i.c),Sr(l.a,Ks(r.c)),Sr(l.a,c.c),Sr(l.a,Ks(o.c)),l}function LPn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A;for(n.Tg(fWe,1),S=ne(re(ke(e,(Qh(),_m)))),o=ne(re(ke(e,(Ha(),Fx)))),l=u(ke(e,zx),104),Yhe((!e.a&&(e.a=new we(Ft,e,10,11)),e.a)),b=qKe((!e.a&&(e.a=new we(Ft,e,10,11)),e.a),S,o),!e.a&&(e.a=new we(Ft,e,10,11)),h=new P(b);h.a0&&(e.a=f+(S-1)*c,n.c.b+=e.a,n.f.b+=e.a)),A.a.gc()!=0&&(y=new EV(1,c),S=jge(y,n,A,O,n.f.b+f-n.c.b),S>0&&(n.f.b+=f+(S-1)*c))}function WKe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te;for(b=ne(re(C(e,(Oe(),Cg)))),i=ne(re(C(e,m4e))),y=new z6,he(y,Cg,b+i),h=n,B=h.d,O=h.c.i,q=h.d.i,D=zse(O.c),V=zse(q.c),r=new Te,p=D;p<=V;p++)l=new za(e),Mf(l,(Fn(),dr)),he(l,(me(),mi),h),he(l,Zi,(Br(),to)),he(l,jH,y),S=u(Le(e.b,p),25),p==D?H0(l,S.a.c.length-t,S):Or(l,S),te=ne(re(C(h,Ud))),te<0&&(te=0,he(h,Ud,te)),l.o.b=te,A=k.Math.floor(te/2),o=new Qu,Ar(o,(Ie(),Yn)),wu(o,l),o.n.b=A,f=new Qu,Ar(f,nt),wu(f,l),f.n.b=A,Gr(h,o),c=new Ow,Pu(c,h),he(c,Wc,null),fc(c,f),Gr(c,B),Hxn(l,h,c),qn(r.c,c),h=c;return r}function $Pn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V;if(O=n.b.c.length,!(O<3)){for(S=le($t,ni,30,O,15,1),p=0,b=new P(n.b);b.ao)&&hr(e.b,u(D.b,17));++l}c=o}}}function iZ(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V;for(f=u(Rd(e,(Ie(),Yn)).Jc().Pb(),12).e,S=u(Rd(e,nt).Jc().Pb(),12).g,l=f.c.length,V=La(u(Le(e.j,0),12));l-- >0;){for(O=(kn(0,f.c.length),u(f.c[0],17)),r=(kn(0,S.c.length),u(S.c[0],17)),q=r.d.e,c=pu(q,r,0),Kyn(O,r.d,c),fc(r,null),Gr(r,null),A=O.a,n&&Vt(A,new wc(V)),i=St(r.a,0);i.b!=i.d.c;)t=u(jt(i),8),Vt(A,new wc(t));for(B=O.b,y=new P(r.b);y.a-2;default:return!1}switch(n=e.Pj(),e.p){case 0:return n!=null&&Fe(ze(n))!=qj(e.k,0);case 1:return n!=null&&u(n,221).a!=Rt(e.k)<<24>>24;case 2:return n!=null&&u(n,180).a!=(Rt(e.k)&yr);case 6:return n!=null&&qj(u(n,190).a,e.k);case 5:return n!=null&&u(n,15).a!=Rt(e.k);case 7:return n!=null&&u(n,191).a!=Rt(e.k)<<16>>16;case 3:return n!=null&&ne(re(n))!=e.j;case 4:return n!=null&&u(n,164).a!=e.j;default:return n==null?e.n!=null:!gi(n,e.n)}}function oN(e,n,t){var i,r,c,o;return e.ml()&&e.ll()&&(o=wV(e,u(t,57)),ue(o)!==ue(t))?(e.vj(n),e.Bj(n,z$e(e,n,o)),e.$k()&&(c=(r=u(t,52),e.kl()?e.il()?r.Qh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),null):r.Qh(e.b,Ji(r.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,null):r.Qh(e.b,-1-e.Jj(),null,null)),!u(o,52).Mh()&&(c=(i=u(o,52),e.kl()?e.il()?i.Oh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),c):i.Oh(e.b,Ji(i.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,c):i.Oh(e.b,-1-e.Jj(),null,c))),c&&c.mj()),Fs(e.b)&&e.Hj(e.Gj(9,t,o,n,!1)),o):t}function ZKe(e){var n,t,i,r,c,o,l,f,h,b;for(i=new Te,o=new P(e.e.a);o.a0&&(o=k.Math.max(o,UBe(e.C.b+i.d.b,r))),b=i,p=r,y=c;e.C&&e.C.c>0&&(S=y+e.C.c,h&&(S+=b.d.c),o=k.Math.max(o,(Na(),Rf(qa),k.Math.abs(p-1)<=qa||p==1||isNaN(p)&&isNaN(1)?0:S/(1-p)))),t.n.b=0,t.a.a=o}function nVe(e,n){var t,i,r,c,o,l,f,h,b,p,y,S;if(t=u(zc(e.b,n),127),f=u(u(vi(e.r,n),22),83),f.dc()){t.n.d=0,t.n.a=0;return}for(h=e.u.Gc((ps(),Z1)),o=0,e.A.Gc((Vs(),_g))&&NXe(e,n),l=f.Jc(),b=null,y=0,p=0;l.Ob();)i=u(l.Pb(),115),c=ne(re(i.b.mf((H$(),mJ)))),r=i.b.Kf().b,b?(S=p+b.d.a+e.w+i.d.d,o=k.Math.max(o,(Na(),Rf(qa),k.Math.abs(y-c)<=qa||y==c||isNaN(y)&&isNaN(c)?0:S/(c-y)))):e.C&&e.C.d>0&&(o=k.Math.max(o,UBe(e.C.d+i.d.d,c))),b=i,y=c,p=r;e.C&&e.C.a>0&&(S=p+e.C.a,h&&(S+=b.d.a),o=k.Math.max(o,(Na(),Rf(qa),k.Math.abs(y-1)<=qa||y==1||isNaN(y)&&isNaN(1)?0:S/(1-y)))),t.n.d=0,t.a.b=o}function tVe(e,n,t){var i,r,c,o,l,f;for(this.g=e,l=n.d.length,f=t.d.length,this.d=le(u1,Fd,9,l+f,0,1),o=0;o0?NY(this,this.f/this.a):Ia(n.g,n.d[0]).a!=null&&Ia(t.g,t.d[0]).a!=null?NY(this,(ne(Ia(n.g,n.d[0]).a)+ne(Ia(t.g,t.d[0]).a))/2):Ia(n.g,n.d[0]).a!=null?NY(this,Ia(n.g,n.d[0]).a):Ia(t.g,t.d[0]).a!=null&&NY(this,Ia(t.g,t.d[0]).a)}function BPn(e,n,t,i,r,c,o,l){var f,h,b,p,y,S,A,O,D,B;if(A=!1,h=Ebe(t.q,n.f+n.b-t.q.f),S=i.f>n.b&&l,B=r-(t.q.e+h-o),p=(f=aS(i,B,!1),f.a),S&&p>i.f)return!1;if(S){for(y=0,D=new P(n.d);D.a=(kn(c,e.c.length),u(e.c[c],186)).e,!S&&p>n.b&&!b)?!1:((b||S||p<=n.b)&&(b&&p>n.b?(t.d=p,tO(t,$Ge(t,p))):(WHe(t.q,h),t.c=!0),tO(i,r-(t.s+t.r)),LO(i,t.q.e+t.q.d,n.f),kB(n,i),e.c.length>c&&(BO((kn(c,e.c.length),u(e.c[c],186)),i),(kn(c,e.c.length),u(e.c[c],186)).a.c.length==0&&Cd(e,c)),A=!0),A)}function zPn(e,n){var t,i,r,c,o,l,f,h,b,p;for(e.a=new yDe(hkn(Yx)),i=new P(n.a);i.a0&&(Wn(0,t.length),t.charCodeAt(0)!=47)))throw R(new Un("invalid opaquePart: "+t));if(e&&!(n!=null&&xj(SG,n.toLowerCase()))&&!(t==null||!jQ(t,oA,sA)))throw R(new Un(JZe+t));if(e&&n!=null&&xj(SG,n.toLowerCase())&&!BAn(t))throw R(new Un(JZe+t));if(!qjn(i))throw R(new Un("invalid device: "+i));if(!Hkn(r))throw o=r==null?"invalid segments: null":"invalid segment: "+$kn(r),R(new Un(o));if(!(c==null||ah(c,Xo(35))==-1))throw R(new Un("invalid query: "+c))}function rVe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B;if(y=new wc(e.o),B=n.a/y.a,l=n.b/y.b,O=n.a-y.a,c=n.b-y.b,t)for(r=ue(C(e,(Oe(),Zi)))===ue((Br(),to)),A=new P(e.j);A.a=1&&(D-o>0&&p>=0?(f.n.a+=O,f.n.b+=c*o):D-o<0&&b>=0&&(f.n.a+=O*D,f.n.b+=c));e.o.a=n.a,e.o.b=n.b,he(e,(Oe(),Ag),(Vs(),i=u(la(iA),10),new _l(i,u(Df(i,i.length),10),0)))}function GPn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B;if(t.Tg("Network simplex layering",1),e.b=n,B=u(C(n,(Oe(),jx)),15).a*4,D=e.b.a,D.c.length<1){t.Ug();return}for(c=$Dn(e,D),O=null,r=St(c,0);r.b!=r.d.c;){for(i=u(jt(r),16),l=B*lc(k.Math.sqrt(i.gc())),o=QDn(i),zW(_oe(Qbn(Loe(YK(o),l),O),!0),t.dh(1)),y=e.b.b,A=new P(o.a);A.a1)for(O=le($t,ni,30,e.b.b.c.length,15,1),p=0,h=new P(e.b.b);h.a0){rz(e,t,0),t.a+=String.fromCharCode(i),r=TEn(n,c),rz(e,t,r),c+=r-1;continue}i==39?c+10&&A.a<=0){f.c.length=0,qn(f.c,A);break}S=A.i-A.d,S>=l&&(S>l&&(f.c.length=0,l=S),qn(f.c,A))}f.c.length!=0&&(o=u(Le(f,fz(r,f.c.length)),116),V.a.Ac(o)!=null,o.g=b++,oge(o,n,t,i),f.c.length=0)}for(D=e.c.length+1,y=new P(e);y.aIr||n.o==Og&&b=l&&r<=f)l<=r&&c<=f?(t[b++]=r,t[b++]=c,i+=2):l<=r?(t[b++]=r,t[b++]=f,e.b[i]=f+1,o+=2):c<=f?(t[b++]=l,t[b++]=c,i+=2):(t[b++]=l,t[b++]=f,e.b[i]=f+1);else if(fY0)&&l<10);Poe(e.c,new kc),cVe(e),B3n(e.c),DPn(e.f)}function t$n(e,n){var t,i,r,c,o,l,f,h,b,p,y;switch(e.k.g){case 1:if(i=u(C(e,(me(),mi)),17),t=u(C(i,K3e),78),t?Fe(ze(C(i,qd)))&&(t=k1e(t)):t=new xs,h=u(C(e,Ea),12),h){if(b=mu(F(z(Lr,1),Ae,8,0,[h.i.n,h.n,h.a])),n<=b.a)return b.b;Ki(t,b,t.a,t.a.a)}if(p=u(C(e,gf),12),p){if(y=mu(F(z(Lr,1),Ae,8,0,[p.i.n,p.n,p.a])),y.a<=n)return y.b;Ki(t,y,t.c.b,t.c)}if(t.b>=2){for(f=St(t,0),o=u(jt(f),8),l=u(jt(f),8);l.a0&&EO(h,!0,(vr(),ru)),l.k==(Fn(),wr)&&LDe(h),ei(e.f,l,n)}}function oVe(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q;for(h=Vi,b=Vi,l=Ir,f=Ir,y=new P(n.i);y.a=e.j?(++e.j,Ce(e.b,ve(1)),Ce(e.c,b)):(i=e.d[n.p][1],ul(e.b,h,ve(u(Le(e.b,h),15).a+1-i)),ul(e.c,h,ne(re(Le(e.c,h)))+b-i*e.f)),(e.r==(X0(),pI)&&(u(Le(e.b,h),15).a>e.k||u(Le(e.b,h-1),15).a>e.k)||e.r==mI&&(ne(re(Le(e.c,h)))>e.n||ne(re(Le(e.c,h-1)))>e.n))&&(f=!1),o=new Xn(Qn(cr(n).a.Jc(),new ee));ht(o);)c=u(ct(o),17),l=c.c.i,e.g[l.p]==h&&(p=sVe(e,l),r=r+u(p.a,15).a,f=f&&Fe(ze(p.b)));return e.g[n.p]=h,r=r+e.d[n.p][0],new jc(ve(r),($n(),!!f))}function r$n(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;return y=e.c[n],S=e.c[t],A=u(C(y,(me(),Dy)),16),!!A&&A.gc()!=0&&A.Gc(S)||(O=y.k!=(Fn(),dr)&&S.k!=dr,D=u(C(y,bp),9),B=u(C(S,bp),9),q=D!=B,V=!!D&&D!=y||!!B&&B!=S,te=UQ(y,(Ie(),Vn)),be=UQ(S,bt),V=V|(UQ(y,bt)||UQ(S,Vn)),fe=V&&q||te||be,O&&fe)||y.k==(Fn(),wo)&&S.k==Wi||S.k==(Fn(),wo)&&y.k==Wi?!1:(b=e.c[n],c=e.c[t],r=GHe(e.e,b,c,(Ie(),Yn)),f=GHe(e.i,b,c,nt),NNn(e.f,b,c),h=Qze(e.b,b,c)+u(r.a,15).a+u(f.a,15).a+e.f.d,l=Qze(e.b,c,b)+u(r.b,15).a+u(f.b,15).a+e.f.b,e.a&&(p=u(C(b,mi),12),o=u(C(c,mi),12),i=CHe(e.g,p,o),h+=u(i.a,15).a,l+=u(i.b,15).a),h>l)}function lVe(e,n){var t,i,r,c,o;t=ne(re(C(n,(Oe(),Kf)))),t<2&&he(n,Kf,2),i=u(C(n,wl),86),i==(vr(),nh)&&he(n,wl,UB(n)),r=u(C(n,Dun),15),r.a==0?he(n,(me(),Ly),new yQ):he(n,(me(),Ly),new VR(r.a)),c=ze(C(n,vx)),c==null&&he(n,vx,($n(),ue(C(n,Y1))===ue((z1(),q7)))),er(new mn(null,new yn(n.a,16)),new Zue(e)),er(lu(new mn(null,new yn(n.b,16)),new b1),new eoe(e)),o=new iVe(n),he(n,(me(),z3),o),zT(e.a),aa(e.a,(zr(),Xf),u(C(n,By),188)),aa(e.a,c1,u(C(n,wH),188)),aa(e.a,eo,u(C(n,px),188)),aa(e.a,no,u(C(n,yH),188)),aa(e.a,Pc,L7n(u(C(n,Y1),222))),Fse(e.a,ZRn(n)),he(n,kie,uN(e.a,n))}function jge(e,n,t,i,r){var c,o,l,f,h,b,p,y,S,A,O,D,B;for(p=new wt,o=new Te,iqe(e,t,e.d.zg(),o,p),iqe(e,i,e.d.Ag(),o,p),e.b=.2*(O=fUe(lu(new mn(null,new yn(o,16)),new vM)),D=fUe(lu(new mn(null,new yn(o,16)),new yM)),k.Math.min(O,D)),c=0,l=0;l=2&&(B=IUe(o,!0,y),!e.e&&(e.e=new CEe(e)),MEn(e.e,B,o,e.b)),lGe(o,y),f$n(o),S=-1,b=new P(o);b.a0&&(t+=f.n.a+f.o.a/2,++p),A=new P(f.j);A.a0&&(t/=p),B=le(Jr,Jc,30,i.a.c.length,15,1),l=0,h=new P(i.a);h.a-1){for(r=St(l,0);r.b!=r.d.c;)i=u(jt(r),132),i.v=o;for(;l.b!=0;)for(i=u(nW(l,0),132),t=new P(i.i);t.a-1){for(c=new P(l);c.a0)&&(dw(f,k.Math.min(f.o,r.o-1)),m0(f,f.i-1),f.i==0&&qn(l.c,f))}}function hVe(e,n,t,i,r){var c,o,l,f;return f=Vi,o=!1,l=dge(e,Nr(new Ee(n.a,n.b),e),pi(new Ee(t.a,t.b),r),Nr(new Ee(i.a,i.b),t)),c=!!l&&!(k.Math.abs(l.a-e.a)<=rp&&k.Math.abs(l.b-e.b)<=rp||k.Math.abs(l.a-n.a)<=rp&&k.Math.abs(l.b-n.b)<=rp),l=dge(e,Nr(new Ee(n.a,n.b),e),t,r),l&&((k.Math.abs(l.a-e.a)<=rp&&k.Math.abs(l.b-e.b)<=rp)==(k.Math.abs(l.a-n.a)<=rp&&k.Math.abs(l.b-n.b)<=rp)||c?f=k.Math.min(f,aE(Nr(l,t))):o=!0),l=dge(e,Nr(new Ee(n.a,n.b),e),i,r),l&&(o||(k.Math.abs(l.a-e.a)<=rp&&k.Math.abs(l.b-e.b)<=rp)==(k.Math.abs(l.a-n.a)<=rp&&k.Math.abs(l.b-n.b)<=rp)||c)&&(f=k.Math.min(f,aE(Nr(l,i)))),f}function dVe(e){a2(e,new qw(UP(l2(u2(s2(o2(new gd,W0),uQe),"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 m5),$o))),Se(e,W0,ES,_e(dve)),Se(e,W0,aF,($n(),!0)),Se(e,W0,k3,_e(Ptn)),Se(e,W0,my,_e($tn)),Se(e,W0,py,_e(Rtn)),Se(e,W0,K8,_e(Ltn)),Se(e,W0,SS,_e(gve)),Se(e,W0,V8,_e(Btn)),Se(e,W0,swe,_e(hve)),Se(e,W0,fwe,_e(fve)),Se(e,W0,awe,_e(ave)),Se(e,W0,hwe,_e(bve)),Se(e,W0,lwe,_e(EJ))}function a$n(e){var n,t,i,r,c,o,l,f;for(n=null,i=new P(e);i.a0&&t.c==0&&(!n&&(n=new Te),qn(n.c,t));if(n)for(;n.c.length!=0;){if(t=u(Cd(n,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Te),new P(t.b));c.apu(e,t,0))return new jc(r,t)}else if(ne(Ia(r.g,r.d[0]).a)>ne(Ia(t.g,t.d[0]).a))return new jc(r,t)}for(l=(!t.e&&(t.e=new Te),t.e).Jc();l.Ob();)o=u(l.Pb(),239),f=(!o.b&&(o.b=new Te),o.b),N2(0,f.c.length),_j(f.c,0,t),o.c==f.c.length&&qn(n.c,o)}return null}function bS(e,n){var t,i,r,c,o,l,f,h,b;if(n.e==5){uVe(e,n);return}if(h=n,!(h.b==null||e.b==null)){for(h3(e),hS(e),h3(h),hS(h),t=le($t,ni,30,e.b.length+h.b.length,15,1),b=0,i=0,o=0;i=l&&r<=f)l<=r&&c<=f?i+=2:l<=r?(e.b[i]=f+1,o+=2):c<=f?(t[b++]=r,t[b++]=l-1,i+=2):(t[b++]=r,t[b++]=l-1,e.b[i]=f+1,o+=2);else if(f0),u(b.a.Xb(b.c=--b.b),17));c!=i&&b.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(at(b.b>0),u(b.a.Xb(b.c=--b.b),17));b.b>0&&As(b)}}function bVe(e,n,t){var i,r,c,o,l,f,h,b,p,y;if(t)for(i=-1,b=new qr(n,0);b.b0?r-=864e5:r+=864e5,f=new jle(mc(Lu(n.q.getTime()),r))),b=new h4,h=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(o=c+1;o=h)throw R(new Un("Missing trailing '"));o+1=14&&b<=16))?n.a._b(i)?(t.a?Kt(t.a,t.b):t.a=new tl(t.d),Xj(t.a,"[...]")):(l=G4(i),h=new E2(n),D1(t,wVe(l,h))):X(i,171)?D1(t,cTn(u(i,171))):X(i,195)?D1(t,XAn(u(i,195))):X(i,201)?D1(t,ZMn(u(i,201))):X(i,2073)?D1(t,KAn(u(i,2073))):X(i,54)?D1(t,rTn(u(i,54))):X(i,584)?D1(t,mTn(u(i,584))):X(i,830)?D1(t,iTn(u(i,830))):X(i,108)&&D1(t,tTn(u(i,108))):D1(t,i==null?Vo:fu(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function D8(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,c8(e,null)):(e.F=(Ln(n),n),i=ah(n,Xo(60)),i!=-1?(r=(Qr(0,i,n.length),n.substr(0,i)),ah(n,Xo(46))==-1&&!bn(r,ly)&&!bn(r,BS)&&!bn(r,VF)&&!bn(r,zS)&&!bn(r,FS)&&!bn(r,JS)&&!bn(r,HS)&&!bn(r,GS)&&(r=nen),t=z$(n,Xo(62)),t!=-1&&(r+=""+(Wn(t+1,n.length+1),n.substr(t+1))),c8(e,r)):(r=n,ah(n,Xo(46))==-1&&(i=ah(n,Xo(91)),i!=-1&&(r=(Qr(0,i,n.length),n.substr(0,i))),!bn(r,ly)&&!bn(r,BS)&&!bn(r,VF)&&!bn(r,zS)&&!bn(r,FS)&&!bn(r,JS)&&!bn(r,HS)&&!bn(r,GS)?(r=nen,i!=-1&&(r+=""+(Wn(i,n.length+1),n.substr(i)))):r=n),c8(e,r),r==n&&(e.F=e.D))),(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,5,c,n))}function m$n(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A;if(e.c=e.e,A=ze(C(n,(Oe(),_un))),S=A==null||(Ln(A),A),c=u(C(n,(me(),po)),22).Gc((Ic(),Kl)),r=u(C(n,Zi),102),t=!(r==(Br(),Dg)||r==a1||r==to),S&&(t||!c)){for(p=new P(n.a);p.a=0)return r=Fjn(e,(Qr(1,o,n.length),n.substr(1,o-1))),b=(Qr(o+1,f,n.length),n.substr(o+1,f-(o+1))),GRn(e,b,r)}else{if(t=-1,Mme==null&&(Mme=new RegExp("\\d")),Mme.test(String.fromCharCode(l))&&(t=Hle(n,Xo(46),f-1),t>=0)){i=u(aY(e,YRe(e,(Qr(1,t,n.length),n.substr(1,t-1))),!1),61),h=0;try{h=al((Wn(t+1,n.length+1),n.substr(t+1)),Xr,oi)}catch(y){throw y=sr(y),X(y,131)?(c=y,R(new sB(c))):R(y)}if(h>16==-10?t=u(e.Cb,293).Wk(n,t):e.Db>>16==-15&&(!n&&(n=(jn(),rh)),!h&&(h=(jn(),rh)),e.Cb.Vh()&&(f=new L1(e.Cb,1,13,h,n,$d(Ts(u(e.Cb,62)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,88))e.Db>>16==-23&&(X(n,88)||(n=(jn(),jf)),X(h,88)||(h=(jn(),jf)),e.Cb.Vh()&&(f=new L1(e.Cb,1,10,h,n,$d(Vu(u(e.Cb,29)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,446))for(l=u(e.Cb,834),o=(!l.b&&(l.b=new IP(new jX)),l.b),c=(i=new B2(new sn(o.a).a),new DP(i));c.a.b;)r=u(t3(c.a).jd(),87),t=_8(r,Iz(r,l),t)}return t}function y$n(e,n){var t,i,r,c,o,l,f,h,b,p,y;for(o=Fe(ze(ke(e,(Oe(),Sm)))),y=u(ke(e,Mm),22),f=!1,h=!1,p=new st((!e.c&&(e.c=new we($s,e,9,9)),e.c));p.e!=p.i.gc()&&(!f||!h);){for(c=u(ft(p),125),l=0,r=Uh(Rl(F(z(Xl,1),Nn,20,0,[(!c.d&&(c.d=new In(pr,c,8,5)),c.d),(!c.e&&(c.e=new In(pr,c,7,4)),c.e)])));ht(r)&&(i=u(ct(r),85),b=o&&Uw(i)&&Fe(ze(ke(i,xg))),t=YKe((!i.b&&(i.b=new In(mt,i,4,7)),i.b),c)?e==Fi(iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))):e==Fi(iu(u(K((!i.b&&(i.b=new In(mt,i,4,7)),i.b),0),84))),!((b||t)&&(++l,l>1))););(l>0||y.Gc((ps(),Z1))&&(!c.n&&(c.n=new we(Eu,c,1,7)),c.n).i>0)&&(f=!0),l>1&&(h=!0)}f&&n.Ec((Ic(),Kl)),h&&n.Ec((Ic(),ux))}function mVe(e){var n,t,i,r,c,o,l,f,h,b,p,y;if(y=u(ke(e,(Xt(),Ig)),22),y.dc())return null;if(l=0,o=0,y.Gc((Vs(),XI))){for(b=u(ke(e,Vx),102),i=2,t=2,r=2,c=2,n=Fi(e)?u(ke(Fi(e),Ng),86):u(ke(e,Ng),86),h=new st((!e.c&&(e.c=new we($s,e,9,9)),e.c));h.e!=h.i.gc();)if(f=u(ft(h),125),p=u(ke(f,t5),64),p==(Ie(),ju)&&(p=uge(f,n),Ei(f,t5,p)),b==(Br(),to))switch(p.g){case 1:i=k.Math.max(i,f.i+f.g);break;case 2:t=k.Math.max(t,f.j+f.f);break;case 3:r=k.Math.max(r,f.i+f.g);break;case 4:c=k.Math.max(c,f.j+f.f)}else switch(p.g){case 1:i+=f.g+2;break;case 2:t+=f.f+2;break;case 3:r+=f.g+2;break;case 4:c+=f.f+2}l=k.Math.max(i,r),o=k.Math.max(t,c)}return Yw(e,l,o,!0,!0)}function k$n(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O;for(r=null,i=new P(n.a);i.a1)for(r=e.e.b,Vt(e.e,f),l=f.a.ec().Jc();l.Ob();)o=u(l.Pb(),9),ei(e.c,o,ve(r))}}function j$n(e,n,t,i){var r,c,o,l,f,h,b,p,y,S;for(c=new Pqe(n),p=VIn(e,n,c),S=k.Math.max(ne(re(C(n,(Oe(),Ud)))),1),b=new P(p.a);b.a=0){for(f=null,l=new qr(b.a,h+1);l.b0,h?h&&(y=B.p,o?++y:--y,p=u(Le(B.c.a,y),9),i=Nze(p),S=!(BUe(i,fe,t[0])||VIe(i,fe,t[0]))):S=!0),A=!1,be=n.D.i,be&&be.c&&l.e&&(b=o&&be.p>0||!o&&be.p=0&&Oo?1:Bb(isNaN(0),isNaN(o)))<0&&(Rf(Mh),(k.Math.abs(o-1)<=Mh||o==1||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:Bb(isNaN(o),isNaN(1)))<0)&&(Rf(Mh),(k.Math.abs(0-l)<=Mh||l==0||isNaN(0)&&isNaN(l)?0:0l?1:Bb(isNaN(0),isNaN(l)))<0)&&(Rf(Mh),(k.Math.abs(l-1)<=Mh||l==1||isNaN(l)&&isNaN(1)?0:l<1?-1:l>1?1:Bb(isNaN(l),isNaN(1)))<0)),c)}function O$n(e){var n,t,i,r,c,o,l,f,h,b,p;for(e.j=le($t,ni,30,e.g,15,1),e.o=new Te,er(lu(new mn(null,new yn(e.e.b,16)),new pv),new EEe(e)),e.a=le(ts,ma,30,e.b,16,1),CO(new mn(null,new yn(e.e.b,16)),new xEe(e)),i=(p=new Te,er(li(lu(new mn(null,new yn(e.e.b,16)),new B5),new SEe(e)),new lCe(e,p)),p),f=new P(i);f.a=h.c.c.length?b=Bae((Fn(),Wi),dr):b=Bae((Fn(),dr),dr),b*=2,c=t.a.g,t.a.g=k.Math.max(c,c+(b-c)),o=t.b.g,t.b.g=k.Math.max(o,o+(b-o)),r=n}}function Qz(e,n){var t;if(e.e)throw R(new Uc((M1(gte),UZ+gte.k+XZ)));if(!Hgn(e.a,n))throw R(new du(RYe+n+BYe));if(n==e.d)return e;switch(t=e.d,e.d=n,t.g){case 0:switch(n.g){case 2:Hw(e);break;case 1:B0(e),Hw(e);break;case 4:l3(e),Hw(e);break;case 3:l3(e),B0(e),Hw(e)}break;case 2:switch(n.g){case 1:B0(e),LW(e);break;case 4:l3(e),Hw(e);break;case 3:l3(e),B0(e),Hw(e)}break;case 1:switch(n.g){case 2:B0(e),LW(e);break;case 4:B0(e),l3(e),Hw(e);break;case 3:B0(e),l3(e),B0(e),Hw(e)}break;case 4:switch(n.g){case 2:l3(e),Hw(e);break;case 1:l3(e),B0(e),Hw(e);break;case 3:B0(e),LW(e)}break;case 3:switch(n.g){case 2:B0(e),l3(e),Hw(e);break;case 1:B0(e),l3(e),B0(e),Hw(e);break;case 4:B0(e),LW(e)}}return e}function p3(e,n){var t;if(e.d)throw R(new Uc((M1(Tte),UZ+Tte.k+XZ)));if(!Jgn(e.a,n))throw R(new du(RYe+n+BYe));if(n==e.c)return e;switch(t=e.c,e.c=n,t.g){case 0:switch(n.g){case 2:ig(e);break;case 1:R0(e),ig(e);break;case 4:f3(e),ig(e);break;case 3:f3(e),R0(e),ig(e)}break;case 2:switch(n.g){case 1:R0(e),PW(e);break;case 4:f3(e),ig(e);break;case 3:f3(e),R0(e),ig(e)}break;case 1:switch(n.g){case 2:R0(e),PW(e);break;case 4:R0(e),f3(e),ig(e);break;case 3:R0(e),f3(e),R0(e),ig(e)}break;case 4:switch(n.g){case 2:f3(e),ig(e);break;case 1:f3(e),R0(e),ig(e);break;case 3:R0(e),PW(e)}break;case 3:switch(n.g){case 2:R0(e),f3(e),ig(e);break;case 1:R0(e),f3(e),R0(e),ig(e);break;case 4:R0(e),PW(e)}}return e}function N$n(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V;for(p=e.b,b=new qr(p,0),y2(b,new Xu(e)),q=!1,o=1;b.b0&&(n.a+=To),Wz(u(ft(l),174),n);for(n.a+=nee,f=new j4((!i.c&&(i.c=new In(mt,i,5,8)),i.c));f.e!=f.i.gc();)f.e>0&&(n.a+=To),Wz(u(ft(f),174),n);n.a+=")"}}function I$n(e,n,t){var i,r,c,o,l,f,h,b;for(f=new st((!e.a&&(e.a=new we(Ft,e,10,11)),e.a));f.e!=f.i.gc();)for(l=u(ft(f),26),r=new Xn(Qn(U0(l).a.Jc(),new ee));ht(r);){if(i=u(ct(r),85),!i.b&&(i.b=new In(mt,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new In(mt,i,5,8)),i.c.i<=1)))throw R(new a4("Graph must not contain hyperedges."));if(!eS(i)&&l!=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)))for(h=new tNe,Pu(h,i),he(h,(L0(),My),i),xP(h,u(bu(Xc(t.f,l)),155)),nX(h,u(zn(t,iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))),155)),Ce(n.c,h),o=new st((!i.n&&(i.n=new we(Eu,i,1,7)),i.n));o.e!=o.i.gc();)c=u(ft(o),157),b=new fPe(h,c.a),Pu(b,c),he(b,My,c),b.e.a=k.Math.max(c.g,1),b.e.b=k.Math.max(c.f,1),hge(b),Ce(n.d,b)}}function D$n(e,n,t){var i,r,c,o,l,f,h,b,p,y;switch(t.Tg("Node promotion heuristic",1),e.i=n,e.r=u(C(n,(Oe(),dI)),243),e.r!=(X0(),_7)&&e.r!=xx?cRn(e):NIn(e),b=u(C(e.i,i4e),15).a,c=new Nq,e.r.g){case 2:case 1:I8(e,c);break;case 3:for(e.r=TH,I8(e,c),f=0,l=new P(e.b);l.ae.k&&(e.r=pI,I8(e,c));break;case 4:for(e.r=TH,I8(e,c),h=0,r=new P(e.c);r.ae.n&&(e.r=mI,I8(e,c));break;case 6:y=lc(k.Math.ceil(e.g.length*b/100)),I8(e,new jje(y));break;case 5:p=lc(k.Math.ceil(e.e*b/100)),I8(e,new Eje(p));break;case 8:eYe(e,!0);break;case 9:eYe(e,!1);break;default:I8(e,c)}e.r!=_7&&e.r!=xx?QNn(e,n):wDn(e,n),t.Ug()}function _$n(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V;for(p=new Mge(e),j4n(p,!(n==(vr(),Vl)||n==eh)),b=p.a,y=new o4,r=(wa(),F(z(dm,1),je,237,0,[Ou,No,Nu])),o=0,f=r.length;o0&&(y.d+=b.n.d,y.d+=b.d),y.a>0&&(y.a+=b.n.a,y.a+=b.d),y.b>0&&(y.b+=b.n.b,y.b+=b.d),y.c>0&&(y.c+=b.n.c,y.c+=b.d),y}function kVe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A;for(y=t.d,p=t.c,c=new Ee(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),o=c.b,h=new P(e.a);h.a0&&(e.c[n.c.p][n.p].d+=Ds(e.i,24)*kN*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}function P$n(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D;for(A=new P(e);A.ai.d,i.d=k.Math.max(i.d,n),l&&t&&(i.d=k.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=k.Math.max(i.a,n),l&&t&&(i.a=k.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=k.Math.max(i.c,n),l&&t&&(i.c=k.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=k.Math.max(i.b,n),l&&t&&(i.b=k.Math.max(i.b,i.c),i.c=i.b+r)}}}function EVe(e,n){var t,i,r,c,o,l,f,h,b;return h="",n.length==0?e.le(Jge,pZ,-1,-1):(b=V2(n),bn(b.substr(0,3),"at ")&&(b=(Wn(3,b.length+1),b.substr(3))),b=b.replace(/\[.*?\]/g,""),o=b.indexOf("("),o==-1?(o=b.indexOf("@"),o==-1?(h=b,b=""):(h=V2((Wn(o+1,b.length+1),b.substr(o+1))),b=V2((Qr(0,o,b.length),b.substr(0,o))))):(t=b.indexOf(")",o),h=(Qr(o+1,t,b.length),b.substr(o+1,t-(o+1))),b=V2((Qr(0,o,b.length),b.substr(0,o)))),o=ah(b,Xo(46)),o!=-1&&(b=(Wn(o+1,b.length+1),b.substr(o+1))),(b.length==0||bn(b,"Anonymous function"))&&(b=pZ),l=z$(h,Xo(58)),r=Hle(h,Xo(58),l-1),f=-1,i=-1,c=Jge,l!=-1&&r!=-1&&(c=(Qr(0,r,h.length),h.substr(0,r)),f=kOe((Qr(r+1,l,h.length),h.substr(r+1,l-(r+1)))),i=kOe((Wn(l+1,h.length+1),h.substr(l+1)))),e.le(c,b,f,i))}function R$n(e){var n,t,i,r,c,o,l,f,h,b,p;for(h=new P(e);h.a0||b.j==Yn&&b.e.c.length-b.g.c.length<0)){n=!1;break}for(r=new P(b.g);r.a=h&&be>=D&&(y+=A.n.b+O.n.b+O.a.b-te,++l));if(t)for(o=new P(q.e);o.a=h&&be>=D&&(y+=A.n.b+O.n.b+O.a.b-te,++l))}l>0&&(fe+=y/l,++S)}S>0?(n.a=r*fe/S,n.g=S):(n.a=0,n.g=0)}function xge(e,n,t,i){var r,c,o,l,f;return l=new Mge(n),_Nn(l,i),r=!0,e&&e.nf((Xt(),Ng))&&(c=u(e.mf((Xt(),Ng)),86),r=c==(vr(),nh)||c==Zc||c==ru),EXe(l,!1),Ao(l.e.Pf(),new Kle(l,!1,r)),HV(l,l.f,(wa(),Ou),(Ie(),Vn)),HV(l,l.f,Nu,bt),HV(l,l.g,Ou,Yn),HV(l,l.g,Nu,nt),GJe(l,Vn),GJe(l,bt),BDe(l,nt),BDe(l,Yn),v2(),o=l.A.Gc((Vs(),Jm))&&l.B.Gc((_s(),VI))?iJe(l):null,o&&Zbn(l.a,o),$$n(l),rxn(l),cxn(l),d$n(l),A_n(l),Oxn(l),NQ(l,Vn),NQ(l,bt),bDn(l),tPn(l),t&&(Yjn(l),Nxn(l),NQ(l,nt),NQ(l,Yn),f=l.B.Gc((_s(),rA)),fqe(l,f,Vn),fqe(l,f,bt),aqe(l,f,nt),aqe(l,f,Yn),er(new mn(null,new yn(new ot(l.i),0)),new Gg),er(li(new mn(null,Jfe(l.r).a.oc()),new qg),new Ug),HAn(l),l.e.Nf(l.o),er(new mn(null,Jfe(l.r).a.oc()),new sd)),l.o}function z$n(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O;for(h=Vi,i=new P(e.a.b);i.a1)for(S=new wge(A,V,i),cc(V,new aCe(e,S)),qn(o.c,S),p=V.a.ec().Jc();p.Ob();)b=u(p.Pb(),49),qo(c,b.b);if(l.a.gc()>1)for(S=new wge(A,l,i),cc(l,new hCe(e,S)),qn(o.c,S),p=l.a.ec().Jc();p.Ob();)b=u(p.Pb(),49),qo(c,b.b)}}function G$n(e,n){var t,i,r,c,o,l;if(u(C(n,(me(),po)),22).Gc((Ic(),Kl))){for(l=new P(n.a);l.a=0&&o0&&(u(zc(e.b,n),127).a.b=t)}function Q$n(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B;for(S=0,i=new ar,c=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));c.e!=c.i.gc();)r=u(ft(c),26),Fe(ze(ke(r,(Oe(),Mg))))||(p=Fi(r),Xz(p)&&!Fe(ze(ke(r,aH)))&&(Ei(r,(me(),Oi),ve(S)),++S,ba(r,jm)&&hr(i,u(ke(r,jm),15))),xVe(e,r,t));for(he(t,(me(),sb),ve(S)),he(t,oI,ve(i.a.gc())),S=0,b=new st((!n.b&&(n.b=new we(pr,n,12,3)),n.b));b.e!=b.i.gc();)f=u(ft(b),85),Xz(n)&&(Ei(f,Oi,ve(S)),++S),D=dW(f),B=jGe(f),y=Fe(ze(ke(D,(Oe(),Sm)))),O=!Fe(ze(ke(f,Mg))),A=y&&Uw(f)&&Fe(ze(ke(f,xg))),o=Fi(D)==n&&Fi(D)==Fi(B),l=(Fi(D)==n&&B==n)^(Fi(B)==n&&D==n),O&&!A&&(l||o)&&Ige(e,f,n,t);if(Fi(n))for(h=new st(UDe(Fi(n)));h.e!=h.i.gc();)f=u(ft(h),85),D=dW(f),D==n&&Uw(f)&&(A=Fe(ze(ke(D,(Oe(),Sm))))&&Fe(ze(ke(f,xg))),A&&Ige(e,f,n,t))}function W$n(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn;for(fe=new Te,A=new P(e.b);A.a=n.length)return{done:!0};var r=n[i++];return{value:[r,t.get(r)],done:!1}}}},KIn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,t){this.obj[":"+n]=t},e.prototype[FZ]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var t in this.obj)t.charCodeAt(0)==58&&n.push(t.substring(1));return n}),e}function Ti(){Ti=Y,Lx=new ki(owe),new Pi("DEPTH",ve(0)),wre=new Pi("FAN",ve(0)),pye=new Pi(VQe,ve(0)),db=new Pi("ROOT",($n(),!1)),vre=new Pi("LEFTNEIGHBOR",null),csn=new Pi("RIGHTNEIGHBOR",null),$H=new Pi("LEFTSIBLING",null),yre=new Pi("RIGHTSIBLING",null),gre=new Pi("DUMMY",!1),new Pi("LEVEL",ve(0)),yye=new Pi("REMOVABLE_EDGES",new xi),SI=new Pi("XCOOR",ve(0)),xI=new Pi("YCOOR",ve(0)),RH=new Pi("LEVELHEIGHT",0),Sa=new Pi("LEVELMIN",0),Vf=new Pi("LEVELMAX",0),pre=new Pi("GRAPH_XMIN",0),mre=new Pi("GRAPH_YMIN",0),mye=new Pi("GRAPH_XMAX",0),vye=new Pi("GRAPH_YMAX",0),wye=new Pi("COMPACT_LEVEL_ASCENSION",!1),bre=new Pi("COMPACT_CONSTRAINTS",new Te),_x=new Pi("ID",""),Px=new Pi("POSITION",ve(0)),Vd=new Pi("PRELIM",0),$7=new Pi("MODIFIER",0),P7=new ki(rQe),EI=new ki(cQe)}function tRn(e){cge();var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D;if(e==null)return null;if(p=e.length*8,p==0)return"";for(l=p%24,S=p/24|0,y=l!=0?S+1:S,c=null,c=le(Wl,Eh,30,y*4,15,1),h=0,b=0,n=0,t=0,i=0,o=0,r=0,f=0;f>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,D=(i&-128)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[o++]=r0[A],c[o++]=r0[O|h<<4],c[o++]=r0[b<<2|D],c[o++]=r0[i&63];return l==8?(n=e[r],h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,c[o++]=r0[A],c[o++]=r0[h<<4],c[o++]=61,c[o++]=61):l==16&&(n=e[r],t=e[r+1],b=(t&15)<<24>>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,c[o++]=r0[A],c[o++]=r0[O|h<<4],c[o++]=r0[b<<2],c[o++]=61),ph(c,0,c.length)}function iRn(e,n){var t,i,r,c,o,l,f;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Xr&&Fae(n,e.p-Q0),o=n.q.getDate(),UT(n,1),e.k>=0&&D4n(n,e.k),e.c>=0?UT(n,e.c):e.k>=0?(f=new p1e(n.q.getFullYear()-Q0,n.q.getMonth(),35),i=35-f.q.getDate(),UT(n,k.Math.min(i,o))):UT(n,o),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Hwn(n,e.f==24&&e.g?0:e.f),e.j>=0&&a9n(n,e.j),e.n>=0&&S9n(n,e.n),e.i>=0&&rTe(n,mc(hc(FO(Lu(n.q.getTime()),zd),zd),e.i)),e.a&&(r=new r$,Fae(r,r.q.getFullYear()-Q0-80),HX(Lu(n.q.getTime()),Lu(r.q.getTime()))&&Fae(n,r.q.getFullYear()-Q0+100)),e.d>=0){if(e.c==-1)t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),l=n.q.getMonth(),UT(n,n.q.getDate()+t),n.q.getMonth()!=l&&UT(n,n.q.getDate()+(t>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>Xr&&(c=n.q.getTimezoneOffset(),rTe(n,mc(Lu(n.q.getTime()),(e.o-c)*60*zd))),!0}function TVe(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te;if(r=C(n,(me(),mi)),!!X(r,206)){for(A=u(r,26),O=n.e,y=new wc(n.c),c=n.d,y.a+=c.b,y.b+=c.d,te=u(ke(A,(Oe(),kH)),182),cs(te,(_s(),aG))&&(S=u(ke(A,l4e),104),WU(S,c.a),tX(S,c.d),ZU(S,c.b),eX(S,c.c)),t=new Te,b=new P(n.a);b.ai.c.length-1;)Ce(i,new jc(E3,Fpe));t=u(C(r,Dh),15).a,x1(u(C(e,kp),86))?(r.e.ane(re((kn(t,i.c.length),u(i.c[t],49)).b))&&HC((kn(t,i.c.length),u(i.c[t],49)),r.e.a+r.f.a)):(r.e.bne(re((kn(t,i.c.length),u(i.c[t],49)).b))&&HC((kn(t,i.c.length),u(i.c[t],49)),r.e.b+r.f.b))}for(c=St(e.b,0);c.b!=c.d.c;)r=u(jt(c),40),t=u(C(r,(Mu(),Dh)),15).a,he(r,(Ti(),Sa),re((kn(t,i.c.length),u(i.c[t],49)).a)),he(r,Vf,re((kn(t,i.c.length),u(i.c[t],49)).b));n.Ug()}function cRn(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O;for(e.o=ne(re(C(e.i,(Oe(),Tg)))),e.f=ne(re(C(e.i,lb))),e.j=e.i.b.c.length,l=e.j-1,y=0,e.k=0,e.n=0,e.b=Pf(le(jr,Ae,15,e.j,0,1)),e.c=Pf(le(gr,Ae,346,e.j,7,1)),o=new P(e.i.b);o.a0&&Ce(e.q,b),Ce(e.p,b);n-=i,S=f+n,h+=n*e.f,ul(e.b,l,ve(S)),ul(e.c,l,h),e.k=k.Math.max(e.k,S),e.n=k.Math.max(e.n,h),e.e+=n,n+=O}}function IVe(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V;if(n.b!=0){for(S=new xi,l=null,A=null,i=lc(k.Math.floor(k.Math.log(n.b)*k.Math.LOG10E)+1),f=0,V=St(n,0);V.b!=V.d.c;)for(B=u(jt(V),40),ue(A)!==ue(C(B,(Ti(),_x)))&&(A=Pt(C(B,_x)),f=0),A!=null?l=A+bLe(f++,i):l=bLe(f++,i),he(B,_x,l),D=(r=St(new S1(B).a.d,0),new Cv(r));WC(D.a);)O=u(jt(D.a),65).c,Ki(S,O,S.c.b,S.c),he(O,_x,l);for(y=new wt,o=0;o0&&(V-=S),pge(o,V),b=0,y=new P(o.a);y.a0),l.a.Xb(l.c=--l.b)),f=.4*i*b,!c&&l.b0&&(f=(Wn(0,n.length),n.charCodeAt(0)),f!=64)){if(f==37&&(p=n.lastIndexOf("%"),h=!1,p!=0&&(p==y-1||(h=(Wn(p+1,n.length),n.charCodeAt(p+1)==46))))){if(o=(Qr(1,p,n.length),n.substr(1,p-1)),V=bn("%",o)?null:Tge(o),i=0,h)try{i=al((Wn(p+2,n.length+1),n.substr(p+2)),Xr,oi)}catch(te){throw te=sr(te),X(te,131)?(l=te,R(new sB(l))):R(te)}for(D=Uhe(e.Dh());D.Ob();)if(A=IB(D),X(A,504)&&(r=u(A,587),q=r.d,(V==null?q==null:bn(V,q))&&i--==0))return r;return null}if(b=n.lastIndexOf("."),S=b==-1?n:(Qr(0,b,n.length),n.substr(0,b)),t=0,b!=-1)try{t=al((Wn(b+1,n.length+1),n.substr(b+1)),Xr,oi)}catch(te){if(te=sr(te),X(te,131))S=n;else throw R(te)}for(S=bn("%",S)?null:Tge(S),O=Uhe(e.Dh());O.Ob();)if(A=IB(O),X(A,197)&&(c=u(A,197),B=c.ve(),(S==null?B==null:bn(S,B))&&t--==0))return c;return null}return pVe(e,n)}function hRn(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q;for(b=new wt,f=new Nw,i=new P(e.a.a.b);i.an.d.c){if(S=e.c[n.a.d],D=e.c[p.a.d],S==D)continue;Jf(Of(Tf(Nf(Cf(new tf,1),100),S),D))}}}}}function dRn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;if(y=u(u(vi(e.r,n),22),83),n==(Ie(),nt)||n==Yn){AVe(e,n);return}for(c=n==Vn?(Rw(),KN):(Rw(),VN),te=n==Vn?(Uo(),ja):(Uo(),Uf),t=u(zc(e.b,n),127),i=t.i,r=i.c+Yv(F(z(Jr,1),Jc,30,15,[t.n.b,e.C.b,e.k])),B=i.c+i.b-Yv(F(z(Jr,1),Jc,30,15,[t.n.c,e.C.c,e.k])),o=$oe(Vle(c),e.t),q=n==Vn?Ir:Vi,p=y.Jc();p.Ob();)h=u(p.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(D=h.b.Kf(),O=h.e,S=h.c,A=S.i,A.b=(f=S.n,S.e.a+f.b+f.c),A.a=(l=S.n,S.e.b+l.d+l.a),HT(te,ewe),S.f=te,ga(S,(ws(),qf)),A.c=O.a-(A.b-D.a)/2,be=k.Math.min(r,O.a),fe=k.Math.max(B,O.a+D.a),A.cfe&&(A.c=fe-A.b),Ce(o.d,new aV(A,U1e(o,A))),q=n==Vn?k.Math.max(q,O.b+h.b.Kf().b):k.Math.min(q,O.b));for(q+=n==Vn?e.t:-e.t,V=ade((o.e=q,o)),V>0&&(u(zc(e.b,n),127).a.b=V),b=y.Jc();b.Ob();)h=u(b.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(A=h.c.i,A.c-=h.e.a,A.d-=h.e.b)}function bRn(e,n){KW();var t,i,r,c,o,l,f,h,b,p,y,S,A,O;if(f=ao(e,0)<0,f&&(e=Od(e)),ao(e,0)==0)switch(n){case 0:return"0";case 1:return z8;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 S=new y0,n<0?S.a+="0E+":S.a+="0E",S.a+=n==Xr?"2147483648":""+-n,S.a}b=18,p=le(Wl,Eh,30,b+1,15,1),t=b,O=e;do h=O,O=FO(O,10),p[--t]=Rt(mc(48,lf(h,hc(O,10))))&yr;while(ao(O,0)!=0);if(r=lf(lf(lf(b,t),n),1),n==0)return f&&(p[--t]=45),ph(p,t,b-t);if(n>0&&ao(r,-6)>=0){if(ao(r,0)>=0){for(c=t+Rt(r),l=b-1;l>=c;l--)p[l+1]=p[l];return p[++c]=46,f&&(p[--t]=45),ph(p,t,b-t+1)}for(o=2;HX(o,mc(Od(r),1));o++)p[--t]=48;return p[--t]=46,p[--t]=48,f&&(p[--t]=45),ph(p,t,b-t)}return A=t+1,i=b,y=new h4,f&&(y.a+="-"),i-A>=1?(qb(y,p[t]),y.a+=".",y.a+=ph(p,t+1,b-t-1)):y.a+=ph(p,t,b-t),y.a+="E",ao(r,0)>0&&(y.a+="+"),y.a+=""+cE(r),y.a}function DVe(e){a2(e,new qw(UP(l2(u2(s2(o2(new gd,Gl),"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 IM),Gl))),Se(e,Gl,NF,_e(nln)),Se(e,Gl,om,_e(tln)),Se(e,Gl,k3,_e(Qsn)),Se(e,Gl,my,_e(Wsn)),Se(e,Gl,py,_e(Zsn)),Se(e,Gl,K8,_e(Ysn)),Se(e,Gl,SS,_e(Vye)),Se(e,Gl,V8,_e(eln)),Se(e,Gl,ene,_e(Dre)),Se(e,Gl,Zee,_e(_re)),Se(e,Gl,$F,_e(Qye)),Se(e,Gl,nne,_e(Lre)),Se(e,Gl,tne,_e(Wye)),Se(e,Gl,c2e,_e(Zye)),Se(e,Gl,r2e,_e(Yye)),Se(e,Gl,e2e,_e(HH)),Se(e,Gl,n2e,_e(GH)),Se(e,Gl,t2e,_e(AI)),Se(e,Gl,i2e,_e(e6e)),Se(e,Gl,Zpe,_e(Kye))}function Yw(e,n,t,i,r){var c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;if(D=new Ee(e.g,e.f),O=R0e(e),O.a=k.Math.max(O.a,n),O.b=k.Math.max(O.b,t),fe=O.a/D.a,b=O.b/D.b,te=O.a-D.a,f=O.b-D.b,i)for(o=Fi(e)?u(ke(Fi(e),(Xt(),Ng)),86):u(ke(e,(Xt(),Ng)),86),l=ue(ke(e,(Xt(),Vx)))===ue((Br(),to)),q=new st((!e.c&&(e.c=new we($s,e,9,9)),e.c));q.e!=q.i.gc();)switch(B=u(ft(q),125),V=u(ke(B,t5),64),V==(Ie(),ju)&&(V=uge(B,o),Ei(B,t5,V)),V.g){case 1:l||Os(B,B.i*fe);break;case 2:Os(B,B.i+te),l||Ns(B,B.j*b);break;case 3:l||Os(B,B.i*fe),Ns(B,B.j+f);break;case 4:l||Ns(B,B.j*b)}if(vw(e,O.a,O.b),r)for(y=new st((!e.n&&(e.n=new we(Eu,e,1,7)),e.n));y.e!=y.i.gc();)p=u(ft(y),157),S=p.i+p.g/2,A=p.j+p.f/2,be=S/D.a,h=A/D.b,be+h>=1&&(be-h>0&&A>=0?(Os(p,p.i+te),Ns(p,p.j+f*h)):be-h<0&&S>=0&&(Os(p,p.i+te*be),Ns(p,p.j+f)));return Ei(e,(Xt(),Ig),(Vs(),c=u(la(iA),10),new _l(c,u(Df(c,c.length),10),0))),new Ee(fe,b)}function Zz(e){var n,t,i,r,c,o,l,f,h,b,p;if(e==null)throw R(new fh(Vo));if(h=e,c=e.length,f=!1,c>0&&(n=(Wn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Wn(1,e.length+1),e.substr(1)),--c,f=n==45)),c==0)throw R(new fh(Zw+h+'"'));for(;e.length>0&&(Wn(0,e.length),e.charCodeAt(0)==48);)e=(Wn(1,e.length+1),e.substr(1)),--c;if(c>(hKe(),tnn)[10])throw R(new fh(Zw+h+'"'));for(r=0;r0&&(p=-parseInt((Qr(0,i,e.length),e.substr(0,i)),10),e=(Wn(i,e.length+1),e.substr(i)),c-=i,t=!1);c>=o;){if(i=parseInt((Qr(0,o,e.length),e.substr(0,o)),10),e=(Wn(o,e.length+1),e.substr(o)),c-=o,t)t=!1;else{if(ao(p,l)<0)throw R(new fh(Zw+h+'"'));p=hc(p,b)}p=lf(p,i)}if(ao(p,0)>0)throw R(new fh(Zw+h+'"'));if(!f&&(p=Od(p),ao(p,0)<0))throw R(new fh(Zw+h+'"'));return p}function Tge(e){eZ();var n,t,i,r,c,o,l,f;if(e==null)return null;if(r=ah(e,Xo(37)),r<0)return e;for(f=new tl((Qr(0,r,e.length),e.substr(0,r))),n=le(ds,A3,30,4,15,1),l=0,i=0,o=e.length;rr+2&&ZY((Wn(r+1,e.length),e.charCodeAt(r+1)),G8e,q8e)&&ZY((Wn(r+2,e.length),e.charCodeAt(r+2)),G8e,q8e))if(t=Bvn((Wn(r+1,e.length),e.charCodeAt(r+1)),(Wn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[l++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[l++]=t<<24>>24,i=2):(t&240)==224?(n[l++]=t<<24>>24,i=3):(t&248)==240&&(n[l++]=t<<24>>24,i=4)),i>0){if(l==i){switch(l){case 2:{qb(f,((n[0]&31)<<6|n[1]&63)&yr);break}case 3:{qb(f,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&yr);break}}l=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new we($i,e,6,6)),e.a).i==0)t=(j0(),r=new yo,r),Et((!e.a&&(e.a=new we($i,e,6,6)),e.a),t);else if((!e.a&&(e.a=new we($i,e,6,6)),e.a).i>1)for(y=new j4((!e.a&&(e.a=new we($i,e,6,6)),e.a));y.e!=y.i.gc();)VE(y);sge(n,u(K((!e.a&&(e.a=new we($i,e,6,6)),e.a),0),170))}if(p)for(i=new st((!e.a&&(e.a=new we($i,e,6,6)),e.a));i.e!=i.i.gc();)for(t=u(ft(i),170),h=new st((!t.a&&(t.a=new mr(yl,t,5)),t.a));h.e!=h.i.gc();)f=u(ft(h),372),l.a=k.Math.max(l.a,f.a),l.b=k.Math.max(l.b,f.b);for(o=new st((!e.n&&(e.n=new we(Eu,e,1,7)),e.n));o.e!=o.i.gc();)c=u(ft(o),157),b=u(ke(c,Qx),8),b&&Il(c,b.a,b.b),p&&(l.a=k.Math.max(l.a,c.i+c.g),l.b=k.Math.max(l.b,c.j+c.f));return l}function LVe(e,n,t,i,r){var c,o,l;if(MRe(e,n),o=n[0],c=rc(t.c,0),l=-1,j1e(t))if(i>0){if(o+i>e.length)return!1;l=Cz((Qr(0,o+i,e.length),e.substr(0,o+i)),n)}else l=Cz(e,n);switch(c){case 71:return l=a3(e,o,F(z(He,1),Ae,2,6,[vYe,yYe]),n),r.e=l,!0;case 77:return _In(e,n,r,l,o);case 76:return LIn(e,n,r,l,o);case 69:return $Cn(e,n,o,r);case 99:return RCn(e,n,o,r);case 97:return l=a3(e,o,F(z(He,1),Ae,2,6,["AM","PM"]),n),r.b=l,!0;case 121:return PIn(e,n,o,l,t,r);case 100:return l<=0?!1:(r.c=l,!0);case 83:return l<0?!1:gEn(l,o,n[0],r);case 104:l==12&&(l=0);case 75:case 72:return l<0?!1:(r.f=l,r.g=!1,!0);case 107:return l<0?!1:(r.f=l,r.g=!0,!0);case 109:return l<0?!1:(r.j=l,!0);case 115:return l<0?!1:(r.n=l,!0);case 90:if(oun[f]&&(D=f),p=new P(e.a.b);p.a=l){at(q.b>0),q.a.Xb(q.c=--q.b);break}else D.a>f&&(i?(Sr(i.b,D.b),i.a=k.Math.max(i.a,D.a),As(q)):(Ce(D.b,b),D.c=k.Math.min(D.c,f),D.a=k.Math.max(D.a,l),i=D));i||(i=new hxe,i.c=f,i.a=l,y2(q,i),Ce(i.b,b))}for(o=e.b,h=0,B=new P(t);B.a1;){if(r=MNn(n),p=c.g,A=u(ke(n,zx),104),O=ne(re(ke(n,KH))),(!n.a&&(n.a=new we(Ft,n,10,11)),n.a).i>1&&ne(re(ke(n,(Qh(),Gre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))1&&ne(re(ke(n,(Qh(),Hre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))>O&&Ei(r,(Qh(),_m),k.Math.max(ne(re(ke(n,Bx))),ne(re(ke(r,_m)))-ne(re(ke(n,Hre))))),S=new Ose(i,b),f=WVe(S,r,y),h=f.g,h>=p&&h==h){for(o=0;o<(!r.a&&(r.a=new we(Ft,r,10,11)),r.a).i;o++)xqe(e,u(K((!r.a&&(r.a=new we(Ft,r,10,11)),r.a),o),26),u(K((!n.a&&(n.a=new we(Ft,n,10,11)),n.a),o),26));WRe(n,S),y4n(c,f.c),v4n(c,f.b)}--l}Ei(n,(Qh(),R7),c.b),Ei(n,Fy,c.c),t.Ug()}function vRn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn;for(n.Tg("Compound graph postprocessor",1),t=Fe(ze(C(e,(Oe(),Hie)))),l=u(C(e,(me(),q3e)),229),b=new ar,B=l.ec().Jc();B.Ob();){for(D=u(B.Pb(),17),o=new bs(l.cc(D)),En(),Tr(o,new noe(e)),be=m7n((kn(0,o.c.length),u(o.c[0],250))),De=XBe(u(Le(o,o.c.length-1),250)),V=be.i,Q9(De.i,V)?q=V.e:q=_r(V),p=cSn(D,o),qs(D.a),y=null,c=new P(o);c.axh,cn=k.Math.abs(y.b-A.b)>xh,(!t&&un&&cn||t&&(un||cn))&&Vt(D.a,te)),ac(D.a,i),i.b==0?y=te:y=(at(i.b!=0),u(i.c.b.c,8)),V7n(S,p,O),XBe(r)==De&&(_r(De.i)!=r.a&&(O=new Vr,L0e(O,_r(De.i),q)),he(D,Eie,O)),nCn(S,D,q),b.a.yc(S,b);fc(D,be),Gr(D,De)}for(h=b.a.ec().Jc();h.Ob();)f=u(h.Pb(),17),fc(f,null),Gr(f,null);n.Ug()}function yRn(e,n){var t,i,r,c,o,l,f,h,b,p,y;for(r=u(C(e,(Mu(),kp)),86),b=r==(vr(),Zc)||r==ru?eh:ru,t=u(gs(li(new mn(null,new yn(e.b,16)),new vv),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16),f=u(gs(So(t.Mc(),new PEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),f.Fc(u(gs(So(t.Mc(),new $Ee(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),18)),f.gd(new REe(b)),y=new kd(new BEe(r)),i=new wt,l=f.Jc();l.Ob();)o=u(l.Pb(),240),h=u(o.a,40),Fe(ze(o.c))?(y.a.yc(h,($n(),ib))==null,new o9(y.a.Xc(h,!1)).a.gc()>0&&ei(i,h,u(new o9(y.a.Xc(h,!1)).a.Tc(),40)),new o9(y.a.$c(h,!0)).a.gc()>1&&ei(i,tJe(y,h),h)):(new o9(y.a.Xc(h,!1)).a.gc()>0&&(c=u(new o9(y.a.Xc(h,!1)).a.Tc(),40),ue(c)===ue(bu(Xc(i.f,h)))&&u(C(h,(Ti(),bre)),16).Ec(c)),new o9(y.a.$c(h,!0)).a.gc()>1&&(p=tJe(y,h),ue(bu(Xc(i.f,p)))===ue(h)&&u(C(p,(Ti(),bre)),16).Ec(h)),y.a.Ac(h)!=null)}function PVe(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new WR;for(r=e.Jc();r.Ob();){for(t=u(r.Pb(),235),A=0,b=oi,p=oi,f=Xr,h=Xr,S=new P(t.e);S.al&&(V=0,te+=o+B,o=0),KDn(O,t,V,te),n=k.Math.max(n,V+D.a),o=k.Math.max(o,D.b),V+=D.a+B;return O}function kRn(e){cge();var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D;if(e==null||(c=lB(e),A=wjn(c),A%4!=0))return null;if(O=A/4|0,O==0)return le(ds,A3,30,0,15,1);for(p=null,n=0,t=0,i=0,r=0,o=0,l=0,f=0,h=0,S=0,y=0,b=0,p=le(ds,A3,30,O*3,15,1);S>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24}return!nT(o=c[b++])||!nT(l=c[b++])?null:(n=ch[o],t=ch[l],f=c[b++],h=c[b++],ch[f]==-1||ch[h]==-1?f==61&&h==61?(t&15)!=0?null:(D=le(ds,A3,30,S*3+1,15,1),Wu(p,0,D,0,S*3),D[y]=(n<<2|t>>4)<<24>>24,D):f!=61&&h==61?(i=ch[f],(i&3)!=0?null:(D=le(ds,A3,30,S*3+2,15,1),Wu(p,0,D,0,S*3),D[y++]=(n<<2|t>>4)<<24>>24,D[y]=((t&15)<<4|i>>2&15)<<24>>24,D)):null:(i=ch[f],r=ch[h],p[y++]=(n<<2|t>>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24,p))}function jRn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be;for(n.Tg(xQe,1),A=u(C(e,(Oe(),Y1)),222),r=new P(e.b);r.a=2){for(O=!0,y=new P(c.j),t=u(L(y),12),S=null;y.a0)if(i=p.gc(),h=lc(k.Math.floor((i+1)/2))-1,r=lc(k.Math.ceil((i+1)/2))-1,n.o==Qa)for(b=r;b>=h;b--)n.a[te.p]==te&&(O=u(p.Xb(b),49),A=u(O.a,9),!rf(t,O.b)&&S>e.b.e[A.p]&&(n.a[A.p]=te,n.g[te.p]=n.g[A.p],n.a[te.p]=n.g[te.p],n.f[n.g[te.p].p]=($n(),!!(Fe(n.f[n.g[te.p].p])&te.k==(Fn(),dr))),S=e.b.e[A.p]));else for(b=h;b<=r;b++)n.a[te.p]==te&&(B=u(p.Xb(b),49),D=u(B.a,9),!rf(t,B.b)&&S0&&(r=u(Le(D.c.a,fe-1),9),o=e.i[r.p],un=k.Math.ceil(zv(e.n,r,D)),c=be.a.e-D.d.d-(o.a.e+r.o.b+r.d.a)-un),h=Vi,fe0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)<0,A=V.a.e.e-V.a.a-(V.b.e.e-V.b.a)<0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)>0,S=V.a.e.e+V.b.aDe.b.e.e+De.a.a,te=0,!O&&!A&&(y?c+p>0?te=p:h-i>0&&(te=i):S&&(c+l>0?te=l:h-q>0&&(te=q))),be.a.e+=te,be.b&&(be.d.e+=te),!1))}function RVe(e,n,t){var i,r,c,o,l,f,h,b,p,y;if(i=new _f(n.Jf().a,n.Jf().b,n.Kf().a,n.Kf().b),r=new y4,e.c)for(o=new P(n.Pf());o.a0&&Or(S,(kn(t,n.c.length),u(n.c[t],25))),c=0,y=!0,B=Ks(Vb(cr(S))),f=B.Jc();f.Ob();){for(l=u(f.Pb(),17),y=!1,p=l,h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):H0(r,i+c,(kn(h,n.c.length),u(n.c[h],25))),p=OW(p,r);t>0&&(c+=1)}if(y){for(h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):H0(r,i+c,(kn(h,n.c.length),u(n.c[h],25)));t>0&&(c+=1)}for(o=!1,O=new Xn(Qn(Ii(S).a.Jc(),new ee));ht(O);){for(A=u(ct(O),17),p=A,b=t+1;b(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(D,(kn(h,n.c.length),u(n.c[h],25))):H0(D,i+1,(kn(h,n.c.length),u(n.c[h],25))));o&&(c+=1),o=!0}return c>0?c-1:0}function K0(e,n){ai();var t,i,r,c,o,l,f,h,b,p,y,S,A;if(Aj(Y7)==0){for(p=le(nzn,Ae,121,Ehn.length,0,1),o=0;oh&&(i.a+=GTe(le(Wl,Eh,30,-h,15,1))),i.a+="Is",ah(f,Xo(32))>=0)for(r=0;r=i.o.b/2}else q=!p;q?(B=u(C(i,(me(),$y)),16),B?y?c=B:(r=u(C(i,Oy),16),r?B.gc()<=r.gc()?c=B:c=r:(c=new Te,he(i,Oy,c))):(c=new Te,he(i,$y,c))):(r=u(C(i,(me(),Oy)),16),r?p?c=r:(B=u(C(i,$y),16),B?r.gc()<=B.gc()?c=r:c=B:(c=new Te,he(i,$y,c))):(c=new Te,he(i,Oy,c))),c.Ec(e),he(e,(me(),tH),t),n.d==t?(Gr(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null),jkn(t)):(fc(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null)),qs(n.a)}function MRn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(t.Tg("MinWidth layering",1),S=n.b,De=n.a,Ui=u(C(n,(Oe(),n4e)),15).a,l=u(C(n,t4e),15).a,e.b=ne(re(C(n,Kf))),e.d=Vi,te=new P(De);te.aS&&(c&&(gc(fe,y),gc(un,ve(h.b-1))),Qt=t.b,Ui+=y+n,y=0,b=k.Math.max(b,t.b+t.c+lt)),Os(l,Qt),Ns(l,Ui),b=k.Math.max(b,Qt+lt+t.c),y=k.Math.max(y,p),Qt+=lt+n;if(b=k.Math.max(b,i),Dn=Ui+y+t.a,Dn0?(h=0,D&&(h+=l),h+=(cn-1)*o,V&&(h+=l),un&&V&&(h=k.Math.max(h,XNn(V,o,q,De))),h=e.a&&(i=lLn(e,q),b=k.Math.max(b,i.b),te=k.Math.max(te,i.d),Ce(l,new jc(q,i)));for(un=new Te,h=0;h0),D.a.Xb(D.c=--D.b),cn=new Xu(e.b),y2(D,cn),at(D.b0){for(y=b<100?null:new k0(b),h=new t1e(n),A=h.g,B=le($t,ni,30,b,15,1),i=0,te=new _w(b),r=0;r=0;)if(S!=null?gi(S,A[f]):ue(S)===ue(A[f])){B.length<=i&&(D=B,B=le($t,ni,30,2*B.length,15,1),Wu(D,0,B,0,i)),B[i++]=r,Et(te,A[f]);break e}if(S=S,ue(S)===ue(l))break}}if(h=te,A=te.g,b=i,i>B.length&&(D=B,B=le($t,ni,30,i,15,1),Wu(D,0,B,0,i)),i>0){for(V=!0,c=0;c=0;)ey(e,B[o]);if(i!=b){for(r=b;--r>=i;)ey(h,r);D=B,B=le($t,ni,30,i,15,1),Wu(D,0,B,0,i)}n=h}}}else for(n=axn(e,n),r=e.i;--r>=0;)n.Gc(e.g[r])&&(ey(e,r),V=!0);if(V){if(B!=null){for(t=n.gc(),p=t==1?bE(e,4,n.Jc().Pb(),null,B[0],O):bE(e,6,n,B,B[0],O),y=t<100?null:new k0(t),r=n.Jc();r.Ob();)S=r.Pb(),y=qle(e,u(S,75),y);y?(y.lj(p),y.mj()):hi(e.e,p)}else{for(y=y2n(n.gc()),r=n.Jc();r.Ob();)S=r.Pb(),y=qle(e,u(S,75),y);y&&y.mj()}return!0}else return!1}function IRn(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V;for(t=new XJe(n),t.a||c_n(n),h=iDn(n),f=new Nw,D=new rXe,O=new P(n.a);O.a0||t.o==Qa&&r=t}function _Rn(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On;for(V=e.a,te=0,be=V.length;te0?(p=u(Le(y.c.a,o-1),9),un=zv(e.b,y,p),D=y.n.b-y.d.d-(p.n.b+p.o.b+p.d.a+un)):D=y.n.b-y.d.d,h=k.Math.min(D,h),o1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,1),8).b-b.b)))));else for(O=new P(n.j);O.ar&&(c=y.a-r,o=oi,i.c.length=0,r=y.a),y.a>=r&&(qn(i.c,l),l.a.b>1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,l.a.b-2),8).b-y.b)))));if(i.c.length!=0&&c>n.o.a/2&&o>n.o.b/2){for(S=new Qu,wu(S,n),Ar(S,(Ie(),Vn)),S.n.a=n.o.a/2,B=new Qu,wu(B,n),Ar(B,bt),B.n.a=n.o.a/2,B.n.b=n.o.b,f=new P(i);f.a=h.b?fc(l,B):fc(l,S)):(h=u(Cvn(l.a),8),D=l.a.b==0?La(l.c):u(If(l.a),8),D.b>=h.b?Gr(l,B):Gr(l,S)),p=u(C(l,(Oe(),Wc)),78),p&&H2(p,h,!0);n.n.a=r-n.o.a/2}}function $Rn(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(l=St(e.b,0);l.b!=l.d.c;)if(o=u(jt(l),40),!bn(o.c,_F))for(h=aOn(o,e),n==(vr(),Zc)||n==ru?Tr(h,new S_):Tr(h,new iU),f=h.c.length,i=0;i=0?S=Y4(l):S=NO(Y4(l)),e.of(O7,S)),h=new Vr,y=!1,e.nf(vp)?(wle(h,u(e.mf(vp),8)),y=!0):Zwn(h,o.a/2,o.b/2),S.g){case 4:he(b,ku,(Xs(),V1)),he(b,rH,(tg(),L3)),b.o.b=o.b,O<0&&(b.o.a=-O),Ar(p,(Ie(),nt)),y||(h.a=o.a),h.a-=o.a;break;case 2:he(b,ku,(Xs(),Sg)),he(b,rH,(tg(),E7)),b.o.b=o.b,O<0&&(b.o.a=-O),Ar(p,(Ie(),Yn)),y||(h.a=0);break;case 1:he(b,jg,(_1(),$3)),b.o.a=o.a,O<0&&(b.o.b=-O),Ar(p,(Ie(),bt)),y||(h.b=o.b),h.b-=o.b;break;case 3:he(b,jg,(_1(),Ty)),b.o.a=o.a,O<0&&(b.o.b=-O),Ar(p,(Ie(),Vn)),y||(h.b=0)}if(wle(p.n,h),he(b,vp,h),n==Dg||n==a1||n==to){if(A=0,n==Dg&&e.nf(Xd))switch(S.g){case 1:case 2:A=u(e.mf(Xd),15).a;break;case 3:case 4:A=-u(e.mf(Xd),15).a}else switch(S.g){case 4:case 2:A=c.b,n==a1&&(A/=r.b);break;case 1:case 3:A=c.a,n==a1&&(A/=r.a)}he(b,gp,A)}return he(b,Iu,S),b}function RRn(){zoe();function e(i){var r=this;this.dispatch=function(c){var o=c.data;switch(o.cmd){case"algorithms":var l=fde((En(),new Hr(new ot(Lg.b))));i.postMessage({id:o.id,data:l});break;case"categories":var f=fde((En(),new Hr(new ot(Lg.c))));i.postMessage({id:o.id,data:f});break;case"options":var h=fde((En(),new Hr(new ot(Lg.d))));i.postMessage({id:o.id,data:h});break;case"register":aPn(o.algorithms),i.postMessage({id:o.id});break;case"layout":rPn(o.graph,o.layoutOptions||{},o.options||{}),i.postMessage({id:o.id,data:o.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(o){i.postMessage({id:c.data.id,error:o})}}}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===qZ&&typeof self!==qZ){var t=new e(self);self.onmessage=t.saveDispatch}else typeof M!==qZ&&M.exports&&(Object.defineProperty(N,"__esModule",{value:!0}),M.exports={default:n,Worker:n})}function oZ(e,n,t,i,r,c,o){var l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(O=0,On=0,h=new P(e.b);h.aO&&(c&&(gc(fe,S),gc(un,ve(b.b-1)),Ce(e.d,A),l.c.length=0),Qt=t.b,Ui+=S+n,S=0,p=k.Math.max(p,t.b+t.c+lt)),qn(l.c,f),FJe(f,Qt,Ui),p=k.Math.max(p,Qt+lt+t.c),S=k.Math.max(S,y),Qt+=lt+n,A=f;if(Sr(e.a,l),Ce(e.d,u(Le(l,l.c.length-1),167)),p=k.Math.max(p,i),Dn=Ui+S+t.a,Dnr.d.d+r.d.a?b.f.d=!0:(b.f.d=!0,b.f.a=!0))),i.b!=i.d.c&&(n=t);b&&(c=u(zn(e.f,o.d.i),60),n.bc.d.d+c.d.a?b.f.d=!0:(b.f.d=!0,b.f.a=!0))}for(l=new Xn(Qn(cr(S).a.Jc(),new ee));ht(l);)o=u(ct(l),17),o.a.b!=0&&(n=u(If(o.a),8),o.d.j==(Ie(),Vn)&&(D=new lS(n,new Ee(n.a,r.d.d),r,o),D.f.a=!0,D.a=o.d,qn(O.c,D)),o.d.j==bt&&(D=new lS(n,new Ee(n.a,r.d.d+r.d.a),r,o),D.f.d=!0,D.a=o.d,qn(O.c,D)))}return O}function GRn(e,n,t){var i,r,c,o,l,f,h,b,p,y;for(f=new Te,p=n.length,o=d1e(t),h=0;h=A&&(q>A&&(S.c.length=0,A=q),qn(S.c,o));S.c.length!=0&&(y=u(Le(S,fz(n,S.c.length)),132),Dn.a.Ac(y)!=null,y.s=O++,mbe(y,cn,fe),S.c.length=0)}for(te=e.c.length+1,l=new P(e);l.aOn.s&&(As(t),qo(On.i,i),i.c>0&&(i.a=On,Ce(On.t,i),i.b=De,Ce(De.i,i)))}function GVe(e,n,t,i,r){var c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn;for(O=new xo(n.b),te=new xo(n.b),y=new xo(n.b),un=new xo(n.b),D=new xo(n.b),De=St(n,0);De.b!=De.d.c;)for(be=u(jt(De),12),l=new P(be.g);l.a0,B=be.g.c.length>0,h&&B?qn(y.c,be):h?qn(O.c,be):B&&qn(te.c,be);for(A=new P(O);A.aq.mh()-h.b&&(y=q.mh()-h.b),S>q.nh()-h.d&&(S=q.nh()-h.d),b0){for(V=St(e.f,0);V.b!=V.d.c;)q=u(jt(V),9),q.p+=y-e.e;_0e(e),qs(e.f),Dbe(e,i,S)}else{for(Vt(e.f,S),S.p=i,e.e=k.Math.max(e.e,i),c=new Xn(Qn(cr(S).a.Jc(),new ee));ht(c);)r=u(ct(c),17),!r.c.i.c&&r.c.i.k==(Fn(),Uu)&&(Vt(e.f,r.c.i),r.c.i.p=i-1);e.c=i}else _0e(e),qs(e.f),i=0,ht(new Xn(Qn(cr(S).a.Jc(),new ee)))?(y=0,y=qJe(y,S),i=y+2,Dbe(e,i,S)):(Vt(e.f,S),S.p=0,e.e=k.Math.max(e.e,0),e.b=u(Le(e.d.b,0),25),e.c=0);for(e.f.b==0||_0e(e),e.d.a.c.length=0,B=new Te,h=new P(e.d.b);h.a=48&&n<=57){for(i=n-48;r=48&&n<=57;)if(i=i*10+n-48,i<0)throw R(new Bt(Ht((Lt(),Z2e))))}else throw R(new Bt(Ht((Lt(),DZe))));if(t=i,n==44){if(r>=e.j)throw R(new Bt(Ht((Lt(),LZe))));if((n=rc(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;)if(t=t*10+n-48,t<0)throw R(new Bt(Ht((Lt(),Z2e))));if(i>t)throw R(new Bt(Ht((Lt(),PZe))))}else t=-1}if(n!=125)throw R(new Bt(Ht((Lt(),_Ze))));e._l(r)?(c=(ai(),ai(),new D2(9,c)),e.d=r+1):(c=(ai(),ai(),new D2(3,c)),e.d=r),c.Mm(i),c.Lm(t),fi(e)}}return c}function YRn(e){var n,t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be;for(r=1,S=new Te,i=0;i=u(Le(e.b,i),25).a.c.length/4)continue}if(u(Le(e.b,i),25).a.c.length>n){for(te=new Te,Ce(te,u(Le(e.b,i),25)),o=0;o1)for(A=new j4((!e.a&&(e.a=new we($i,e,6,6)),e.a));A.e!=A.i.gc();)VE(A);for(o=u(K((!e.a&&(e.a=new we($i,e,6,6)),e.a),0),170),D=Qt,Qt>be+te?D=be+te:Qtfe+O?B=fe+O:Uibe-te&&Dfe-O&&BQt+lt?un=Qt+lt:beUi+De?cn=Ui+De:feQt-lt&&unUi-De&&cnt&&(y=t-1),S=c0+Ds(n,24)*kN*p-p/2,S<0?S=1:S>i&&(S=i-1),r=(j0(),f=new Jk,f),wB(r,y),pB(r,S),Et((!o.a&&(o.a=new mr(yl,o,5)),o.a),r)}function fZ(e,n){KW();var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De;if(V=e.e,b=e.d,r=e.a,V==0)switch(n){case 0:return"0";case 1:return z8;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 B=new y0,B.a+="0E",B.a+=-n,B.a}if(O=b*10+1+7,D=le(Wl,Eh,30,O+1,15,1),t=O,b==1)if(c=r[0],c<0){De=Rr(c,Dc);do p=De,De=FO(De,10),D[--t]=48+Rt(lf(p,hc(De,10)))&yr;while(ao(De,0)!=0)}else{De=c;do p=De,De=De/10|0,D[--t]=48+(p-De*10)&yr;while(De!=0)}else{te=le($t,ni,30,b,15,1),fe=b,Wu(r,0,te,0,fe);e:for(;;){for(q=0,l=fe-1;l>=0;l--)be=mc(qh(q,32),Rr(te[l],Dc)),S=tMn(be),te[l]=Rt(S),q=Rt(Sw(S,32));A=Rt(q),y=t;do D[--t]=48+A%10&yr;while((A=A/10|0)!=0&&t!=0);for(i=9-y+t,o=0;o0;o++)D[--t]=48;for(f=fe-1;te[f]==0;f--)if(f==0)break e;fe=f+1}for(;D[t]==48;)++t}return h=V<0,h&&(D[--t]=45),ph(D,t,O-t)}function KVe(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;switch(e.c=n,e.g=new wt,t=(Rb(),new v0(e.c)),i=new OP(t),ode(i),V=Pt(ke(e.c,(HO(),q6e))),f=u(ke(e.c,cce),330),be=u(ke(e.c,uce),427),o=u(ke(e.c,J6e),477),te=u(ke(e.c,rce),428),e.j=ne(re(ke(e.c,qln))),l=e.a,f.g){case 0:l=e.a;break;case 1:l=e.b;break;case 2:l=e.i;break;case 3:l=e.e;break;case 4:l=e.f;break;default:throw R(new Un(BF+(f.f!=null?f.f:""+f.g)))}if(e.d=new N_e(l,be,o),he(e.d,(Z9(),WS),ze(ke(e.c,Hln))),e.d.c=Fe(ze(ke(e.c,H6e))),OR(e.c).i==0)return e.d;for(p=new st(OR(e.c));p.e!=p.i.gc();){for(b=u(ft(p),26),S=b.g/2,y=b.f/2,fe=new Ee(b.i+S,b.j+y);so(e.g,fe);)m2(fe,(k.Math.random()-.5)*xh,(k.Math.random()-.5)*xh);O=u(ke(b,(Xt(),z7)),140),D=new X_e(fe,new _f(fe.a-S-e.j/2-O.b,fe.b-y-e.j/2-O.d,b.g+e.j+(O.b+O.c),b.f+e.j+(O.d+O.a))),Ce(e.d.i,D),ei(e.g,fe,new jc(D,b))}switch(te.g){case 0:if(V==null)e.d.d=u(Le(e.d.i,0),68);else for(q=new P(e.d.i);q.a0?lt+1:1);for(o=new P(fe.g);o.a0?lt+1:1)}e.d[h]==0?Vt(e.f,O):e.a[h]==0&&Vt(e.g,O),++h}for(A=-1,S=1,p=new Te,e.e=u(C(n,(me(),Ly)),234);kl>0;){for(;e.f.b!=0;)Ui=u(nV(e.f),9),e.c[Ui.p]=A--,Ybe(e,Ui),--kl;for(;e.g.b!=0;)Es=u(nV(e.g),9),e.c[Es.p]=S++,Ybe(e,Es),--kl;if(kl>0){for(y=Xr,q=new P(V);q.a=y&&(te>y&&(p.c.length=0,y=te),qn(p.c,O)));b=e.qg(p),e.c[b.p]=S++,Ybe(e,b),--kl}}for(Qt=V.c.length+1,h=0;he.c[eu]&&(Bd(i,!0),he(n,Ny,($n(),!0)));e.a=null,e.d=null,e.c=null,qs(e.g),qs(e.f),t.Ug()}function YVe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;for(be=u(K((!e.a&&(e.a=new we($i,e,6,6)),e.a),0),170),b=new xs,te=new wt,fe=lKe(be),Ko(te.f,be,fe),y=new wt,i=new xi,A=Uh(Rl(F(z(Xl,1),Nn,20,0,[(!n.d&&(n.d=new In(pr,n,8,5)),n.d),(!n.e&&(n.e=new In(pr,n,7,4)),n.e)])));ht(A);){if(S=u(ct(A),85),(!e.a&&(e.a=new we($i,e,6,6)),e.a).i!=1)throw R(new Un(FWe+(!e.a&&(e.a=new we($i,e,6,6)),e.a).i));S!=e&&(D=u(K((!S.a&&(S.a=new we($i,S,6,6)),S.a),0),170),Ki(i,D,i.c.b,i.c),O=u(bu(Xc(te.f,D)),13),O||(O=lKe(D),Ko(te.f,D,O)),p=t?Nr(new wc(u(Le(fe,fe.c.length-1),8)),u(Le(O,O.c.length-1),8)):Nr(new wc((kn(0,fe.c.length),u(fe.c[0],8))),(kn(0,O.c.length),u(O.c[0],8))),Ko(y.f,D,p))}if(i.b!=0)for(B=u(Le(fe,t?fe.c.length-1:0),8),h=1;h1&&Ki(b,B,b.c.b,b.c),OY(r)));B=q}return b}function QVe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On;for(t.Tg(WQe,1),On=u(gs(li(new mn(null,new yn(n,16)),new A_),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16),b=u(gs(li(new mn(null,new yn(n,16)),new FEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),A=u(gs(li(new mn(null,new yn(n,16)),new zEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),O=le(PH,LF,40,n.gc(),0,1),o=0;o=0&&cn=0&&!O[S]){O[S]=r,b.ed(l),--l;break}if(S=cn-y,S=0&&!O[S]){O[S]=r,b.ed(l),--l;break}}for(A.gd(new OM),f=O.length-1;f>=0;f--)!O[f]&&!A.dc()&&(O[f]=u(A.Xb(0),40),A.ed(0));for(h=0;hy&&BO((kn(y,n.c.length),u(n.c[y],186)),b),b=null;n.c.length>y&&(kn(y,n.c.length),u(n.c[y],186)).a.c.length==0;)qo(n,(kn(y,n.c.length),n.c[y]));if(!b){--o;continue}if(!Fe(ze(u(Le(b.b,0),26).mf((Ha(),CI))))&&m_n(n,A,c,b,D,t,y,i)){O=!0;continue}if(D){if(S=A.b,p=b.f,!Fe(ze(u(Le(b.b,0),26).mf(CI)))&&BPn(n,A,c,b,t,y,i,r)){if(O=!0,S=e.j){e.a=-1,e.c=1;return}if(n=rc(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j)throw R(new Bt(Ht((Lt(),XF))));e.a=rc(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||rc(e.i,e.d)!=63)break;if(++e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));switch(n=rc(e.i,e.d++),n){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(e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));if(n=rc(e.i,e.d++),n==61)i=16;else if(n==33)i=17;else throw R(new Bt(Ht((Lt(),gZe))));break;case 35:for(;e.d=e.j)throw R(new Bt(Ht((Lt(),XF))));e.a=rc(e.i,e.d++);break;default:i=0}e.c=i}function uBn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D;if(t.Tg("Process compaction",1),!!Fe(ze(C(n,(Mu(),Sye))))){for(r=u(C(n,kp),86),S=ne(re(C(n,jre))),NLn(e,n,r),yRn(n,S/2/2),A=n.b,Zb(A,new DEe(r)),h=St(A,0);h.b!=h.d.c;)if(f=u(jt(h),40),!Fe(ze(C(f,(Ti(),db))))){if(i=rDn(f,r),O=Z_n(f,n),p=0,y=0,i)switch(D=i.e,r.g){case 2:p=D.a-S-f.f.a,O.e.a-S-f.f.ap&&(p=O.e.a+O.f.a+S),y=p+f.f.a;break;case 4:p=D.b-S-f.f.b,O.e.b-S-f.f.bp&&(p=O.e.b+O.f.b+S),y=p+f.f.b}else if(O)switch(r.g){case 2:p=O.e.a-S-f.f.a,y=p+f.f.a;break;case 1:p=O.e.a+O.f.a+S,y=p+f.f.a;break;case 4:p=O.e.b-S-f.f.b,y=p+f.f.b;break;case 3:p=O.e.b+O.f.b+S,y=p+f.f.b}ue(C(n,kre))===ue((IE(),jI))?(c=p,o=y,l=R1(li(new mn(null,new yn(e.a,16)),new gCe(c,o))),l.a!=null?r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p:(r==(vr(),Zc)||r==Vl?l=R1(li(nBe(new mn(null,new yn(e.a,16))),new _Ee(c))):l=R1(li(nBe(new mn(null,new yn(e.a,16))),new LEe(c))),l.a!=null&&(r==Zc||r==ru?f.e.a=ne(re((at(l.a!=null),u(l.a,49)).a)):f.e.b=ne(re((at(l.a!=null),u(l.a,49)).a)))),l.a!=null&&(b=pu(e.a,(at(l.a!=null),l.a),0),b>0&&b!=u(C(f,Dh),15).a&&(he(f,wye,($n(),!0)),he(f,Dh,ve(b))))):r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p}t.Ug()}}function oBn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be;if(t.Tg("Coffman-Graham Layering",1),n.a.c.length==0){t.Ug();return}for(be=u(C(n,(Oe(),e4e)),15).a,f=0,o=0,y=new P(n.a);y.a=be||!jEn(B,i))&&(i=RDe(n,b)),Or(B,i),c=new Xn(Qn(cr(B).a.Jc(),new ee));ht(c);)r=u(ct(c),17),!e.a[r.p]&&(O=r.c.i,--e.e[O.p],e.e[O.p]==0&&C4(k8(S,O),F8));for(h=b.c.length-1;h>=0;--h)Ce(n.b,(kn(h,b.c.length),u(b.c[h],25)));n.a.c.length=0,t.Ug()}function ZVe(e){var n,t,i,r,c,o,l,f,h;for(e.b=1,fi(e),n=null,e.c==0&&e.a==94?(fi(e),n=(ai(),ai(),new cl(4)),ho(n,0,a7),l=new cl(4)):l=(ai(),ai(),new cl(4)),r=!0;(h=e.c)!=1;){if(h==0&&e.a==93&&!r){n&&(bS(n,l),l=n);break}if(t=e.a,i=!1,h==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:tm(l,O8(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(tm(l,O8(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(f=Q0e(e,t),!f)throw R(new Bt(Ht((Lt(),Ine))));tm(l,f),i=!0;break;default:t=Lbe(e)}else if(h==24&&!r){if(n&&(bS(n,l),l=n),c=ZVe(e),bS(l,c),e.c!=0||e.a!=93)throw R(new Bt(Ht((Lt(),xZe))));break}if(fi(e),!i){if(h==0){if(t==91)throw R(new Bt(Ht((Lt(),Q2e))));if(t==93)throw R(new Bt(Ht((Lt(),W2e))));if(t==45&&!r&&e.a!=93)throw R(new Bt(Ht((Lt(),Dne))))}if(e.c!=0||e.a!=45||t==45&&r)ho(l,t,t);else{if(fi(e),(h=e.c)==1)throw R(new Bt(Ht((Lt(),KF))));if(h==0&&e.a==93)ho(l,t,t),ho(l,45,45);else{if(h==0&&e.a==93||h==24)throw R(new Bt(Ht((Lt(),Dne))));if(o=e.a,h==0){if(o==91)throw R(new Bt(Ht((Lt(),Q2e))));if(o==93)throw R(new Bt(Ht((Lt(),W2e))));if(o==45)throw R(new Bt(Ht((Lt(),Dne))))}else h==10&&(o=Lbe(e));if(fi(e),t>o)throw R(new Bt(Ht((Lt(),CZe))));ho(l,t,o)}}}r=!1}if(e.c==1)throw R(new Bt(Ht((Lt(),KF))));return h3(l),hS(l),e.b=0,fi(e),l}function eYe(e,n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te;te=!1;do for(te=!1,c=n?new it(e.a.b).a.gc()-2:1;n?c>=0:cu(C(D,Oi),15).a)&&(V=!1);if(V){for(f=n?c+1:c-1,l=Pae(e.a,ve(f)),o=!1,q=!0,i=!1,b=St(l,0);b.b!=b.d.c;)h=u(jt(b),9),wi(h,Oi)?h.p!=p.p&&(o=o|(n?u(C(h,Oi),15).au(C(p,Oi),15).a),q=!1):!o&&q&&h.k==(Fn(),Uu)&&(i=!0,n?y=u(ct(new Xn(Qn(cr(h).a.Jc(),new ee))),17).c.i:y=u(ct(new Xn(Qn(Ii(h).a.Jc(),new ee))),17).d.i,y==p&&(n?t=u(ct(new Xn(Qn(Ii(h).a.Jc(),new ee))),17).d.i:t=u(ct(new Xn(Qn(cr(h).a.Jc(),new ee))),17).c.i,(n?u(p2(e.a,t),15).a-u(p2(e.a,y),15).a:u(p2(e.a,y),15).a-u(p2(e.a,t),15).a)<=2&&(q=!1)));if(i&&q&&(n?t=u(ct(new Xn(Qn(Ii(p).a.Jc(),new ee))),17).d.i:t=u(ct(new Xn(Qn(cr(p).a.Jc(),new ee))),17).c.i,(n?u(p2(e.a,t),15).a-u(p2(e.a,p),15).a:u(p2(e.a,p),15).a-u(p2(e.a,t),15).a)<=2&&t.k==(Fn(),Wi)&&(q=!1)),o||q){for(O=LUe(e,p,n);O.a.gc()!=0;)A=u(O.a.ec().Jc().Pb(),9),O.a.Ac(A)!=null,ac(O,LUe(e,A,n));--S,te=!0}}}while(te)}function sBn(e){Ct(e.c,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#decimal"])),Ct(e.d,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#integer"])),Ct(e.e,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#boolean"])),Ct(e.f,Ut,F(z(He,1),Ae,2,6,[sc,"EBoolean",ui,"EBoolean:Object"])),Ct(e.i,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#byte"])),Ct(e.g,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Ct(e.j,Ut,F(z(He,1),Ae,2,6,[sc,"EByte",ui,"EByte:Object"])),Ct(e.n,Ut,F(z(He,1),Ae,2,6,[sc,"EChar",ui,"EChar:Object"])),Ct(e.t,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#double"])),Ct(e.u,Ut,F(z(He,1),Ae,2,6,[sc,"EDouble",ui,"EDouble:Object"])),Ct(e.F,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#float"])),Ct(e.G,Ut,F(z(He,1),Ae,2,6,[sc,"EFloat",ui,"EFloat:Object"])),Ct(e.I,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#int"])),Ct(e.J,Ut,F(z(He,1),Ae,2,6,[sc,"EInt",ui,"EInt:Object"])),Ct(e.N,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#long"])),Ct(e.O,Ut,F(z(He,1),Ae,2,6,[sc,"ELong",ui,"ELong:Object"])),Ct(e.Z,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#short"])),Ct(e.$,Ut,F(z(He,1),Ae,2,6,[sc,"EShort",ui,"EShort:Object"])),Ct(e._,Ut,F(z(He,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#string"]))}function Oe(){Oe=Y,zie=(Xt(),_fn),w4e=Lfn,gI=Pfn,Kf=$fn,G3=q9e,Cg=U9e,Om=X9e,I7=K9e,D7=V9e,Fie=cG,Tg=Qd,Jie=Rfn,kx=W9e,jH=Xy,bI=(Dge(),Hcn),Tm=Gcn,lb=qcn,Nm=Ucn,Iun=new Yr(RI,ve(0)),N7=zcn,g4e=Fcn,zy=Jcn,x4e=bun,m4e=Vcn,v4e=Wcn,Gie=cun,y4e=nun,k4e=iun,EH=mun,qie=gun,E4e=fun,j4e=sun,S4e=hun,r4e=jcn,Pie=mcn,pH=pcn,$ie=ycn,mp=_cn,yx=Lcn,_ie=Urn,X5e=Krn,$un=J7,Run=uG,Pun=zm,Lun=F7,p4e=(V4(),Hm),new Yr(Ky,p4e),f4e=new yw(12),l4e=new Yr(s1,f4e),G5e=(z1(),q7),Y1=new Yr(j9e,G5e),Am=new Yr(Ps,0),Dun=new Yr(Sce,ve(1)),sH=new Yr(B7,q8),Mg=rG,Zi=Vx,O7=t5,xun=_I,Nh=kfn,Em=W3,_un=new Yr(xce,($n(),!0)),Sm=LI,xg=wce,Ag=Ig,kH=bb,Bie=$m,H5e=(vr(),nh),wl=new Yr(Ng,H5e),pp=e5,vH=O9e,Mm=Rm,Nun=Ece,d4e=H9e,h4e=(u3(),HI),new Yr(R9e,h4e),Cun=vce,Tun=yce,Oun=kce,Mun=mce,Hie=Kcn,wH=wcn,dI=gcn,jx=Xcn,ku=scn,By=Rrn,px=$rn,C7=jrn,z5e=Ern,Nie=Mrn,hI=Srn,Iie=Lrn,c4e=Ecn,u4e=Scn,Z5e=tcn,yH=Rcn,Rie=Mcn,Lie=Qrn,s4e=Icn,U5e=Grn,Die=qrn,Oie=DI,o4e=xcn,fH=rrn,P5e=irn,lH=trn,Y5e=ecn,V5e=Zrn,Q5e=ncn,T7=n5,Wc=Z3,Ud=xfn,Ih=gce,H3=bce,F5e=Trn,Xd=jce,dx=Sfn,gH=Mfn,vp=z9e,a4e=Ofn,xm=Nfn,n4e=fcn,t4e=hcn,Cm=Uy,Aie=nrn,i4e=bcn,bH=Frn,dH=zrn,mH=z7,e4e=ccn,vx=Tcn,wI=Y9e,J5e=Brn,b4e=Bcn,q5e=Jrn,jun=Nrn,Eun=Irn,Aun=ocn,Sun=Drn,W5e=pce,mx=lcn,hH=_rn,o1=krn,Cie=mrn,aI=urn,Mie=orn,aH=vrn,bx=crn,Tie=yrn,jm=prn,wx=wrn,kun=grn,Ry=srn,gx=brn,B5e=drn,$5e=lrn,R5e=arn,K5e=Wrn}function lBn(e,n,t,i,r,c,o){var l,f,h,b,p,y,S,A;return y=u(i.a,15).a,S=u(i.b,15).a,p=e.b,A=e.c,l=0,b=0,n==(vr(),Zc)||n==ru?(b=oT(LFe(C2(So(new mn(null,new yn(t.b,16)),new N_),new MM))),p.e.b+p.f.b/2>b?(h=++S,l=ne(re(Js(S2(So(new mn(null,new yn(t.b,16)),new mCe(r,h)),new uw))))):(f=++y,l=ne(re(Js(O4(So(new mn(null,new yn(t.b,16)),new vCe(r,f)),new Dk)))))):(b=oT(LFe(C2(So(new mn(null,new yn(t.b,16)),new E_),new L6))),p.e.a+p.f.a/2>b?(h=++S,l=ne(re(Js(S2(So(new mn(null,new yn(t.b,16)),new pCe(r,h)),new CM))))):(f=++y,l=ne(re(Js(O4(So(new mn(null,new yn(t.b,16)),new wCe(r,f)),new TM)))))),n==Zc?(gc(e.a,new Ee(ne(re(C(p,(Ti(),Sa))))-r,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a+A.f.a,A.e.b+A.f.b/2))):n==ru?(gc(e.a,new Ee(ne(re(C(p,(Ti(),Vf))))+r,p.e.b+p.f.b/2)),gc(e.a,new Ee(p.e.a+p.f.a+r,l)),gc(e.a,new Ee(A.e.a-r-c,l)),gc(e.a,new Ee(A.e.a-r-c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a,A.e.b+A.f.b/2))):n==Vl?(gc(e.a,new Ee(l,ne(re(C(p,(Ti(),Sa))))-r)),gc(e.a,new Ee(l,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r))):(e.a.b==0||(u(If(e.a),8).b=ne(re(C(p,(Ti(),Vf))))+r*u(o.b,15).a),gc(e.a,new Ee(l,ne(re(C(p,(Ti(),Vf))))+r*u(o.b,15).a)),gc(e.a,new Ee(l,A.e.b-r*u(o.a,15).a-c))),new jc(ve(y),ve(S))}function fBn(e){var n,t,i,r,c,o,l,f,h,b,p,y,S;if(o=!0,p=null,i=null,r=null,n=!1,S=$an,h=null,c=null,l=0,f=IQ(e,l,U8e,X8e),f=0&&bn(e.substr(l,2),"//")?(l+=2,f=IQ(e,l,oA,sA),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f):p!=null&&(l==e.length||(Wn(l,e.length),e.charCodeAt(l)!=47))&&(o=!1,f=rle(e,Xo(35),l),f==-1&&(f=e.length),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f);if(!t&&l0&&rc(b,b.length-1)==58&&(r=b,l=f)),lo?(Ys(e,n,t),1):(Ys(e,t,n),-1)}for(q=e.f,V=0,te=q.length;V0?Ys(e,n,t):Ys(e,t,n),i;if(!wi(n,(me(),Oi))||!wi(t,Oi))return c=cW(e,n),l=cW(e,t),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)}if(!y&&!A&&(i=tYe(e,n,t),i!=0))return i>0?Ys(e,n,t):Ys(e,t,n),i}return wi(n,(me(),Oi))&&wi(t,Oi)?(c=Kw(n,t,e.c,u(C(e.c,sb),15).a),l=Kw(t,n,e.c,u(C(e.c,sb),15).a),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)):(Ys(e,t,n),-1)}function nYe(){nYe=Y,lZ(),Wt=new Nw,gn(Wt,(Ie(),ea),ih),gn(Wt,mf,ih),gn(Wt,ks,ih),gn(Wt,na,ih),gn(Wt,es,ih),gn(Wt,js,ih),gn(Wt,na,ea),gn(Wt,ih,Yl),gn(Wt,ea,Yl),gn(Wt,mf,Yl),gn(Wt,ks,Yl),gn(Wt,Zo,Yl),gn(Wt,na,Yl),gn(Wt,es,Yl),gn(Wt,js,Yl),gn(Wt,zo,Yl),gn(Wt,ih,ml),gn(Wt,ea,ml),gn(Wt,Yl,ml),gn(Wt,mf,ml),gn(Wt,ks,ml),gn(Wt,Zo,ml),gn(Wt,na,ml),gn(Wt,zo,ml),gn(Wt,vl,ml),gn(Wt,es,ml),gn(Wt,hs,ml),gn(Wt,js,ml),gn(Wt,ea,mf),gn(Wt,ks,mf),gn(Wt,na,mf),gn(Wt,js,mf),gn(Wt,ea,ks),gn(Wt,mf,ks),gn(Wt,na,ks),gn(Wt,ks,ks),gn(Wt,es,ks),gn(Wt,ih,Ql),gn(Wt,ea,Ql),gn(Wt,Yl,Ql),gn(Wt,ml,Ql),gn(Wt,mf,Ql),gn(Wt,ks,Ql),gn(Wt,Zo,Ql),gn(Wt,na,Ql),gn(Wt,vl,Ql),gn(Wt,zo,Ql),gn(Wt,js,Ql),gn(Wt,es,Ql),gn(Wt,mo,Ql),gn(Wt,ih,vl),gn(Wt,ea,vl),gn(Wt,Yl,vl),gn(Wt,mf,vl),gn(Wt,ks,vl),gn(Wt,Zo,vl),gn(Wt,na,vl),gn(Wt,zo,vl),gn(Wt,js,vl),gn(Wt,hs,vl),gn(Wt,mo,vl),gn(Wt,ea,zo),gn(Wt,mf,zo),gn(Wt,ks,zo),gn(Wt,na,zo),gn(Wt,vl,zo),gn(Wt,js,zo),gn(Wt,es,zo),gn(Wt,ih,Wo),gn(Wt,ea,Wo),gn(Wt,Yl,Wo),gn(Wt,mf,Wo),gn(Wt,ks,Wo),gn(Wt,Zo,Wo),gn(Wt,na,Wo),gn(Wt,zo,Wo),gn(Wt,js,Wo),gn(Wt,ea,es),gn(Wt,Yl,es),gn(Wt,ml,es),gn(Wt,ks,es),gn(Wt,ih,hs),gn(Wt,ea,hs),gn(Wt,ml,hs),gn(Wt,mf,hs),gn(Wt,ks,hs),gn(Wt,Zo,hs),gn(Wt,na,hs),gn(Wt,na,mo),gn(Wt,ks,mo),gn(Wt,zo,ih),gn(Wt,zo,mf),gn(Wt,zo,Yl),gn(Wt,Zo,ih),gn(Wt,Zo,ea),gn(Wt,Zo,ml)}function aBn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;switch(t.Tg("Brandes & Koepf node placement",1),e.a=n,e.c=G_n(n),i=u(C(n,(Oe(),Rie)),282),S=Fe(ze(C(n,vx))),e.d=i==(JO(),WJ)&&!S||i==lie,$Pn(e,n),be=null,fe=null,B=null,q=null,D=(sl(4,rm),new xo(4)),u(C(n,Rie),282).g){case 3:B=new b3(n,e.c.d,(Da(),Og),(dh(),Kd)),qn(D.c,B);break;case 1:q=new b3(n,e.c.d,(Da(),Qa),(dh(),Kd)),qn(D.c,q);break;case 4:be=new b3(n,e.c.d,(Da(),Og),(dh(),yp)),qn(D.c,be);break;case 2:fe=new b3(n,e.c.d,(Da(),Qa),(dh(),yp)),qn(D.c,fe);break;default:B=new b3(n,e.c.d,(Da(),Og),(dh(),Kd)),q=new b3(n,e.c.d,Qa,Kd),be=new b3(n,e.c.d,Og,yp),fe=new b3(n,e.c.d,Qa,yp),qn(D.c,be),qn(D.c,fe),qn(D.c,B),qn(D.c,q)}for(r=new fCe(n,e.c),l=new P(D);l.aAW(c))&&(p=c);for(!p&&(p=(kn(0,D.c.length),u(D.c[0],185))),O=new P(n.b);O.a0?(Ys(e,t,n),1):(Ys(e,n,t),-1);if(b&&V)return Ys(e,t,n),1;if(p&&q)return Ys(e,n,t),-1;if(p&&V)return 0}else for(cn=new P(h.j);cn.ap&&(Dn=0,lt+=b+De,b=0),KXe(be,o,Dn,lt),n=k.Math.max(n,Dn+fe.a),b=k.Math.max(b,fe.b),Dn+=fe.a+De;for(te=new wt,t=new wt,cn=new P(e);cn.a=-1900?1:0,t>=4?Kt(e,F(z(He,1),Ae,2,6,[vYe,yYe])[l]):Kt(e,F(z(He,1),Ae,2,6,["BC","AD"])[l]);break;case 121:WEn(e,t,i);break;case 77:XDn(e,t,i);break;case 107:f=r.q.getHours(),f==0?Vh(e,24,t):Vh(e,f,t);break;case 83:lNn(e,t,r);break;case 69:b=i.q.getDay(),t==5?Kt(e,F(z(He,1),Ae,2,6,["S","M","T","W","T","F","S"])[b]):t==4?Kt(e,F(z(He,1),Ae,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[b]):Kt(e,F(z(He,1),Ae,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[b]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Kt(e,F(z(He,1),Ae,2,6,["AM","PM"])[1]):Kt(e,F(z(He,1),Ae,2,6,["AM","PM"])[0]);break;case 104:p=r.q.getHours()%12,p==0?Vh(e,12,t):Vh(e,p,t);break;case 75:y=r.q.getHours()%12,Vh(e,y,t);break;case 72:S=r.q.getHours(),Vh(e,S,t);break;case 99:A=i.q.getDay(),t==5?Kt(e,F(z(He,1),Ae,2,6,["S","M","T","W","T","F","S"])[A]):t==4?Kt(e,F(z(He,1),Ae,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[A]):t==3?Kt(e,F(z(He,1),Ae,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[A]):Vh(e,A,1);break;case 76:O=i.q.getMonth(),t==5?Kt(e,F(z(He,1),Ae,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[O]):t==4?Kt(e,F(z(He,1),Ae,2,6,[vZ,yZ,kZ,jZ,ay,EZ,SZ,xZ,AZ,MZ,CZ,TZ])[O]):t==3?Kt(e,F(z(He,1),Ae,2,6,["Jan","Feb","Mar","Apr",ay,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[O]):Vh(e,O+1,t);break;case 81:D=i.q.getMonth()/3|0,t<4?Kt(e,F(z(He,1),Ae,2,6,["Q1","Q2","Q3","Q4"])[D]):Kt(e,F(z(He,1),Ae,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[D]);break;case 100:B=i.q.getDate(),Vh(e,B,t);break;case 109:h=r.q.getMinutes(),Vh(e,h,t);break;case 115:o=r.q.getSeconds(),Vh(e,o,t);break;case 122:t<4?Kt(e,c.c[0]):Kt(e,c.c[1]);break;case 118:Kt(e,c.b);break;case 90:t<3?Kt(e,hTn(c)):t==3?Kt(e,wTn(c)):Kt(e,pTn(c.a));break;default:return!1}return!0}function Ige(e,n,t,i){var r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn,lt,Qt;if(PXe(n),f=u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84),b=u(K((!n.c&&(n.c=new In(mt,n,5,8)),n.c),0),84),l=iu(f),h=iu(b),o=(!n.a&&(n.a=new we($i,n,6,6)),n.a).i==0?null:u(K((!n.a&&(n.a=new we($i,n,6,6)),n.a),0),170),De=u(zn(e.a,l),9),Dn=u(zn(e.a,h),9),un=null,lt=null,X(f,193)&&(fe=u(zn(e.a,f),246),X(fe,12)?un=u(fe,12):X(fe,9)&&(De=u(fe,9),un=u(Le(De.j,0),12))),X(b,193)&&(On=u(zn(e.a,b),246),X(On,12)?lt=u(On,12):X(On,9)&&(Dn=u(On,9),lt=u(Le(Dn.j,0),12))),!De||!Dn)throw R(new a4("The source or the target of edge "+n+" 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(O=new Ow,Pu(O,n),he(O,(me(),mi),n),he(O,(Oe(),Wc),null),S=u(C(i,po),22),De==Dn&&S.Ec((Ic(),ox)),un||(be=(Nc(),Io),cn=null,o&&$v(u(C(De,Zi),102))&&(cn=new Ee(o.j,o.k),aPe(cn,T2(n)),RPe(cn,t),P2(h,l)&&(be=ys,pi(cn,De.n))),un=BKe(De,cn,be,i)),lt||(be=(Nc(),ys),Qt=null,o&&$v(u(C(Dn,Zi),102))&&(Qt=new Ee(o.b,o.c),aPe(Qt,T2(n)),RPe(Qt,t)),lt=BKe(Dn,Qt,be,_r(Dn))),fc(O,un),Gr(O,lt),(un.e.c.length>1||un.g.c.length>1||lt.e.c.length>1||lt.g.c.length>1)&&S.Ec((Ic(),ux)),y=new st((!n.n&&(n.n=new we(Eu,n,1,7)),n.n));y.e!=y.i.gc();)if(p=u(ft(y),157),!Fe(ze(ke(p,Mg)))&&p.a)switch(D=aQ(p),Ce(O.b,D),u(C(D,Ih),279).g){case 1:case 2:S.Ec((Ic(),x7));break;case 0:S.Ec((Ic(),S7)),he(D,Ih,(Ra(),H7))}if(c=u(C(i,px),301),B=u(C(i,yH),328),r=c==(zE(),tI)||B==(GE(),Zie),o&&(!o.a&&(o.a=new mr(yl,o,5)),o.a).i!=0&&r){for(q=hCn(o),A=new xs,te=St(q,0);te.b!=te.d.c;)V=u(jt(te),8),Vt(A,new wc(V));he(O,K3e,A)}return O}function gBn(e,n,t,i){var r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(cn=0,On=0,De=new wt,be=u(Js(S2(So(new mn(null,new yn(e.b,16)),new j_),new Ik)),15).a+1,un=le($t,ni,30,be,15,1),D=le($t,ni,30,be,15,1),O=0;O1)for(l=lt+1;lh.b.e.b*(1-B)+h.c.e.b*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(If(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.b>V.b&&h.c.e.b>V.b||A<=0&&Qt.bh.b.e.a*(1-B)+h.c.e.a*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(If(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.a>V.a&&h.c.e.a>V.a||A<=0&&Qt.a=ne(re(C(e,(Ti(),vye))))&&++On):(S.f&&S.d.e.a<=ne(re(C(e,(Ti(),pre))))&&++cn,S.g&&S.c.e.a+S.c.f.a>=ne(re(C(e,(Ti(),mye))))&&++On)}else te==0?K0e(h):te<0&&(++un[lt],++D[Ui],Dn=lBn(h,n,e,new jc(ve(cn),ve(On)),t,i,new jc(ve(D[Ui]),ve(un[lt]))),cn=u(Dn.a,15).a,On=u(Dn.b,15).a)}function wBn(e){e.gb||(e.gb=!0,e.b=Au(e,0),Yi(e.b,18),_i(e.b,19),e.a=Au(e,1),Yi(e.a,1),_i(e.a,2),_i(e.a,3),_i(e.a,4),_i(e.a,5),e.o=Au(e,2),Yi(e.o,8),Yi(e.o,9),_i(e.o,10),_i(e.o,11),_i(e.o,12),_i(e.o,13),_i(e.o,14),_i(e.o,15),_i(e.o,16),_i(e.o,17),_i(e.o,18),_i(e.o,19),_i(e.o,20),_i(e.o,21),_i(e.o,22),_i(e.o,23),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),e.p=Au(e,3),Yi(e.p,2),Yi(e.p,3),Yi(e.p,4),Yi(e.p,5),_i(e.p,6),_i(e.p,7),Yc(e.p),Yc(e.p),e.q=Au(e,4),Yi(e.q,8),e.v=Au(e,5),_i(e.v,9),Yc(e.v),Yc(e.v),Yc(e.v),e.w=Au(e,6),Yi(e.w,2),Yi(e.w,3),Yi(e.w,4),_i(e.w,5),e.B=Au(e,7),_i(e.B,1),Yc(e.B),Yc(e.B),Yc(e.B),e.Q=Au(e,8),_i(e.Q,0),Yc(e.Q),e.R=Au(e,9),Yi(e.R,1),e.S=Au(e,10),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),e.T=Au(e,11),_i(e.T,10),_i(e.T,11),_i(e.T,12),_i(e.T,13),_i(e.T,14),Yc(e.T),Yc(e.T),e.U=Au(e,12),Yi(e.U,2),Yi(e.U,3),_i(e.U,4),_i(e.U,5),_i(e.U,6),_i(e.U,7),Yc(e.U),e.V=Au(e,13),_i(e.V,10),e.W=Au(e,14),Yi(e.W,18),Yi(e.W,19),Yi(e.W,20),_i(e.W,21),_i(e.W,22),_i(e.W,23),e.bb=Au(e,15),Yi(e.bb,10),Yi(e.bb,11),Yi(e.bb,12),Yi(e.bb,13),Yi(e.bb,14),Yi(e.bb,15),Yi(e.bb,16),_i(e.bb,17),Yc(e.bb),Yc(e.bb),e.eb=Au(e,16),Yi(e.eb,2),Yi(e.eb,3),Yi(e.eb,4),Yi(e.eb,5),Yi(e.eb,6),Yi(e.eb,7),_i(e.eb,8),_i(e.eb,9),e.ab=Au(e,17),Yi(e.ab,0),Yi(e.ab,1),e.H=Au(e,18),_i(e.H,0),_i(e.H,1),_i(e.H,2),_i(e.H,3),_i(e.H,4),_i(e.H,5),Yc(e.H),e.db=Au(e,19),_i(e.db,2),e.c=ci(e,20),e.d=ci(e,21),e.e=ci(e,22),e.f=ci(e,23),e.i=ci(e,24),e.g=ci(e,25),e.j=ci(e,26),e.k=ci(e,27),e.n=ci(e,28),e.r=ci(e,29),e.s=ci(e,30),e.t=ci(e,31),e.u=ci(e,32),e.fb=ci(e,33),e.A=ci(e,34),e.C=ci(e,35),e.D=ci(e,36),e.F=ci(e,37),e.G=ci(e,38),e.I=ci(e,39),e.J=ci(e,40),e.L=ci(e,41),e.M=ci(e,42),e.N=ci(e,43),e.O=ci(e,44),e.P=ci(e,45),e.X=ci(e,46),e.Y=ci(e,47),e.Z=ci(e,48),e.$=ci(e,49),e._=ci(e,50),e.cb=ci(e,51),e.K=ci(e,52))}function pBn(e,n,t,i){var r,c,o,l,f,h,b,p,y,S,A;for(p=St(e.b,0);p.b!=p.d.c;)if(b=u(jt(p),40),!bn(b.c,_F))for(c=u(gs(new mn(null,new yn(OTn(b,e),16)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),16),n==(vr(),Zc)||n==ru?c.gd(new C_):c.gd(new T_),A=c.gc(),r=0;r0&&(l=u(If(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,f=u(If(u(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a+i/5.3,b.e.b+b.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a+i/5.3,b.e.b+b.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a,b.e.b+b.f.b*o))):n==ru?(h=ne(re(C(b,(Ti(),Sa)))),b.e.a-i>h?gc(u(c.Xb(r),65).a,new Ee(h-t,b.e.b+b.f.b*o)):u(c.Xb(r),65).a.b>0&&(l=u(If(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,f=u(If(u(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(b.e.a-i/5.3,b.e.b+b.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(b.e.a-i/5.3,b.e.b+b.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(b.e.a,b.e.b+b.f.b*o))):n==Vl?(h=ne(re(C(b,(Ti(),Vf)))),b.e.b+b.f.b+i0&&(l=u(If(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,f=u(If(u(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o-i/2,b.e.b+i/5.3+b.f.b)):gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o+i/2,b.e.b+i/5.3+b.f.b)))),gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o,b.e.b+b.f.b))):(h=ne(re(C(b,(Ti(),Sa)))),zze(u(c.Xb(r),65),e)?gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o,u(If(u(c.Xb(r),65).a),8).b)):b.e.b-i>h?gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o,h-t)):u(c.Xb(r),65).a.b>0&&(l=u(If(u(c.Xb(r),65).a),8).a,y=b.e.a+b.f.a/2,f=u(If(u(c.Xb(r),65).a),8).b,S=b.e.b+b.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o-i/2,b.e.b-i/5.3)):gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o+i/2,b.e.b-i/5.3)))),gc(u(c.Xb(r),65).a,new Ee(b.e.a+b.f.a*o,b.e.b)))}function rYe(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe;if(o=n,y=t,so(e.a,o)){if(rf(u(zn(e.a,o),47),y))return 1}else ei(e.a,o,new ar);if(so(e.a,y)){if(rf(u(zn(e.a,y),47),o))return-1}else ei(e.a,y,new ar);if(so(e.e,o)){if(rf(u(zn(e.e,o),47),y))return-1}else ei(e.e,o,new ar);if(so(e.e,y)){if(rf(u(zn(e.a,y),47),o))return 1}else ei(e.e,y,new ar);if(o.j!=y.j)return be=uwn(o.j,y.j),be>0?Hl(e,o,y,1):Hl(e,y,o,1),be;if(fe=1,o.e.c.length!=0&&y.e.c.length!=0){if((o.j==(Ie(),Yn)&&y.j==Yn||o.j==Vn&&y.j==Vn||o.j==bt&&y.j==bt)&&(fe=-fe),b=u(Le(o.e,0),17).c,D=u(Le(y.e,0),17).c,f=b.i,A=D.i,f==A)for(V=new P(f.j);V.a0?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe);if(i=jFe(u(gs(vV(e.d),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(zl(),Yo)]))),20),f,A),i!=0)return i>0?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe);if(e.c&&(be=WJe(e,o,y),be!=0))return be>0?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe)}return o.g.c.length!=0&&y.g.c.length!=0?((o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),p=u(C(o,(me(),vie)),9),B=u(C(y,vie),9),e.f==(F1(),tre)&&p&&B&&wi(p,Oi)&&wi(B,Oi)?(l=Kw(p,B,e.b,u(C(e.b,sb),15).a),S=Kw(B,p,e.b,u(C(e.b,sb),15).a),l>S?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe)):e.c&&(be=WJe(e,o,y),be!=0)?be>0?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe):(h=0,O=0,wi(u(Le(o.g,0),17),Oi)&&(h=Kw(u(Le(o.g,0),246),u(Le(y.g,0),246),e.b,o.g.c.length+o.e.c.length)),wi(u(Le(y.g,0),17),Oi)&&(O=Kw(u(Le(y.g,0),246),u(Le(o.g,0),246),e.b,y.g.c.length+y.e.c.length)),p&&p==B||e.g&&(e.g._b(p)&&(h=u(e.g.xc(p),15).a),e.g._b(B)&&(O=u(e.g.xc(B),15).a)),h>O?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe))):o.e.c.length!=0&&y.g.c.length!=0?(Hl(e,o,y,fe),1):o.g.c.length!=0&&y.e.c.length!=0?(Hl(e,y,o,fe),-1):wi(o,(me(),Oi))&&wi(y,Oi)?(c=o.i.j.c.length,l=Kw(o,y,e.b,c),S=Kw(y,o,e.b,c),(o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),l>S?(Hl(e,o,y,fe),fe):(Hl(e,y,o,fe),-fe)):(Hl(e,y,o,fe),-fe)}function me(){me=Y;var e,n;mi=new ki(owe),G3e=new ki("coordinateOrigin"),kie=new ki("processors"),H3e=new Pi("compoundNode",($n(),!1)),sI=new Pi("insideConnections",!1),K3e=new ki("originalBendpoints"),V3e=new ki("originalDummyNodePosition"),Y3e=new ki("originalLabelEdge"),lx=new ki("representedLabels"),sx=new ki("endLabels"),Iy=new ki("endLabel.origin"),_y=new Pi("labelSide",(fl(),JI)),R3=new Pi("maxEdgeThickness",0),qd=new Pi("reversed",!1),Ly=new ki(iQe),Ea=new Pi("longEdgeSource",null),gf=new Pi("longEdgeTarget",null),km=new Pi("longEdgeHasLabelDummies",!1),lI=new Pi("longEdgeBeforeLabelDummy",!1),rH=new Pi("edgeConstraint",(tg(),iie)),bp=new ki("inLayerLayoutUnit"),jg=new Pi("inLayerConstraint",(_1(),uI)),Dy=new Pi("inLayerSuccessorConstraint",new Te),X3e=new Pi("inLayerSuccessorConstraintBetweenNonDummies",!1),vs=new ki("portDummy"),iH=new Pi("crossingHint",ve(0)),po=new Pi("graphProperties",(n=u(la(fie),10),new _l(n,u(Df(n,n.length),10),0))),Iu=new Pi("externalPortSide",(Ie(),ju)),U3e=new Pi("externalPortSize",new Vr),wie=new ki("externalPortReplacedDummies"),cH=new ki("externalPortReplacedDummy"),K1=new Pi("externalPortConnections",(e=u(la(xc),10),new _l(e,u(Df(e,e.length),10),0))),gp=new Pi(WYe,0),J3e=new ki("barycenterAssociates"),$y=new ki("TopSideComments"),Oy=new ki("BottomSideComments"),tH=new ki("CommentConnectionPort"),mie=new Pi("inputCollect",!1),yie=new Pi("outputCollect",!1),Ny=new Pi("cyclic",!1),q3e=new ki("crossHierarchyMap"),Eie=new ki("targetOffset"),new Pi("splineLabelSize",new Vr),z3=new ki("spacings"),uH=new Pi("partitionConstraint",!1),dp=new ki("breakingPoint.info"),Z3e=new ki("splines.survivingEdge"),Eg=new ki("splines.route.start"),F3=new ki("splines.edgeChain"),W3e=new ki("originalPortConstraints"),wp=new ki("selfLoopHolder"),M7=new ki("splines.nsPortY"),Oi=new ki("modelOrder"),sb=new ki("modelOrder.maximum"),oI=new ki("modelOrderGroups.cb.number"),vie=new ki("longEdgeTargetNode"),ob=new Pi(TQe,!1),B3=new Pi(TQe,!1),pie=new ki("layerConstraints.hiddenNodes"),Q3e=new ki("layerConstraints.opposidePort"),jie=new ki("targetNode.modelOrder"),Py=new Pi("tarjan.lowlink",ve(oi)),fx=new Pi("tarjan.id",ve(-1)),oH=new Pi("tarjan.onstack",!1),Win=new Pi("partOfCycle",!1),J3=new ki("medianHeuristic.weight")}function Xt(){Xt=Y;var e,n;qy=new ki(mWe),Bm=new ki(vWe),p9e=(Yh(),lce),kfn=new an(ppe,p9e),B7=new an(U8,null),jfn=new ki(N2e),v9e=(sg(),Ci(hce,F(z(dce,1),je,299,0,[ace]))),DI=new an(OF,v9e),_I=new an(PN,($n(),!1)),y9e=(vr(),nh),Ng=new an(Jee,y9e),E9e=(z1(),Ace),j9e=new an(LN,E9e),Afn=new an(T2e,!1),x9e=(B1(),lG),W3=new an(TF,x9e),P9e=new yw(12),s1=new an(sm,P9e),PI=new an(ES,!1),pce=new an(IF,!1),$I=new an(SS,!1),F9e=(Br(),pb),Vx=new an(ZZ,F9e),Uy=new ki(NF),RI=new ki(xN),Sce=new ki(fF),xce=new ki(jS),C9e=new xs,Z3=new an(Cpe,C9e),Sfn=new an(Ipe,!1),Mfn=new an(Dpe,!1),new an(yWe,0),T9e=new pj,z7=new an(Lpe,T9e),rG=new an(gpe,!1),Dfn=new an(kWe,1),Pm=new ki(jWe),Lm=new ki(EWe),J7=new an(AN,!1),new an(SWe,!0),ve(0),new an(xWe,ve(100)),new an(AWe,!1),ve(0),new an(MWe,ve(4e3)),ve(0),new an(CWe,ve(400)),new an(TWe,!1),new an(OWe,!1),new an(NWe,!0),new an(IWe,!1),m9e=(YB(),Ice),Efn=new an(O2e,m9e),M9e=(EE(),qI),Tfn=new an(DWe,M9e),A9e=(s8(),BI),Cfn=new an(_We,A9e),_fn=new an(ipe,10),Lfn=new an(rpe,10),Pfn=new an(cpe,20),$fn=new an(upe,10),q9e=new an(WZ,2),U9e=new an(Fee,10),X9e=new an(ope,0),cG=new an(fpe,5),K9e=new an(spe,1),V9e=new an(lpe,1),Qd=new an(om,20),Rfn=new an(ape,10),W9e=new an(hpe,10),Xy=new ki(dpe),Q9e=new mTe,Y9e=new an(Ppe,Q9e),Nfn=new ki(Gee),$9e=!1,Ofn=new an(Hee,$9e),N9e=new yw(5),O9e=new an(ype,N9e),I9e=(Q2(),n=u(la($c),10),new _l(n,u(Df(n,n.length),10),0)),e5=new an(K8,I9e),B9e=(u3(),wb),R9e=new an(Epe,B9e),vce=new ki(Spe),yce=new ki(xpe),kce=new ki(Ape),mce=new ki(Mpe),D9e=(e=u(la(iA),10),new _l(e,u(Df(e,e.length),10),0)),Ig=new an(k3,D9e),L9e=rn((_s(),X7)),bb=new an(py,L9e),_9e=new Ee(0,0),n5=new an(my,_9e),$m=new an(X8,!1),k9e=(Ra(),H7),gce=new an(Ope,k9e),bce=new an(aF,!1),ve(1),new an(LWe,null),z9e=new ki(_pe),jce=new ki(Npe),G9e=(Ie(),ju),t5=new an(wpe,G9e),Ps=new ki(bpe),J9e=(ps(),rn(mb)),Rm=new an(V8,J9e),Ece=new an(kpe,!1),H9e=new an(jpe,!0),ve(1),Hfn=new an(dne,ve(3)),ve(1),qfn=new an(I2e,ve(4)),uG=new an(MN,1),oG=new an(bne,null),zm=new an(CN,150),F7=new an(TN,1.414),Ky=new an(np,null),Bfn=new an(D2e,1),LI=new an(mpe,!1),wce=new an(vpe,!1),xfn=new an(Tpe,1),S9e=(Sz(),Cce),new an(PWe,S9e),Ifn=!0,Gfn=(KR(),Nce),Ffn=(V4(),Hm),Jfn=Hm,zfn=Hm}function Ur(){Ur=Y,Bve=new br("DIRECTION_PREPROCESSOR",0),Pve=new br("COMMENT_PREPROCESSOR",1),N3=new br("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),_te=new br("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),r3e=new br("PARTITION_PREPROCESSOR",4),OJ=new br("LABEL_DUMMY_INSERTER",5),zJ=new br("SELF_LOOP_PREPROCESSOR",6),pm=new br("LAYER_CONSTRAINT_PREPROCESSOR",7),t3e=new br("PARTITION_MIDPROCESSOR",8),Xve=new br("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),e3e=new br("NODE_PROMOTION",10),wm=new br("LAYER_CONSTRAINT_POSTPROCESSOR",11),i3e=new br("PARTITION_POSTPROCESSOR",12),Gve=new br("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),c3e=new br("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Ove=new br("BREAKING_POINT_INSERTER",15),_J=new br("LONG_EDGE_SPLITTER",16),Lte=new br("PORT_SIDE_PROCESSOR",17),CJ=new br("INVERTED_PORT_PROCESSOR",18),$J=new br("PORT_LIST_SORTER",19),o3e=new br("SORT_BY_INPUT_ORDER_OF_MODEL",20),PJ=new br("NORTH_SOUTH_PORT_PREPROCESSOR",21),Nve=new br("BREAKING_POINT_PROCESSOR",22),n3e=new br(kQe,23),s3e=new br(jQe,24),RJ=new br("SELF_LOOP_PORT_RESTORER",25),Tve=new br("ALTERNATING_LAYER_UNZIPPER",26),u3e=new br("SINGLE_EDGE_GRAPH_WRAPPER",27),TJ=new br("IN_LAYER_CONSTRAINT_PROCESSOR",28),Fve=new br("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),Wve=new br("LABEL_AND_NODE_SIZE_PROCESSOR",30),Qve=new br("INNERMOST_NODE_MARGIN_CALCULATOR",31),FJ=new br("SELF_LOOP_ROUTER",32),_ve=new br("COMMENT_NODE_MARGIN_CALCULATOR",33),MJ=new br("END_LABEL_PREPROCESSOR",34),IJ=new br("LABEL_DUMMY_SWITCHER",35),Dve=new br("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),p7=new br("LABEL_SIDE_SELECTOR",37),Vve=new br("HYPEREDGE_DUMMY_MERGER",38),qve=new br("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),Zve=new br("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),tx=new br("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),$ve=new br("CONSTRAINTS_POSTPROCESSOR",42),Lve=new br("COMMENT_POSTPROCESSOR",43),Yve=new br("HYPERNODE_PROCESSOR",44),Uve=new br("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),DJ=new br("LONG_EDGE_JOINER",46),BJ=new br("SELF_LOOP_POSTPROCESSOR",47),Ive=new br("BREAKING_POINT_REMOVER",48),LJ=new br("NORTH_SOUTH_PORT_POSTPROCESSOR",49),Kve=new br("HORIZONTAL_COMPACTOR",50),NJ=new br("LABEL_DUMMY_REMOVER",51),Jve=new br("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),zve=new br("END_LABEL_SORTER",53),Cy=new br("REVERSED_EDGE_RESTORER",54),AJ=new br("END_LABEL_POSTPROCESSOR",55),Hve=new br("HIERARCHICAL_NODE_RESIZER",56),Rve=new br("DIRECTION_POSTPROCESSOR",57)}function mBn(e,n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui,Es,eu,kl,s5,c0,ta,nd,Zl,n6,wA,td,Ca,u0,$g,Rg,t6,Bg,zg,id,Qm,M7e,Mp,pA,Vce,i6,mA,Wm,vA,Yce,_hn;for(M7e=0,Qt=n,eu=0,c0=Qt.length;eu0&&(e.a[Ca.p]=M7e++)}for(mA=0,Ui=t,kl=0,ta=Ui.length;kl0;){for(Ca=(at(t6.b>0),u(t6.a.Xb(t6.c=--t6.b),12)),Rg=0,l=new P(Ca.e);l.a0&&(Ca.j==(Ie(),Vn)?(e.a[Ca.p]=mA,++mA):(e.a[Ca.p]=mA+nd+n6,++n6))}mA+=n6}for($g=new wt,A=new Fh,lt=n,Es=0,s5=lt.length;Esh.b&&(h.b=Bg)):Ca.i.c==Qm&&(Bgh.c&&(h.c=Bg));for(G9(O,0,O.length,null),i6=le($t,ni,30,O.length,15,1),i=le($t,ni,30,mA+1,15,1),B=0;B0;)De%2>0&&(r+=Yce[De+1]),De=(De-1)/2|0,++Yce[De];for(cn=le(jon,Nn,370,O.length*2,0,1),te=0;te0&>(Es.f),ke(B,oG)!=null&&(!B.a&&(B.a=new we(Ft,B,10,11)),!!B.a)&&(!B.a&&(B.a=new we(Ft,B,10,11)),B.a).i>0?(l=u(ke(B,oG),521),Rg=l.Sg(B),vw(B,k.Math.max(B.g,Rg.a+nd.b+nd.c),k.Math.max(B.f,Rg.b+nd.d+nd.a))):(!B.a&&(B.a=new we(Ft,B,10,11)),B.a).i!=0&&(Rg=new Ee(ne(re(ke(B,zm))),ne(re(ke(B,zm)))/ne(re(ke(B,F7)))),vw(B,k.Math.max(B.g,Rg.a+nd.b+nd.c),k.Math.max(B.f,Rg.b+nd.d+nd.a)));if(ta=u(ke(n,s1),104),S=n.g-(ta.b+ta.c),y=n.f-(ta.d+ta.a),zg.ah("Available Child Area: ("+S+"|"+y+")"),Ei(n,B7,S/y),DJe(n,r,i.dh(s5)),u(ke(n,Ky),281)==gG&&(sZ(n),vw(n,ta.b+ne(re(ke(n,Pm)))+ta.c,ta.d+ne(re(ke(n,Lm)))+ta.a)),zg.ah("Executed layout algorithm: "+Pt(ke(n,qy))+" on node "+n.k),u(ke(n,Ky),281)==Hm){if(S<0||y<0)throw R(new md("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));for(ba(n,Pm)||ba(n,Lm)||sZ(n),O=ne(re(ke(n,Pm))),A=ne(re(ke(n,Lm))),zg.ah("Desired Child Area: ("+O+"|"+A+")"),n6=S/O,wA=y/A,Zl=k.Math.min(n6,k.Math.min(wA,ne(re(ke(n,Bfn))))),Ei(n,uG,Zl),zg.ah(n.k+" -- Local Scale Factor (X|Y): ("+n6+"|"+wA+")"),te=u(ke(n,DI),22),c=0,o=0,Zl'?":bn(gZe,e)?"'(?<' or '(? toIndex: ",Yge=", toIndex: ",Qge="Index: ",Wge=", Size: ",J8="org.eclipse.elk.alg.common",Yt={51:1},_Ye="org.eclipse.elk.alg.common.compaction",LYe="Scanline/EventHandler",t1="org.eclipse.elk.alg.common.compaction.oned",PYe="CNode belongs to another CGroup.",$Ye="ISpacingsHandler/1",UZ="The ",XZ=" instance has been finished already.",RYe="The direction ",BYe=" is not supported by the CGraph instance.",zYe="OneDimensionalCompactor",FYe="OneDimensionalCompactor/lambda$0$Type",JYe="Quadruplet",HYe="ScanlineConstraintCalculator",GYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",qYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",UYe="ScanlineConstraintCalculator/Timestamp",XYe="ScanlineConstraintCalculator/lambda$0$Type",Sh={178:1,48:1},vS="org.eclipse.elk.alg.common.networksimplex",ma={171:1,3:1,4:1},KYe="org.eclipse.elk.alg.common.nodespacing",dg="org.eclipse.elk.alg.common.nodespacing.cellsystem",H8="CENTER",VYe={216:1,337:1},Zge={3:1,4:1,5:1,592:1},by="LEFT",gy="RIGHT",ewe="Vertical alignment cannot be null",nwe="BOTTOM",sF="org.eclipse.elk.alg.common.nodespacing.internal",yS="UNDEFINED",qa=.01,jN="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",YYe="LabelPlacer/lambda$0$Type",QYe="LabelPlacer/lambda$1$Type",WYe="portRatioOrPosition",G8="org.eclipse.elk.alg.common.overlaps",KZ="DOWN",wy="org.eclipse.elk.alg.common.spore",um={3:1,4:1,5:1,198:1},ZYe={3:1,6:1,4:1,5:1,90:1,110:1},VZ="org.eclipse.elk.alg.force",twe="ComponentsProcessor",eQe="ComponentsProcessor/1",iwe="ElkGraphImporter/lambda$0$Type",ep={214:1},y3="org.eclipse.elk.core",EN="org.eclipse.elk.graph.properties",nQe="IPropertyHolder",SN="org.eclipse.elk.alg.force.graph",tQe="Component Layout",rwe="org.eclipse.elk.alg.force.model",yu="org.eclipse.elk.core.data",lF="org.eclipse.elk.force.model",cwe="org.eclipse.elk.force.iterations",uwe="org.eclipse.elk.force.repulsivePower",YZ="org.eclipse.elk.force.temperature",xh=.001,QZ="org.eclipse.elk.force.repulsion",Ua={148:1},kS="org.eclipse.elk.alg.force.options",q8=1.600000023841858,$o="org.eclipse.elk.force",xN="org.eclipse.elk.priority",om="org.eclipse.elk.spacing.nodeNode",WZ="org.eclipse.elk.spacing.edgeLabel",U8="org.eclipse.elk.aspectRatio",fF="org.eclipse.elk.randomSeed",jS="org.eclipse.elk.separateConnectedComponents",sm="org.eclipse.elk.padding",ES="org.eclipse.elk.interactive",ZZ="org.eclipse.elk.portConstraints",aF="org.eclipse.elk.edgeLabels.inline",SS="org.eclipse.elk.omitNodeMicroLayout",X8="org.eclipse.elk.nodeSize.fixedGraphSize",py="org.eclipse.elk.nodeSize.options",k3="org.eclipse.elk.nodeSize.constraints",K8="org.eclipse.elk.nodeLabels.placement",V8="org.eclipse.elk.portLabels.placement",AN="org.eclipse.elk.topdownLayout",MN="org.eclipse.elk.topdown.scaleFactor",CN="org.eclipse.elk.topdown.hierarchicalNodeWidth",TN="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",np="org.eclipse.elk.topdown.nodeType",owe="origin",iQe="random",rQe="boundingBox.upLeft",cQe="boundingBox.lowRight",swe="org.eclipse.elk.stress.fixed",lwe="org.eclipse.elk.stress.desiredEdgeLength",fwe="org.eclipse.elk.stress.dimension",awe="org.eclipse.elk.stress.epsilon",hwe="org.eclipse.elk.stress.iterationLimit",W0="org.eclipse.elk.stress",uQe="ELK Stress",my="org.eclipse.elk.nodeSize.minimum",hF="org.eclipse.elk.alg.force.stress",oQe="Layered layout",vy="org.eclipse.elk.alg.layered",ON="org.eclipse.elk.alg.layered.compaction.components",xS="org.eclipse.elk.alg.layered.compaction.oned",dF="org.eclipse.elk.alg.layered.compaction.oned.algs",bg="org.eclipse.elk.alg.layered.compaction.recthull",Xa="org.eclipse.elk.alg.layered.components",va="NONE",eee="MODEL_ORDER",qu={3:1,6:1,4:1,10:1,5:1,126:1},sQe={3:1,6:1,4:1,5:1,135:1,90:1,110:1},bF="org.eclipse.elk.alg.layered.compound",Mi={43:1},Zu="org.eclipse.elk.alg.layered.graph",nee=" -> ",lQe="Not supported by LGraph",dwe="Port side is undefined",Y8={3:1,6:1,4:1,5:1,323:1,135:1,90:1,110:1},Fd={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},fQe={3:1,6:1,4:1,5:1,135:1,2004:1,209:1,90:1,110:1},aQe=`([{"' \r -`,hQe=`)]}"' \r -`,dQe="The given string contains parts that cannot be parsed as numbers.",NN="org.eclipse.elk.core.math",bQe={3:1,4:1,140:1,213:1,414:1},gQe={3:1,4:1,104:1,213:1,414:1},Jd="org.eclipse.elk.alg.layered.graph.transform",wQe="ElkGraphImporter",pQe="ElkGraphImporter/lambda$1$Type",mQe="ElkGraphImporter/lambda$2$Type",vQe="ElkGraphImporter/lambda$4$Type",Zn="org.eclipse.elk.alg.layered.intermediate",yQe="Node margin calculation",kQe="ONE_SIDED_GREEDY_SWITCH",jQe="TWO_SIDED_GREEDY_SWITCH",tee="No implementation is available for the layout processor ",iee="IntermediateProcessorStrategy",ree="Node '",EQe="FIRST_SEPARATE",SQe="LAST_SEPARATE",xQe="Odd port side processing",lr="org.eclipse.elk.alg.layered.intermediate.compaction",AS="org.eclipse.elk.alg.layered.intermediate.greedyswitch",i1="org.eclipse.elk.alg.layered.p3order.counting",MS={220:1},yy="org.eclipse.elk.alg.layered.intermediate.loops",bl="org.eclipse.elk.alg.layered.intermediate.loops.ordering",Z0="org.eclipse.elk.alg.layered.intermediate.loops.routing",gF="org.eclipse.elk.alg.layered.intermediate.preserveorder",Ah="org.eclipse.elk.alg.layered.intermediate.wrapping",Tu="org.eclipse.elk.alg.layered.options",cee="INTERACTIVE",bwe="GREEDY",AQe="DEPTH_FIRST",MQe="EDGE_LENGTH",CQe="SELF_LOOPS",TQe="firstTryWithInitialOrder",gwe="org.eclipse.elk.layered.directionCongruency",wwe="org.eclipse.elk.layered.feedbackEdges",wF="org.eclipse.elk.layered.interactiveReferencePoint",pwe="org.eclipse.elk.layered.mergeEdges",mwe="org.eclipse.elk.layered.mergeHierarchyEdges",vwe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",ywe="org.eclipse.elk.layered.portSortingStrategy",kwe="org.eclipse.elk.layered.thoroughness",jwe="org.eclipse.elk.layered.unnecessaryBendpoints",Ewe="org.eclipse.elk.layered.generatePositionAndLayerIds",IN="org.eclipse.elk.layered.cycleBreaking.strategy",DN="org.eclipse.elk.layered.layering.strategy",Swe="org.eclipse.elk.layered.layering.layerConstraint",xwe="org.eclipse.elk.layered.layering.layerChoiceConstraint",Awe="org.eclipse.elk.layered.layering.layerId",uee="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",oee="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",see="org.eclipse.elk.layered.layering.nodePromotion.strategy",lee="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",fee="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",CS="org.eclipse.elk.layered.crossingMinimization.strategy",Mwe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",aee="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",hee="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Cwe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Twe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Owe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Nwe="org.eclipse.elk.layered.crossingMinimization.positionId",Iwe="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",dee="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",pF="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",j3="org.eclipse.elk.layered.nodePlacement.strategy",mF="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",bee="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",gee="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",wee="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",pee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",mee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Dwe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",_we="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",vF="org.eclipse.elk.layered.edgeRouting.splines.mode",yF="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",vee="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",Lwe="org.eclipse.elk.layered.spacing.baseValue",Pwe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",$we="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",Rwe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Bwe="org.eclipse.elk.layered.priority.direction",zwe="org.eclipse.elk.layered.priority.shortness",Fwe="org.eclipse.elk.layered.priority.straightness",yee="org.eclipse.elk.layered.compaction.connectedComponents",Jwe="org.eclipse.elk.layered.compaction.postCompaction.strategy",Hwe="org.eclipse.elk.layered.compaction.postCompaction.constraints",kF="org.eclipse.elk.layered.highDegreeNodes.treatment",kee="org.eclipse.elk.layered.highDegreeNodes.threshold",jee="org.eclipse.elk.layered.highDegreeNodes.treeHeight",q1="org.eclipse.elk.layered.wrapping.strategy",jF="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",EF="org.eclipse.elk.layered.wrapping.correctionFactor",TS="org.eclipse.elk.layered.wrapping.cutting.strategy",Eee="org.eclipse.elk.layered.wrapping.cutting.cuts",See="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",SF="org.eclipse.elk.layered.wrapping.validify.strategy",xF="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",AF="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",MF="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",xee="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Aee="org.eclipse.elk.layered.layerUnzipping.strategy",Mee="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",Cee="org.eclipse.elk.layered.layerUnzipping.layerSplit",Tee="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",Gwe="org.eclipse.elk.layered.edgeLabels.sideSelection",qwe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",CF="org.eclipse.elk.layered.considerModelOrder.strategy",Uwe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",_N="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Oee="org.eclipse.elk.layered.considerModelOrder.components",Xwe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Nee="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Iee="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Dee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",_ee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",Lee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",Kwe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",Pee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",$ee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",Vwe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",Ywe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",Ree="layering",OQe="layering.minWidth",NQe="layering.nodePromotion",Q8="crossingMinimization",TF="org.eclipse.elk.hierarchyHandling",IQe="crossingMinimization.greedySwitch",DQe="nodePlacement",_Qe="nodePlacement.bk",LQe="edgeRouting",LN="org.eclipse.elk.edgeRouting",Ka="spacing",Qwe="priority",Wwe="compaction",PQe="compaction.postCompaction",$Qe="Specifies whether and how post-process compaction is applied.",Zwe="highDegreeNodes",epe="wrapping",RQe="wrapping.cutting",BQe="wrapping.validify",npe="wrapping.multiEdge",Bee="layerUnzipping",zee="edgeLabels",OS="considerModelOrder",W8="considerModelOrder.groupModelOrder",tpe="Group ID of the Node Type",ipe="org.eclipse.elk.spacing.commentComment",rpe="org.eclipse.elk.spacing.commentNode",cpe="org.eclipse.elk.spacing.componentComponent",upe="org.eclipse.elk.spacing.edgeEdge",Fee="org.eclipse.elk.spacing.edgeNode",ope="org.eclipse.elk.spacing.labelLabel",spe="org.eclipse.elk.spacing.labelPortHorizontal",lpe="org.eclipse.elk.spacing.labelPortVertical",fpe="org.eclipse.elk.spacing.labelNode",ape="org.eclipse.elk.spacing.nodeSelfLoop",hpe="org.eclipse.elk.spacing.portPort",dpe="org.eclipse.elk.spacing.individual",bpe="org.eclipse.elk.port.borderOffset",gpe="org.eclipse.elk.noLayout",wpe="org.eclipse.elk.port.side",PN="org.eclipse.elk.debugMode",ppe="org.eclipse.elk.alignment",mpe="org.eclipse.elk.insideSelfLoops.activate",vpe="org.eclipse.elk.insideSelfLoops.yo",Jee="org.eclipse.elk.direction",ype="org.eclipse.elk.nodeLabels.padding",kpe="org.eclipse.elk.portLabels.nextToPortIfPossible",jpe="org.eclipse.elk.portLabels.treatAsGroup",Epe="org.eclipse.elk.portAlignment.default",Spe="org.eclipse.elk.portAlignment.north",xpe="org.eclipse.elk.portAlignment.south",Ape="org.eclipse.elk.portAlignment.west",Mpe="org.eclipse.elk.portAlignment.east",OF="org.eclipse.elk.contentAlignment",Cpe="org.eclipse.elk.junctionPoints",Tpe="org.eclipse.elk.edge.thickness",Ope="org.eclipse.elk.edgeLabels.placement",Npe="org.eclipse.elk.port.index",Ipe="org.eclipse.elk.commentBox",Dpe="org.eclipse.elk.hypernode",_pe="org.eclipse.elk.port.anchor",Hee="org.eclipse.elk.partitioning.activate",Gee="org.eclipse.elk.partitioning.partition",NF="org.eclipse.elk.position",Lpe="org.eclipse.elk.margins",Ppe="org.eclipse.elk.spacing.portsSurrounding",IF="org.eclipse.elk.interactiveLayout",$u="org.eclipse.elk.core.util",$pe={3:1,4:1,5:1,590:1},zQe="NETWORK_SIMPLEX",Rpe="SIMPLE",oc={95:1,43:1},tp="org.eclipse.elk.alg.layered.p1cycles",FQe="Depth-first cycle removal",JQe="Model order cycle breaking",U1="org.eclipse.elk.alg.layered.p2layers",Bpe={406:1,220:1},HQe={830:1,3:1,4:1},Ro="org.eclipse.elk.alg.layered.p3order",E3=17976931348623157e292,qee=5e-324,Lc="org.eclipse.elk.alg.layered.p4nodes",GQe={3:1,4:1,5:1,838:1},Mh=1e-5,eb="org.eclipse.elk.alg.layered.p4nodes.bk",Uee="org.eclipse.elk.alg.layered.p5edges",ya="org.eclipse.elk.alg.layered.p5edges.orthogonal",Xee="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Kee=1e-6,lm="org.eclipse.elk.alg.layered.p5edges.splines",Vee=.09999999999999998,DF=1e-8,qQe=4.71238898038469,UQe=1.5707963267948966,zpe=3.141592653589793,X1="org.eclipse.elk.alg.mrtree",Yee=.10000000149011612,_F="SUPER_ROOT",NS="org.eclipse.elk.alg.mrtree.graph",Fpe=-17976931348623157e292,go="org.eclipse.elk.alg.mrtree.intermediate",XQe="Processor compute fanout",LF={3:1,6:1,4:1,5:1,522:1,90:1,110:1},KQe="Set neighbors in level",$N="org.eclipse.elk.alg.mrtree.options",VQe="DESCENDANTS",Jpe="org.eclipse.elk.mrtree.compaction",Hpe="org.eclipse.elk.mrtree.edgeEndTextureLength",Gpe="org.eclipse.elk.mrtree.treeLevel",qpe="org.eclipse.elk.mrtree.positionConstraint",Upe="org.eclipse.elk.mrtree.weighting",Xpe="org.eclipse.elk.mrtree.edgeRoutingMode",Kpe="org.eclipse.elk.mrtree.searchOrder",YQe="Position Constraint",Bo="org.eclipse.elk.mrtree",QQe="org.eclipse.elk.tree",WQe="Processor arrange level",Z8="org.eclipse.elk.alg.mrtree.p2order",Qs="org.eclipse.elk.alg.mrtree.p4route",Vpe="org.eclipse.elk.alg.radial",gg=6.283185307179586,Ype="Before",PF="After",Qpe="org.eclipse.elk.alg.radial.intermediate",ZQe="COMPACTION",Qee="org.eclipse.elk.alg.radial.intermediate.compaction",eWe={3:1,4:1,5:1,90:1},Wpe="org.eclipse.elk.alg.radial.intermediate.optimization",Wee="No implementation is available for the layout option ",IS="org.eclipse.elk.alg.radial.options",nWe="CompactionStrategy",Zpe="org.eclipse.elk.radial.centerOnRoot",e2e="org.eclipse.elk.radial.orderId",n2e="org.eclipse.elk.radial.radius",$F="org.eclipse.elk.radial.rotate",Zee="org.eclipse.elk.radial.compactor",ene="org.eclipse.elk.radial.compactionStepSize",t2e="org.eclipse.elk.radial.sorter",i2e="org.eclipse.elk.radial.wedgeCriteria",r2e="org.eclipse.elk.radial.optimizationCriteria",nne="org.eclipse.elk.radial.rotation.targetAngle",tne="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",c2e="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",tWe="Compaction",u2e="rotation",Gl="org.eclipse.elk.radial",iWe="org.eclipse.elk.alg.radial.p1position.wedge",o2e="org.eclipse.elk.alg.radial.sorting",rWe=5.497787143782138,cWe=3.9269908169872414,uWe=2.356194490192345,oWe="org.eclipse.elk.alg.rectpacking",DS="org.eclipse.elk.alg.rectpacking.intermediate",ine="org.eclipse.elk.alg.rectpacking.options",s2e="org.eclipse.elk.rectpacking.trybox",l2e="org.eclipse.elk.rectpacking.currentPosition",f2e="org.eclipse.elk.rectpacking.desiredPosition",a2e="org.eclipse.elk.rectpacking.inNewRow",h2e="org.eclipse.elk.rectpacking.orderBySize",d2e="org.eclipse.elk.rectpacking.widthApproximation.strategy",b2e="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",g2e="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",w2e="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",p2e="org.eclipse.elk.rectpacking.packing.strategy",m2e="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",v2e="org.eclipse.elk.rectpacking.packing.compaction.iterations",y2e="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",rne="widthApproximation",sWe="Compaction Strategy",lWe="packing.compaction",ms="org.eclipse.elk.rectpacking",e7="org.eclipse.elk.alg.rectpacking.p1widthapproximation",RF="org.eclipse.elk.alg.rectpacking.p2packing",fWe="No Compaction",k2e="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",RN="org.eclipse.elk.alg.rectpacking.util",BF="No implementation available for ",fm="org.eclipse.elk.alg.spore",am="org.eclipse.elk.alg.spore.options",ip="org.eclipse.elk.sporeCompaction",cne="org.eclipse.elk.underlyingLayoutAlgorithm",j2e="org.eclipse.elk.processingOrder.treeConstruction",E2e="org.eclipse.elk.processingOrder.spanningTreeCostFunction",une="org.eclipse.elk.processingOrder.preferredRoot",one="org.eclipse.elk.processingOrder.rootSelection",sne="org.eclipse.elk.structure.structureExtractionStrategy",S2e="org.eclipse.elk.compaction.compactionStrategy",x2e="org.eclipse.elk.compaction.orthogonal",A2e="org.eclipse.elk.overlapRemoval.maxIterations",M2e="org.eclipse.elk.overlapRemoval.runScanline",lne="processingOrder",aWe="overlapRemoval",n7="org.eclipse.elk.sporeOverlap",hWe="org.eclipse.elk.alg.spore.p1structure",fne="org.eclipse.elk.alg.spore.p2processingorder",ane="org.eclipse.elk.alg.spore.p3execution",dWe="Topdown Layout",bWe="Invalid index: ",t7="org.eclipse.elk.core.alg",S3={342:1},hm={296:1},gWe="Make sure its type is registered with the ",C2e=" utility class.",i7="true",hne="false",wWe="Couldn't clone property '",rp=.05,Oo="org.eclipse.elk.core.options",pWe=1.2999999523162842,cp="org.eclipse.elk.box",T2e="org.eclipse.elk.expandNodes",O2e="org.eclipse.elk.box.packingMode",mWe="org.eclipse.elk.algorithm",vWe="org.eclipse.elk.resolvedAlgorithm",N2e="org.eclipse.elk.bendPoints",EBn="org.eclipse.elk.labelManager",yWe="org.eclipse.elk.softwrappingFuzziness",kWe="org.eclipse.elk.scaleFactor",jWe="org.eclipse.elk.childAreaWidth",EWe="org.eclipse.elk.childAreaHeight",SWe="org.eclipse.elk.animate",xWe="org.eclipse.elk.animTimeFactor",AWe="org.eclipse.elk.layoutAncestors",MWe="org.eclipse.elk.maxAnimTime",CWe="org.eclipse.elk.minAnimTime",TWe="org.eclipse.elk.progressBar",OWe="org.eclipse.elk.validateGraph",NWe="org.eclipse.elk.validateOptions",IWe="org.eclipse.elk.zoomToFit",DWe="org.eclipse.elk.json.shapeCoords",_We="org.eclipse.elk.json.edgeCoords",SBn="org.eclipse.elk.font.name",LWe="org.eclipse.elk.font.size",dne="org.eclipse.elk.topdown.sizeCategories",I2e="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",bne="org.eclipse.elk.topdown.sizeApproximator",D2e="org.eclipse.elk.topdown.scaleCap",PWe="org.eclipse.elk.edge.type",$We="partitioning",RWe="nodeLabels",zF="portAlignment",gne="nodeSize",wne="port",_2e="portLabels",r7="topdown",BWe="insideSelfLoops",L2e="INHERIT",c7="org.eclipse.elk.fixed",FF="org.eclipse.elk.random",JF={3:1,35:1,23:1,521:1,288:1},zWe="port must have a parent node to calculate the port side",FWe="The edge needs to have exactly one edge section. Found: ",_S="org.eclipse.elk.core.util.adapters",ql="org.eclipse.emf.ecore",x3="org.eclipse.elk.graph",JWe="EMapPropertyHolder",HWe="ElkBendPoint",GWe="ElkGraphElement",qWe="ElkConnectableShape",P2e="ElkEdge",UWe="ElkEdgeSection",XWe="EModelElement",KWe="ENamedElement",$2e="ElkLabel",R2e="ElkNode",B2e="ElkPort",VWe={94:1,93:1},ky="org.eclipse.emf.common.notify.impl",nb="The feature '",LS="' is not a valid changeable feature",YWe="Expecting null",pne="' is not a valid feature",QWe="The feature ID",WWe=" is not a valid feature ID",Ru=32768,ZWe={109:1,94:1,93:1,57:1,52:1,100:1},Jn="org.eclipse.emf.ecore.impl",wg="org.eclipse.elk.graph.impl",PS="Recursive containment not allowed for ",u7="The datatype '",up="' is not a valid classifier",mne="The value '",A3={195:1,3:1,4:1},vne="The class '",o7="http://www.eclipse.org/elk/ElkGraph",z2e="property",$S="value",yne="source",eZe="properties",nZe="identifier",kne="height",jne="width",Ene="parent",Sne="text",xne="children",tZe="hierarchical",F2e="sources",Ane="targets",Mne="sections",HF="bendPoints",J2e="outgoingShape",H2e="incomingShape",G2e="outgoingSections",q2e="incomingSections",yc="org.eclipse.emf.common.util",U2e="Severe implementation error in the Json to ElkGraph importer.",Ch="id",Wr="org.eclipse.elk.graph.json",s7="Unhandled parameter types: ",iZe="startPoint",rZe="An edge must have at least one source and one target (edge id: '",l7="').",cZe="Referenced edge section does not exist: ",uZe=" (edge id: '",X2e="target",oZe="sourcePoint",sZe="targetPoint",GF="group",ui="name",lZe="connectableShape cannot be null",fZe="edge cannot be null",aZe="Passed edge is not 'simple'.",qF="org.eclipse.elk.graph.util",BN="The 'no duplicates' constraint is violated",Cne="targetIndex=",pg=", size=",Tne="sourceIndex=",Th={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},One={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,585:1},UF="logging",hZe="measureExecutionTime",dZe="parser.parse.1",bZe="parser.parse.2",XF="parser.next.1",Nne="parser.next.2",gZe="parser.next.3",wZe="parser.next.4",mg="parser.factor.1",K2e="parser.factor.2",pZe="parser.factor.3",mZe="parser.factor.4",vZe="parser.factor.5",yZe="parser.factor.6",kZe="parser.atom.1",jZe="parser.atom.2",EZe="parser.atom.3",V2e="parser.atom.4",Ine="parser.atom.5",Y2e="parser.cc.1",KF="parser.cc.2",SZe="parser.cc.3",xZe="parser.cc.5",Q2e="parser.cc.6",W2e="parser.cc.7",Dne="parser.cc.8",AZe="parser.ope.1",MZe="parser.ope.2",CZe="parser.ope.3",Hd="parser.descape.1",TZe="parser.descape.2",OZe="parser.descape.3",NZe="parser.descape.4",IZe="parser.descape.5",Ul="parser.process.1",DZe="parser.quantifier.1",_Ze="parser.quantifier.2",LZe="parser.quantifier.3",PZe="parser.quantifier.4",Z2e="parser.quantifier.5",$Ze="org.eclipse.emf.common.notify",eme={415:1,676:1},RZe={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},zN={373:1,151:1},RS="index=",_ne={3:1,4:1,5:1,129:1},BZe={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},nme={3:1,6:1,4:1,5:1,198:1},zZe={3:1,4:1,5:1,175:1,374:1},Gf=1024,FZe=";/?:@&=+$,",JZe="invalid authority: ",HZe="EAnnotation",GZe="ETypedElement",qZe="EStructuralFeature",UZe="EAttribute",XZe="EClassifier",KZe="EEnumLiteral",VZe="EGenericType",YZe="EOperation",QZe="EParameter",WZe="EReference",ZZe="ETypeParameter",Ri="org.eclipse.emf.ecore.util",Lne={77:1},tme={3:1,20:1,18:1,16:1,61:1,586:1,77:1,72:1,98:1},een="org.eclipse.emf.ecore.util.FeatureMap$Entry",as=8192,BS="byte",VF="char",zS="double",FS="float",JS="int",HS="long",GS="short",nen="java.lang.Object",M3={3:1,4:1,5:1,255:1},ime={3:1,4:1,5:1,678:1},ten={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},au={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,72:1,98:1},FN="mixed",Ut="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",af="kind",ien={3:1,4:1,5:1,679:1},rme={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,77:1,72:1,98:1},YF={20:1,31:1,56:1,18:1,16:1,61:1,72:1},QF={50:1,128:1,287:1},WF={75:1,344:1},ZF="The value of type '",eJ="' must be of type '",C3=1306,hf="http://www.eclipse.org/emf/2002/Ecore",nJ=-32768,op="constraints",sc="baseType",ren="getEStructuralFeature",cen="getFeatureID",qS="feature",uen="getOperationID",cme="operation",oen="defaultValue",sen="eTypeParameters",len="isInstance",fen="getEEnumLiteral",aen="eContainingClass",ii={58:1},hen={3:1,4:1,5:1,122:1},den="org.eclipse.emf.ecore.resource",ben={94:1,93:1,588:1,1996:1},Pne="org.eclipse.emf.ecore.resource.impl",ume="unspecified",JN="simple",tJ="attribute",gen="attributeWildcard",iJ="element",$ne="elementWildcard",ka="collapse",Rne="itemType",rJ="namespace",HN="##targetNamespace",df="whiteSpace",ome="wildcards",vg="http://www.eclipse.org/emf/2003/XMLType",Bne="##any",f7="uninitialized",GN="The multiplicity constraint is violated",cJ="org.eclipse.emf.ecore.xml.type",wen="ProcessingInstruction",pen="SimpleAnyType",men="XMLTypeDocumentRoot",kr="org.eclipse.emf.ecore.xml.type.impl",qN="INF",ven="processing",yen="ENTITIES_._base",sme="minLength",lme="ENTITY",uJ="NCName",ken="IDREFS_._base",fme="integer",zne="token",Fne="pattern",jen="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",ame="\\i\\c*",Een="[\\i-[:]][\\c-[:]]*",Sen="nonPositiveInteger",UN="maxInclusive",hme="NMTOKEN",xen="NMTOKENS_._base",dme="nonNegativeInteger",XN="minInclusive",Aen="normalizedString",Men="unsignedByte",Cen="unsignedInt",Ten="18446744073709551615",Oen="unsignedShort",Nen="processingInstruction",Gd="org.eclipse.emf.ecore.xml.type.internal",a7=1114111,Ien="Internal Error: shorthands: \\u",US="xml:isDigit",Jne="xml:isWord",Hne="xml:isSpace",Gne="xml:isNameChar",qne="xml:isInitialNameChar",Den="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",_en="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",Len="Private Use",Une="ASSIGNED",Xne="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",bme="UNASSIGNED",h7={3:1,121:1},Pen="org.eclipse.emf.ecore.xml.type.util",oJ={3:1,4:1,5:1,376:1},gme="org.eclipse.xtext.xbase.lib",$en="Cannot add elements to a Range",Ren="Cannot set elements in a Range",Ben="Cannot remove elements from a Range",zen="user.agent",s,sJ,Kne;k.goog=k.goog||{},k.goog.global=k.goog.global||k,sJ={},m(1,null,{},U),s.Fb=function(n){return gTe(this,n)},s.Gb=function(){return this.Pm},s.Hb=function(){return jw(this)},s.Ib=function(){var n;return Pb(Us(this))+"@"+(n=Ni(this)>>>0,n.toString(16))},s.equals=function(e){return this.Fb(e)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()};var Fen,Jen,Hen;m(298,1,{298:1,2086:1},g1e),s.te=function(n){var t;return t=new g1e,t.i=4,n>1?t.c=G_e(this,n-1):t.c=this,t},s.ue=function(){return M1(this),this.b},s.ve=function(){return Pb(this)},s.we=function(){return M1(this),this.k},s.xe=function(){return(this.i&4)!=0},s.ye=function(){return(this.i&1)!=0},s.Ib=function(){return xhe(this)},s.i=0;var Mr=v(Cu,"Object",1),wme=v(Cu,"Class",298);m(2058,1,aN),v(hN,"Optional",2058),m(1160,2058,aN,G),s.Fb=function(n){return n===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(n){return Nt(n),vj(),Vne};var Vne;v(hN,"Absent",1160),m(627,1,{},IX),v(hN,"Joiner",627);var xBn=Gi(hN,"Predicate");m(577,1,{178:1,577:1,3:1,48:1},DC),s.Mb=function(n){return Hze(this,n)},s.Lb=function(n){return Hze(this,n)},s.Fb=function(n){var t;return X(n,577)?(t=u(n,577),abe(this.a,t.a)):!1},s.Hb=function(){return y1e(this.a)+306654252},s.Ib=function(){return xCn(this.a)},v(hN,"Predicates/AndPredicate",577),m(411,2058,{411:1,3:1},e9),s.Fb=function(n){var t;return X(n,411)?(t=u(n,411),gi(this.a,t.a)):!1},s.Hb=function(){return 1502476572+Ni(this.a)},s.Ib=function(){return lYe+this.a+")"},s.Jb=function(n){return new e9(NR(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},v(hN,"Present",411),m(204,1,L8),s.Nb=function(n){Zr(this,n)},s.Qb=function(){cAe()},v(dn,"UnmodifiableIterator",204),m(2038,204,P8),s.Qb=function(){cAe()},s.Rb=function(n){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(dn,"UnmodifiableListIterator",2038),m(392,2038,P8),s.Ob=function(){return this.b0},s.Pb=function(){if(this.b>=this.c)throw R(new hu);return this.Xb(this.b++)},s.Tb=function(){return this.b},s.Ub=function(){if(this.b<=0)throw R(new hu);return this.Xb(--this.b)},s.Vb=function(){return this.b-1},s.b=0,s.c=0,v(dn,"AbstractIndexedListIterator",392),m(702,204,L8),s.Ob=function(){return PY(this)},s.Pb=function(){return vhe(this)},s.e=1,v(dn,"AbstractIterator",702),m(2046,1,{229:1}),s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.Fb=function(n){return rQ(this,n)},s.Hb=function(){return Ni(this.Zb())},s.dc=function(){return this.gc()==0},s.ec=function(){return T4(this)},s.Ib=function(){return fu(this.Zb())},v(dn,"AbstractMultimap",2046),m(730,2046,ag),s.$b=function(){yB(this)},s._b=function(n){return jAe(this,n)},s.ac=function(){return new p9(this,this.c)},s.ic=function(n){return this.hc()},s.bc=function(){return new Hv(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new Gxe(this)},s.lc=function(){return aW(this.c.vc().Lc(),new Z,64,this.d)},s.cc=function(n){return vi(this,n)},s.fc=function(n){return AO(this,n)},s.gc=function(){return this.d},s.mc=function(n){return En(),new Hr(n)},s.nc=function(){return new Hxe(this)},s.oc=function(){return aW(this.c.Bc().Lc(),new ie,64,this.d)},s.pc=function(n,t){return new nB(this,n,t,null)},s.d=0,v(dn,"AbstractMapBasedMultimap",730),m(1661,730,ag),s.hc=function(){return new xo(this.a)},s.jc=function(){return En(),En(),Sc},s.cc=function(n){return u(vi(this,n),16)},s.fc=function(n){return u(AO(this,n),16)},s.Zb=function(){return L4(this)},s.Fb=function(n){return rQ(this,n)},s.qc=function(n){return u(vi(this,n),16)},s.rc=function(n){return u(AO(this,n),16)},s.mc=function(n){return IR(u(n,16))},s.pc=function(n,t){return ZLe(this,n,u(t,16),null)},v(dn,"AbstractListMultimap",1661),m(736,1,Fr),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var n;return this.e.Ob()||(n=u(this.c.Pb(),45),this.b=n.jd(),this.a=u(n.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),u(uf(this.a),18).dc()&&this.c.Qb(),--this.d.d},v(dn,"AbstractMapBasedMultimap/Itr",736),m(1098,736,Fr,Hxe),s.sc=function(n,t){return t},v(dn,"AbstractMapBasedMultimap/1",1098),m(1099,1,{},ie),s.Kb=function(n){return u(n,18).Lc()},v(dn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1099),m(1100,736,Fr,Gxe),s.sc=function(n,t){return new pw(n,t)},v(dn,"AbstractMapBasedMultimap/2",1100);var pme=Gi(pt,"Map");m(2027,1,Ww),s.wc=function(n){wO(this,n)},s.$b=function(){this.vc().$b()},s.tc=function(n){return XQ(this,n)},s._b=function(n){return!!l0e(this,n,!1)},s.uc=function(n){var t,i,r;for(i=this.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),r=t.kd(),ue(n)===ue(r)||n!=null&&gi(n,r))return!0;return!1},s.Fb=function(n){var t,i,r;if(n===this)return!0;if(!X(n,92)||(r=u(n,92),this.gc()!=r.gc()))return!1;for(i=r.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),!this.tc(t))return!1;return!0},s.xc=function(n){return bu(l0e(this,n,!1))},s.Hb=function(){return a1e(this.vc())},s.dc=function(){return this.gc()==0},s.ec=function(){return new it(this)},s.yc=function(n,t){throw R(new pd("Put not supported on this map"))},s.zc=function(n){AE(this,n)},s.Ac=function(n){return bu(l0e(this,n,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return sGe(this)},s.Bc=function(){return new ot(this)},v(pt,"AbstractMap",2027),m(2047,2027,Ww),s.bc=function(){return new QP(this)},s.vc=function(){return FIe(this)},s.ec=function(){var n;return n=this.g,n||(this.g=this.bc())},s.Bc=function(){var n;return n=this.i,n||(this.i=new dMe(this))},v(dn,"Maps/ViewCachingAbstractMap",2047),m(395,2047,Ww,p9),s.xc=function(n){return k8n(this,n)},s.Ac=function(n){return Ikn(this,n)},s.$b=function(){this.d==this.e.c?this.e.$b():sR(new yfe(this))},s._b=function(n){return kFe(this.d,n)},s.Dc=function(){return new gP(this)},s.Cc=function(){return this.Dc()},s.Fb=function(n){return this===n||gi(this.d,n)},s.Hb=function(){return Ni(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return fu(this.d)},v(dn,"AbstractMapBasedMultimap/AsMap",395);var Xl=Gi(Cu,"Iterable");m(31,1,im),s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new mn(null,this.Lc())},s.Ec=function(n){throw R(new pd("Add not supported on this collection"))},s.Fc=function(n){return ac(this,n)},s.$b=function(){rae(this)},s.Gc=function(n){return H2(this,n,!1)},s.Hc=function(n){return jO(this,n)},s.dc=function(){return this.gc()==0},s.Kc=function(n){return H2(this,n,!0)},s.Nc=function(){return Ofe(this)},s.Oc=function(n){return qE(this,n)},s.Ib=function(){return Ja(this)},v(pt,"AbstractCollection",31);var bf=Gi(pt,"Set");m(Ga,31,fs),s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return EJe(this,n)},s.Hb=function(){return a1e(this)},v(pt,"AbstractSet",Ga),m(2030,Ga,fs),v(dn,"Sets/ImprovedAbstractSet",2030),m(2031,2030,fs),s.$b=function(){this.Pc().$b()},s.Gc=function(n){return rJe(this,n)},s.dc=function(){return this.Pc().dc()},s.Kc=function(n){var t;return this.Gc(n)&&X(n,45)?(t=u(n,45),this.Pc().ec().Kc(t.jd())):!1},s.gc=function(){return this.Pc().gc()},v(dn,"Maps/EntrySet",2031),m(1096,2031,fs,gP),s.Gc=function(n){return $1e(this.a.d.vc(),n)},s.Jc=function(){return new yfe(this.a)},s.Pc=function(){return this.a},s.Kc=function(n){var t;return $1e(this.a.d.vc(),n)?(t=u(uf(u(n,45)),45),c9n(this.a.e,t.jd()),!0):!1},s.Lc=function(){return DT(this.a.d.vc().Lc(),new wP(this.a))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1096),m(1097,1,{},wP),s.Kb=function(n){return PPe(this.a,u(n,45))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1097),m(734,1,Fr,yfe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){var n;return n=u(this.b.Pb(),45),this.a=u(n.kd(),18),PPe(this.c,n)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){M9(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",734),m(530,2030,fs,QP),s.$b=function(){this.b.$b()},s.Gc=function(n){return this.b._b(n)},s.Ic=function(n){Nt(n),this.b.wc(new uj(n))},s.dc=function(){return this.b.dc()},s.Jc=function(){return new yj(this.b.vc().Jc())},s.Kc=function(n){return this.b._b(n)?(this.b.Ac(n),!0):!1},s.gc=function(){return this.b.gc()},v(dn,"Maps/KeySet",530),m(332,530,fs,Hv),s.$b=function(){var n;sR((n=this.b.vc().Jc(),new Uoe(this,n)))},s.Hc=function(n){return this.b.ec().Hc(n)},s.Fb=function(n){return this===n||gi(this.b.ec(),n)},s.Hb=function(){return Ni(this.b.ec())},s.Jc=function(){var n;return n=this.b.vc().Jc(),new Uoe(this,n)},s.Kc=function(n){var t,i;return i=0,t=u(this.b.Ac(n),18),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/KeySet",332),m(735,1,Fr,Uoe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),45),this.a.jd()},s.Qb=function(){var n;M9(!!this.a),n=u(this.a.kd(),18),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/KeySet/1",735),m(489,395,{92:1,134:1},AT),s.bc=function(){return this.Qc()},s.ec=function(){return this.Sc()},s.Qc=function(){return new eT(this.c,this.Uc())},s.Rc=function(){return this.Uc().Rc()},s.Sc=function(){var n;return n=this.b,n||(this.b=this.Qc())},s.Tc=function(){return this.Uc().Tc()},s.Uc=function(){return u(this.d,134)},v(dn,"AbstractMapBasedMultimap/SortedAsMap",489),m(437,489,$ge,eE),s.bc=function(){return new m9(this.a,u(u(this.d,134),138))},s.Qc=function(){return new m9(this.a,u(u(this.d,134),138))},s.ec=function(){var n;return n=this.b,u(n||(this.b=new m9(this.a,u(u(this.d,134),138))),277)},s.Sc=function(){var n;return n=this.b,u(n||(this.b=new m9(this.a,u(u(this.d,134),138))),277)},s.Uc=function(){return u(u(this.d,134),138)},s.Vc=function(n){return u(u(this.d,134),138).Vc(n)},s.Wc=function(n){return u(u(this.d,134),138).Wc(n)},s.Xc=function(n,t){return new eE(this.a,u(u(this.d,134),138).Xc(n,t))},s.Yc=function(n){return u(u(this.d,134),138).Yc(n)},s.Zc=function(n){return u(u(this.d,134),138).Zc(n)},s.$c=function(n,t){return new eE(this.a,u(u(this.d,134),138).$c(n,t))},v(dn,"AbstractMapBasedMultimap/NavigableAsMap",437),m(488,332,fYe,eT),s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/SortedKeySet",488),m(394,488,Rge,m9),v(dn,"AbstractMapBasedMultimap/NavigableKeySet",394),m(539,31,im,nB),s.Ec=function(n){var t,i;return Is(this),i=this.d.dc(),t=this.d.Ec(n),t&&(++this.f.d,i&&OT(this)),t},s.Fc=function(n){var t,i,r;return n.dc()?!1:(r=(Is(this),this.d.gc()),t=this.d.Fc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&OT(this)),t)},s.$b=function(){var n;n=(Is(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,bR(this))},s.Gc=function(n){return Is(this),this.d.Gc(n)},s.Hc=function(n){return Is(this),this.d.Hc(n)},s.Fb=function(n){return n===this?!0:(Is(this),gi(this.d,n))},s.Hb=function(){return Is(this),Ni(this.d)},s.Jc=function(){return Is(this),new rfe(this)},s.Kc=function(n){var t;return Is(this),t=this.d.Kc(n),t&&(--this.f.d,bR(this)),t},s.gc=function(){return iTe(this)},s.Lc=function(){return Is(this),this.d.Lc()},s.Ib=function(){return Is(this),fu(this.d)},v(dn,"AbstractMapBasedMultimap/WrappedCollection",539);var gl=Gi(pt,"List");m(732,539,{20:1,31:1,18:1,16:1},Nfe),s.gd=function(n){Zb(this,n)},s.Lc=function(){return Is(this),this.d.Lc()},s._c=function(n,t){var i;Is(this),i=this.d.dc(),u(this.d,16)._c(n,t),++this.a.d,i&&OT(this)},s.ad=function(n,t){var i,r,c;return t.dc()?!1:(c=(Is(this),this.d.gc()),i=u(this.d,16).ad(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&OT(this)),i)},s.Xb=function(n){return Is(this),u(this.d,16).Xb(n)},s.bd=function(n){return Is(this),u(this.d,16).bd(n)},s.cd=function(){return Is(this),new _Te(this)},s.dd=function(n){return Is(this),new e_e(this,n)},s.ed=function(n){var t;return Is(this),t=u(this.d,16).ed(n),--this.a.d,bR(this),t},s.fd=function(n,t){return Is(this),u(this.d,16).fd(n,t)},s.hd=function(n,t){return Is(this),ZLe(this.a,this.e,u(this.d,16).hd(n,t),this.b?this.b:this)},v(dn,"AbstractMapBasedMultimap/WrappedList",732),m(1095,732,{20:1,31:1,18:1,16:1,59:1},jOe),v(dn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1095),m(619,1,Fr,rfe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return R9(this),this.b.Ob()},s.Pb=function(){return R9(this),this.b.Pb()},s.Qb=function(){cOe(this)},v(dn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",619),m(733,619,Wh,_Te,e_e),s.Qb=function(){cOe(this)},s.Rb=function(n){var t;t=iTe(this.a)==0,(R9(this),u(this.b,128)).Rb(n),++this.a.a.d,t&&OT(this.a)},s.Sb=function(){return(R9(this),u(this.b,128)).Sb()},s.Tb=function(){return(R9(this),u(this.b,128)).Tb()},s.Ub=function(){return(R9(this),u(this.b,128)).Ub()},s.Vb=function(){return(R9(this),u(this.b,128)).Vb()},s.Wb=function(n){(R9(this),u(this.b,128)).Wb(n)},v(dn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",733),m(731,539,fYe,Sle),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSortedSet",731),m(1094,731,Rge,TTe),v(dn,"AbstractMapBasedMultimap/WrappedNavigableSet",1094),m(1093,539,fs,KOe),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSet",1093),m(1102,1,{},Z),s.Kb=function(n){return g9n(u(n,45))},v(dn,"AbstractMapBasedMultimap/lambda$1$Type",1102),m(1101,1,{},n9),s.Kb=function(n){return new pw(this.a,n)},v(dn,"AbstractMapBasedMultimap/lambda$2$Type",1101);var yg=Gi(pt,"Map/Entry");m(358,1,dZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),C1(this.jd(),t.jd())&&C1(this.kd(),t.kd())):!1},s.Hb=function(){var n,t;return n=this.jd(),t=this.kd(),(n==null?0:Ni(n))^(t==null?0:Ni(t))},s.ld=function(n){throw R(new _t)},s.Ib=function(){return this.jd()+"="+this.kd()},v(dn,aYe,358),m(V0,31,im),s.$b=function(){this.md().$b()},s.Gc=function(n){var t;return X(n,45)?(t=u(n,45),$yn(this.md(),t.jd(),t.kd())):!1},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),RLe(this.md(),t.jd(),t.kd())):!1},s.gc=function(){return this.md().d},v(dn,"Multimaps/Entries",V0),m(737,V0,im,E1),s.Jc=function(){return this.a.kc()},s.md=function(){return this.a},s.Lc=function(){return this.a.lc()},v(dn,"AbstractMultimap/Entries",737),m(738,737,fs,xoe),s.Lc=function(){return this.a.lc()},s.Fb=function(n){return T0e(this,n)},s.Hb=function(){return JBe(this)},v(dn,"AbstractMultimap/EntrySet",738),m(739,31,im,_C),s.$b=function(){this.a.$b()},s.Gc=function(n){return Ckn(this.a,n)},s.Jc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Lc=function(){return this.a.oc()},v(dn,"AbstractMultimap/Values",739),m(2049,31,{833:1,20:1,31:1,18:1}),s.Ic=function(n){Nt(n),qv(this).Ic(new YU(n))},s.Lc=function(){var n;return n=qv(this).Lc(),aW(n,new Ne,64|n.wd()&1296,this.a.d)},s.Ec=function(n){return Noe(),!0},s.Fc=function(n){return Nt(this),Nt(n),X(n,540)?qyn(u(n,833)):!n.dc()&&MY(this,n.Jc())},s.Gc=function(n){var t;return t=u(J2(L4(this.a),n),18),(t?t.gc():0)>0},s.Fb=function(n){return jOn(this,n)},s.Hb=function(){return Ni(qv(this))},s.dc=function(){return qv(this).dc()},s.Kc=function(n){return Sqe(this,n,1)>0},s.Ib=function(){return fu(qv(this))},v(dn,"AbstractMultiset",2049),m(2051,2030,fs),s.$b=function(){yB(this.a.a)},s.Gc=function(n){var t,i;return X(n,490)?(i=u(n,416),u(i.a.kd(),18).gc()<=0?!1:(t=uLe(this.a,i.a.jd()),t==u(i.a.kd(),18).gc())):!1},s.Kc=function(n){var t,i,r,c;return X(n,490)&&(i=u(n,416),t=i.a.jd(),r=u(i.a.kd(),18).gc(),r!=0)?(c=this.a,yTn(c,t,r)):!1},v(dn,"Multisets/EntrySet",2051),m(1108,2051,fs,cj),s.Jc=function(){return new Vxe(FIe(L4(this.a.a)).Jc())},s.gc=function(){return L4(this.a.a).gc()},v(dn,"AbstractMultiset/EntrySet",1108),m(618,730,ag),s.hc=function(){return this.nd()},s.jc=function(){return this.od()},s.cc=function(n){return this.pd(n)},s.fc=function(n){return this.qd(n)},s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.od=function(){return En(),En(),bJ},s.Fb=function(n){return rQ(this,n)},s.pd=function(n){return u(vi(this,n),22)},s.qd=function(n){return u(AO(this,n),22)},s.mc=function(n){return En(),new h9(u(n,22))},s.pc=function(n,t){return new KOe(this,n,u(t,22))},v(dn,"AbstractSetMultimap",618),m(1689,618,ag),s.hc=function(){return new kd(this.b)},s.nd=function(){return new kd(this.b)},s.jc=function(){return Ufe(new kd(this.b))},s.od=function(){return Ufe(new kd(this.b))},s.cc=function(n){return u(u(vi(this,n),22),83)},s.pd=function(n){return u(u(vi(this,n),22),83)},s.fc=function(n){return u(u(AO(this,n),22),83)},s.qd=function(n){return u(u(AO(this,n),22),83)},s.mc=function(n){return X(n,277)?Ufe(u(n,277)):(En(),new ole(u(n,83)))},s.Zb=function(){var n;return n=this.f,n||(this.f=X(this.c,138)?new eE(this,u(this.c,138)):X(this.c,134)?new AT(this,u(this.c,134)):new p9(this,this.c))},s.pc=function(n,t){return X(t,277)?new TTe(this,n,u(t,277)):new Sle(this,n,u(t,83))},v(dn,"AbstractSortedSetMultimap",1689),m(1690,1689,ag),s.Zb=function(){var n;return n=this.f,u(u(n||(this.f=X(this.c,138)?new eE(this,u(this.c,138)):X(this.c,134)?new AT(this,u(this.c,134)):new p9(this,this.c)),134),138)},s.ec=function(){var n;return n=this.i,u(u(n||(this.i=X(this.c,138)?new m9(this,u(this.c,138)):X(this.c,134)?new eT(this,u(this.c,134)):new Hv(this,this.c)),83),277)},s.bc=function(){return X(this.c,138)?new m9(this,u(this.c,138)):X(this.c,134)?new eT(this,u(this.c,134)):new Hv(this,this.c)},v(dn,"AbstractSortedKeySortedSetMultimap",1690),m(2071,1,{2008:1}),s.Fb=function(n){return aAn(this,n)},s.Hb=function(){var n;return a1e((n=this.g,n||(this.g=new p0(this))))},s.Ib=function(){var n;return sGe((n=this.f,n||(this.f=new ele(this))))},v(dn,"AbstractTable",2071),m(669,Ga,fs,p0),s.$b=function(){uAe()},s.Gc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(J2(aDe(this.a),x0(t.c.e,t.b)),92),!!i&&$1e(i.vc(),new pw(x0(t.c.c,t.a),F4(t.c,t.b,t.a)))):!1},s.Jc=function(){return G5n(this.a)},s.Kc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(J2(aDe(this.a),x0(t.c.e,t.b)),92),!!i&&Wkn(i.vc(),new pw(x0(t.c.c,t.a),F4(t.c,t.b,t.a)))):!1},s.gc=function(){return pIe(this.a)},s.Lc=function(){return Xyn(this.a)},v(dn,"AbstractTable/CellSet",669),m(1987,31,im,JU),s.$b=function(){uAe()},s.Gc=function(n){return nMn(this.a,n)},s.Jc=function(){return q5n(this.a)},s.gc=function(){return pIe(this.a)},s.Lc=function(){return NLe(this.a)},v(dn,"AbstractTable/Values",1987),m(1662,1661,ag),v(dn,"ArrayListMultimapGwtSerializationDependencies",1662),m(506,1662,ag,NX,Sae),s.hc=function(){return new xo(this.a)},s.a=0,v(dn,"ArrayListMultimap",506),m(668,2071,{668:1,2008:1,3:1},Eqe),v(dn,"ArrayTable",668),m(1983,392,P8,tOe),s.Xb=function(n){return new w1e(this.a,n)},v(dn,"ArrayTable/1",1983),m(1984,1,{},HU),s.rd=function(n){return new w1e(this.a,n)},v(dn,"ArrayTable/1methodref$getCell$Type",1984),m(2072,1,{687:1}),s.Fb=function(n){var t;return n===this?!0:X(n,468)?(t=u(n,687),C1(x0(this.c.e,this.b),x0(t.c.e,t.b))&&C1(x0(this.c.c,this.a),x0(t.c.c,t.a))&&C1(F4(this.c,this.b,this.a),F4(t.c,t.b,t.a))):!1},s.Hb=function(){return zB(F(z(Mr,1),Nn,1,5,[x0(this.c.e,this.b),x0(this.c.c,this.a),F4(this.c,this.b,this.a)]))},s.Ib=function(){return"("+x0(this.c.e,this.b)+","+x0(this.c.c,this.a)+")="+F4(this.c,this.b,this.a)},v(dn,"Tables/AbstractCell",2072),m(468,2072,{468:1,687:1},w1e),s.a=0,s.b=0,s.d=0,v(dn,"ArrayTable/2",468),m(1986,1,{},W5),s.rd=function(n){return F$e(this.a,n)},v(dn,"ArrayTable/2methodref$getValue$Type",1986),m(1985,392,P8,iOe),s.Xb=function(n){return F$e(this.a,n)},v(dn,"ArrayTable/3",1985),m(2039,2027,Ww),s.$b=function(){sR(this.kc())},s.vc=function(){return new oj(this)},s.lc=function(){return new GDe(this.kc(),this.gc())},v(dn,"Maps/IteratorBasedAbstractMap",2039),m(826,2039,Ww),s.$b=function(){throw R(new _t)},s._b=function(n){return EAe(this.c,n)},s.kc=function(){return new rOe(this,this.c.b.c.gc())},s.lc=function(){return rV(this.c.b.c.gc(),16,new pP(this))},s.xc=function(n){var t;return t=u(nE(this.c,n),15),t?this.td(t.a):null},s.dc=function(){return this.c.b.c.dc()},s.ec=function(){return dV(this.c)},s.yc=function(n,t){var i;if(i=u(nE(this.c,n),15),!i)throw R(new Un(this.sd()+" "+n+" not in "+dV(this.c)));return this.ud(i.a,t)},s.Ac=function(n){throw R(new _t)},s.gc=function(){return this.c.b.c.gc()},v(dn,"ArrayTable/ArrayMap",826),m(1982,1,{},pP),s.rd=function(n){return bDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1982),m(1980,358,dZ,QAe),s.jd=function(){return bpn(this.a,this.b)},s.kd=function(){return this.a.td(this.b)},s.ld=function(n){return this.a.ud(this.b,n)},s.b=0,v(dn,"ArrayTable/ArrayMap/1",1980),m(1981,392,P8,rOe),s.Xb=function(n){return bDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/2",1981),m(1979,826,Ww,tDe),s.sd=function(){return"Column"},s.td=function(n){return F4(this.b,this.a,n)},s.ud=function(n,t){return Eze(this.b,this.a,n,t)},s.a=0,v(dn,"ArrayTable/Row",1979),m(827,826,Ww,ele),s.td=function(n){return new tDe(this.a,n)},s.yc=function(n,t){return u(t,92),$bn()},s.ud=function(n,t){return u(t,92),Rbn()},s.sd=function(){return"Row"},v(dn,"ArrayTable/RowMap",827),m(1126,1,dl,WAe),s.yd=function(n){return(this.a.wd()&-262&n)!=0},s.wd=function(){return this.a.wd()&-262},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Nb(new eMe(n,this.b))},s.zd=function(n){return this.a.zd(new ZAe(n,this.b))},v(dn,"CollectSpliterators/1",1126),m(1127,1,ut,ZAe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$0$Type",1127),m(1128,1,ut,eMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$1$Type",1128),m(1123,1,dl,ENe),s.yd=function(n){return((16464|this.b)&n)!=0},s.wd=function(){return 16464|this.b},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Oe(new tMe(n,this.c))},s.zd=function(n){return this.a.Pe(new nMe(n,this.c))},s.b=0,v(dn,"CollectSpliterators/1WithCharacteristics",1123),m(1124,1,dN,nMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1124),m(1125,1,dN,tMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1125),m(1119,1,dl),s.yd=function(n){return(this.a&n)!=0},s.wd=function(){return this.a},s.xd=function(){return this.e&&(this.b=Gse(this.b,this.e.xd())),Gse(this.b,0)},s.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new iMe(this,n)),this.b=0},s.zd=function(n){for(;;){if(this.e&&this.e.zd(n))return qj(this.b,bN)&&(this.b=lf(this.b,1)),!0;if(this.e=null,!this.c.zd(new Z5(this)))return!1}},s.a=0,s.b=0,v(dn,"CollectSpliterators/FlatMapSpliterator",1119),m(1121,1,ut,Z5),s.Ad=function(n){s2n(this.a,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1121),m(1122,1,ut,iMe),s.Ad=function(n){y5n(this.a,this.b,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1122),m(1120,1119,dl,lPe),v(dn,"CollectSpliterators/FlatMapSpliteratorOfObject",1120),m(254,1,bZ),s.Dd=function(n){return this.Cd(u(n,254))},s.Cd=function(n){var t;return n==(SX(),Qne)?1:n==(EX(),Yne)?-1:(t=(tR(),gO(this.a,n.a)),t!=0?t:($n(),X(this,513)==X(n,513)?0:X(this,513)?1:-1))},s.Gd=function(){return this.a},s.Fb=function(n){return Lde(this,n)},v(dn,"Cut",254),m(1793,254,bZ,Jxe),s.Cd=function(n){return n==this?0:1},s.Ed=function(n){throw R(new loe)},s.Fd=function(n){n.a+="+∞)"},s.Gd=function(){throw R(new Uc(dYe))},s.Hb=function(){return jd(),jde(this)},s.Hd=function(n){return!1},s.Ib=function(){return"+∞"};var Yne;v(dn,"Cut/AboveAll",1793),m(513,254,{254:1,513:1,3:1,35:1},sOe),s.Ed=function(n){uo((n.a+="(",n),this.a)},s.Fd=function(n){qb(uo(n,this.a),93)},s.Hb=function(){return~Ni(this.a)},s.Hd=function(n){return tR(),gO(this.a,n)<0},s.Ib=function(){return"/"+this.a+"\\"},v(dn,"Cut/AboveValue",513),m(1792,254,bZ,Fxe),s.Cd=function(n){return n==this?0:-1},s.Ed=function(n){n.a+="(-∞"},s.Fd=function(n){throw R(new loe)},s.Gd=function(){throw R(new Uc(dYe))},s.Hb=function(){return jd(),jde(this)},s.Hd=function(n){return!0},s.Ib=function(){return"-∞"};var Qne;v(dn,"Cut/BelowAll",1792),m(1794,254,bZ,lOe),s.Ed=function(n){uo((n.a+="[",n),this.a)},s.Fd=function(n){qb(uo(n,this.a),41)},s.Hb=function(){return Ni(this.a)},s.Hd=function(n){return tR(),gO(this.a,n)<=0},s.Ib=function(){return"\\"+this.a+"/"},v(dn,"Cut/BelowValue",1794),m(535,1,Zh),s.Ic=function(n){cc(this,n)},s.Ib=function(){return Cjn(u(NR(this,"use Optional.orNull() instead of Optional.or(null)"),20).Jc())},v(dn,"FluentIterable",535),m(433,535,Zh,Kj),s.Jc=function(){return new Xn(Qn(this.a.Jc(),new ee))},v(dn,"FluentIterable/2",433),m(36,1,{},ee),s.Kb=function(n){return u(n,20).Jc()},s.Fb=function(n){return this===n},v(dn,"FluentIterable/2/0methodref$iterator$Type",36),m(1040,535,Zh,ETe),s.Jc=function(){return Uh(this)},v(dn,"FluentIterable/3",1040),m(714,392,P8,sle),s.Xb=function(n){return this.a[n].Jc()},v(dn,"FluentIterable/3/1",714),m(2032,1,{}),s.Ib=function(){return fu(this.Id().b)},v(dn,"ForwardingObject",2032),m(2033,2032,bYe),s.Id=function(){return this.Jd()},s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new mn(null,this.Lc())},s.Ec=function(n){return this.Jd(),MAe()},s.Fc=function(n){return this.Jd(),CAe()},s.$b=function(){this.Jd(),TAe()},s.Gc=function(n){return this.Jd().Gc(n)},s.Hc=function(n){return this.Jd().Hc(n)},s.dc=function(){return this.Jd().b.dc()},s.Jc=function(){return this.Jd().Jc()},s.Kc=function(n){return this.Jd(),OAe()},s.gc=function(){return this.Jd().b.gc()},s.Nc=function(){return this.Jd().Nc()},s.Oc=function(n){return this.Jd().Oc(n)},v(dn,"ForwardingCollection",2033),m(2040,31,Bge),s.Jc=function(){return this.Md()},s.Ec=function(n){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.Kd=function(){var n;return n=this.c,n||(this.c=this.Ld())},s.$b=function(){throw R(new _t)},s.Gc=function(n){return n!=null&&H2(this,n,!1)},s.Ld=function(){switch(this.gc()){case 0:return oR(),ete;case 1:return new GK(Nt(this.Md().Pb()));default:return new cfe(this,this.Nc())}},s.Kc=function(n){throw R(new _t)},v(dn,"ImmutableCollection",2040),m(1259,2040,Bge,vP),s.Jc=function(){return J4(new ic(this.a.b.Jc()))},s.Gc=function(n){return n!=null&&xj(this.a,n)},s.Hc=function(n){return Koe(this.a,n)},s.dc=function(){return this.a.b.dc()},s.Md=function(){return J4(new ic(this.a.b.Jc()))},s.gc=function(){return this.a.b.gc()},s.Nc=function(){return this.a.b.Nc()},s.Oc=function(n){return Voe(this.a,n)},s.Ib=function(){return fu(this.a.b)},v(dn,"ForwardingImmutableCollection",1259),m(311,2040,$8),s.Jc=function(){return this.Md()},s.cd=function(){return this.Nd(0)},s.dd=function(n){return this.Nd(n)},s.gd=function(n){Zb(this,n)},s.Lc=function(){return new yn(this,16)},s.hd=function(n,t){return this.Od(n,t)},s._c=function(n,t){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Kd=function(){return this},s.Fb=function(n){return hOn(this,n)},s.Hb=function(){return B7n(this)},s.bd=function(n){return n==null?-1:USn(this,n)},s.Md=function(){return this.Nd(0)},s.Nd=function(n){return PK(this,n)},s.ed=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},s.Od=function(n,t){var i;return XB((i=new aMe(this),new N0(i,n,t)))},v(dn,"ImmutableList",311),m(2067,311,$8),s.Jc=function(){return J4(this.Pd().Jc())},s.hd=function(n,t){return XB(this.Pd().hd(n,t))},s.Gc=function(n){return n!=null&&this.Pd().Gc(n)},s.Hc=function(n){return this.Pd().Hc(n)},s.Fb=function(n){return gi(this.Pd(),n)},s.Xb=function(n){return x0(this,n)},s.Hb=function(){return Ni(this.Pd())},s.bd=function(n){return this.Pd().bd(n)},s.dc=function(){return this.Pd().dc()},s.Md=function(){return J4(this.Pd().Jc())},s.gc=function(){return this.Pd().gc()},s.Od=function(n,t){return XB(this.Pd().hd(n,t))},s.Nc=function(){return this.Pd().Oc(le(Mr,Nn,1,this.Pd().gc(),5,1))},s.Oc=function(n){return this.Pd().Oc(n)},s.Ib=function(){return fu(this.Pd())},v(dn,"ForwardingImmutableList",2067),m(717,1,R8),s.vc=function(){return Fb(this)},s.wc=function(n){wO(this,n)},s.ec=function(){return dV(this)},s.Bc=function(){return this.Td()},s.$b=function(){throw R(new _t)},s._b=function(n){return this.xc(n)!=null},s.uc=function(n){return this.Td().Gc(n)},s.Rd=function(){return new UU(this)},s.Sd=function(){return new XU(this)},s.Fb=function(n){return Tkn(this,n)},s.Hb=function(){return Fb(this).Hb()},s.dc=function(){return this.gc()==0},s.yc=function(n,t){return Bbn()},s.Ac=function(n){throw R(new _t)},s.Ib=function(){return VMn(this)},s.Td=function(){return this.e?this.e:this.e=this.Sd()},s.c=null,s.d=null,s.e=null,v(dn,"ImmutableMap",717),m(718,717,R8),s._b=function(n){return EAe(this,n)},s.uc=function(n){return mMe(this.b,n)},s.Qd=function(){return uFe(new mP(this))},s.Rd=function(){return uFe(PDe(this.b))},s.Sd=function(){return new vP($De(this.b))},s.Fb=function(n){return yMe(this.b,n)},s.xc=function(n){return nE(this,n)},s.Hb=function(){return Ni(this.b.c)},s.dc=function(){return this.b.c.dc()},s.gc=function(){return this.b.c.gc()},s.Ib=function(){return fu(this.b.c)},v(dn,"ForwardingImmutableMap",718),m(2034,2033,gZ),s.Id=function(){return this.Ud()},s.Jd=function(){return this.Ud()},s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return n===this||this.Ud().Fb(n)},s.Hb=function(){return this.Ud().Hb()},v(dn,"ForwardingSet",2034),m(1055,2034,gZ,mP),s.Id=function(){return P9(this.a.b)},s.Jd=function(){return P9(this.a.b)},s.Gc=function(n){if(X(n,45)&&u(n,45).jd()==null)return!1;try{return vMe(P9(this.a.b),n)}catch(t){if(t=sr(t),X(t,211))return!1;throw R(t)}},s.Ud=function(){return P9(this.a.b)},s.Oc=function(n){var t,i;return t=j_e(P9(this.a.b),n),P9(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=_$(k.Math.abs(i)%60),(yGe(),lnn)[this.q.getDay()]+" "+fnn[this.q.getMonth()]+" "+_$(this.q.getDate())+" "+_$(this.q.getHours())+":"+_$(this.q.getMinutes())+":"+_$(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var aJ=v(pt,"Date",205);m(1977,205,EYe,FHe),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,v("com.google.gwt.i18n.shared.impl","DateRecord",1977),m(2026,1,{}),s.ne=function(){return null},s.oe=function(){return null},s.pe=function(){return null},s.qe=function(){return null},s.re=function(){return null},v(hy,"JSONValue",2026),m(139,2026,{139:1},wd,i9),s.Fb=function(n){return X(n,139)?Mae(this.a,u(n,139).a):!1},s.me=function(){return cbn},s.Hb=function(){return aae(this.a)},s.ne=function(){return this},s.Ib=function(){var n,t,i;for(i=new tl("["),t=0,n=this.a.length;t0&&(i.a+=","),uo(i,L2(this,t));return i.a+="]",i.a},v(hy,"JSONArray",139),m(479,2026,{479:1},r9),s.me=function(){return ubn},s.oe=function(){return this},s.Ib=function(){return $n(),""+this.a},s.a=!1;var Qen,Wen;v(hy,"JSONBoolean",479),m(981,63,H1,Yxe),v(hy,"JSONException",981),m(1017,2026,{},tt),s.me=function(){return fbn},s.Ib=function(){return Vo};var Zen;v(hy,"JSONNull",1017),m(265,2026,{265:1},Av),s.Fb=function(n){return X(n,265)?this.a==u(n,265).a:!1},s.me=function(){return obn},s.Hb=function(){return v4(this.a)},s.pe=function(){return this},s.Ib=function(){return this.a+""},s.a=0,v(hy,"JSONNumber",265),m(149,2026,{149:1},l4,c9),s.Fb=function(n){return X(n,149)?Mae(this.a,u(n,149).a):!1},s.me=function(){return sbn},s.Hb=function(){return aae(this.a)},s.qe=function(){return this},s.Ib=function(){var n,t,i,r,c,o,l;for(l=new tl("{"),n=!0,o=zY(this,le(He,Ae,2,0,6,1)),i=o,r=0,c=i.length;r=0?":"+this.c:"")+")"},s.c=0;var _me=v(Cu,"StackTraceElement",324);Hen={3:1,472:1,35:1,2:1};var He=v(Cu,zge,2);m(111,418,{472:1},vd,Ej,cf),v(Cu,"StringBuffer",111),m(106,418,{472:1},y0,h4,tl),v(Cu,"StringBuilder",106),m(691,99,cF,Ioe),v(Cu,"StringIndexOutOfBoundsException",691),m(2107,1,{});var inn;m(46,63,{3:1,101:1,63:1,80:1,46:1},_t,pd),v(Cu,"UnsupportedOperationException",46),m(247,242,{3:1,35:1,242:1,247:1},TO,Joe),s.Dd=function(n){return yKe(this,u(n,247))},s.se=function(){return K2(XKe(this))},s.Fb=function(n){var t;return this===n?!0:X(n,247)?(t=u(n,247),this.e==t.e&&yKe(this,t)==0):!1},s.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=Lu(this.f),this.b=Rt(Rr(n,-1)),this.b=33*this.b+Rt(Rr(Sw(n,32),-1)),this.b=17*this.b+lc(this.e),this.b):(this.b=17*pFe(this.c)+lc(this.e),this.b)},s.Ib=function(){return XKe(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var rnn,kg,Lme,Pme,$me,Rme,Bme,zme,ute=v("java.math","BigDecimal",247);m(91,242,{3:1,35:1,242:1,91:1},I1,dLe,Gb,AJe,A0),s.Dd=function(n){return kJe(this,u(n,91))},s.se=function(){return K2(fZ(this,0))},s.Fb=function(n){return ude(this,n)},s.Hb=function(){return pFe(this)},s.Ib=function(){return fZ(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var cnn,hJ,unn,ote,dJ,VS,T3=v("java.math","BigInteger",91),onn,snn,Ey,YS;m(484,2027,Ww),s.$b=function(){Hu(this)},s._b=function(n){return so(this,n)},s.uc=function(n){return nFe(this,n,this.i)||nFe(this,n,this.f)},s.vc=function(){return new sn(this)},s.xc=function(n){return zn(this,n)},s.yc=function(n,t){return ei(this,n,t)},s.Ac=function(n){return z4(this,n)},s.gc=function(){return Aj(this)},s.g=0,v(pt,"AbstractHashMap",484),m(306,Ga,fs,sn),s.$b=function(){this.a.$b()},s.Gc=function(n){return HLe(this,n)},s.Jc=function(){return new B2(this.a)},s.Kc=function(n){var t;return HLe(this,n)?(t=u(n,45).jd(),this.a.Ac(t),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractHashMap/EntrySet",306),m(307,1,Fr,B2),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return t3(this)},s.Ob=function(){return this.b},s.Qb=function(){wRe(this)},s.b=!1,s.d=0,v(pt,"AbstractHashMap/EntrySetIterator",307),m(417,1,Fr,qc),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this)},s.Pb=function(){return oae(this)},s.Qb=function(){As(this)},s.b=0,s.c=-1,v(pt,"AbstractList/IteratorImpl",417),m(97,417,Wh,qr),s.Qb=function(){As(this)},s.Rb=function(n){y2(this,n)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return at(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(n){w2(this.c!=-1),this.a.fd(this.c,n)},v(pt,"AbstractList/ListIteratorImpl",97),m(258,56,B8,N0),s._c=function(n,t){N2(n,this.b),this.c._c(this.a+n,t),++this.b},s.Xb=function(n){return kn(n,this.b),this.c.Xb(this.a+n)},s.ed=function(n){var t;return kn(n,this.b),t=this.c.ed(this.a+n),--this.b,t},s.fd=function(n,t){return kn(n,this.b),this.c.fd(this.a+n,t)},s.gc=function(){return this.b},s.a=0,s.b=0,v(pt,"AbstractList/SubList",258),m(232,Ga,fs,it),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new gt(n)},s.Kc=function(n){return this.a._b(n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/1",232),m(529,1,Fr,gt),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.jd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/1/1",529),m(230,31,im,ot),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a.uc(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new Hi(n)},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/2",230),m(304,1,Fr,Hi),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.kd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/2/1",304),m(480,1,{480:1,45:1}),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.d,t.jd())&&Ku(this.e,t.kd())):!1},s.jd=function(){return this.d},s.kd=function(){return this.e},s.Hb=function(){return Bv(this.d)^Bv(this.e)},s.ld=function(n){return Ile(this,n)},s.Ib=function(){return this.d+"="+this.e},v(pt,"AbstractMap/AbstractEntry",480),m(390,480,{480:1,390:1,45:1},u$),v(pt,"AbstractMap/SimpleEntry",390),m(2044,1,BZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.jd(),t.jd())&&Ku(this.kd(),t.kd())):!1},s.Hb=function(){return Bv(this.jd())^Bv(this.kd())},s.Ib=function(){return this.jd()+"="+this.kd()},v(pt,aYe,2044),m(2052,2027,$ge),s.Vc=function(n){return LX(this.Ce(n))},s.tc=function(n){return $Pe(this,n)},s._b=function(n){return Dle(this,n)},s.vc=function(){return new Xi(this)},s.Rc=function(){return iDe(this.Ee())},s.Wc=function(n){return LX(this.Fe(n))},s.xc=function(n){var t;return t=n,bu(this.De(t))},s.Yc=function(n){return LX(this.Ge(n))},s.ec=function(){return new _u(this)},s.Tc=function(){return iDe(this.He())},s.Zc=function(n){return LX(this.Ie(n))},v(pt,"AbstractNavigableMap",2052),m(620,Ga,fs,Xi),s.Gc=function(n){return X(n,45)&&$Pe(this.b,u(n,45))},s.Jc=function(){return this.b.Be()},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),this.b.Je(t)):!1},s.gc=function(){return this.b.gc()},v(pt,"AbstractNavigableMap/EntrySet",620),m(1115,Ga,Rge,_u),s.Lc=function(){return new l$(this)},s.$b=function(){this.a.$b()},s.Gc=function(n){return Dle(this.a,n)},s.Jc=function(){var n;return n=this.a.vc().b.Be(),new Lke(n)},s.Kc=function(n){return Dle(this.a,n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractNavigableMap/NavigableKeySet",1115),m(1116,1,Fr,Lke),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this.a.a)},s.Pb=function(){var n;return n=TOe(this.a),n.jd()},s.Qb=function(){INe(this.a)},v(pt,"AbstractNavigableMap/NavigableKeySet/1",1116),m(2065,31,im),s.Ec=function(n){return C4(k8(this,n),F8),!0},s.Fc=function(n){return Ln(n),LT(n!=this,"Can't add a queue to itself"),ac(this,n)},s.$b=function(){for(;CY(this)!=null;);},v(pt,"AbstractQueue",2065),m(314,31,{4:1,20:1,31:1,18:1},Fv,_Le),s.Ec=function(n){return Lae(this,n),!0},s.$b=function(){zae(this)},s.Gc=function(n){return vze(new dE(this),n)},s.dc=function(){return jj(this)},s.Jc=function(){return new dE(this)},s.Kc=function(n){return x4n(new dE(this),n)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Lc=function(){return new yn(this,272)},s.Oc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&ir(n,t,null),n},s.b=0,s.c=0,v(pt,"ArrayDeque",314),m(448,1,Fr,dE),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return JB(this)},s.Qb=function(){vBe(this)},s.a=0,s.b=0,s.c=-1,v(pt,"ArrayDeque/IteratorImpl",448),m(13,56,MYe,Te,xo,bs),s._c=function(n,t){zb(this,n,t)},s.Ec=function(n){return Ce(this,n)},s.ad=function(n,t){return N1e(this,n,t)},s.Fc=function(n){return Sr(this,n)},s.$b=function(){r2(this.c,0)},s.Gc=function(n){return pu(this,n,0)!=-1},s.Ic=function(n){Ao(this,n)},s.Xb=function(n){return Le(this,n)},s.bd=function(n){return pu(this,n,0)},s.dc=function(){return this.c.length==0},s.Jc=function(){return new P(this)},s.ed=function(n){return Cd(this,n)},s.Kc=function(n){return qo(this,n)},s.ae=function(n,t){cLe(this,n,t)},s.fd=function(n,t){return ul(this,n,t)},s.gc=function(){return this.c.length},s.gd=function(n){Tr(this,n)},s.Nc=function(){return iR(this.c)},s.Oc=function(n){return Ba(this,n)};var ABn=v(pt,"ArrayList",13);m(7,1,Fr,P),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return gu(this)},s.Pb=function(){return L(this)},s.Qb=function(){sE(this)},s.a=0,s.b=-1,v(pt,"ArrayList/1",7),m(2074,k.Function,{},pn),s.Ke=function(n,t){return ji(n,t)},m(123,56,CYe,Su),s.Gc=function(n){return mBe(this,n)!=-1},s.Ic=function(n){var t,i,r,c;for(Ln(n),i=this.a,r=0,c=i.length;r0)throw R(new Un(Kge+n+" greater than "+this.e));return this.f.Re()?C_e(this.c,this.b,this.a,n,t):iLe(this.c,n,t)},s.yc=function(n,t){if(!eW(this.c,this.f,n,this.b,this.a,this.e,this.d))throw R(new Un(n+" outside the range "+this.b+" to "+this.e));return $ze(this.c,n,t)},s.Ac=function(n){var t;return t=n,eW(this.c,this.f,t,this.b,this.a,this.e,this.d)?T_e(this.c,t):null},s.Je=function(n){return xR(this,n.jd())&&uhe(this.c,n)},s.gc=function(){var n,t,i;if(this.f.Re()?this.a?t=b8(this.c,this.b,!0):t=b8(this.c,this.b,!1):t=mhe(this.c),!(t&&xR(this,t.d)&&t))return 0;for(n=0,i=new FY(this.c,this.f,this.b,this.a,this.e,this.d);FX(i.a);i.b=u(oae(i.a),45))++n;return n},s.$c=function(n,t){if(this.f.Re()&&this.c.a.Le(n,this.b)<0)throw R(new Un(Kge+n+NYe+this.b));return this.f.Se()?C_e(this.c,n,t,this.e,this.d):rLe(this.c,n,t)},s.a=!1,s.d=!1,v(pt,"TreeMap/SubMap",622),m(309,23,HZ,o$),s.Re=function(){return!1},s.Se=function(){return!1};var fte,ate,hte,dte,gJ=yt(pt,"TreeMap/SubMapType",309,Tt,n6n,M2n);m(1112,309,HZ,MTe),s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/1",1112,gJ,null,null),m(1113,309,HZ,BTe),s.Re=function(){return!0},s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/2",1113,gJ,null,null),m(1114,309,HZ,CTe),s.Re=function(){return!0},yt(pt,"TreeMap/SubMapType/3",1114,gJ,null,null);var wnn;m(141,Ga,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},pX,lle,kd,o9),s.Lc=function(){return new l$(this)},s.Ec=function(n){return RT(this,n)},s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){return this.a.ec().Jc()},s.Kc=function(n){return DK(this,n)},s.gc=function(){return this.a.gc()};var IBn=v(pt,"TreeSet",141);m(1052,1,{},Rke),s.Te=function(n,t){return Xpn(this.a,n,t)},v(GZ,"BinaryOperator/lambda$0$Type",1052),m(1053,1,{},Bke),s.Te=function(n,t){return Kpn(this.a,n,t)},v(GZ,"BinaryOperator/lambda$1$Type",1053),m(935,1,{},Fu),s.Kb=function(n){return n},v(GZ,"Function/lambda$0$Type",935),m(388,1,zt,s9),s.Mb=function(n){return!this.a.Mb(n)},v(GZ,"Predicate/lambda$2$Type",388),m(567,1,{567:1});var pnn=v(mS,"Handler",567);m(2069,1,aN),s.ve=function(){return"DUMMY"},s.Ib=function(){return this.ve()};var Xme;v(mS,"Level",2069),m(1672,2069,aN,Rs),s.ve=function(){return"INFO"},v(mS,"Level/LevelInfo",1672),m(1824,1,{},ixe);var bte;v(mS,"LogManager",1824),m(1866,1,aN,NNe),s.b=null,v(mS,"LogRecord",1866),m(511,1,{511:1},oY),s.e=!1;var mnn=!1,vnn=!1,Va=!1,ynn=!1,knn=!1;v(mS,"Logger",511),m(819,567,{567:1},Er),v(mS,"SimpleConsoleLogHandler",819),m(130,23,{3:1,35:1,23:1,130:1},GX);var Kme,Yo,Vme,Qo=yt(_c,"Collector/Characteristics",130,Tt,B4n,C2n),jnn;m(746,1,{},Bfe),v(_c,"CollectorImpl",746),m(1050,1,{},Kr),s.Te=function(n,t){return ajn(u(n,212),u(t,212))},v(_c,"Collectors/10methodref$merge$Type",1050),m(1051,1,{},Mt),s.Kb=function(n){return DLe(u(n,212))},v(_c,"Collectors/11methodref$toString$Type",1051),m(152,1,{},bi),s.Wd=function(n,t){u(n,18).Ec(t)},v(_c,"Collectors/20methodref$add$Type",152),m(154,1,{},zi),s.Ve=function(){return new Te},v(_c,"Collectors/21methodref$ctor$Type",154),m(1049,1,{},cu),s.Wd=function(n,t){D1(u(n,212),u(t,472))},v(_c,"Collectors/9methodref$add$Type",1049),m(1048,1,{},YNe),s.Ve=function(){return new ng(this.a,this.b,this.c)},v(_c,"Collectors/lambda$15$Type",1048),m(153,1,{},Cc),s.Te=function(n,t){return Egn(u(n,18),u(t,18))},v(_c,"Collectors/lambda$45$Type",153),m(538,1,{}),s.Ye=function(){hE(this)},s.d=!1,v(_c,"TerminatableStream",538),m(768,538,Vge,xle),s.Ye=function(){hE(this)},v(_c,"DoubleStreamImpl",768),m(1297,724,dl,QNe),s.Pe=function(n){return RSn(this,u(n,189))},s.a=null,v(_c,"DoubleStreamImpl/2",1297),m(1298,1,yN,zke),s.Ne=function(n){wwn(this.a,n)},v(_c,"DoubleStreamImpl/2/lambda$0$Type",1298),m(1295,1,yN,Fke),s.Ne=function(n){gwn(this.a,n)},v(_c,"DoubleStreamImpl/lambda$0$Type",1295),m(1296,1,yN,Jke),s.Ne=function(n){lJe(this.a,n)},v(_c,"DoubleStreamImpl/lambda$2$Type",1296),m(1351,723,dl,HPe),s.Pe=function(n){return Gyn(this,u(n,202))},s.a=0,s.b=0,s.c=0,v(_c,"IntStream/5",1351),m(793,538,Vge,Ale),s.Ye=function(){hE(this)},s.Ze=function(){return T0(this),this.a},v(_c,"IntStreamImpl",793),m(794,538,Vge,Yoe),s.Ye=function(){hE(this)},s.Ze=function(){return T0(this),Yse(),gnn},v(_c,"IntStreamImpl/Empty",794),m(1651,1,dN,Hke),s.Bd=function(n){nze(this.a,n)},v(_c,"IntStreamImpl/lambda$4$Type",1651);var DBn=Gi(_c,"Stream");m(28,538,{520:1,677:1,832:1},mn),s.Ye=function(){hE(this)};var Sy;v(_c,"StreamImpl",28),m(1072,486,dl,jNe),s.zd=function(n){for(;G9n(this);){if(this.a.zd(n))return!0;hE(this.b),this.b=null,this.a=null}return!1},v(_c,"StreamImpl/1",1072),m(1073,1,ut,Gke),s.Ad=function(n){Ivn(this.a,u(n,832))},v(_c,"StreamImpl/1/lambda$0$Type",1073),m(1074,1,zt,qke),s.Mb=function(n){return hr(this.a,n)},v(_c,"StreamImpl/1methodref$add$Type",1074),m(1075,486,dl,n_e),s.zd=function(n){var t;return this.a||(t=new Te,this.b.a.Nb(new Uke(t)),En(),Tr(t,this.c),this.a=new yn(t,16)),HRe(this.a,n)},s.a=null,v(_c,"StreamImpl/5",1075),m(1076,1,ut,Uke),s.Ad=function(n){Ce(this.a,n)},v(_c,"StreamImpl/5/2methodref$add$Type",1076),m(725,486,dl,whe),s.zd=function(n){for(this.b=!1;!this.b&&this.c.zd(new zMe(this,n)););return this.b},s.b=!1,v(_c,"StreamImpl/FilterSpliterator",725),m(1066,1,ut,zMe),s.Ad=function(n){S3n(this.a,this.b,n)},v(_c,"StreamImpl/FilterSpliterator/lambda$0$Type",1066),m(1061,724,dl,ZPe),s.Pe=function(n){return m2n(this,u(n,189))},v(_c,"StreamImpl/MapToDoubleSpliterator",1061),m(1065,1,ut,FMe),s.Ad=function(n){Bgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1065),m(1060,723,dl,e$e),s.Pe=function(n){return v2n(this,u(n,202))},v(_c,"StreamImpl/MapToIntSpliterator",1060),m(1064,1,ut,JMe),s.Ad=function(n){zgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1064),m(722,486,dl,the),s.zd=function(n){return SNe(this,n)},v(_c,"StreamImpl/MapToObjSpliterator",722),m(1063,1,ut,HMe),s.Ad=function(n){Fgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1063),m(1062,486,dl,yBe),s.zd=function(n){for(;JX(this.b,0);){if(!this.a.zd(new ef))return!1;this.b=lf(this.b,1)}return this.a.zd(n)},s.b=0,v(_c,"StreamImpl/SkipSpliterator",1062),m(1067,1,ut,ef),s.Ad=function(n){},v(_c,"StreamImpl/SkipSpliterator/lambda$0$Type",1067),m(617,1,ut,Oa),s.Ad=function(n){SP(this,n)},v(_c,"StreamImpl/ValueConsumer",617),m(1068,1,ut,ia),s.Ad=function(n){$b()},v(_c,"StreamImpl/lambda$0$Type",1068),m(1069,1,ut,o0),s.Ad=function(n){$b()},v(_c,"StreamImpl/lambda$1$Type",1069),m(1070,1,{},Xke),s.Te=function(n,t){return x2n(this.a,n,t)},v(_c,"StreamImpl/lambda$4$Type",1070),m(1071,1,ut,GMe),s.Ad=function(n){e2n(this.b,this.a,n)},v(_c,"StreamImpl/lambda$5$Type",1071),m(1077,1,ut,Kke),s.Ad=function(n){J7n(this.a,u(n,375))},v(_c,"TerminatableStream/lambda$0$Type",1077),m(2104,1,{}),m(1976,1,{},xb),v("javaemul.internal","ConsoleLogger",1976);var _Bn=0;m(2096,1,{}),m(1800,1,ut,Sl),s.Ad=function(n){u(n,321)},v(J8,"BowyerWatsonTriangulation/lambda$0$Type",1800),m(1801,1,ut,Vke),s.Ad=function(n){ac(this.a,u(n,321).e)},v(J8,"BowyerWatsonTriangulation/lambda$1$Type",1801),m(1802,1,ut,cd),s.Ad=function(n){u(n,177)},v(J8,"BowyerWatsonTriangulation/lambda$2$Type",1802),m(1797,1,Yt,Yke),s.Le=function(n,t){return T6n(this.a,u(n,177),u(t,177))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(J8,"NaiveMinST/lambda$0$Type",1797),m(440,1,{},dj),v(J8,"NodeMicroLayout",440),m(177,1,{177:1},g4),s.Fb=function(n){var t;return X(n,177)?(t=u(n,177),Ku(this.a,t.a)&&Ku(this.b,t.b)||Ku(this.a,t.b)&&Ku(this.b,t.a)):!1},s.Hb=function(){return Bv(this.a)+Bv(this.b)};var LBn=v(J8,"TEdge",177);m(321,1,{321:1},lge),s.Fb=function(n){var t;return X(n,321)?(t=u(n,321),oB(this,t.a)&&oB(this,t.b)&&oB(this,t.c)):!1},s.Hb=function(){return Bv(this.a)+Bv(this.b)+Bv(this.c)},v(J8,"TTriangle",321),m(225,1,{225:1},P$),v(J8,"Tree",225),m(1183,1,{},q_e),v(_Ye,"Scanline",1183);var Enn=Gi(_Ye,LYe);m(1728,1,{},qRe),v(t1,"CGraph",1728),m(320,1,{320:1},R_e),s.b=0,s.c=0,s.d=0,s.g=0,s.i=0,s.k=Ir,v(t1,"CGroup",320),m(814,1,{},doe),v(t1,"CGroup/CGroupBuilder",814),m(60,1,{60:1},rNe),s.Ib=function(){var n;return this.j?Pt(this.j.Kb(this)):(M1(wJ),wJ.o+"@"+(n=jw(this)>>>0,n.toString(16)))},s.f=0,s.i=Ir;var wJ=v(t1,"CNode",60);m(813,1,{},boe),v(t1,"CNode/CNodeBuilder",813);var Snn;m(1551,1,{},s0),s.df=function(n,t){return 0},s.ef=function(n,t){return 0},v(t1,$Ye,1551),m(1830,1,{},uh),s.af=function(n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D;for(b=Vi,r=new P(n.a.b);r.ar.d.c||r.d.c==o.d.c&&r.d.b0?n+this.n.d+this.n.a:0},s.gf=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].gf());else if(this.g)c=ide(this,tW(this,null,!0));else for(t=(wa(),F(z(dm,1),je,237,0,[Ou,No,Nu])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},s.hf=function(){var n,t,i,r,c;if(this.g)for(n=tW(this,null,!1),i=(wa(),F(z(dm,1),je,237,0,[Ou,No,Nu])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=k.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=k.Math.max(r[1],i),Wae(this,No,t.d+n.d+r[0]-(r[1]-i)/2,r)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var wte=0,pJ=0;v(dg,"GridContainerCell",1499),m(461,23,{3:1,35:1,23:1,461:1},UX);var rb,Oh,qf,Nnn=yt(dg,"HorizontalLabelAlignment",461,Tt,nyn,T2n),Inn;m(318,216,{216:1,318:1},O_e,GRe,E_e),s.ff=function(){return sIe(this)},s.gf=function(){return wfe(this)},s.a=0,s.c=!1;var PBn=v(dg,"LabelCell",318);m(253,337,{216:1,337:1,253:1},HE),s.ff=function(){return QE(this)},s.gf=function(){return WE(this)},s.hf=function(){GW(this)},s.jf=function(){qW(this)},s.b=0,s.c=0,s.d=!1,v(dg,"StripContainerCell",253),m(1655,1,zt,b5),s.Mb=function(n){return _bn(u(n,216))},v(dg,"StripContainerCell/lambda$0$Type",1655),m(1656,1,{},l0),s.We=function(n){return u(n,216).gf()},v(dg,"StripContainerCell/lambda$1$Type",1656),m(1657,1,zt,ud),s.Mb=function(n){return Lbn(u(n,216))},v(dg,"StripContainerCell/lambda$2$Type",1657),m(1658,1,{},Cp),s.We=function(n){return u(n,216).ff()},v(dg,"StripContainerCell/lambda$3$Type",1658),m(462,23,{3:1,35:1,23:1,462:1},XX);var Uf,cb,ja,Dnn=yt(dg,"VerticalLabelAlignment",462,Tt,tyn,O2n),_nn;m(787,1,{},Mge),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,s.F=!1,v(sF,"NodeContext",787),m(1497,1,Yt,oh),s.Le=function(n,t){return vTe(u(n,64),u(t,64))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(sF,"NodeContext/0methodref$comparePortSides$Type",1497),m(1498,1,Yt,Tp),s.Le=function(n,t){return mMn(u(n,115),u(t,115))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(sF,"NodeContext/1methodref$comparePortContexts$Type",1498),m(168,23,{3:1,35:1,23:1,168:1},Bl);var Lnn,Pnn,$nn,Rnn,Bnn,znn,Fnn,Jnn,Hnn,Gnn,qnn,Unn,Xnn,Knn,Vnn,Ynn,Qnn,Wnn,Znn,etn,ntn,pte,ttn=yt(sF,"NodeLabelLocation",168,Tt,DQ,N2n),itn;m(115,1,{115:1},zqe),s.a=!1,v(sF,"PortContext",115),m(1502,1,ut,Gg),s.Ad=function(n){_Ae(u(n,318))},v(jN,YYe,1502),m(1503,1,zt,qg),s.Mb=function(n){return!!u(n,115).c},v(jN,QYe,1503),m(1504,1,ut,Ug),s.Ad=function(n){_Ae(u(n,115).c)},v(jN,"LabelPlacer/lambda$2$Type",1504);var Qme;m(1501,1,ut,sd),s.Ad=function(n){v2(),dbn(u(n,115))},v(jN,"NodeLabelAndSizeUtilities/lambda$0$Type",1501),m(788,1,ut,Kle),s.Ad=function(n){Mgn(this.b,this.c,this.a,u(n,187))},s.a=!1,s.c=!1,v(jN,"NodeLabelCellCreator/lambda$0$Type",788),m(1500,1,ut,Zke),s.Ad=function(n){pbn(this.a,u(n,187))},v(jN,"PortContextCreator/lambda$0$Type",1500);var mJ;m(1872,1,{},Xg),v(G8,"GreedyRectangleStripOverlapRemover",1872),m(1873,1,Yt,Mb),s.Le=function(n,t){return cpn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(G8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1873),m(1826,1,{},sxe),s.a=5,s.e=0,v(G8,"RectangleStripOverlapRemover",1826),m(1827,1,Yt,g5),s.Le=function(n,t){return upn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(G8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1827),m(1829,1,Yt,Op),s.Le=function(n,t){return z3n(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(G8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1829),m(409,23,{3:1,35:1,23:1,409:1},s$);var KN,mte,vte,VN,rtn=yt(G8,"RectangleStripOverlapRemover/OverlapRemovalDirection",409,Tt,Zyn,I2n),ctn;m(226,1,{226:1},aV),v(G8,"RectangleStripOverlapRemover/RectangleNode",226),m(1828,1,ut,eje),s.Ad=function(n){VSn(this.a,u(n,226))},v(G8,"RectangleStripOverlapRemover/lambda$1$Type",1828);var utn=!1,QS,Wme;m(1798,1,ut,Np),s.Ad=function(n){KKe(u(n,225))},v(wy,"DepthFirstCompaction/0methodref$compactTree$Type",1798),m(810,1,ut,Wue),s.Ad=function(n){b5n(this.a,u(n,225))},v(wy,"DepthFirstCompaction/lambda$1$Type",810),m(1799,1,ut,LNe),s.Ad=function(n){PEn(this.a,this.b,this.c,u(n,225))},v(wy,"DepthFirstCompaction/lambda$2$Type",1799);var WS,Zme;m(68,1,{68:1},X_e),v(wy,"Node",68),m(1179,1,{},$Te),v(wy,"ScanlineOverlapCheck",1179),m(1180,1,{683:1},m_e),s._e=function(n){Gpn(this,u(n,442))},v(wy,"ScanlineOverlapCheck/OverlapsScanlineHandler",1180),m(1181,1,Yt,uu),s.Le=function(n,t){return Ejn(u(n,68),u(t,68))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(wy,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1181),m(442,1,{442:1},lse),s.a=!1,v(wy,"ScanlineOverlapCheck/Timestamp",442),m(1182,1,Yt,w5),s.Le=function(n,t){return Vxn(u(n,442),u(t,442))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(wy,"ScanlineOverlapCheck/lambda$0$Type",1182),m(545,1,{},Kg),v("org.eclipse.elk.alg.common.utils","SVGImage",545),m(748,1,{},rv),v(VZ,twe,748),m(1164,1,Yt,p5),s.Le=function(n,t){return ETn(u(n,235),u(t,235))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(VZ,eQe,1164),m(1165,1,ut,qMe),s.Ad=function(n){gyn(this.b,this.a,u(n,251))},v(VZ,iwe,1165),m(214,1,ep),v(y3,"AbstractLayoutProvider",214),m(726,214,ep,goe),s.kf=function(n,t){OUe(this,n,t)},v(VZ,"ForceLayoutProvider",726);var $Bn=Gi(EN,nQe);m(150,1,{3:1,105:1,150:1},Vg),s.of=function(n,t){return SO(this,n,t)},s.lf=function(){return EIe(this)},s.mf=function(n){return C(this,n)},s.nf=function(n){return wi(this,n)},v(EN,"MapPropertyHolder",150),m(313,150,{3:1,313:1,105:1,150:1}),v(SN,"FParticle",313),m(251,313,{3:1,251:1,313:1,105:1,150:1},sDe),s.Ib=function(){var n;return this.a?(n=pu(this.a.a,this,0),n>=0?"b"+n+"["+iY(this.a)+"]":"b["+iY(this.a)+"]"):"b_"+jw(this)},v(SN,"FBendpoint",251),m(291,150,{3:1,291:1,105:1,150:1},tNe),s.Ib=function(){return iY(this)},v(SN,"FEdge",291),m(235,150,{3:1,235:1,105:1,150:1},WR);var RBn=v(SN,"FGraph",235);m(445,313,{3:1,445:1,313:1,105:1,150:1},fPe),s.Ib=function(){return this.b==null||this.b.length==0?"l["+iY(this.a)+"]":"l_"+this.b},v(SN,"FLabel",445),m(155,313,{3:1,155:1,313:1,105:1,150:1},RTe),s.Ib=function(){return Aae(this)},s.a=0,v(SN,"FNode",155),m(2062,1,{}),s.qf=function(n){ige(this,n)},s.rf=function(){bHe(this)},s.d=0,v(rwe,"AbstractForceModel",2062),m(631,2062,{631:1},ize),s.pf=function(n,t){var i,r,c,o,l;return QKe(this.f,n,t),c=Nr(pc(t.d),n.d),l=k.Math.sqrt(c.a*c.a+c.b*c.b),r=k.Math.max(0,l-aE(n.e)/2-aE(t.e)/2),i=Oqe(this.e,n,t),i>0?o=-N3n(r,this.c)*i:o=ypn(r,this.b)*u(C(n,(Hf(),Ay)),15).a,A1(c,o/l),c},s.qf=function(n){ige(this,n),this.a=u(C(n,(Hf(),yJ)),15).a,this.c=ne(re(C(n,kJ))),this.b=ne(re(C(n,kte)))},s.sf=function(n){return n0&&(o-=Obn(r,this.a)*i),A1(c,o*this.b/l),c},s.qf=function(n){var t,i,r,c,o,l,f;for(ige(this,n),this.b=ne(re(C(n,(Hf(),jte)))),this.c=this.b/u(C(n,yJ),15).a,r=n.e.c.length,o=0,c=0,f=new P(n.e);f.a0},s.a=0,s.b=0,s.c=0,v(rwe,"FruchtermanReingoldModel",632);var xy=Gi(yu,"ILayoutMetaDataProvider");m(844,1,Ua,vC),s.tf=function(n){nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,lF),""),"Force Model"),"Determines the model for force calculation."),eve),(lg(),Bi)),nve),rn((vh(),Tn))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,cwe),""),"Iterations"),"The number of iterations on the force model."),ve(300)),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,uwe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),ve(0)),dc),jr),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,YZ),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),xh),ec),gr),rn(Tn)))),qi(n,YZ,lF,dtn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,QZ),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),ec),gr),rn(Tn)))),qi(n,QZ,lF,ftn),BVe((new tP,n))};var otn,stn,eve,ltn,ftn,atn,htn,dtn;v(kS,"ForceMetaDataProvider",844),m(424,23,{3:1,35:1,23:1,424:1},fse);var yte,vJ,nve=yt(kS,"ForceModelStrategy",424,Tt,a4n,_2n),btn;m(984,1,Ua,tP),s.tf=function(n){BVe(n)};var gtn,wtn,tve,yJ,ive,ptn,mtn,vtn,ytn,rve,ktn,cve,uve,jtn,Ay,Etn,kte,ove,Stn,xtn,kJ,jte,Atn,Mtn,Ctn,sve,Ttn;v(kS,"ForceOptions",984),m(985,1,{},cv),s.uf=function(){var n;return n=new goe,n},s.vf=function(n){},v(kS,"ForceOptions/ForceFactory",985);var YN,ZS,My,jJ;m(845,1,Ua,iP),s.tf=function(n){nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,swe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),($n(),!1)),(lg(),xr)),Qi),rn((vh(),fr))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,lwe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),ec),gr),Ci(Tn,F(z(Wa,1),je,160,0,[xa]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,fwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),lve),Bi),wve),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,awe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),xh),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,hwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),ve(oi)),dc),jr),rn(Tn)))),dVe((new AU,n))};var Otn,Ntn,lve,Itn,Dtn,_tn;v(kS,"StressMetaDataProvider",845),m(988,1,Ua,AU),s.tf=function(n){dVe(n)};var EJ,fve,ave,hve,dve,bve,Ltn,Ptn,$tn,Rtn,gve,Btn;v(kS,"StressOptions",988),m(989,1,{},m5),s.uf=function(){var n;return n=new iNe,n},s.vf=function(n){},v(kS,"StressOptions/StressFactory",989),m(1080,214,ep,iNe),s.kf=function(n,t){var i,r,c,o,l;for(t.Tg(uQe,1),Fe(ze(ke(n,(RO(),dve))))?Fe(ze(ke(n,gve)))||qT((i=new dj((Rb(),new v0(n))),i)):OUe(new goe,n,t.dh(1)),c=Ize(n),r=SKe(this.a,c),l=r.Jc();l.Ob();)o=u(l.Pb(),235),!(o.e.c.length<=1)&&(ULn(this.b,o),mOn(this.b),Ao(o.d,new v5));c=PVe(r),qVe(c),t.Ug()},v(hF,"StressLayoutProvider",1080),m(1081,1,ut,v5),s.Ad=function(n){hge(u(n,445))},v(hF,"StressLayoutProvider/lambda$0$Type",1081),m(986,1,{},txe),s.c=0,s.e=0,s.g=0,v(hF,"StressMajorization",986),m(384,23,{3:1,35:1,23:1,384:1},KX);var Ete,Ste,xte,wve=yt(hF,"StressMajorization/Dimension",384,Tt,Z4n,L2n),ztn;m(987,1,Yt,nje),s.Le=function(n,t){return a2n(this.a,u(n,155),u(t,155))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(hF,"StressMajorization/lambda$0$Type",987),m(1161,1,{},pLe),v(vy,"ElkLayered",1161),m(1162,1,ut,tje),s.Ad=function(n){uTn(this.a,u(n,37))},v(vy,"ElkLayered/lambda$0$Type",1162),m(1163,1,ut,ije),s.Ad=function(n){p2n(this.a,u(n,37))},v(vy,"ElkLayered/lambda$1$Type",1163),m(1246,1,{},PTe);var Ftn,Jtn,Htn;v(vy,"GraphConfigurator",1246),m(757,1,ut,Zue),s.Ad=function(n){NGe(this.a,u(n,9))},v(vy,"GraphConfigurator/lambda$0$Type",757),m(758,1,{},b1),s.Kb=function(n){return Vde(),new mn(null,new yn(u(n,25).a,16))},v(vy,"GraphConfigurator/lambda$1$Type",758),m(759,1,ut,eoe),s.Ad=function(n){NGe(this.a,u(n,9))},v(vy,"GraphConfigurator/lambda$2$Type",759),m(1079,214,ep,rxe),s.kf=function(n,t){var i;i=SLn(new fxe,n),ue(ke(n,(Oe(),Em)))===ue((B1(),Wd))?Djn(this.a,i,t):bOn(this.a,i,t),t.Zg()||TVe(new kC,i)},v(vy,"LayeredLayoutProvider",1079),m(363,23,{3:1,35:1,23:1,363:1},sT);var Xf,c1,eo,no,Pc,pve=yt(vy,"LayeredPhases",363,Tt,V6n,P2n),Gtn;m(1683,1,{},EBe),s.i=0;var qtn;v(ON,"ComponentsToCGraphTransformer",1683);var Utn;m(1684,1,{},Ws),s.wf=function(n,t){return k.Math.min(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},s.xf=function(n,t){return k.Math.min(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},v(ON,"ComponentsToCGraphTransformer/1",1684),m(82,1,{82:1}),s.i=0,s.k=!0,s.o=Ir;var Ate=v(xS,"CNode",82);m(460,82,{460:1,82:1},hle,Sde),s.Ib=function(){return""},v(ON,"ComponentsToCGraphTransformer/CRectNode",460),m(1652,1,{},xf);var Mte,Cte;v(ON,"OneDimensionalComponentsCompaction",1652),m(1653,1,{},vt),s.Kb=function(n){return N4n(u(n,49))},s.Fb=function(n){return this===n},v(ON,"OneDimensionalComponentsCompaction/lambda$0$Type",1653),m(1654,1,{},kc),s.Kb=function(n){return Rjn(u(n,49))},s.Fb=function(n){return this===n},v(ON,"OneDimensionalComponentsCompaction/lambda$1$Type",1654),m(1686,1,{},yDe),v(xS,"CGraph",1686),m(194,1,{194:1},OQ),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Ir,v(xS,"CGroup",194),m(1685,1,{},tc),s.wf=function(n,t){return k.Math.max(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},s.xf=function(n,t){return k.Math.max(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},v(xS,$Ye,1685),m(1687,1,{},Iqe),s.d=!1;var Xtn,Tte=v(xS,zYe,1687);m(1688,1,{},tk),s.Kb=function(n){return Zoe(),$n(),u(u(n,49).a,82).d.e!=0},s.Fb=function(n){return this===n},v(xS,FYe,1688),m(817,1,{},mfe),s.a=!1,s.b=!1,s.c=!1,s.d=!1,v(xS,JYe,817),m(1868,1,{},_Ie),v(dF,HYe,1868);var QN=Gi(bg,LYe);m(1869,1,{377:1},p_e),s._e=function(n){kIn(this,u(n,465))},v(dF,GYe,1869),m(1870,1,Yt,f0),s.Le=function(n,t){return S5n(u(n,82),u(t,82))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(dF,qYe,1870),m(465,1,{465:1},ase),s.a=!1,v(dF,UYe,465),m(1871,1,Yt,Yg),s.Le=function(n,t){return Yxn(u(n,465),u(t,465))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(dF,XYe,1871),m(146,1,{146:1},k9,ofe),s.Fb=function(n){var t;return n==null||BBn!=Us(n)?!1:(t=u(n,146),Ku(this.c,t.c)&&Ku(this.d,t.d))},s.Hb=function(){return zB(F(z(Mr,1),Nn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+To+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var BBn=v(bg,"Point",146);m(408,23,{3:1,35:1,23:1,408:1},f$);var fp,bm,O3,gm,Ktn=yt(bg,"Point/Quadrant",408,Tt,e6n,D2n),Vtn;m(1674,1,{},cxe),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null;var Ytn,Qtn,Wtn,Ztn,ein;v(bg,"RectilinearConvexHull",1674),m(569,1,{377:1},oz),s._e=function(n){z9n(this,u(n,146))},s.b=0;var mve;v(bg,"RectilinearConvexHull/MaximalElementsEventHandler",569),m(1676,1,Yt,a6),s.Le=function(n,t){return j5n(re(n),re(t))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bg,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1676),m(1675,1,{377:1},TRe),s._e=function(n){$Nn(this,u(n,146))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,v(bg,"RectilinearConvexHull/RectangleEventHandler",1675),m(1677,1,Yt,Ip),s.Le=function(n,t){return Syn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bg,"RectilinearConvexHull/lambda$0$Type",1677),m(1678,1,Yt,Dp),s.Le=function(n,t){return xyn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bg,"RectilinearConvexHull/lambda$1$Type",1678),m(1679,1,Yt,_p),s.Le=function(n,t){return Myn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bg,"RectilinearConvexHull/lambda$2$Type",1679),m(1680,1,Yt,Lp),s.Le=function(n,t){return Ayn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bg,"RectilinearConvexHull/lambda$3$Type",1680),m(1681,1,Yt,xl),s.Le=function(n,t){return DMn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bg,"RectilinearConvexHull/lambda$4$Type",1681),m(1682,1,{},U_e),v(bg,"Scanline",1682),m(2066,1,{}),v(Xa,"AbstractGraphPlacer",2066),m(336,1,{336:1},MOe),s.Df=function(n){return this.Ef(n)?(gn(this.b,u(C(n,(me(),K1)),22),n),!0):!1},s.Ef=function(n){var t,i,r,c;for(t=u(C(n,(me(),K1)),22),c=u(vi(Ai,t),22),r=c.Jc();r.Ob();)if(i=u(r.Pb(),22),!u(vi(this.b,i),16).dc())return!1;return!0};var Ai;v(Xa,"ComponentGroup",336),m(766,2066,{},woe),s.Ff=function(n){var t,i;for(i=new P(this.a);i.ai&&(p=0,y+=f+r,f=0),h=o.c,T8(o,p+h.a,y+h.b),fa(h),c=k.Math.max(c,p+b.a),f=k.Math.max(f,b.b),p+=b.a+r;t.f.a=c,t.f.b=y+f},s.Hf=function(n,t){var i,r,c,o,l;if(ue(C(t,(Oe(),bx)))===ue((W4(),ex))){for(r=n.Jc();r.Ob();){for(i=u(r.Pb(),37),l=0,o=new P(i.a);o.ai&&!u(C(o,(me(),K1)),22).Gc((Ie(),Vn))||h&&u(C(h,(me(),K1)),22).Gc((Ie(),nt))||u(C(o,(me(),K1)),22).Gc((Ie(),Yn)))&&(S=y,A+=f+r,f=0),b=o.c,u(C(o,(me(),K1)),22).Gc((Ie(),Vn))&&(S=c+r),T8(o,S+b.a,A+b.b),c=k.Math.max(c,S+p.a),u(C(o,K1),22).Gc(bt)&&(y=k.Math.max(y,S+p.a+r)),fa(b),f=k.Math.max(f,p.b),S+=p.a+r,h=o;t.f.a=c,t.f.b=A+f},s.Hf=function(n,t){},v(Xa,"ModelOrderRowGraphPlacer",1277),m(1275,1,Yt,OA),s.Le=function(n,t){return z7n(u(n,37),u(t,37))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Xa,"SimpleRowGraphPlacer/1",1275);var tin;m(1245,1,Sh,h6),s.Lb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},s.Fb=function(n){return this===n},s.Mb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},v(bF,"CompoundGraphPostprocessor/1",1245),m(1244,1,Mi,axe),s.If=function(n,t){YJe(this,u(n,37),t)},v(bF,"CompoundGraphPreprocessor",1244),m(444,1,{444:1},$Fe),s.c=!1,v(bF,"CompoundGraphPreprocessor/ExternalPort",444),m(250,1,{250:1},W$),s.Ib=function(){return RK(this.c)+":"+Aqe(this.b)},v(bF,"CrossHierarchyEdge",250),m(764,1,Yt,noe),s.Le=function(n,t){return jxn(this,u(n,250),u(t,250))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(bF,"CrossHierarchyEdgeComparator",764),m(246,150,{3:1,246:1,105:1,150:1}),s.p=0,v(Zu,"LGraphElement",246),m(17,246,{3:1,17:1,246:1,105:1,150:1},Ow),s.Ib=function(){return Aqe(this)};var w7=v(Zu,"LEdge",17);m(37,246,{3:1,20:1,37:1,246:1,105:1,150:1},$he),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.b)},s.Ib=function(){return this.b.c.length==0?"G-unlayered"+Ja(this.a):this.a.c.length==0?"G-layered"+Ja(this.b):"G[layerless"+Ja(this.a)+", layers"+Ja(this.b)+"]"};var iin=v(Zu,"LGraph",37),rin;m(655,1,{}),s.Jf=function(){return this.e.n},s.mf=function(n){return C(this.e,n)},s.Kf=function(){return this.e.o},s.Lf=function(){return this.e.p},s.nf=function(n){return wi(this.e,n)},s.Mf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},s.Nf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},s.Of=function(n){this.e.p=n},v(Zu,"LGraphAdapters/AbstractLShapeAdapter",655),m(464,1,{837:1},bj),s.Pf=function(){var n,t;if(!this.b)for(this.b=Jh(this.a.b.c.length),t=new P(this.a.b);t.a0&&dFe((Wn(t-1,n.length),n.charCodeAt(t-1)),hQe);)--t;if(o> ",n),wz(i)),Kt(uo((n.a+="[",n),i.i),"]")),n.a},s.c=!0,s.d=!1;var Eve,Sve,xve,Ave,Mve,Cve,uin=v(Zu,"LPort",12);m(399,1,Zh,l9),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.e),new rje(n)},v(Zu,"LPort/1",399),m(1273,1,Fr,rje),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).c},s.Ob=function(){return gu(this.a)},s.Qb=function(){sE(this.a)},v(Zu,"LPort/1/1",1273),m(365,1,Zh,i4),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.g),new toe(n)},v(Zu,"LPort/2",365),m(763,1,Fr,toe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).d},s.Ob=function(){return gu(this.a)},s.Qb=function(){sE(this.a)},v(Zu,"LPort/2/1",763),m(1266,1,Zh,XMe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new Pa(this)},v(Zu,"LPort/CombineIter",1266),m(207,1,Fr,Pa),s.Nb=function(n){Zr(this,n)},s.Qb=function(){AAe()},s.Ob=function(){return Zj(this)},s.Pb=function(){return gu(this.a)?L(this.a):L(this.b)},v(Zu,"LPort/CombineIter/1",207),m(1267,1,Sh,k5),s.Lb=function(n){return qIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).g.c.length!=0},v(Zu,"LPort/lambda$0$Type",1267),m(1268,1,Sh,a0),s.Lb=function(n){return UIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).e.c.length!=0},v(Zu,"LPort/lambda$1$Type",1268),m(1269,1,Sh,_h),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},v(Zu,"LPort/lambda$2$Type",1269),m(1270,1,Sh,uk),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),nt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),nt)},v(Zu,"LPort/lambda$3$Type",1270),m(1271,1,Sh,NA),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),bt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),bt)},v(Zu,"LPort/lambda$4$Type",1271),m(1272,1,Sh,j5),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},v(Zu,"LPort/lambda$5$Type",1272),m(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},Xu),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.a)},s.Ib=function(){return"L_"+pu(this.b.b,this,0)+Ja(this.a)},v(Zu,"Layer",25),m(1659,1,{},L$e),s.b=0,v(Zu,"Tarjan",1659),m(1282,1,{},fxe),v(Jd,wQe,1282),m(1286,1,{},ok),s.Kb=function(n){return iu(u(n,84))},v(Jd,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1286),m(1289,1,{},ov),s.Kb=function(n){return iu(u(n,84))},v(Jd,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1289),m(1283,1,ut,cje),s.Ad=function(n){Hqe(this.a,u(n,125))},v(Jd,iwe,1283),m(1284,1,ut,uje),s.Ad=function(n){Hqe(this.a,u(n,125))},v(Jd,pQe,1284),m(1285,1,{},Lh),s.Kb=function(n){return new mn(null,new yn(tae(u(n,85)),16))},v(Jd,mQe,1285),m(1287,1,zt,oje),s.Mb=function(n){return dwn(this.a,u(n,26))},v(Jd,vQe,1287),m(1288,1,{},sv),s.Kb=function(n){return new mn(null,new yn(v5n(u(n,85)),16))},v(Jd,"ElkGraphImporter/lambda$5$Type",1288),m(1290,1,zt,sje),s.Mb=function(n){return bwn(this.a,u(n,26))},v(Jd,"ElkGraphImporter/lambda$7$Type",1290),m(1291,1,zt,sk),s.Mb=function(n){return _5n(u(n,85))},v(Jd,"ElkGraphImporter/lambda$8$Type",1291),m(1261,1,{},kC);var oin;v(Jd,"ElkGraphLayoutTransferrer",1261),m(1262,1,zt,lje),s.Mb=function(n){return c2n(this.a,u(n,17))},v(Jd,"ElkGraphLayoutTransferrer/lambda$0$Type",1262),m(1263,1,ut,fje),s.Ad=function(n){cT(),Ce(this.a,u(n,17))},v(Jd,"ElkGraphLayoutTransferrer/lambda$1$Type",1263),m(1264,1,zt,aje),s.Mb=function(n){return qpn(this.a,u(n,17))},v(Jd,"ElkGraphLayoutTransferrer/lambda$2$Type",1264),m(1265,1,ut,hje),s.Ad=function(n){cT(),Ce(this.a,u(n,17))},v(Jd,"ElkGraphLayoutTransferrer/lambda$3$Type",1265),m(806,1,{},Lle),v(Zn,"BiLinkedHashMultiMap",806),m(1511,1,Mi,d6),s.If=function(n,t){c7n(u(n,37),t)},v(Zn,"CommentNodeMarginCalculator",1511),m(1512,1,{},Wg),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"CommentNodeMarginCalculator/lambda$0$Type",1512),m(1513,1,ut,kD),s.Ad=function(n){kLn(u(n,9))},v(Zn,"CommentNodeMarginCalculator/lambda$1$Type",1513),m(1514,1,Mi,IA),s.If=function(n,t){CIn(u(n,37),t)},v(Zn,"CommentPostprocessor",1514),m(1515,1,Mi,jD),s.If=function(n,t){K$n(u(n,37),t)},v(Zn,"CommentPreprocessor",1515),m(1516,1,Mi,E5),s.If=function(n,t){FNn(u(n,37),t)},v(Zn,"ConstraintsPostprocessor",1516),m(1517,1,Mi,oq),s.If=function(n,t){O7n(u(n,37),t)},v(Zn,"EdgeAndLayerConstraintEdgeReverser",1517),m(1518,1,Mi,ED),s.If=function(n,t){cEn(u(n,37),t)},v(Zn,"EndLabelPostprocessor",1518),m(1519,1,{},SD),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPostprocessor/lambda$0$Type",1519),m(1520,1,zt,DA),s.Mb=function(n){return H6n(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$1$Type",1520),m(1521,1,ut,sq),s.Ad=function(n){Qxn(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$2$Type",1521),m(1522,1,Mi,lq),s.If=function(n,t){DCn(u(n,37),t)},v(Zn,"EndLabelPreprocessor",1522),m(1523,1,{},lk),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPreprocessor/lambda$0$Type",1523),m(1524,1,ut,PNe),s.Ad=function(n){Cgn(this.a,this.b,this.c,u(n,9))},s.a=0,s.b=0,s.c=!1,v(Zn,"EndLabelPreprocessor/lambda$1$Type",1524),m(1525,1,zt,Zg),s.Mb=function(n){return ue(C(u(n,70),(Oe(),Ih)))===ue((Ra(),G7))},v(Zn,"EndLabelPreprocessor/lambda$2$Type",1525),m(1526,1,ut,dje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$3$Type",1526),m(1527,1,zt,_A),s.Mb=function(n){return ue(C(u(n,70),(Oe(),Ih)))===ue((Ra(),Fm))},v(Zn,"EndLabelPreprocessor/lambda$4$Type",1527),m(1528,1,ut,bje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$5$Type",1528),m(1576,1,Mi,MU),s.If=function(n,t){yjn(u(n,37),t)};var sin;v(Zn,"EndLabelSorter",1576),m(1577,1,Yt,LA),s.Le=function(n,t){return FEn(u(n,455),u(t,455))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"EndLabelSorter/1",1577),m(455,1,{455:1},s_e),v(Zn,"EndLabelSorter/LabelGroup",455),m(1578,1,{},S5),s.Kb=function(n){return rT(),new mn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelSorter/lambda$0$Type",1578),m(1579,1,zt,x5),s.Mb=function(n){return rT(),u(n,9).k==(Fn(),Wi)},v(Zn,"EndLabelSorter/lambda$1$Type",1579),m(1580,1,ut,xD),s.Ad=function(n){XMn(u(n,9))},v(Zn,"EndLabelSorter/lambda$2$Type",1580),m(1581,1,zt,PA),s.Mb=function(n){return rT(),ue(C(u(n,70),(Oe(),Ih)))===ue((Ra(),Fm))},v(Zn,"EndLabelSorter/lambda$3$Type",1581),m(1582,1,zt,AD),s.Mb=function(n){return rT(),ue(C(u(n,70),(Oe(),Ih)))===ue((Ra(),G7))},v(Zn,"EndLabelSorter/lambda$4$Type",1582),m(1529,1,Mi,b6),s.If=function(n,t){RLn(this,u(n,37))},s.b=0,s.c=0,v(Zn,"FinalSplineBendpointsCalculator",1529),m(1530,1,{},ew),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"FinalSplineBendpointsCalculator/lambda$0$Type",1530),m(1531,1,{},$A),s.Kb=function(n){return new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Zn,"FinalSplineBendpointsCalculator/lambda$1$Type",1531),m(1532,1,zt,g6),s.Mb=function(n){return!uc(u(n,17))},v(Zn,"FinalSplineBendpointsCalculator/lambda$2$Type",1532),m(1533,1,zt,$p),s.Mb=function(n){return wi(u(n,17),(me(),Eg))},v(Zn,"FinalSplineBendpointsCalculator/lambda$3$Type",1533),m(1534,1,ut,gje),s.Ad=function(n){UDn(this.a,u(n,132))},v(Zn,"FinalSplineBendpointsCalculator/lambda$4$Type",1534),m(1535,1,ut,RA),s.Ad=function(n){qO(u(n,17).a)},v(Zn,"FinalSplineBendpointsCalculator/lambda$5$Type",1535),m(790,1,Mi,ioe),s.If=function(n,t){IPn(this,u(n,37),t)},v(Zn,"GraphTransformer",790),m(502,23,{3:1,35:1,23:1,502:1},hse);var Dte,ZN,lin=yt(Zn,"GraphTransformer/Mode",502,Tt,h4n,B2n),fin;m(1536,1,Mi,fk),s.If=function(n,t){eNn(u(n,37),t)},v(Zn,"HierarchicalNodeResizingProcessor",1536),m(1537,1,Mi,MD),s.If=function(n,t){U8n(u(n,37),t)},v(Zn,"HierarchicalPortConstraintProcessor",1537),m(1538,1,Yt,ak),s.Le=function(n,t){return oSn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"HierarchicalPortConstraintProcessor/NodeComparator",1538),m(1539,1,Mi,hk),s.If=function(n,t){B_n(u(n,37),t)},v(Zn,"HierarchicalPortDummySizeProcessor",1539),m(1540,1,Mi,CD),s.If=function(n,t){WIn(this,u(n,37),t)},s.a=0,v(Zn,"HierarchicalPortOrthogonalEdgeRouter",1540),m(1541,1,Yt,Ph),s.Le=function(n,t){return opn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/1",1541),m(1542,1,Yt,lv),s.Le=function(n,t){return q9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/2",1542),m(1543,1,Mi,dk),s.If=function(n,t){OMn(u(n,37),t)},v(Zn,"HierarchicalPortPositionProcessor",1543),m(1544,1,Mi,yC),s.If=function(n,t){NRn(this,u(n,37))},s.a=0,s.c=0;var SJ,xJ;v(Zn,"HighDegreeNodeLayeringProcessor",1544),m(566,1,{566:1},w6),s.b=-1,s.d=-1,v(Zn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",566),m(1545,1,{},fq),s.Kb=function(n){return IT(),cr(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1545),m(1546,1,{},BA),s.Kb=function(n){return IT(),Ii(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1546),m(1552,1,Mi,zA),s.If=function(n,t){O_n(this,u(n,37),t)},v(Zn,"HyperedgeDummyMerger",1552),m(791,1,{},Wle),s.a=!1,s.b=!1,s.c=!1,v(Zn,"HyperedgeDummyMerger/MergeState",791),m(1553,1,{},p6),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"HyperedgeDummyMerger/lambda$0$Type",1553),m(1554,1,{},bk),s.Kb=function(n){return new mn(null,new yn(u(n,9).j,16))},v(Zn,"HyperedgeDummyMerger/lambda$1$Type",1554),m(1555,1,ut,TD),s.Ad=function(n){u(n,12).p=-1},v(Zn,"HyperedgeDummyMerger/lambda$2$Type",1555),m(1556,1,Mi,hq),s.If=function(n,t){T_n(u(n,37),t)},v(Zn,"HypernodesProcessor",1556),m(1557,1,Mi,dq),s.If=function(n,t){R_n(u(n,37),t)},v(Zn,"InLayerConstraintProcessor",1557),m(1558,1,Mi,FA),s.If=function(n,t){y7n(u(n,37),t)},v(Zn,"InnermostNodeMarginCalculator",1558),m(1559,1,Mi,bq),s.If=function(n,t){G$n(this,u(n,37))},s.a=Ir,s.b=Ir,s.c=Vi,s.d=Vi;var zBn=v(Zn,"InteractiveExternalPortPositioner",1559);m(1560,1,{},gq),s.Kb=function(n){return u(n,17).d.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$0$Type",1560),m(1561,1,{},wje),s.Kb=function(n){return spn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$1$Type",1561),m(1562,1,{},wq),s.Kb=function(n){return u(n,17).c.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$2$Type",1562),m(1563,1,{},pje),s.Kb=function(n){return lpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$3$Type",1563),m(1564,1,{},mje),s.Kb=function(n){return i2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$4$Type",1564),m(1565,1,{},vje),s.Kb=function(n){return r2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$5$Type",1565),m(79,23,{3:1,35:1,23:1,79:1,196:1},br),s.bg=function(){switch(this.g){case 15:return new iw;case 22:return new Hp;case 48:return new sM;case 29:case 36:return new Sq;case 33:return new d6;case 43:return new IA;case 1:return new jD;case 42:return new E5;case 57:return new ioe((Y9(),ZN));case 0:return new ioe((Y9(),Dte));case 2:return new oq;case 55:return new ED;case 34:return new lq;case 52:return new b6;case 56:return new fk;case 13:return new MD;case 39:return new hk;case 45:return new CD;case 41:return new dk;case 9:return new yC;case 50:return new yOe;case 38:return new zA;case 44:return new hq;case 28:return new dq;case 31:return new FA;case 3:return new bq;case 18:return new aq;case 30:return new pq;case 5:return new CU;case 51:return new yq;case 35:return new W6;case 37:return new xq;case 53:return new MU;case 11:return new ND;case 7:return new TU;case 40:return new Aq;case 46:return new Mq;case 16:return new Cq;case 10:return new jCe;case 49:return new Iq;case 21:return new Dq;case 23:return new JP((rg(),Cx));case 8:return new HA;case 12:return new Lq;case 4:return new ID;case 19:return new rP;case 17:return new RD;case 54:return new v6;case 6:return new Jq;case 25:return new dxe;case 26:return new uM;case 47:return new qA;case 32:return new oNe;case 14:return new UD;case 27:return new Yq;case 20:return new j6;case 24:return new JP((rg(),NH));default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var Tve,Ove,Nve,Ive,Dve,_ve,Lve,Pve,$ve,Rve,Bve,N3,AJ,MJ,zve,Fve,Jve,Hve,Gve,qve,Uve,tx,Xve,Kve,Vve,Yve,Qve,_te,CJ,TJ,Wve,OJ,NJ,IJ,p7,wm,pm,Zve,DJ,_J,e3e,LJ,PJ,n3e,t3e,i3e,r3e,$J,Lte,Cy,RJ,BJ,zJ,FJ,c3e,u3e,o3e,s3e,FBn=yt(Zn,iee,79,Tt,JUe,z2n),ain;m(1566,1,Mi,aq),s.If=function(n,t){F$n(u(n,37),t)},v(Zn,"InvertedPortProcessor",1566),m(1567,1,Mi,pq),s.If=function(n,t){zDn(u(n,37),t)},v(Zn,"LabelAndNodeSizeProcessor",1567),m(1568,1,zt,mq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"LabelAndNodeSizeProcessor/lambda$0$Type",1568),m(1569,1,zt,OD),s.Mb=function(n){return u(n,9).k==(Fn(),wr)},v(Zn,"LabelAndNodeSizeProcessor/lambda$1$Type",1569),m(1570,1,ut,BNe),s.Ad=function(n){Tgn(this.b,this.a,this.c,u(n,9))},s.a=!1,s.c=!1,v(Zn,"LabelAndNodeSizeProcessor/lambda$2$Type",1570),m(1571,1,Mi,CU),s.If=function(n,t){v$n(u(n,37),t)};var hin;v(Zn,"LabelDummyInserter",1571),m(1572,1,Sh,vq),s.Lb=function(n){return ue(C(u(n,70),(Oe(),Ih)))===ue((Ra(),H7))},s.Fb=function(n){return this===n},s.Mb=function(n){return ue(C(u(n,70),(Oe(),Ih)))===ue((Ra(),H7))},v(Zn,"LabelDummyInserter/1",1572),m(1573,1,Mi,yq),s.If=function(n,t){u$n(u(n,37),t)},v(Zn,"LabelDummyRemover",1573),m(1574,1,zt,kq),s.Mb=function(n){return Fe(ze(C(u(n,70),(Oe(),H3))))},v(Zn,"LabelDummyRemover/lambda$0$Type",1574),m(1332,1,Mi,W6),s.If=function(n,t){e$n(this,u(n,37),t)},s.a=null;var Pte;v(Zn,"LabelDummySwitcher",1332),m(294,1,{294:1},RXe),s.c=0,s.d=null,s.f=0,v(Zn,"LabelDummySwitcher/LabelDummyInfo",294),m(1333,1,{},jq),s.Kb=function(n){return q4(),new mn(null,new yn(u(n,25).a,16))},v(Zn,"LabelDummySwitcher/lambda$0$Type",1333),m(1334,1,zt,JA),s.Mb=function(n){return q4(),u(n,9).k==(Fn(),Uu)},v(Zn,"LabelDummySwitcher/lambda$1$Type",1334),m(1335,1,{},yje),s.Kb=function(n){return Upn(this.a,u(n,9))},v(Zn,"LabelDummySwitcher/lambda$2$Type",1335),m(1336,1,ut,kje),s.Ad=function(n){K3n(this.a,u(n,294))},v(Zn,"LabelDummySwitcher/lambda$3$Type",1336),m(1337,1,Yt,Eq),s.Le=function(n,t){return E3n(u(n,294),u(t,294))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"LabelDummySwitcher/lambda$4$Type",1337),m(789,1,Mi,Sq),s.If=function(n,t){x9n(u(n,37),t)},v(Zn,"LabelManagementProcessor",789),m(1575,1,Mi,xq),s.If=function(n,t){pIn(u(n,37),t)},v(Zn,"LabelSideSelector",1575),m(1583,1,Mi,ND),s.If=function(n,t){tLn(u(n,37),t)},v(Zn,"LayerConstraintPostprocessor",1583),m(1584,1,Mi,TU),s.If=function(n,t){eOn(u(n,37),t)};var l3e;v(Zn,"LayerConstraintPreprocessor",1584),m(367,23,{3:1,35:1,23:1,367:1},h$);var eI,JJ,HJ,$te,din=yt(Zn,"LayerConstraintPreprocessor/HiddenNodeConnections",367,Tt,i6n,jmn),bin;m(1585,1,Mi,Aq),s.If=function(n,t){yPn(u(n,37),t)},v(Zn,"LayerSizeAndGraphHeightCalculator",1585),m(1586,1,Mi,Mq),s.If=function(n,t){nNn(u(n,37),t)},v(Zn,"LongEdgeJoiner",1586),m(1587,1,Mi,Cq),s.If=function(n,t){YLn(u(n,37),t)},v(Zn,"LongEdgeSplitter",1587),m(1588,1,Mi,jCe),s.If=function(n,t){D$n(this,u(n,37),t)},s.e=0,s.f=0,s.j=0,s.k=0,s.n=0,s.o=0;var gin,win;v(Zn,"NodePromotion",1588),m(1589,1,Yt,Tq),s.Le=function(n,t){return Skn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"NodePromotion/1",1589),m(1590,1,Yt,Oq),s.Le=function(n,t){return xkn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"NodePromotion/2",1590),m(1591,1,{},Nq),s.Kb=function(n){return u(n,49),Y$(),$n(),!0},s.Fb=function(n){return this===n},v(Zn,"NodePromotion/lambda$0$Type",1591),m(1592,1,{},jje),s.Kb=function(n){return O4n(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$1$Type",1592),m(1593,1,{},Eje),s.Kb=function(n){return T4n(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$2$Type",1593),m(1594,1,Mi,Iq),s.If=function(n,t){jRn(u(n,37),t)},v(Zn,"NorthSouthPortPostprocessor",1594),m(1595,1,Mi,Dq),s.If=function(n,t){CRn(u(n,37),t)},v(Zn,"NorthSouthPortPreprocessor",1595),m(1596,1,Yt,_q),s.Le=function(n,t){return H7n(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"NorthSouthPortPreprocessor/lambda$0$Type",1596),m(1597,1,Mi,HA),s.If=function(n,t){v_n(u(n,37),t)},v(Zn,"PartitionMidprocessor",1597),m(1598,1,zt,m6),s.Mb=function(n){return wi(u(n,9),(Oe(),xm))},v(Zn,"PartitionMidprocessor/lambda$0$Type",1598),m(1599,1,ut,Sje),s.Ad=function(n){D5n(this.a,u(n,9))},v(Zn,"PartitionMidprocessor/lambda$1$Type",1599),m(1600,1,Mi,Lq),s.If=function(n,t){jNn(u(n,37),t)},v(Zn,"PartitionPostprocessor",1600),m(1601,1,Mi,ID),s.If=function(n,t){xDn(u(n,37),t)},v(Zn,"PartitionPreprocessor",1601),m(1602,1,zt,DD),s.Mb=function(n){return wi(u(n,9),(Oe(),xm))},v(Zn,"PartitionPreprocessor/lambda$0$Type",1602),m(1603,1,zt,_D),s.Mb=function(n){return wi(u(n,9),(Oe(),xm))},v(Zn,"PartitionPreprocessor/lambda$1$Type",1603),m(1604,1,{},LD),s.Kb=function(n){return new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Zn,"PartitionPreprocessor/lambda$2$Type",1604),m(1605,1,zt,xje),s.Mb=function(n){return hgn(this.a,u(n,17))},v(Zn,"PartitionPreprocessor/lambda$3$Type",1605),m(1606,1,ut,PD),s.Ad=function(n){tkn(u(n,17))},v(Zn,"PartitionPreprocessor/lambda$4$Type",1606),m(1607,1,zt,Aje),s.Mb=function(n){return V3n(this.a,u(n,9))},s.a=0,v(Zn,"PartitionPreprocessor/lambda$5$Type",1607),m(1608,1,Mi,rP),s.If=function(n,t){ZDn(u(n,37),t)};var f3e,pin,min,vin,a3e,h3e;v(Zn,"PortListSorter",1608),m(1609,1,{},A5),s.Kb=function(n){return i8(),u(n,12).e},v(Zn,"PortListSorter/lambda$0$Type",1609),m(1610,1,{},Pq),s.Kb=function(n){return i8(),u(n,12).g},v(Zn,"PortListSorter/lambda$1$Type",1610),m(1611,1,Yt,$q),s.Le=function(n,t){return hPe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"PortListSorter/lambda$2$Type",1611),m(1612,1,Yt,Rq),s.Le=function(n,t){return gxn(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"PortListSorter/lambda$3$Type",1612),m(1613,1,Yt,$D),s.Le=function(n,t){return fKe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"PortListSorter/lambda$4$Type",1613),m(1614,1,Mi,RD),s.If=function(n,t){oOn(u(n,37),t)},v(Zn,"PortSideProcessor",1614),m(1615,1,Mi,v6),s.If=function(n,t){aDn(u(n,37),t)},v(Zn,"ReversedEdgeRestorer",1615),m(1620,1,Mi,dxe),s.If=function(n,t){WSn(this,u(n,37),t)},v(Zn,"SelfLoopPortRestorer",1620),m(1621,1,{},y6),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPortRestorer/lambda$0$Type",1621),m(1622,1,zt,Bq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPortRestorer/lambda$1$Type",1622),m(1623,1,zt,gk),s.Mb=function(n){return wi(u(n,9),(me(),wp))},v(Zn,"SelfLoopPortRestorer/lambda$2$Type",1623),m(1624,1,{},BD),s.Kb=function(n){return u(C(u(n,9),(me(),wp)),338)},v(Zn,"SelfLoopPortRestorer/lambda$3$Type",1624),m(1625,1,ut,Mje),s.Ad=function(n){oCn(this.a,u(n,338))},v(Zn,"SelfLoopPortRestorer/lambda$4$Type",1625),m(792,1,ut,GA),s.Ad=function(n){mCn(u(n,107))},v(Zn,"SelfLoopPortRestorer/lambda$5$Type",792),m(1627,1,Mi,qA),s.If=function(n,t){fSn(u(n,37),t)},v(Zn,"SelfLoopPostProcessor",1627),m(1628,1,{},UA),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPostProcessor/lambda$0$Type",1628),m(1629,1,zt,zD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPostProcessor/lambda$1$Type",1629),m(1630,1,zt,FD),s.Mb=function(n){return wi(u(n,9),(me(),wp))},v(Zn,"SelfLoopPostProcessor/lambda$2$Type",1630),m(1631,1,ut,JD),s.Ad=function(n){bAn(u(n,9))},v(Zn,"SelfLoopPostProcessor/lambda$3$Type",1631),m(1632,1,{},zq),s.Kb=function(n){return new mn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPostProcessor/lambda$4$Type",1632),m(1633,1,ut,Cje),s.Ad=function(n){Qyn(this.a,u(n,341))},v(Zn,"SelfLoopPostProcessor/lambda$5$Type",1633),m(1634,1,zt,Fq),s.Mb=function(n){return!!u(n,107).i},v(Zn,"SelfLoopPostProcessor/lambda$6$Type",1634),m(1635,1,ut,Tje),s.Ad=function(n){Tbn(this.a,u(n,107))},v(Zn,"SelfLoopPostProcessor/lambda$7$Type",1635),m(1616,1,Mi,Jq),s.If=function(n,t){zOn(u(n,37),t)},v(Zn,"SelfLoopPreProcessor",1616),m(1617,1,{},Hq),s.Kb=function(n){return new mn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPreProcessor/lambda$0$Type",1617),m(1618,1,{},Gq),s.Kb=function(n){return u(n,341).a},v(Zn,"SelfLoopPreProcessor/lambda$1$Type",1618),m(1619,1,ut,g1),s.Ad=function(n){Nwn(u(n,17))},v(Zn,"SelfLoopPreProcessor/lambda$2$Type",1619),m(1636,1,Mi,oNe),s.If=function(n,t){GMn(this,u(n,37),t)},v(Zn,"SelfLoopRouter",1636),m(1637,1,{},k6),s.Kb=function(n){return new mn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopRouter/lambda$0$Type",1637),m(1638,1,zt,HD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopRouter/lambda$1$Type",1638),m(1639,1,zt,GD),s.Mb=function(n){return wi(u(n,9),(me(),wp))},v(Zn,"SelfLoopRouter/lambda$2$Type",1639),m(1640,1,{},qD),s.Kb=function(n){return u(C(u(n,9),(me(),wp)),338)},v(Zn,"SelfLoopRouter/lambda$3$Type",1640),m(1641,1,ut,KMe),s.Ad=function(n){M5n(this.a,this.b,u(n,338))},v(Zn,"SelfLoopRouter/lambda$4$Type",1641),m(1642,1,Mi,UD),s.If=function(n,t){rIn(u(n,37),t)},v(Zn,"SemiInteractiveCrossMinProcessor",1642),m(1643,1,zt,XA),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1643),m(1644,1,zt,qq),s.Mb=function(n){return EIe(u(n,9))._b((Oe(),Cm))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1644),m(1645,1,Yt,M5),s.Le=function(n,t){return t7n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1645),m(1646,1,{},KA),s.Te=function(n,t){return I5n(u(n,9),u(t,9))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1646),m(1648,1,Mi,j6),s.If=function(n,t){RPn(u(n,37),t)},v(Zn,"SortByInputModelProcessor",1648),m(1649,1,zt,VA),s.Mb=function(n){return u(n,12).g.c.length!=0},v(Zn,"SortByInputModelProcessor/lambda$0$Type",1649),m(1650,1,ut,Oje),s.Ad=function(n){ECn(this.a,u(n,12))},v(Zn,"SortByInputModelProcessor/lambda$1$Type",1650),m(1729,804,{},PBe),s.bf=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new Te,er(li(new mn(null,new yn(this.c.a.b,16)),new ZD),new ZMe(this,t)),UO(this,new fv),Ao(t,new C5),t.c.length=0,er(li(new mn(null,new yn(this.c.a.b,16)),new YA),new Ije(t)),UO(this,new KD),Ao(t,new av),t.c.length=0,i=LTe(GY(C2(new mn(null,new yn(this.c.a.b,16)),new Dje(this))),new VD),er(new mn(null,new yn(this.c.a.a,16)),new YMe(i,t)),UO(this,new QD),Ao(t,new Uq),t.c.length=0;break;case 3:r=new Te,UO(this,new XD),c=LTe(GY(C2(new mn(null,new yn(this.c.a.b,16)),new Nje(this))),new YD),er(li(new mn(null,new yn(this.c.a.b,16)),new Xq),new WMe(c,r)),UO(this,new Kq),Ao(r,new WD),r.c.length=0;break;default:throw R(new nxe)}},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation",1729),m(1730,1,Sh,XD),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1730),m(1731,1,{},Nje),s.We=function(n){return YCn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1731),m(1739,1,iF,VMe),s.be=function(){XE(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1739),m(1741,1,Sh,fv),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1741),m(1742,1,ut,C5),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1742),m(1743,1,zt,YA),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1743),m(1745,1,ut,Ije),s.Ad=function(n){Bjn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1745),m(1744,1,iF,tCe),s.be=function(){XE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1744),m(1746,1,Sh,KD),s.Lb=function(n){return X(u(n,60).g,9)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1746),m(1747,1,ut,av),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1747),m(1748,1,{},Dje),s.We=function(n){return QCn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1748),m(1749,1,{},VD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1749),m(1732,1,{},YD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1732),m(1751,1,ut,YMe),s.Ad=function(n){g3n(this.a,this.b,u(n,320))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1751),m(1750,1,iF,QMe),s.be=function(){hUe(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1750),m(1752,1,Sh,QD),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1752),m(1753,1,ut,Uq),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1753),m(1733,1,zt,Xq),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1733),m(1735,1,ut,WMe),s.Ad=function(n){w3n(this.a,this.b,u(n,60))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1735),m(1734,1,iF,iCe),s.be=function(){XE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1734),m(1736,1,Sh,Kq),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1736),m(1737,1,ut,WD),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1737),m(1738,1,zt,ZD),s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1738),m(1740,1,ut,ZMe),s.Ad=function(n){x8n(this.a,this.b,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1740),m(1547,1,Mi,yOe),s.If=function(n,t){ZLn(this,u(n,37),t)};var yin;v(lr,"HorizontalGraphCompactor",1547),m(1548,1,{},_je),s.df=function(n,t){var i,r,c;return yhe(n,t)||(i=Xv(n),r=Xv(t),i&&i.k==(Fn(),wr)||r&&r.k==(Fn(),wr))?0:(c=u(C(this.a.a,(me(),z3)),316),hpn(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},s.ef=function(n,t){var i,r,c;return yhe(n,t)?1:(i=Xv(n),r=Xv(t),c=u(C(this.a.a,(me(),z3)),316),ale(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},v(lr,"HorizontalGraphCompactor/1",1548),m(1549,1,{},QA),s.cf=function(n,t){return Cj(),n.a.i==0},v(lr,"HorizontalGraphCompactor/lambda$0$Type",1549),m(1550,1,{},Lje),s.cf=function(n,t){return L5n(this.a,n,t)},v(lr,"HorizontalGraphCompactor/lambda$1$Type",1550),m(1696,1,{},bRe);var kin,jin;v(lr,"LGraphToCGraphTransformer",1696),m(1704,1,zt,h0),s.Mb=function(n){return n!=null},v(lr,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1704),m(1697,1,{},wk),s.Kb=function(n){return il(),fu(C(u(u(n,60).g,9),(me(),mi)))},v(lr,"LGraphToCGraphTransformer/lambda$0$Type",1697),m(1698,1,{},ld),s.Kb=function(n){return il(),CFe(u(u(n,60).g,156))},v(lr,"LGraphToCGraphTransformer/lambda$1$Type",1698),m(1707,1,zt,T5),s.Mb=function(n){return il(),X(u(n,60).g,9)},v(lr,"LGraphToCGraphTransformer/lambda$10$Type",1707),m(1708,1,ut,WA),s.Ad=function(n){A5n(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$11$Type",1708),m(1709,1,zt,pk),s.Mb=function(n){return il(),X(u(n,60).g,156)},v(lr,"LGraphToCGraphTransformer/lambda$12$Type",1709),m(1713,1,ut,mk),s.Ad=function(n){rjn(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$13$Type",1713),m(1710,1,ut,Pje),s.Ad=function(n){own(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$14$Type",1710),m(1711,1,ut,$je),s.Ad=function(n){lwn(this.a,u(n,119))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$15$Type",1711),m(1712,1,ut,Rje),s.Ad=function(n){swn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$16$Type",1712),m(1714,1,{},ZA),s.Kb=function(n){return il(),new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$17$Type",1714),m(1715,1,zt,hv),s.Mb=function(n){return il(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$18$Type",1715),m(1716,1,ut,Bje),s.Ad=function(n){n8n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$19$Type",1716),m(1700,1,ut,zje),s.Ad=function(n){Oyn(this.a,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$2$Type",1700),m(1717,1,{},e_),s.Kb=function(n){return il(),new mn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$20$Type",1717),m(1718,1,{},vk),s.Kb=function(n){return il(),new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$21$Type",1718),m(1719,1,{},O5),s.Kb=function(n){return il(),u(C(u(n,17),(me(),Eg)),16)},v(lr,"LGraphToCGraphTransformer/lambda$22$Type",1719),m(1720,1,zt,Vq),s.Mb=function(n){return dpn(u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$23$Type",1720),m(1721,1,ut,Fje),s.Ad=function(n){WCn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$24$Type",1721),m(1722,1,{},w1),s.Kb=function(n){return il(),new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$25$Type",1722),m(1723,1,zt,eM),s.Mb=function(n){return il(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$26$Type",1723),m(1725,1,ut,Jje),s.Ad=function(n){K8n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$27$Type",1725),m(1724,1,ut,Hje),s.Ad=function(n){egn(this.a,u(n,70))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$28$Type",1724),m(1699,1,ut,eCe),s.Ad=function(n){O6n(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$3$Type",1699),m(1701,1,{},nw),s.Kb=function(n){return il(),new mn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$4$Type",1701),m(1702,1,{},n_),s.Kb=function(n){return il(),new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$5$Type",1702),m(1703,1,{},yk),s.Kb=function(n){return il(),u(C(u(n,17),(me(),Eg)),16)},v(lr,"LGraphToCGraphTransformer/lambda$6$Type",1703),m(1705,1,ut,Gje),s.Ad=function(n){lTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$8$Type",1705),m(1706,1,ut,nCe),s.Ad=function(n){Iwn(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$9$Type",1706),m(1695,1,{},dv),s.af=function(n){var t,i,r,c,o;for(this.a=n,this.d=new wX,this.c=le(Yme,Nn,124,this.a.a.a.c.length,0,1),this.b=0,i=new P(this.a.a.a);i.a=D&&(Ce(o,ve(p)),V=k.Math.max(V,te[p-1]-y),f+=O,B+=te[p-1]-B,y=te[p-1],O=h[p]),O=k.Math.max(O,h[p]),++p;f+=O}A=k.Math.min(1/V,1/t.b/f),A>r&&(r=A,i=o)}return i},s.ng=function(){return!1},v(Ah,"MSDCutIndexHeuristic",803),m(1647,1,Mi,Yq),s.If=function(n,t){iLn(u(n,37),t)},v(Ah,"SingleEdgeGraphWrapper",1647),m(231,23,{3:1,35:1,23:1,231:1},Lj);var D3,y7,k7,vm,ix,_3,j7=yt(Tu,"CenterEdgeLabelPlacementStrategy",231,Tt,M9n,q2n),_in;m(422,23,{3:1,35:1,23:1,422:1},dse);var b3e,Kte,g3e=yt(Tu,"ConstraintCalculationStrategy",422,Tt,Q5n,U2n),Lin;m(301,23,{3:1,35:1,23:1,301:1,188:1,196:1},b$),s.bg=function(){return kUe(this)},s.og=function(){return kUe(this)};var tI,rx,w3e,p3e,m3e=yt(Tu,"CrossingMinimizationStrategy",301,Tt,r6n,X2n),Pin;m(350,23,{3:1,35:1,23:1,350:1},VX);var v3e,Vte,KJ,y3e=yt(Tu,"CuttingStrategy",350,Tt,F4n,K2n),$in;m(267,23,{3:1,35:1,23:1,267:1,188:1,196:1},Nv),s.bg=function(){return xXe(this)},s.og=function(){return xXe(this)};var Yte,k3e,Qte,Wte,Zte,eie,nie,tie,iI,j3e=yt(Tu,"CycleBreakingStrategy",267,Tt,F8n,V2n),Rin;m(419,23,{3:1,35:1,23:1,419:1},bse);var VJ,E3e,S3e=yt(Tu,"DirectionCongruency",419,Tt,W5n,Y2n),Bin;m(449,23,{3:1,35:1,23:1,449:1},QX);var E7,iie,L3,zin=yt(Tu,"EdgeConstraint",449,Tt,J4n,Q2n),Fin;m(284,23,{3:1,35:1,23:1,284:1},Rj);var rie,cie,uie,oie,YJ,sie,x3e=yt(Tu,"EdgeLabelSideSelection",284,Tt,C9n,W2n),Jin;m(476,23,{3:1,35:1,23:1,476:1},gse);var QJ,A3e,M3e=yt(Tu,"EdgeStraighteningStrategy",476,Tt,Z5n,Z2n),Hin;m(282,23,{3:1,35:1,23:1,282:1},Pj);var lie,C3e,T3e,WJ,O3e,N3e,I3e=yt(Tu,"FixedAlignment",282,Tt,T9n,emn),Gin;m(283,23,{3:1,35:1,23:1,283:1},$j);var D3e,_3e,L3e,P3e,cx,$3e,R3e=yt(Tu,"GraphCompactionStrategy",283,Tt,O9n,nmn),qin;m(261,23,{3:1,35:1,23:1,261:1},h2);var S7,ZJ,x7,Kl,ux,eH,A7,P3,nH,ox,fie=yt(Tu,"GraphProperties",261,Tt,b7n,tmn),Uin;m(302,23,{3:1,35:1,23:1,302:1},WX);var rI,aie,hie,die=yt(Tu,"GreedySwitchType",302,Tt,H4n,imn),Xin;m(329,23,{3:1,35:1,23:1,329:1},ZX);var ym,B3e,cI,bie=yt(Tu,"GroupOrderStrategy",329,Tt,G4n,rmn),Kin;m(315,23,{3:1,35:1,23:1,315:1},eK);var Ty,uI,$3,Vin=yt(Tu,"InLayerConstraint",315,Tt,q4n,cmn),Yin;m(420,23,{3:1,35:1,23:1,420:1},wse);var gie,z3e,F3e=yt(Tu,"InteractiveReferencePoint",420,Tt,e4n,umn),Qin,J3e,Oy,dp,oI,tH,H3e,G3e,iH,q3e,Ny,rH,sx,Iy,K1,wie,cH,Iu,U3e,ob,po,pie,mie,sI,jg,bp,Dy,X3e,Win,_y,lI,km,Ea,gf,vie,R3,sb,Oi,mi,K3e,V3e,Y3e,Q3e,W3e,yie,uH,vs,gp,kie,Ly,lx,qd,B3,wp,z3,F3,M7,Eg,Z3e,jie,Eie,fx,Py,oH,$y,J3;m(165,23,{3:1,35:1,23:1,165:1},fT);var ax,V1,hx,Sg,fI,e5e=yt(Tu,"LayerConstraint",165,Tt,Z6n,omn),Zin;m(423,23,{3:1,35:1,23:1,423:1},pse);var Sie,xie,n5e=yt(Tu,"LayerUnzippingStrategy",423,Tt,n4n,smn),ern;m(843,1,Ua,xC),s.tf=function(n){nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,gwe),""),"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."),b5e),(lg(),Bi)),S3e),rn((vh(),Tn))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,wwe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),($n(),!1)),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,wF),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),y5e),Bi),F3e),rn(Tn)))),qi(n,wF,IN,rcn),qi(n,wF,CS,icn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,pwe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,mwe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(tgn(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,vwe),""),"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),xr),Qi),rn(Yd)),F(z(He,1),Ae,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ywe),""),"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."),N5e),Bi),J4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,kwe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),ve(7)),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,jwe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Ewe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,IN),"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)."),d5e),Bi),j3e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,DN),Ree),"Node Layering Strategy"),"Strategy for node layering."),E5e),Bi),O4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Swe),Ree),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),k5e),Bi),e5e),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,xwe),Ree),"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."),null),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Awe),Ree),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ve(-1)),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,uee),OQe),"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."),ve(4)),dc),jr),rn(Tn)))),qi(n,uee,DN,acn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,oee),OQe),"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."),ve(2)),dc),jr),rn(Tn)))),qi(n,oee,DN,dcn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,see),NQe),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),j5e),Bi),B4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,lee),NQe),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),ve(0)),dc),jr),rn(Tn)))),qi(n,lee,see,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,fee),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),ve(oi)),dc),jr),rn(Tn)))),qi(n,fee,DN,ucn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,CS),Q8),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),h5e),Bi),m3e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Mwe),Q8),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,aee),Q8),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),ec),gr),rn(Tn)))),qi(n,aee,TF,Orn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,hee),Q8),"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),xr),Qi),rn(Tn)))),qi(n,hee,CS,Prn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Cwe),Q8),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),Gy),He),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Twe),Q8),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),Gy),He),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Owe),Q8),"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."),null),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Nwe),Q8),"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."),ve(-1)),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Iwe),IQe),"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."),ve(40)),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,dee),IQe),"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."),a5e),Bi),die),rn(Tn)))),qi(n,dee,CS,Crn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,pF),"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."),f5e),Bi),die),rn(Tn)))),qi(n,pF,CS,xrn),qi(n,pF,TF,Arn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,j3),DQe),"Node Placement Strategy"),"Strategy for node placement."),O5e),Bi),_4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,mF),DQe),"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."),xr),Qi),rn(Tn)))),qi(n,mF,j3,Ocn),qi(n,mF,j3,Ncn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,bee),_Qe),"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."),M5e),Bi),M3e),rn(Tn)))),qi(n,bee,j3,Acn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,gee),_Qe),"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."),C5e),Bi),I3e),rn(Tn)))),qi(n,gee,j3,Ccn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,wee),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),ec),gr),rn(Tn)))),qi(n,wee,j3,Dcn),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,pee),"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."),Bi),Wie),rn(fr)))),qi(n,pee,j3,$cn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,mee),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),T5e),Bi),Wie),rn(Tn)))),qi(n,mee,j3,Pcn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Dwe),LQe),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),p5e),Bi),q4e),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,_we),LQe),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),m5e),Bi),U4e),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,vF),"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."),v5e),Bi),K4e),rn(Tn)))),qi(n,vF,LN,Xrn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,yF),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),ec),gr),rn(Tn)))),qi(n,yF,LN,Vrn),qi(n,yF,vF,Yrn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,vee),"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),ec),gr),rn(Tn)))),qi(n,vee,LN,Hrn),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Lwe),Ka),"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."),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Pwe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,$we),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Rwe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Bwe),Qwe),"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."),ve(0)),dc),jr),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,zwe),Qwe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),ve(0)),dc),jr),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Fwe),Qwe),"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."),ve(0)),dc),jr),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,yee),Wwe),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),xr),Qi),rn(Tn)))),qi(n,yee,jS,!0),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Jwe),PQe),"Post Compaction Strategy"),$Qe),i5e),Bi),R3e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Hwe),PQe),"Post Compaction Constraint Calculation"),$Qe),t5e),Bi),g3e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,kF),Zwe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,kee),Zwe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),ve(16)),dc),jr),rn(Tn)))),qi(n,kee,kF,!0),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,jee),Zwe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),ve(5)),dc),jr),rn(Tn)))),qi(n,jee,kF,!0),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,q1),epe),"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'."),_5e),Bi),W4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,jF),epe),"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),ec),gr),rn(Tn)))),qi(n,jF,q1,Ycn),qi(n,jF,q1,Qcn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,EF),epe),"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),ec),gr),rn(Tn)))),qi(n,EF,q1,Zcn),qi(n,EF,q1,eun),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,TS),RQe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),D5e),Bi),y3e),rn(Tn)))),qi(n,TS,q1,uun),qi(n,TS,q1,oun),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Eee),RQe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),Za),gl),rn(Tn)))),qi(n,Eee,TS,tun),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,See),"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."),I5e),dc),jr),rn(Tn)))),qi(n,See,TS,run),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,SF),BQe),"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."),L5e),Bi),Q4e),rn(Tn)))),qi(n,SF,q1,vun),qi(n,SF,q1,yun),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,xF),BQe),"Valid Indices for Wrapping"),null),Za),gl),rn(Tn)))),qi(n,xF,q1,wun),qi(n,xF,q1,pun),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,AF),npe),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),xr),Qi),rn(Tn)))),qi(n,AF,q1,aun),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,MF),npe),"Distance Penalty When Improving Cuts"),null),2),ec),gr),rn(Tn)))),qi(n,MF,q1,lun),qi(n,MF,AF,!0),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,xee),npe),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),xr),Qi),rn(Tn)))),qi(n,xee,q1,dun),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Aee),Bee),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),A5e),Bi),n5e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Mee),Bee),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),xr),Qi),rn(fr)))),qi(n,Mee,Cee,vcn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Cee),Bee),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),S5e),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Tee),Bee),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),x5e),xr),Qi),rn(fr)))),qi(n,Tee,Aee,kcn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Gwe),zee),"Edge Label Side Selection"),"Method to decide on edge label sides."),w5e),Bi),x3e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,qwe),zee),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),g5e),Bi),j7),Ci(Tn,F(z(Wa,1),je,160,0,[Q1]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,CF),OS),"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."),l5e),Bi),F4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Uwe),OS),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,_N),OS),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xr),Qi),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Oee),OS),"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."),r5e),Bi),yve),rn(Tn)))),qi(n,Oee,jS,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Xwe),OS),"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."),s5e),Bi),I4e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Nee),OS),"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),ec),gr),rn(Tn)))),qi(n,Nee,CF,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Iee),OS),"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),ec),gr),rn(Tn)))),qi(n,Iee,CF,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Dee),W8),tpe),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ve(0)),dc),jr),rn(fr)))),qi(n,Dee,_N,!1),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,_ee),W8),tpe),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ve(0)),dc),jr),Ci(fr,F(z(Wa,1),je,160,0,[xa,Yd]))))),qi(n,_ee,_N,!1),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Lee),W8),tpe),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ve(0)),dc),jr),Ci(fr,F(z(Wa,1),je,160,0,[xa,Yd]))))),qi(n,Lee,_N,!1),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Kwe),W8),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),c5e),Bi),bie),rn(Tn)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Pee),W8),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),dc),jr),rn(Tn)))),qi(n,Pee,IN,frn),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,$ee),W8),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),dc),jr),rn(Tn)))),qi(n,$ee,IN,hrn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Vwe),W8),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),o5e),Bi),bie),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Ywe),W8),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),u5e),Za),gl),rn(Tn)))),cYe((new NU,n))};var nrn,trn,irn,t5e,rrn,i5e,crn,r5e,urn,orn,srn,c5e,lrn,frn,arn,hrn,drn,u5e,brn,o5e,grn,wrn,prn,mrn,s5e,vrn,yrn,krn,l5e,jrn,Ern,Srn,f5e,xrn,Arn,Mrn,a5e,Crn,Trn,Orn,Nrn,Irn,Drn,_rn,Lrn,Prn,$rn,h5e,Rrn,d5e,Brn,b5e,zrn,g5e,Frn,w5e,Jrn,Hrn,Grn,p5e,qrn,m5e,Urn,v5e,Xrn,Krn,Vrn,Yrn,Qrn,Wrn,Zrn,ecn,ncn,tcn,y5e,icn,rcn,ccn,ucn,ocn,scn,k5e,lcn,fcn,acn,hcn,dcn,bcn,gcn,j5e,wcn,E5e,pcn,S5e,mcn,vcn,ycn,x5e,kcn,jcn,A5e,Ecn,Scn,xcn,M5e,Acn,Mcn,C5e,Ccn,Tcn,Ocn,Ncn,Icn,Dcn,_cn,Lcn,T5e,Pcn,$cn,Rcn,O5e,Bcn,N5e,zcn,Fcn,Jcn,Hcn,Gcn,qcn,Ucn,Xcn,Kcn,Vcn,Ycn,Qcn,Wcn,Zcn,eun,nun,tun,iun,I5e,run,cun,D5e,uun,oun,sun,lun,fun,aun,hun,dun,bun,_5e,gun,wun,pun,mun,L5e,vun,yun;v(Tu,"LayeredMetaDataProvider",843),m(982,1,Ua,NU),s.tf=function(n){cYe(n)};var Nh,Aie,sH,dx,lH,P5e,fH,bx,aI,Mie,Ry,$5e,R5e,B5e,gx,kun,wx,jm,Cie,aH,Tie,o1,Oie,C7,z5e,hI,Nie,F5e,jun,Eun,Sun,hH,Iie,px,By,xun,wl,J5e,H5e,dH,H3,Ih,bH,Y1,G5e,q5e,U5e,Die,_ie,X5e,Ud,Lie,K5e,Em,V5e,Y5e,Q5e,gH,Sm,xg,W5e,Z5e,Wc,e4e,Aun,ku,mx,n4e,t4e,i4e,dI,wH,pH,Pie,$ie,r4e,mH,c4e,u4e,vH,pp,o4e,Rie,vx,s4e,mp,yx,yH,Ag,Bie,T7,kH,Mg,l4e,f4e,a4e,xm,h4e,Mun,Cun,Tun,Oun,vp,Am,Zi,Xd,Nun,Mm,d4e,O7,b4e,Cm,Iun,N7,g4e,zy,Dun,_un,bI,zie,w4e,gI,Kf,Tm,G3,Cg,lb,jH,Om,Fie,I7,D7,Tg,Nm,Jie,wI,kx,jx,Lun,Pun,$un,p4e,Run,Hie,m4e,v4e,y4e,k4e,Gie,j4e,E4e,S4e,x4e,qie,EH;v(Tu,"LayeredOptions",982),m(983,1,{},Qq),s.uf=function(){var n;return n=new rxe,n},s.vf=function(n){},v(Tu,"LayeredOptions/LayeredFactory",983),m(1345,1,{}),s.a=0;var Bun;v($u,"ElkSpacings/AbstractSpacingsBuilder",1345),m(778,1345,{},tde);var SH,zun;v(Tu,"LayeredSpacings/LayeredSpacingsBuilder",778),m(268,23,{3:1,35:1,23:1,268:1,188:1,196:1},Iv),s.bg=function(){return kXe(this)},s.og=function(){return kXe(this)};var Uie,Xie,Kie,A4e,M4e,C4e,xH,Vie,T4e,O4e=yt(Tu,"LayeringStrategy",268,Tt,J8n,lmn),Fun;m(352,23,{3:1,35:1,23:1,352:1},nK);var Yie,N4e,AH,I4e=yt(Tu,"LongEdgeOrderingStrategy",352,Tt,U4n,fmn),Jun;m(203,23,{3:1,35:1,23:1,203:1},g$);var q3,U3,MH,Qie,Wie=yt(Tu,"NodeFlexibility",203,Tt,c6n,amn),Hun;m(328,23,{3:1,35:1,23:1,328:1,188:1,196:1},aT),s.bg=function(){return lUe(this)},s.og=function(){return lUe(this)};var Ex,Zie,ere,Sx,D4e,_4e=yt(Tu,"NodePlacementStrategy",328,Tt,W6n,hmn),Gun;m(243,23,{3:1,35:1,23:1,243:1},d2);var L4e,_7,xx,pI,P4e,$4e,mI,R4e,CH,TH,B4e=yt(Tu,"NodePromotionStrategy",243,Tt,d7n,dmn),qun;m(269,23,{3:1,35:1,23:1,269:1},w$);var z4e,fb,nre,tre,F4e=yt(Tu,"OrderingStrategy",269,Tt,u6n,bmn),Uun;m(421,23,{3:1,35:1,23:1,421:1},mse);var ire,rre,J4e=yt(Tu,"PortSortingStrategy",421,Tt,t4n,gmn),Xun;m(452,23,{3:1,35:1,23:1,452:1},tK);var ys,Io,Ax,Kun=yt(Tu,"PortType",452,Tt,X4n,wmn),Vun;m(381,23,{3:1,35:1,23:1,381:1},iK);var H4e,cre,G4e,q4e=yt(Tu,"SelfLoopDistributionStrategy",381,Tt,K4n,pmn),Yun;m(348,23,{3:1,35:1,23:1,348:1},rK);var ure,vI,ore,U4e=yt(Tu,"SelfLoopOrderingStrategy",348,Tt,V4n,mmn),Qun;m(316,1,{316:1},iVe),v(Tu,"Spacings",316),m(349,23,{3:1,35:1,23:1,349:1},cK);var sre,X4e,Mx,K4e=yt(Tu,"SplineRoutingMode",349,Tt,Y4n,vmn),Wun;m(351,23,{3:1,35:1,23:1,351:1},uK);var lre,V4e,Y4e,Q4e=yt(Tu,"ValidifyStrategy",351,Tt,Q4n,ymn),Zun;m(382,23,{3:1,35:1,23:1,382:1},oK);var Im,fre,L7,W4e=yt(Tu,"WrappingStrategy",382,Tt,W4n,kmn),eon;m(1361,1,oc,SC),s.pg=function(n){return u(n,37),non},s.If=function(n,t){FPn(this,u(n,37),t)};var non;v(tp,"BFSNodeOrderCycleBreaker",1361),m(1359,1,oc,cP),s.pg=function(n){return u(n,37),ton},s.If=function(n,t){PLn(this,u(n,37),t)};var ton;v(tp,"DFSNodeOrderCycleBreaker",1359),m(1360,1,ut,RNe),s.Ad=function(n){RDn(this.a,this.c,this.b,u(n,17))},s.b=!1,v(tp,"DFSNodeOrderCycleBreaker/lambda$0$Type",1360),m(1353,1,oc,Z6),s.pg=function(n){return u(n,37),ion},s.If=function(n,t){LLn(this,u(n,37),t)};var ion;v(tp,"DepthFirstCycleBreaker",1353),m(779,1,oc,Afe),s.pg=function(n){return u(n,37),ron},s.If=function(n,t){tBn(this,u(n,37),t)},s.qg=function(n){return u(Le(n,fz(this.e,n.c.length)),9)};var ron;v(tp,"GreedyCycleBreaker",779),m(1356,779,oc,xCe),s.qg=function(n){var t,i,r,c,o,l,f,h,b;for(b=null,r=oi,h=k.Math.max(this.b.a.c.length,u(C(this.b,(me(),sb)),15).a),t=h*u(C(this.b,oI),15).a,c=new A6,i=ue(C(this.b,(Oe(),Ry)))===ue(($0(),ym)),f=new P(n);f.ao&&(r=o,b=l));return b||u(Le(n,fz(this.e,n.c.length)),9)},v(tp,"GreedyModelOrderCycleBreaker",1356),m(505,1,{},A6),s.a=0,s.b=0,v(tp,"GroupModelOrderCalculator",505),m(1354,1,oc,tj),s.pg=function(n){return u(n,37),con},s.If=function(n,t){sPn(this,u(n,37),t)};var con;v(tp,"InteractiveCycleBreaker",1354),m(1355,1,oc,nj),s.pg=function(n){return u(n,37),uon},s.If=function(n,t){fPn(u(n,37),t)};var uon;v(tp,"ModelOrderCycleBreaker",1355),m(780,1,oc),s.pg=function(n){return u(n,37),oon},s.If=function(n,t){W_n(this,u(n,37),t)},s.rg=function(n,t){var i,r,c,o,l,f,h,b,p,y;for(l=0;lb&&(h=S,y=b),pha(new Xn(Qn(Ii(f).a.Jc(),new ee))))for(c=new Xn(Qn(cr(h).a.Jc(),new ee));ht(c);)r=u(ct(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ee));ht(c);)r=u(ct(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(tp,"SCCNodeTypeCycleBreaker",1358),m(1357,780,oc,MCe),s.rg=function(n,t){var i,r,c,o,l,f,h,b,p,y,S,A;for(l=0;lb&&(h=S,y=b),pha(new Xn(Qn(Ii(f).a.Jc(),new ee))))for(c=new Xn(Qn(cr(h).a.Jc(),new ee));ht(c);)r=u(ct(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ee));ht(c);)r=u(ct(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(tp,"SCConnectivity",1357),m(1373,1,oc,EC),s.pg=function(n){return u(n,37),son},s.If=function(n,t){uRn(this,u(n,37),t)};var son;v(U1,"BreadthFirstModelOrderLayerer",1373),m(1374,1,Yt,fM),s.Le=function(n,t){return qCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(U1,"BreadthFirstModelOrderLayerer/lambda$0$Type",1374),m(1364,1,oc,OMe),s.pg=function(n){return u(n,37),lon},s.If=function(n,t){oBn(this,u(n,37),t)};var lon;v(U1,"CoffmanGrahamLayerer",1364),m(1365,1,Yt,Zje),s.Le=function(n,t){return WNn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(U1,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1365),m(1366,1,Yt,eEe),s.Le=function(n,t){return d3n(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(U1,"CoffmanGrahamLayerer/lambda$1$Type",1366),m(1375,1,oc,jC),s.pg=function(n){return u(n,37),fon},s.If=function(n,t){XRn(this,u(n,37),t)},s.c=0,s.e=0;var fon;v(U1,"DepthFirstModelOrderLayerer",1375),m(1376,1,Yt,M6),s.Le=function(n,t){return UCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(U1,"DepthFirstModelOrderLayerer/lambda$0$Type",1376),m(1367,1,oc,C6),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Xf),(Ur(),_te)),c1,pm),eo,wm)},s.If=function(n,t){pRn(u(n,37),t)},v(U1,"InteractiveLayerer",1367),m(564,1,{564:1},hxe),s.a=0,s.c=0,v(U1,"InteractiveLayerer/LayerSpan",564),m(1363,1,oc,oP),s.pg=function(n){return u(n,37),aon},s.If=function(n,t){UNn(this,u(n,37),t)};var aon;v(U1,"LongestPathLayerer",1363),m(1372,1,oc,sP),s.pg=function(n){return u(n,37),hon},s.If=function(n,t){dIn(this,u(n,37),t)};var hon;v(U1,"LongestPathSourceLayerer",1372),m(1370,1,oc,ko),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)},s.If=function(n,t){MRn(this,u(n,37),t)},s.a=0,s.b=0,s.d=0;var Z4e,eye;v(U1,"MinWidthLayerer",1370),m(1371,1,Yt,nEe),s.Le=function(n,t){return _7n(this,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(U1,"MinWidthLayerer/MinOutgoingEdgesComparator",1371),m(1362,1,oc,uP),s.pg=function(n){return u(n,37),don},s.If=function(n,t){GPn(this,u(n,37),t)};var don;v(U1,"NetworkSimplexLayerer",1362),m(1368,1,oc,cNe),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Xf),(Ur(),N3)),c1,pm),eo,wm)},s.If=function(n,t){T$n(this,u(n,37),t)},s.d=0,s.f=0,s.g=0,s.i=0,s.s=0,s.t=0,s.u=0,v(U1,"StretchWidthLayerer",1368),m(1369,1,Yt,Zq),s.Le=function(n,t){return b9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(U1,"StretchWidthLayerer/1",1369),m(406,1,Bpe),s.eg=function(n,t,i,r,c,o){},s.tg=function(n,t,i){return QXe(this,n,t,i)},s.dg=function(){this.g=le(Ym,HQe,30,this.d,15,1),this.f=le(Ym,HQe,30,this.d,15,1)},s.fg=function(n,t){this.e[n]=le($t,ni,30,t[n].length,15,1)},s.gg=function(n,t,i){var r;r=i[n][t],r.p=t,this.e[n][t]=t},s.hg=function(n,t,i,r){u(Le(r[n][t].j,i),12).p=this.d++},s.b=0,s.c=0,s.d=0,v(Ro,"AbstractBarycenterPortDistributor",406),m(1663,1,Yt,tEe),s.Le=function(n,t){return JEn(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ro,"AbstractBarycenterPortDistributor/lambda$0$Type",1663),m(816,1,MS,Dae),s.eg=function(n,t,i,r,c,o){},s.gg=function(n,t,i){},s.hg=function(n,t,i,r){},s.cg=function(){return!1},s.dg=function(){this.c=this.e.a,this.g=this.f.g},s.fg=function(n,t){t[n][0].c.p=n},s.ig=function(){return!1},s.ug=function(n,t,i,r){i?JHe(this,n):(KHe(this,n,r),bVe(this,n,t)),n.c.length>1&&(Fe(ze(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),C7))))?yUe(n,this.d,u(this,660)):(En(),Tr(n,this.d)),fze(this.e,n))},s.jg=function(n,t,i,r){var c,o,l,f,h,b,p;for(t!=xIe(i,n.length)&&(o=n[t-(i?1:-1)],rhe(this.f,o,i?(Nc(),Io):(Nc(),ys))),c=n[t][0],p=!r||c.k==(Fn(),wr),b=Pf(n[t]),this.ug(b,p,!1,i),l=0,h=new P(b);h.a"),n0?GV(this.a,n[t-1],n[t]):!i&&t1&&(Fe(ze(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),C7))))?yUe(n,this.d,this):(En(),Tr(n,this.d)),Fe(ze(C(_r((kn(0,n.c.length),u(n.c[0],9))),C7)))||fze(this.e,n))},v(Ro,"ModelOrderBarycenterHeuristic",660),m(1843,1,Yt,fEe),s.Le=function(n,t){return xLn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Ro,"ModelOrderBarycenterHeuristic/lambda$0$Type",1843),m(1383,1,oc,fP),s.pg=function(n){var t;return u(n,37),t=L$(kon),qt(t,(zr(),eo),(Ur(),$J)),t},s.If=function(n,t){F5n((u(n,37),t))};var kon;v(Ro,"NoCrossingMinimizer",1383),m(796,406,Bpe,Roe),s.sg=function(n,t,i){var r,c,o,l,f,h,b,p,y,S,A;switch(y=this.g,i.g){case 1:{for(c=0,o=0,p=new P(n.j);p.a1&&(c.j==(Ie(),nt)?this.b[n]=!0:c.j==Yn&&n>0&&(this.b[n-1]=!0))},s.f=0,v(i1,"AllCrossingsCounter",1838),m(583,1,{},CB),s.b=0,s.d=0,v(i1,"BinaryIndexedTree",583),m(519,1,{},NT);var nye,IH;v(i1,"CrossingsCounter",519),m(1912,1,Yt,aEe),s.Le=function(n,t){return i3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(i1,"CrossingsCounter/lambda$0$Type",1912),m(1913,1,Yt,hEe),s.Le=function(n,t){return r3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(i1,"CrossingsCounter/lambda$1$Type",1913),m(1914,1,Yt,dEe),s.Le=function(n,t){return c3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(i1,"CrossingsCounter/lambda$2$Type",1914),m(1915,1,Yt,bEe),s.Le=function(n,t){return u3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(i1,"CrossingsCounter/lambda$3$Type",1915),m(1916,1,ut,gEe),s.Ad=function(n){Q9n(this.a,u(n,12))},v(i1,"CrossingsCounter/lambda$4$Type",1916),m(1917,1,zt,wEe),s.Mb=function(n){return Ggn(this.a,u(n,12))},v(i1,"CrossingsCounter/lambda$5$Type",1917),m(1918,1,ut,pEe),s.Ad=function(n){nTe(this,n)},v(i1,"CrossingsCounter/lambda$6$Type",1918),m(1919,1,ut,uCe),s.Ad=function(n){var t;C9(),I0(this.b,(t=this.a,u(n,12),t))},v(i1,"CrossingsCounter/lambda$7$Type",1919),m(823,1,Sh,bM),s.Lb=function(n){return C9(),wi(u(n,12),(me(),vs))},s.Fb=function(n){return this===n},s.Mb=function(n){return C9(),wi(u(n,12),(me(),vs))},v(i1,"CrossingsCounter/lambda$8$Type",823),m(1911,1,{},mEe),v(i1,"HyperedgeCrossingsCounter",1911),m(467,1,{35:1,467:1},uNe),s.Dd=function(n){return NEn(this,u(n,467))},s.b=0,s.c=0,s.e=0,s.f=0;var JBn=v(i1,"HyperedgeCrossingsCounter/Hyperedge",467);m(370,1,{35:1,370:1},CR),s.Dd=function(n){return SOn(this,u(n,370))},s.b=0,s.c=0;var jon=v(i1,"HyperedgeCrossingsCounter/HyperedgeCorner",370);m(518,23,{3:1,35:1,23:1,518:1},vse);var Tx,Ox,Eon=yt(i1,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",518,Tt,i4n,xmn),Son;m(1385,1,oc,OU),s.pg=function(n){return u(C(u(n,37),(me(),po)),22).Gc((Ic(),Kl))?xon:null},s.If=function(n,t){eAn(this,u(n,37),t)};var xon;v(Lc,"InteractiveNodePlacer",1385),m(1386,1,oc,CC),s.pg=function(n){return u(C(u(n,37),(me(),po)),22).Gc((Ic(),Kl))?Aon:null},s.If=function(n,t){zSn(this,u(n,37),t)};var Aon,DH,_H;v(Lc,"LinearSegmentsNodePlacer",1386),m(263,1,{35:1,263:1},poe),s.Dd=function(n){return rgn(this,u(n,263))},s.Fb=function(n){var t;return X(n,263)?(t=u(n,263),this.b==t.b):!1},s.Hb=function(){return this.b},s.Ib=function(){return"ls"+Ja(this.e)},s.a=0,s.b=0,s.c=-1,s.d=-1,s.g=0;var Mon=v(Lc,"LinearSegmentsNodePlacer/LinearSegment",263);m(1388,1,oc,LIe),s.pg=function(n){return u(C(u(n,37),(me(),po)),22).Gc((Ic(),Kl))?Con:null},s.If=function(n,t){KRn(this,u(n,37),t)},s.b=0,s.g=0;var Con;v(Lc,"NetworkSimplexPlacer",1388),m(1407,1,Yt,gv),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Lc,"NetworkSimplexPlacer/0methodref$compare$Type",1407),m(1409,1,Yt,hM),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Lc,"NetworkSimplexPlacer/1methodref$compare$Type",1409),m(644,1,{644:1},oCe);var HBn=v(Lc,"NetworkSimplexPlacer/EdgeRep",644);m(405,1,{405:1},cae),s.b=!1;var GBn=v(Lc,"NetworkSimplexPlacer/NodeRep",405);m(500,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,500:1},mxe),v(Lc,"NetworkSimplexPlacer/Path",500),m(1389,1,{},jk),s.Kb=function(n){return u(n,17).d.i.k},v(Lc,"NetworkSimplexPlacer/Path/lambda$0$Type",1389),m(1390,1,zt,l_),s.Mb=function(n){return u(n,249)==(Fn(),dr)},v(Lc,"NetworkSimplexPlacer/Path/lambda$1$Type",1390),m(1391,1,{},f_),s.Kb=function(n){return u(n,17).d.i},v(Lc,"NetworkSimplexPlacer/Path/lambda$2$Type",1391),m(1392,1,zt,vEe),s.Mb=function(n){return UOe(cJe(u(n,9)))},v(Lc,"NetworkSimplexPlacer/Path/lambda$3$Type",1392),m(1393,1,zt,R5),s.Mb=function(n){return Gvn(u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$0$Type",1393),m(1394,1,ut,sCe),s.Ad=function(n){Pwn(this.a,this.b,u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$1$Type",1394),m(1403,1,ut,yEe),s.Ad=function(n){aTn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$10$Type",1403),m(1404,1,{},dM),s.Kb=function(n){return rl(),new mn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$11$Type",1404),m(1405,1,ut,kEe),s.Ad=function(n){qIn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$12$Type",1405),m(1406,1,{},Ek),s.Kb=function(n){return rl(),ve(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$13$Type",1406),m(1408,1,{},Sk),s.Kb=function(n){return rl(),ve(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$15$Type",1408),m(1410,1,zt,a_),s.Mb=function(n){return rl(),u(n,405).c.k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$17$Type",1410),m(1411,1,zt,h_),s.Mb=function(n){return rl(),u(n,405).c.j.c.length>1},v(Lc,"NetworkSimplexPlacer/lambda$18$Type",1411),m(1412,1,ut,JDe),s.Ad=function(n){nEn(this.c,this.b,this.d,this.a,u(n,405))},s.c=0,s.d=0,v(Lc,"NetworkSimplexPlacer/lambda$19$Type",1412),m(1395,1,{},wv),s.Kb=function(n){return rl(),new mn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$2$Type",1395),m(1413,1,ut,jEe),s.Ad=function(n){zwn(this.a,u(n,12))},s.a=0,v(Lc,"NetworkSimplexPlacer/lambda$20$Type",1413),m(1414,1,{},pv),s.Kb=function(n){return rl(),new mn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$21$Type",1414),m(1415,1,ut,EEe),s.Ad=function(n){Uwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$22$Type",1415),m(1416,1,zt,d_),s.Mb=function(n){return UOe(n)},v(Lc,"NetworkSimplexPlacer/lambda$23$Type",1416),m(1417,1,{},B5),s.Kb=function(n){return rl(),new mn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$24$Type",1417),m(1418,1,zt,SEe),s.Mb=function(n){return Zgn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$25$Type",1418),m(1419,1,ut,lCe),s.Ad=function(n){bCn(this.a,this.b,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$26$Type",1419),m(1420,1,zt,T6),s.Mb=function(n){return rl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$27$Type",1420),m(1421,1,zt,xk),s.Mb=function(n){return rl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$28$Type",1421),m(1422,1,{},xEe),s.Te=function(n,t){return Bwn(this.a,u(n,25),u(t,25))},v(Lc,"NetworkSimplexPlacer/lambda$29$Type",1422),m(1396,1,{},O6),s.Kb=function(n){return rl(),new mn(null,new A2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Lc,"NetworkSimplexPlacer/lambda$3$Type",1396),m(1397,1,zt,Ak),s.Mb=function(n){return rl(),Fyn(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$4$Type",1397),m(1398,1,ut,AEe),s.Ad=function(n){eLn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$5$Type",1398),m(1399,1,{},b_),s.Kb=function(n){return rl(),new mn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$6$Type",1399),m(1400,1,zt,mv),s.Mb=function(n){return rl(),u(n,9).k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$7$Type",1400),m(1401,1,{},g_),s.Kb=function(n){return rl(),new mn(null,new A2(new Xn(Qn(wh(u(n,9)).a.Jc(),new ee))))},v(Lc,"NetworkSimplexPlacer/lambda$8$Type",1401),m(1402,1,zt,qp),s.Mb=function(n){return rl(),Jvn(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$9$Type",1402),m(1384,1,oc,TC),s.pg=function(n){return u(C(u(n,37),(me(),po)),22).Gc((Ic(),Kl))?Ton:null},s.If=function(n,t){ILn(u(n,37),t)};var Ton;v(Lc,"SimpleNodePlacer",1384),m(185,1,{185:1},b3),s.Ib=function(){var n;return n="",this.c==(dh(),yp)?n+=gy:this.c==Kd&&(n+=by),this.o==(Da(),Og)?n+=KZ:this.o==Qa?n+="UP":n+="BALANCED",n},v(eb,"BKAlignedLayout",185),m(509,23,{3:1,35:1,23:1,509:1},yse);var Kd,yp,Oon=yt(eb,"BKAlignedLayout/HDirection",509,Tt,c4n,Amn),Non;m(508,23,{3:1,35:1,23:1,508:1},kse);var Og,Qa,Ion=yt(eb,"BKAlignedLayout/VDirection",508,Tt,r4n,Mmn),Don;m(1664,1,{},fCe),v(eb,"BKAligner",1664),m(1667,1,{},NHe),v(eb,"BKCompactor",1667),m(652,1,{652:1},gM),s.a=0,v(eb,"BKCompactor/ClassEdge",652),m(456,1,{456:1},bxe),s.a=null,s.b=0,v(eb,"BKCompactor/ClassNode",456),m(1387,1,oc,SCe),s.pg=function(n){return u(C(u(n,37),(me(),po)),22).Gc((Ic(),Kl))?_on:null},s.If=function(n,t){aBn(this,u(n,37),t)},s.d=!1;var _on;v(eb,"BKNodePlacer",1387),m(1665,1,{},wM),s.d=0,v(eb,"NeighborhoodInformation",1665),m(1666,1,Yt,MEe),s.Le=function(n,t){return h8n(this,u(n,49),u(t,49))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(eb,"NeighborhoodInformation/NeighborComparator",1666),m(809,1,{}),v(eb,"ThresholdStrategy",809),m(1795,809,{},vxe),s.vg=function(n,t,i){return this.a.o==(Da(),Qa)?Vi:Ir},s.wg=function(){},v(eb,"ThresholdStrategy/NullThresholdStrategy",1795),m(576,1,{576:1},dCe),s.c=!1,s.d=!1,v(eb,"ThresholdStrategy/Postprocessable",576),m(1796,809,{},yxe),s.vg=function(n,t,i){var r,c,o;return c=t==i,r=this.a.a[i.p]==t,c||r?(o=n,this.a.c==(dh(),yp)?(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))):(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))),o):n},s.wg=function(){for(var n,t,i,r,c;this.d.b!=0;)c=u(M_e(this.d),576),r=dKe(this,c),r.a&&(n=r.a,i=Fe(this.a.f[this.a.g[c.b.p].p]),!(!i&&!uc(n)&&n.c.i.c==n.d.i.c)&&(t=gUe(this,c),t||yTe(this.e,c)));for(;this.e.a.c.length!=0;)gUe(this,u(T1e(this.e),576))},v(eb,"ThresholdStrategy/SimpleThresholdStrategy",1796),m(635,1,{635:1,188:1,196:1},Up),s.bg=function(){return lze(this)},s.og=function(){return lze(this)};var are;v(Uee,"EdgeRouterFactory",635),m(1445,1,oc,LU),s.pg=function(n){return jIn(u(n,37))},s.If=function(n,t){FLn(u(n,37),t)};var Lon,Pon,$on,Ron,Bon,tye,zon,Fon;v(Uee,"OrthogonalEdgeRouter",1445),m(1438,1,oc,ECe),s.pg=function(n){return lAn(u(n,37))},s.If=function(n,t){fRn(this,u(n,37),t)};var Jon,Hon,Gon,qon,kI,Uon;v(Uee,"PolylineEdgeRouter",1438),m(1439,1,Sh,Xp),s.Lb=function(n){return u1e(u(n,9))},s.Fb=function(n){return this===n},s.Mb=function(n){return u1e(u(n,9))},v(Uee,"PolylineEdgeRouter/1",1439),m(1851,1,zt,N6),s.Mb=function(n){return u(n,133).c==(da(),ab)},v(ya,"HyperEdgeCycleDetector/lambda$0$Type",1851),m(1852,1,{},pM),s.Xe=function(n){return u(n,133).d},v(ya,"HyperEdgeCycleDetector/lambda$1$Type",1852),m(1853,1,zt,mM),s.Mb=function(n){return u(n,133).c==(da(),ab)},v(ya,"HyperEdgeCycleDetector/lambda$2$Type",1853),m(1854,1,{},I6),s.Xe=function(n){return u(n,133).d},v(ya,"HyperEdgeCycleDetector/lambda$3$Type",1854),m(1855,1,{},D6),s.Xe=function(n){return u(n,133).d},v(ya,"HyperEdgeCycleDetector/lambda$4$Type",1855),m(1856,1,{},w_),s.Xe=function(n){return u(n,133).d},v(ya,"HyperEdgeCycleDetector/lambda$5$Type",1856),m(116,1,{35:1,116:1},yO),s.Dd=function(n){return cgn(this,u(n,116))},s.Fb=function(n){var t;return X(n,116)?(t=u(n,116),this.g==t.g):!1},s.Hb=function(){return this.g},s.Ib=function(){var n,t,i,r;for(n=new tl("{"),r=new P(this.n);r.a"+this.b+" ("+jpn(this.c)+")"},s.d=0,v(ya,"HyperEdgeSegmentDependency",133),m(515,23,{3:1,35:1,23:1,515:1},jse);var ab,Dm,Xon=yt(ya,"HyperEdgeSegmentDependency/DependencyType",515,Tt,u4n,Cmn),Kon;m(1857,1,{},CEe),v(ya,"HyperEdgeSegmentSplitter",1857),m(1858,1,{},bAe),s.a=0,s.b=0,v(ya,"HyperEdgeSegmentSplitter/AreaRating",1858),m(340,1,{340:1},WK),s.a=0,s.b=0,s.c=0,v(ya,"HyperEdgeSegmentSplitter/FreeArea",340),m(1859,1,Yt,p_),s.Le=function(n,t){return b2n(u(n,116),u(t,116))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(ya,"HyperEdgeSegmentSplitter/lambda$0$Type",1859),m(1860,1,ut,HDe),s.Ad=function(n){N6n(this.a,this.d,this.c,this.b,u(n,116))},s.b=0,v(ya,"HyperEdgeSegmentSplitter/lambda$1$Type",1860),m(1861,1,{},z5),s.Kb=function(n){return new mn(null,new yn(u(n,116).e,16))},v(ya,"HyperEdgeSegmentSplitter/lambda$2$Type",1861),m(1862,1,{},Mk),s.Kb=function(n){return new mn(null,new yn(u(n,116).j,16))},v(ya,"HyperEdgeSegmentSplitter/lambda$3$Type",1862),m(1863,1,{},m_),s.We=function(n){return ne(re(n))},v(ya,"HyperEdgeSegmentSplitter/lambda$4$Type",1863),m(653,1,{},EV),s.a=0,s.b=0,s.c=0,v(ya,"OrthogonalRoutingGenerator",653),m(1668,1,{},vM),s.Kb=function(n){return new mn(null,new yn(u(n,116).e,16))},v(ya,"OrthogonalRoutingGenerator/lambda$0$Type",1668),m(1669,1,{},yM),s.Kb=function(n){return new mn(null,new yn(u(n,116).j,16))},v(ya,"OrthogonalRoutingGenerator/lambda$1$Type",1669),m(661,1,{}),v(Xee,"BaseRoutingDirectionStrategy",661),m(1849,661,{},kxe),s.xg=function(n,t,i){var r,c,o,l,f,h,b,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t+n.o*i,b=new P(n.n);b.axh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Vw(this,l,c,r,!1),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Vw(this,l,c,r,!1),o=t+S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Vw(this,l,c,r,!1)),r=new Ee(D,o),Vt(l.a,r),Vw(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),bt},s.Ag=function(){return Ie(),Vn},v(Xee,"NorthToSouthRoutingStrategy",1849),m(1850,661,{},jxe),s.xg=function(n,t,i){var r,c,o,l,f,h,b,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t-n.o*i,b=new P(n.n);b.axh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Vw(this,l,c,r,!1),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Vw(this,l,c,r,!1),o=t-S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Vw(this,l,c,r,!1)),r=new Ee(D,o),Vt(l.a,r),Vw(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),Vn},s.Ag=function(){return Ie(),bt},v(Xee,"SouthToNorthRoutingStrategy",1850),m(1848,661,{},Exe),s.xg=function(n,t,i){var r,c,o,l,f,h,b,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t+n.o*i,b=new P(n.n);b.axh&&(o=p,c=n,r=new Ee(o,y),Vt(l.a,r),Vw(this,l,c,r,!0),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(o,A),Vt(l.a,r),Vw(this,l,c,r,!0),o=t+S.o*i,c=S,r=new Ee(o,A),Vt(l.a,r),Vw(this,l,c,r,!0)),r=new Ee(o,D),Vt(l.a,r),Vw(this,l,c,r,!0)))},s.yg=function(n){return n.i.n.b+n.n.b+n.a.b},s.zg=function(){return Ie(),nt},s.Ag=function(){return Ie(),Yn},v(Xee,"WestToEastRoutingStrategy",1848),m(812,1,{},fge),s.Ib=function(){return Ja(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,v(lm,"NubSpline",812),m(410,1,{410:1},YUe,x_e),v(lm,"NubSpline/PolarCP",410),m(1440,1,oc,kHe),s.pg=function(n){return YAn(u(n,37))},s.If=function(n,t){ORn(this,u(n,37),t)};var Von,Yon,Qon,Won,Zon;v(lm,"SplineEdgeRouter",1440),m(273,1,{273:1},ZR),s.Ib=function(){return this.a+" ->("+this.c+") "+this.b},s.c=0,v(lm,"SplineEdgeRouter/Dependency",273),m(454,23,{3:1,35:1,23:1,454:1},Ese);var hb,X3,esn=yt(lm,"SplineEdgeRouter/SideToProcess",454,Tt,o4n,Tmn),nsn;m(1441,1,zt,p1),s.Mb=function(n){return rS(),!u(n,132).o},v(lm,"SplineEdgeRouter/lambda$0$Type",1441),m(1442,1,{},bd),s.Xe=function(n){return rS(),u(n,132).v+1},v(lm,"SplineEdgeRouter/lambda$1$Type",1442),m(1443,1,ut,aCe),s.Ad=function(n){Xvn(this.a,this.b,u(n,49))},v(lm,"SplineEdgeRouter/lambda$2$Type",1443),m(1444,1,ut,hCe),s.Ad=function(n){Kvn(this.a,this.b,u(n,49))},v(lm,"SplineEdgeRouter/lambda$3$Type",1444),m(132,1,{35:1,132:1},rqe,wge),s.Dd=function(n){return ugn(this,u(n,132))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,v(lm,"SplineSegment",132),m(457,1,{457:1},Kp),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,v(lm,"SplineSegment/EdgeInformation",457),m(1167,1,{},kM),v(X1,twe,1167),m(1168,1,Yt,v_),s.Le=function(n,t){return STn(u(n,120),u(t,120))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(X1,eQe,1168),m(1166,1,{},LAe),v(X1,"MrTree",1166),m(398,23,{3:1,35:1,23:1,398:1,188:1,196:1},m$),s.bg=function(){return Mqe(this)},s.og=function(){return Mqe(this)};var LH,Nx,Ix,Dx,iye=yt(X1,"TreeLayoutPhases",398,Tt,l6n,Omn),tsn;m(1082,214,ep,sNe),s.kf=function(n,t){var i,r,c,o,l,f,h,b;for(Fe(ze(ke(n,(Mu(),Cye))))||qT((i=new dj((Rb(),new v0(n))),i)),l=t.dh(Yee),l.Tg("build tGraph",1),f=(h=new ZT,Pu(h,n),he(h,(Ti(),Lx),n),b=new wt,u_n(n,h,b),E_n(n,h,b),h),l.Ug(),l=t.dh(Yee),l.Tg("Split graph",1),o=h_n(this.a,f),l.Ug(),c=new P(o);c.a"+Yb(this.c):"e_"+Ni(this)},v(NS,"TEdge",65),m(120,150,{3:1,120:1,105:1,150:1},ZT),s.Ib=function(){var n,t,i,r,c;for(c=null,r=St(this.b,0);r.b!=r.d.c;)i=u(jt(r),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` -`;for(t=St(this.a,0);t.b!=t.d.c;)n=u(jt(t),65),c+=(n.b&&n.c?Yb(n.b)+"->"+Yb(n.c):"e_"+Ni(n))+` -`;return c};var qBn=v(NS,"TGraph",120);m(633,494,{3:1,494:1,633:1,105:1,150:1}),v(NS,"TShape",633),m(40,633,{3:1,494:1,40:1,633:1,105:1,150:1},tQ),s.Ib=function(){return Yb(this)};var PH=v(NS,"TNode",40);m(236,1,Zh,S1),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=St(this.a.d,0),new Cv(n)},v(NS,"TNode/2",236),m(334,1,Fr,Cv),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(jt(this.a),65).c},s.Ob=function(){return WC(this.a)},s.Qb=function(){OY(this.a)},v(NS,"TNode/2/1",334),m(1893,1,Mi,vo),s.If=function(n,t){uBn(this,u(n,120),t)},v(go,"CompactionProcessor",1893),m(1894,1,Yt,DEe),s.Le=function(n,t){return I7n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$0$Type",1894),m(1895,1,zt,gCe),s.Mb=function(n){return K5n(this.b,this.a,u(n,49))},s.a=0,s.b=0,v(go,"CompactionProcessor/lambda$1$Type",1895),m(1904,1,Yt,Ml),s.Le=function(n,t){return F3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$10$Type",1904),m(1905,1,Yt,Tk),s.Le=function(n,t){return fpn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$11$Type",1905),m(1906,1,Yt,F5),s.Le=function(n,t){return J3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$12$Type",1906),m(1896,1,zt,_Ee),s.Mb=function(n){return Ywn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$2$Type",1896),m(1897,1,zt,LEe),s.Mb=function(n){return Qwn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$3$Type",1897),m(1898,1,zt,vv),s.Mb=function(n){return u(n,40).c.indexOf(_F)==-1},v(go,"CompactionProcessor/lambda$4$Type",1898),m(1899,1,{},PEe),s.Kb=function(n){return Byn(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$5$Type",1899),m(Q0,1,{},$Ee),s.Kb=function(n){return Z9n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$6$Type",Q0),m(1901,1,Yt,REe),s.Le=function(n,t){return o9n(this.a,u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$7$Type",1901),m(1902,1,Yt,BEe),s.Le=function(n,t){return s9n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$8$Type",1902),m(1903,1,Yt,Ok),s.Le=function(n,t){return apn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(go,"CompactionProcessor/lambda$9$Type",1903),m(1891,1,Mi,_6),s.If=function(n,t){tDn(u(n,120),t)},v(go,"DirectionProcessor",1891),m(1883,1,Mi,lNe),s.If=function(n,t){j_n(this,u(n,120),t)},v(go,"FanProcessor",1883),m(1251,1,Mi,J5),s.If=function(n,t){wXe(u(n,120),t)},v(go,"GraphBoundsProcessor",1251),m(1252,1,{},eU),s.We=function(n){return u(n,40).e.a},v(go,"GraphBoundsProcessor/lambda$0$Type",1252),m(1253,1,{},Bs),s.We=function(n){return u(n,40).e.b},v(go,"GraphBoundsProcessor/lambda$1$Type",1253),m(1254,1,{},jM),s.We=function(n){return Ign(u(n,40))},v(go,"GraphBoundsProcessor/lambda$2$Type",1254),m(1255,1,{},EM),s.We=function(n){return Dgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$3$Type",1255),m(264,23,{3:1,35:1,23:1,264:1,196:1},mw),s.bg=function(){switch(this.g){case 0:return new $xe;case 1:return new lNe;case 2:return new Pxe;case 3:return new xM;case 4:return new k_;case 8:return new y_;case 5:return new _6;case 6:return new sh;case 7:return new vo;case 9:return new J5;case 10:return new el;default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var rye,cye,uye,oye,sye,lye,fye,aye,hye,dye,hre,UBn=yt(go,iee,264,Tt,sze,Nmn),isn;m(1890,1,Mi,y_),s.If=function(n,t){rRn(u(n,120),t)},v(go,"LevelCoordinatesProcessor",1890),m(1888,1,Mi,k_),s.If=function(n,t){ANn(this,u(n,120),t)},s.a=0,v(go,"LevelHeightProcessor",1888),m(1889,1,Zh,nU),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),v9(),g7},v(go,"LevelHeightProcessor/1",1889),m(1884,1,Mi,Pxe),s.If=function(n,t){BIn(this,u(n,120),t)},v(go,"LevelProcessor",1884),m(1885,1,zt,SM),s.Mb=function(n){return Fe(ze(C(u(n,40),(Ti(),db))))},v(go,"LevelProcessor/lambda$0$Type",1885),m(1886,1,Mi,xM),s.If=function(n,t){_Cn(this,u(n,120),t)},s.a=0,v(go,"NeighborsProcessor",1886),m(1887,1,Zh,AM),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),v9(),g7},v(go,"NeighborsProcessor/1",1887),m(1892,1,Mi,sh),s.If=function(n,t){y_n(this,u(n,120),t)},s.a=0,v(go,"NodePositionProcessor",1892),m(1882,1,Mi,$xe),s.If=function(n,t){cPn(this,u(n,120),t)},v(go,"RootProcessor",1882),m(1907,1,Mi,el),s.If=function(n,t){jSn(u(n,120),t)},v(go,"Untreeifyer",1907),m(385,23,{3:1,35:1,23:1,385:1},lK);var jI,dre,bye,gye=yt($N,"EdgeRoutingMode",385,Tt,iyn,Imn),rsn,EI,P7,bre,wye,pye,gre,wre,mye,pre,vye,mre,_x,vre,$H,RH,Vf,Sa,$7,Lx,Px,Vd,yye,csn,yre,db,SI,xI;m(846,1,Ua,MC),s.tf=function(n){nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Jpe),""),YQe),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),($n(),!1)),(lg(),xr)),Qi),rn((vh(),Tn))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Hpe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Gpe),""),"Tree Level"),"The index for the tree level the node is in"),ve(0)),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,qpe),""),YQe),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),ve(-1)),dc),jr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Upe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),Eye),Bi),Lye),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Xpe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),kye),Bi),gye),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Kpe),""),"Search Order"),"Which search order to use when computing a spanning tree."),jye),Bi),$ye),rn(Tn)))),zVe((new hP,n))};var usn,osn,ssn,kye,lsn,fsn,jye,asn,hsn,Eye;v($N,"MrTreeMetaDataProvider",846),m(990,1,Ua,hP),s.tf=function(n){zVe(n)};var dsn,Sye,xye,kp,Aye,Mye,kre,bsn,gsn,wsn,psn,msn,vsn,ysn,Cye,Tye,Oye,ksn,K3,BH,Nye,jsn,Iye,jre,Esn,Ssn,xsn,Dye,Asn,Dh,_ye;v($N,"MrTreeOptions",990),m(991,1,{},Nk),s.uf=function(){var n;return n=new sNe,n},s.vf=function(n){},v($N,"MrTreeOptions/MrtreeFactory",991),m(353,23,{3:1,35:1,23:1,353:1},v$);var Ere,zH,Sre,xre,Lye=yt($N,"OrderWeighting",353,Tt,d6n,Dmn),Msn;m(425,23,{3:1,35:1,23:1,425:1},Sse);var Pye,Are,$ye=yt($N,"TreeifyingOrder",425,Tt,s4n,_mn),Csn;m(1446,1,oc,DU),s.pg=function(n){return u(n,120),Tsn},s.If=function(n,t){s7n(this,u(n,120),t)};var Tsn;v("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1446),m(1447,1,oc,lP),s.pg=function(n){return u(n,120),Osn},s.If=function(n,t){HIn(this,u(n,120),t)};var Osn;v(Z8,"NodeOrderer",1447),m(1454,1,{},tU),s.rd=function(n){return aIe(n)},v(Z8,"NodeOrderer/0methodref$lambda$6$Type",1454),m(1448,1,zt,x_),s.Mb=function(n){return H4(),Fe(ze(C(u(n,40),(Ti(),db))))},v(Z8,"NodeOrderer/lambda$0$Type",1448),m(1449,1,zt,A_),s.Mb=function(n){return H4(),u(C(u(n,40),(Mu(),K3)),15).a<0},v(Z8,"NodeOrderer/lambda$1$Type",1449),m(1450,1,zt,FEe),s.Mb=function(n){return V8n(this.a,u(n,40))},v(Z8,"NodeOrderer/lambda$2$Type",1450),m(1451,1,zt,zEe),s.Mb=function(n){return zyn(this.a,u(n,40))},v(Z8,"NodeOrderer/lambda$3$Type",1451),m(1452,1,Yt,OM),s.Le=function(n,t){return b8n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Z8,"NodeOrderer/lambda$4$Type",1452),m(1453,1,zt,M_),s.Mb=function(n){return H4(),u(C(u(n,40),(Ti(),wre)),15).a!=0},v(Z8,"NodeOrderer/lambda$5$Type",1453),m(1455,1,oc,_U),s.pg=function(n){return u(n,120),Nsn},s.If=function(n,t){VDn(this,u(n,120),t)},s.b=0;var Nsn;v("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1455),m(1456,1,oc,AC),s.pg=function(n){return u(n,120),Isn},s.If=function(n,t){ODn(u(n,120),t)};var Isn,XBn=v(Qs,"EdgeRouter",1456);m(1458,1,Yt,Ik),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/0methodref$compare$Type",1458),m(1463,1,{},MM),s.We=function(n){return ne(re(n))},v(Qs,"EdgeRouter/1methodref$doubleValue$Type",1463),m(1465,1,Yt,uw),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/2methodref$compare$Type",1465),m(1467,1,Yt,Dk),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/3methodref$compare$Type",1467),m(1469,1,{},L6),s.We=function(n){return ne(re(n))},v(Qs,"EdgeRouter/4methodref$doubleValue$Type",1469),m(1471,1,Yt,CM),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/5methodref$compare$Type",1471),m(1473,1,Yt,TM),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/6methodref$compare$Type",1473),m(1457,1,{},j_),s.Kb=function(n){return P1(),u(C(u(n,40),(Mu(),Dh)),15)},v(Qs,"EdgeRouter/lambda$0$Type",1457),m(1468,1,{},E_),s.Kb=function(n){return Epn(u(n,40))},v(Qs,"EdgeRouter/lambda$11$Type",1468),m(1470,1,{},pCe),s.Kb=function(n){return qvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$13$Type",1470),m(1472,1,{},wCe),s.Kb=function(n){return Apn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$15$Type",1472),m(1474,1,Yt,S_),s.Le=function(n,t){return eSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/lambda$17$Type",1474),m(1475,1,Yt,iU),s.Le=function(n,t){return nSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/lambda$18$Type",1475),m(1476,1,Yt,C_),s.Le=function(n,t){return iSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/lambda$19$Type",1476),m(1459,1,zt,JEe),s.Mb=function(n){return E4n(this.a,u(n,40))},s.a=0,v(Qs,"EdgeRouter/lambda$2$Type",1459),m(1477,1,Yt,T_),s.Le=function(n,t){return tSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/lambda$20$Type",1477),m(1460,1,Yt,O_),s.Le=function(n,t){return _vn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/lambda$3$Type",1460),m(1461,1,Yt,NM),s.Le=function(n,t){return Lvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"EdgeRouter/lambda$4$Type",1461),m(1462,1,{},N_),s.Kb=function(n){return Spn(u(n,40))},v(Qs,"EdgeRouter/lambda$5$Type",1462),m(1464,1,{},mCe),s.Kb=function(n){return Uvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$7$Type",1464),m(1466,1,{},vCe),s.Kb=function(n){return xpn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$9$Type",1466),m(662,1,{662:1},fHe),s.e=0,s.f=!1,s.g=!1,v(Qs,"MultiLevelEdgeNodeNodeGap",662),m(1864,1,Yt,I_),s.Le=function(n,t){return P4n(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1864),m(1865,1,Yt,D_),s.Le=function(n,t){return $4n(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1865);var V3;m(487,23,{3:1,35:1,23:1,487:1,188:1,196:1},xse),s.bg=function(){return KFe(this)},s.og=function(){return KFe(this)};var FH,Y3,Rye=yt(Vpe,"RadialLayoutPhases",487,Tt,l4n,Lmn),Dsn;m(1083,214,ep,RAe),s.kf=function(n,t){var i,r,c,o,l,f;if(i=UUe(this,n),t.Tg("Radial layout",i.c.length),Fe(ze(ke(n,(q0(),Vye))))||qT((r=new dj((Rb(),new v0(n))),r)),f=ZAn(n),Ei(n,(Gv(),V3),f),!f)throw R(new Un("The given graph is not a tree!"));for(c=ne(re(ke(n,GH))),c==0&&(c=yqe(n)),Ei(n,GH,c),l=new P(UUe(this,n));l.a=3)for(fe=u(K(te,0),26),De=u(K(te,1),26),o=0;o+2=fe.f+De.f+p||De.f>=be.f+fe.f+p){un=!0;break}else++o;else un=!0;if(!un){for(S=te.i,f=new st(te);f.e!=f.i.gc();)l=u(ft(f),26),Ei(l,(Xt(),RI),ve(S)),--S;jKe(n,new s4),t.Ug();return}for(i=(zT(this.a),aa(this.a,(ez(),$x),u(ke(n,A6e),188)),aa(this.a,qH,u(ke(n,y6e),188)),aa(this.a,Rre,u(ke(n,E6e),188)),Fse(this.a,(On=new or,qt(On,$x,(Ez(),Fre)),qt(On,qH,zre),Fe(ze(ke(n,m6e)))&&qt(On,$x,Jre),Fe(ze(ke(n,p6e)))&&qt(On,$x,Bre),On)),uN(this.a,n)),b=1/i.c.length,O=new P(i);O.a0&&wFe((Wn(t-1,n.length),n.charCodeAt(t-1)),hQe);)--t;if(r>=t)throw R(new Un("The given string does not contain any numbers."));if(c=nm((Qr(r,t,n.length),n.substr(r,t-r)),`,|;|\r| -`),c.length!=2)throw R(new Un("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=K2(V2(c[0])),this.b=K2(V2(c[1]))}catch(o){throw o=sr(o),X(o,131)?(i=o,R(new Un(dQe+i))):R(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var Lr=v(NN,"KVector",8);m(78,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,78:1,414:1},xs,XP,IOe),s.Nc=function(){return Okn(this)},s.ag=function(n){var t,i,r,c,o,l;r=nm(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),qs(this);try{for(i=0,o=0,c=0,l=0;i0&&(o%2==0?c=K2(r[i]):l=K2(r[i]),o>0&&o%2!=0&&Vt(this,new Ee(c,l)),++o),++i}catch(f){throw f=sr(f),X(f,131)?(t=f,R(new Un("The given string does not match the expected format for vectors."+t))):R(f)}},s.Ib=function(){var n,t,i;for(n=new tl("("),t=St(this,0);t.b!=t.d.c;)i=u(jt(t),8),Kt(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var l9e=v(NN,"KVectorChain",78);m(256,23,{3:1,35:1,23:1,256:1},Bj);var lce,nG,tG,NI,II,iG,f9e=yt(Oo,"Alignment",256,Tt,N9n,svn),bfn;m(975,1,Ua,NC),s.tf=function(n){cKe(n)};var a9e,fce,gfn,h9e,d9e,wfn,b9e,pfn,mfn,g9e,w9e,vfn;v(Oo,"BoxLayouterOptions",975),m(976,1,{},UM),s.uf=function(){var n;return n=new bL,n},s.vf=function(n){},v(Oo,"BoxLayouterOptions/BoxFactory",976),m(299,23,{3:1,35:1,23:1,299:1},zj);var qx,ace,Ux,Xx,Kx,hce,dce=yt(Oo,"ContentAlignment",299,Tt,I9n,lvn),yfn;m(689,1,Ua,OC),s.tf=function(n){nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,mWe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(lg(),Gy)),He),rn((vh(),Tn))))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,vWe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Za),YBn),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ppe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),p9e),Bi),f9e),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,U8),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,N2e),""),"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."),Za),l9e),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,OF),""),"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."),v9e),Hy),dce),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,PN),""),"Debug Mode"),"Whether additional debug information shall be generated."),($n(),!1)),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Jee),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),y9e),Bi),Yx),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,LN),""),"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."),E9e),Bi),Mce),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,T2e),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,TF),""),"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`."),x9e),Bi),b8e),Ci(Tn,F(z(Wa,1),je,160,0,[fr]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,sm),""),"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."),P9e),Za),jve),Ci(Tn,F(z(Wa,1),je,160,0,[fr]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ES),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,IF),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,SS),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ZZ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),F9e),Bi),p8e),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,NF),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Za),Lr),Ci(fr,F(z(Wa,1),je,160,0,[Yd,Q1]))))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,xN),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),dc),jr),Ci(fr,F(z(Wa,1),je,160,0,[xa]))))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,fF),""),"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)."),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,jS),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Cpe),""),"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."),C9e),Za),l9e),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Ipe),""),"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),xr),Qi),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Dpe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xr),Qi),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,EBn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Za),tzn),Ci(Tn,F(z(Wa,1),je,160,0,[Q1]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,yWe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),ec),gr),rn(Q1)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Lpe),""),"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."),T9e),Za),kve),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,gpe),""),"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),xr),Qi),Ci(fr,F(z(Wa,1),je,160,0,[xa,Yd,Q1]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,kWe),""),"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),ec),gr),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,jWe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,EWe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,AN),""),dWe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),xr),Qi),rn(Tn)))),qi(n,AN,np,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,SWe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,xWe),""),"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'."),ve(100)),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,AWe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,MWe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),ve(4e3)),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,CWe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),ve(400)),dc),jr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,TWe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,OWe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,NWe),""),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,IWe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,O2e),"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."),m9e),Bi),O8e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,DWe),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),M9e),Bi),y8e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,_We),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),A9e),Bi),n8e),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ipe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,rpe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,cpe),Ka),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,upe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,WZ),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Fee),Ka),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ope),Ka),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,fpe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,spe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,lpe),Ka),"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),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,om),Ka),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ape),Ka),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),ec),gr),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,hpe),Ka),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),ec),gr),Ci(Tn,F(z(Wa,1),je,160,0,[fr]))))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,dpe),Ka),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Za),wan),Ci(fr,F(z(Wa,1),je,160,0,[xa,Yd,Q1]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Ppe),Ka),"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."),Q9e),Za),kve),rn(Tn)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Gee),$We),"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)."),dc),jr),Ci(Tn,F(z(Wa,1),je,160,0,[fr]))))),qi(n,Gee,Hee,Ifn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Hee),$We),"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."),$9e),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,ype),RWe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),N9e),Za),jve),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,K8),RWe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),I9e),Hy),$c),Ci(fr,F(z(Wa,1),je,160,0,[Q1]))))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Epe),zF),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),B9e),Bi),eA),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Spe),zF),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Bi),eA),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,xpe),zF),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Bi),eA),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Ape),zF),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Bi),eA),rn(fr)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Mpe),zF),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Bi),eA),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,k3),gne),"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."),D9e),Hy),iA),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,py),gne),"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."),L9e),Hy),k8e),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,my),gne),"Node Size Minimum"),"The minimal size to which a node can be reduced."),_9e),Za),Lr),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,X8),gne),"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),xr),Qi),rn(Tn)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Ope),zee),"Edge Label Placement"),"Gives a hint on where to put edge labels."),k9e),Bi),t8e),rn(Q1)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,aF),zee),"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),xr),Qi),rn(Q1)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,SBn),"font"),"Font Name"),"Font name used for a label."),Gy),He),rn(Q1)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,LWe),"font"),"Font Size"),"Font size used for a label."),dc),jr),rn(Q1)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,_pe),wne),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Za),Lr),rn(Yd)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,Npe),wne),"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."),dc),jr),rn(Yd)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,wpe),wne),"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."),G9e),Bi),xc),rn(Yd)))),nn(n,new Ue(Ze(We(en(Ke(Qe(Ve(Ye(new Ge,bpe),wne),"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."),ec),gr),rn(Yd)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,V8),_2e),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),J9e),Hy),fG),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,kpe),_2e),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xr),Qi),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,jpe),_2e),"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),xr),Qi),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,dne),r7),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),ve(3)),dc),jr),rn(Tn)))),qi(n,dne,bne,Gfn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,I2e),r7),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),ve(4)),dc),jr),rn(Tn)))),qi(n,I2e,dne,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,MN),r7),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),ec),gr),rn(Tn)))),qi(n,MN,np,Ffn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,bne),r7),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Za),QBn),rn(fr)))),qi(n,bne,np,Jfn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,CN),r7),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),ec),gr),Ci(Tn,F(z(Wa,1),je,160,0,[fr]))))),qi(n,CN,np,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,TN),r7),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),ec),gr),Ci(Tn,F(z(Wa,1),je,160,0,[fr]))))),qi(n,TN,np,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,np),r7),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Bi),E8e),rn(fr)))),qi(n,np,X8,null),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,D2e),r7),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),ec),gr),rn(Tn)))),qi(n,D2e,np,zfn),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,mpe),BWe),"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),xr),Qi),rn(fr)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,vpe),BWe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xr),Qi),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,Tpe),"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),ec),gr),rn(xa)))),nn(n,new Ue(Ze(We(en(hn(Ke(Qe(Ve(Ye(new Ge,PWe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),S9e),Bi),s8e),rn(xa)))),Oj(n,new P4(Sj(b9(d9(new d0,Rn),"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.'))),Oj(n,new P4(Sj(b9(d9(new d0,"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.`))),Oj(n,new P4(Sj(b9(d9(new d0,$o),"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."))),Oj(n,new P4(Sj(b9(d9(new d0,"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."))),Oj(n,new P4(Sj(b9(d9(new d0,QQe),"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."))),Oj(n,new P4(Sj(b9(d9(new d0,"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."))),Oj(n,new P4(Sj(b9(d9(new d0,Gl),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),HXe((new BU,n)),cKe((new NC,n)),gXe((new zU,n))};var qy,kfn,p9e,B7,jfn,Efn,m9e,Lm,Pm,Sfn,DI,v9e,_I,Ng,y9e,bce,gce,k9e,j9e,E9e,xfn,S9e,Afn,W3,x9e,Mfn,LI,wce,PI,pce,Cfn,A9e,Tfn,M9e,Z3,C9e,z7,T9e,O9e,N9e,e5,I9e,Ig,D9e,$m,n5,_9e,bb,L9e,rG,$I,s1,P9e,Ofn,$9e,Nfn,Ifn,R9e,B9e,mce,vce,yce,kce,z9e,Ps,Vx,F9e,jce,Ece,Rm,J9e,H9e,t5,G9e,Uy,RI,Sce,Bm,Dfn,xce,_fn,Lfn,Pfn,$fn,q9e,U9e,Xy,X9e,cG,K9e,V9e,Qd,Rfn,Y9e,Q9e,W9e,F7,zm,J7,Ky,Bfn,zfn,uG,Ffn,oG,Jfn,Hfn,Gfn,qfn;v(Oo,"CoreOptions",689),m(86,23,{3:1,35:1,23:1,86:1},wT);var eh,Zc,ru,nh,Vl,Yx=yt(Oo,"Direction",86,Tt,q6n,cvn),Ufn;m(278,23,{3:1,35:1,23:1,278:1},j$);var sG,BI,Z9e,e8e,n8e=yt(Oo,"EdgeCoords",278,Tt,b6n,uvn),Xfn;m(279,23,{3:1,35:1,23:1,279:1},pK);var H7,Fm,G7,t8e=yt(Oo,"EdgeLabelPlacement",279,Tt,ayn,ovn),Kfn;m(222,23,{3:1,35:1,23:1,222:1},E$);var q7,zI,Vy,Ace,Mce=yt(Oo,"EdgeRouting",222,Tt,g6n,rvn),Vfn;m(327,23,{3:1,35:1,23:1,327:1},Fj);var i8e,r8e,c8e,u8e,Cce,o8e,s8e=yt(Oo,"EdgeType",327,Tt,L9n,gvn),Yfn;m(973,1,Ua,BU),s.tf=function(n){HXe(n)};var l8e,f8e,a8e,h8e,Qfn,d8e,Qx;v(Oo,"FixedLayouterOptions",973),m(974,1,{},XM),s.uf=function(){var n;return n=new ow,n},s.vf=function(n){},v(Oo,"FixedLayouterOptions/FixedFactory",974),m(347,23,{3:1,35:1,23:1,347:1},mK);var Wd,lG,Wx,b8e=yt(Oo,"HierarchyHandling",347,Tt,hyn,wvn),Wfn,QBn=Gi(Oo,"ITopdownSizeApproximator");m(292,23,{3:1,35:1,23:1,292:1},S$);var l1,gb,FI,JI,Zfn=yt(Oo,"LabelSide",292,Tt,w6n,bvn),ean;m(96,23,{3:1,35:1,23:1,96:1},Dv);var W1,Yf,wf,Qf,pl,Wf,pf,f1,Zf,$c=yt(Oo,"NodeLabelPlacement",96,Tt,P8n,fvn),nan;m(257,23,{3:1,35:1,23:1,257:1},pT);var g8e,Zx,wb,w8e,HI,eA=yt(Oo,"PortAlignment",257,Tt,i9n,avn),tan;m(102,23,{3:1,35:1,23:1,102:1},Jj);var Dg,to,a1,U7,th,pb,p8e=yt(Oo,"PortConstraints",102,Tt,_9n,hvn),ian;m(280,23,{3:1,35:1,23:1,280:1},Hj);var nA,tA,Z1,GI,mb,Yy,fG=yt(Oo,"PortLabelPlacement",280,Tt,D9n,dvn),ran;m(64,23,{3:1,35:1,23:1,64:1},mT);var nt,Vn,Yl,Ql,Wo,zo,ih,ea,ks,hs,mo,js,Zo,es,na,ml,vl,mf,bt,ju,Yn,xc=yt(Oo,"PortSide",64,Tt,U6n,yvn),can;m(977,1,Ua,zU),s.tf=function(n){gXe(n)};var uan,oan,m8e,san,lan;v(Oo,"RandomLayouterOptions",977),m(978,1,{},KM),s.uf=function(){var n;return n=new WM,n},s.vf=function(n){},v(Oo,"RandomLayouterOptions/RandomFactory",978),m(300,23,{3:1,35:1,23:1,300:1},vK);var qI,Tce,v8e,y8e=yt(Oo,"ShapeCoords",300,Tt,dyn,kvn),fan;m(380,23,{3:1,35:1,23:1,380:1},x$);var Jm,UI,XI,_g,iA=yt(Oo,"SizeConstraint",380,Tt,m6n,jvn),aan;m(266,23,{3:1,35:1,23:1,266:1},_v);var KI,aG,X7,Oce,VI,rA,hG,dG,bG,k8e=yt(Oo,"SizeOptions",266,Tt,H8n,mvn),han;m(281,23,{3:1,35:1,23:1,281:1},yK);var Hm,j8e,gG,E8e=yt(Oo,"TopdownNodeTypes",281,Tt,byn,vvn),dan;m(288,23,JF);var S8e,Nce,x8e,A8e,YI=yt(Oo,"TopdownSizeApproximator",288,Tt,p6n,pvn);m(969,288,JF,wIe),s.Sg=function(n){return ZJe(n)},yt(Oo,"TopdownSizeApproximator/1",969,YI,null,null),m(970,288,JF,WIe),s.Sg=function(n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn,On;for(t=u(ke(n,(Xt(),Bm)),144),De=(j0(),A=new mj,A),QO(De,n),un=new wt,o=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));o.e!=o.i.gc();)r=u(ft(o),26),V=(S=new mj,S),Lz(V,De),QO(V,r),On=ZJe(r),vw(V,k.Math.max(r.g,On.a),k.Math.max(r.f,On.b)),Ko(un.f,r,V);for(c=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(ft(c),26),p=new st((!r.e&&(r.e=new In(pr,r,7,4)),r.e));p.e!=p.i.gc();)b=u(ft(p),85),be=u(bu(Xc(un.f,r)),26),fe=u(zn(un,K((!b.c&&(b.c=new In(mt,b,5,8)),b.c),0)),26),te=(y=new kv,y),Et((!te.b&&(te.b=new In(mt,te,4,7)),te.b),be),Et((!te.c&&(te.c=new In(mt,te,5,8)),te.c),fe),_z(te,Fi(be)),QO(te,b);D=u(GT(t.f),214);try{D.kf(De,new b0),Wfe(t.f,D)}catch(Dn){throw Dn=sr(Dn),X(Dn,101)?(O=Dn,R(O)):R(Dn)}return ba(De,Pm)||ba(De,Lm)||sZ(De),h=ne(re(ke(De,Pm))),f=ne(re(ke(De,Lm))),l=h/f,i=ne(re(ke(De,zm)))*k.Math.sqrt((!De.a&&(De.a=new we(Ft,De,10,11)),De.a).i),cn=u(ke(De,s1),104),q=cn.b+cn.c+1,B=cn.d+cn.a+1,new Ee(k.Math.max(q,i),k.Math.max(B,i/l))},yt(Oo,"TopdownSizeApproximator/2",970,YI,null,null),m(971,288,JF,S_e),s.Sg=function(n){var t,i,r,c,o,l;return i=ne(re(ke(n,(Xt(),zm)))),t=i/ne(re(ke(n,F7))),r=H_n(n),o=u(ke(n,s1),104),c=ne(re(_e(Qd))),Fi(n)&&(c=ne(re(ke(Fi(n),Qd)))),l=A1(new Ee(i,t),r),pi(l,new Ee(-(o.b+o.c)-c,-(o.d+o.a)-c))},yt(Oo,"TopdownSizeApproximator/3",971,YI,null,null),m(972,288,JF,ZIe),s.Sg=function(n){var t,i,r,c,o,l,f,h,b,p;for(l=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));l.e!=l.i.gc();)o=u(ft(l),26),ke(o,(Xt(),oG))!=null&&(!o.a&&(o.a=new we(Ft,o,10,11)),!!o.a)&&(!o.a&&(o.a=new we(Ft,o,10,11)),o.a).i>0?(i=u(ke(o,oG),521),p=i.Sg(o),b=u(ke(o,s1),104),vw(o,k.Math.max(o.g,p.a+b.b+b.c),k.Math.max(o.f,p.b+b.d+b.a))):(!o.a&&(o.a=new we(Ft,o,10,11)),o.a).i!=0&&vw(o,ne(re(ke(o,zm))),ne(re(ke(o,zm)))/ne(re(ke(o,F7))));t=u(ke(n,(Xt(),Bm)),144),h=u(GT(t.f),214);try{h.kf(n,new b0),Wfe(t.f,h)}catch(y){throw y=sr(y),X(y,101)?(f=y,R(f)):R(y)}return Ei(n,qy,c7),bPe(n),sZ(n),c=ne(re(ke(n,Pm))),r=ne(re(ke(n,Lm))),new Ee(c,r)},yt(Oo,"TopdownSizeApproximator/4",972,YI,null,null);var ban;m(345,1,{852:1},s4),s.Tg=function(n,t){return hGe(this,n,t)},s.Ug=function(){RGe(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?IR(this.f):null},s.Xg=function(){return IR(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,Ce(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&Iyn(this,(i=new dDe,r=FW(i,n),C$n(i),r),(RB(),Dce))},s.dh=function(n){var t;return this.b?null:(t=v8n(this,this.g),Vt(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&Vhe(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,v($u,"BasicProgressMonitor",345),m(706,214,ep,bL),s.kf=function(n,t){jKe(n,t)},v($u,"BoxLayoutProvider",706),m(965,1,Yt,eSe),s.Le=function(n,t){return CNn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},s.a=!1,v($u,"BoxLayoutProvider/1",965),m(167,1,{167:1},gB,NOe),s.Ib=function(){return this.c?Jbe(this.c):Ja(this.b)},v($u,"BoxLayoutProvider/Group",167),m(326,23,{3:1,35:1,23:1,326:1},A$);var M8e,C8e,T8e,Ice,O8e=yt($u,"BoxLayoutProvider/PackingMode",326,Tt,v6n,Evn),gan;m(966,1,Yt,VM),s.Le=function(n,t){return R5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v($u,"BoxLayoutProvider/lambda$0$Type",966),m(967,1,Yt,zk),s.Le=function(n,t){return C5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v($u,"BoxLayoutProvider/lambda$1$Type",967),m(968,1,Yt,YM),s.Le=function(n,t){return T5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v($u,"BoxLayoutProvider/lambda$2$Type",968),m(1338,1,{829:1},gL),s.Lg=function(n,t){return e$(),!X(t,174)||DAe((X4(),u(n,174)),t)},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1338),m(1339,1,ut,nSe),s.Ad=function(n){Nkn(this.a,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1339),m(1340,1,ut,QM),s.Ad=function(n){u(n,105),e$()},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1340),m(1344,1,ut,tSe),s.Ad=function(n){i7n(this.a,u(n,105))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1344),m(1342,1,zt,CCe),s.Mb=function(n){return dkn(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1342),m(1341,1,zt,TCe),s.Mb=function(n){return Mpn(this.a,this.b,u(n,829))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1341),m(1343,1,ut,OCe),s.Ad=function(n){A3n(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1343),m(930,1,{},wL),s.Kb=function(n){return xTe(n)},s.Fb=function(n){return this===n},v($u,"ElkUtil/lambda$0$Type",930),m(931,1,ut,NCe),s.Ad=function(n){ITn(this.a,this.b,u(n,85))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$1$Type",931),m(932,1,ut,ICe),s.Ad=function(n){Cbn(this.a,this.b,u(n,170))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$2$Type",932),m(933,1,ut,DCe),s.Ad=function(n){jwn(this.a,this.b,u(n,157))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$3$Type",933),m(934,1,ut,iSe),s.Ad=function(n){Vvn(this.a,u(n,372))},v($u,"ElkUtil/lambda$4$Type",934),m(331,1,{35:1,331:1},ibn),s.Dd=function(n){return Xwn(this,u(n,242))},s.Fb=function(n){var t;return X(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return lc(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,v($u,"ExclusiveBounds/ExclusiveLowerBound",331),m(1088,214,ep,ow),s.kf=function(n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q,V,te,be,fe,De,un,cn;for(t.Tg("Fixed Layout",1),o=u(ke(n,(Xt(),j9e)),222),y=0,S=0,V=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));V.e!=V.i.gc();){for(B=u(ft(V),26),cn=u(ke(B,(BB(),Qx)),8),cn&&(Il(B,cn.a,cn.b),u(ke(B,f8e),182).Gc((Vs(),Jm))&&(A=u(ke(B,h8e),8),A.a>0&&A.b>0&&Yw(B,A.a,A.b,!0,!0))),y=k.Math.max(y,B.i+B.g),S=k.Math.max(S,B.j+B.f),b=new st((!B.n&&(B.n=new we(Eu,B,1,7)),B.n));b.e!=b.i.gc();)f=u(ft(b),157),cn=u(ke(f,Qx),8),cn&&Il(f,cn.a,cn.b),y=k.Math.max(y,B.i+f.i+f.g),S=k.Math.max(S,B.j+f.j+f.f);for(fe=new st((!B.c&&(B.c=new we($s,B,9,9)),B.c));fe.e!=fe.i.gc();)for(be=u(ft(fe),125),cn=u(ke(be,Qx),8),cn&&Il(be,cn.a,cn.b),De=B.i+be.i,un=B.j+be.j,y=k.Math.max(y,De+be.g),S=k.Math.max(S,un+be.f),h=new st((!be.n&&(be.n=new we(Eu,be,1,7)),be.n));h.e!=h.i.gc();)f=u(ft(h),157),cn=u(ke(f,Qx),8),cn&&Il(f,cn.a,cn.b),y=k.Math.max(y,De+f.i+f.g),S=k.Math.max(S,un+f.j+f.f);for(c=new Xn(Qn(U0(B).a.Jc(),new ee));ht(c);)i=u(ct(c),85),p=_Ve(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b);for(r=new Xn(Qn(MW(B).a.Jc(),new ee));ht(r);)i=u(ct(r),85),Fi(dW(i))!=n&&(p=_Ve(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b))}if(o==(z1(),q7))for(q=new st((!n.a&&(n.a=new we(Ft,n,10,11)),n.a));q.e!=q.i.gc();)for(B=u(ft(q),26),r=new Xn(Qn(U0(B).a.Jc(),new ee));ht(r);)i=u(ct(r),85),l=C_n(i),l.b==0?Ei(i,Z3,null):Ei(i,Z3,l);Fe(ze(ke(n,(BB(),a8e))))||(te=u(ke(n,Qfn),104),D=y+te.b+te.c,O=S+te.d+te.a,Yw(n,D,O,!0,!0)),t.Ug()},v($u,"FixedLayoutProvider",1088),m(379,150,{3:1,414:1,379:1,105:1,150:1},z6,jRe),s.ag=function(n){var t,i,r,c,o,l,f,h,b;if(n)try{for(h=nm(n,";,;"),o=h,l=0,f=o.length;l>16&yr|t^r<<16},s.Jc=function(){return new rSe(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+fu(this.b)+")":this.b==null?"pair("+fu(this.a)+",null)":"pair("+fu(this.a)+","+fu(this.b)+")"},v($u,"Pair",49),m(979,1,Fr,rSe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw R(new hu)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),R(new is)},s.b=!1,s.c=!1,v($u,"Pair/1",979),m(1078,214,ep,WM),s.kf=function(n,t){var i,r,c,o,l;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new we(Ft,n,10,11)),n.a).i==0){t.Ug();return}o=u(ke(n,(bde(),san)),15),o&&o.a!=0?c=new VR(o.a):c=new yQ,i=QC(re(ke(n,uan))),l=QC(re(ke(n,lan))),r=u(ke(n,oan),104),V$n(n,c,i,l,r),t.Ug()},v($u,"RandomLayoutProvider",1078),m(240,1,{240:1},eV),s.Fb=function(n){return Ku(this.a,u(n,240).a)&&Ku(this.b,u(n,240).b)&&Ku(this.c,u(n,240).c)},s.Hb=function(){return zB(F(z(Mr,1),Nn,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+To+this.b+To+this.c+")"},v($u,"Triple",240);var van;m(550,1,{}),s.Jf=function(){return new Ee(this.f.i,this.f.j)},s.mf=function(n){return k_e(n,(Xt(),Ps))?ke(this.f,yan):ke(this.f,n)},s.Kf=function(){return new Ee(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return ba(this.f,n)},s.Mf=function(n){Os(this.f,n.a),Ns(this.f,n.b)},s.Nf=function(n){Pw(this.f,n.a),Lw(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var yan;v(_S,"ElkGraphAdapters/AbstractElkGraphElementAdapter",550),m(552,1,{837:1},NP),s.Pf=function(){var n,t;if(!this.b)for(this.b=JR(NV(this.a).i),t=new st(NV(this.a));t.e!=t.i.gc();)n=u(ft(t),157),Ce(this.b,new MX(n));return this.b},s.b=null,v(_S,"ElkGraphAdapters/ElkEdgeAdapter",552),m(260,550,{},v0),s.Qf=function(){return vHe(this)},s.a=null,v(_S,"ElkGraphAdapters/ElkGraphAdapter",260),m(630,550,{187:1},MX),v(_S,"ElkGraphAdapters/ElkLabelAdapter",630),m(551,550,{685:1},q$),s.Pf=function(){return txn(this)},s.Tf=function(){var n;return n=u(ke(this.f,(Xt(),z7)),140),!n&&(n=new pj),n},s.Vf=function(){return ixn(this)},s.Xf=function(n){var t;t=new QK(n),Ei(this.f,(Xt(),z7),t)},s.Yf=function(n){Ei(this.f,(Xt(),s1),new Yle(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new Te,t=new Xn(Qn(MW(u(this.f,26)).a.Jc(),new ee));ht(t);)n=u(ct(t),85),Ce(this.a,new NP(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new Te,t=new Xn(Qn(U0(u(this.f,26)).a.Jc(),new ee));ht(t);)n=u(ct(t),85),Ce(this.c,new NP(n));return this.c},s.Wf=function(){return OR(u(this.f,26)).i!=0||Fe(ze(u(this.f,26).mf((Xt(),LI))))},s.Zf=function(){e8n(this,(Rb(),van))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,v(_S,"ElkGraphAdapters/ElkNodeAdapter",551),m(1249,550,{836:1},cSe),s.Pf=function(){return fxn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=Jh(u(this.f,125).gh().i),t=new st(u(this.f,125).gh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.a,new NP(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=Jh(u(this.f,125).hh().i),t=new st(u(this.f,125).hh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.c,new NP(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((Xt(),t5)),64)},s._f=function(){var n,t,i,r,c,o,l,f;for(r=_a(u(this.f,125)),i=new st(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(ft(i),85),f=new st((!n.c&&(n.c=new In(mt,n,5,8)),n.c));f.e!=f.i.gc();){if(l=u(ft(f),84),P2(iu(l),r))return!0;if(iu(l)==r&&Fe(ze(ke(n,(Xt(),wce)))))return!0}for(t=new st(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(ft(t),85),o=new st((!n.b&&(n.b=new In(mt,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(ft(o),84),P2(iu(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,v(_S,"ElkGraphAdapters/ElkPortAdapter",1249),m(1250,1,Yt,mL),s.Le=function(n,t){return yDn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(_S,"ElkGraphAdapters/PortComparator",1250);var vb=Gi(ql,"EObject"),K7=Gi(x3,JWe),yl=Gi(x3,HWe),QI=Gi(x3,GWe),WI=Gi(x3,"ElkShape"),mt=Gi(x3,qWe),pr=Gi(x3,P2e),$i=Gi(x3,UWe),ZI=Gi(ql,XWe),cA=Gi(ql,"EFactory"),kan,_ce=Gi(ql,KWe),Aa=Gi(ql,"EPackage"),Pr,jan,Ean,_8e,wG,San,L8e,P8e,$8e,h1,xan,Aan,Eu=Gi(x3,$2e),Ft=Gi(x3,R2e),$s=Gi(x3,B2e);m(93,1,VWe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){hi(this,n)},v(ky,"BasicNotifierImpl",93),m(100,93,ZWe),s.Vh=function(){return Fs(this)},s.vh=function(n,t){return n},s.wh=function(){throw R(new _t)},s.xh=function(n){var t;return t=Oc(u(Cn(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw R(new _t)},s.zh=function(n,t,i){return hl(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return xW(this)},s.Ch=function(){throw R(new _t)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=(Ij(),n=dae(kh(this.Ah())),n==null?Jce:new ST(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():Ji(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return sz(this,n,t,i)},s.Jh=function(n){return H9(this,n)},s.Kh=function(n,t){return aY(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw R(new _t)},s.Nh=function(){return iz(this)},s.Oh=function(n,t,i,r){return Z4(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return LR(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return LQ(this,n)},s.Uh=function(n){return P_e(this,n)},s.Wh=function(n){return pVe(this,n)},s.Xh=function(){throw R(new _t)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return iz(this)},s.$h=function(n,t){yW(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=vc(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&((RW(this,this.Mh(),this.Ch()).Bb&Ec)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,l,f,h;if(i=this.Ah(),o=Ji(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(l=w3((ls(),nc),i,n),l){if(Tc(),u(l,69).vk()||(l=$4(Vc(nc,l))),c=(r=this.Fh(l),u(r>=0?this.Ih(r,!0,!0):Xw(this,l,!0),163)),h=l.Gk(),h>1||h==-1)return u(u(c,219).Ql(n,!1),77)}else throw R(new Un(nb+n.ve()+pne));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):Xw(this,n,!1),77);return f=new VCe(this,n),f},s.ei=function(){return khe(this)},s.fi=function(){return(C0(),Bn).S},s.gi=function(){return dt(this.fi())},s.hi=function(n){pW(this,n)},s.Ib=function(){return Ff(this)},v(Jn,"BasicEObjectImpl",100);var Man;m(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=jhe(this),t[n]},s.ji=function(n,t){var i;i=jhe(this),ir(i,n,t)},s.ki=function(n){var t;t=jhe(this),ir(t,n,null)},s.qh=function(){return u(Kn(this,4),129)},s.rh=function(){throw R(new _t)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw R(new _t)},s.li=function(n){Q4(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return Go(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return Ij(),t=dae(kh((n=u(Kn(this,16),29),n||this.fi()))),t==null?Jce:new ST(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(Kn(this,128),1996)},s.Hh=function(){return u(Kn(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(Kn(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw R(new _t)},s.Yh=function(){return u(Kn(this,64),290)},s._h=function(n){Q4(this,16,n)},s.ai=function(n){Q4(this,128,n)},s.bi=function(n){Q4(this,64,n)},s.ei=function(){return Lo(this)},s.Db=0,v(Jn,"MinimalEObjectImpl",117),m(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},v(Jn,"MinimalEObjectImpl/Container",118),m(2045,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return $de(this,n,t,i)},s.Rh=function(n,t,i){return A0e(this,n,t,i)},s.Th=function(n){return Oae(this,n)},s.$h=function(n,t){E1e(this,n,t)},s.fi=function(){return Gu(),Aan},s.hi=function(n){f1e(this,n)},s.lf=function(){return BJe(this)},s.fh=function(){return!this.o&&(this.o=new os((Gu(),h1),Zd,this,0)),this.o},s.mf=function(n){return ke(this,n)},s.nf=function(n){return ba(this,n)},s.of=function(n,t){return Ei(this,n,t)},v(wg,"EMapPropertyHolderImpl",2045),m(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Jk),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return sz(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:wB(this,ne(re(t)));return;case 1:pB(this,ne(re(t)));return}yW(this,n,t)},s.fi=function(){return Gu(),jan},s.hi=function(n){switch(n){case 0:wB(this,0);return;case 1:pB(this,0);return}pW(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Ff(this):(n=new cf(Ff(this)),n.a+=" (x: ",Tv(n,this.a),n.a+=", y: ",Tv(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,v(wg,"ElkBendPointImpl",559),m(727,2045,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return J1e(this,n,t,i)},s.Ph=function(n,t,i){return lW(this,n,t,i)},s.Rh=function(n,t,i){return KY(this,n,t,i)},s.Th=function(n){return r1e(this,n)},s.$h=function(n,t){t0e(this,n,t)},s.fi=function(){return Gu(),San},s.hi=function(n){R1e(this,n)},s.ih=function(){return this.k},s.jh=function(){return NV(this)},s.Ib=function(){return vQ(this)},s.k=null,v(wg,"ElkGraphElementImpl",727),m(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return nde(this,n,t,i)},s.Th=function(n){return sde(this,n)},s.$h=function(n,t){i0e(this,n,t)},s.fi=function(){return Gu(),xan},s.hi=function(n){dde(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){vw(this,n,t)},s.ph=function(n,t){Il(this,n,t)},s.Ib=function(){return gW(this)},s.f=0,s.g=0,s.i=0,s.j=0,v(wg,"ElkShapeImpl",728),m(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Nde(this,n,t,i)},s.Ph=function(n,t,i){return Yde(this,n,t,i)},s.Rh=function(n,t,i){return Qde(this,n,t,i)},s.Th=function(n){return v1e(this,n)},s.$h=function(n,t){fbe(this,n,t)},s.fi=function(){return Gu(),Ean},s.hi=function(n){Ade(this,n)},s.gh=function(){return!this.d&&(this.d=new In(pr,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new In(pr,this,7,4)),this.e},v(wg,"ElkConnectableShapeImpl",729),m(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},kv),s.xh=function(n){return Ude(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return T2(this);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new In(mt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new we($i,this,6,6)),this.a;case 7:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return $n(),!!eS(this);case 9:return $n(),!!Uw(this);case 10:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return J1e(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?Ude(this,i):this.Cb.Qh(this,-1-r,null,i))),Cle(this,u(n,26),i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),Co(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),Co(this.c,n,i);case 6:return!this.a&&(this.a=new we($i,this,6,6)),Co(this.a,n,i)}return lW(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return Cle(this,null,i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),vc(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),vc(this.c,n,i);case 6:return!this.a&&(this.a=new we($i,this,6,6)),vc(this.a,n,i)}return KY(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!T2(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return eS(this);case 9:return Uw(this);case 10:return!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return r1e(this,n)},s.$h=function(n,t){switch(n){case 3:_z(this,u(t,26));return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b),!this.b&&(this.b=new In(mt,this,4,7)),nr(this.b,u(t,18));return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c),!this.c&&(this.c=new In(mt,this,5,8)),nr(this.c,u(t,18));return;case 6:!this.a&&(this.a=new we($i,this,6,6)),kt(this.a),!this.a&&(this.a=new we($i,this,6,6)),nr(this.a,u(t,18));return}t0e(this,n,t)},s.fi=function(){return Gu(),_8e},s.hi=function(n){switch(n){case 3:_z(this,null);return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b);return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c);return;case 6:!this.a&&(this.a=new we($i,this,6,6)),kt(this.a);return}R1e(this,n)},s.Ib=function(){return RKe(this)},v(wg,"ElkEdgeImpl",271),m(443,2045,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},yo),s.xh=function(n){return Jde(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new mr(yl,this,5)),this.a;case 6:return L_e(this);case 7:return t?zQ(this):this.i;case 8:return t?BQ(this):this.f;case 9:return!this.g&&(this.g=new In($i,this,9,10)),this.g;case 10:return!this.e&&(this.e=new In($i,this,10,9)),this.e;case 11:return this.d}return $de(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Jde(this,i):this.Cb.Qh(this,-1-c,null,i))),Tle(this,u(n,85),i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),Co(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),Co(this.e,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(Gu(),wG)),t),69),o.uk().xk(this,Lo(this),t-dt((Gu(),wG)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new mr(yl,this,5)),vc(this.a,n,i);case 6:return Tle(this,null,i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),vc(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),vc(this.e,n,i)}return A0e(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!L_e(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Oae(this,n)},s.$h=function(n,t){switch(n){case 1:e3(this,ne(re(t)));return;case 2:n3(this,ne(re(t)));return;case 3:Wv(this,ne(re(t)));return;case 4:Zv(this,ne(re(t)));return;case 5:!this.a&&(this.a=new mr(yl,this,5)),kt(this.a),!this.a&&(this.a=new mr(yl,this,5)),nr(this.a,u(t,18));return;case 6:$Ue(this,u(t,85));return;case 7:SB(this,u(t,84));return;case 8:EB(this,u(t,84));return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g),!this.g&&(this.g=new In($i,this,9,10)),nr(this.g,u(t,18));return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e),!this.e&&(this.e=new In($i,this,10,9)),nr(this.e,u(t,18));return;case 11:Xhe(this,Pt(t));return}E1e(this,n,t)},s.fi=function(){return Gu(),wG},s.hi=function(n){switch(n){case 1:e3(this,0);return;case 2:n3(this,0);return;case 3:Wv(this,0);return;case 4:Zv(this,0);return;case 5:!this.a&&(this.a=new mr(yl,this,5)),kt(this.a);return;case 6:$Ue(this,null);return;case 7:SB(this,null);return;case 8:EB(this,null);return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g);return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e);return;case 11:Xhe(this,null);return}f1e(this,n)},s.Ib=function(){return Kqe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,v(wg,"ElkEdgeSectionImpl",443),m(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab):Pl(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().xk(this,Lo(this),t-dt(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Ll(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.Wh=function(n){return Cge(this,n)},s.$h=function(n,t){var i;if(n===0){!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return}Jl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.ai=function(n){Q4(this,128,n)},s.fi=function(){return jn(),qan},s.hi=function(n){var t;if(n===0){!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return}Fl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return oS(this,n)},s.Bb=0,v(Jn,"EModelElementImpl",161),m(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},IC),s.oi=function(n,t){return fVe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=ol(n)||(n.Bb&256)!=0)throw R(new Un(vne+n.zb+up));for(r=tu(n);Vu(r.a).i!=0;){if(i=u(oN(r,0,(t=u(K(Vu(r.a),0),87),o=t.c,X(o,88)?u(o,29):(jn(),jf))),29),Gw(i))return c=ol(i).ti().pi(i),u(c,52)._h(n),c;r=tu(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new gIe(n):new bfe(n)},s.qi=function(n,t){return Qw(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.a}return Pl(this,n-dt((jn(),jb)),Cn((r=u(Kn(this,16),29),r||jb),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,Aa,i)),P1e(this,u(n,241),i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),c.uk().xk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 1:return P1e(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Ll(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:SGe(this,u(t,241));return}Jl(this,n-dt((jn(),jb)),Cn((i=u(Kn(this,16),29),i||jb),n),t)},s.fi=function(){return jn(),jb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:SGe(this,null);return}Fl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))};var uA,R8e,Can;v(Jn,"EFactoryImpl",710),m(1018,710,{109:1,2075:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},hU),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return fu(t);default:throw R(new Un(u7+n.ve()+up))}},s.pi=function(n){var t,i,r,c,o,l,f,h;switch(n.G==-1&&(n.G=(t=ol(n),t?$d(t.si(),n):-1)),n.G){case 4:return o=new ZM,o;case 6:return l=new mj,l;case 7:return f=new voe,f;case 8:return r=new kv,r;case 9:return i=new Jk,i;case 10:return c=new yo,c;case 11:return h=new F6,h;default:throw R(new Un(vne+n.zb+up))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw R(new Un(u7+n.ve()+up))}},v(wg,"ElkGraphFactoryImpl",1018),m(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(Kn(this,16),29),dae(kh(n||this.fi()))),t==null?(Ij(),Ij(),Jce):new POe(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.ve()}return Pl(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Ll(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return}Jl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Uan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return}Fl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){Mo(this,n)},s.Ib=function(){return LE(this)},s.zb=null,v(Jn,"ENamedElementImpl",439),m(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},u_e),s.xh=function(n){return LHe(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,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 x2(this,Ma,this)),this.rb;case 6:return!this.vb&&(this.vb=new x4(Aa,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:J_e(this)}return Pl(this,n-dt((jn(),i0)),Cn((r=u(Kn(this,16),29),r||i0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,cA,i)),B1e(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new x2(this,Ma,this)),Co(this.rb,n,i);case 6:return!this.vb&&(this.vb=new x4(Aa,this,6,7)),Co(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?LHe(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,7,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 4:return B1e(this,null,i);case 5:return!this.rb&&(this.rb=new x2(this,Ma,this)),vc(this.rb,n,i);case 6:return!this.vb&&(this.vb=new x4(Aa,this,6,7)),vc(this.vb,n,i);case 7:return hl(this,null,7,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!J_e(this)}return Ll(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.Wh=function(n){var t;return t=RNn(this,n),t||Cge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:OB(this,Pt(t));return;case 3:TB(this,Pt(t));return;case 4:bW(this,u(t,469));return;case 5:!this.rb&&(this.rb=new x2(this,Ma,this)),kt(this.rb),!this.rb&&(this.rb=new x2(this,Ma,this)),nr(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new x4(Aa,this,6,7)),kt(this.vb),!this.vb&&(this.vb=new x4(Aa,this,6,7)),nr(this.vb,u(t,18));return}Jl(this,n-dt((jn(),i0)),Cn((i=u(Kn(this,16),29),i||i0),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new st(this.rb);i.e!=i.i.gc();)t=ft(i),X(t,360)&&(u(t,360).w=null);Q4(this,64,n)},s.fi=function(){return jn(),i0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:OB(this,null);return;case 3:TB(this,null);return;case 4:bW(this,null);return;case 5:!this.rb&&(this.rb=new x2(this,Ma,this)),kt(this.rb);return;case 6:!this.vb&&(this.vb=new x4(Aa,this,6,7)),kt(this.vb);return}Fl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.mi=function(){ZQ(this)},s.si=function(){return!this.rb&&(this.rb=new x2(this,Ma,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?LE(this):(n=new cf(LE(this)),n.a+=" (nsURI: ",Bc(n,this.yb),n.a+=", nsPrefix: ",Bc(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,v(Jn,"EPackageImpl",184),m(556,184,{109:1,2077:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},tUe),s.q=!1,s.r=!1;var Tan=!1;v(wg,"ElkGraphPackageImpl",556),m(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},ZM),s.xh=function(n){return Hde(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return vae(this);case 8:return this.a}return nde(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===7?(this.Cb&&(i=(r=this.Db>>16,r>=0?Hde(this,i):this.Cb.Qh(this,-1-r,null,i))),Mfe(this,u(n,174),i)):lW(this,n,t,i)},s.Rh=function(n,t,i){return t==7?Mfe(this,null,i):KY(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!vae(this);case 8:return!bn("",this.a)}return sde(this,n)},s.$h=function(n,t){switch(n){case 7:Abe(this,u(t,174));return;case 8:Ghe(this,Pt(t));return}i0e(this,n,t)},s.fi=function(){return Gu(),L8e},s.hi=function(n){switch(n){case 7:Abe(this,null);return;case 8:Ghe(this,"");return}dde(this,n)},s.Ib=function(){return HGe(this)},s.a="",v(wg,"ElkLabelImpl",362),m(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},mj),s.xh=function(n){return Xde(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new we($s,this,9,9)),this.c;case 10:return!this.a&&(this.a=new we(Ft,this,10,11)),this.a;case 11:return Fi(this);case 12:return!this.b&&(this.b=new we(pr,this,12,3)),this.b;case 13:return $n(),!this.a&&(this.a=new we(Ft,this,10,11)),this.a.i>0}return Nde(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new we($s,this,9,9)),Co(this.c,n,i);case 10:return!this.a&&(this.a=new we(Ft,this,10,11)),Co(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Xde(this,i):this.Cb.Qh(this,-1-r,null,i))),Gle(this,u(n,26),i);case 12:return!this.b&&(this.b=new we(pr,this,12,3)),Co(this.b,n,i)}return Yde(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new we($s,this,9,9)),vc(this.c,n,i);case 10:return!this.a&&(this.a=new we(Ft,this,10,11)),vc(this.a,n,i);case 11:return Gle(this,null,i);case 12:return!this.b&&(this.b=new we(pr,this,12,3)),vc(this.b,n,i)}return Qde(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Fi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new we(Ft,this,10,11)),this.a.i>0}return v1e(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new we($s,this,9,9)),kt(this.c),!this.c&&(this.c=new we($s,this,9,9)),nr(this.c,u(t,18));return;case 10:!this.a&&(this.a=new we(Ft,this,10,11)),kt(this.a),!this.a&&(this.a=new we(Ft,this,10,11)),nr(this.a,u(t,18));return;case 11:Lz(this,u(t,26));return;case 12:!this.b&&(this.b=new we(pr,this,12,3)),kt(this.b),!this.b&&(this.b=new we(pr,this,12,3)),nr(this.b,u(t,18));return}fbe(this,n,t)},s.fi=function(){return Gu(),P8e},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new we($s,this,9,9)),kt(this.c);return;case 10:!this.a&&(this.a=new we(Ft,this,10,11)),kt(this.a);return;case 11:Lz(this,null);return;case 12:!this.b&&(this.b=new we(pr,this,12,3)),kt(this.b);return}Ade(this,n)},s.Ib=function(){return Jbe(this)},v(wg,"ElkNodeImpl",206),m(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},voe),s.xh=function(n){return Gde(this,n)},s.Ih=function(n,t,i){return n==9?_a(this):Nde(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===9?(this.Cb&&(i=(r=this.Db>>16,r>=0?Gde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ole(this,u(n,26),i)):Yde(this,n,t,i)},s.Rh=function(n,t,i){return t==9?Ole(this,null,i):Qde(this,n,t,i)},s.Th=function(n){return n==9?!!_a(this):v1e(this,n)},s.$h=function(n,t){if(n===9){kbe(this,u(t,26));return}fbe(this,n,t)},s.fi=function(){return Gu(),$8e},s.hi=function(n){if(n===9){kbe(this,null);return}Ade(this,n)},s.Ib=function(){return LXe(this)},v(wg,"ElkPortImpl",193);var Oan=Gi(yc,"BasicEMap/Entry");m(1091,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},F6),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return jw(this)},s.Ai=function(n){zhe(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return sz(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:zhe(this,u(t,147));return;case 1:Fhe(this,t);return}yW(this,n,t)},s.fi=function(){return Gu(),h1},s.hi=function(n){switch(n){case 0:zhe(this,null);return;case 1:Fhe(this,null);return}pW(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?Ni(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,Fhe(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Ff(this):(n=new y0,Kt(Kt(Kt(n,this.b?this.b.Og():Vo),nee),Wj(this.c)),n.a)},s.a=-1,s.c=null;var Zd=v(wg,"ElkPropertyToValueMapEntryImpl",1091);m(980,1,{},Yp),v(Wr,"JsonAdapter",980),m(215,63,H1,lh),v(Wr,"JsonImportException",215),m(850,1,{},Qqe),v(Wr,"JsonImporter",850),m(884,1,{},_Ce),s.Bi=function(n){qHe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$0$Type",884),m(885,1,{},LCe),s.Bi=function(n){Cqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$1$Type",885),m(893,1,{},uSe),s.Bi=function(n){zDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$10$Type",893),m(895,1,{},PCe),s.Bi=function(n){gqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$11$Type",895),m(896,1,{},$Ce),s.Bi=function(n){wqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$12$Type",896),m(902,1,{},YDe),s.Bi=function(n){BGe(this.a,this.b,this.c,this.d,u(n,139))},v(Wr,"JsonImporter/lambda$13$Type",902),m(901,1,{},QDe),s.Bi=function(n){tKe(this.a,this.b,this.c,this.d,u(n,149))},v(Wr,"JsonImporter/lambda$14$Type",901),m(897,1,{},RCe),s.Bi=function(n){hNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$15$Type",897),m(898,1,{},BCe),s.Bi=function(n){dNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$16$Type",898),m(899,1,{},zCe),s.Bi=function(n){AHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$17$Type",899),m(900,1,{},FCe),s.Bi=function(n){MHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$18$Type",900),m(905,1,{},oSe),s.Bi=function(n){OGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$19$Type",905),m(886,1,{},sSe),s.Bi=function(n){RHe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$2$Type",886),m(903,1,{},lSe),s.Bi=function(n){e3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$20$Type",903),m(904,1,{},fSe),s.Bi=function(n){n3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$21$Type",904),m(908,1,{},aSe),s.Bi=function(n){TGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$22$Type",908),m(906,1,{},hSe),s.Bi=function(n){Wv(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$23$Type",906),m(907,1,{},dSe),s.Bi=function(n){Zv(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$24$Type",907),m(910,1,{},bSe),s.Bi=function(n){tGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$25$Type",910),m(909,1,{},gSe),s.Bi=function(n){FDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$26$Type",909),m(911,1,ut,JCe),s.Ad=function(n){R9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$27$Type",911),m(912,1,ut,HCe),s.Ad=function(n){B9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$28$Type",912),m(913,1,{},GCe),s.Bi=function(n){aUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$29$Type",913),m(889,1,{},wSe),s.Bi=function(n){YFe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$3$Type",889),m(914,1,{},qCe),s.Bi=function(n){DUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$30$Type",914),m(915,1,{},pSe),s.Bi=function(n){mRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$31$Type",915),m(916,1,{},mSe),s.Bi=function(n){vRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$32$Type",916),m(917,1,{},vSe),s.Bi=function(n){yRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$33$Type",917),m(918,1,{},ySe),s.Bi=function(n){kRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$34$Type",918),m(919,1,{},kSe),s.Bi=function(n){LMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$35$Type",919),m(920,1,{},jSe),s.Bi=function(n){PMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$36$Type",920),m(924,1,{},VDe),v(Wr,"JsonImporter/lambda$37$Type",924),m(921,1,ut,qNe),s.Ad=function(n){a7n(this.a,this.c,this.b,u(n,372))},v(Wr,"JsonImporter/lambda$38$Type",921),m(922,1,ut,UCe),s.Ad=function(n){Ygn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$39$Type",922),m(887,1,{},ESe),s.Bi=function(n){e3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$4$Type",887),m(923,1,ut,XCe),s.Ad=function(n){Qgn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$40$Type",923),m(925,1,ut,UNe),s.Ad=function(n){h7n(this.a,this.b,this.c,u(n,8))},v(Wr,"JsonImporter/lambda$41$Type",925),m(888,1,{},SSe),s.Bi=function(n){n3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$5$Type",888),m(892,1,{},xSe),s.Bi=function(n){QFe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$6$Type",892),m(890,1,{},ASe),s.Bi=function(n){Wv(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$7$Type",890),m(891,1,{},MSe),s.Bi=function(n){Zv(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$8$Type",891),m(894,1,{},CSe),s.Bi=function(n){iGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$9$Type",894),m(944,1,ut,TSe),s.Ad=function(n){D4(this.a,new M2(Pt(n)))},v(Wr,"JsonMetaDataConverter/lambda$0$Type",944),m(945,1,ut,OSe),s.Ad=function(n){H3n(this.a,u(n,244))},v(Wr,"JsonMetaDataConverter/lambda$1$Type",945),m(946,1,ut,NSe),s.Ad=function(n){_4n(this.a,u(n,144))},v(Wr,"JsonMetaDataConverter/lambda$2$Type",946),m(947,1,ut,ISe),s.Ad=function(n){G3n(this.a,u(n,160))},v(Wr,"JsonMetaDataConverter/lambda$3$Type",947),m(244,23,{3:1,35:1,23:1,244:1},m4);var pG,mG,Lce,vG,yG,kG,Pce,$ce,jG=yt(EN,"GraphFeature",244,Tt,p8n,xvn),Nan;m(11,1,{35:1,147:1},ki,Pi,an,Yr),s.Dd=function(n){return Kwn(this,u(n,147))},s.Fb=function(n){return k_e(this,n)},s.Rg=function(){return _e(this)},s.Og=function(){return this.b},s.Hb=function(){return Id(this.b)},s.Ib=function(){return this.b},v(EN,"Property",11),m(657,1,Yt,hX),s.Le=function(n,t){return Tjn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new At(this)},v(EN,"PropertyHolderComparator",657),m(698,1,Fr,roe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return H9n(this)},s.Qb=function(){AAe()},s.Ob=function(){return!!this.a},v(qF,"ElkGraphUtil/AncestorIterator",698);var B8e=Gi(yc,"EList");m(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){RE(this,n,t)},s.Ec=function(n){return Et(this,n)},s.ad=function(n,t){return h1e(this,n,t)},s.Fc=function(n){return nr(this,n)},s.Gi=function(){return new E4(this)},s.Hi=function(){return new ET(this)},s.Ii=function(n){return bO(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){gY(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return mXe(this,n)},s.Hb=function(){return s1e(this)},s.Qi=function(){return!1},s.Jc=function(){return new st(this)},s.cd=function(){return new j4(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw R(new k2(n,t));return new yV(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return fB(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return o3(this,n,t)},s.Ib=function(){return rde(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return r8(this,t)},v(yc,"AbstractEList",71),m(67,71,Th,J6,_w,t1e),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return oHe(this,n)},s.Ei=function(n,t){MO(this,n,t)},s.Fi=function(n){WT(this,n)},s.Yi=function(n){return phe(this,n)},s.$b=function(){yE(this)},s.Gc=function(n){return y8(this,n)},s.Xb=function(n){return K(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},v(yc,"DelegatingEList",2055),m(2056,2055,RZe),s.Ci=function(n,t){return tge(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){iUe(this,n,t)},s.Fi=function(n){Uqe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){dS(this)},s.Gj=function(n,t,i,r,c){return new v_e(this,n,t,i,r,c)},s.Hj=function(n){hi(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=E0e(this,n,t),this.Hj(this.Gj(7,ve(t),i,n,r)),i):E0e(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=cR(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=cR(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return bKe(this,n,t)},v(ky,"DelegatingNotifyingListImpl",2056),m(151,1,zN),s.lj=function(n){return s0e(this,n)},s.mj=function(){EY(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return ZUe(this)},s.hj=function(){return null},s.ij=function(){return Nbe(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,l,f,h,b,p,y;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null))return b=yge(this),h=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,l=n.jj(),this.d=6,y=new _w(2),h<=l?(Et(y,this.n),Et(y,n.ij()),this.g=F(z($t,1),ni,30,15,[this.o=h,l+1])):(Et(y,n.ij()),Et(y,this.n),this.g=F(z($t,1),ni,30,15,[this.o=l,h])),this.n=y,b||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null)){for(b=yge(this),l=n.jj(),p=u(this.g,54),r=le($t,ni,30,p.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{_X(r,this.d);break}}if(FXe(this)&&(r.a+=", touch: true"),r.a+=", position: ",_X(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",Uj(r,this.hj()),r.a+=", feature: ",Uj(r,this.Ij()),r.a+=", oldValue: ",Uj(r,Nbe(this)),r.a+=", newValue: ",this.d==6&&X(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new E2(this),this.a=this.j),rf(this.b,n)):y8(this,n)},s.Wi=function(){return!0},s.a=0,v(yc,"AbstractEList/1",949),m(305,99,cF,k2),v(yc,"AbstractEList/BasicIndexOutOfBoundsException",305),m(42,1,Fr,st),s.Nb=function(n){Zr(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw R(new Nl)},s.Wj=function(){return ft(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){VE(this)},s.e=0,s.f=0,s.g=-1,v(yc,"AbstractEList/EIterator",42),m(286,42,Wh,j4,yV),s.Qb=function(){VE(this)},s.Rb=function(n){sJe(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Yj=function(n){sHe(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},v(yc,"AbstractEList/EListIterator",286),m(355,42,Fr,E4),s.Wj=function(){return PQ(this)},s.Qb=function(){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEIterator",355),m(391,286,Wh,ET,Xle),s.Rb=function(n){throw R(new _t)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEListIterator",391),m(2042,71,BZe),s.Ci=function(n,t){var i,r,c,o,l,f,h,b,p,y,S;if(c=t.gc(),c!=0){for(b=u(Kn(this.a,4),129),p=b==null?0:b.length,S=p+c,r=oQ(this,S),y=p-n,y>0&&Wu(b,n,r,n+c,y),h=t.Jc(),l=0;li)throw R(new k2(n,i));return new _De(this,n)},s.$b=function(){var n,t;++this.j,n=u(Kn(this.a,4),129),t=n==null?0:n.length,p8(this,null),gY(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c=i)throw R(new k2(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;ii)throw R(new k2(n,i));return new DDe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=pJe(this),c=i==null?0:i.length,n>=c)throw R(new jo(Cne+n+pg+c));if(t>=c)throw R(new jo(Tne+t+pg+c));return r=i[t],n!=t&&(n0&&Wu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(Kn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.lengthr&&ir(n,r,null),n};var Ian;v(yc,"ArrayDelegatingEList",2042),m(1032,42,Fr,FPe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Nl)},s.Qb=function(){VE(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EIterator",1032),m(712,286,Wh,eDe,DDe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Nl)},s.Yj=function(n){sHe(this,n),this.a=u(Kn(this.b.a,4),129)},s.Qb=function(){VE(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EListIterator",712),m(1033,355,Fr,JPe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Nl)},v(yc,"ArrayDelegatingEList/NonResolvingEIterator",1033),m(713,391,Wh,nDe,_De),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Nl)},v(yc,"ArrayDelegatingEList/NonResolvingEListIterator",713),m(605,305,cF,EK),v(yc,"BasicEList/BasicIndexOutOfBoundsException",605),m(699,67,Th,Nse),s._c=function(n,t){throw R(new _t)},s.Ec=function(n){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.$b=function(){throw R(new _t)},s.Zi=function(n){throw R(new _t)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw R(new _t)},s.Si=function(n,t){throw R(new _t)},s.ed=function(n){throw R(new _t)},s.Kc=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},v(yc,"BasicEList/UnmodifiableEList",699),m(711,1,{3:1,20:1,18:1,16:1,61:1,586:1}),s._c=function(n,t){$wn(this,n,u(t,45))},s.Ec=function(n){return Npn(this,u(n,45))},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return u(K(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){Rwn(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return U3n(this,n,u(t,45))},s.gd=function(n){Zb(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new mn(null,new yn(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return jO(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=le(z8e,nme,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),az(this,n);this.e=i}},s.Fb=function(n){return xNe(this,n)},s.Hb=function(){return s1e(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new DSe(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return nO(this)},s.ak=function(n,t,i){return new XNe(n,t,i)},s.bk=function(){return new yL},s.Kc=function(n){return pBe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new N0(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return rde(this.c)},s.e=0,s.f=0,v(yc,"BasicEMap",711),m(1027,67,Th,DSe),s.Ki=function(n,t){vbn(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){ybn(this,u(t,136))},s.Pi=function(n,t,i){ppn(this,u(t,136),u(i,136))},s.Mi=function(n,t){aze(this.a)},v(yc,"BasicEMap/1",1027),m(1028,67,Th,yL),s.$i=function(n){return le(ZBn,zZe,611,n,0,1)},v(yc,"BasicEMap/2",1028),m(1029,Ga,fs,_Se),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xQ(this.a,n)},s.Jc=function(){return this.a.f==0?(A9(),tD.a):new mAe(this.a)},s.Kc=function(n){var t;return t=this.a.f,nz(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},v(yc,"BasicEMap/3",1029),m(1030,31,im,LSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return vXe(this.a,n)},s.Jc=function(){return this.a.f==0?(A9(),tD.a):new vAe(this.a)},s.gc=function(){return this.a.f},v(yc,"BasicEMap/4",1030),m(1031,Ga,fs,PSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,l,f,h,b;if(this.a.f>0&&X(n,45)&&(this.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Nle(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),b=t.i,l=0;l"+this.c},s.a=0;var ZBn=v(yc,"BasicEMap/EntryImpl",611);m(534,1,{},G6),v(yc,"BasicEMap/View",534);var tD;m(769,1,{}),s.Fb=function(n){return abe((En(),Sc),n)},s.Hb=function(){return y1e((En(),Sc))},s.Ib=function(){return Ja((En(),Sc))},v(yc,"ECollections/BasicEmptyUnmodifiableEList",769),m(1302,1,Wh,eC),s.Nb=function(n){Zr(this,n)},s.Rb=function(n){throw R(new _t)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw R(new hu)},s.Tb=function(){return 0},s.Ub=function(){throw R(new hu)},s.Vb=function(){return-1},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"ECollections/BasicEmptyUnmodifiableEList/1",1302),m(1300,769,{20:1,18:1,16:1,61:1},xxe),s._c=function(n,t){FAe()},s.Ec=function(n){return zAe()},s.ad=function(n,t){return JAe()},s.Fc=function(n){return HAe()},s.$b=function(){GAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Pse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return qAe()},s.Si=function(n,t){UAe()},s.ed=function(n){return XAe()},s.Kc=function(n){return KAe()},s.fd=function(n,t){return VAe()},s.gc=function(){return 0},s.gd=function(n){Zb(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new mn(null,new yn(this,16))},s.hd=function(n,t){return En(),new N0(Sc,n,t)},s.Nc=function(){return Ofe((En(),Sc))},s.Oc=function(n){return En(),qE(Sc,n)},v(yc,"ECollections/EmptyUnmodifiableEList",1300),m(1301,769,{20:1,18:1,16:1,61:1,586:1},Axe),s._c=function(n,t){FAe()},s.Ec=function(n){return zAe()},s.ad=function(n,t){return JAe()},s.Fc=function(n){return HAe()},s.$b=function(){GAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Pse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return qAe()},s.Si=function(n,t){UAe()},s.ed=function(n){return XAe()},s.Kc=function(n){return KAe()},s.fd=function(n,t){return VAe()},s.gc=function(){return 0},s.gd=function(n){Zb(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new mn(null,new yn(this,16))},s.hd=function(n,t){return En(),new N0(Sc,n,t)},s.Nc=function(){return Ofe((En(),Sc))},s.Oc=function(n){return En(),qE(Sc,n)},s._j=function(){return En(),En(),r1},v(yc,"ECollections/EmptyUnmodifiableEMap",1301);var J8e=Gi(yc,"Enumerator"),EG;m(290,1,{290:1},DW),s.Fb=function(n){var t;return this===n?!0:X(n,290)?(t=u(n,290),this.f==t.f&&l3n(this.i,t.i)&&uV(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&uV(this.d,t.d)&&uV(this.g,t.g)&&uV(this.e,t.e)&&hSn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return ZXe(this)},s.f=0;var Dan=0,_an=0,Lan=0,Pan=0,H8e=0,G8e=0,q8e=0,U8e=0,X8e=0,$an,oA=0,sA=0,Ran=0,Ban=0,SG,K8e;v(yc,"URI",290),m(1090,44,v3,Mxe),s.yc=function(n,t){return u(Kc(this,Pt(n),u(t,290)),290)},v(yc,"URI/URICache",1090),m(492,67,Th,nC,aR),s.Qi=function(){return!0},v(yc,"UniqueEList",492),m(578,63,H1,sB),v(yc,"WrappedException",578);var Zt=Gi(ql,HZe),Gm=Gi(ql,GZe),ns=Gi(ql,qZe),qm=Gi(ql,UZe),Ma=Gi(ql,XZe),vf=Gi(ql,"EClass"),zce=Gi(ql,"EDataType"),zan;m(1198,44,v3,Cxe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(ql,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1198);var xG=Gi(ql,"EEnum"),ed=Gi(ql,KZe),Rc=Gi(ql,VZe),yf=Gi(ql,YZe),kf,jp=Gi(ql,QZe),Um=Gi(ql,WZe);m(1023,1,{},tC),s.Ib=function(){return"NIL"},v(ql,"EStructuralFeature/Internal/DynamicValueHolder/1",1023);var Fan;m(1022,44,v3,Txe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(ql,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1022);var Fo=Gi(ql,ZZe),Qy=Gi(ql,"EValidator/PatternMatcher"),V8e,Y8e,Bn,e0,Xm,yb,Jan,Han,Gan,kb,n0,jb,Ep,rh,qan,Uan,jf,t0,Xan,i0,Km,i5,Ac,Kan,Van,Sp,AG=Gi(Ri,"FeatureMap/Entry");m(533,1,{75:1},C$),s.Jk=function(){return this.a},s.kd=function(){return this.b},v(Jn,"BasicEObjectImpl/1",533),m(1021,1,Lne,VCe),s.Dk=function(n){return aY(this.a,this.b,n)},s.Oj=function(){return P_e(this.a,this.b)},s.Wb=function(n){pae(this.a,this.b,n)},s.Ek=function(){h5n(this.a,this.b)},v(Jn,"BasicEObjectImpl/4",1021),m(2043,1,{114:1}),s.Kk=function(n){this.e=n==0?Yan:le(Mr,Nn,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw R(new _t)},s.Nk=function(){throw R(new _t)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw R(new _t)},s.Sk=function(n){throw R(new _t)},s.Tk=function(n){this.d=n};var Yan;v(Jn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2043),m(192,2043,{114:1},nl),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},v(Jn,"BasicEObjectImpl/EPropertiesHolderImpl",192),m(501,100,ZWe,jv),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new nl),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(C0(),Bn).S},s.i=0,s.j=1,v(Jn,"EObjectImpl",501),m(785,501,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},bfe),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return Ji(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new kL),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=dt(this.d),this.e=n==0?Qan:le(Mr,Nn,1,n,5,1)),this},s.gi=function(){return 0};var Qan;v(Jn,"DynamicEObjectImpl",785),m(1483,785,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},gIe),s.Fb=function(n){return this===n},s.Hb=function(){return jw(this)},s._h=function(n){this.d=n,this.b=ZO(n,"key"),this.c=ZO(n,$S)},s.yi=function(){var n;return this.a==-1&&(n=SY(this,this.b),this.a=n==null?0:Ni(n)),this.a},s.jd=function(){return SY(this,this.b)},s.kd=function(){return SY(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){pae(this,this.b,n)},s.ld=function(n){var t;return t=SY(this,this.c),pae(this,this.c,n),t},s.a=0,v(Jn,"DynamicEObjectImpl/BasicEMapEntry",1483),m(1484,1,{114:1},kL),s.Kk=function(n){throw R(new _t)},s.ii=function(n){throw R(new _t)},s.ji=function(n,t){throw R(new _t)},s.ki=function(n){throw R(new _t)},s.Lk=function(){throw R(new _t)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw R(new _t)},s.Qk=function(n){throw R(new _t)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},v(Jn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1484),m(504,161,{109:1,94:1,93:1,587:1,158:1,57:1,114:1,52:1,100:1,504:1,161:1,117:1,118:1},Nb),s.xh=function(n){return qde(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b):(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),nO(this.b));case 3:return H_e(this);case 4:return!this.a&&(this.a=new mr(vb,this,4)),this.a;case 5:return!this.c&&(this.c=new Jv(vb,this,5)),this.c}return Pl(this,n-dt((jn(),e0)),Cn((r=u(Kn(this,16),29),r||e0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?qde(this,i):this.Cb.Qh(this,-1-c,null,i))),Cfe(this,u(n,158),i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),e0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),e0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),K$(this.b,n,i);case 3:return Cfe(this,null,i);case 4:return!this.a&&(this.a=new mr(vb,this,4)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),e0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),e0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!H_e(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Ll(this,n-dt((jn(),e0)),Cn((t=u(Kn(this,16),29),t||e0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Yvn(this,Pt(t));return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),NB(this.b,t);return;case 3:FUe(this,u(t,158));return;case 4:!this.a&&(this.a=new mr(vb,this,4)),kt(this.a),!this.a&&(this.a=new mr(vb,this,4)),nr(this.a,u(t,18));return;case 5:!this.c&&(this.c=new Jv(vb,this,5)),kt(this.c),!this.c&&(this.c=new Jv(vb,this,5)),nr(this.c,u(t,18));return}Jl(this,n-dt((jn(),e0)),Cn((i=u(Kn(this,16),29),i||e0),n),t)},s.fi=function(){return jn(),e0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:Hhe(this,null);return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b.c.$b();return;case 3:FUe(this,null);return;case 4:!this.a&&(this.a=new mr(vb,this,4)),kt(this.a);return;case 5:!this.c&&(this.c=new Jv(vb,this,5)),kt(this.c);return}Fl(this,n-dt((jn(),e0)),Cn((t=u(Kn(this,16),29),t||e0),n))},s.Ib=function(){return IFe(this)},s.d=null,v(Jn,"EAnnotationImpl",504),m(142,711,tme,os),s.Ei=function(n,t){kwn(this,n,u(t,45))},s.Uk=function(n,t){return k2n(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return K$(this,n,t)},s.Dk=function(n){return u(this.c,77).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,77).Oj()},s.ak=function(n,t,i){var r;return r=u(ol(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new uoe(this)},s.Wb=function(n){NB(this,n)},s.Ek=function(){u(this.c,77).Ek()},v(Ri,"EcoreEMap",142),m(169,142,tme,Hs),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=le(z8e,nme,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&oi)%o.length,n=o[c],!n&&(n=o[c]=new uoe(this)),n.Ec(t);this.d=o}},v(Jn,"EAnnotationImpl/1",169),m(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ve(this.s);case 5:return ve(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?ff(this):this.r;case 9:return this.q}return Pl(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Mw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Mw(this.q).i==0)}return Ll(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return;case 2:Ld(this,Fe(ze(t)));return;case 3:Pd(this,Fe(ze(t)));return;case 4:Nd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:cg(this,u(t,143));return;case 9:r=Fa(this,u(t,87),null),r&&r.mj();return}Jl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Van},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return;case 2:Ld(this,!0);return;case 3:Pd(this,!0);return;case 4:Nd(this,0);return;case 5:this.Xk(1);return;case 8:cg(this,null);return;case 9:i=Fa(this,null,null),i&&i.mj();return}Fl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){ff(this),this.Bb|=1},s.Fk=function(){return ff(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return z1e(this,n,t)},s.Xk=function(n){$2(this,n)},s.Ib=function(){return tbe(this)},s.s=0,s.t=1,v(Jn,"ETypedElementImpl",293),m(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return EHe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ve(this.s);case 5:return ve(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?ff(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&Gf)!=0;case 11:return $n(),(this.Bb&V0)!=0;case 12:return $n(),(this.Bb&cm)!=0;case 13:return this.j;case 14:return A8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&jh)!=0;case 17:return O2(this)}return Pl(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?EHe(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,17,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 17:return hl(this,null,17,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Mw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Mw(this.q).i==0);case 10:return(this.Bb&Gf)==0;case 11:return(this.Bb&V0)!=0;case 12:return(this.Bb&cm)!=0;case 13:return this.j!=null;case 14:return A8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&jh)!=0;case 17:return!!O2(this)}return Ll(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:Ld(this,Fe(ze(t)));return;case 3:Pd(this,Fe(ze(t)));return;case 4:Nd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:cg(this,u(t,143));return;case 9:r=Fa(this,u(t,87),null),r&&r.mj();return;case 10:l8(this,Fe(ze(t)));return;case 11:h8(this,Fe(ze(t)));return;case 12:a8(this,Fe(ze(t)));return;case 13:Dse(this,Pt(t));return;case 15:f8(this,Fe(ze(t)));return;case 16:d8(this,Fe(ze(t)));return}Jl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Kan},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Y2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:Ld(this,!0);return;case 3:Pd(this,!0);return;case 4:Nd(this,0);return;case 5:this.Xk(1);return;case 8:cg(this,null);return;case 9:i=Fa(this,null,null),i&&i.mj();return;case 10:l8(this,!0);return;case 11:h8(this,!1);return;case 12:a8(this,!1);return;case 13:this.i=null,xB(this,null);return;case 15:f8(this,!1);return;case 16:d8(this,!1);return}Fl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){$9(Vc((ls(),nc),this)),ff(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return A8(this)},s.ok=function(){return O2(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return mz(this)},s.uk=function(){var n,t,i,r,c,o,l,f,h;return this.p||(i=O2(this),(i.i==null&&kh(i),i.i).length,r=this.sk(),r&&dt(O2(r)),c=ff(this),l=c.ik(),n=l?(l.i&1)!=0?l==ts?Qi:l==$t?jr:l==Ym?b7:l==Jr?gr:l==Ap?sp:l==o5?lp:l==ds?jy:KS:l:null,t=A8(this),f=c.gk(),Ljn(this),(this.Bb&jh)!=0&&((o=Wde((ls(),nc),i))&&o!=this||(o=$4(Vc(nc,this))))?this.p=new QCe(this,o):this.Hk()?this.$k()?r?(this.Bb&as)!=0?n?this._k()?this.p=new Ub(47,n,this,r):this.p=new Ub(5,n,this,r):this._k()?this.p=new Wb(46,this,r):this.p=new Wb(4,this,r):n?this._k()?this.p=new Ub(49,n,this,r):this.p=new Ub(7,n,this,r):this._k()?this.p=new Wb(48,this,r):this.p=new Wb(6,this,r):(this.Bb&as)!=0?n?n==yg?this.p=new xd(50,Oan,this):this._k()?this.p=new xd(43,n,this):this.p=new xd(1,n,this):this._k()?this.p=new Md(42,this):this.p=new Md(0,this):n?n==yg?this.p=new xd(41,Oan,this):this._k()?this.p=new xd(45,n,this):this.p=new xd(3,n,this):this._k()?this.p=new Md(44,this):this.p=new Md(2,this):X(c,159)?n==AG?this.p=new Md(40,this):(this.Bb&512)!=0?(this.Bb&as)!=0?n?this.p=new xd(9,n,this):this.p=new Md(8,this):n?this.p=new xd(11,n,this):this.p=new Md(10,this):(this.Bb&as)!=0?n?this.p=new xd(13,n,this):this.p=new Md(12,this):n?this.p=new xd(15,n,this):this.p=new Md(14,this):r?(h=r.t,h>1||h==-1?this._k()?(this.Bb&as)!=0?n?this.p=new Ub(25,n,this,r):this.p=new Wb(24,this,r):n?this.p=new Ub(27,n,this,r):this.p=new Wb(26,this,r):(this.Bb&as)!=0?n?this.p=new Ub(29,n,this,r):this.p=new Wb(28,this,r):n?this.p=new Ub(31,n,this,r):this.p=new Wb(30,this,r):this._k()?(this.Bb&as)!=0?n?this.p=new Ub(33,n,this,r):this.p=new Wb(32,this,r):n?this.p=new Ub(35,n,this,r):this.p=new Wb(34,this,r):(this.Bb&as)!=0?n?this.p=new Ub(37,n,this,r):this.p=new Wb(36,this,r):n?this.p=new Ub(39,n,this,r):this.p=new Wb(38,this,r)):this._k()?(this.Bb&as)!=0?n?this.p=new xd(17,n,this):this.p=new Md(16,this):n?this.p=new xd(19,n,this):this.p=new Md(18,this):(this.Bb&as)!=0?n?this.p=new xd(21,n,this):this.p=new Md(20,this):n?this.p=new xd(23,n,this):this.p=new Md(22,this):this.Zk()?this._k()?this.p=new zNe(u(c,29),this,r):this.p=new bae(u(c,29),this,r):X(c,159)?n==AG?this.p=new Md(40,this):(this.Bb&as)!=0?n?this.p=new $Ie(t,f,this,(MQ(),l==$t?i7e:l==ts?W8e:l==Ap?r7e:l==Ym?t7e:l==Jr?n7e:l==o5?c7e:l==ds?Z8e:l==Wl?e7e:Hce)):this.p=new ZDe(u(c,159),t,f,this):n?this.p=new PIe(t,f,this,(MQ(),l==$t?i7e:l==ts?W8e:l==Ap?r7e:l==Ym?t7e:l==Jr?n7e:l==o5?c7e:l==ds?Z8e:l==Wl?e7e:Hce)):this.p=new WDe(u(c,159),t,f,this):this.$k()?r?(this.Bb&as)!=0?this._k()?this.p=new JNe(u(c,29),this,r):this.p=new Zle(u(c,29),this,r):this._k()?this.p=new FNe(u(c,29),this,r):this.p=new ZK(u(c,29),this,r):(this.Bb&as)!=0?this._k()?this.p=new ROe(u(c,29),this):this.p=new mle(u(c,29),this):this._k()?this.p=new $Oe(u(c,29),this):this.p=new BK(u(c,29),this):this._k()?r?(this.Bb&as)!=0?this.p=new HNe(u(c,29),this,r):this.p=new efe(u(c,29),this,r):(this.Bb&as)!=0?this.p=new BOe(u(c,29),this):this.p=new vle(u(c,29),this):r?(this.Bb&as)!=0?this.p=new GNe(u(c,29),this,r):this.p=new nfe(u(c,29),this,r):(this.Bb&as)!=0?this.p=new zOe(u(c,29),this):this.p=new fR(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&Gf)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&jh)!=0},s.vk=function(){return AY(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&as)!=0},s.al=function(n){this.k=n},s.ri=function(n){XV(this,n)},s.Ib=function(){return Jz(this)},s.e=!1,s.n=0,v(Jn,"EStructuralFeatureImpl",451),m(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},vX),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ve(this.s);case 5:return ve(this.t);case 6:return $n(),!!Y0e(this);case 7:return $n(),c=this.s,c>=1;case 8:return t?ff(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&Gf)!=0;case 11:return $n(),(this.Bb&V0)!=0;case 12:return $n(),(this.Bb&cm)!=0;case 13:return this.j;case 14:return A8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&jh)!=0;case 17:return O2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return t?XY(this):n$e(this)}return Pl(this,n-dt((jn(),Xm)),Cn((r=u(Kn(this,16),29),r||Xm),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Y0e(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Mw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Mw(this.q).i==0);case 10:return(this.Bb&Gf)==0;case 11:return(this.Bb&V0)!=0;case 12:return(this.Bb&cm)!=0;case 13:return this.j!=null;case 14:return A8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&jh)!=0;case 17:return!!O2(this);case 18:return(this.Bb&Ru)!=0;case 19:return!!n$e(this)}return Ll(this,n-dt((jn(),Xm)),Cn((t=u(Kn(this,16),29),t||Xm),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:Ld(this,Fe(ze(t)));return;case 3:Pd(this,Fe(ze(t)));return;case 4:Nd(this,u(t,15).a);return;case 5:xAe(this,u(t,15).a);return;case 8:cg(this,u(t,143));return;case 9:r=Fa(this,u(t,87),null),r&&r.mj();return;case 10:l8(this,Fe(ze(t)));return;case 11:h8(this,Fe(ze(t)));return;case 12:a8(this,Fe(ze(t)));return;case 13:Dse(this,Pt(t));return;case 15:f8(this,Fe(ze(t)));return;case 16:d8(this,Fe(ze(t)));return;case 18:mQ(this,Fe(ze(t)));return}Jl(this,n-dt((jn(),Xm)),Cn((i=u(Kn(this,16),29),i||Xm),n),t)},s.fi=function(){return jn(),Xm},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Y2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:Ld(this,!0);return;case 3:Pd(this,!0);return;case 4:Nd(this,0);return;case 5:this.b=0,$2(this,1);return;case 8:cg(this,null);return;case 9:i=Fa(this,null,null),i&&i.mj();return;case 10:l8(this,!0);return;case 11:h8(this,!1);return;case 12:a8(this,!1);return;case 13:this.i=null,xB(this,null);return;case 15:f8(this,!1);return;case 16:d8(this,!1);return;case 18:mQ(this,!1);return}Fl(this,n-dt((jn(),Xm)),Cn((t=u(Kn(this,16),29),t||Xm),n))},s.mi=function(){XY(this),$9(Vc((ls(),nc),this)),ff(this),this.Bb|=1},s.Hk=function(){return Y0e(this)},s.Wk=function(n,t){return this.b=0,this.a=null,z1e(this,n,t)},s.Xk=function(n){xAe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Jz(this):(n=new cf(Jz(this)),n.a+=" (iD: ",yd(n,(this.Bb&Ru)!=0),n.a+=")",n.a)},s.b=0,v(Jn,"EAttributeImpl",335),m(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return WQ(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Gw(this);case 4:return this.gk();case 5:return this.F;case 6:return t?ol(this):z9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A}return Pl(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,6,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return hl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Gw(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!z9(this);case 7:return!!this.A&&this.A.i!=0}return Ll(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:zR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:D8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return}Jl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Jan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:c8(this,null),K9(this,this.D);return;case 5:D8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return}Fl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=ol(this),n?$d(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return ol(this)},s.cl=function(){return this.v},s.ik=function(){return Gw(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return JW(this,n)},s.dl=function(n){this.v=n},s.el=function(n){GBe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){zR(this,n)},s.Ib=function(){return QB(this)},s.C=null,s.D=null,s.G=-1,v(Jn,"EClassifierImpl",360),m(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},rj),s.bl=function(n){return o2n(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Gw(this);case 4:return null;case 5:return this.F;case 6:return t?ol(this):z9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A;case 8:return $n(),(this.Bb&256)!=0;case 9:return $n(),(this.Bb&512)!=0;case 10:return tu(this);case 11:return!this.q&&(this.q=new we(yf,this,11,10)),this.q;case 12:return g3(this);case 13:return fS(this);case 14:return fS(this),this.r;case 15:return g3(this),this.k;case 16:return B0e(this);case 17:return UW(this);case 18:return kh(this);case 19:return Dz(this);case 20:return g3(this),this.o;case 21:return!this.s&&(this.s=new we(ns,this,21,17)),this.s;case 22:return Vu(this);case 23:return IW(this)}return Pl(this,n-dt((jn(),yb)),Cn((r=u(Kn(this,16),29),r||yb),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,6,i);case 11:return!this.q&&(this.q=new we(yf,this,11,10)),Co(this.q,n,i);case 21:return!this.s&&(this.s=new we(ns,this,21,17)),Co(this.s,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),yb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),yb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return hl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 11:return!this.q&&(this.q=new we(yf,this,11,10)),vc(this.q,n,i);case 21:return!this.s&&(this.s=new we(ns,this,21,17)),vc(this.s,n,i);case 22:return vc(Vu(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),yb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),yb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Gw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!z9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Vu(this.u.a).i!=0&&!(this.n&&FQ(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return g3(this).i!=0;case 13:return fS(this).i!=0;case 14:return fS(this),this.r.i!=0;case 15:return g3(this),this.k.i!=0;case 16:return B0e(this).i!=0;case 17:return UW(this).i!=0;case 18:return kh(this).i!=0;case 19:return Dz(this).i!=0;case 20:return g3(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&FQ(this.n);case 23:return IW(this).i!=0}return Ll(this,n-dt((jn(),yb)),Cn((t=u(Kn(this,16),29),t||yb),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:ZO(this,n),t||Cge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:zR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:D8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:H1e(this,Fe(ze(t)));return;case 9:G1e(this,Fe(ze(t)));return;case 10:dS(tu(this)),nr(tu(this),u(t,18));return;case 11:!this.q&&(this.q=new we(yf,this,11,10)),kt(this.q),!this.q&&(this.q=new we(yf,this,11,10)),nr(this.q,u(t,18));return;case 21:!this.s&&(this.s=new we(ns,this,21,17)),kt(this.s),!this.s&&(this.s=new we(ns,this,21,17)),nr(this.s,u(t,18));return;case 22:kt(Vu(this)),nr(Vu(this),u(t,18));return}Jl(this,n-dt((jn(),yb)),Cn((i=u(Kn(this,16),29),i||yb),n),t)},s.fi=function(){return jn(),yb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:c8(this,null),K9(this,this.D);return;case 5:D8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:H1e(this,!1);return;case 9:G1e(this,!1);return;case 10:this.u&&dS(this.u);return;case 11:!this.q&&(this.q=new we(yf,this,11,10)),kt(this.q);return;case 21:!this.s&&(this.s=new we(ns,this,21,17)),kt(this.s);return;case 22:this.n&&kt(this.n);return}Fl(this,n-dt((jn(),yb)),Cn((t=u(Kn(this,16),29),t||yb),n))},s.mi=function(){var n,t;if(g3(this),fS(this),B0e(this),UW(this),kh(this),Dz(this),IW(this),yE(Tvn(Ms(this))),this.s)for(n=0,t=this.s.i;n=0;--t)K(this,t);return hde(this,n)},s.Ek=function(){kt(this)},s.Xi=function(n,t){return wBe(this,n,t)},v(Ri,"EcoreEList",623),m(491,623,au,PT),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,v(Ri,"EObjectEList",491),m(81,491,au,mr),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},v(Ri,"EObjectContainmentEList",81),m(543,81,au,B$),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.b,this.b=!1,hi(this.e,new Lf(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,v(Ri,"EObjectContainmentEList/Unsettable",543),m(1130,543,au,RIe),s.Ri=function(n,t){var i,r;return i=u(BE(this,n,t),87),Fs(this.e)&&f9(this,new rO(this.a,7,(jn(),Han),ve(t),(r=i.c,X(r,88)?u(r,29):jf),n)),i},s.Sj=function(n,t){return dEn(this,u(n,87),t)},s.Tj=function(n,t){return bEn(this,u(n,87),t)},s.Uj=function(n,t,i){return gAn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return bE(this,n,t,i,r,this.i>1);case 5:return bE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new L1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return FQ(this)},s.Ek=function(){kt(this)},v(Jn,"EClassImpl/1",1130),m(1144,1143,eme),s.bj=function(n){var t,i,r,c,o,l,f;if(i=n.ej(),i!=8){if(r=QEn(n),r==0)switch(i){case 1:case 9:{f=n.ij(),f!=null&&(t=Ms(u(f,471)),!t.c&&(t.c=new Ol),fB(t.c,n.hj())),l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Ol),Et(t.c,u(n.hj(),29))));break}case 3:{l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Ol),Et(t.c,u(n.hj(),29))));break}case 5:{if(l=n.gj(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Ol),Et(t.c,u(n.hj(),29)));break}case 4:{f=n.ij(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Ol),fB(t.c,n.hj())));break}case 6:{if(f=n.ij(),f!=null)for(o=u(f,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Ol),fB(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){MXe(this,n)},s.b=63,v(Jn,"ESuperAdapter",1144),m(1145,1144,eme,RSe),s.ol=function(n){Y2(this,n)},v(Jn,"EClassImpl/10",1145),m(1134,699,au),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return oHe(this,n)},s.Ei=function(n,t){MO(this,n,t)},s.Fi=function(n){WT(this,n)},s.Yi=function(n){return phe(this,n)},s.Vi=function(n,t){return xY(this,n,t)},s.Uk=function(n,t){throw R(new _t)},s.Gi=function(){return new E4(this)},s.Hi=function(){return new ET(this)},s.Ii=function(n){return bO(this,n)},s.Vk=function(n,t){throw R(new _t)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw R(new _t)},s.Ek=function(){throw R(new _t)},v(Ri,"EcoreEList/UnmodifiableEList",1134),m(333,1134,au,Pv),s.Wi=function(){return!1},v(Ri,"EcoreEList/UnmodifiableEList/FastCompare",333),m(1137,333,au,Pze),s.bd=function(n){var t,i,r;if(X(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),f=i==this.b&&(this.kl()?r.vh(r.Ch(),u(Cn(Go(this.b),this.Jj()).Fk(),29).ik())==Oc(u(Cn(Go(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!f&&!i&&r.Gh()){for(c=0;c1||r==-1)):!1},s.kl=function(){var n,t,i;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),i=Oc(n),!!i):!1},s.ll=function(){var n,t;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),(n.Bb&Ec)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i=0;--n)oN(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)oN(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){dS(this)},s.Xi=function(n,t){return z$e(this,n,t)},v(Ri,"DelegatingEcoreEList",744),m(1140,744,rme,YOe),s.oj=function(n,t){Ppn(this,n,u(t,29))},s.pj=function(n){Ewn(this,u(n,29))},s.vj=function(n){var t,i;return t=u(K(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),jf)},s.Aj=function(n){var t,i;return t=u(Z2(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),jf)},s.Bj=function(n,t){return HSn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new FSe(this)},s.rj=function(){kt(Vu(this.a))},s.sj=function(n){return DFe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!DFe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(X(n,16)&&(r=u(n,16),r.gc()==Vu(this.a).i)){for(t=r.Jc(),i=new st(this);t.Ob();)if(ue(t.Pb())!==ue(ft(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),r=(c=n.c,X(c,88)?u(c,29):(jn(),jf)),i=31*i+(r?jw(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new st(Vu(this.a));i.e!=i.i.gc();){if(t=u(ft(i),87),ue(n)===ue((c=t.c,X(c,88)?u(c,29):(jn(),jf))))return r;++r}return-1},s.yj=function(){return Vu(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return Vu(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=Vu(this.a).i,c=le(Mr,Nn,1,o,5,1),i=0,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),c[i++]=(r=n.c,X(r,88)?u(r,29):(jn(),jf));return c},s.Ej=function(n){var t,i,r,c,o,l,f;for(f=Vu(this.a).i,n.lengthf&&ir(n,f,null),r=0,i=new st(Vu(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,X(l,88)?u(l,29):(jn(),jf)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new vd,c.a+="[",n=Vu(this.a),t=0,r=Vu(this.a).i;t>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,6,i);case 9:return!this.a&&(this.a=new we(ed,this,9,5)),Co(this.a,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),kb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),kb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return hl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 9:return!this.a&&(this.a=new we(ed,this,9,5)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),kb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),kb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Gw(this);case 4:return!!O1e(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!z9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Ll(this,n-dt((jn(),kb)),Cn((t=u(Kn(this,16),29),t||kb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:zR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:D8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:HB(this,Fe(ze(t)));return;case 9:!this.a&&(this.a=new we(ed,this,9,5)),kt(this.a),!this.a&&(this.a=new we(ed,this,9,5)),nr(this.a,u(t,18));return}Jl(this,n-dt((jn(),kb)),Cn((i=u(Kn(this,16),29),i||kb),n),t)},s.fi=function(){return jn(),kb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:c8(this,null),K9(this,this.D);return;case 5:D8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:HB(this,!0);return;case 9:!this.a&&(this.a=new we(ed,this,9,5)),kt(this.a);return}Fl(this,n-dt((jn(),kb)),Cn((t=u(Kn(this,16),29),t||kb),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?u(this.Cb,675):null}return Pl(this,n-dt((jn(),n0)),Cn((r=u(Kn(this,16),29),r||n0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?_He(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,5,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),n0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),n0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 5:return hl(this,null,5,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),n0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),n0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Ll(this,n-dt((jn(),n0)),Cn((t=u(Kn(this,16),29),t||n0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:IY(this,u(t,15).a);return;case 3:$qe(this,u(t,2001));return;case 4:_Y(this,Pt(t));return}Jl(this,n-dt((jn(),n0)),Cn((i=u(Kn(this,16),29),i||n0),n),t)},s.fi=function(){return jn(),n0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:IY(this,0);return;case 3:$qe(this,null);return;case 4:_Y(this,null);return}Fl(this,n-dt((jn(),n0)),Cn((t=u(Kn(this,16),29),t||n0),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,v(Jn,"EEnumLiteralImpl",568);var ezn=Gi(Jn,"EFactoryImpl/InternalEDateTimeFormat");m(485,1,{2076:1},KC),v(Jn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),m(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},gw),s.zh=function(n,t,i){var r;return i=hl(this,n,t,i),this.e&&X(n,179)&&(r=Iz(this,this.e),r!=this.c&&(i=_8(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new mr(Rc,this,1)),this.d;case 2:return t?Gz(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?GQ(this):this.a}return Pl(this,n-dt((jn(),Ep)),Cn((r=u(Kn(this,16),29),r||Ep),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return vFe(this,null,i);case 1:return!this.d&&(this.d=new mr(Rc,this,1)),vc(this.d,n,i);case 3:return mFe(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Ep)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Ep)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Ll(this,n-dt((jn(),Ep)),Cn((t=u(Kn(this,16),29),t||Ep),n))},s.$h=function(n,t){var i;switch(n){case 0:ZHe(this,u(t,87));return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d),!this.d&&(this.d=new mr(Rc,this,1)),nr(this.d,u(t,18));return;case 3:u0e(this,u(t,87));return;case 4:x0e(this,u(t,834));return;case 5:X9(this,u(t,143));return}Jl(this,n-dt((jn(),Ep)),Cn((i=u(Kn(this,16),29),i||Ep),n),t)},s.fi=function(){return jn(),Ep},s.hi=function(n){var t;switch(n){case 0:ZHe(this,null);return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d);return;case 3:u0e(this,null);return;case 4:x0e(this,null);return;case 5:X9(this,null);return}Fl(this,n-dt((jn(),Ep)),Cn((t=u(Kn(this,16),29),t||Ep),n))},s.Ib=function(){var n;return n=new tl(Ff(this)),n.a+=" (expression: ",QW(this,n),n.a+=")",n.a};var Q8e;v(Jn,"EGenericTypeImpl",248),m(2029,2024,YF),s.Ei=function(n,t){WOe(this,n,t)},s.Uk=function(n,t){return WOe(this,this.gc(),n),t},s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new qSe(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return H2(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=nW(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;H2(this,t,!0),i=this.dd(n),i.Rb(t)},v(Ri,"AbstractSequentialInternalEList",2029),m(482,2029,YF,ST),s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.b==null?(Ed(),Ed(),iD):this.ql()},s.nj=function(){return new pTe(this.a,this.b)},s.Hi=function(){return this.b==null?(Ed(),Ed(),iD):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw R(new jo(RS+n+", size=0"));return Ed(),Ed(),iD}for(i=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=K7||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(Tc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),X(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?QGe(this,this.p):oqe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return IB(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw R(new hu)},s.Vb=function(){return this.a-1},s.Qb=function(){throw R(new _t)},s.sl=function(){return!1},s.Wb=function(n){throw R(new _t)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var iD;v(Ri,"EContentsEList/FeatureIteratorImpl",287),m(700,287,QF,ple),s.sl=function(){return!0},v(Ri,"EContentsEList/ResolvingFeatureIteratorImpl",700),m(1147,700,QF,_Oe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/1",1147),m(1148,287,QF,LOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/2",1148),m(39,151,zN,_2,rY,Dr,mY,L1,Lf,The,yLe,Ohe,kLe,Gae,jLe,Dhe,ELe,qae,SLe,Nhe,xLe,oE,rO,RV,Ihe,ALe,Uae,MLe),s.Ij=function(){return ahe(this)},s.Pj=function(){var n;return n=ahe(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=ahe(this),n?n.rk():!1},s.b=-1,v(Jn,"ENotificationImpl",39),m(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},yX),s.xh=function(n){return PHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ve(this.s);case 5:return ve(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?ff(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new rs(Fo,this,11)),this.d;case 12:return!this.c&&(this.c=new we(jp,this,12,10)),this.c;case 13:return!this.a&&(this.a=new CT(this,this)),this.a;case 14:return Ts(this)}return Pl(this,n-dt((jn(),t0)),Cn((r=u(Kn(this,16),29),r||t0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?PHe(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,10,i);case 12:return!this.c&&(this.c=new we(jp,this,12,10)),Co(this.c,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return hl(this,null,10,i);case 11:return!this.d&&(this.d=new rs(Fo,this,11)),vc(this.d,n,i);case 12:return!this.c&&(this.c=new we(jp,this,12,10)),vc(this.c,n,i);case 14:return vc(Ts(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Mw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Mw(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ts(this.a.a).i!=0&&!(this.b&&JQ(this.b));case 14:return!!this.b&&JQ(this.b)}return Ll(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:Ld(this,Fe(ze(t)));return;case 3:Pd(this,Fe(ze(t)));return;case 4:Nd(this,u(t,15).a);return;case 5:$2(this,u(t,15).a);return;case 8:cg(this,u(t,143));return;case 9:r=Fa(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d),!this.d&&(this.d=new rs(Fo,this,11)),nr(this.d,u(t,18));return;case 12:!this.c&&(this.c=new we(jp,this,12,10)),kt(this.c),!this.c&&(this.c=new we(jp,this,12,10)),nr(this.c,u(t,18));return;case 13:!this.a&&(this.a=new CT(this,this)),dS(this.a),!this.a&&(this.a=new CT(this,this)),nr(this.a,u(t,18));return;case 14:kt(Ts(this)),nr(Ts(this),u(t,18));return}Jl(this,n-dt((jn(),t0)),Cn((i=u(Kn(this,16),29),i||t0),n),t)},s.fi=function(){return jn(),t0},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:Ld(this,!0);return;case 3:Pd(this,!0);return;case 4:Nd(this,0);return;case 5:$2(this,1);return;case 8:cg(this,null);return;case 9:i=Fa(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d);return;case 12:!this.c&&(this.c=new we(jp,this,12,10)),kt(this.c);return;case 13:this.a&&dS(this.a);return;case 14:this.b&&kt(this.b);return}Fl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nf&&ir(n,f,null),r=0,i=new st(Ts(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,l||(jn(),rh)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new vd,c.a+="[",n=Ts(this.a),t=0,r=Ts(this.a).i;t1);case 5:return bE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new L1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return JQ(this)},s.Ek=function(){kt(this)},v(Jn,"EOperationImpl/2",1331),m(493,1,{1999:1,493:1},YCe),v(Jn,"EPackageImpl/1",493),m(14,81,au,we),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectContainmentWithInverseEList",14),m(361,14,au,x4),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Resolving",361),m(312,361,au,x2),s.Li=function(){this.a.tb=null},v(Jn,"EPackageImpl/2",312),m(1243,1,{},Ss),v(Jn,"EPackageImpl/3",1243),m(721,44,v3,yoe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},v(Jn,"EPackageRegistryImpl",721),m(503,293,{109:1,94:1,93:1,158:1,197:1,57:1,2078:1,114:1,470:1,52:1,100:1,161:1,503:1,293:1,117:1,118:1},kX),s.xh=function(n){return $He(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ve(this.s);case 5:return ve(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?ff(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return Pl(this,n-dt((jn(),Km)),Cn((r=u(Kn(this,16),29),r||Km),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?$He(this,i):this.Cb.Qh(this,-1-c,null,i))),hl(this,n,10,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Km)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Km)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return hl(this,null,10,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Km)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Km)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Mw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Mw(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Ll(this,n-dt((jn(),Km)),Cn((t=u(Kn(this,16),29),t||Km),n))},s.fi=function(){return jn(),Km},v(Jn,"EParameterImpl",503),m(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},kle),s.Ih=function(n,t,i){var r,c,o,l;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ve(this.s);case 5:return ve(this.t);case 6:return $n(),l=this.t,l>1||l==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?ff(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&Gf)!=0;case 11:return $n(),(this.Bb&V0)!=0;case 12:return $n(),(this.Bb&cm)!=0;case 13:return this.j;case 14:return A8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&jh)!=0;case 17:return O2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return $n(),o=Oc(this),!!(o&&(o.Bb&Ru)!=0);case 20:return $n(),(this.Bb&Ec)!=0;case 21:return t?Oc(this):this.b;case 22:return t?d1e(this):GPe(this);case 23:return!this.a&&(this.a=new Jv(qm,this,23)),this.a}return Pl(this,n-dt((jn(),i5)),Cn((r=u(Kn(this,16),29),r||i5),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Mw(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Mw(this.q).i==0);case 10:return(this.Bb&Gf)==0;case 11:return(this.Bb&V0)!=0;case 12:return(this.Bb&cm)!=0;case 13:return this.j!=null;case 14:return A8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&jh)!=0;case 17:return!!O2(this);case 18:return(this.Bb&Ru)!=0;case 19:return r=Oc(this),!!r&&(r.Bb&Ru)!=0;case 20:return(this.Bb&Ec)==0;case 21:return!!this.b;case 22:return!!GPe(this);case 23:return!!this.a&&this.a.i!=0}return Ll(this,n-dt((jn(),i5)),Cn((t=u(Kn(this,16),29),t||i5),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:Ld(this,Fe(ze(t)));return;case 3:Pd(this,Fe(ze(t)));return;case 4:Nd(this,u(t,15).a);return;case 5:$2(this,u(t,15).a);return;case 8:cg(this,u(t,143));return;case 9:r=Fa(this,u(t,87),null),r&&r.mj();return;case 10:l8(this,Fe(ze(t)));return;case 11:h8(this,Fe(ze(t)));return;case 12:a8(this,Fe(ze(t)));return;case 13:Dse(this,Pt(t));return;case 15:f8(this,Fe(ze(t)));return;case 16:d8(this,Fe(ze(t)));return;case 18:L4n(this,Fe(ze(t)));return;case 20:Y1e(this,Fe(ze(t)));return;case 21:Khe(this,u(t,19));return;case 23:!this.a&&(this.a=new Jv(qm,this,23)),kt(this.a),!this.a&&(this.a=new Jv(qm,this,23)),nr(this.a,u(t,18));return}Jl(this,n-dt((jn(),i5)),Cn((i=u(Kn(this,16),29),i||i5),n),t)},s.fi=function(){return jn(),i5},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Y2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:Ld(this,!0);return;case 3:Pd(this,!0);return;case 4:Nd(this,0);return;case 5:$2(this,1);return;case 8:cg(this,null);return;case 9:i=Fa(this,null,null),i&&i.mj();return;case 10:l8(this,!0);return;case 11:h8(this,!1);return;case 12:a8(this,!1);return;case 13:this.i=null,xB(this,null);return;case 15:f8(this,!1);return;case 16:d8(this,!1);return;case 18:Q1e(this,!1),X(this.Cb,88)&&Y2(Ms(u(this.Cb,88)),2);return;case 20:Y1e(this,!0);return;case 21:Khe(this,null);return;case 23:!this.a&&(this.a=new Jv(qm,this,23)),kt(this.a);return}Fl(this,n-dt((jn(),i5)),Cn((t=u(Kn(this,16),29),t||i5),n))},s.mi=function(){d1e(this),$9(Vc((ls(),nc),this)),ff(this),this.Bb|=1},s.sk=function(){return Oc(this)},s.Zk=function(){var n;return n=Oc(this),!!n&&(n.Bb&Ru)!=0},s.$k=function(){return(this.Bb&Ru)!=0},s._k=function(){return(this.Bb&Ec)!=0},s.Wk=function(n,t){return this.c=null,z1e(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?Jz(this):(n=new cf(Jz(this)),n.a+=" (containment: ",yd(n,(this.Bb&Ru)!=0),n.a+=", resolveProxies: ",yd(n,(this.Bb&Ec)!=0),n.a+=")",n.a)},v(Jn,"EReferenceImpl",103),m(549,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,549:1,117:1,118:1},$h),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return jw(this)},s.Ai=function(n){Qvn(this,Pt(n))},s.ld=function(n){return zvn(this,Pt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return Pl(this,n-dt((jn(),Ac)),Cn((r=u(Kn(this,16),29),r||Ac),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Ll(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.$h=function(n,t){var i;switch(n){case 0:Wvn(this,Pt(t));return;case 1:Jhe(this,Pt(t));return}Jl(this,n-dt((jn(),Ac)),Cn((i=u(Kn(this,16),29),i||Ac),n),t)},s.fi=function(){return jn(),Ac},s.hi=function(n){var t;switch(n){case 0:qhe(this,null);return;case 1:Jhe(this,null);return}Fl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:Id(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Ff(this):(n=new cf(Ff(this)),n.a+=" (key: ",Bc(n,this.b),n.a+=", value: ",Bc(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var Du=v(Jn,"EStringToStringMapEntryImpl",549),Zan=Gi(Ri,"FeatureMap/Entry/Internal");m(562,1,WF),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:X(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:gi(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),Ni(this.c)^(n==null?0:Ni(n))},s.Ib=function(){var n,t;return n=this.c,t=ol(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},v(Jn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),m(777,562,WF,Mle),s.wl=function(n){return new Mle(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return E7n(this,n,this.a,t,i)},s.yl=function(n,t,i){return S7n(this,n,this.a,t,i)},v(Jn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",777),m(1304,1,{},QCe),s.wk=function(n,t,i,r,c){var o;return o=u(H9(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(H9(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(H9(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(H9(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(H9(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(H9(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(H9(n,this.b),219),r.Wl(this.a).Ek()},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1304),m(89,1,{},xd,Ub,Md,Wb),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=eF(this,n)),!c)switch(this.e){case 50:case 41:return u(o,586)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),l==null&&t.ji(i,l=eF(this,n)),o=u(l,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,77).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),77),!c&&t.ji(i,c=eF(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=eF(this,n)),X(c,77)?u(c,77):(r=u(t.ii(i),16),new HSe(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),77),!r&&t.ji(i,r=eF(this,n)),r.Ek()},s.b=0,s.e=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),m(498,1,{}),s.xk=function(n,t,i,r,c){throw R(new _t)},s.yk=function(n,t,i,r,c){throw R(new _t)},s.Bk=function(n,t,i){return new KDe(this,n,t,i)};var d1;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",498),m(1321,1,Lne,KDe),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1321),m(770,498,{},bae),s.wk=function(n,t,i,r,c){return RW(n,n.Mh(),n.Ch())==this.b?this._k()&&r?xW(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,l;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),l=Ji(n.Ah(),this.e),n.zh(r,l,c)},s.yk=function(n,t,i,r,c){var o;return o=Ji(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=Ji(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new a9(ZF+(X(r,57)?c0e(u(r,57).Ah()):xhe(Us(r)))+eJ+this.a+"'"));if(c=n.Mh(),l=Ji(n.Ah(),this.e),ue(r)!==ue(c)||n.Ch()!=l&&r!=null){if(m8(n,u(r,57)))throw R(new Un(PS+n.Ib()));h=null,c&&(h=(o=n.Ch(),o>=0?n.xh(h):n.Mh().Qh(n,-1-o,null,h))),f=u(r,52),f&&(h=f.Oh(n,Ji(f.Ah(),this.b),null,h)),h=n.zh(f,l,h),h&&h.mj()}else n.sh()&&n.th()&&hi(n,new Dr(n,1,l,r,r))},s.Ck=function(n,t,i){var r,c,o,l;r=n.Mh(),r?(l=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=Ji(n.Ah(),this.e),l=n.zh(null,o,l),l&&l.mj()):n.sh()&&n.th()&&hi(n,new oE(n,1,this.e,null,null))},s._k=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",770),m(1305,770,{},zNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1305),m(560,498,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:ue(o)===ue(d1)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(ue(r)===ue(d1)||!gi(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:ue(o)===ue(d1)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,d1):t.ji(i,null):(this.zl(r),t.ji(i,r)),hi(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,d1):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:ue(c)===ue(d1)?null:c),t.ki(i),hi(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw R(new ZSe)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),m(C3,1,{},sw),s.Al=function(n,t,i,r,c){return new oE(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new RV(n,t,i,r,c,o)};var W8e,Z8e,e7e,n7e,t7e,i7e,r7e,Hce,c7e;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",C3),m(1322,C3,{},SL),s.Al=function(n,t,i,r,c){return new Uae(n,t,i,Fe(ze(r)),Fe(ze(c)))},s.Bl=function(n,t,i,r,c,o){return new MLe(n,t,i,Fe(ze(r)),Fe(ze(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1322),m(1323,C3,{},xL),s.Al=function(n,t,i,r,c){return new The(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new yLe(n,t,i,u(r,221).a,u(c,221).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1323),m(1324,C3,{},AL),s.Al=function(n,t,i,r,c){return new Ohe(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new kLe(n,t,i,u(r,180).a,u(c,180).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1324),m(1325,C3,{},bU),s.Al=function(n,t,i,r,c){return new Gae(n,t,i,ne(re(r)),ne(re(c)))},s.Bl=function(n,t,i,r,c,o){return new jLe(n,t,i,ne(re(r)),ne(re(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1325),m(1326,C3,{},Hk),s.Al=function(n,t,i,r,c){return new Dhe(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new ELe(n,t,i,u(r,164).a,u(c,164).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1326),m(1327,C3,{},Rh),s.Al=function(n,t,i,r,c){return new qae(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new SLe(n,t,i,u(r,15).a,u(c,15).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1327),m(1328,C3,{},g0),s.Al=function(n,t,i,r,c){return new Nhe(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new xLe(n,t,i,u(r,190).a,u(c,190).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1328),m(1329,C3,{},ML),s.Al=function(n,t,i,r,c){return new Ihe(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new ALe(n,t,i,u(r,191).a,u(c,191).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1329),m(1307,560,{},WDe),s.zl=function(n){if(!this.a.dk(n))throw R(new a9(ZF+Us(n)+eJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1307),m(1308,560,{},PIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1308),m(771,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):ue(o)===ue(d1)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,d1):(this.zl(r),t.ji(i,r)),hi(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,d1):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):ue(c)===ue(d1)&&(c=null),t.ki(i),hi(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",771),m(1309,771,{},ZDe),s.zl=function(n){if(!this.a.dk(n))throw R(new a9(ZF+Us(n)+eJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1309),m(1310,771,{},$Ie),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1310),m(402,498,{},fR),s.wk=function(n,t,i,r,c){var o,l,f,h,b;if(b=t.ii(i),this.rk()&&ue(b)===ue(d1))return null;if(this._k()&&r&&b!=null){if(f=u(b,52),f.Sh()&&(h=z0(n,f),f!=h)){if(!JW(this.a,h))throw R(new a9(ZF+Us(h)+eJ+this.a+"'"));t.ji(i,b=h),this.$k()&&(o=u(h,52),l=f.Qh(n,this.b?Ji(f.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,null),!o.Mh()&&(l=o.Oh(n,this.b?Ji(o.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,l)),l&&l.mj()),n.sh()&&n.th()&&hi(n,new oE(n,9,this.e,f,h))}return b}else return b},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),ue(l)===ue(d1)&&(l=null),t.ji(i,r),this.Kj()?ue(l)!==ue(r)&&l!=null&&(o=u(l,52),c=o.Qh(n,Ji(o.Ah(),this.b),null,c)):this.$k()&&l!=null&&(c=u(l,52).Qh(n,-1-Ji(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new k0(4)),c.lj(new oE(n,1,this.e,l,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),ue(o)===ue(d1)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new k0(4)),this.rk()?c.lj(new oE(n,2,this.e,o,null)):c.lj(new oE(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new a9(ZF+(X(r,57)?c0e(u(r,57).Ah()):xhe(Us(r)))+eJ+this.a+"'"));h=t.ii(i),f=h!=null,this.rk()&&ue(h)===ue(d1)&&(h=null),l=null,this.Kj()?ue(h)!==ue(r)&&(h!=null&&(c=u(h,52),l=c.Qh(n,Ji(c.Ah(),this.b),null,l)),r!=null&&(c=u(r,52),l=c.Oh(n,Ji(c.Ah(),this.b),null,l))):this.$k()&&ue(h)!==ue(r)&&(h!=null&&(l=u(h,52).Qh(n,-1-Ji(n.Ah(),this.e),null,l)),r!=null&&(l=u(r,52).Oh(n,-1-Ji(n.Ah(),this.e),null,l))),r==null&&this.rk()?t.ji(i,d1):t.ji(i,r),n.sh()&&n.th()?(o=new RV(n,1,this.e,h,r,this.rk()&&!f),l?(l.lj(o),l.mj()):hi(n,o)):l&&l.mj()},s.Ck=function(n,t,i){var r,c,o,l,f;f=t.ii(i),l=f!=null,this.rk()&&ue(f)===ue(d1)&&(f=null),o=null,f!=null&&(this.Kj()?(r=u(f,52),o=r.Qh(n,Ji(r.Ah(),this.b),null,o)):this.$k()&&(o=u(f,52).Qh(n,-1-Ji(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new RV(n,this.rk()?2:1,this.e,f,null,l),o?(o.lj(c),o.mj()):hi(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),m(561,402,{},BK),s.$k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),m(1313,561,{},$Oe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1313),m(773,561,{},mle),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",773),m(1315,773,{},ROe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1315),m(638,561,{},ZK),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",638),m(1314,638,{},FNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1314),m(774,638,{},Zle),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",774),m(1316,774,{},JNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1316),m(639,402,{},vle),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",639),m(1317,639,{},BOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1317),m(775,639,{},efe),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",775),m(1318,775,{},HNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1318),m(1311,402,{},zOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1311),m(772,402,{},nfe),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",772),m(1312,772,{},GNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1312),m(776,562,WF,Qfe),s.wl=function(n){return new Qfe(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return y9n(this,n,this.b,i)},s.yl=function(n,t,i){return k9n(this,n,this.b,i)},v(Jn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",776),m(1319,1,Lne,HSe),s.Dk=function(n){return this.a},s.Oj=function(){return X(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){X(this.a,98)?u(this.a,98).Ek():this.a.$b()},v(Jn,"EStructuralFeatureImpl/SettingMany",1319),m(1320,562,WF,wPe),s.vl=function(n){return new JK((Si(),hA),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1320),m(640,562,WF,JK),s.vl=function(n){return new JK(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",640),m(396,492,Th,Ol),s.$i=function(n){return le(vf,Nn,29,n,0,1)},s.Wi=function(){return!1},v(Jn,"ESuperAdapter/1",396),m(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,834:1,52:1,100:1,161:1,446:1,117:1,118:1},Gk),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new iE(this,Rc,this)),this.a}return Pl(this,n-dt((jn(),Sp)),Cn((r=u(Kn(this,16),29),r||Sp),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new we(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.a&&(this.a=new iE(this,Rc,this)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sp)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Sp)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Ll(this,n-dt((jn(),Sp)),Cn((t=u(Kn(this,16),29),t||Sp),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new we(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:!this.a&&(this.a=new iE(this,Rc,this)),kt(this.a),!this.a&&(this.a=new iE(this,Rc,this)),nr(this.a,u(t,18));return}Jl(this,n-dt((jn(),Sp)),Cn((i=u(Kn(this,16),29),i||Sp),n),t)},s.fi=function(){return jn(),Sp},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new we(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:!this.a&&(this.a=new iE(this,Rc,this)),kt(this.a);return}Fl(this,n-dt((jn(),Sp)),Cn((t=u(Kn(this,16),29),t||Sp),n))},v(Jn,"ETypeParameterImpl",446),m(447,81,au,iE),s.Lj=function(n,t){return hMn(this,u(n,87),t)},s.Mj=function(n,t){return dMn(this,u(n,87),t)},v(Jn,"ETypeParameterImpl/1",447),m(637,44,v3,jX),s.ec=function(){return new IP(this)},v(Jn,"ETypeParameterImpl/2",637),m(557,Ga,fs,IP),s.Ec=function(n){return vNe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),ei(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){Hu(this.a)},s.Gc=function(n){return so(this.a,n)},s.Jc=function(){var n;return n=new B2(new sn(this.a).a),new DP(n)},s.Kc=function(n){return t$e(this,n)},s.gc=function(){return Aj(this.a)},v(Jn,"ETypeParameterImpl/2/1",557),m(558,1,Fr,DP),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(t3(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){wRe(this.a)},v(Jn,"ETypeParameterImpl/2/1/1",558),m(1281,44,v3,Ixe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},s.xc=function(n){var t,i;return t=$r(n)?lo(this,n):bu(Xc(this.f,n)),X(t,835)?(i=u(t,835),t=i.Ik(),ei(this,u(n,241),t),t):t??(n==null?(zX(),nhn):null)},v(Jn,"EValidatorRegistryImpl",1281),m(1303,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2002:1,52:1,100:1,161:1,117:1,118:1},lw),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 25:return I8n(t);case 27:return X9n(t);case 28:return K9n(t);case 29:return t==null?null:JTe(uA[0],u(t,205));case 41:return t==null?"":Pb(u(t,298));case 42:return fu(t);case 50:return Pt(t);default:throw R(new Un(u7+n.ve()+up))}},s.pi=function(n){var t,i,r,c,o,l,f,h,b,p,y,S,A,O,D,B;switch(n.G==-1&&(n.G=(S=ol(n),S?$d(S.si(),n):-1)),n.G){case 0:return i=new vX,i;case 1:return t=new Nb,t;case 2:return r=new rj,r;case 4:return c=new PP,c;case 5:return o=new Nxe,o;case 6:return l=new KSe,l;case 7:return f=new IC,f;case 10:return b=new jv,b;case 11:return p=new yX,p;case 12:return y=new u_e,y;case 13:return A=new kX,A;case 14:return O=new kle,O;case 17:return D=new $h,D;case 18:return h=new gw,h;case 19:return B=new Gk,B;default:throw R(new Un(vne+n.zb+up))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new Joe(t);case 21:return t==null?null:new A0(t);case 23:case 22:return t==null?null:OEn(t);case 26:case 24:return t==null?null:fO(al(t,-128,127)<<24>>24);case 25:return AOn(t);case 27:return hxn(t);case 28:return dxn(t);case 29:return IMn(t);case 32:case 31:return t==null?null:K2(t);case 38:case 37:return t==null?null:new aoe(t);case 40:case 39:return t==null?null:ve(al(t,Xr,oi));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:q2(Zz(t));case 49:case 48:return t==null?null:o8(al(t,nJ,32767)<<16>>16);case 50:return t;default:throw R(new Un(u7+n.ve()+up))}},v(Jn,"EcoreFactoryImpl",1303),m(548,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2e3:1,52:1,100:1,161:1,184:1,548:1,117:1,118:1,680:1},NDe),s.gb=!1,s.hb=!1;var u7e,ehn=!1;v(Jn,"EcorePackageImpl",548),m(1199,1,{835:1},Ev),s.Ik=function(){return aOe(),thn},v(Jn,"EcorePackageImpl/1",1199),m(1208,1,ii,fw),s.dk=function(n){return X(n,158)},s.ek=function(n){return le(ZI,Nn,158,n,0,1)},v(Jn,"EcorePackageImpl/10",1208),m(1209,1,ii,rC),s.dk=function(n){return X(n,197)},s.ek=function(n){return le(_ce,Nn,197,n,0,1)},v(Jn,"EcorePackageImpl/11",1209),m(1210,1,ii,cC),s.dk=function(n){return X(n,57)},s.ek=function(n){return le(vb,Nn,57,n,0,1)},v(Jn,"EcorePackageImpl/12",1210),m(1211,1,ii,w0),s.dk=function(n){return X(n,403)},s.ek=function(n){return le(yf,ime,62,n,0,1)},v(Jn,"EcorePackageImpl/13",1211),m(1212,1,ii,CL),s.dk=function(n){return X(n,241)},s.ek=function(n){return le(Aa,Nn,241,n,0,1)},v(Jn,"EcorePackageImpl/14",1212),m(1213,1,ii,G5),s.dk=function(n){return X(n,503)},s.ek=function(n){return le(jp,Nn,2078,n,0,1)},v(Jn,"EcorePackageImpl/15",1213),m(1214,1,ii,U6),s.dk=function(n){return X(n,103)},s.ek=function(n){return le(Um,M3,19,n,0,1)},v(Jn,"EcorePackageImpl/16",1214),m(1215,1,ii,X6),s.dk=function(n){return X(n,179)},s.ek=function(n){return le(ns,M3,179,n,0,1)},v(Jn,"EcorePackageImpl/17",1215),m(1216,1,ii,q5),s.dk=function(n){return X(n,470)},s.ek=function(n){return le(Gm,Nn,470,n,0,1)},v(Jn,"EcorePackageImpl/18",1216),m(1217,1,ii,TL),s.dk=function(n){return X(n,549)},s.ek=function(n){return le(Du,zZe,549,n,0,1)},v(Jn,"EcorePackageImpl/19",1217),m(1200,1,ii,OL),s.dk=function(n){return X(n,335)},s.ek=function(n){return le(qm,M3,38,n,0,1)},v(Jn,"EcorePackageImpl/2",1200),m(1218,1,ii,K6),s.dk=function(n){return X(n,248)},s.ek=function(n){return le(Rc,ien,87,n,0,1)},v(Jn,"EcorePackageImpl/20",1218),m(1219,1,ii,NL),s.dk=function(n){return X(n,446)},s.ek=function(n){return le(Fo,Nn,834,n,0,1)},v(Jn,"EcorePackageImpl/21",1219),m(1220,1,ii,qk),s.dk=function(n){return b2(n)},s.ek=function(n){return le(Qi,Ae,473,n,8,1)},v(Jn,"EcorePackageImpl/22",1220),m(1221,1,ii,IL),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(Jn,"EcorePackageImpl/23",1221),m(1222,1,ii,gU),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(jy,Ae,221,n,0,1)},v(Jn,"EcorePackageImpl/24",1222),m(1223,1,ii,wU),s.dk=function(n){return X(n,180)},s.ek=function(n){return le(KS,Ae,180,n,0,1)},v(Jn,"EcorePackageImpl/25",1223),m(1224,1,ii,Ju),s.dk=function(n){return X(n,205)},s.ek=function(n){return le(aJ,Ae,205,n,0,1)},v(Jn,"EcorePackageImpl/26",1224),m(1225,1,ii,Do),s.dk=function(n){return!1},s.ek=function(n){return le(S7e,Nn,2174,n,0,1)},v(Jn,"EcorePackageImpl/27",1225),m(1226,1,ii,Hc),s.dk=function(n){return g2(n)},s.ek=function(n){return le(gr,Ae,346,n,7,1)},v(Jn,"EcorePackageImpl/28",1226),m(1227,1,ii,nu),s.dk=function(n){return X(n,61)},s.ek=function(n){return le(B8e,um,61,n,0,1)},v(Jn,"EcorePackageImpl/29",1227),m(1201,1,ii,io),s.dk=function(n){return X(n,504)},s.ek=function(n){return le(Zt,{3:1,4:1,5:1,1995:1},587,n,0,1)},v(Jn,"EcorePackageImpl/3",1201),m(1228,1,ii,v1),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(J8e,Nn,2001,n,0,1)},v(Jn,"EcorePackageImpl/30",1228),m(1229,1,ii,Qp),s.dk=function(n){return X(n,163)},s.ek=function(n){return le(a7e,um,163,n,0,1)},v(Jn,"EcorePackageImpl/31",1229),m(1230,1,ii,U5),s.dk=function(n){return X(n,75)},s.ek=function(n){return le(AG,hen,75,n,0,1)},v(Jn,"EcorePackageImpl/32",1230),m(1231,1,ii,uC),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(b7,Ae,164,n,0,1)},v(Jn,"EcorePackageImpl/33",1231),m(1232,1,ii,aw),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(Jn,"EcorePackageImpl/34",1232),m(1233,1,ii,zs),s.dk=function(n){return X(n,298)},s.ek=function(n){return le(wme,Nn,298,n,0,1)},v(Jn,"EcorePackageImpl/35",1233),m(1234,1,ii,Wp),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(sp,Ae,190,n,0,1)},v(Jn,"EcorePackageImpl/36",1234),m(1235,1,ii,Sv),s.dk=function(n){return X(n,92)},s.ek=function(n){return le(pme,Nn,92,n,0,1)},v(Jn,"EcorePackageImpl/37",1235),m(1236,1,ii,oC),s.dk=function(n){return X(n,588)},s.ek=function(n){return le(o7e,Nn,588,n,0,1)},v(Jn,"EcorePackageImpl/38",1236),m(1237,1,ii,y1),s.dk=function(n){return!1},s.ek=function(n){return le(x7e,Nn,2175,n,0,1)},v(Jn,"EcorePackageImpl/39",1237),m(1202,1,ii,X5),s.dk=function(n){return X(n,88)},s.ek=function(n){return le(vf,Nn,29,n,0,1)},v(Jn,"EcorePackageImpl/4",1202),m(1238,1,ii,V6),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(lp,Ae,191,n,0,1)},v(Jn,"EcorePackageImpl/40",1238),m(1239,1,ii,Bh),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(Jn,"EcorePackageImpl/41",1239),m(1240,1,ii,sC),s.dk=function(n){return X(n,585)},s.ek=function(n){return le(F8e,Nn,585,n,0,1)},v(Jn,"EcorePackageImpl/42",1240),m(1241,1,ii,Uk),s.dk=function(n){return!1},s.ek=function(n){return le(A7e,Ae,2176,n,0,1)},v(Jn,"EcorePackageImpl/43",1241),m(1242,1,ii,DL),s.dk=function(n){return X(n,45)},s.ek=function(n){return le(yg,tF,45,n,0,1)},v(Jn,"EcorePackageImpl/44",1242),m(1203,1,ii,Xk),s.dk=function(n){return X(n,143)},s.ek=function(n){return le(Ma,Nn,143,n,0,1)},v(Jn,"EcorePackageImpl/5",1203),m(1204,1,ii,Kk),s.dk=function(n){return X(n,159)},s.ek=function(n){return le(zce,Nn,159,n,0,1)},v(Jn,"EcorePackageImpl/6",1204),m(1205,1,ii,Zp),s.dk=function(n){return X(n,459)},s.ek=function(n){return le(xG,Nn,675,n,0,1)},v(Jn,"EcorePackageImpl/7",1205),m(1206,1,ii,nf),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(ed,Nn,684,n,0,1)},v(Jn,"EcorePackageImpl/8",1206),m(1207,1,ii,e2),s.dk=function(n){return X(n,469)},s.ek=function(n){return le(cA,Nn,469,n,0,1)},v(Jn,"EcorePackageImpl/9",1207),m(1019,2042,BZe,tAe),s.Ki=function(n,t){ljn(this,u(t,415))},s.Oi=function(n,t){cqe(this,n,u(t,415))},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1019),m(1020,151,zN,kDe),s.hj=function(){return this.a.a},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1020),m(1047,1046,{},ITe),v("org.eclipse.emf.ecore.plugin","EcorePlugin",1047);var o7e=Gi(den,"Resource");m(786,1485,ben),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new dX(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Wn(0,n.length),n.charCodeAt(0)==47){for(o=new xo(4),c=1,t=1;t0&&(n=(Qr(0,i,n.length),n.substr(0,i))));return vTn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return Pb(this.Pm)+"@"+(n=Ni(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,v(Pne,"ResourceImpl",786),m(1486,786,ben,GSe),v(Pne,"BinaryResourceImpl",1486),m(1159,697,One),s._i=function(n){return X(n,57)?Y5n(this,u(n,57)):X(n,588)?new st(u(n,588).Cl()):ue(n)===ue(this.f)?u(n,18).Jc():(A9(),tD.a)},s.Ob=function(){return Z0e(this)},s.a=!1,v(Ri,"EcoreUtil/ContentTreeIterator",1159),m(1487,1159,One,QIe),s._i=function(n){return ue(n)===ue(this.f)?u(n,16).Jc():new WLe(u(n,57))},v(Pne,"ResourceImpl/5",1487),m(647,2054,ten,dX),s.Gc=function(n){return this.i<=4?y8(this,n):X(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):gY(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return le(vb,Nn,57,n,0,1)},s.Wi=function(){return!1},v(Pne,"ResourceImpl/ContentsEList",647),m(953,2024,B8,qSe),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},v(Ri,"AbstractSequentialInternalEList/1",953);var s7e,l7e,nc,f7e;m(625,1,{},eIe);var MG,CG;v(Ri,"BasicExtendedMetaData",625),m(1150,1,{},WCe),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&qC(this,xMn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return En(),En(),Sc},s.ve=function(){return this.c==f7&&oX(this,MJe(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=f7,v(Ri,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1150),m(1151,1,{},TLe),s.Hl=function(){return this.a==(J9(),MG)&&TP(this,lDn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(J9(),MG)&&u9(this,fDn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&lX(this,X_n(this.f,this.b)),this.d},s.ve=function(){return this.e==f7&&XC(this,MJe(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&d(this,UAn(this.f,this.b)),this.g},s.e=f7,s.g=-2,v(Ri,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1151),m(1149,1,{},ZCe),s.b=!1,s.c=!1,v(Ri,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1149),m(1152,1,{},OLe),s.c=-2,s.e=f7,s.f=f7,v(Ri,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1152),m(581,623,au,nR),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,v(Ri,"EDataTypeEList",581);var a7e=Gi(Ri,"FeatureMap");m(76,581,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},tr),s._c=function(n,t){ONn(this,n,u(t,75))},s.Ec=function(n){return XOn(this,u(n,75))},s.Fi=function(n){q3n(this,u(n,75))},s.Lj=function(n,t){return j2n(this,u(n,75),t)},s.Mj=function(n,t){return qle(this,u(n,75),t)},s.Ri=function(n,t){return e_n(this,n,t)},s.Ui=function(n,t){return JPn(this,n,u(t,75))},s.fd=function(n,t){return gIn(this,n,u(t,75))},s.Sj=function(n,t){return E2n(this,u(n,75),t)},s.Tj=function(n,t){return MNe(this,u(n,75),t)},s.Uj=function(n,t,i){return LAn(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return oW(this,n,u(t,75))},s.Ml=function(n,t){return Xbe(this,n,t)},s.ad=function(n,t){var i,r,c,o,l,f,h,b,p;for(b=new _w(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),J1(this.e,o))(!o.Qi()||!qR(this,o,r.kd())&&!y8(b,r))&&Et(b,r);else{for(p=Po(this.e.Ah(),o),i=u(this.g,122),l=!0,f=0;f=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},v(Ri,"BasicFeatureMap/FeatureEIterator",412),m(666,412,Wh,SK),s.sl=function(){return!0},v(Ri,"BasicFeatureMap/ResolvingFeatureEIterator",666),m(951,482,YF,UTe),s.nj=function(){return this},v(Ri,"EContentsEList/1",951),m(952,482,YF,pTe),s.sl=function(){return!1},v(Ri,"EContentsEList/2",952),m(950,287,QF,XTe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},v(Ri,"EContentsEList/FeatureIteratorImpl/1",950),m(824,581,au,Zse),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Lf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EDataTypeEList/Unsettable",824),m(1920,581,au,ZTe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList",1920),m(1921,824,au,eOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList/Unsettable",1921),m(145,81,au,rs),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Resolving",145),m(1153,543,au,WTe),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Unsettable/Resolving",1153),m(753,14,au,Rle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Lf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectContainmentWithInverseEList/Unsettable",753),m(1187,753,au,bNe),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1187),m(745,491,au,Wse),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Lf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectEList/Unsettable",745),m(339,491,au,Jv),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectResolvingEList",339),m(1825,745,au,nOe),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectResolvingEList/Unsettable",1825),m(1488,1,{},K5);var nhn;v(Ri,"EObjectValidator",1488),m(547,491,au,yR),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectWithInverseEList",547),m(1190,547,au,gNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/ManyInverse",1190),m(626,547,au,qK),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Lf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectWithInverseEList/Unsettable",626),m(1189,626,au,wNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/Unsettable/ManyInverse",1189),m(754,547,au,Ble),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList",754),m(33,754,au,In),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/ManyInverse",33),m(755,626,au,zle),s.ll=function(){return!0},s.Ui=function(n,t){return oy(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList/Unsettable",755),m(1188,755,au,pNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1188),m(1154,623,au),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&V0)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&Gf)!=0},s.dk=function(n){return this.d?cPe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;kt(this),(this.b&2)!=0&&(Fs(this.e)?(n=(this.b&1)!=0,this.b&=-2,f9(this,new Lf(this.e,2,Ji(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,v(Ri,"EcoreEList/Generic",1154),m(1155,1154,au,f_e),s.Jk=function(){return this.a},v(Ri,"EcoreEList/Dynamic",1155),m(752,67,Th,uoe),s.$i=function(n){return dO(this.a.a,n)},v(Ri,"EcoreEMap/1",752),m(751,81,au,Lfe),s.Ki=function(n,t){az(this.b,u(t,136))},s.Mi=function(n,t){aze(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){wQ(this.b,u(t,136))},s.Pi=function(n,t,i){wQ(this.b,u(i,136)),ue(i)===ue(t)&&u(i,136).zi(ywn(u(t,136).jd())),az(this.b,u(t,136))},v(Ri,"EcoreEMap/DelegateEObjectContainmentEList",751),m(1185,142,tme,jBe),v(Ri,"EcoreEMap/Unsettable",1185),m(1186,751,au,mNe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Lf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1186),m(1158,223,v3,dDe),s.a=!1,s.b=!1,v(Ri,"EcoreUtil/Copier",1158),m(747,1,Fr,WLe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return hJe(this)},s.Pb=function(){var n;return hJe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},v(Ri,"EcoreUtil/ProperContentIterator",747),m(1489,1488,{},FU);var thn;v(Ri,"EcoreValidator",1489);var ihn;Gi(Ri,"FeatureMapUtil/Validator"),m(1258,1,{2003:1},hw),s.$l=function(n){return!0},v(Ri,"FeatureMapUtil/1",1258),m(760,1,{2003:1},Age),s.$l=function(n){var t;return this.c==n?!0:(t=ze(zn(this.a,n)),t==null?gDn(this,n)?(XPe(this.a,n,($n(),d7)),!0):(XPe(this.a,n,($n(),ib)),!1):t==($n(),d7))},s.e=!1;var Gce;v(Ri,"FeatureMapUtil/BasicValidator",760),m(761,44,v3,Vse),v(Ri,"FeatureMapUtil/BasicValidator/Cache",761),m(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,72:1,98:1},vT),s._c=function(n,t){eXe(this.c,this.b,n,t)},s.Ec=function(n){return Xbe(this.c,this.b,n)},s.ad=function(n,t){return _Ln(this.c,this.b,n,t)},s.Fc=function(n){return Yj(this,n)},s.Ei=function(n,t){y8n(this.c,this.b,n,t)},s.Uk=function(n,t){return Bbe(this.c,this.b,n,t)},s.Yi=function(n){return Kz(this.c,this.b,n,!1)},s.Gi=function(){return ATe(this.c,this.b)},s.Hi=function(){return hwn(this.c,this.b)},s.Ii=function(n){return j9n(this.c,this.b,n)},s.Vk=function(n,t){return QOe(this,n,t)},s.$b=function(){u4(this)},s.Gc=function(n){return qR(this.c,this.b,n)},s.Hc=function(n){return k7n(this.c,this.b,n)},s.Xb=function(n){return Kz(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return I6n(this.c,this.b,n)},s.dc=function(){return T$(this)},s.Oj=function(){return!IO(this.c,this.b)},s.Jc=function(){return r8n(this.c,this.b)},s.cd=function(){return c8n(this.c,this.b)},s.dd=function(n){return Ajn(this.c,this.b,n)},s.Ri=function(n,t){return pKe(this.c,this.b,n,t)},s.Si=function(n,t){A9n(this.c,this.b,n,t)},s.ed=function(n){return GGe(this.c,this.b,n)},s.Kc=function(n){return BDn(this.c,this.b,n)},s.fd=function(n,t){return AKe(this.c,this.b,n,t)},s.Wb=function(n){Tz(this.c,this.b),Yj(this,u(n,16))},s.gc=function(){return Mjn(this.c,this.b)},s.Nc=function(){return Dyn(this.c,this.b)},s.Oc=function(n){return D6n(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new vd,t.a+="[",n=ATe(this.c,this.b);uQ(n);)Bc(t,Wj(lz(n))),uQ(n)&&(t.a+=To);return t.a+="]",t.a},s.Ek=function(){Tz(this.c,this.b)},v(Ri,"FeatureMapUtil/FeatureEList",495),m(634,39,zN,cY),s.fj=function(n){return $E(this,n)},s.kj=function(n){var t,i,r,c,o,l,f;switch(this.d){case 1:case 2:{if(o=n.hj(),ue(o)===ue(this.c)&&$E(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&$E(this,null)==n.fj(null))return this.d=5,t=new _w(2),Et(t,this.g),Et(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&$E(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&$E(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),ue(o)===ue(this.c)&&$E(this,null)==n.fj(null))return this.d=6,f=new _w(2),Et(f,this.n),Et(f,n.ij()),this.n=f,l=F(z($t,1),ni,30,15,[this.o,n.jj()]),this.g=l,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.c)&&$E(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),l=u(this.g,54),r=le($t,ni,30,l.length+1,15,1),Wu(l,0,r,0,l.length),r[l.length]=n.jj(),this.g=r,!0;break}}break}}return!1},v(Ri,"FeatureMapUtil/FeatureENotificationImpl",634),m(553,495,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},uR),s.Ml=function(n,t){return Xbe(this.c,n,t)},s.Nl=function(n,t,i){return Bbe(this.c,n,t,i)},s.Ol=function(n,t,i){return bge(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return cN(this.c,n,t)},s.Rl=function(n){return u(Kz(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(Kz(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!IO(this.c,n)},s.Vl=function(n,t){Vz(this.c,n,t)},s.Wl=function(n){return OBe(this.c,n)},s.Xl=function(n){aHe(this.c,n)},v(Ri,"FeatureMapUtil/FeatureFeatureMap",553),m(1257,1,Lne,tTe),s.Dk=function(n){return Kz(this.b,this.a,-1,n)},s.Oj=function(){return!IO(this.b,this.a)},s.Wb=function(n){Vz(this.b,this.a,n)},s.Ek=function(){Tz(this.b,this.a)},v(Ri,"FeatureMapUtil/FeatureValue",1257);var Wy,qce,Uce,Zy,rhn,rD=Gi(cJ,"AnyType");m(670,63,H1,TX),v(cJ,"InvalidDatatypeValueException",670);var TG=Gi(cJ,wen),cD=Gi(cJ,pen),h7e=Gi(cJ,men),chn,Bu,d7e,Pg,uhn,ohn,shn,lhn,fhn,ahn,hhn,dhn,bhn,ghn,whn,r5,phn,c5,fA,mhn,xp,uD,oD,vhn,aA,hA;m(828,501,{109:1,94:1,93:1,57:1,52:1,100:1,841:1},koe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Pg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Pg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b)}return Pl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new nl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new tr(this,0)),tN(this.c,n,i);case 1:return(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Pg)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new tr(this,2)),tN(this.b,n,i)}return r=u(Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new nl),this.k).Lk(),t),69),r.uk().yk(this,khe(this),t-dt(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Pg)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Ll(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),BT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Pg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),BT(this.b,t);return}Jl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new nl),this.k).Lk(),n),t)},s.fi=function(){return Si(),d7e},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Pg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return}Fl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Ff(this):(n=new cf(Ff(this)),n.a+=" (mixed: ",Uj(n,this.c),n.a+=", anyAttribute: ",Uj(n,this.b),n.a+=")",n.a)},v(kr,"AnyTypeImpl",828),m(671,501,{109:1,94:1,93:1,57:1,52:1,100:1,2081:1,671:1},pU),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return Pl(this,n-dt((Si(),r5)),Cn((this.j&2)==0?r5:(!this.k&&(this.k=new nl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Ll(this,n-dt((Si(),r5)),Cn((this.j&2)==0?r5:(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:T(this,Pt(t));return;case 1:Q(this,Pt(t));return}Jl(this,n-dt((Si(),r5)),Cn((this.j&2)==0?r5:(!this.k&&(this.k=new nl),this.k).Lk(),n),t)},s.fi=function(){return Si(),r5},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}Fl(this,n-dt((Si(),r5)),Cn((this.j&2)==0?r5:(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Ff(this):(n=new cf(Ff(this)),n.a+=" (data: ",Bc(n,this.a),n.a+=", target: ",Bc(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,v(kr,"ProcessingInstructionImpl",671),m(672,828,{109:1,94:1,93:1,57:1,52:1,100:1,841:1,2082:1,672:1},Dxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Pg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Pg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b);case 3:return!this.c&&(this.c=new tr(this,0)),Pt(cN(this.c,(Si(),fA),!0));case 4:return Jle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(cN(this.c,(Si(),fA),!0))));case 5:return this.a}return Pl(this,n-dt((Si(),c5)),Cn((this.j&2)==0?c5:(!this.k&&(this.k=new nl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Pg)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new tr(this,0)),Pt(cN(this.c,(Si(),fA),!0))!=null;case 4:return Jle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(cN(this.c,(Si(),fA),!0))))!=null;case 5:return!!this.a}return Ll(this,n-dt((Si(),c5)),Cn((this.j&2)==0?c5:(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),BT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Pg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),BT(this.b,t);return;case 3:Tae(this,Pt(t));return;case 4:Tae(this,Fle(this.a,t));return;case 5:I(this,u(t,159));return}Jl(this,n-dt((Si(),c5)),Cn((this.j&2)==0?c5:(!this.k&&(this.k=new nl),this.k).Lk(),n),t)},s.fi=function(){return Si(),c5},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Pg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return;case 3:!this.c&&(this.c=new tr(this,0)),Vz(this.c,(Si(),fA),null);return;case 4:Tae(this,Fle(this.a,null));return;case 5:this.a=null;return}Fl(this,n-dt((Si(),c5)),Cn((this.j&2)==0?c5:(!this.k&&(this.k=new nl),this.k).Lk(),n))},v(kr,"SimpleAnyTypeImpl",672),m(673,501,{109:1,94:1,93:1,57:1,52:1,100:1,2083:1,673:1},_xe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new tr(this,0)),this.a):(!this.a&&(this.a=new tr(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b):(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),nO(this.b));case 2:return i?(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c):(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),nO(this.c));case 3:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),uD));case 4:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),oD));case 5:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),aA));case 6:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),hA))}return Pl(this,n-dt((Si(),xp)),Cn((this.j&2)==0?xp:(!this.k&&(this.k=new nl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new tr(this,0)),tN(this.a,n,i);case 1:return!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),K$(this.b,n,i);case 2:return!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),K$(this.c,n,i);case 5:return!this.a&&(this.a=new tr(this,0)),QOe(fo(this.a,(Si(),aA)),n,i)}return r=u(Cn((this.j&2)==0?(Si(),xp):(!this.k&&(this.k=new nl),this.k).Lk(),t),69),r.uk().yk(this,khe(this),t-dt((Si(),xp)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new tr(this,0)),!T$(fo(this.a,(Si(),uD)));case 4:return!this.a&&(this.a=new tr(this,0)),!T$(fo(this.a,(Si(),oD)));case 5:return!this.a&&(this.a=new tr(this,0)),!T$(fo(this.a,(Si(),aA)));case 6:return!this.a&&(this.a=new tr(this,0)),!T$(fo(this.a,(Si(),hA)))}return Ll(this,n-dt((Si(),xp)),Cn((this.j&2)==0?xp:(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),BT(this.a,t);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),NB(this.b,t);return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),NB(this.c,t);return;case 3:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),uD))),!this.a&&(this.a=new tr(this,0)),Yj(fo(this.a,uD),u(t,18));return;case 4:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),oD))),!this.a&&(this.a=new tr(this,0)),Yj(fo(this.a,oD),u(t,18));return;case 5:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),aA))),!this.a&&(this.a=new tr(this,0)),Yj(fo(this.a,aA),u(t,18));return;case 6:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),hA))),!this.a&&(this.a=new tr(this,0)),Yj(fo(this.a,hA),u(t,18));return}Jl(this,n-dt((Si(),xp)),Cn((this.j&2)==0?xp:(!this.k&&(this.k=new nl),this.k).Lk(),n),t)},s.fi=function(){return Si(),xp},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),kt(this.a);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),uD)));return;case 4:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),oD)));return;case 5:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),aA)));return;case 6:!this.a&&(this.a=new tr(this,0)),u4(fo(this.a,(Si(),hA)));return}Fl(this,n-dt((Si(),xp)),Cn((this.j&2)==0?xp:(!this.k&&(this.k=new nl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Ff(this):(n=new cf(Ff(this)),n.a+=" (mixed: ",Uj(n,this.a),n.a+=")",n.a)},v(kr,"XMLTypeDocumentRootImpl",673),m(1990,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2084:1},lC),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Pt(t);case 6:return Fpn(u(t,195));case 12:case 47:case 49:case 11:return fVe(this,n,t);case 13:return t==null?null:zLn(u(t,247));case 15:case 14:return t==null?null:L3n(ne(re(t)));case 17:return eGe((Si(),t));case 18:return eGe(t);case 21:case 20:return t==null?null:P3n(u(t,164).a);case 27:return zpn(u(t,195));case 30:return hHe((Si(),u(t,16)));case 31:return hHe(u(t,16));case 40:return Bpn((Si(),t));case 42:return nGe((Si(),t));case 43:return nGe(t);case 59:case 48:return Rpn((Si(),t));default:throw R(new Un(u7+n.ve()+up))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=ol(n),i?$d(i.si(),n):-1)),n.G){case 0:return t=new koe,t;case 1:return r=new pU,r;case 2:return c=new Dxe,c;case 3:return o=new _xe,o;default:throw R(new Un(vne+n.zb+up))}},s.qi=function(n,t){var i,r,c,o,l,f,h,b,p,y,S,A,O,D,B,q;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return rSn(t);case 8:case 7:return t==null?null:JAn(t);case 9:return t==null?null:fO(al((r=bo(t,!0),r.length>0&&(Wn(0,r.length),r.charCodeAt(0)==43)?(Wn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:fO(al((c=bo(t,!0),c.length>0&&(Wn(0,c.length),c.charCodeAt(0)==43)?(Wn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Pt(Qw(this,(Si(),shn),t));case 12:return Pt(Qw(this,(Si(),lhn),t));case 13:return t==null?null:new Joe(bo(t,!0));case 15:case 14:return YOn(t);case 16:return Pt(Qw(this,(Si(),fhn),t));case 17:return bJe((Si(),t));case 18:return bJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return bo(t,!0);case 21:case 20:return uNn(t);case 22:return Pt(Qw(this,(Si(),ahn),t));case 23:return Pt(Qw(this,(Si(),hhn),t));case 24:return Pt(Qw(this,(Si(),dhn),t));case 25:return Pt(Qw(this,(Si(),bhn),t));case 26:return Pt(Qw(this,(Si(),ghn),t));case 27:return VEn(t);case 30:return gJe((Si(),t));case 31:return gJe(t);case 32:return t==null?null:ve(al((p=bo(t,!0),p.length>0&&(Wn(0,p.length),p.charCodeAt(0)==43)?(Wn(1,p.length+1),p.substr(1)):p),Xr,oi));case 33:return t==null?null:new A0((y=bo(t,!0),y.length>0&&(Wn(0,y.length),y.charCodeAt(0)==43)?(Wn(1,y.length+1),y.substr(1)):y));case 34:return t==null?null:ve(al((S=bo(t,!0),S.length>0&&(Wn(0,S.length),S.charCodeAt(0)==43)?(Wn(1,S.length+1),S.substr(1)):S),Xr,oi));case 36:return t==null?null:q2(Zz((A=bo(t,!0),A.length>0&&(Wn(0,A.length),A.charCodeAt(0)==43)?(Wn(1,A.length+1),A.substr(1)):A)));case 37:return t==null?null:q2(Zz((O=bo(t,!0),O.length>0&&(Wn(0,O.length),O.charCodeAt(0)==43)?(Wn(1,O.length+1),O.substr(1)):O)));case 40:return qSn((Si(),t));case 42:return wJe((Si(),t));case 43:return wJe(t);case 44:return t==null?null:new A0((D=bo(t,!0),D.length>0&&(Wn(0,D.length),D.charCodeAt(0)==43)?(Wn(1,D.length+1),D.substr(1)):D));case 45:return t==null?null:new A0((B=bo(t,!0),B.length>0&&(Wn(0,B.length),B.charCodeAt(0)==43)?(Wn(1,B.length+1),B.substr(1)):B));case 46:return bo(t,!1);case 47:return Pt(Qw(this,(Si(),whn),t));case 59:case 48:return GSn((Si(),t));case 49:return Pt(Qw(this,(Si(),phn),t));case 50:return t==null?null:o8(al((q=bo(t,!0),q.length>0&&(Wn(0,q.length),q.charCodeAt(0)==43)?(Wn(1,q.length+1),q.substr(1)):q),nJ,32767)<<16>>16);case 51:return t==null?null:o8(al((o=bo(t,!0),o.length>0&&(Wn(0,o.length),o.charCodeAt(0)==43)?(Wn(1,o.length+1),o.substr(1)):o),nJ,32767)<<16>>16);case 53:return Pt(Qw(this,(Si(),mhn),t));case 55:return t==null?null:o8(al((l=bo(t,!0),l.length>0&&(Wn(0,l.length),l.charCodeAt(0)==43)?(Wn(1,l.length+1),l.substr(1)):l),nJ,32767)<<16>>16);case 56:return t==null?null:o8(al((f=bo(t,!0),f.length>0&&(Wn(0,f.length),f.charCodeAt(0)==43)?(Wn(1,f.length+1),f.substr(1)):f),nJ,32767)<<16>>16);case 57:return t==null?null:q2(Zz((h=bo(t,!0),h.length>0&&(Wn(0,h.length),h.charCodeAt(0)==43)?(Wn(1,h.length+1),h.substr(1)):h)));case 58:return t==null?null:q2(Zz((b=bo(t,!0),b.length>0&&(Wn(0,b.length),b.charCodeAt(0)==43)?(Wn(1,b.length+1),b.substr(1)):b)));case 60:return t==null?null:ve(al((i=bo(t,!0),i.length>0&&(Wn(0,i.length),i.charCodeAt(0)==43)?(Wn(1,i.length+1),i.substr(1)):i),Xr,oi));case 61:return t==null?null:ve(al(bo(t,!0),Xr,oi));default:throw R(new Un(u7+n.ve()+up))}};var yhn,b7e,khn,g7e;v(kr,"XMLTypeFactoryImpl",1990),m(582,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2006:1,582:1},ODe),s.N=!1,s.O=!1;var jhn=!1;v(kr,"XMLTypePackageImpl",582),m(1923,1,{835:1},fC),s.Ik=function(){return rge(),Nhn},v(kr,"XMLTypePackageImpl/1",1923),m(1932,1,ii,_L),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/10",1932),m(1933,1,ii,Y6),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/11",1933),m(1934,1,ii,aC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/12",1934),m(1935,1,ii,k1),s.dk=function(n){return g2(n)},s.ek=function(n){return le(gr,Ae,346,n,7,1)},v(kr,"XMLTypePackageImpl/13",1935),m(1936,1,ii,LL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/14",1936),m(1937,1,ii,zh),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(gl,um,16,n,0,1)},v(kr,"XMLTypePackageImpl/15",1937),m(1938,1,ii,PL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(gl,um,16,n,0,1)},v(kr,"XMLTypePackageImpl/16",1938),m(1939,1,ii,$L),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/17",1939),m(1940,1,ii,n2),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(b7,Ae,164,n,0,1)},v(kr,"XMLTypePackageImpl/18",1940),m(1941,1,ii,Vk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/19",1941),m(1924,1,ii,hC),s.dk=function(n){return X(n,841)},s.ek=function(n){return le(rD,Nn,841,n,0,1)},v(kr,"XMLTypePackageImpl/2",1924),m(1942,1,ii,V5),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/20",1942),m(1943,1,ii,RL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/21",1943),m(1944,1,ii,BL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/22",1944),m(1945,1,ii,zL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/23",1945),m(1946,1,ii,FL),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(kr,"XMLTypePackageImpl/24",1946),m(1947,1,ii,Yk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/25",1947),m(1948,1,ii,dC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/26",1948),m(1949,1,ii,mU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(gl,um,16,n,0,1)},v(kr,"XMLTypePackageImpl/27",1949),m(1950,1,ii,vU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(gl,um,16,n,0,1)},v(kr,"XMLTypePackageImpl/28",1950),m(1951,1,ii,yU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/29",1951),m(1925,1,ii,JL),s.dk=function(n){return X(n,671)},s.ek=function(n){return le(TG,Nn,2081,n,0,1)},v(kr,"XMLTypePackageImpl/3",1925),m(1952,1,ii,HL),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(kr,"XMLTypePackageImpl/30",1952),m(1953,1,ii,Y5),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/31",1953),m(1954,1,ii,Qk),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(sp,Ae,190,n,0,1)},v(kr,"XMLTypePackageImpl/32",1954),m(1955,1,ii,GL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/33",1955),m(1956,1,ii,qL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/34",1956),m(1957,1,ii,UL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/35",1957),m(1958,1,ii,XL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/36",1958),m(1959,1,ii,KL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(gl,um,16,n,0,1)},v(kr,"XMLTypePackageImpl/37",1959),m(1960,1,ii,VL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(gl,um,16,n,0,1)},v(kr,"XMLTypePackageImpl/38",1960),m(1961,1,ii,Wk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/39",1961),m(1926,1,ii,YL),s.dk=function(n){return X(n,672)},s.ek=function(n){return le(cD,Nn,2082,n,0,1)},v(kr,"XMLTypePackageImpl/4",1926),m(1962,1,ii,QL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/40",1962),m(1963,1,ii,ro),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/41",1963),m(1964,1,ii,bC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/42",1964),m(1965,1,ii,kU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/43",1965),m(1966,1,ii,WL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/44",1966),m(1967,1,ii,jU),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(lp,Ae,191,n,0,1)},v(kr,"XMLTypePackageImpl/45",1967),m(1968,1,ii,EU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/46",1968),m(1969,1,ii,SU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/47",1969),m(1970,1,ii,Zk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/48",1970),m(1971,1,ii,Q5),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(lp,Ae,191,n,0,1)},v(kr,"XMLTypePackageImpl/49",1971),m(1927,1,ii,gC),s.dk=function(n){return X(n,673)},s.ek=function(n){return le(h7e,Nn,2083,n,0,1)},v(kr,"XMLTypePackageImpl/5",1927),m(1972,1,ii,ej),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(sp,Ae,190,n,0,1)},v(kr,"XMLTypePackageImpl/50",1972),m(1973,1,ii,wC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/51",1973),m(1974,1,ii,t2),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(kr,"XMLTypePackageImpl/52",1974),m(1928,1,ii,Ib),s.dk=function(n){return $r(n)},s.ek=function(n){return le(He,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/6",1928),m(1929,1,ii,Q6),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(kr,"XMLTypePackageImpl/7",1929),m(1930,1,ii,xU),s.dk=function(n){return b2(n)},s.ek=function(n){return le(Qi,Ae,473,n,8,1)},v(kr,"XMLTypePackageImpl/8",1930),m(1931,1,ii,ZL),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(jy,Ae,221,n,0,1)},v(kr,"XMLTypePackageImpl/9",1931);var ch,r0,dA,OG,J;m(53,63,H1,Bt),v(Gd,"RegEx/ParseException",53),m(820,1,{},pC),s._l=function(n){return ni*16)throw R(new Bt(Ht((Lt(),TZe))));i=i*16+c}while(!0);if(this.a!=125)throw R(new Bt(Ht((Lt(),OZe))));if(i>a7)throw R(new Bt(Ht((Lt(),NZe))));n=i}else{if(c=0,this.c!=0||(c=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(i=c,fi(this),this.c!=0||(c=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));i=i*16+c,n=i}break;case 117:if(r=0,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));t=t*16+r,n=t;break;case 118:if(fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,fi(this),this.c!=0||(r=og(this.a))<0)throw R(new Bt(Ht((Lt(),Hd))));if(t=t*16+r,t>a7)throw R(new Bt(Ht((Lt(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw R(new Bt(Ht((Lt(),IZe))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?K0("Nd",!0):(ai(),NG);break;case 68:i=(this.e&32)==32?K0("Nd",!1):(ai(),k7e);break;case 119:i=(this.e&32)==32?K0("IsWord",!0):(ai(),Q7);break;case 87:i=(this.e&32)==32?K0("IsWord",!1):(ai(),E7e);break;case 115:i=(this.e&32)==32?K0("IsSpace",!0):(ai(),e6);break;case 83:i=(this.e&32)==32?K0("IsSpace",!1):(ai(),j7e);break;default:throw R(new du((t=n,Ien+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,l,f,h,b,p,y,S;for(this.b=1,fi(this),t=null,this.c==0&&this.a==94?(fi(this),n?p=(ai(),ai(),new cl(5)):(t=(ai(),ai(),new cl(4)),ho(t,0,a7),p=new cl(4))):p=(ai(),ai(),new cl(4)),c=!0;(S=this.c)!=1&&!(S==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,S==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:tm(p,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(p,i),i<0&&(r=!0);break;case 112:case 80:if(y=Q0e(this,i),!y)throw R(new Bt(Ht((Lt(),Ine))));tm(p,y),r=!0;break;default:i=this.am()}else if(S==20){if(l=E9(this.i,58,this.d),l<0)throw R(new Bt(Ht((Lt(),Y2e))));if(f=!0,rc(this.i,this.d)==94&&(++this.d,f=!1),o=of(this.i,this.d,l),h=$$e(o,f,(this.e&512)==512),!h)throw R(new Bt(Ht((Lt(),SZe))));if(tm(p,h),r=!0,l+1>=this.j||rc(this.i,l+1)!=93)throw R(new Bt(Ht((Lt(),Y2e))));this.d=l+2}if(fi(this),!r)if(this.c!=0||this.a!=45)ho(p,i,i);else{if(fi(this),(S=this.c)==1)throw R(new Bt(Ht((Lt(),KF))));S==0&&this.a==93?(ho(p,i,i),ho(p,45,45)):(b=this.a,S==10&&(b=this.am()),fi(this),ho(p,i,b))}(this.e&Gf)==Gf&&this.c==0&&this.a==44&&fi(this)}if(this.c==1)throw R(new Bt(Ht((Lt(),KF))));return t&&(bS(t,p),p=t),h3(p),hS(p),this.b=0,fi(this),p},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(fi(this),this.c!=9)throw R(new Bt(Ht((Lt(),AZe))));if(t=this.cm(!1),r==4)tm(i,t);else if(n==45)bS(i,t);else if(n==38)uVe(i,t);else throw R(new du("ASSERT"))}else throw R(new Bt(Ht((Lt(),MZe))));return fi(this),i},s.em=function(){var n,t;return n=this.a-48,t=(ai(),ai(),new JV(12,null,n)),!this.g&&(this.g=new RP),$P(this.g,new ooe(n)),fi(this),t},s.fm=function(){return fi(this),ai(),xhn},s.gm=function(){return fi(this),ai(),Shn},s.hm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.im=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.jm=function(){return fi(this),vkn()},s.km=function(){return fi(this),ai(),Mhn},s.lm=function(){return fi(this),ai(),Thn},s.mm=function(){var n;if(this.d>=this.j||((n=rc(this.i,this.d++))&65504)!=64)throw R(new Bt(Ht((Lt(),kZe))));return fi(this),ai(),ai(),new Gh(0,n-64)},s.nm=function(){return fi(this),J_n()},s.om=function(){return fi(this),ai(),Ohn},s.pm=function(){var n;return n=(ai(),ai(),new Gh(0,105)),fi(this),n},s.qm=function(){return fi(this),ai(),Chn},s.rm=function(){return fi(this),ai(),Ahn},s.sm=function(n,t){return this.am()},s.tm=function(){return fi(this),ai(),v7e},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw R(new Bt(Ht((Lt(),mZe))));if(r=-1,t=null,n=rc(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new RP),$P(this.g,new ooe(r)),++this.d,rc(this.i,this.d)!=41)throw R(new Bt(Ht((Lt(),mg))));++this.d}else switch(n==63&&--this.d,fi(this),t=Oge(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw R(new Bt(Ht((Lt(),mg))));break;default:throw R(new Bt(Ht((Lt(),vZe))))}if(fi(this),c=Jw(this),i=null,c.e==2){if(c.Nm()!=2)throw R(new Bt(Ht((Lt(),yZe))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),ai(),ai(),new CRe(r,t,c,i)},s.vm=function(){return fi(this),ai(),y7e},s.wm=function(){var n;if(fi(this),n=kR(24,Jw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.xm=function(){var n;if(fi(this),n=kR(20,Jw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.ym=function(){var n;if(fi(this),n=kR(22,Jw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j)throw R(new Bt(Ht((Lt(),K2e))));if(t==45){for(++this.d;this.d=this.j)throw R(new Bt(Ht((Lt(),K2e))))}if(t==58){if(++this.d,fi(this),r=gDe(Jw(this),n,i),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));fi(this)}else if(t==41)++this.d,fi(this),r=gDe(Jw(this),n,i);else throw R(new Bt(Ht((Lt(),pZe))));return r},s.Am=function(){var n;if(fi(this),n=kR(21,Jw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.Bm=function(){var n;if(fi(this),n=kR(23,Jw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.Cm=function(){var n,t;if(fi(this),n=this.f++,t=pV(Jw(this),n),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),t},s.Dm=function(){var n;if(fi(this),n=pV(Jw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.Em=function(n){return fi(this),this.c==5?(fi(this),dR(n,(ai(),ai(),new D2(9,n)))):dR(n,(ai(),ai(),new D2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new Vj(2)),this.c==5?(fi(this),fg(t,gA),fg(t,n)):(fg(t,n),fg(t,gA)),t},s.Gm=function(n){return fi(this),this.c==5?(fi(this),ai(),ai(),new D2(9,n)):(ai(),ai(),new D2(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,v(Gd,"RegEx/RegexParser",820),m(1910,820,{},Lxe),s._l=function(n){return!1},s.am=function(){return Lbe(this)},s.bm=function(n){return O8(n)},s.cm=function(n){return ZVe(this)},s.dm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.em=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.fm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.gm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.hm=function(){return fi(this),O8(67)},s.im=function(){return fi(this),O8(73)},s.jm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.km=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.lm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.mm=function(){return fi(this),O8(99)},s.nm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.om=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.pm=function(){return fi(this),O8(105)},s.qm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.rm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.sm=function(n,t){return tm(n,O8(t)),-1},s.tm=function(){return fi(this),ai(),ai(),new Gh(0,94)},s.um=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.vm=function(){return fi(this),ai(),ai(),new Gh(0,36)},s.wm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.xm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.ym=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.zm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.Am=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.Bm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.Cm=function(){var n;if(fi(this),n=pV(Jw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),mg))));return fi(this),n},s.Dm=function(){throw R(new Bt(Ht((Lt(),Ul))))},s.Em=function(n){return fi(this),dR(n,(ai(),ai(),new D2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new Vj(2)),fg(t,n),fg(t,gA),t},s.Gm=function(n){return fi(this),ai(),ai(),new D2(3,n)};var u5=null,V7=null;v(Gd,"RegEx/ParserForXMLSchema",1910),m(121,1,h7,bw),s.Hm=function(n){throw R(new du("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var w7e,Y7,bA,Ehn,p7e,Vm=null,NG,Xce=null,m7e,gA,Kce=null,v7e,y7e,k7e,j7e,E7e,Shn,e6,xhn,Ahn,Mhn,Chn,Q7,Thn,Ohn,nzn=v(Gd,"RegEx/Token",121);m(137,121,{3:1,137:1,121:1},cl),s.Om=function(n){var t,i,r;if(this.e==4)if(this==m7e)i=".";else if(this==NG)i="\\d";else if(this==Q7)i="\\w";else if(this==e6)i="\\s";else{for(r=new vd,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,rN(this.b[t])):(Bc(r,rN(this.b[t])),r.a+="-",Bc(r,rN(this.b[t+1])));r.a+="]",i=r.a}else if(this==k7e)i="\\D";else if(this==E7e)i="\\W";else if(this==j7e)i="\\S";else{for(r=new vd,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,rN(this.b[t])):(Bc(r,rN(this.b[t])),r.a+="-",Bc(r,rN(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,v(Gd,"RegEx/RangeToken",137),m(580,1,{580:1},ooe),s.a=0,v(Gd,"RegEx/RegexParser/ReferencePosition",580),m(579,1,{3:1,579:1},pMe),s.Fb=function(n){var t;return n==null||!X(n,579)?!1:(t=u(n,579),bn(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return Id(this.b+"/"+Cbe(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,v(Gd,"RegEx/RegularExpression",579),m(228,121,h7,Gh),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;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:r="\\"+HK(this.a&yr);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=Ec?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+of(i,i.length-6,i.length)):r=""+HK(this.a&yr)}break;case 8:this==v7e||this==y7e?r=""+HK(this.a&yr):r="\\"+HK(this.a&yr);break;default:r=null}return r},s.a=0,v(Gd,"RegEx/Token/CharToken",228),m(322,121,h7,D2),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw R(new du("Token#toString(): CLOSURE "+this.c+To+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw R(new du("Token#toString(): NONGREEDYCLOSURE "+this.c+To+this.b));return t},s.b=0,s.c=0,v(Gd,"RegEx/Token/ClosureToken",322),m(821,121,h7,zfe),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},v(Gd,"RegEx/Token/ConcatToken",821),m(1908,121,h7,CRe),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw R(new du("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,v(Gd,"RegEx/Token/ConditionToken",1908),m(1909,121,h7,hLe),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":Cbe(this.a))+(this.c==0?"":Cbe(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,v(Gd,"RegEx/Token/ModifierToken",1909),m(822,121,h7,Yfe),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?"+this.a.Om(n)+")"}return t},s.b=0,v(Gd,"RegEx/Token/ParenToken",822),m(517,121,{3:1,121:1,517:1},JV),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:POn(this.b)},s.a=0,v(Gd,"RegEx/Token/StringToken",517),m(466,121,h7,Vj),s.Hm=function(n){fg(this,n)},s.Jm=function(n){return u(Aw(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Aw(this.a,0),121),i=u(Aw(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new vd,r=0;r=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw R(new pd(Ben))},s.a=0,s.b=0,v(gme,"ExclusiveRange/RangeIterator",259);var Wl=L9(VF,"C"),$t=L9(JS,"I"),ts=L9(ly,"Z"),Ap=L9(HS,"J"),ds=L9(BS,"B"),Jr=L9(zS,"D"),Ym=L9(FS,"F"),o5=L9(GS,"S"),tzn=Gi("org.eclipse.elk.core.labels","ILabelManager"),S7e=Gi(yc,"DiagnosticChain"),x7e=Gi(den,"ResourceSet"),A7e=v(yc,"InvocationTargetException",null),Ihn=(GP(),X6n),Dhn=Dhn=AAn;G8n(wbn),u7n("permProps",[[["locale","default"],[zen,"gecko1_8"]],[["locale","default"],[zen,"safari"]]]),Dhn(null,"elk",null)}).call(this)}).call(this,typeof Lhn<"u"?Lhn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(x,M,N){function $(pe){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},$(pe)}function k(pe,Pe,ae){return Object.defineProperty(pe,"prototype",{writable:!1}),pe}function H(pe,Pe){if(!(pe instanceof Pe))throw new TypeError("Cannot call a class as a function")}function U(pe,Pe,ae){return Pe=Z(Pe),G(pe,W()?Reflect.construct(Pe,ae||[],Z(pe).constructor):Pe.apply(pe,ae))}function G(pe,Pe){if(Pe&&($(Pe)=="object"||typeof Pe=="function"))return Pe;if(Pe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ie(pe)}function ie(pe){if(pe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return pe}function W(){try{var pe=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W=function(){return!!pe})()}function Z(pe){return Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},Z(pe)}function se(pe,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");pe.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:pe,writable:!0,configurable:!0}}),Object.defineProperty(pe,"prototype",{writable:!1}),Pe&&oe(pe,Pe)}function oe(pe,Pe){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ae,Ne){return ae.__proto__=Ne,ae},oe(pe,Pe)}var ee=x("./elk-api.js").default,Me=(function(pe){function Pe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};H(this,Pe);var Ne=Object.assign({},ae),Xe=!1;try{x.resolve("web-worker"),Xe=!0}catch{}if(ae.workerUrl)if(Xe){var ln=x("web-worker");Ne.workerFactory=function(xn){return new ln(xn)}}else console.warn(`Web worker requested but 'web-worker' package not installed. -Consider installing the package or pass your own 'workerFactory' to ELK's constructor. -... Falling back to non-web worker version.`);if(!Ne.workerFactory){var on=x("./elk-worker.min.js"),An=on.Worker;Ne.workerFactory=function(xn){return new An(xn)}}return U(this,Pe,[Ne])}return se(Pe,pe),k(Pe)})(ee);Object.defineProperty(M.exports,"__esModule",{value:!0}),M.exports=Me,Me.default=Me},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(x,M,N){var $=typeof Worker<"u"?Worker:void 0;M.exports=$},{}]},{},[3])(3)})})(K7e)),K7e.exports}var uKn=cKn();const oKn=bke(uKn);function ebn(g){if(g.detailMode==="overview")return 190;const E=Math.max(g.applicationId.length,g.modelName.length,...g.inputs.map(x=>x.name.length),...g.outputs.map(x=>x.name.length));return Math.max(310,Math.min(540,235+E*7))}const sKn=new oKn;async function lKn(g,E,x){const M={id:"root",layoutOptions:fKn(x),children:g.map(k=>({id:k.id,width:aKn(k.data),height:hKn(k.data),ports:k.data.nodeKind==="application"?[...nbn(k.data).map((H,U)=>lue(H.id,"WEST",U)),...tbn(k.data).map((H,U)=>lue(H.id,"EAST",U))]:[...(k.data.inputPortIds??[]).map((H,U)=>lue(H,"WEST",U)),...(k.data.outputPortIds??[]).map((H,U)=>lue(H,"EAST",U))],layoutOptions:{"org.eclipse.elk.portConstraints":"FIXED_ORDER"}})),edges:E.map(k=>({id:k.id,sources:[k.sourceHandle??k.source],targets:[k.targetHandle??k.target]}))},N=await sKn.layout(M),$=new Map((N.children??[]).map(k=>[k.id,{x:k.x??0,y:k.y??0}]));return g.map(k=>({...k,position:$.get(k.id)??k.position}))}function fKn(g){return{"elk.algorithm":g==="topology"?"mrtree":"layered","elk.direction":g==="topology"?"DOWN":"RIGHT","elk.spacing.nodeNode":g==="overview"?"24":g==="compact"?"32":"56","elk.layered.spacing.nodeNodeBetweenLayers":g==="overview"?"48":g==="compact"?"60":"110","elk.layered.nodePlacement.strategy":"BRANDES_KOEPF","elk.layered.crossingMinimization.semiInteractive":"true","elk.edgeRouting":"ORTHOGONAL"}}function lue(g,E,x){return{id:g,width:9,height:9,layoutOptions:{"org.eclipse.elk.port.side":E,"org.eclipse.elk.port.index":String(x)}}}function aKn(g){return g.nodeKind==="application"?ebn(g):240}function hKn(g){if(g.nodeKind!=="application")return 112;if(g.detailMode==="overview")return 108;const E=Math.max(g.inputs.length,g.outputs.length),x=Math.max(g.environmentInputs.length,g.environmentOutputs.length);return Math.max(178,142+E*27+(x>0?32+x*27:0))}function nbn(g){return[...g.inputs,...g.environmentInputs]}function tbn(g){return[...g.outputs,...g.environmentOutputs]}function dKn({data:g,selected:E}){const x=g.detailMode==="overview",M=new Set(g.requiredInputPortIds),N=new Set(g.candidatePortIds),$=new Set(g.previousTimeStepPortIds),k=new Set(g.cycleBreakInputPortIds),H=wKn(g);return _.jsxs("section",{className:`model-node application-node ${x?"overview-node":""} ${g.cyclic?"cyclic":""} ${E?"selected":""}`,"data-testid":`application-node-${g.applicationId}`,style:{width:ebn(g)},children:[x&&_.jsx(gKn,{inputs:nbn(g),outputs:tbn(g)}),_.jsxs("header",{className:"node-header",children:[_.jsxs("div",{children:[_.jsx("div",{className:"process",children:g.name||g.applicationId}),_.jsx("div",{className:"model-type",children:g.modelName})]}),_.jsx(Y0n,{size:18})]}),x?_.jsxs("div",{className:"overview-node-summary",children:[_.jsxs("span",{children:[g.targetCount," targets"]}),_.jsxs("span",{children:[g.inputs.length," in"]}),_.jsxs("span",{children:[g.outputs.length," out"]})]}):_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"node-meta",children:[_.jsxs("span",{className:"meta-chip",title:g.selector.julia,children:[_.jsx(xXn,{size:13})," ",H]}),_.jsxs("span",{className:"meta-chip",title:g.cadence.julia,children:[_.jsx(CXn,{size:13})," ",pKn(g)]})]}),_.jsxs("div",{className:"target-summary",children:[_.jsx("strong",{children:g.targetCount})," concrete target",g.targetCount===1?"":"s"]}),_.jsxs("div",{className:"ports-grid",children:[_.jsx(fue,{title:"Inputs",side:"input",ports:g.inputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:g.cycleBreakMode,application:g,onCandidateClick:g.onCandidateClick,onPortClick:g.onPortClick,onCycleBreak:g.onCycleBreak}),_.jsx(fue,{title:"Outputs",side:"output",ports:g.outputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:g.cycleBreakMode,application:g,onCandidateClick:g.onCandidateClick,onPortClick:g.onPortClick,onCycleBreak:g.onCycleBreak})]}),(g.environmentInputs.length>0||g.environmentOutputs.length>0)&&_.jsxs("div",{className:"ports-grid environment-ports",children:[_.jsx(fue,{title:"Environment inputs",side:"input",ports:g.environmentInputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:g,onPortClick:g.onPortClick}),_.jsx(fue,{title:"Environment outputs",side:"output",ports:g.environmentOutputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:g,onPortClick:g.onPortClick})]})]})]})}function bKn({data:g,selected:E}){return _.jsxs("section",{className:`entity-node ${g.nodeKind} ${E?"selected":""}`,"data-testid":`${g.nodeKind}-node`,children:[(g.inputPortIds?.length?g.inputPortIds:[void 0]).map((x,M)=>_.jsx(h5,{id:x,type:"target",position:ur.Left,style:{top:`${Tue(M,g.inputPortIds?.length??1)}%`}},x??"target")),_.jsxs("header",{children:[_.jsx("strong",{children:g.title}),_.jsx("span",{children:g.subtitle})]}),_.jsx("div",{className:"badges",children:g.badges.map(x=>_.jsx("span",{className:"meta-chip",children:x},x))}),(g.outputPortIds?.length?g.outputPortIds:[void 0]).map((x,M)=>_.jsx(h5,{id:x,type:"source",position:ur.Right,style:{top:`${Tue(M,g.outputPortIds?.length??1)}%`}},x??"source"))]})}function fue({title:g,side:E,ports:x,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:H,application:U,onCandidateClick:G,onPortClick:ie,onCycleBreak:W}){return _.jsxs("div",{className:`port-column ${E}`,children:[_.jsx("div",{className:"port-title",children:g}),x.map(Z=>_.jsxs("div",{className:`port ${M.has(Z.id)?"required-input":""} ${$.has(Z.id)?"previous":""}`,"data-testid":`port-${E}-${Z.name}`,title:`${Z.name}: ${Z.defaultJulia}`,onClick:se=>{se.stopPropagation(),ie?.(Z)},children:[E==="input"&&_.jsx(h5,{id:Z.id,type:"target",position:ur.Left}),_.jsx("span",{children:Z.name}),N.has(Z.id)&&_.jsx("button",{className:"port-candidate-button nodrag nopan",type:"button",title:E==="input"?"Models that compute this variable":"Models that consume this variable","aria-label":E==="input"?`Models that compute ${Z.name}`:`Models that consume ${Z.name}`,onClick:se=>{se.stopPropagation();const oe=se.currentTarget.getBoundingClientRect();G?.(Z,{x:oe.right,y:oe.top+oe.height/2})},children:_.jsx(SA,{size:11})}),E==="input"&&H&&k.has(Z.id)&&_.jsx("button",{className:"cycle-port-break nodrag nopan",type:"button",title:`Read ${Z.name} from the previous accepted timestep`,"aria-label":`Break cycle at ${U.applicationId}.${Z.name}`,"data-testid":`cycle-break-${U.applicationId}-${Z.name}`,onClick:se=>{se.stopPropagation(),W?.(U,Z)},children:_.jsx(Q0n,{size:12})}),$.has(Z.id)&&_.jsx("small",{className:"previous-label",children:"t-1"}),E==="output"&&_.jsx(h5,{id:Z.id,type:"source",position:ur.Right})]},Z.id))]})}function gKn({inputs:g,outputs:E}){return _.jsxs(_.Fragment,{children:[g.map((x,M)=>_.jsx(h5,{id:x.id,type:"target",position:ur.Left,style:{top:`${Tue(M,g.length)}%`}},x.id)),E.map((x,M)=>_.jsx(h5,{id:x.id,type:"source",position:ur.Right,style:{top:`${Tue(M,E.length)}%`}},x.id))]})}function Tue(g,E){return E<=1?52:28+g/(E-1)*48}function wKn(g){const E=[...g.targetInstances,...g.targetScales,...g.targetKinds];return E.length>0?E.slice(0,2).join(" / "):g.selector.type}function pKn(g){return g.cadence.mode==="default"?"default rate":g.cadence.mode==="period"?`${g.cadence.value} ${g.cadence.unit}`:g.cadence.julia}function mKn({id:g,sourceX:E,sourceY:x,targetX:M,targetY:N,sourcePosition:$=ur.Right,targetPosition:k=ur.Left,markerEnd:H,style:U,data:G}){const[ie,W,Z]=Aue({sourceX:E,sourceY:x,targetX:M,targetY:N,sourcePosition:$,targetPosition:k,borderRadius:14,offset:24}),se=vKn(G);return _.jsxs(_.Fragment,{children:[_.jsx(uq,{id:g,path:ie,markerEnd:H,style:U,interactionWidth:18}),se&&_.jsx(qUn,{children:_.jsx("div",{className:`edge-chip ${G?.kind??""} ${G?.cycle?"cycle":""}`,style:{transform:`translate(-50%, -50%) translate(${W}px, ${Z-12}px)`},children:se})})]})}function vKn(g){return g?g.kind==="manual_call"?g.call||"call":g.kind==="initializer"?g.call||"initializer":g.kind==="object_topology"||g.kind==="application_target"?"":g.sourceVariable&&g.targetVariable?g.sourceVariable===g.targetVariable?g.sourceVariable:`${g.sourceVariable} → ${g.targetVariable}`:g.kind.replaceAll("_"," "):""}const V7e=_ke("source","degree_days","ToyDegreeDaysCumulModel",[],["TT_cu"]),aue=_ke("lai","lai_dynamic","ToyLAIModel",["TT_cu"],["LAI"]),Y7e=_ke("light","light_interception","Beer",["LAI"],["aPPFD"]),ndn={schemaVersion:2,level:"applications",metadata:{title:"PlantSimEngine Model Graph",modelRevision:0,objectCount:1,instanceCount:0,applicationCount:3,executionCount:3,bindingCount:2,callCount:0,unresolvedInitializationCount:1,cyclic:!1,strictlyCompiled:!0,sceneEnvironmentId:null},objects:[{id:"object:plant",objectId:"plant",scale:"Plant",kind:"plant",species:null,name:"plant",instance:null,parent:null,children:[],hasGeometry:!1,hasStatus:!0}],templates:[],instances:[],applications:[V7e,aue,Y7e],executions:[V7e,aue,Y7e].map(g=>({id:`execution:${g.applicationId}:plant`,applicationId:g.applicationId,applicationNodeId:g.id,objectId:"plant",objectNodeId:"object:plant",modelType:g.modelType,modelParameters:{},overridden:!1})),edges:[idn(V7e,"TT_cu",aue,"TT_cu"),idn(aue,"LAI",Y7e,"LAI")],modelLibrary:[],environments:[],initialization:[{applicationId:"source",objectId:"plant",variable:"TT",role:"input",disposition:"unresolved",value:"-Inf",valueJulia:"-Inf",expectedType:"Float64",declaredType:"Float64",originalType:null,transformedType:null,effectiveType:null,statusTransformApplied:!1,statusTransformChanged:!1,typeMappingApplied:!1,typeMappingChanged:!1,typeMappingRule:null,sourceApplicationIds:[],sourceObjectIds:[],sourceVariable:null,origin:"missing",previousTimeStep:!1}],diagnostics:[],cycles:[],availableActions:["inspect"]};function _ke(g,E,x,M,N){return{id:`application:${g}`,applicationId:g,owner:{scope:"global",applicationId:g,instance:null,templateId:null},name:g,process:E,modelType:x,modelName:x,module:"PlantSimEngine.Examples",package:"PlantSimEngine",modelParameters:{},selector:{type:"One",multiplicity:"one",criteria:{scale:"Plant"},julia:"One(scale=:Plant)"},targetIds:["plant"],targetCount:1,targetScales:["Plant"],targetKinds:["plant"],targetSpecies:[],targetInstances:[],cadence:{mode:"default",value:null,unit:null,julia:"nothing"},clock:null,inputs:M.map($=>tdn(g,"input",$)),outputs:N.map($=>tdn(g,"output",$)),environmentInputs:[],environmentOutputs:[],inputBindings:{},callBindings:{},environment:null,environmentBindings:{},environmentWindow:{mode:"default",value:null,unit:null,julia:"nothing"},outputRouting:{},updates:[],modelStorage:"shared_application",objectOverrides:[]}}function tdn(g,E,x){return{id:`application:${g}:${E}:${x}`,name:x,role:E,default:"-Inf",defaultJulia:"-Inf",expectedType:"Float64"}}function idn(g,E,x,M){return{id:`binding:${g.applicationId}:${E}:${x.applicationId}:${M}`,source:g.id,target:x.id,sourcePort:`application:${g.applicationId}:output:${E}`,targetPort:`application:${x.applicationId}:input:${M}`,sourceVariable:E,targetVariable:M,sourceApplicationId:g.applicationId,targetApplicationId:x.applicationId,kind:"inferred_same_object",cycle:!1,projection:"applications"}}const yKn={application:dKn,entity:bKn},kKn={modelEdge:mKn};function jKn(){const[g,E]=Be.useState(W7e),[x,M]=Be.useState(()=>W7e().level),[N,$]=Be.useState(()=>W7e().metadata.applicationCount>24?"overview":"detail"),[k,H]=Be.useState(""),[U,G]=Be.useState(null),[ie,W]=Be.useState(null),[Z,se]=Be.useState(null),[oe,ee]=Be.useState(null),[Me,pe]=Be.useState(!1),[Pe,ae]=Be.useState(!1),[Ne,Xe]=Be.useState(!1),[ln,on]=Be.useState(!1),[An,xn]=Be.useState(!1),[tt,vn]=Be.useState(""),[wn,Y]=Be.useState(null),[Je,pn]=Be.useState(null),[xe,qe]=Be.useState([]),[fn,$e]=Be.useState(null),[Mn,ye]=Be.useState(!1),[Re,Hn]=Be.useState(!1),[rt,Jt]=Be.useState(!1),[di,Gt]=Be.useState(null),[xt,si]=Be.useState(null),[Kr,Er]=Be.useState(null),[Mt,bi]=Be.useState(!1),[zi,cu]=Be.useState(null),[Fu,Rs]=Be.useState(!1),[ia,ef]=Be.useState(null),[Oa,Cc]=Be.useState(null),[o0,xb]=Be.useState(null),[Sl,cd]=Be.useState(null),[s0,uh]=Be.useState(null),[ud,b5]=Be.useState(!1),[l0,Cp]=Be.useState(null),[l6,Ab,ra]=UUn([]),[od,Sf,f6]=XUn([]),oh=Be.useMemo(JKn,[]),Tp=Be.useMemo(()=>new Map(g.applications.map(vt=>[vt.applicationId,vt])),[g.applications]),Gg=Be.useMemo(()=>new Set(g.initialization.filter(vt=>vt.role==="input"&&vt.disposition==="unresolved").map(vt=>Q7e(vt.applicationId,"input",vt.variable))),[g.initialization]),qg=Be.useMemo(()=>new Set(g.initialization.filter(vt=>vt.role==="input"&&vt.previousTimeStep).map(vt=>Q7e(vt.applicationId,"input",vt.variable))),[g.initialization]),Ug=Be.useMemo(()=>new Set(g.cycles.flatMap(vt=>vt.applicationIds)),[g.cycles]),sd=Be.useMemo(()=>new Set(g.cycles.flatMap(vt=>vt.breakCandidates.map(kc=>Q7e(kc.applicationId,"input",kc.input)))),[g.cycles]),Xg=Be.useMemo(()=>CKn(g),[g]),Mb=Be.useMemo(()=>oe?TKn(g.modelLibrary,oe.port):[],[oe,g.modelLibrary]),g5=Be.useMemo(()=>oe?NKn(g.applications,oe):[],[oe,g.applications]),Op=Be.useMemo(()=>{const vt=new Map;for(const kc of g.applications)for(const tc of[...kc.inputs,...kc.outputs])vt.set(tc.id,{application:kc,port:tc});return vt},[g.applications]),Np=Be.useMemo(()=>ie?new Set(ie.objectIds.map(u6)):null,[ie]);Be.useEffect(()=>{if(!oh?.websocketUrl)return;const vt=new WebSocket(oh.websocketUrl);return $e(vt),vt.addEventListener("open",()=>{ye(!0),Gt(null)}),vt.addEventListener("close",()=>{ye(!1),Gt("Editor connection closed.")}),vt.addEventListener("message",kc=>{const tc=JSON.parse(kc.data);tc.graph&&E(tc.graph),typeof tc.modelCode=="string"&&vn(tc.modelCode),Y(tc.autosavePath??null),pn(tc.savePath??null),qe(tc.recentPaths??[]),tc.selectorPreview&&uh(tc.selectorPreview),tc.targetPreview&&Er(tc.targetPreview),tc.instancePreview&&cu(tc.instancePreview),tc.ok===!1&&(uh(null),Er(null),cu(null)),Hn(!!tc.canUndo),Jt(!!tc.canRedo),Gt(tc.ok===!1?tc.diagnostics?.[0]||"The edit failed.":null)}),()=>vt.close()},[oh?.websocketUrl]),Be.useEffect(()=>{g.metadata.cyclic||(b5(!1),Cp(null))},[g.metadata.cyclic]);const uu=Be.useCallback(vt=>{if(!fn||fn.readyState!==WebSocket.OPEN){Gt("This action requires an interactive Julia editor session.");return}fn.send(JSON.stringify(vt))},[fn]),w5=Be.useCallback((vt,kc,tc)=>{G(vt),se(kc),ee({application:vt,port:kc,x:tc.x,y:tc.y})},[]);Be.useEffect(()=>{const vt=EKn({graph:g,view:x,detailMode:N,query:k,scopedObjectIds:Np,unresolvedPortIds:Gg,previousPortIds:qg,candidatePortIds:Xg,cyclicApplications:Ug,cycleBreakPortIds:sd,cycleBreakMode:ud,openCandidates:w5,onPortClick:se,onCycleBreak:(f0,Yg)=>Cp({application:f0,port:Yg})}),kc=new Set(vt.map(f0=>f0.id)),tc=SKn(g,x).filter(f0=>kc.has(f0.source)&&kc.has(f0.target));lKn(vt,tc,x==="topology"?"topology":N==="overview"?"overview":"data_flow").then(Ab),Sf(tc)},[Xg,ud,sd,Ug,N,g,w5,qg,k,Np,Sf,Ab,Gg,x]);const Kg=Be.useCallback((vt,kc)=>{if(kc.data.nodeKind==="application")G(Tp.get(kc.data.applicationId)??null);else if(G(kc.data.detail),kc.data.nodeKind==="object"){const tc=kc.data.detail;W({label:`subtree ${tc.name||String(tc.objectId)}`,objectIds:AKn(g.objects,tc.objectId)})}else if(kc.data.nodeKind==="instance"){const tc=kc.data.detail;W({label:`instance ${tc.name}`,objectIds:tc.objectIds})}else kc.data.nodeKind==="model"&&W(null);se(null)},[Tp,g.objects]),rv=Be.useCallback(vt=>{oe&&(Er(null),si({mode:"add",initialModelType:vt.type,suggestedSelector:FKn(oe.application)}),Mn||Gt(`${vt.name} matches ${oe.port.name}. Start an interactive Julia editor session to add it to the composite model.`),ee(null))},[oe,Mn]),p5=Be.useCallback(vt=>{if(!Mn){Gt("Adding or updating an application requires an interactive Julia editor session."),si(null);return}uu({action:"edit",kind:vt.applicationRef?"update_application":"add_application",...vt}),si(null)},[Mn,uu]),Vg=Be.useCallback(vt=>{if(!Mn){Gt("Adding a template instance requires an interactive Julia editor session.");return}uu({action:"edit",kind:"add_instance",...vt}),bi(!1),cu(null)},[Mn,uu]),cv=Be.useCallback(vt=>{if(!Mn){Gt("Creating a binding requires an interactive Julia editor session."),cd(null);return}uu({action:"edit",kind:"set_input_binding",...vt}),cd(null)},[Mn,uu]),m5=Be.useCallback(vt=>{if(!Mn){Gt("Adding or updating an object requires an interactive Julia editor session."),ef(null);return}uu({action:"edit",kind:ia?.mode==="update"?"update_object":"add_object",objectId:vt.objectId,configuration:vt.configuration}),ef(null)},[Mn,ia?.mode,uu]),v5=Be.useCallback(vt=>{if(!Mn){Gt("Creating an override requires an interactive Julia editor session."),Cc(null);return}uu({action:"edit",kind:vt.scope==="instance"?"set_instance_override":"set_object_override",...vt}),Cc(null)},[Mn,uu]),b1=Be.useCallback(vt=>{if(!Mn){Gt("Removing an override requires an interactive Julia editor session.");return}uu({action:"edit",kind:vt.scope==="instance"?"remove_instance_override":"remove_object_override",...vt}),Cc(null)},[Mn,uu]),Ws=Be.useCallback(vt=>{if(!vt.sourceHandle||!vt.targetHandle)return;const kc=Op.get(vt.sourceHandle),tc=Op.get(vt.targetHandle);if(!kc||!tc||kc.port.role!=="output"||tc.port.role!=="input"){Gt("Connect an application output to an application input.");return}cd({sourceApplication:kc.application,sourcePort:kc.port,targetApplication:tc.application,targetPort:tc.port}),uh(null)},[Op]),xf=Be.useMemo(()=>{if(!U)return g.initialization;if("applicationId"in U)return g.initialization.filter(vt=>vt.applicationId===U.applicationId);if("objectId"in U)return g.initialization.filter(vt=>String(vt.objectId)===String(U.objectId));if("objectIds"in U){const vt=new Set(U.objectIds.map(u6));return g.initialization.filter(kc=>vt.has(u6(kc.objectId)))}return g.initialization},[g.initialization,U]);return _.jsxs("main",{className:"model-editor-shell","data-testid":"model-graph-viewer",children:[_.jsxs("header",{className:"model-toolbar",children:[_.jsxs("div",{className:"model-brand",children:[_.jsx("span",{className:"brand-mark"}),_.jsxs("div",{children:[_.jsx("small",{children:"PLANTSIMENGINE"}),_.jsx("strong",{children:"Model Graph"})]})]}),_.jsxs("div",{className:"model-search",children:[_.jsx(PXn,{size:17}),_.jsx("input",{value:k,onChange:vt=>H(vt.target.value),placeholder:"Search application, object, or variable"}),k&&_.jsx("button",{"aria-label":"Clear search",onClick:()=>H(""),children:_.jsx(Jg,{size:15})})]}),_.jsxs("div",{className:"model-counts",children:[_.jsxs("span",{children:[g.metadata.applicationCount," applications"]}),_.jsxs("span",{children:[g.metadata.objectCount," objects"]}),g.metadata.unresolvedInitializationCount>0&&_.jsxs("button",{className:"count-warning",onClick:()=>ae(!0),children:[_.jsx(MXn,{size:14})," ",g.metadata.unresolvedInitializationCount," init"]}),g.diagnostics.length>0&&_.jsxs("button",{className:"count-error",onClick:()=>pe(!0),children:[_.jsx(dke,{size:14})," ",g.diagnostics.length]})]}),_.jsxs("nav",{className:"view-tabs","aria-label":"Graph projection",children:[_.jsxs("button",{className:x==="applications"?"active":"",onClick:()=>M("applications"),children:[_.jsx(Y0n,{size:15})," Applications"]}),_.jsxs("button",{className:x==="topology"?"active":"",onClick:()=>M("topology"),children:[_.jsx(NXn,{size:15})," Objects"]}),_.jsxs("button",{className:x==="resolved"?"active":"",onClick:()=>M("resolved"),children:[_.jsx(IXn,{size:15})," Executions"]})]}),_.jsxs("div",{className:"model-actions",children:[oh&&_.jsxs("button",{"data-testid":"open-model",onClick:()=>on(!0),children:[_.jsx(OXn,{size:15})," Open"]}),oh&&_.jsxs("button",{"data-testid":"save-model",onClick:()=>xn(!0),children:[_.jsx(LXn,{size:15})," ",Je?"Saved":"Save"]}),x!=="topology"&&_.jsx("button",{className:N==="overview"?"overview-cta":"",onClick:()=>$(vt=>vt==="overview"?"detail":"overview"),children:N==="overview"?"Overview Mode - Show Detailed View":"Show Overview"}),oh&&_.jsxs("button",{"data-testid":"add-application",onClick:()=>{Er(null),si({mode:"add"})},children:[_.jsx(SA,{size:15})," Add application"]}),oh&&_.jsxs("button",{"data-testid":"add-object",onClick:()=>ef({mode:"add"}),children:[_.jsx(SA,{size:15})," Add object"]}),oh&&g.templates.length>0&&_.jsxs("button",{"data-testid":"add-instance",onClick:()=>{cu(null),bi(!0)},children:[_.jsx(SA,{size:15})," Add instance"]}),oh&&_.jsx("button",{"data-testid":"configure-environment",onClick:()=>Rs(!0),children:"Environment"}),oh&&_.jsx("button",{disabled:!Re,onClick:()=>uu({action:"undo"}),"aria-label":"Undo",children:_.jsx($Xn,{size:15})}),oh&&_.jsx("button",{disabled:!rt,onClick:()=>uu({action:"redo"}),"aria-label":"Redo",children:_.jsx(DXn,{size:15})}),_.jsxs("button",{onClick:()=>Xe(!0),children:[_.jsx(TXn,{size:15})," Model code"]})]})]}),g.metadata.cyclic&&_.jsxs("section",{className:"cycle-callout","data-testid":"cycle-callout",children:[_.jsx(dke,{size:19}),_.jsxs("div",{children:[_.jsx("strong",{children:"Current-step dependency cycle"}),_.jsx("span",{children:"Select a cycle input to read its previous accepted timestep value."})]}),_.jsx("button",{className:ud?"active":"",onClick:()=>{M("applications"),$("detail"),b5(vt=>!vt)},"data-testid":"choose-cycle-break",children:ud?"Cancel break selection":"Choose a break point in graph"})]}),di&&_.jsxs("div",{className:"editor-feedback",children:[di,_.jsx("button",{onClick:()=>Gt(null),children:_.jsx(Jg,{size:14})})]}),ie&&_.jsxs("section",{className:"graph-scope-filter","data-testid":"graph-scope-filter",children:[_.jsxs("span",{children:["Showing ",x==="resolved"?"executions":x==="applications"?"applications":"topology"," for ",_.jsx("strong",{children:ie.label})," (",ie.objectIds.length," objects)"]}),x==="topology"&&_.jsx("button",{onClick:()=>M("applications"),children:"Show related applications"}),_.jsxs("button",{"aria-label":"Clear graph scope",onClick:()=>W(null),children:[_.jsx(Jg,{size:14})," Clear"]})]}),_.jsxs("section",{className:"model-workspace",children:[_.jsx("div",{className:"flow-wrap",children:_.jsxs(HUn,{nodes:l6,edges:od,nodeTypes:yKn,edgeTypes:kKn,onNodesChange:ra,onEdgesChange:f6,onConnect:Ws,onNodeClick:Kg,onEdgeClick:(vt,kc)=>G(kc.data??null),fitView:!0,minZoom:.05,maxZoom:2,children:[_.jsx(WUn,{color:"#d8cdbc",gap:22,size:1}),_.jsx(cXn,{}),_.jsx(mXn,{pannable:!0,zoomable:!0})]})}),_.jsx(DKn,{selection:U,port:Z,initialization:xf,interactive:Mn,onEditApplication:vt=>{Er(null),si({mode:"update",application:vt})},onRemoveApplication:vt=>uu({action:"edit",kind:"remove_application",applicationRef:vt.owner}),onConfigureApplication:vt=>xb(vt.applicationId),onOverrideApplication:Cc,onRemoveInstance:vt=>uu({action:"edit",kind:"remove_instance",name:vt.name}),onEditObject:vt=>ef({mode:"update",object:vt}),onRemoveObject:vt=>uu({action:"edit",kind:"remove_object",objectId:vt.objectId,recursive:!0})})]}),oe&&(Mb.length>0||g5.length>0)&&_.jsx(OKn,{candidate:oe,models:Mb,applications:g5,onSelectModel:rv,onSelectApplication:vt=>{cd(IKn(oe,vt)),uh(null),ee(null)},onClose:()=>ee(null)}),Me&&_.jsx(_Kn,{graph:g,onClose:()=>pe(!1),sendCommand:uu,interactive:Mn}),Pe&&_.jsx(LKn,{graph:g,onClose:()=>ae(!1),sendCommand:uu,interactive:Mn}),Ne&&_.jsx($Kn,{code:tt,onClose:()=>Xe(!1)}),ln&&_.jsx(odn,{mode:"open",recentPaths:xe,currentPath:Je,autosavePath:wn,onSubmit:vt=>{uu({action:"open_model_code",path:vt}),on(!1)},onClose:()=>on(!1)}),An&&_.jsx(odn,{mode:"save",recentPaths:xe,currentPath:Je,autosavePath:wn,onSubmit:vt=>{uu({action:"save_model_code",path:vt}),xn(!1)},onClose:()=>xn(!1)}),xt&&_.jsx(RXn,{mode:xt.mode,models:g.modelLibrary,objects:g.objects,application:xt.application,initialModelType:xt.initialModelType,suggestedSelector:xt.suggestedSelector,nameReadOnly:xt.application?.owner.scope==="template",preview:Kr,onPreview:vt=>{Er(null),uu({action:"preview_application_targets",selector:vt,applicationRef:xt.application?.owner})},onSubmit:p5,onClose:()=>{si(null),Er(null)}}),Sl&&_.jsx(XXn,{endpoints:Sl,objects:g.objects,preview:s0,onPreview:vt=>{uh(null),uu({action:"preview_input_binding",...vt})},onSubmit:cv,onClose:()=>{cd(null),uh(null)}}),ia&&_.jsx(tKn,{mode:ia.mode,objects:g.objects,object:ia.object,onSubmit:m5,onClose:()=>ef(null)}),Mt&&_.jsx(eKn,{templates:g.templates,instances:g.instances,objects:g.objects,preview:zi,onPreview:vt=>{cu(null),uu({action:"preview_instance",...vt})},onSubmit:Vg,onClose:()=>{bi(!1),cu(null)}}),Fu&&_.jsx(ZXn,{environments:g.environments,activeId:g.metadata.sceneEnvironmentId,onSubmit:vt=>{uu({action:"edit",kind:"set_model_environment",environmentId:vt}),Rs(!1)},onClose:()=>Rs(!1)}),Oa&&_.jsx(rKn,{application:Oa,models:g.modelLibrary,instances:g.instances,onSubmit:v5,onRemove:b1,onClose:()=>Cc(null)}),o0&&Tp.get(o0)&&_.jsx(HXn,{application:Tp.get(o0),applications:g.applications,environments:g.environments,models:g.modelLibrary,onCommand:uu,onClose:()=>xb(null)}),l0&&_.jsx(RKn,{selection:l0,initialization:g.initialization,onSubmit:(vt,kc)=>{uu({action:"edit",kind:"break_cycle",applicationRef:l0.application.owner,input:l0.port.name,initializeMissing:vt,initialValue:kc}),Cp(null)},onClose:()=>Cp(null)})]})}function EKn({graph:g,view:E,detailMode:x,query:M,scopedObjectIds:N,unresolvedPortIds:$,previousPortIds:k,candidatePortIds:H,cyclicApplications:U,cycleBreakPortIds:G,cycleBreakMode:ie,openCandidates:W,onPortClick:Z,onCycleBreak:se}){const oe=Me=>!M||JSON.stringify(Me).toLowerCase().includes(M.toLowerCase());if(E==="topology"){const Me={entity:"model",objectCount:g.metadata.objectCount,instanceCount:g.metadata.instanceCount,applicationCount:g.metadata.applicationCount},pe={id:"model:root",type:"entity",position:{x:0,y:0},data:{nodeKind:"model",title:g.metadata.title||"Composite model",subtitle:"model root",badges:[`${g.metadata.instanceCount} instances`,`${g.metadata.objectCount} objects`],detail:Me}},Pe=g.templates.filter(oe).map(Xe=>({id:`template:${Xe.id}`,type:"entity",position:{x:0,y:0},data:{nodeKind:"template",title:Xe.name,subtitle:Xe.source==="catalog"?"template preset":"model-local template",badges:[`${Xe.applications.length} applications`,`${Xe.mountedInstances.length} mounts`],detail:Xe}})),ae=g.instances.filter(oe).map(Xe=>({id:Xe.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"instance",title:Xe.name,subtitle:[Xe.kind,Xe.species].filter(Boolean).join(" · ")||"object instance",badges:[`${Xe.objectIds.length} objects`,`${Xe.applicationIds.length} applications`,`${Xe.instanceOverrides.length+Xe.objectOverrides.length} overrides`],detail:Xe}})),Ne=g.objects.filter(oe).map(Xe=>({id:Xe.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"object",title:Xe.name||String(Xe.objectId),subtitle:[Xe.kind,Xe.scale,Xe.instance].filter(Boolean).join(" · "),badges:[Xe.species,Xe.hasStatus?"status":null,Xe.hasGeometry?"geometry":null].filter(Boolean),detail:Xe}}));return[pe,...Pe,...ae,...Ne]}if(E==="resolved"){const Me=new Map(g.applications.map(Pe=>[Pe.applicationId,Pe]));return[...g.executions.filter(Pe=>!N||N.has(u6(Pe.objectId))).filter(oe).map(Pe=>{const ae=Me.get(Pe.applicationId);return{id:Pe.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"execution",title:Pe.applicationId,subtitle:`object ${String(Pe.objectId)}`,badges:[zKn(Pe.modelType),Pe.overridden?"override":"shared"],inputPortIds:[...ae?.inputs??[],...ae?.environmentInputs??[]].map(Ne=>Ne.id),outputPortIds:[...ae?.outputs??[],...ae?.environmentOutputs??[]].map(Ne=>Ne.id),detail:Pe}}}),...rdn(g,"resolved")]}return[...g.applications.filter(Me=>!N||Me.targetIds.some(pe=>N.has(u6(pe)))).filter(oe).map(Me=>({id:Me.id,type:"application",position:{x:0,y:0},data:{...Me,nodeKind:"application",detailMode:x,cyclic:U.has(Me.applicationId),requiredInputPortIds:Me.inputs.filter(pe=>$.has(pe.id)).map(pe=>pe.id),candidatePortIds:[...Me.inputs,...Me.outputs].filter(pe=>H.has(pe.id)).map(pe=>pe.id),previousTimeStepPortIds:Me.inputs.filter(pe=>k.has(pe.id)).map(pe=>pe.id),cycleBreakInputPortIds:Me.inputs.filter(pe=>G.has(pe.id)).map(pe=>pe.id),cycleBreakMode:ie,onCandidateClick:(pe,Pe)=>W(Me,pe,Pe),onPortClick:Z,onCycleBreak:se}})),...rdn(g,"applications")]}function rdn(g,E){const x=g.edges.filter(N=>N.kind==="environment_binding"&&N.projection===E);return[...new Set(x.flatMap(N=>[N.source,N.target]).filter(N=>N.startsWith("environment:")))].map(N=>{const $=N.slice(12),k=g.environments.find(G=>G.id===N),H=cdn(x.filter(G=>G.target===N).map(G=>G.targetPort).filter(Boolean)),U=cdn(x.filter(G=>G.source===N).map(G=>G.sourcePort).filter(Boolean));return{id:N,type:"entity",position:{x:0,y:0},data:{nodeKind:"environment",title:k?.name||$,subtitle:k?.active?"active scene environment":"environment backend",badges:[`${U.length} inputs`,`${H.length} outputs`],inputPortIds:H,outputPortIds:U,detail:k||{provider:$}}}})}function cdn(g){return[...new Set(g)]}function SKn(g,E){return(E==="topology"?[...g.edges,...xKn(g)]:g.edges).filter(M=>MKn(M,E)).map(M=>({id:M.id,source:M.source,target:M.target,sourceHandle:M.sourcePort||void 0,targetHandle:M.targetPort||void 0,type:"modelEdge",data:M,markerEnd:{type:VG.ArrowClosed,color:udn(M),width:16,height:16},style:{stroke:udn(M),strokeWidth:M.cycle?4:["manual_call","initializer"].includes(M.kind)?2.5:1.8,strokeDasharray:M.kind==="previous_timestep"?"7 5":M.kind==="manual_call"?"3 4":M.kind==="initializer"?"8 3":void 0}}))}function xKn(g){const E=[],x=new Set(g.instances.flatMap(M=>M.objectIds.map(u6)));for(const M of g.templates)E.push({id:`topology:model:template:${M.id}`,source:"model:root",target:`template:${M.id}`,kind:"object_topology",projection:"topology",cycle:!1});for(const M of g.instances)E.push({id:`topology:${M.id}:object:${String(M.rootId)}`,source:M.id,target:`object:${String(M.rootId)}`,kind:"object_topology",projection:"topology",cycle:!1});for(const M of g.objects)M.parent===null&&!x.has(u6(M.objectId))&&E.push({id:`topology:model:${M.id}`,source:"model:root",target:M.id,kind:"object_topology",projection:"topology",cycle:!1});return E}function AKn(g,E){const x=new Map;for(const k of g){if(k.parent===null)continue;const H=u6(k.parent);x.set(H,[...x.get(H)??[],k.objectId])}const M=[],N=[E],$=new Set;for(;N.length>0;){const k=N.pop(),H=u6(k);$.has(H)||($.add(H),M.push(k),N.push(...x.get(H)??[]))}return M}function u6(g){const E=String(g);return E.startsWith("object:")?E.slice(7):E}function MKn(g,E){const x=g.projection;return E==="topology"?g.kind==="object_topology"||g.kind==="template_mount":E==="resolved"?x==="resolved":x==="applications"||!x&&!["object_topology","application_target"].includes(g.kind)}function udn(g){return g.cycle?"#cf4937":g.kind==="previous_timestep"?"#317b62":g.kind==="manual_call"?"#be6a54":g.kind==="initializer"?"#7768ae":g.kind==="object_topology"?"#7b7167":g.kind==="environment_binding"?"#367b8b":"#a59687"}function CKn(g){const E=new Set;for(const x of g.applications){for(const M of x.inputs)(g.applications.some($=>$.applicationId!==x.applicationId&&$.outputs.some(k=>k.name===M.name))||g.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.outputs,M.name)))&&E.add(M.id);for(const M of x.outputs)(g.applications.some($=>$.applicationId!==x.applicationId&&$.inputs.some(k=>k.name===M.name))||g.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.inputs,M.name)))&&E.add(M.id)}return E}function TKn(g,E){const x=E.role==="input"?"outputs":"inputs";return g.filter(M=>Object.prototype.hasOwnProperty.call(M[x],E.name)).sort((M,N)=>`${M.package}.${M.name}`.localeCompare(`${N.package}.${N.name}`))}function OKn({candidate:g,models:E,applications:x,onSelectModel:M,onSelectApplication:N,onClose:$}){const k=g.port.role==="input"?`Models that compute ${g.port.name}`:`Models that consume ${g.port.name}`;return _.jsxs("section",{className:"candidate-popover",style:{left:Math.min(g.x+8,window.innerWidth-390),top:Math.min(g.y-20,window.innerHeight-480)},children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:k}),_.jsx("span",{children:"Exact declared variable-name matches"})]}),_.jsx("button",{onClick:$,children:_.jsx(Jg,{size:15})})]}),_.jsxs("div",{className:"candidate-list",children:[x.length>0&&_.jsx("div",{className:"candidate-section-label",children:"Existing applications"}),x.map(H=>_.jsxs("button",{className:"candidate-card existing",onClick:()=>N(H),children:[_.jsx("strong",{children:H.name||H.applicationId}),_.jsx("span",{children:H.modelName}),_.jsxs("small",{children:[H.targetCount," target",H.targetCount===1?"":"s"]}),_.jsx("div",{children:"Connect without adding another application"})]},H.applicationId)),E.length>0&&_.jsx("div",{className:"candidate-section-label",children:"Available models"}),E.map(H=>_.jsxs("button",{className:"candidate-card",onClick:()=>M(H),children:[_.jsx("strong",{children:H.name}),_.jsx("span",{children:H.process}),_.jsx("small",{children:H.package||H.module}),_.jsxs("div",{children:[Object.keys(H.inputs).length," inputs · ",Object.keys(H.outputs).length," outputs"]})]},H.type))]})]})}function NKn(g,E){return g.filter(x=>x.applicationId!==E.application.applicationId).filter(x=>(E.port.role==="input"?x.outputs:x.inputs).some(N=>N.name===E.port.name)).sort((x,M)=>x.applicationId.localeCompare(M.applicationId))}function IKn(g,E){if(g.port.role==="input"){const M=E.outputs.find(N=>N.name===g.port.name);if(!M)throw new Error(`Application ${E.applicationId} does not output ${g.port.name}.`);return{sourceApplication:E,sourcePort:M,targetApplication:g.application,targetPort:g.port}}const x=E.inputs.find(M=>M.name===g.port.name);if(!x)throw new Error(`Application ${E.applicationId} does not input ${g.port.name}.`);return{sourceApplication:g.application,sourcePort:g.port,targetApplication:E,targetPort:x}}function DKn({selection:g,port:E,initialization:x,interactive:M,onEditApplication:N,onConfigureApplication:$,onRemoveApplication:k,onOverrideApplication:H,onRemoveInstance:U,onEditObject:G,onRemoveObject:ie}){const W=g&&"applicationId"in g&&"selector"in g?g:null,Z=g&&"objectId"in g&&!("applicationId"in g)?g:null,se=g&&"templateId"in g&&"objectIds"in g?g:null;return _.jsxs("aside",{className:"model-inspector",children:[_.jsxs("header",{children:[_.jsx("strong",{children:"Inspector"}),g&&_.jsx("span",{children:BKn(g)})]}),!g&&_.jsxs("div",{className:"empty-inspector",children:[_.jsx(AXn,{size:28}),_.jsx("p",{children:"Select an application, object, execution, or relationship."})]}),g&&_.jsx("pre",{children:JSON.stringify(g,null,2)}),W&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{onClick:()=>N(W),children:W.owner.scope==="template"?"Edit shared template":"Edit application"}),_.jsx("button",{"data-testid":"configure-application",onClick:()=>$(W),children:"Configure coupling"}),W.owner.scope==="template"&&_.jsx("button",{onClick:()=>H(W),children:"Create override"}),_.jsx("button",{className:"danger",onClick:()=>k(W),children:W.owner.scope==="template"?"Remove from shared template":"Remove application"})]}),se&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{className:"danger",onClick:()=>U(se),children:"Unmount instance"}),_.jsx("small",{children:"The object subtree is retained."})]}),Z&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{onClick:()=>G(Z),children:"Edit object"}),_.jsx("button",{className:"danger",onClick:()=>ie(Z),children:"Remove object and descendants"})]}),E&&_.jsxs("section",{children:[_.jsx("h4",{children:"Selected variable"}),_.jsx("code",{children:E.name}),_.jsx("p",{children:E.expectedType})]}),g&&x.length>0&&_.jsxs("section",{className:"inspector-initialization",children:[_.jsx("h4",{children:"Initialization"}),x.slice(0,8).map(oe=>_.jsxs("div",{children:[_.jsx("code",{children:oe.variable}),_.jsx("span",{className:oe.disposition==="unresolved"?"unresolved":"",children:oe.disposition})]},`${oe.applicationId}:${oe.objectId}:${oe.variable}`))]})]})}function _Kn({graph:g,onClose:E,sendCommand:x,interactive:M}){return _.jsxs(Fue,{title:"Diagnostics and cycles",onClose:E,children:[g.diagnostics.map(N=>_.jsxs("article",{className:"diagnostic-card",children:[_.jsx("strong",{children:N.code}),_.jsx("p",{children:N.message}),N.suggestions.map($=>_.jsx("small",{children:$},$))]},`${N.code}:${N.message}`)),g.cycles.map(N=>_.jsxs("article",{className:"cycle-card",children:[_.jsx("strong",{children:N.applicationIds.join(" → ")}),_.jsx("p",{children:"Choose an input to read from the previous timestep."}),N.breakCandidates.map($=>{const k=g.applications.find(H=>H.applicationId===$.applicationId)?.owner;return _.jsxs("button",{disabled:!M||!k,onClick:()=>k&&x({action:"edit",kind:"mark_previous_timestep",applicationRef:k,input:$.input}),children:[$.applicationId,".",$.input]},`${$.applicationId}:${$.objectId}:${$.input}`)})]},N.id)),g.diagnostics.length===0&&g.cycles.length===0&&_.jsx("p",{children:"No diagnostics."})]})}function LKn({graph:g,onClose:E,sendCommand:x,interactive:M}){const N=g.initialization.filter(k=>k.disposition==="unresolved"),$=new Map;for(const k of N){const H=`${k.applicationId}:${k.variable}`;$.set(H,[...$.get(H)||[],k])}return _.jsxs(Fue,{title:"Initialization",onClose:E,children:[[...$.entries()].map(([k,H])=>_.jsx(PKn,{rows:H,interactive:M,sendCommand:x},k)),N.length===0&&_.jsx("p",{children:"No unresolved initial values."})]})}function PKn({rows:g,interactive:E,sendCommand:x}){const[M,N]=Be.useState("float"),[$,k]=Be.useState(""),H=g[0],U={type:M,value:$};return _.jsxs("article",{className:"initialization-group",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:H.variable}),_.jsx("span",{children:H.applicationId})]}),_.jsxs("small",{children:[g.length," object",g.length===1?"":"s"," · expected ",H.expectedType]})]}),_.jsx("p",{children:"Required because the input has no producer, environment source, status value, or usable temporal initialization."}),E&&_.jsxs("div",{className:"initialization-value",children:[_.jsxs("label",{children:["Type",_.jsxs("select",{value:M,onChange:G=>N(G.target.value),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]})]}),_.jsxs("label",{children:["Value",_.jsx("input",{value:$,onChange:G=>k(G.target.value)})]}),_.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_statuses",objectIds:g.map(G=>G.objectId),variable:H.variable,value:U}),children:"Set all targets"})]}),_.jsx("div",{className:"initialization-object-list",children:g.map(G=>_.jsxs("div",{children:[_.jsxs("span",{children:["Object ",String(G.objectId)]}),_.jsx("code",{children:G.origin}),E&&_.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_status",objectId:G.objectId,variable:G.variable,value:U}),children:"Set this object"})]},String(G.objectId)))})]})}function $Kn({code:g,onClose:E}){return _.jsx(Fue,{title:"Model code",onClose:E,children:_.jsx("pre",{className:"model-code",children:g||"Model code is available from an interactive editor session."})})}function odn({mode:g,recentPaths:E,currentPath:x,autosavePath:M,onSubmit:N,onClose:$}){const[k,H]=Be.useState(x||"");return _.jsx(Fue,{title:g==="open"?"Open Model":"Save Model",onClose:$,children:_.jsxs("div",{className:"model-file-dialog",children:[_.jsx("p",{children:g==="open"?"Open a Julia script whose final binding is `model = CompositeModel(...)`. Future edits will be saved back to that file.":"After the first save, every successful graph edit automatically rewrites this Julia script."}),_.jsxs("label",{children:["Julia file path",_.jsxs("div",{className:"model-path-input",children:[_.jsx("input",{value:k,onChange:U=>H(U.target.value),placeholder:"/absolute/path/to/model.jl",autoFocus:!0}),_.jsx("button",{className:"primary",disabled:!k.trim(),onClick:()=>N(k.trim()),children:g==="open"?"Open":"Save"})]})]}),g==="open"&&E.length>0&&_.jsxs("section",{children:[_.jsx("strong",{children:"Recent models"}),_.jsx("div",{className:"recent-model-list",children:E.map(U=>_.jsxs("button",{onClick:()=>N(U),children:[_.jsx("span",{children:U.split("/").at(-1)}),_.jsx("small",{children:U})]},U))})]}),g==="open"&&M&&_.jsxs("section",{children:[_.jsx("strong",{children:"Recovery autosave"}),_.jsx("button",{className:"recovery-path",onClick:()=>N(M),children:M})]}),_.jsx("small",{children:"Use Git to version saved composite-model scripts and review scientific configuration changes."})]})})}function RKn({selection:g,initialization:E,onSubmit:x,onClose:M}){const N=E.filter(G=>G.applicationId===g.application.applicationId&&G.variable===g.port.name&&G.disposition!=="supplied"),[$,k]=Be.useState("float"),[H,U]=Be.useState("");return _.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:_.jsxs("section",{className:"overlay-panel cycle-break-dialog",onMouseDown:G=>G.stopPropagation(),"data-testid":"cycle-break-dialog",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Break the current-step cycle"}),_.jsxs("span",{children:[g.application.applicationId,".",g.port.name]})]}),_.jsx("button",{onClick:M,children:_.jsx(Jg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsx("p",{children:"This changes the application input to read its value from the previous accepted timestep. The model is disconnected from the current value during each run step."}),_.jsxs("div",{className:"cycle-impact",children:[_.jsx("strong",{children:"Application-wide change"}),_.jsxs("span",{children:["It affects all ",g.application.targetCount," targets selected by this application."]})]}),N.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Required initial value"}),_.jsxs("p",{children:[N.length," target",N.length===1?"":"s"," need a value before the first timestep."]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Value type",_.jsxs("select",{value:$,onChange:G=>k(G.target.value),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]})]}),_.jsxs("label",{children:["Initial value",_.jsx("input",{value:H,onChange:G=>U(G.target.value),autoFocus:!0})]})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:M,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:N.length>0&&!H.trim(),onClick:()=>x(N.length>0,N.length>0?{type:$,value:H}:null),"data-testid":"confirm-cycle-break",children:[_.jsx(Q0n,{size:15})," Use previous timestep"]})]})]})})}function Fue({title:g,onClose:E,children:x}){return _.jsx("div",{className:"overlay-backdrop",onMouseDown:E,children:_.jsxs("section",{className:"overlay-panel",onMouseDown:M=>M.stopPropagation(),children:[_.jsxs("header",{children:[_.jsx("strong",{children:g}),_.jsx("button",{onClick:E,children:_.jsx(Jg,{size:17})})]}),_.jsx("div",{className:"overlay-content",children:x})]})})}function BKn(g){return"applicationId"in g?g.applicationId:"objectId"in g?String(g.objectId):"objectIds"in g?g.name:"entity"in g?"Composite model":"provider"in g?g.provider:"name"in g?g.name:g.kind.replaceAll("_"," ")}function zKn(g){return g.split(".").at(-1)||g}function FKn(g){const E={selectors:[]};return g.targetInstances.length===0&&g.targetScales.length===1&&(E.scale=g.targetScales[0]),g.targetKinds.length===1&&(E.kind=g.targetKinds[0]),g.targetSpecies.length===1&&(E.species=g.targetSpecies[0]),{type:g.targetCount===1?"One":"Many",multiplicity:g.targetCount===1?"one":"many",criteria:E,julia:""}}function Q7e(g,E,x){return`application:${g}:${E}:${x}`}function W7e(){const g=document.getElementById("pse-model-graph-data");if(!g?.textContent)return ndn;try{return JSON.parse(g.textContent)}catch{return ndn}}function JKn(){const g=document.getElementById("pse-editor-config");if(!g?.textContent)return null;try{return JSON.parse(g.textContent)}catch{return null}}class HKn extends Be.Component{state={error:null};static getDerivedStateFromError(E){return{error:E}}componentDidCatch(E,x){console.error("PlantSimEngine model graph frontend failed",E,x)}render(){return this.state.error?_.jsxs("main",{className:"frontend-error","data-testid":"frontend-error",children:[_.jsx(dke,{size:28}),_.jsx("h1",{children:"The graph view could not be rendered"}),_.jsx("p",{children:this.state.error.message}),_.jsxs("button",{onClick:()=>window.location.reload(),children:[_.jsx(_Xn,{size:15})," Reload graph"]})]}):this.props.children}}hzn.createRoot(document.getElementById("root")).render(_.jsx(Be.StrictMode,{children:_.jsx(HKn,{children:_.jsx(jKn,{})})})); diff --git a/frontend/dist/assets/index-BsNfDYBn.js b/frontend/dist/assets/index-BsNfDYBn.js new file mode 100644 index 000000000..e5fd68a27 --- /dev/null +++ b/frontend/dist/assets/index-BsNfDYBn.js @@ -0,0 +1,38 @@ +(function(){const E=document.createElement("link").relList;if(E&&E.supports&&E.supports("modulepreload"))return;for(const N of document.querySelectorAll('link[rel="modulepreload"]'))M(N);new MutationObserver(N=>{for(const $ of N)if($.type==="childList")for(const k of $.addedNodes)k.tagName==="LINK"&&k.rel==="modulepreload"&&M(k)}).observe(document,{childList:!0,subtree:!0});function x(N){const $={};return N.integrity&&($.integrity=N.integrity),N.referrerPolicy&&($.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?$.credentials="include":N.crossOrigin==="anonymous"?$.credentials="omit":$.credentials="same-origin",$}function M(N){if(N.ep)return;N.ep=!0;const $=x(N);fetch(N.href,$)}})();var Fhn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yke(b){return b&&b.__esModule&&Object.prototype.hasOwnProperty.call(b,"default")?b.default:b}var O7e={exports:{}},_G={};var Jhn;function lzn(){if(Jhn)return _G;Jhn=1;var b=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function x(M,N,$){var k=null;if($!==void 0&&(k=""+$),N.key!==void 0&&(k=""+N.key),"key"in N){$={};for(var H in N)H!=="key"&&($[H]=N[H])}else $=N;return N=$.ref,{$$typeof:b,type:M,key:k,ref:N!==void 0?N:null,props:$}}return _G.Fragment=E,_G.jsx=x,_G.jsxs=x,_G}var Hhn;function fzn(){return Hhn||(Hhn=1,O7e.exports=lzn()),O7e.exports}var _=fzn(),N7e={exports:{}},Mc={};var Ghn;function azn(){if(Ghn)return Mc;Ghn=1;var b=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),k=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Z=Symbol.iterator;function se(ge){return ge===null||typeof ge!="object"?null:(ge=Z&&ge[Z]||ge["@@iterator"],typeof ge=="function"?ge:null)}var oe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ee=Object.assign,Me={};function me(ge,tn,Hn){this.props=ge,this.context=tn,this.refs=Me,this.updater=Hn||oe}me.prototype.isReactComponent={},me.prototype.setState=function(ge,tn){if(typeof ge!="object"&&typeof ge!="function"&&ge!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ge,tn,"setState")},me.prototype.forceUpdate=function(ge){this.updater.enqueueForceUpdate(this,ge,"forceUpdate")};function Pe(){}Pe.prototype=me.prototype;function ae(ge,tn,Hn){this.props=ge,this.context=tn,this.refs=Me,this.updater=Hn||oe}var Ne=ae.prototype=new Pe;Ne.constructor=ae,ee(Ne,me.prototype),Ne.isPureReactComponent=!0;var Ue=Array.isArray;function ln(){}var on={H:null,A:null,T:null,S:null},An=Object.prototype.hasOwnProperty;function xn(ge,tn,Hn){var ut=Hn.ref;return{$$typeof:b,type:ge,key:tn,ref:ut!==void 0?ut:null,props:Hn}}function tt(ge,tn){return xn(ge.type,tn,ge.props)}function mn(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===b}function vn(ge){var tn={"=":"=0",":":"=2"};return"$"+ge.replace(/[=:]/g,function(Hn){return tn[Hn]})}var Y=/\/+/g;function Fe(ge,tn){return typeof ge=="object"&&ge!==null&&ge.key!=null?vn(""+ge.key):tn.toString(36)}function wn(ge){switch(ge.status){case"fulfilled":return ge.value;case"rejected":throw ge.reason;default:switch(typeof ge.status=="string"?ge.then(ln,ln):(ge.status="pending",ge.then(function(tn){ge.status==="pending"&&(ge.status="fulfilled",ge.value=tn)},function(tn){ge.status==="pending"&&(ge.status="rejected",ge.reason=tn)})),ge.status){case"fulfilled":return ge.value;case"rejected":throw ge.reason}}throw ge}function xe(ge,tn,Hn,ut,Jt){var di=typeof ge;(di==="undefined"||di==="boolean")&&(ge=null);var Gt=!1;if(ge===null)Gt=!0;else switch(di){case"bigint":case"string":case"number":Gt=!0;break;case"object":switch(ge.$$typeof){case b:case E:Gt=!0;break;case ie:return Gt=ge._init,xe(Gt(ge._payload),tn,Hn,ut,Jt)}}if(Gt)return Jt=Jt(ge),Gt=ut===""?"."+Fe(ge,0):ut,Ue(Jt)?(Hn="",Gt!=null&&(Hn=Gt.replace(Y,"$&/")+"/"),xe(Jt,tn,Hn,"",function(Kr){return Kr})):Jt!=null&&(mn(Jt)&&(Jt=tt(Jt,Hn+(Jt.key==null||ge&&ge.key===Jt.key?"":(""+Jt.key).replace(Y,"$&/")+"/")+Gt)),tn.push(Jt)),1;Gt=0;var At=ut===""?".":ut+":";if(Ue(ge))for(var si=0;si>>1,Mn=xe[$e];if(0>>1;$eN(Hn,fn))utN(Jt,Hn)?(xe[$e]=Jt,xe[ut]=fn,$e=ut):(xe[$e]=Hn,xe[tn]=fn,$e=tn);else if(utN(Jt,fn))xe[$e]=Jt,xe[ut]=fn,$e=ut;else break e}}return Ge}function N(xe,Ge){var fn=xe.sortIndex-Ge.sortIndex;return fn!==0?fn:xe.id-Ge.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var $=performance;b.unstable_now=function(){return $.now()}}else{var k=Date,H=k.now();b.unstable_now=function(){return k.now()-H}}var q=[],G=[],ie=1,W=null,Z=3,se=!1,oe=!1,ee=!1,Me=!1,me=typeof setTimeout=="function"?setTimeout:null,Pe=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function Ne(xe){for(var Ge=x(G);Ge!==null;){if(Ge.callback===null)M(G);else if(Ge.startTime<=xe)M(G),Ge.sortIndex=Ge.expirationTime,E(q,Ge);else break;Ge=x(G)}}function Ue(xe){if(ee=!1,Ne(xe),!oe)if(x(q)!==null)oe=!0,ln||(ln=!0,vn());else{var Ge=x(G);Ge!==null&&wn(Ue,Ge.startTime-xe)}}var ln=!1,on=-1,An=5,xn=-1;function tt(){return Me?!0:!(b.unstable_now()-xnxe&&tt());){var $e=W.callback;if(typeof $e=="function"){W.callback=null,Z=W.priorityLevel;var Mn=$e(W.expirationTime<=xe);if(xe=b.unstable_now(),typeof Mn=="function"){W.callback=Mn,Ne(xe),Ge=!0;break n}W===x(q)&&M(q),Ne(xe)}else M(q);W=x(q)}if(W!==null)Ge=!0;else{var ge=x(G);ge!==null&&wn(Ue,ge.startTime-xe),Ge=!1}}break e}finally{W=null,Z=fn,se=!1}Ge=void 0}}finally{Ge?vn():ln=!1}}}var vn;if(typeof ae=="function")vn=function(){ae(mn)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,Fe=Y.port2;Y.port1.onmessage=mn,vn=function(){Fe.postMessage(null)}}else vn=function(){me(mn,0)};function wn(xe,Ge){on=me(function(){xe(b.unstable_now())},Ge)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(xe){xe.callback=null},b.unstable_forceFrameRate=function(xe){0>xe||125$e?(xe.sortIndex=fn,E(G,xe),x(q)===null&&xe===x(G)&&(ee?(Pe(on),on=-1):ee=!0,wn(Ue,fn-$e))):(xe.sortIndex=Mn,E(q,xe),oe||se||(oe=!0,ln||(ln=!0,vn()))),xe},b.unstable_shouldYield=tt,b.unstable_wrapCallback=function(xe){var Ge=Z;return function(){var fn=Z;Z=Ge;try{return xe.apply(this,arguments)}finally{Z=fn}}}})(_7e)),_7e}var Xhn;function bzn(){return Xhn||(Xhn=1,D7e.exports=dzn()),D7e.exports}var L7e={exports:{}},ud={};var Khn;function gzn(){if(Khn)return ud;Khn=1;var b=ZG();function E(q){var G="https://react.dev/errors/"+q;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(E){console.error(E)}}return b(),L7e.exports=gzn(),L7e.exports}var Yhn;function wzn(){if(Yhn)return LG;Yhn=1;var b=bzn(),E=ZG(),x=bdn();function M(a){var d="https://react.dev/errors/"+a;if(1Mn||(a.current=$e[Mn],$e[Mn]=null,Mn--)}function Hn(a,d){Mn++,$e[Mn]=a.current,a.current=d}var ut=ge(null),Jt=ge(null),di=ge(null),Gt=ge(null);function At(a,d){switch(Hn(di,d),Hn(Jt,a),Hn(ut,null),d.nodeType){case 9:case 11:a=(a=d.documentElement)&&(a=a.namespaceURI)?hP(a):0;break;default:if(a=d.tagName,d=d.namespaceURI)d=hP(d),a=dP(d,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}tn(ut),Hn(ut,a)}function si(){tn(ut),tn(Jt),tn(di)}function Kr(a){a.memoizedState!==null&&Hn(Gt,a);var d=ut.current,w=dP(d,a.type);d!==w&&(Hn(Jt,a),Hn(ut,w))}function Er(a){Jt.current===a&&(tn(ut),tn(Jt)),Gt.current===a&&(tn(Gt),cy._currentValue=fn)}var Dt,bi;function zi(a){if(Dt===void 0)try{throw Error()}catch(w){var d=w.stack.trim().match(/\n( *(at )?)/);Dt=d&&d[1]||"",bi=-1)":-1T||nn[j]!==Pn[T]){var it=` +`+nn[j].replace(" at new "," at ");return a.displayName&&it.includes("")&&(it=it.replace("",a.displayName)),it}while(1<=j&&0<=T);break}}}finally{cu=!1,Error.prepareStackTrace=w}return(w=a?a.displayName||a.name:"")?zi(w):""}function Rs(a,d){switch(a.tag){case 26:case 27:case 5:return zi(a.type);case 16:return zi("Lazy");case 13:return a.child!==d&&d!==null?zi("Suspense Fallback"):zi("Suspense");case 19:return zi("SuspenseList");case 0:case 15:return Fu(a.type,!1);case 11:return Fu(a.type.render,!1);case 1:return Fu(a.type,!0);case 31:return zi("Activity");default:return""}}function ra(a){try{var d="",w=null;do d+=Rs(a,w),w=a,a=a.return;while(a);return d}catch(j){return` +Error generating stack: `+j.message+` +`+j.stack}}var nf=Object.prototype.hasOwnProperty,Ia=b.unstable_scheduleCallback,Cc=b.unstable_cancelCallback,l0=b.unstable_shouldYield,Cb=b.unstable_requestPaint,xl=b.unstable_now,od=b.unstable_getCurrentPriorityLevel,f0=b.unstable_ImmediatePriority,sh=b.unstable_UserBlockingPriority,sd=b.unstable_NormalPriority,m5=b.unstable_LowPriority,a0=b.unstable_IdlePriority,Np=b.log,h6=b.unstable_setDisableYieldValue,Tb=null,ca=null;function ld(a){if(typeof Np=="function"&&h6(a),ca&&typeof ca.setStrictMode=="function")try{ca.setStrictMode(Tb,a)}catch{}}var xf=Math.clz32?Math.clz32:Ip,d6=Math.log,lh=Math.LN2;function Ip(a){return a>>>=0,a===0?32:31-(d6(a)/lh|0)|0}var Xg=256,Kg=262144,Vg=4194304;function fd(a){var d=a&42;if(d!==0)return d;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Yg(a,d,w){var j=a.pendingLanes;if(j===0)return 0;var T=0,I=a.suspendedLanes,Q=a.pingedLanes;a=a.warmLanes;var de=j&134217727;return de!==0?(j=de&~I,j!==0?T=fd(j):(Q&=de,Q!==0?T=fd(Q):w||(w=de&~a,w!==0&&(T=fd(w))))):(de=j&~I,de!==0?T=fd(de):Q!==0?T=fd(Q):w||(w=j&~a,w!==0&&(T=fd(w)))),T===0?0:d!==0&&d!==T&&(d&I)===0&&(I=T&-T,w=d&-d,I>=w||I===32&&(w&4194048)!==0)?d:T}function Ob(a,d){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&d)===0}function v5(a,d){switch(a){case 1:case 2:case 4:case 8:case 64:return d+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dp(){var a=Vg;return Vg<<=1,(Vg&62914560)===0&&(Vg=4194304),a}function _p(a){for(var d=[],w=0;31>w;w++)d.push(a);return d}function uu(a,d){a.pendingLanes|=d,d!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function y5(a,d,w,j,T,I){var Q=a.pendingLanes;a.pendingLanes=w,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=w,a.entangledLanes&=w,a.errorRecoveryDisabledLanes&=w,a.shellSuspendCounter=0;var de=a.entanglements,nn=a.expirationTimes,Pn=a.hiddenUpdates;for(w=Q&~w;0"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var LA=/[\n"\\]/g;function $h(a){return a.replace(LA,function(d){return"\\"+d.charCodeAt(0).toString(16)+" "})}function av(a,d,w,j,T,I,Q,de){a.name="",Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"?a.type=Q:a.removeAttribute("type"),d!=null?Q==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+Ph(d)):a.value!==""+Ph(d)&&(a.value=""+Ph(d)):Q!=="submit"&&Q!=="reset"||a.removeAttribute("value"),d!=null?w6(a,Q,Ph(d)):w!=null?w6(a,Q,Ph(w)):j!=null&&a.removeAttribute("value"),T==null&&I!=null&&(a.defaultChecked=!!I),T!=null&&(a.checked=T&&typeof T!="function"&&typeof T!="symbol"),de!=null&&typeof de!="function"&&typeof de!="symbol"&&typeof de!="boolean"?a.name=""+Ph(de):a.removeAttribute("name")}function ak(a,d,w,j,T,I,Q,de){if(I!=null&&typeof I!="function"&&typeof I!="symbol"&&typeof I!="boolean"&&(a.type=I),d!=null||w!=null){if(!(I!=="submit"&&I!=="reset"||d!=null)){A5(a);return}w=w!=null?""+Ph(w):"",d=d!=null?""+Ph(d):w,de||d===a.value||(a.value=d),a.defaultValue=d}j=j??T,j=typeof j!="function"&&typeof j!="symbol"&&!!j,a.checked=de?a.checked:!!j,a.defaultChecked=!!j,Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"&&(a.name=Q),A5(a)}function w6(a,d,w){d==="number"&&fv(a.ownerDocument)===a||a.defaultValue===""+w||(a.defaultValue=""+w)}function nw(a,d,w,j){if(a=a.options,d){d={};for(var T=0;T"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zA=!1;if(iw)try{var m6={};Object.defineProperty(m6,"passive",{get:function(){zA=!0}}),window.addEventListener("test",m6,m6),window.removeEventListener("test",m6,m6)}catch{zA=!1}var zp=null,FA=null,dk=null;function TD(){if(dk)return dk;var a,d=FA,w=d.length,j,T="value"in zp?zp.value:zp.textContent,I=T.length;for(a=0;a=k6),LD=" ",PD=!1;function $D(a,d){switch(a){case"keyup":return _q.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function RD(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var O5=!1;function Pq(a,d){switch(a){case"compositionend":return RD(d);case"keypress":return d.which!==32?null:(PD=!0,LD);case"textInput":return a=d.data,a===LD&&PD?null:a;default:return null}}function $q(a,d){if(O5)return a==="compositionend"||!UA&&$D(a,d)?(a=TD(),dk=FA=zp=null,O5=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:w,offset:d-a};a=j}e:{for(;w;){if(w.nextSibling){w=w.nextSibling;break e}w=w.parentNode}w=void 0}w=qD(w)}}function XD(a,d){return a&&d?a===d?!0:a&&a.nodeType===3?!1:d&&d.nodeType===3?XD(a,d.parentNode):"contains"in a?a.contains(d):a.compareDocumentPosition?!!(a.compareDocumentPosition(d)&16):!1:!1}function KD(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var d=fv(a.document);d instanceof a.HTMLIFrameElement;){try{var w=typeof d.contentWindow.location.href=="string"}catch{w=!1}if(w)a=d.contentWindow;else break;d=fv(a.document)}return d}function YA(a){var d=a&&a.nodeName&&a.nodeName.toLowerCase();return d&&(d==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||d==="textarea"||a.contentEditable==="true")}var qq=iw&&"documentMode"in document&&11>=document.documentMode,N5=null,QA=null,x6=null,WA=!1;function VD(a,d,w){var j=w.window===w?w.document:w.nodeType===9?w:w.ownerDocument;WA||N5==null||N5!==fv(j)||(j=N5,"selectionStart"in j&&YA(j)?j={start:j.selectionStart,end:j.selectionEnd}:(j=(j.ownerDocument&&j.ownerDocument.defaultView||window).getSelection(),j={anchorNode:j.anchorNode,anchorOffset:j.anchorOffset,focusNode:j.focusNode,focusOffset:j.focusOffset}),x6&&S6(x6,j)||(x6=j,j=cj(QA,"onSelect"),0>=Q,T-=Q,Nb=1<<32-xf(d)+T|w<Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var qc=Gn(Sn,Xi,_n[Hr],ot);if(qc===null){Xi===null&&(Xi=ic);break}a&&Xi&&qc.alternate===null&&d(Sn,Xi),sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc,Xi=ic}if(Hr===_n.length)return w(Sn,Xi),ou&&cw(Sn,Hr),Hi;if(Xi===null){for(;Hr<_n.length;Hr++)Xi=gt(Sn,_n[Hr],ot),Xi!==null&&(sn=I(Xi,sn,Hr),_u===null?Hi=Xi:_u.sibling=Xi,_u=Xi);return ou&&cw(Sn,Hr),Hi}for(Xi=j(Xi);Hr<_n.length;Hr++)ic=et(Xi,Sn,Hr,_n[Hr],ot),ic!==null&&(a&&ic.alternate!==null&&Xi.delete(ic.key===null?Hr:ic.key),sn=I(ic,sn,Hr),_u===null?Hi=ic:_u.sibling=ic,_u=ic);return a&&Xi.forEach(function(xt){return d(Sn,xt)}),ou&&cw(Sn,Hr),Hi}function Cr(Sn,sn,_n,ot){if(_n==null)throw Error(M(151));for(var Hi=null,_u=null,Xi=sn,Hr=sn=0,ic=null,qc=_n.next();Xi!==null&&!qc.done;Hr++,qc=_n.next()){Xi.index>Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var xt=Gn(Sn,Xi,qc.value,ot);if(xt===null){Xi===null&&(Xi=ic);break}a&&Xi&&xt.alternate===null&&d(Sn,Xi),sn=I(xt,sn,Hr),_u===null?Hi=xt:_u.sibling=xt,_u=xt,Xi=ic}if(qc.done)return w(Sn,Xi),ou&&cw(Sn,Hr),Hi;if(Xi===null){for(;!qc.done;Hr++,qc=_n.next())qc=gt(Sn,qc.value,ot),qc!==null&&(sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return ou&&cw(Sn,Hr),Hi}for(Xi=j(Xi);!qc.done;Hr++,qc=_n.next())qc=et(Xi,Sn,Hr,qc.value,ot),qc!==null&&(a&&qc.alternate!==null&&Xi.delete(qc.key===null?Hr:qc.key),sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return a&&Xi.forEach(function(fX){return d(Sn,fX)}),ou&&cw(Sn,Hr),Hi}function co(Sn,sn,_n,ot){if(typeof _n=="object"&&_n!==null&&_n.type===ee&&_n.key===null&&(_n=_n.props.children),typeof _n=="object"&&_n!==null){switch(_n.$$typeof){case se:e:{for(var Hi=_n.key;sn!==null;){if(sn.key===Hi){if(Hi=_n.type,Hi===ee){if(sn.tag===7){w(Sn,sn.sibling),ot=T(sn,_n.props.children),ot.return=Sn,Sn=ot;break e}}else if(sn.elementType===Hi||typeof Hi=="object"&&Hi!==null&&Hi.$$typeof===An&&vv(Hi)===sn.type){w(Sn,sn.sibling),ot=T(sn,_n.props),D6(ot,_n),ot.return=Sn,Sn=ot;break e}w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}_n.type===ee?(ot=wv(_n.props.children,Sn.mode,ot,_n.key),ot.return=Sn,Sn=ot):(ot=Ek(_n.type,_n.key,_n.props,null,Sn.mode,ot),D6(ot,_n),ot.return=Sn,Sn=ot)}return Q(Sn);case oe:e:{for(Hi=_n.key;sn!==null;){if(sn.key===Hi)if(sn.tag===4&&sn.stateNode.containerInfo===_n.containerInfo&&sn.stateNode.implementation===_n.implementation){w(Sn,sn.sibling),ot=T(sn,_n.children||[]),ot.return=Sn,Sn=ot;break e}else{w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}ot=cM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot}return Q(Sn);case An:return _n=vv(_n),co(Sn,sn,_n,ot)}if(wn(_n))return Di(Sn,sn,_n,ot);if(vn(_n)){if(Hi=vn(_n),typeof Hi!="function")throw Error(M(150));return _n=Hi.call(_n),Cr(Sn,sn,_n,ot)}if(typeof _n.then=="function")return co(Sn,sn,Ck(_n),ot);if(_n.$$typeof===ae)return co(Sn,sn,C6(Sn,_n),ot);Tk(Sn,_n)}return typeof _n=="string"&&_n!==""||typeof _n=="number"||typeof _n=="bigint"?(_n=""+_n,sn!==null&&sn.tag===6?(w(Sn,sn.sibling),ot=T(sn,_n),ot.return=Sn,Sn=ot):(w(Sn,sn),ot=rM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot),Q(Sn)):w(Sn,sn)}return function(Sn,sn,_n,ot){try{I6=0;var Hi=co(Sn,sn,_n,ot);return H5=null,Hi}catch(Xi){if(Xi===J5||Xi===Ak)throw Xi;var _u=m1(29,Xi,null,Sn.mode);return _u.lanes=ot,_u.return=Sn,_u}}}var kv=w_(!0),p_=w_(!1),Kp=!1;function mM(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vM(a,d){a=a.updateQueue,d.updateQueue===a&&(d.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Vp(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Yp(a,d,w){var j=a.updateQueue;if(j===null)return null;if(j=j.shared,(Ju&2)!==0){var T=j.pending;return T===null?d.next=d:(d.next=T.next,T.next=d),j.pending=d,d=jk(a),t_(a,null,w),d}return kk(a,j,d,w),jk(a)}function _6(a,d,w){if(d=d.updateQueue,d!==null&&(d=d.shared,(w&4194048)!==0)){var j=d.lanes;j&=a.pendingLanes,w|=j,d.lanes=w,ov(a,w)}}function yM(a,d){var w=a.updateQueue,j=a.alternate;if(j!==null&&(j=j.updateQueue,w===j)){var T=null,I=null;if(w=w.firstBaseUpdate,w!==null){do{var Q={lane:w.lane,tag:w.tag,payload:w.payload,callback:null,next:null};I===null?T=I=Q:I=I.next=Q,w=w.next}while(w!==null);I===null?T=I=d:I=I.next=d}else T=I=d;w={baseState:j.baseState,firstBaseUpdate:T,lastBaseUpdate:I,shared:j.shared,callbacks:j.callbacks},a.updateQueue=w;return}a=w.lastBaseUpdate,a===null?w.firstBaseUpdate=d:a.next=d,w.lastBaseUpdate=d}var kM=!1;function L6(){if(kM){var a=F5;if(a!==null)throw a}}function P6(a,d,w,j){kM=!1;var T=a.updateQueue;Kp=!1;var I=T.firstBaseUpdate,Q=T.lastBaseUpdate,de=T.shared.pending;if(de!==null){T.shared.pending=null;var nn=de,Pn=nn.next;nn.next=null,Q===null?I=Pn:Q.next=Pn,Q=nn;var it=a.alternate;it!==null&&(it=it.updateQueue,de=it.lastBaseUpdate,de!==Q&&(de===null?it.firstBaseUpdate=Pn:de.next=Pn,it.lastBaseUpdate=nn))}if(I!==null){var gt=T.baseState;Q=0,it=Pn=nn=null,de=I;do{var Gn=de.lane&-536870913,et=Gn!==de.lane;if(et?(nu&Gn)===Gn:(j&Gn)===Gn){Gn!==0&&Gn===z5&&(kM=!0),it!==null&&(it=it.next={lane:0,tag:de.tag,payload:de.payload,callback:null,next:null});e:{var Di=a,Cr=de;Gn=d;var co=w;switch(Cr.tag){case 1:if(Di=Cr.payload,typeof Di=="function"){gt=Di.call(co,gt,Gn);break e}gt=Di;break e;case 3:Di.flags=Di.flags&-65537|128;case 0:if(Di=Cr.payload,Gn=typeof Di=="function"?Di.call(co,gt,Gn):Di,Gn==null)break e;gt=W({},gt,Gn);break e;case 2:Kp=!0}}Gn=de.callback,Gn!==null&&(a.flags|=64,et&&(a.flags|=8192),et=T.callbacks,et===null?T.callbacks=[Gn]:et.push(Gn))}else et={lane:Gn,tag:de.tag,payload:de.payload,callback:de.callback,next:null},it===null?(Pn=it=et,nn=gt):it=it.next=et,Q|=Gn;if(de=de.next,de===null){if(de=T.shared.pending,de===null)break;et=de,de=et.next,et.next=null,T.lastBaseUpdate=et,T.shared.pending=null}}while(!0);it===null&&(nn=gt),T.baseState=nn,T.firstBaseUpdate=Pn,T.lastBaseUpdate=it,I===null&&(T.shared.lanes=0),n2|=Q,a.lanes=Q,a.memoizedState=gt}}function m_(a,d){if(typeof a!="function")throw Error(M(191,a));a.call(d)}function v_(a,d){var w=a.callbacks;if(w!==null)for(a.callbacks=null,a=0;aI?I:8;var Q=xe.T,de={};xe.T=de,zM(a,!1,d,w);try{var nn=T(),Pn=xe.S;if(Pn!==null&&Pn(de,nn),nn!==null&&typeof nn=="object"&&typeof nn.then=="function"){var it=Zq(nn,j);z6(a,d,it,E1(a))}else z6(a,d,j,E1(a))}catch(gt){z6(a,d,{then:function(){},status:"rejected",reason:gt},E1())}finally{Ge.p=I,Q!==null&&de.types!==null&&(Q.types=de.types),xe.T=Q}}function RM(){}function B6(a,d,w,j){if(a.tag!==5)throw Error(M(476));var T=Y_(a).queue;V_(a,T,d,fn,w===null?RM:function(){return Bk(a),w(j)})}function Y_(a){var d=a.memoizedState;if(d!==null)return d;d={memoizedState:fn,baseState:fn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lw,lastRenderedState:fn},next:null};var w={};return d.next={memoizedState:w,baseState:w,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lw,lastRenderedState:w},next:null},a.memoizedState=d,a=a.alternate,a!==null&&(a.memoizedState=d),d}function Bk(a){var d=Y_(a);d.next===null&&(d=a.alternate.memoizedState),z6(a,d.next.queue,{},E1())}function BM(){return oa(cy)}function Q_(){return nl().memoizedState}function W_(){return nl().memoizedState}function uU(a){for(var d=a.return;d!==null;){switch(d.tag){case 24:case 3:var w=E1();a=Vp(w);var j=Yp(d,a,w);j!==null&&(Jh(j,d,w),_6(j,d,w)),d={cache:dM()},a.payload=d;return}d=d.return}}function oU(a,d,w){var j=E1();w={lane:j,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null},zk(a)?eL(d,w):(w=tM(a,d,w,j),w!==null&&(Jh(w,a,j),FM(w,d,j)))}function Z_(a,d,w){var j=E1();z6(a,d,w,j)}function z6(a,d,w,j){var T={lane:j,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null};if(zk(a))eL(d,T);else{var I=a.alternate;if(a.lanes===0&&(I===null||I.lanes===0)&&(I=d.lastRenderedReducer,I!==null))try{var Q=d.lastRenderedState,de=I(Q,w);if(T.hasEagerState=!0,T.eagerState=de,p1(de,Q))return kk(a,d,T,0),Do===null&&yk(),!1}catch{}if(w=tM(a,d,T,j),w!==null)return Jh(w,a,j),FM(w,d,j),!0}return!1}function zM(a,d,w,j){if(j={lane:2,revertLane:jC(),gesture:null,action:j,hasEagerState:!1,eagerState:null,next:null},zk(a)){if(d)throw Error(M(479))}else d=tM(a,w,j,2),d!==null&&Jh(d,a,2)}function zk(a){var d=a.alternate;return a===bc||d!==null&&d===bc}function eL(a,d){q5=Ik=!0;var w=a.pending;w===null?d.next=d:(d.next=w.next,w.next=d),a.pending=d}function FM(a,d,w){if((w&4194048)!==0){var j=d.lanes;j&=a.pendingLanes,w|=j,d.lanes=w,ov(a,w)}}var F6={readContext:oa,use:Lk,useCallback:Bs,useContext:Bs,useEffect:Bs,useImperativeHandle:Bs,useLayoutEffect:Bs,useInsertionEffect:Bs,useMemo:Bs,useReducer:Bs,useRef:Bs,useState:Bs,useDebugValue:Bs,useDeferredValue:Bs,useTransition:Bs,useSyncExternalStore:Bs,useId:Bs,useHostTransitionStatus:Bs,useFormState:Bs,useActionState:Bs,useOptimistic:Bs,useMemoCache:Bs,useCacheRefresh:Bs};F6.useEffectEvent=Bs;var sU={readContext:oa,use:Lk,useCallback:function(a,d){return fh().memoizedState=[a,d===void 0?null:d],a},useContext:oa,useEffect:z_,useImperativeHandle:function(a,d,w){w=w!=null?w.concat([a]):null,$k(4194308,4,G_.bind(null,d,a),w)},useLayoutEffect:function(a,d){return $k(4194308,4,a,d)},useInsertionEffect:function(a,d){$k(4,2,a,d)},useMemo:function(a,d){var w=fh();d=d===void 0?null:d;var j=a();if(jv){ld(!0);try{a()}finally{ld(!1)}}return w.memoizedState=[j,d],j},useReducer:function(a,d,w){var j=fh();if(w!==void 0){var T=w(d);if(jv){ld(!0);try{w(d)}finally{ld(!1)}}}else T=d;return j.memoizedState=j.baseState=T,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:T},j.queue=a,a=a.dispatch=oU.bind(null,bc,a),[j.memoizedState,a]},useRef:function(a){var d=fh();return a={current:a},d.memoizedState=a},useState:function(a){a=DM(a);var d=a.queue,w=Z_.bind(null,bc,d);return d.dispatch=w,[a.memoizedState,w]},useDebugValue:PM,useDeferredValue:function(a,d){var w=fh();return $M(w,a,d)},useTransition:function(){var a=DM(!1);return a=V_.bind(null,bc,a.queue,!0,!1),fh().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,d,w){var j=bc,T=fh();if(ou){if(w===void 0)throw Error(M(407));w=w()}else{if(w=d(),Do===null)throw Error(M(349));(nu&127)!==0||x_(j,d,w)}T.memoizedState=w;var I={value:w,getSnapshot:d};return T.queue=I,z_(tU.bind(null,j,I,a),[a]),j.flags|=2048,X5(9,{destroy:void 0},A_.bind(null,j,I,w,d),null),w},useId:function(){var a=fh(),d=Do.identifierPrefix;if(ou){var w=Ib,j=Nb;w=(j&~(1<<32-xf(j)-1)).toString(32)+w,d="_"+d+"R_"+w,w=Dk++,0<\/script>",I=I.removeChild(I.firstChild);break;case"select":I=typeof j.is=="string"?Q.createElement("select",{is:j.is}):Q.createElement("select"),j.multiple?I.multiple=!0:j.size&&(I.size=j.size);break;default:I=typeof j.is=="string"?Q.createElement(T,{is:j.is}):Q.createElement(T)}}I[Zs]=d,I[Af]=j;e:for(Q=d.child;Q!==null;){if(Q.tag===5||Q.tag===6)I.appendChild(Q.stateNode);else if(Q.tag!==4&&Q.tag!==27&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===d)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===d)break e;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}d.stateNode=I;e:switch(la(I,T,j),T){case"button":case"input":case"select":case"textarea":j=!!j.autoFocus;break e;case"img":j=!0;break e;default:j=!1}j&&w0(d)}}return yo(d),nC(d,d.type,a===null?null:a.memoizedProps,d.pendingProps,w),null;case 6:if(a&&d.stateNode!=null)a.memoizedProps!==j&&w0(d);else{if(typeof j!="string"&&d.stateNode===null)throw Error(M(166));if(a=di.current,$5(d)){if(a=d.stateNode,w=d.memoizedProps,j=null,T=ua,T!==null)switch(T.tag){case 27:case 5:j=T.memoizedProps}a[Zs]=d,a=!!(a.nodeValue===w||j!==null&&j.suppressHydrationWarning===!0||fP(a.nodeValue,w)),a||Hp(d,!0)}else a=uj(a).createTextNode(j),a[Zs]=d,d.stateNode=a}return yo(d),null;case 31:if(w=d.memoizedState,a===null||a.memoizedState!==null){if(j=$5(d),w!==null){if(a===null){if(!j)throw Error(M(318));if(a=d.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(M(557));a[Zs]=d}else pv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),a=!1}else w=R5(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=w),a=!0;if(!a)return d.flags&256?(y1(d),d):(y1(d),null);if((d.flags&128)!==0)throw Error(M(558))}return yo(d),null;case 13:if(j=d.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(T=$5(d),j!==null&&j.dehydrated!==null){if(a===null){if(!T)throw Error(M(318));if(T=d.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(M(317));T[Zs]=d}else pv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),T=!1}else T=R5(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=T),T=!0;if(!T)return d.flags&256?(y1(d),d):(y1(d),null)}return y1(d),(d.flags&128)!==0?(d.lanes=w,d):(w=j!==null,a=a!==null&&a.memoizedState!==null,w&&(j=d.child,T=null,j.alternate!==null&&j.alternate.memoizedState!==null&&j.alternate.memoizedState.cachePool!==null&&(T=j.alternate.memoizedState.cachePool.pool),I=null,j.memoizedState!==null&&j.memoizedState.cachePool!==null&&(I=j.memoizedState.cachePool.pool),I!==T&&(j.flags|=2048)),w!==a&&w&&(d.child.flags|=8192),Gk(d,d.updateQueue),yo(d),null);case 4:return si(),a===null&&AC(d.stateNode.containerInfo),yo(d),null;case 10:return ow(d.type),yo(d),null;case 19:if(tn(el),j=d.memoizedState,j===null)return yo(d),null;if(T=(d.flags&128)!==0,I=j.rendering,I===null)if(T)Sv(j,!1);else{if(zs!==0||a!==null&&(a.flags&128)!==0)for(a=d.child;a!==null;){if(I=Nk(a),I!==null){for(d.flags|=128,Sv(j,!1),a=I.updateQueue,d.updateQueue=a,Gk(d,a),d.subtreeFlags=0,a=w,w=d.child;w!==null;)i_(w,a),w=w.sibling;return Hn(el,el.current&1|2),ou&&cw(d,j.treeForkCount),d.child}a=a.sibling}j.tail!==null&&xl()>Yk&&(d.flags|=128,T=!0,Sv(j,!1),d.lanes=4194304)}else{if(!T)if(a=Nk(I),a!==null){if(d.flags|=128,T=!0,a=a.updateQueue,d.updateQueue=a,Gk(d,a),Sv(j,!0),j.tail===null&&j.tailMode==="hidden"&&!I.alternate&&!ou)return yo(d),null}else 2*xl()-j.renderingStartTime>Yk&&w!==536870912&&(d.flags|=128,T=!0,Sv(j,!1),d.lanes=4194304);j.isBackwards?(I.sibling=d.child,d.child=I):(a=j.last,a!==null?a.sibling=I:d.child=I,j.last=I)}return j.tail!==null?(a=j.tail,j.rendering=a,j.tail=a.sibling,j.renderingStartTime=xl(),a.sibling=null,w=el.current,Hn(el,T?w&1|2:w&1),ou&&cw(d,j.treeForkCount),a):(yo(d),null);case 22:case 23:return y1(d),EM(),j=d.memoizedState!==null,a!==null?a.memoizedState!==null!==j&&(d.flags|=8192):j&&(d.flags|=8192),j?(w&536870912)!==0&&(d.flags&128)===0&&(yo(d),d.subtreeFlags&6&&(d.flags|=8192)):yo(d),w=d.updateQueue,w!==null&&Gk(d,w.retryQueue),w=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(w=a.memoizedState.cachePool.pool),j=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(j=d.memoizedState.cachePool.pool),j!==w&&(d.flags|=2048),a!==null&&tn(mv),null;case 24:return w=null,a!==null&&(w=a.memoizedState.cache),d.memoizedState.cache!==w&&(d.flags|=2048),ow(Ml),yo(d),null;case 25:return null;case 30:return null}throw Error(M(156,d.tag))}function hU(a,d){switch(oM(d),d.tag){case 1:return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 3:return ow(Ml),si(),a=d.flags,(a&65536)!==0&&(a&128)===0?(d.flags=a&-65537|128,d):null;case 26:case 27:case 5:return Er(d),null;case 31:if(d.memoizedState!==null){if(y1(d),d.alternate===null)throw Error(M(340));pv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 13:if(y1(d),a=d.memoizedState,a!==null&&a.dehydrated!==null){if(d.alternate===null)throw Error(M(340));pv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 19:return tn(el),null;case 4:return si(),null;case 10:return ow(d.type),null;case 22:case 23:return y1(d),EM(),a!==null&&tn(mv),a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 24:return ow(Ml),null;case 25:return null;default:return null}}function tC(a,d){switch(oM(d),d.tag){case 3:ow(Ml),si();break;case 26:case 27:case 5:Er(d);break;case 4:si();break;case 31:d.memoizedState!==null&&y1(d);break;case 13:y1(d);break;case 19:tn(el);break;case 10:ow(d.type);break;case 22:case 23:y1(d),EM(),a!==null&&tn(mv);break;case 24:ow(Ml)}}function G6(a,d){try{var w=d.updateQueue,j=w!==null?w.lastEffect:null;if(j!==null){var T=j.next;w=T;do{if((w.tag&a)===a){j=void 0;var I=w.create,Q=w.inst;j=I(),Q.destroy=j}w=w.next}while(w!==T)}}catch(de){ro(d,d.return,de)}}function Zp(a,d,w){try{var j=d.updateQueue,T=j!==null?j.lastEffect:null;if(T!==null){var I=T.next;j=I;do{if((j.tag&a)===a){var Q=j.inst,de=Q.destroy;if(de!==void 0){Q.destroy=void 0,T=d;var nn=w,Pn=de;try{Pn()}catch(it){ro(T,nn,it)}}}j=j.next}while(j!==I)}}catch(it){ro(d,d.return,it)}}function q6(a){var d=a.updateQueue;if(d!==null){var w=a.stateNode;try{v_(d,w)}catch(j){ro(a,a.return,j)}}}function kL(a,d,w){w.props=Ev(a.type,a.memoizedProps),w.state=a.memoizedState;try{w.componentWillUnmount()}catch(j){ro(a,d,j)}}function U6(a,d){try{var w=a.ref;if(w!==null){switch(a.tag){case 26:case 27:case 5:var j=a.stateNode;break;case 30:j=a.stateNode;break;default:j=a.stateNode}typeof w=="function"?a.refCleanup=w(j):w.current=j}}catch(T){ro(a,d,T)}}function Db(a,d){var w=a.ref,j=a.refCleanup;if(w!==null)if(typeof j=="function")try{j()}catch(T){ro(a,d,T)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof w=="function")try{w(null)}catch(T){ro(a,d,T)}else w.current=null}function X6(a){var d=a.type,w=a.memoizedProps,j=a.stateNode;try{e:switch(d){case"button":case"input":case"select":case"textarea":w.autoFocus&&j.focus();break e;case"img":w.src?j.src=w.src:w.srcSet&&(j.srcset=w.srcSet)}}catch(T){ro(a,a.return,T)}}function iC(a,d,w){try{var j=a.stateNode;DU(j,a.type,w,d),j[Af]=d}catch(T){ro(a,a.return,T)}}function jL(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&u2(a.type)||a.tag===4}function rC(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||jL(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&u2(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function cC(a,d,w){var j=a.tag;if(j===5||j===6)a=a.stateNode,d?(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).insertBefore(a,d):(d=w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,d.appendChild(a),w=w._reactRootContainer,w!=null||d.onclick!==null||(d.onclick=tw));else if(j!==4&&(j===27&&u2(a.type)&&(w=a.stateNode,d=null),a=a.child,a!==null))for(cC(a,d,w),a=a.sibling;a!==null;)cC(a,d,w),a=a.sibling}function xv(a,d,w){var j=a.tag;if(j===5||j===6)a=a.stateNode,d?w.insertBefore(a,d):w.appendChild(a);else if(j!==4&&(j===27&&u2(a.type)&&(w=a.stateNode),a=a.child,a!==null))for(xv(a,d,w),a=a.sibling;a!==null;)xv(a,d,w),a=a.sibling}function EL(a){var d=a.stateNode,w=a.memoizedProps;try{for(var j=a.type,T=d.attributes;T.length;)d.removeAttributeNode(T[0]);la(d,j,w),d[Zs]=a,d[Af]=w}catch(I){ro(a,a.return,I)}}var _b=!1,Ol=!1,K6=!1,uC=typeof WeakSet=="function"?WeakSet:Set,Mf=null;function dU(a,d){if(a=a.containerInfo,TC=Cf,a=KD(a),YA(a)){if("selectionStart"in a)var w={start:a.selectionStart,end:a.selectionEnd};else e:{w=(w=a.ownerDocument)&&w.defaultView||window;var j=w.getSelection&&w.getSelection();if(j&&j.rangeCount!==0){w=j.anchorNode;var T=j.anchorOffset,I=j.focusNode;j=j.focusOffset;try{w.nodeType,I.nodeType}catch{w=null;break e}var Q=0,de=-1,nn=-1,Pn=0,it=0,gt=a,Gn=null;n:for(;;){for(var et;gt!==w||T!==0&>.nodeType!==3||(de=Q+T),gt!==I||j!==0&>.nodeType!==3||(nn=Q+j),gt.nodeType===3&&(Q+=gt.nodeValue.length),(et=gt.firstChild)!==null;)Gn=gt,gt=et;for(;;){if(gt===a)break n;if(Gn===w&&++Pn===T&&(de=Q),Gn===I&&++it===j&&(nn=Q),(et=gt.nextSibling)!==null)break;gt=Gn,Gn=gt.parentNode}gt=et}w=de===-1||nn===-1?null:{start:de,end:nn}}else w=null}w=w||{start:0,end:0}}else w=null;for(OC={focusedElem:a,selectionRange:w},Cf=!1,Mf=d;Mf!==null;)if(d=Mf,a=d.child,(d.subtreeFlags&1028)!==0&&a!==null)a.return=d,Mf=a;else for(;Mf!==null;){switch(d=Mf,I=d.alternate,a=d.flags,d.tag){case 0:if((a&4)!==0&&(a=d.updateQueue,a=a!==null?a.events:null,a!==null))for(w=0;w title"))),la(I,j,w),I[Zs]=a,Al(I),j=I;break e;case"link":var Q=EP("link","href",T).get(j+(w.href||""));if(Q){for(var de=0;deco&&(Q=co,co=Cr,Cr=Q);var Sn=UD(de,Cr),sn=UD(de,co);if(Sn&&sn&&(et.rangeCount!==1||et.anchorNode!==Sn.node||et.anchorOffset!==Sn.offset||et.focusNode!==sn.node||et.focusOffset!==sn.offset)){var _n=gt.createRange();_n.setStart(Sn.node,Sn.offset),et.removeAllRanges(),Cr>co?(et.addRange(_n),et.extend(sn.node,sn.offset)):(_n.setEnd(sn.node,sn.offset),et.addRange(_n))}}}}for(gt=[],et=de;et=et.parentNode;)et.nodeType===1&>.push({element:et,left:et.scrollLeft,top:et.scrollTop});for(typeof de.focus=="function"&&de.focus(),de=0;dew?32:w,xe.T=null,w=dC,dC=null;var I=i2,Q=gw;if(tf=0,W5=i2=null,gw=0,(Ju&6)!==0)throw Error(M(331));var de=Ju;if(Ju|=4,DL(I.current),OL(I,I.current,Q,w),Ju=de,e9(0,!1),ca&&typeof ca.onPostCommitFiberRoot=="function")try{ca.onPostCommitFiberRoot(Tb,I)}catch{}return!0}finally{Ge.p=T,xe.T=j,QL(a,d)}}function ZL(a,d,w){d=hd(w,d),d=UM(a.stateNode,d,2),a=Yp(a,d,2),a!==null&&(uu(a,2),Lb(a))}function ro(a,d,w){if(a.tag===3)ZL(a,a,w);else for(;d!==null;){if(d.tag===3){ZL(d,a,w);break}else if(d.tag===1){var j=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof j.componentDidCatch=="function"&&(t2===null||!t2.has(j))){a=hd(w,a),w=uL(2),j=Yp(d,w,2),j!==null&&(oL(w,j,d,a),uu(j,2),Lb(j));break}}d=d.return}}function pC(a,d,w){var j=a.pingCache;if(j===null){j=a.pingCache=new wU;var T=new Set;j.set(d,T)}else T=j.get(d),T===void 0&&(T=new Set,j.set(d,T));T.has(w)||(lC=!0,T.add(w),a=kU.bind(null,a,d,w),d.then(a,a))}function kU(a,d,w){var j=a.pingCache;j!==null&&j.delete(d),a.pingedLanes|=a.suspendedLanes&w,a.warmLanes&=~w,Do===a&&(nu&w)===w&&(zs===4||zs===3&&(nu&62914560)===nu&&300>xl()-Vk?(Ju&2)===0&&Z5(a,0):fC|=w,Q5===nu&&(Q5=0)),Lb(a)}function eP(a,d){d===0&&(d=Dp()),a=gv(a,d),a!==null&&(uu(a,d),Lb(a))}function jU(a){var d=a.memoizedState,w=0;d!==null&&(w=d.retryLane),eP(a,w)}function EU(a,d){var w=0;switch(a.tag){case 31:case 13:var j=a.stateNode,T=a.memoizedState;T!==null&&(w=T.retryLane);break;case 19:j=a.stateNode;break;case 22:j=a.stateNode._retryCache;break;default:throw Error(M(314))}j!==null&&j.delete(d),eP(a,w)}function SU(a,d){return Ia(a,d)}var tj=null,ny=null,mC=!1,ij=!1,vC=!1,c2=0;function Lb(a){a!==ny&&a.next===null&&(ny===null?tj=ny=a:ny=ny.next=a),ij=!0,mC||(mC=!0,kC())}function e9(a,d){if(!vC&&ij){vC=!0;do for(var w=!1,j=tj;j!==null;){if(a!==0){var T=j.pendingLanes;if(T===0)var I=0;else{var Q=j.suspendedLanes,de=j.pingedLanes;I=(1<<31-xf(42|a)+1)-1,I&=T&~(Q&~de),I=I&201326741?I&201326741|1:I?I|2:0}I!==0&&(w=!0,iP(j,I))}else I=nu,I=Yg(j,j===Do?I:0,j.cancelPendingCommit!==null||j.timeoutHandle!==-1),(I&3)===0||Ob(j,I)||(w=!0,iP(j,I));j=j.next}while(w);vC=!1}}function xU(){nP()}function nP(){ij=mC=!1;var a=0;c2!==0&&LU()&&(a=c2);for(var d=xl(),w=null,j=tj;j!==null;){var T=j.next,I=yC(j,d);I===0?(j.next=null,w===null?tj=T:w.next=T,T===null&&(ny=w)):(w=j,(a!==0||(I&3)!==0)&&(ij=!0)),j=T}tf!==0&&tf!==5||e9(a),c2!==0&&(c2=0)}function yC(a,d){for(var w=a.suspendedLanes,j=a.pingedLanes,T=a.expirationTimes,I=a.pendingLanes&-62914561;0de)break;var it=nn.transferSize,gt=nn.initiatorType;it&&aP(gt)&&(nn=nn.responseEnd,Q+=it*(nn"u"?null:document;function vP(a,d,w){var j=ty;if(j&&typeof d=="string"&&d){var T=$h(d);T='link[rel="'+a+'"][href="'+T+'"]',typeof w=="string"&&(T+='[crossorigin="'+w+'"]'),$C.has(T)||($C.add(T),a={rel:a,crossOrigin:w,href:d},j.querySelector(T)===null&&(d=j.createElement("link"),la(d,"link",a),Al(d),j.head.appendChild(d)))}}function GU(a){v0.D(a),vP("dns-prefetch",a,null)}function qU(a,d){v0.C(a,d),vP("preconnect",a,d)}function RC(a,d,w){v0.L(a,d,w);var j=ty;if(j&&a&&d){var T='link[rel="preload"][as="'+$h(d)+'"]';d==="image"&&w&&w.imageSrcSet?(T+='[imagesrcset="'+$h(w.imageSrcSet)+'"]',typeof w.imageSizes=="string"&&(T+='[imagesizes="'+$h(w.imageSizes)+'"]')):T+='[href="'+$h(a)+'"]';var I=T;switch(d){case"style":I=iy(a);break;case"script":I=ry(a)}x1.has(I)||(a=W({rel:"preload",href:d==="image"&&w&&w.imageSrcSet?void 0:a,as:d},w),x1.set(I,a),j.querySelector(T)!==null||d==="style"&&j.querySelector(Cv(I))||d==="script"&&j.querySelector(c9(I))||(d=j.createElement("link"),la(d,"link",a),Al(d),j.head.appendChild(d)))}}function UU(a,d){v0.m(a,d);var w=ty;if(w&&a){var j=d&&typeof d.as=="string"?d.as:"script",T='link[rel="modulepreload"][as="'+$h(j)+'"][href="'+$h(a)+'"]',I=T;switch(j){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":I=ry(a)}if(!x1.has(I)&&(a=W({rel:"modulepreload",href:a},d),x1.set(I,a),w.querySelector(T)===null)){switch(j){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(w.querySelector(c9(I)))return}j=w.createElement("link"),la(j,"link",a),Al(j),w.head.appendChild(j)}}}function XU(a,d,w){v0.S(a,d,w);var j=ty;if(j&&a){var T=Rp(j).hoistableStyles,I=iy(a);d=d||"default";var Q=T.get(I);if(!Q){var de={loading:0,preload:null};if(Q=j.querySelector(Cv(I)))de.loading=5;else{a=W({rel:"stylesheet",href:a,"data-precedence":d},w),(w=x1.get(I))&&FC(a,w);var nn=Q=j.createElement("link");Al(nn),la(nn,"link",a),nn._p=new Promise(function(Pn,it){nn.onload=Pn,nn.onerror=it}),nn.addEventListener("load",function(){de.loading|=1}),nn.addEventListener("error",function(){de.loading|=2}),de.loading|=4,lj(Q,d,j)}Q={type:"stylesheet",instance:Q,count:1,state:de},T.set(I,Q)}}}function KU(a,d){v0.X(a,d);var w=ty;if(w&&a){var j=Rp(w).hoistableScripts,T=ry(a),I=j.get(T);I||(I=w.querySelector(c9(T)),I||(a=W({src:a,async:!0},d),(d=x1.get(T))&&JC(a,d),I=w.createElement("script"),Al(I),la(I,"link",a),w.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},j.set(T,I))}}function BC(a,d){v0.M(a,d);var w=ty;if(w&&a){var j=Rp(w).hoistableScripts,T=ry(a),I=j.get(T);I||(I=w.querySelector(c9(T)),I||(a=W({src:a,async:!0,type:"module"},d),(d=x1.get(T))&&JC(a,d),I=w.createElement("script"),Al(I),la(I,"link",a),w.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},j.set(T,I))}}function yP(a,d,w,j){var T=(T=di.current)?sj(T):null;if(!T)throw Error(M(446));switch(a){case"meta":case"title":return null;case"style":return typeof w.precedence=="string"&&typeof w.href=="string"?(d=iy(w.href),w=Rp(T).hoistableStyles,j=w.get(d),j||(j={type:"style",instance:null,count:0,state:null},w.set(d,j)),j):{type:"void",instance:null,count:0,state:null};case"link":if(w.rel==="stylesheet"&&typeof w.href=="string"&&typeof w.precedence=="string"){a=iy(w.href);var I=Rp(T).hoistableStyles,Q=I.get(a);if(Q||(T=T.ownerDocument||T,Q={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},I.set(a,Q),(I=T.querySelector(Cv(a)))&&!I._p&&(Q.instance=I,Q.state.loading=5),x1.has(a)||(w={rel:"preload",as:"style",href:w.href,crossOrigin:w.crossOrigin,integrity:w.integrity,media:w.media,hrefLang:w.hrefLang,referrerPolicy:w.referrerPolicy},x1.set(a,w),I||zC(T,a,w,Q.state))),d&&j===null)throw Error(M(528,""));return Q}if(d&&j!==null)throw Error(M(529,""));return null;case"script":return d=w.async,w=w.src,typeof w=="string"&&d&&typeof d!="function"&&typeof d!="symbol"?(d=ry(w),w=Rp(T).hoistableScripts,j=w.get(d),j||(j={type:"script",instance:null,count:0,state:null},w.set(d,j)),j):{type:"void",instance:null,count:0,state:null};default:throw Error(M(444,a))}}function iy(a){return'href="'+$h(a)+'"'}function Cv(a){return'link[rel="stylesheet"]['+a+"]"}function kP(a){return W({},a,{"data-precedence":a.precedence,precedence:null})}function zC(a,d,w,j){a.querySelector('link[rel="preload"][as="style"]['+d+"]")?j.loading=1:(d=a.createElement("link"),j.preload=d,d.addEventListener("load",function(){return j.loading|=1}),d.addEventListener("error",function(){return j.loading|=2}),la(d,"link",w),Al(d),a.head.appendChild(d))}function ry(a){return'[src="'+$h(a)+'"]'}function c9(a){return"script[async]"+a}function jP(a,d,w){if(d.count++,d.instance===null)switch(d.type){case"style":var j=a.querySelector('style[data-href~="'+$h(w.href)+'"]');if(j)return d.instance=j,Al(j),j;var T=W({},w,{"data-href":w.href,"data-precedence":w.precedence,href:null,precedence:null});return j=(a.ownerDocument||a).createElement("style"),Al(j),la(j,"style",T),lj(j,w.precedence,a),d.instance=j;case"stylesheet":T=iy(w.href);var I=a.querySelector(Cv(T));if(I)return d.state.loading|=4,d.instance=I,Al(I),I;j=kP(w),(T=x1.get(T))&&FC(j,T),I=(a.ownerDocument||a).createElement("link"),Al(I);var Q=I;return Q._p=new Promise(function(de,nn){Q.onload=de,Q.onerror=nn}),la(I,"link",j),d.state.loading|=4,lj(I,w.precedence,a),d.instance=I;case"script":return I=ry(w.src),(T=a.querySelector(c9(I)))?(d.instance=T,Al(T),T):(j=w,(T=x1.get(I))&&(j=W({},w),JC(j,T)),a=a.ownerDocument||a,T=a.createElement("script"),Al(T),la(T,"link",j),a.head.appendChild(T),d.instance=T);case"void":return null;default:throw Error(M(443,d.type))}else d.type==="stylesheet"&&(d.state.loading&4)===0&&(j=d.instance,d.state.loading|=4,lj(j,w.precedence,a));return d.instance}function lj(a,d,w){for(var j=w.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),T=j.length?j[j.length-1]:null,I=T,Q=0;Q title"):null)}function VU(a,d,w){if(w===1||d.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof d.precedence!="string"||typeof d.href!="string"||d.href==="")break;return!0;case"link":if(typeof d.rel!="string"||typeof d.href!="string"||d.href===""||d.onLoad||d.onError)break;return d.rel==="stylesheet"?(a=d.disabled,typeof d.precedence=="string"&&a==null):!0;case"script":if(d.async&&typeof d.async!="function"&&typeof d.async!="symbol"&&!d.onLoad&&!d.onError&&d.src&&typeof d.src=="string")return!0}return!1}function xP(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function YU(a,d,w,j){if(w.type==="stylesheet"&&(typeof j.media!="string"||matchMedia(j.media).matches!==!1)&&(w.state.loading&4)===0){if(w.instance===null){var T=iy(j.href),I=d.querySelector(Cv(T));if(I){d=I._p,d!==null&&typeof d=="object"&&typeof d.then=="function"&&(a.count++,a=u9.bind(a),d.then(a,a)),w.state.loading|=4,w.instance=I,Al(I);return}I=d.ownerDocument||d,j=kP(j),(T=x1.get(T))&&FC(j,T),I=I.createElement("link"),Al(I);var Q=I;Q._p=new Promise(function(de,nn){Q.onload=de,Q.onerror=nn}),la(I,"link",j),w.instance=I}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(w,d),(d=w.state.preload)&&(w.state.loading&3)===0&&(a.count++,w=u9.bind(a),d.addEventListener("load",w),d.addEventListener("error",w))}}var HC=0;function QU(a,d){return a.stylesheets&&a.count===0&&Tv(a,a.stylesheets),0HC?50:800)+d);return a.unsuspend=w,function(){a.unsuspend=null,clearTimeout(j),clearTimeout(T)}}:null}function u9(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tv(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var o9=null;function Tv(a,d){a.stylesheets=null,a.unsuspend!==null&&(a.count++,o9=new Map,d.forEach(s9,a),o9=null,u9.call(a))}function s9(a,d){if(!(d.state.loading&4)){var w=o9.get(a);if(w)var j=w.get(null);else{w=new Map,o9.set(a,w);for(var T=a.querySelectorAll("link[data-precedence],style[data-precedence]"),I=0;I"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(E){console.error(E)}}return b(),I7e.exports=wzn(),I7e.exports}var mzn=pzn();function Ws(b){return b==null?"":JSON.stringify(rke(b))}function rke(b){return Array.isArray(b)?b.map(rke):b&&typeof b=="object"?Object.fromEntries(Object.entries(b).sort(([E],[x])=>E.localeCompare(x)).map(([E,x])=>[E,rke(x)])):b}function d5(b){return b?JSON.parse(b):null}function pue(b){const E=Oa(b.objectId);return b.name&&b.name!==E?`${b.name} · ID: ${E}`:E}function Oa(b){if(!b||typeof b!="object")return String(b);const E=b;if(E.type==="Tuple"&&Array.isArray(E.items))return`(${E.items.map(Oa).join(", ")})`;if(E.type==="NamedTuple"&&Array.isArray(E.items)&&Array.isArray(E.names)){const x=E.names;return`(${E.items.map((M,N)=>`${x[N]}=${Oa(M)}`).join(", ")})`}return E.type==="Pair"?`${Oa(E.first)} => ${Oa(E.second)}`:E.type==="Symbol"?`:${String(E.value)}`:"value"in E?Oa(E.value):String(E.repr??JSON.stringify(b))}function vzn(b,E){return!b||b.type!=="Scope"?null:"id"in b?b.id:E.find(M=>M.instance===b.name&&!E.some(N=>N.id===M.parent&&N.instance===b.name))?.objectId??b.name}function mue({label:b,value:E,objects:x,onChange:M,emptyLabel:N="Any"}){return _.jsxs("label",{children:[b,_.jsxs("select",{value:E,onChange:$=>M($.target.value),children:[_.jsx("option",{value:"",children:N}),x.map($=>_.jsx("option",{value:Ws($.objectId),children:pue($)},Ws($.objectId)))]})]})}function Na(b){if(typeof b=="string"||typeof b=="number")return""+b;let E="";if(Array.isArray(b))for(let x=0,M;x{}};function Iue(){for(var b=0,E=arguments.length,x={},M;b=0&&(M=x.slice(N+1),x=x.slice(0,N)),x&&!E.hasOwnProperty(x))throw new Error("unknown type: "+x);return{type:x,name:M}})}aue.prototype=Iue.prototype={constructor:aue,on:function(b,E){var x=this._,M=kzn(b+"",x),N,$=-1,k=M.length;if(arguments.length<2){for(;++$0)for(var x=new Array(N),M=0,N,$;M=0&&(E=b.slice(0,x))!=="xmlns"&&(b=b.slice(x+1)),Zhn.hasOwnProperty(E)?{space:Zhn[E],local:b}:b}function Ezn(b){return function(){var E=this.ownerDocument,x=this.namespaceURI;return x===cke&&E.documentElement.namespaceURI===cke?E.createElement(b):E.createElementNS(x,b)}}function Szn(b){return function(){return this.ownerDocument.createElementNS(b.space,b.local)}}function gdn(b){var E=Due(b);return(E.local?Szn:Ezn)(E)}function xzn(){}function kke(b){return b==null?xzn:function(){return this.querySelector(b)}}function Azn(b){typeof b!="function"&&(b=kke(b));for(var E=this._groups,x=E.length,M=new Array(x),N=0;N=ae&&(ae=Pe+1);!(Ue=Me[ae])&&++ae=0;)(k=M[N])&&($&&k.compareDocumentPosition($)^4&&$.parentNode.insertBefore(k,$),$=k);return this}function Qzn(b){b||(b=Wzn);function E(W,Z){return W&&Z?b(W.__data__,Z.__data__):!W-!Z}for(var x=this._groups,M=x.length,N=new Array(M),$=0;$E?1:b>=E?0:NaN}function Zzn(){var b=arguments[0];return arguments[0]=this,b.apply(null,arguments),this}function eFn(){return Array.from(this)}function nFn(){for(var b=this._groups,E=0,x=b.length;E1?this.each((E==null?hFn:typeof E=="function"?bFn:dFn)(b,E,x??"")):wD(this.node(),b)}function wD(b,E){return b.style.getPropertyValue(E)||ydn(b).getComputedStyle(b,null).getPropertyValue(E)}function wFn(b){return function(){delete this[b]}}function pFn(b,E){return function(){this[b]=E}}function mFn(b,E){return function(){var x=E.apply(this,arguments);x==null?delete this[b]:this[b]=x}}function vFn(b,E){return arguments.length>1?this.each((E==null?wFn:typeof E=="function"?mFn:pFn)(b,E)):this.node()[b]}function kdn(b){return b.trim().split(/^|\s+/)}function jke(b){return b.classList||new jdn(b)}function jdn(b){this._node=b,this._names=kdn(b.getAttribute("class")||"")}jdn.prototype={add:function(b){var E=this._names.indexOf(b);E<0&&(this._names.push(b),this._node.setAttribute("class",this._names.join(" ")))},remove:function(b){var E=this._names.indexOf(b);E>=0&&(this._names.splice(E,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(b){return this._names.indexOf(b)>=0}};function Edn(b,E){for(var x=jke(b),M=-1,N=E.length;++M=0&&(x=E.slice(M+1),E=E.slice(0,M)),{type:E,name:x}})}function XFn(b){return function(){var E=this.__on;if(E){for(var x=0,M=-1,N=E.length,$;x()=>b;function uke(b,{sourceEvent:E,subject:x,target:M,identifier:N,active:$,x:k,y:H,dx:q,dy:G,dispatch:ie}){Object.defineProperties(this,{type:{value:b,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},subject:{value:x,enumerable:!0,configurable:!0},target:{value:M,enumerable:!0,configurable:!0},identifier:{value:N,enumerable:!0,configurable:!0},active:{value:$,enumerable:!0,configurable:!0},x:{value:k,enumerable:!0,configurable:!0},y:{value:H,enumerable:!0,configurable:!0},dx:{value:q,enumerable:!0,configurable:!0},dy:{value:G,enumerable:!0,configurable:!0},_:{value:ie}})}uke.prototype.on=function(){var b=this._.on.apply(this._,arguments);return b===this._?this:b};function iJn(b){return!b.ctrlKey&&!b.button}function rJn(){return this.parentNode}function cJn(b,E){return E??{x:b.x,y:b.y}}function uJn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Tdn(){var b=iJn,E=rJn,x=cJn,M=uJn,N={},$=Iue("start","drag","end"),k=0,H,q,G,ie,W=0;function Z(Ne){Ne.on("mousedown.drag",se).filter(M).on("touchstart.drag",Me).on("touchmove.drag",me,tJn).on("touchend.drag touchcancel.drag",Pe).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function se(Ne,Ue){if(!(ie||!b.call(this,Ne,Ue))){var ln=ae(this,E.call(this,Ne,Ue),Ne,Ue,"mouse");ln&&(Gg(Ne.view).on("mousemove.drag",oe,HG).on("mouseup.drag",ee,HG),Mdn(Ne.view),P7e(Ne),G=!1,H=Ne.clientX,q=Ne.clientY,ln("start",Ne))}}function oe(Ne){if(bD(Ne),!G){var Ue=Ne.clientX-H,ln=Ne.clientY-q;G=Ue*Ue+ln*ln>W}N.mouse("drag",Ne)}function ee(Ne){Gg(Ne.view).on("mousemove.drag mouseup.drag",null),Cdn(Ne.view,G),bD(Ne),N.mouse("end",Ne)}function Me(Ne,Ue){if(b.call(this,Ne,Ue)){var ln=Ne.changedTouches,on=E.call(this,Ne,Ue),An=ln.length,xn,tt;for(xn=0;xn>8&15|E>>4&240,E>>4&15|E&240,(E&15)<<4|E&15,1):x===8?Wce(E>>24&255,E>>16&255,E>>8&255,(E&255)/255):x===4?Wce(E>>12&15|E>>8&240,E>>8&15|E>>4&240,E>>4&15|E&240,((E&15)<<4|E&15)/255):null):(E=sJn.exec(b))?new Mb(E[1],E[2],E[3],1):(E=lJn.exec(b))?new Mb(E[1]*255/100,E[2]*255/100,E[3]*255/100,1):(E=fJn.exec(b))?Wce(E[1],E[2],E[3],E[4]):(E=aJn.exec(b))?Wce(E[1]*255/100,E[2]*255/100,E[3]*255/100,E[4]):(E=hJn.exec(b))?u1n(E[1],E[2]/100,E[3]/100,1):(E=dJn.exec(b))?u1n(E[1],E[2]/100,E[3]/100,E[4]):e1n.hasOwnProperty(b)?i1n(e1n[b]):b==="transparent"?new Mb(NaN,NaN,NaN,0):null}function i1n(b){return new Mb(b>>16&255,b>>8&255,b&255,1)}function Wce(b,E,x,M){return M<=0&&(b=E=x=NaN),new Mb(b,E,x,M)}function wJn(b){return b instanceof nq||(b=CA(b)),b?(b=b.rgb(),new Mb(b.r,b.g,b.b,b.opacity)):new Mb}function oke(b,E,x,M){return arguments.length===1?wJn(b):new Mb(b,E,x,M??1)}function Mb(b,E,x,M){this.r=+b,this.g=+E,this.b=+x,this.opacity=+M}Eke(Mb,oke,Odn(nq,{brighter(b){return b=b==null?yue:Math.pow(yue,b),new Mb(this.r*b,this.g*b,this.b*b,this.opacity)},darker(b){return b=b==null?GG:Math.pow(GG,b),new Mb(this.r*b,this.g*b,this.b*b,this.opacity)},rgb(){return this},clamp(){return new Mb(xA(this.r),xA(this.g),xA(this.b),kue(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:r1n,formatHex:r1n,formatHex8:pJn,formatRgb:c1n,toString:c1n}));function r1n(){return`#${SA(this.r)}${SA(this.g)}${SA(this.b)}`}function pJn(){return`#${SA(this.r)}${SA(this.g)}${SA(this.b)}${SA((isNaN(this.opacity)?1:this.opacity)*255)}`}function c1n(){const b=kue(this.opacity);return`${b===1?"rgb(":"rgba("}${xA(this.r)}, ${xA(this.g)}, ${xA(this.b)}${b===1?")":`, ${b})`}`}function kue(b){return isNaN(b)?1:Math.max(0,Math.min(1,b))}function xA(b){return Math.max(0,Math.min(255,Math.round(b)||0))}function SA(b){return b=xA(b),(b<16?"0":"")+b.toString(16)}function u1n(b,E,x,M){return M<=0?b=E=x=NaN:x<=0||x>=1?b=E=NaN:E<=0&&(b=NaN),new iv(b,E,x,M)}function Ndn(b){if(b instanceof iv)return new iv(b.h,b.s,b.l,b.opacity);if(b instanceof nq||(b=CA(b)),!b)return new iv;if(b instanceof iv)return b;b=b.rgb();var E=b.r/255,x=b.g/255,M=b.b/255,N=Math.min(E,x,M),$=Math.max(E,x,M),k=NaN,H=$-N,q=($+N)/2;return H?(E===$?k=(x-M)/H+(x0&&q<1?0:k,new iv(k,H,q,b.opacity)}function mJn(b,E,x,M){return arguments.length===1?Ndn(b):new iv(b,E,x,M??1)}function iv(b,E,x,M){this.h=+b,this.s=+E,this.l=+x,this.opacity=+M}Eke(iv,mJn,Odn(nq,{brighter(b){return b=b==null?yue:Math.pow(yue,b),new iv(this.h,this.s,this.l*b,this.opacity)},darker(b){return b=b==null?GG:Math.pow(GG,b),new iv(this.h,this.s,this.l*b,this.opacity)},rgb(){var b=this.h%360+(this.h<0)*360,E=isNaN(b)||isNaN(this.s)?0:this.s,x=this.l,M=x+(x<.5?x:1-x)*E,N=2*x-M;return new Mb($7e(b>=240?b-240:b+120,N,M),$7e(b,N,M),$7e(b<120?b+240:b-120,N,M),this.opacity)},clamp(){return new iv(o1n(this.h),Zce(this.s),Zce(this.l),kue(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 b=kue(this.opacity);return`${b===1?"hsl(":"hsla("}${o1n(this.h)}, ${Zce(this.s)*100}%, ${Zce(this.l)*100}%${b===1?")":`, ${b})`}`}}));function o1n(b){return b=(b||0)%360,b<0?b+360:b}function Zce(b){return Math.max(0,Math.min(1,b||0))}function $7e(b,E,x){return(b<60?E+(x-E)*b/60:b<180?x:b<240?E+(x-E)*(240-b)/60:E)*255}const Ske=b=>()=>b;function vJn(b,E){return function(x){return b+x*E}}function yJn(b,E,x){return b=Math.pow(b,x),E=Math.pow(E,x)-b,x=1/x,function(M){return Math.pow(b+M*E,x)}}function kJn(b){return(b=+b)==1?Idn:function(E,x){return x-E?yJn(E,x,b):Ske(isNaN(E)?x:E)}}function Idn(b,E){var x=E-b;return x?vJn(b,x):Ske(isNaN(b)?E:b)}const jue=(function b(E){var x=kJn(E);function M(N,$){var k=x((N=oke(N)).r,($=oke($)).r),H=x(N.g,$.g),q=x(N.b,$.b),G=Idn(N.opacity,$.opacity);return function(ie){return N.r=k(ie),N.g=H(ie),N.b=q(ie),N.opacity=G(ie),N+""}}return M.gamma=b,M})(1);function jJn(b,E){E||(E=[]);var x=b?Math.min(E.length,b.length):0,M=E.slice(),N;return function($){for(N=0;Nx&&($=E.slice(x,$),H[k]?H[k]+=$:H[++k]=$),(M=M[0])===(N=N[0])?H[k]?H[k]+=N:H[++k]=N:(H[++k]=null,q.push({i:k,x:h5(M,N)})),x=R7e.lastIndex;return x180?ie+=360:ie-G>180&&(G+=360),Z.push({i:W.push(N(W)+"rotate(",null,M)-2,x:h5(G,ie)})):ie&&W.push(N(W)+"rotate("+ie+M)}function H(G,ie,W,Z){G!==ie?Z.push({i:W.push(N(W)+"skewX(",null,M)-2,x:h5(G,ie)}):ie&&W.push(N(W)+"skewX("+ie+M)}function q(G,ie,W,Z,se,oe){if(G!==W||ie!==Z){var ee=se.push(N(se)+"scale(",null,",",null,")");oe.push({i:ee-4,x:h5(G,W)},{i:ee-2,x:h5(ie,Z)})}else(W!==1||Z!==1)&&se.push(N(se)+"scale("+W+","+Z+")")}return function(G,ie){var W=[],Z=[];return G=b(G),ie=b(ie),$(G.translateX,G.translateY,ie.translateX,ie.translateY,W,Z),k(G.rotate,ie.rotate,W,Z),H(G.skewX,ie.skewX,W,Z),q(G.scaleX,G.scaleY,ie.scaleX,ie.scaleY,W,Z),G=ie=null,function(se){for(var oe=-1,ee=Z.length,Me;++oe=0&&b._call.call(void 0,E),b=b._next;--pD}function f1n(){TA=(Sue=UG.now())+_ue,pD=RG=0;try{$Jn()}finally{pD=0,BJn(),TA=0}}function RJn(){var b=UG.now(),E=b-Sue;E>Pdn&&(_ue-=E,Sue=b)}function BJn(){for(var b,E=Eue,x,M=1/0;E;)E._call?(M>E._time&&(M=E._time),b=E,E=E._next):(x=E._next,E._next=null,E=b?b._next=x:Eue=x);BG=b,fke(M)}function fke(b){if(!pD){RG&&(RG=clearTimeout(RG));var E=b-TA;E>24?(b<1/0&&(RG=setTimeout(f1n,b-UG.now()-_ue)),PG&&(PG=clearInterval(PG))):(PG||(Sue=UG.now(),PG=setInterval(RJn,Pdn)),pD=1,$dn(f1n))}}function a1n(b,E,x){var M=new xue;return E=E==null?0:+E,M.restart(N=>{M.stop(),b(N+E)},E,x),M}var zJn=Iue("start","end","cancel","interrupt"),FJn=[],Bdn=0,h1n=1,ake=2,due=3,d1n=4,hke=5,bue=6;function Lue(b,E,x,M,N,$){var k=b.__transition;if(!k)b.__transition={};else if(x in k)return;JJn(b,x,{name:E,index:M,group:N,on:zJn,tween:FJn,time:$.time,delay:$.delay,duration:$.duration,ease:$.ease,timer:null,state:Bdn})}function Ake(b,E){var x=uv(b,E);if(x.state>Bdn)throw new Error("too late; already scheduled");return x}function p5(b,E){var x=uv(b,E);if(x.state>due)throw new Error("too late; already running");return x}function uv(b,E){var x=b.__transition;if(!x||!(x=x[E]))throw new Error("transition not found");return x}function JJn(b,E,x){var M=b.__transition,N;M[E]=x,x.timer=Rdn($,0,x.time);function $(G){x.state=h1n,x.timer.restart(k,x.delay,x.time),x.delay<=G&&k(G-x.delay)}function k(G){var ie,W,Z,se;if(x.state!==h1n)return q();for(ie in M)if(se=M[ie],se.name===x.name){if(se.state===due)return a1n(k);se.state===d1n?(se.state=bue,se.timer.stop(),se.on.call("interrupt",b,b.__data__,se.index,se.group),delete M[ie]):+ieake&&M.state=0&&(E=E.slice(0,x)),!E||E==="start"})}function mHn(b,E,x){var M,N,$=pHn(E)?Ake:p5;return function(){var k=$(this,b),H=k.on;H!==M&&(N=(M=H).copy()).on(E,x),k.on=N}}function vHn(b,E){var x=this._id;return arguments.length<2?uv(this.node(),x).on.on(b):this.each(mHn(x,b,E))}function yHn(b){return function(){var E=this.parentNode;for(var x in this.__transition)if(+x!==b)return;E&&E.removeChild(this)}}function kHn(){return this.on("end.remove",yHn(this._id))}function jHn(b){var E=this._name,x=this._id;typeof b!="function"&&(b=kke(b));for(var M=this._groups,N=M.length,$=new Array(N),k=0;k()=>b;function XHn(b,{sourceEvent:E,target:x,transform:M,dispatch:N}){Object.defineProperties(this,{type:{value:b,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},transform:{value:M,enumerable:!0,configurable:!0},_:{value:N}})}function l6(b,E,x){this.k=b,this.x=E,this.y=x}l6.prototype={constructor:l6,scale:function(b){return b===1?this:new l6(this.k*b,this.x,this.y)},translate:function(b,E){return b===0&E===0?this:new l6(this.k,this.x+this.k*b,this.y+this.k*E)},apply:function(b){return[b[0]*this.k+this.x,b[1]*this.k+this.y]},applyX:function(b){return b*this.k+this.x},applyY:function(b){return b*this.k+this.y},invert:function(b){return[(b[0]-this.x)/this.k,(b[1]-this.y)/this.k]},invertX:function(b){return(b-this.x)/this.k},invertY:function(b){return(b-this.y)/this.k},rescaleX:function(b){return b.copy().domain(b.range().map(this.invertX,this).map(b.invert,b))},rescaleY:function(b){return b.copy().domain(b.range().map(this.invertY,this).map(b.invert,b))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Pue=new l6(1,0,0);Hdn.prototype=l6.prototype;function Hdn(b){for(;!b.__zoom;)if(!(b=b.parentNode))return Pue;return b.__zoom}function B7e(b){b.stopImmediatePropagation()}function $G(b){b.preventDefault(),b.stopImmediatePropagation()}function KHn(b){return(!b.ctrlKey||b.type==="wheel")&&!b.button}function VHn(){var b=this;return b instanceof SVGElement?(b=b.ownerSVGElement||b,b.hasAttribute("viewBox")?(b=b.viewBox.baseVal,[[b.x,b.y],[b.x+b.width,b.y+b.height]]):[[0,0],[b.width.baseVal.value,b.height.baseVal.value]]):[[0,0],[b.clientWidth,b.clientHeight]]}function b1n(){return this.__zoom||Pue}function YHn(b){return-b.deltaY*(b.deltaMode===1?.05:b.deltaMode?1:.002)*(b.ctrlKey?10:1)}function QHn(){return navigator.maxTouchPoints||"ontouchstart"in this}function WHn(b,E,x){var M=b.invertX(E[0][0])-x[0][0],N=b.invertX(E[1][0])-x[1][0],$=b.invertY(E[0][1])-x[0][1],k=b.invertY(E[1][1])-x[1][1];return b.translate(N>M?(M+N)/2:Math.min(0,M)||Math.max(0,N),k>$?($+k)/2:Math.min(0,$)||Math.max(0,k))}function Gdn(){var b=KHn,E=VHn,x=WHn,M=YHn,N=QHn,$=[0,1/0],k=[[-1/0,-1/0],[1/0,1/0]],H=250,q=hue,G=Iue("start","zoom","end"),ie,W,Z,se=500,oe=150,ee=0,Me=10;function me(Fe){Fe.property("__zoom",b1n).on("wheel.zoom",An,{passive:!1}).on("mousedown.zoom",xn).on("dblclick.zoom",tt).filter(N).on("touchstart.zoom",mn).on("touchmove.zoom",vn).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}me.transform=function(Fe,wn,xe,Ge){var fn=Fe.selection?Fe.selection():Fe;fn.property("__zoom",b1n),Fe!==fn?Ue(Fe,wn,xe,Ge):fn.interrupt().each(function(){ln(this,arguments).event(Ge).start().zoom(null,typeof wn=="function"?wn.apply(this,arguments):wn).end()})},me.scaleBy=function(Fe,wn,xe,Ge){me.scaleTo(Fe,function(){var fn=this.__zoom.k,$e=typeof wn=="function"?wn.apply(this,arguments):wn;return fn*$e},xe,Ge)},me.scaleTo=function(Fe,wn,xe,Ge){me.transform(Fe,function(){var fn=E.apply(this,arguments),$e=this.__zoom,Mn=xe==null?Ne(fn):typeof xe=="function"?xe.apply(this,arguments):xe,ge=$e.invert(Mn),tn=typeof wn=="function"?wn.apply(this,arguments):wn;return x(ae(Pe($e,tn),Mn,ge),fn,k)},xe,Ge)},me.translateBy=function(Fe,wn,xe,Ge){me.transform(Fe,function(){return x(this.__zoom.translate(typeof wn=="function"?wn.apply(this,arguments):wn,typeof xe=="function"?xe.apply(this,arguments):xe),E.apply(this,arguments),k)},null,Ge)},me.translateTo=function(Fe,wn,xe,Ge,fn){me.transform(Fe,function(){var $e=E.apply(this,arguments),Mn=this.__zoom,ge=Ge==null?Ne($e):typeof Ge=="function"?Ge.apply(this,arguments):Ge;return x(Pue.translate(ge[0],ge[1]).scale(Mn.k).translate(typeof wn=="function"?-wn.apply(this,arguments):-wn,typeof xe=="function"?-xe.apply(this,arguments):-xe),$e,k)},Ge,fn)};function Pe(Fe,wn){return wn=Math.max($[0],Math.min($[1],wn)),wn===Fe.k?Fe:new l6(wn,Fe.x,Fe.y)}function ae(Fe,wn,xe){var Ge=wn[0]-xe[0]*Fe.k,fn=wn[1]-xe[1]*Fe.k;return Ge===Fe.x&&fn===Fe.y?Fe:new l6(Fe.k,Ge,fn)}function Ne(Fe){return[(+Fe[0][0]+ +Fe[1][0])/2,(+Fe[0][1]+ +Fe[1][1])/2]}function Ue(Fe,wn,xe,Ge){Fe.on("start.zoom",function(){ln(this,arguments).event(Ge).start()}).on("interrupt.zoom end.zoom",function(){ln(this,arguments).event(Ge).end()}).tween("zoom",function(){var fn=this,$e=arguments,Mn=ln(fn,$e).event(Ge),ge=E.apply(fn,$e),tn=xe==null?Ne(ge):typeof xe=="function"?xe.apply(fn,$e):xe,Hn=Math.max(ge[1][0]-ge[0][0],ge[1][1]-ge[0][1]),ut=fn.__zoom,Jt=typeof wn=="function"?wn.apply(fn,$e):wn,di=q(ut.invert(tn).concat(Hn/ut.k),Jt.invert(tn).concat(Hn/Jt.k));return function(Gt){if(Gt===1)Gt=Jt;else{var At=di(Gt),si=Hn/At[2];Gt=new l6(si,tn[0]-At[0]*si,tn[1]-At[1]*si)}Mn.zoom(null,Gt)}})}function ln(Fe,wn,xe){return!xe&&Fe.__zooming||new on(Fe,wn)}function on(Fe,wn){this.that=Fe,this.args=wn,this.active=0,this.sourceEvent=null,this.extent=E.apply(Fe,wn),this.taps=0}on.prototype={event:function(Fe){return Fe&&(this.sourceEvent=Fe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Fe,wn){return this.mouse&&Fe!=="mouse"&&(this.mouse[1]=wn.invert(this.mouse[0])),this.touch0&&Fe!=="touch"&&(this.touch0[1]=wn.invert(this.touch0[0])),this.touch1&&Fe!=="touch"&&(this.touch1[1]=wn.invert(this.touch1[0])),this.that.__zoom=wn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Fe){var wn=Gg(this.that).datum();G.call(Fe,this.that,new XHn(Fe,{sourceEvent:this.sourceEvent,target:me,transform:this.that.__zoom,dispatch:G}),wn)}};function An(Fe,...wn){if(!b.apply(this,arguments))return;var xe=ln(this,wn).event(Fe),Ge=this.__zoom,fn=Math.max($[0],Math.min($[1],Ge.k*Math.pow(2,M.apply(this,arguments)))),$e=tv(Fe);if(xe.wheel)(xe.mouse[0][0]!==$e[0]||xe.mouse[0][1]!==$e[1])&&(xe.mouse[1]=Ge.invert(xe.mouse[0]=$e)),clearTimeout(xe.wheel);else{if(Ge.k===fn)return;xe.mouse=[$e,Ge.invert($e)],gue(this),xe.start()}$G(Fe),xe.wheel=setTimeout(Mn,oe),xe.zoom("mouse",x(ae(Pe(Ge,fn),xe.mouse[0],xe.mouse[1]),xe.extent,k));function Mn(){xe.wheel=null,xe.end()}}function xn(Fe,...wn){if(Z||!b.apply(this,arguments))return;var xe=Fe.currentTarget,Ge=ln(this,wn,!0).event(Fe),fn=Gg(Fe.view).on("mousemove.zoom",tn,!0).on("mouseup.zoom",Hn,!0),$e=tv(Fe,xe),Mn=Fe.clientX,ge=Fe.clientY;Mdn(Fe.view),B7e(Fe),Ge.mouse=[$e,this.__zoom.invert($e)],gue(this),Ge.start();function tn(ut){if($G(ut),!Ge.moved){var Jt=ut.clientX-Mn,di=ut.clientY-ge;Ge.moved=Jt*Jt+di*di>ee}Ge.event(ut).zoom("mouse",x(ae(Ge.that.__zoom,Ge.mouse[0]=tv(ut,xe),Ge.mouse[1]),Ge.extent,k))}function Hn(ut){fn.on("mousemove.zoom mouseup.zoom",null),Cdn(ut.view,Ge.moved),$G(ut),Ge.event(ut).end()}}function tt(Fe,...wn){if(b.apply(this,arguments)){var xe=this.__zoom,Ge=tv(Fe.changedTouches?Fe.changedTouches[0]:Fe,this),fn=xe.invert(Ge),$e=xe.k*(Fe.shiftKey?.5:2),Mn=x(ae(Pe(xe,$e),Ge,fn),E.apply(this,wn),k);$G(Fe),H>0?Gg(this).transition().duration(H).call(Ue,Mn,Ge,Fe):Gg(this).call(me.transform,Mn,Ge,Fe)}}function mn(Fe,...wn){if(b.apply(this,arguments)){var xe=Fe.touches,Ge=xe.length,fn=ln(this,wn,Fe.changedTouches.length===Ge).event(Fe),$e,Mn,ge,tn;for(B7e(Fe),Mn=0;Mn"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:b=>`Node type "${b}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:b=>`The old edge with id=${b} does not exist.`,error009:b=>`Marker type "${b}" doesn't exist.`,error008:(b,{id:E,sourceHandle:x,targetHandle:M})=>`Couldn't create edge for ${b} handle id: "${b==="source"?x:M}", edge id: ${E}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:b=>`Edge type "${b}" not found. Using fallback type "default".`,error012:b=>`Node with id "${b}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(b="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${b}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},XG=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],qdn=["Enter"," ","Escape"],Udn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:b,x:E,y:x})=>`Moved selected node ${b}. New position, x: ${E}, y: ${x}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var mD;(function(b){b.Strict="strict",b.Loose="loose"})(mD||(mD={}));var AA;(function(b){b.Free="free",b.Vertical="vertical",b.Horizontal="horizontal"})(AA||(AA={}));var KG;(function(b){b.Partial="partial",b.Full="full"})(KG||(KG={}));const Xdn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var ik;(function(b){b.Bezier="default",b.Straight="straight",b.Step="step",b.SmoothStep="smoothstep",b.SimpleBezier="simplebezier"})(ik||(ik={}));var VG;(function(b){b.Arrow="arrow",b.ArrowClosed="arrowclosed"})(VG||(VG={}));var ur;(function(b){b.Left="left",b.Top="top",b.Right="right",b.Bottom="bottom"})(ur||(ur={}));const g1n={[ur.Left]:ur.Right,[ur.Right]:ur.Left,[ur.Top]:ur.Bottom,[ur.Bottom]:ur.Top};function Kdn(b){return b===null?null:b?"valid":"invalid"}const Vdn=b=>"id"in b&&"source"in b&&"target"in b,ZHn=b=>"id"in b&&"position"in b&&!("source"in b)&&!("target"in b),Cke=b=>"id"in b&&"internals"in b&&!("source"in b)&&!("target"in b),tq=(b,E=[0,0])=>{const{width:x,height:M}=a6(b),N=b.origin??E,$=x*N[0],k=M*N[1];return{x:b.position.x-$,y:b.position.y-k}},eGn=(b,E={nodeOrigin:[0,0]})=>{if(b.length===0)return{x:0,y:0,width:0,height:0};const x=b.reduce((M,N)=>{const $=typeof N=="string";let k=!E.nodeLookup&&!$?N:void 0;E.nodeLookup&&(k=$?E.nodeLookup.get(N):Cke(N)?N:E.nodeLookup.get(N.id));const H=k?Aue(k,E.nodeOrigin):{x:0,y:0,x2:0,y2:0};return $ue(M,H)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Rue(x)},iq=(b,E={})=>{let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},M=!1;return b.forEach(N=>{(E.filter===void 0||E.filter(N))&&(x=$ue(x,Aue(N)),M=!0)}),M?Rue(x):{x:0,y:0,width:0,height:0}},Tke=(b,E,[x,M,N]=[0,0,1],$=!1,k=!1)=>{const H={...cq(E,[x,M,N]),width:E.width/N,height:E.height/N},q=[];for(const G of b.values()){const{measured:ie,selectable:W=!0,hidden:Z=!1}=G;if(k&&!W||Z)continue;const se=ie.width??G.width??G.initialWidth??null,oe=ie.height??G.height??G.initialHeight??null,ee=YG(H,yD(G)),Me=(se??0)*(oe??0),me=$&&ee>0;(!G.internals.handleBounds||me||ee>=Me||G.dragging)&&q.push(G)}return q},nGn=(b,E)=>{const x=new Set;return b.forEach(M=>{x.add(M.id)}),E.filter(M=>x.has(M.source)||x.has(M.target))};function tGn(b,E){const x=new Map,M=E?.nodes?new Set(E.nodes.map(N=>N.id)):null;return b.forEach(N=>{N.measured.width&&N.measured.height&&(E?.includeHiddenNodes||!N.hidden)&&(!M||M.has(N.id))&&x.set(N.id,N)}),x}async function iGn({nodes:b,width:E,height:x,panZoom:M,minZoom:N,maxZoom:$},k){if(b.size===0)return Promise.resolve(!0);const H=tGn(b,k),q=iq(H),G=Oke(q,E,x,k?.minZoom??N,k?.maxZoom??$,k?.padding??.1);return await M.setViewport(G,{duration:k?.duration,ease:k?.ease,interpolate:k?.interpolate}),Promise.resolve(!0)}function Ydn({nodeId:b,nextPosition:E,nodeLookup:x,nodeOrigin:M=[0,0],nodeExtent:N,onError:$}){const k=x.get(b),H=k.parentId?x.get(k.parentId):void 0,{x:q,y:G}=H?H.internals.positionAbsolute:{x:0,y:0},ie=k.origin??M;let W=k.extent||N;if(k.extent==="parent"&&!k.expandParent)if(!H)$?.("005",g5.error005());else{const se=H.measured.width,oe=H.measured.height;se&&oe&&(W=[[q,G],[q+se,G+oe]])}else H&&kD(k.extent)&&(W=[[k.extent[0][0]+q,k.extent[0][1]+G],[k.extent[1][0]+q,k.extent[1][1]+G]]);const Z=kD(W)?OA(E,W,k.measured):E;return(k.measured.width===void 0||k.measured.height===void 0)&&$?.("015",g5.error015()),{position:{x:Z.x-q+(k.measured.width??0)*ie[0],y:Z.y-G+(k.measured.height??0)*ie[1]},positionAbsolute:Z}}async function rGn({nodesToRemove:b=[],edgesToRemove:E=[],nodes:x,edges:M,onBeforeDelete:N}){const $=new Set(b.map(Z=>Z.id)),k=[];for(const Z of x){if(Z.deletable===!1)continue;const se=$.has(Z.id),oe=!se&&Z.parentId&&k.find(ee=>ee.id===Z.parentId);(se||oe)&&k.push(Z)}const H=new Set(E.map(Z=>Z.id)),q=M.filter(Z=>Z.deletable!==!1),ie=nGn(k,q);for(const Z of q)H.has(Z.id)&&!ie.find(oe=>oe.id===Z.id)&&ie.push(Z);if(!N)return{edges:ie,nodes:k};const W=await N({nodes:k,edges:ie});return typeof W=="boolean"?W?{edges:ie,nodes:k}:{edges:[],nodes:[]}:W}const vD=(b,E=0,x=1)=>Math.min(Math.max(b,E),x),OA=(b={x:0,y:0},E,x)=>({x:vD(b.x,E[0][0],E[1][0]-(x?.width??0)),y:vD(b.y,E[0][1],E[1][1]-(x?.height??0))});function Qdn(b,E,x){const{width:M,height:N}=a6(x),{x:$,y:k}=x.internals.positionAbsolute;return OA(b,[[$,k],[$+M,k+N]],E)}const w1n=(b,E,x)=>bx?-vD(Math.abs(b-x),1,E)/E:0,Wdn=(b,E,x=15,M=40)=>{const N=w1n(b.x,M,E.width-M)*x,$=w1n(b.y,M,E.height-M)*x;return[N,$]},$ue=(b,E)=>({x:Math.min(b.x,E.x),y:Math.min(b.y,E.y),x2:Math.max(b.x2,E.x2),y2:Math.max(b.y2,E.y2)}),dke=({x:b,y:E,width:x,height:M})=>({x:b,y:E,x2:b+x,y2:E+M}),Rue=({x:b,y:E,x2:x,y2:M})=>({x:b,y:E,width:x-b,height:M-E}),yD=(b,E=[0,0])=>{const{x,y:M}=Cke(b)?b.internals.positionAbsolute:tq(b,E);return{x,y:M,width:b.measured?.width??b.width??b.initialWidth??0,height:b.measured?.height??b.height??b.initialHeight??0}},Aue=(b,E=[0,0])=>{const{x,y:M}=Cke(b)?b.internals.positionAbsolute:tq(b,E);return{x,y:M,x2:x+(b.measured?.width??b.width??b.initialWidth??0),y2:M+(b.measured?.height??b.height??b.initialHeight??0)}},Zdn=(b,E)=>Rue($ue(dke(b),dke(E))),YG=(b,E)=>{const x=Math.max(0,Math.min(b.x+b.width,E.x+E.width)-Math.max(b.x,E.x)),M=Math.max(0,Math.min(b.y+b.height,E.y+E.height)-Math.max(b.y,E.y));return Math.ceil(x*M)},p1n=b=>rv(b.width)&&rv(b.height)&&rv(b.x)&&rv(b.y),rv=b=>!isNaN(b)&&isFinite(b),cGn=(b,E)=>{},rq=(b,E=[1,1])=>({x:E[0]*Math.round(b.x/E[0]),y:E[1]*Math.round(b.y/E[1])}),cq=({x:b,y:E},[x,M,N],$=!1,k=[1,1])=>{const H={x:(b-x)/N,y:(E-M)/N};return $?rq(H,k):H},Mue=({x:b,y:E},[x,M,N])=>({x:b*N+x,y:E*N+M});function aD(b,E){if(typeof b=="number")return Math.floor((E-E/(1+b))*.5);if(typeof b=="string"&&b.endsWith("px")){const x=parseFloat(b);if(!Number.isNaN(x))return Math.floor(x)}if(typeof b=="string"&&b.endsWith("%")){const x=parseFloat(b);if(!Number.isNaN(x))return Math.floor(E*x*.01)}return console.error(`[React Flow] The padding value "${b}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function uGn(b,E,x){if(typeof b=="string"||typeof b=="number"){const M=aD(b,x),N=aD(b,E);return{top:M,right:N,bottom:M,left:N,x:N*2,y:M*2}}if(typeof b=="object"){const M=aD(b.top??b.y??0,x),N=aD(b.bottom??b.y??0,x),$=aD(b.left??b.x??0,E),k=aD(b.right??b.x??0,E);return{top:M,right:k,bottom:N,left:$,x:$+k,y:M+N}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function oGn(b,E,x,M,N,$){const{x:k,y:H}=Mue(b,[E,x,M]),{x:q,y:G}=Mue({x:b.x+b.width,y:b.y+b.height},[E,x,M]),ie=N-q,W=$-G;return{left:Math.floor(k),top:Math.floor(H),right:Math.floor(ie),bottom:Math.floor(W)}}const Oke=(b,E,x,M,N,$)=>{const k=uGn($,E,x),H=(E-k.x)/b.width,q=(x-k.y)/b.height,G=Math.min(H,q),ie=vD(G,M,N),W=b.x+b.width/2,Z=b.y+b.height/2,se=E/2-W*ie,oe=x/2-Z*ie,ee=oGn(b,se,oe,ie,E,x),Me={left:Math.min(ee.left-k.left,0),top:Math.min(ee.top-k.top,0),right:Math.min(ee.right-k.right,0),bottom:Math.min(ee.bottom-k.bottom,0)};return{x:se-Me.left+Me.right,y:oe-Me.top+Me.bottom,zoom:ie}},QG=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function kD(b){return b!=null&&b!=="parent"}function a6(b){return{width:b.measured?.width??b.width??b.initialWidth??0,height:b.measured?.height??b.height??b.initialHeight??0}}function e0n(b){return(b.measured?.width??b.width??b.initialWidth)!==void 0&&(b.measured?.height??b.height??b.initialHeight)!==void 0}function n0n(b,E={width:0,height:0},x,M,N){const $={...b},k=M.get(x);if(k){const H=k.origin||N;$.x+=k.internals.positionAbsolute.x-(E.width??0)*H[0],$.y+=k.internals.positionAbsolute.y-(E.height??0)*H[1]}return $}function m1n(b,E){if(b.size!==E.size)return!1;for(const x of b)if(!E.has(x))return!1;return!0}function sGn(){let b,E;return{promise:new Promise((M,N)=>{b=M,E=N}),resolve:b,reject:E}}function lGn(b){return{...Udn,...b||{}}}function JG(b,{snapGrid:E=[0,0],snapToGrid:x=!1,transform:M,containerBounds:N}){const{x:$,y:k}=cv(b),H=cq({x:$-(N?.left??0),y:k-(N?.top??0)},M),{x:q,y:G}=x?rq(H,E):H;return{xSnapped:q,ySnapped:G,...H}}const Nke=b=>({width:b.offsetWidth,height:b.offsetHeight}),t0n=b=>b?.getRootNode?.()||window?.document,fGn=["INPUT","SELECT","TEXTAREA"];function i0n(b){const E=b.composedPath?.()?.[0]||b.target;return E?.nodeType!==1?!1:fGn.includes(E.nodeName)||E.hasAttribute("contenteditable")||!!E.closest(".nokey")}const r0n=b=>"clientX"in b,cv=(b,E)=>{const x=r0n(b),M=x?b.clientX:b.touches?.[0].clientX,N=x?b.clientY:b.touches?.[0].clientY;return{x:M-(E?.left??0),y:N-(E?.top??0)}},v1n=(b,E,x,M,N)=>{const $=E.querySelectorAll(`.${b}`);return!$||!$.length?null:Array.from($).map(k=>{const H=k.getBoundingClientRect();return{id:k.getAttribute("data-handleid"),type:b,nodeId:N,position:k.getAttribute("data-handlepos"),x:(H.left-x.left)/M,y:(H.top-x.top)/M,...Nke(k)}})};function c0n({sourceX:b,sourceY:E,targetX:x,targetY:M,sourceControlX:N,sourceControlY:$,targetControlX:k,targetControlY:H}){const q=b*.125+N*.375+k*.375+x*.125,G=E*.125+$*.375+H*.375+M*.125,ie=Math.abs(q-b),W=Math.abs(G-E);return[q,G,ie,W]}function tue(b,E){return b>=0?.5*b:E*25*Math.sqrt(-b)}function y1n({pos:b,x1:E,y1:x,x2:M,y2:N,c:$}){switch(b){case ur.Left:return[E-tue(E-M,$),x];case ur.Right:return[E+tue(M-E,$),x];case ur.Top:return[E,x-tue(x-N,$)];case ur.Bottom:return[E,x+tue(N-x,$)]}}function u0n({sourceX:b,sourceY:E,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top,curvature:k=.25}){const[H,q]=y1n({pos:x,x1:b,y1:E,x2:M,y2:N,c:k}),[G,ie]=y1n({pos:$,x1:M,y1:N,x2:b,y2:E,c:k}),[W,Z,se,oe]=c0n({sourceX:b,sourceY:E,targetX:M,targetY:N,sourceControlX:H,sourceControlY:q,targetControlX:G,targetControlY:ie});return[`M${b},${E} C${H},${q} ${G},${ie} ${M},${N}`,W,Z,se,oe]}function o0n({sourceX:b,sourceY:E,targetX:x,targetY:M}){const N=Math.abs(x-b)/2,$=x0}const dGn=({source:b,sourceHandle:E,target:x,targetHandle:M})=>`xy-edge__${b}${E||""}-${x}${M||""}`,bGn=(b,E)=>E.some(x=>x.source===b.source&&x.target===b.target&&(x.sourceHandle===b.sourceHandle||!x.sourceHandle&&!b.sourceHandle)&&(x.targetHandle===b.targetHandle||!x.targetHandle&&!b.targetHandle)),gGn=(b,E,x={})=>{if(!b.source||!b.target)return E;const M=x.getEdgeId||dGn;let N;return Vdn(b)?N={...b}:N={...b,id:M(b)},bGn(N,E)?E:(N.sourceHandle===null&&delete N.sourceHandle,N.targetHandle===null&&delete N.targetHandle,E.concat(N))};function s0n({sourceX:b,sourceY:E,targetX:x,targetY:M}){const[N,$,k,H]=o0n({sourceX:b,sourceY:E,targetX:x,targetY:M});return[`M ${b},${E}L ${x},${M}`,N,$,k,H]}const k1n={[ur.Left]:{x:-1,y:0},[ur.Right]:{x:1,y:0},[ur.Top]:{x:0,y:-1},[ur.Bottom]:{x:0,y:1}},wGn=({source:b,sourcePosition:E=ur.Bottom,target:x})=>E===ur.Left||E===ur.Right?b.xMath.sqrt(Math.pow(E.x-b.x,2)+Math.pow(E.y-b.y,2));function pGn({source:b,sourcePosition:E=ur.Bottom,target:x,targetPosition:M=ur.Top,center:N,offset:$,stepPosition:k}){const H=k1n[E],q=k1n[M],G={x:b.x+H.x*$,y:b.y+H.y*$},ie={x:x.x+q.x*$,y:x.y+q.y*$},W=wGn({source:G,sourcePosition:E,target:ie}),Z=W.x!==0?"x":"y",se=W[Z];let oe=[],ee,Me;const me={x:0,y:0},Pe={x:0,y:0},[,,ae,Ne]=o0n({sourceX:b.x,sourceY:b.y,targetX:x.x,targetY:x.y});if(H[Z]*q[Z]===-1){Z==="x"?(ee=N.x??G.x+(ie.x-G.x)*k,Me=N.y??(G.y+ie.y)/2):(ee=N.x??(G.x+ie.x)/2,Me=N.y??G.y+(ie.y-G.y)*k);const An=[{x:ee,y:G.y},{x:ee,y:ie.y}],xn=[{x:G.x,y:Me},{x:ie.x,y:Me}];H[Z]===se?oe=Z==="x"?An:xn:oe=Z==="x"?xn:An}else{const An=[{x:G.x,y:ie.y}],xn=[{x:ie.x,y:G.y}];if(Z==="x"?oe=H.x===se?xn:An:oe=H.y===se?An:xn,E===M){const Fe=Math.abs(b[Z]-x[Z]);if(Fe<=$){const wn=Math.min($-1,$-Fe);H[Z]===se?me[Z]=(G[Z]>b[Z]?-1:1)*wn:Pe[Z]=(ie[Z]>x[Z]?-1:1)*wn}}if(E!==M){const Fe=Z==="x"?"y":"x",wn=H[Z]===q[Fe],xe=G[Fe]>ie[Fe],Ge=G[Fe]=Y?(ee=(tt.x+mn.x)/2,Me=oe[0].y):(ee=oe[0].x,Me=(tt.y+mn.y)/2)}const Ue={x:G.x+me.x,y:G.y+me.y},ln={x:ie.x+Pe.x,y:ie.y+Pe.y};return[[b,...Ue.x!==oe[0].x||Ue.y!==oe[0].y?[Ue]:[],...oe,...ln.x!==oe[oe.length-1].x||ln.y!==oe[oe.length-1].y?[ln]:[],x],ee,Me,ae,Ne]}function mGn(b,E,x,M){const N=Math.min(j1n(b,E)/2,j1n(E,x)/2,M),{x:$,y:k}=E;if(b.x===$&&$===x.x||b.y===k&&k===x.y)return`L${$} ${k}`;if(b.y===k){const G=b.xx.id===E):b[0])||null}function bke(b,E){return b?typeof b=="string"?b:`${E?`${E}__`:""}${Object.keys(b).sort().map(M=>`${M}=${b[M]}`).join("&")}`:""}function yGn(b,{id:E,defaultColor:x,defaultMarkerStart:M,defaultMarkerEnd:N}){const $=new Set;return b.reduce((k,H)=>([H.markerStart||M,H.markerEnd||N].forEach(q=>{if(q&&typeof q=="object"){const G=bke(q,E);$.has(G)||(k.push({id:G,color:q.color||x,...q}),$.add(G))}}),k),[]).sort((k,H)=>k.id.localeCompare(H.id))}const l0n=1e3,kGn=10,Ike={nodeOrigin:[0,0],nodeExtent:XG,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},jGn={...Ike,checkEquality:!0};function Dke(b,E){const x={...b};for(const M in E)E[M]!==void 0&&(x[M]=E[M]);return x}function EGn(b,E,x){const M=Dke(Ike,x);for(const N of b.values())if(N.parentId)Lke(N,b,E,M);else{const $=tq(N,M.nodeOrigin),k=kD(N.extent)?N.extent:M.nodeExtent,H=OA($,k,a6(N));N.internals.positionAbsolute=H}}function SGn(b,E){if(!b.handles)return b.measured?E?.internals.handleBounds:void 0;const x=[],M=[];for(const N of b.handles){const $={id:N.id,width:N.width??1,height:N.height??1,nodeId:b.id,x:N.x,y:N.y,position:N.position,type:N.type};N.type==="source"?x.push($):N.type==="target"&&M.push($)}return{source:x,target:M}}function _ke(b){return b==="manual"}function gke(b,E,x,M={}){const N=Dke(jGn,M),$={i:0},k=new Map(E),H=N?.elevateNodesOnSelect&&!_ke(N.zIndexMode)?l0n:0;let q=b.length>0,G=!1;E.clear(),x.clear();for(const ie of b){let W=k.get(ie.id);if(N.checkEquality&&ie===W?.internals.userNode)E.set(ie.id,W);else{const Z=tq(ie,N.nodeOrigin),se=kD(ie.extent)?ie.extent:N.nodeExtent,oe=OA(Z,se,a6(ie));W={...N.defaults,...ie,measured:{width:ie.measured?.width,height:ie.measured?.height},internals:{positionAbsolute:oe,handleBounds:SGn(ie,W),z:f0n(ie,H,N.zIndexMode),userNode:ie}},E.set(ie.id,W)}(W.measured===void 0||W.measured.width===void 0||W.measured.height===void 0)&&!W.hidden&&(q=!1),ie.parentId&&Lke(W,E,x,M,$),G||=ie.selected??!1}return{nodesInitialized:q,hasSelectedNodes:G}}function xGn(b,E){if(!b.parentId)return;const x=E.get(b.parentId);x?x.set(b.id,b):E.set(b.parentId,new Map([[b.id,b]]))}function Lke(b,E,x,M,N){const{elevateNodesOnSelect:$,nodeOrigin:k,nodeExtent:H,zIndexMode:q}=Dke(Ike,M),G=b.parentId,ie=E.get(G);if(!ie){console.warn(`Parent node ${G} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}xGn(b,x),N&&!ie.parentId&&ie.internals.rootParentIndex===void 0&&q==="auto"&&(ie.internals.rootParentIndex=++N.i,ie.internals.z=ie.internals.z+N.i*kGn),N&&ie.internals.rootParentIndex!==void 0&&(N.i=ie.internals.rootParentIndex);const W=$&&!_ke(q)?l0n:0,{x:Z,y:se,z:oe}=AGn(b,ie,k,H,W,q),{positionAbsolute:ee}=b.internals,Me=Z!==ee.x||se!==ee.y;(Me||oe!==b.internals.z)&&E.set(b.id,{...b,internals:{...b.internals,positionAbsolute:Me?{x:Z,y:se}:ee,z:oe}})}function f0n(b,E,x){const M=rv(b.zIndex)?b.zIndex:0;return _ke(x)?M:M+(b.selected?E:0)}function AGn(b,E,x,M,N,$){const{x:k,y:H}=E.internals.positionAbsolute,q=a6(b),G=tq(b,x),ie=kD(b.extent)?OA(G,b.extent,q):G;let W=OA({x:k+ie.x,y:H+ie.y},M,q);b.extent==="parent"&&(W=Qdn(W,q,E));const Z=f0n(b,N,$),se=E.internals.z??0;return{x:W.x,y:W.y,z:se>=Z?se+1:Z}}function Pke(b,E,x,M=[0,0]){const N=[],$=new Map;for(const k of b){const H=E.get(k.parentId);if(!H)continue;const q=$.get(k.parentId)?.expandedRect??yD(H),G=Zdn(q,k.rect);$.set(k.parentId,{expandedRect:G,parent:H})}return $.size>0&&$.forEach(({expandedRect:k,parent:H},q)=>{const G=H.internals.positionAbsolute,ie=a6(H),W=H.origin??M,Z=k.x0||se>0||Me||me)&&(N.push({id:q,type:"position",position:{x:H.position.x-Z+Me,y:H.position.y-se+me}}),x.get(q)?.forEach(Pe=>{b.some(ae=>ae.id===Pe.id)||N.push({id:Pe.id,type:"position",position:{x:Pe.position.x+Z,y:Pe.position.y+se}})})),(ie.width0){const se=Pke(Z,E,x,N);G.push(...se)}return{changes:G,updatedInternals:q}}async function CGn({delta:b,panZoom:E,transform:x,translateExtent:M,width:N,height:$}){if(!E||!b.x&&!b.y)return Promise.resolve(!1);const k=await E.setViewportConstrained({x:x[0]+b.x,y:x[1]+b.y,zoom:x[2]},[[0,0],[N,$]],M),H=!!k&&(k.x!==x[0]||k.y!==x[1]||k.k!==x[2]);return Promise.resolve(H)}function A1n(b,E,x,M,N,$){let k=N;const H=M.get(k)||new Map;M.set(k,H.set(x,E)),k=`${N}-${b}`;const q=M.get(k)||new Map;if(M.set(k,q.set(x,E)),$){k=`${N}-${b}-${$}`;const G=M.get(k)||new Map;M.set(k,G.set(x,E))}}function a0n(b,E,x){b.clear(),E.clear();for(const M of x){const{source:N,target:$,sourceHandle:k=null,targetHandle:H=null}=M,q={edgeId:M.id,source:N,target:$,sourceHandle:k,targetHandle:H},G=`${N}-${k}--${$}-${H}`,ie=`${$}-${H}--${N}-${k}`;A1n("source",q,ie,b,N,k),A1n("target",q,G,b,$,H),E.set(M.id,M)}}function h0n(b,E){if(!b.parentId)return!1;const x=E.get(b.parentId);return x?x.selected?!0:h0n(x,E):!1}function M1n(b,E,x){let M=b;do{if(M?.matches?.(E))return!0;if(M===x)return!1;M=M?.parentElement}while(M);return!1}function TGn(b,E,x,M){const N=new Map;for(const[$,k]of b)if((k.selected||k.id===M)&&(!k.parentId||!h0n(k,b))&&(k.draggable||E&&typeof k.draggable>"u")){const H=b.get($);H&&N.set($,{id:$,position:H.position||{x:0,y:0},distance:{x:x.x-H.internals.positionAbsolute.x,y:x.y-H.internals.positionAbsolute.y},extent:H.extent,parentId:H.parentId,origin:H.origin,expandParent:H.expandParent,internals:{positionAbsolute:H.internals.positionAbsolute||{x:0,y:0}},measured:{width:H.measured.width??0,height:H.measured.height??0}})}return N}function z7e({nodeId:b,dragItems:E,nodeLookup:x,dragging:M=!0}){const N=[];for(const[k,H]of E){const q=x.get(k)?.internals.userNode;q&&N.push({...q,position:H.position,dragging:M})}if(!b)return[N[0],N];const $=x.get(b)?.internals.userNode;return[$?{...$,position:E.get(b)?.position||$.position,dragging:M}:N[0],N]}function OGn({dragItems:b,snapGrid:E,x,y:M}){const N=b.values().next().value;if(!N)return null;const $={x:x-N.distance.x,y:M-N.distance.y},k=rq($,E);return{x:k.x-$.x,y:k.y-$.y}}function NGn({onNodeMouseDown:b,getStoreItems:E,onDragStart:x,onDrag:M,onDragStop:N}){let $={x:null,y:null},k=0,H=new Map,q=!1,G={x:0,y:0},ie=null,W=!1,Z=null,se=!1,oe=!1,ee=null;function Me({noDragClassName:Pe,handleSelector:ae,domNode:Ne,isSelectable:Ue,nodeId:ln,nodeClickDistance:on=0}){Z=Gg(Ne);function An({x:vn,y:Y}){const{nodeLookup:Fe,nodeExtent:wn,snapGrid:xe,snapToGrid:Ge,nodeOrigin:fn,onNodeDrag:$e,onSelectionDrag:Mn,onError:ge,updateNodePositions:tn}=E();$={x:vn,y:Y};let Hn=!1;const ut=H.size>1,Jt=ut&&wn?dke(iq(H)):null,di=ut&&Ge?OGn({dragItems:H,snapGrid:xe,x:vn,y:Y}):null;for(const[Gt,At]of H){if(!Fe.has(Gt))continue;let si={x:vn-At.distance.x,y:Y-At.distance.y};Ge&&(si=di?{x:Math.round(si.x+di.x),y:Math.round(si.y+di.y)}:rq(si,xe));let Kr=null;if(ut&&wn&&!At.extent&&Jt){const{positionAbsolute:bi}=At.internals,zi=bi.x-Jt.x+wn[0][0],cu=bi.x+At.measured.width-Jt.x2+wn[1][0],Fu=bi.y-Jt.y+wn[0][1],Rs=bi.y+At.measured.height-Jt.y2+wn[1][1];Kr=[[zi,Fu],[cu,Rs]]}const{position:Er,positionAbsolute:Dt}=Ydn({nodeId:Gt,nextPosition:si,nodeLookup:Fe,nodeExtent:Kr||wn,nodeOrigin:fn,onError:ge});Hn=Hn||At.position.x!==Er.x||At.position.y!==Er.y,At.position=Er,At.internals.positionAbsolute=Dt}if(oe=oe||Hn,!!Hn&&(tn(H,!0),ee&&(M||$e||!ln&&Mn))){const[Gt,At]=z7e({nodeId:ln,dragItems:H,nodeLookup:Fe});M?.(ee,H,Gt,At),$e?.(ee,Gt,At),ln||Mn?.(ee,At)}}async function xn(){if(!ie)return;const{transform:vn,panBy:Y,autoPanSpeed:Fe,autoPanOnNodeDrag:wn}=E();if(!wn){q=!1,cancelAnimationFrame(k);return}const[xe,Ge]=Wdn(G,ie,Fe);(xe!==0||Ge!==0)&&($.x=($.x??0)-xe/vn[2],$.y=($.y??0)-Ge/vn[2],await Y({x:xe,y:Ge})&&An($)),k=requestAnimationFrame(xn)}function tt(vn){const{nodeLookup:Y,multiSelectionActive:Fe,nodesDraggable:wn,transform:xe,snapGrid:Ge,snapToGrid:fn,selectNodesOnDrag:$e,onNodeDragStart:Mn,onSelectionDragStart:ge,unselectNodesAndEdges:tn}=E();W=!0,(!$e||!Ue)&&!Fe&&ln&&(Y.get(ln)?.selected||tn()),Ue&&$e&&ln&&b?.(ln);const Hn=JG(vn.sourceEvent,{transform:xe,snapGrid:Ge,snapToGrid:fn,containerBounds:ie});if($=Hn,H=TGn(Y,wn,Hn,ln),H.size>0&&(x||Mn||!ln&&ge)){const[ut,Jt]=z7e({nodeId:ln,dragItems:H,nodeLookup:Y});x?.(vn.sourceEvent,H,ut,Jt),Mn?.(vn.sourceEvent,ut,Jt),ln||ge?.(vn.sourceEvent,Jt)}}const mn=Tdn().clickDistance(on).on("start",vn=>{const{domNode:Y,nodeDragThreshold:Fe,transform:wn,snapGrid:xe,snapToGrid:Ge}=E();ie=Y?.getBoundingClientRect()||null,se=!1,oe=!1,ee=vn.sourceEvent,Fe===0&&tt(vn),$=JG(vn.sourceEvent,{transform:wn,snapGrid:xe,snapToGrid:Ge,containerBounds:ie}),G=cv(vn.sourceEvent,ie)}).on("drag",vn=>{const{autoPanOnNodeDrag:Y,transform:Fe,snapGrid:wn,snapToGrid:xe,nodeDragThreshold:Ge,nodeLookup:fn}=E(),$e=JG(vn.sourceEvent,{transform:Fe,snapGrid:wn,snapToGrid:xe,containerBounds:ie});if(ee=vn.sourceEvent,(vn.sourceEvent.type==="touchmove"&&vn.sourceEvent.touches.length>1||ln&&!fn.has(ln))&&(se=!0),!se){if(!q&&Y&&W&&(q=!0,xn()),!W){const Mn=cv(vn.sourceEvent,ie),ge=Mn.x-G.x,tn=Mn.y-G.y;Math.sqrt(ge*ge+tn*tn)>Ge&&tt(vn)}($.x!==$e.xSnapped||$.y!==$e.ySnapped)&&H&&W&&(G=cv(vn.sourceEvent,ie),An($e))}}).on("end",vn=>{if(!(!W||se)&&(q=!1,W=!1,cancelAnimationFrame(k),H.size>0)){const{nodeLookup:Y,updateNodePositions:Fe,onNodeDragStop:wn,onSelectionDragStop:xe}=E();if(oe&&(Fe(H,!1),oe=!1),N||wn||!ln&&xe){const[Ge,fn]=z7e({nodeId:ln,dragItems:H,nodeLookup:Y,dragging:!1});N?.(vn.sourceEvent,H,Ge,fn),wn?.(vn.sourceEvent,Ge,fn),ln||xe?.(vn.sourceEvent,fn)}}}).filter(vn=>{const Y=vn.target;return!vn.button&&(!Pe||!M1n(Y,`.${Pe}`,Ne))&&(!ae||M1n(Y,ae,Ne))});Z.call(mn)}function me(){Z?.on(".drag",null)}return{update:Me,destroy:me}}function IGn(b,E,x){const M=[],N={x:b.x-x,y:b.y-x,width:x*2,height:x*2};for(const $ of E.values())YG(N,yD($))>0&&M.push($);return M}const DGn=250;function _Gn(b,E,x,M){let N=[],$=1/0;const k=IGn(b,x,E+DGn);for(const H of k){const q=[...H.internals.handleBounds?.source??[],...H.internals.handleBounds?.target??[]];for(const G of q){if(M.nodeId===G.nodeId&&M.type===G.type&&M.id===G.id)continue;const{x:ie,y:W}=NA(H,G,G.position,!0),Z=Math.sqrt(Math.pow(ie-b.x,2)+Math.pow(W-b.y,2));Z>E||(Z<$?(N=[{...G,x:ie,y:W}],$=Z):Z===$&&N.push({...G,x:ie,y:W}))}}if(!N.length)return null;if(N.length>1){const H=M.type==="source"?"target":"source";return N.find(q=>q.type===H)??N[0]}return N[0]}function d0n(b,E,x,M,N,$=!1){const k=M.get(b);if(!k)return null;const H=N==="strict"?k.internals.handleBounds?.[E]:[...k.internals.handleBounds?.source??[],...k.internals.handleBounds?.target??[]],q=(x?H?.find(G=>G.id===x):H?.[0])??null;return q&&$?{...q,...NA(k,q,q.position,!0)}:q}function b0n(b,E){return b||(E?.classList.contains("target")?"target":E?.classList.contains("source")?"source":null)}function LGn(b,E){let x=null;return E?x=!0:b&&!E&&(x=!1),x}const g0n=()=>!0;function PGn(b,{connectionMode:E,connectionRadius:x,handleId:M,nodeId:N,edgeUpdaterType:$,isTarget:k,domNode:H,nodeLookup:q,lib:G,autoPanOnConnect:ie,flowId:W,panBy:Z,cancelConnection:se,onConnectStart:oe,onConnect:ee,onConnectEnd:Me,isValidConnection:me=g0n,onReconnectEnd:Pe,updateConnection:ae,getTransform:Ne,getFromHandle:Ue,autoPanSpeed:ln,dragThreshold:on=1,handleDomNode:An}){const xn=t0n(b.target);let tt=0,mn;const{x:vn,y:Y}=cv(b),Fe=b0n($,An),wn=H?.getBoundingClientRect();let xe=!1;if(!wn||!Fe)return;const Ge=d0n(N,Fe,M,q,E);if(!Ge)return;let fn=cv(b,wn),$e=!1,Mn=null,ge=!1,tn=null;function Hn(){if(!ie||!wn)return;const[Er,Dt]=Wdn(fn,wn,ln);Z({x:Er,y:Dt}),tt=requestAnimationFrame(Hn)}const ut={...Ge,nodeId:N,type:Fe,position:Ge.position},Jt=q.get(N);let Gt={inProgress:!0,isValid:null,from:NA(Jt,ut,ur.Left,!0),fromHandle:ut,fromPosition:ut.position,fromNode:Jt,to:fn,toHandle:null,toPosition:g1n[ut.position],toNode:null,pointer:fn};function At(){xe=!0,ae(Gt),oe?.(b,{nodeId:N,handleId:M,handleType:Fe})}on===0&&At();function si(Er){if(!xe){const{x:Rs,y:ra}=cv(Er),nf=Rs-vn,Ia=ra-Y;if(!(nf*nf+Ia*Ia>on*on))return;At()}if(!Ue()||!ut){Kr(Er);return}const Dt=Ne();fn=cv(Er,wn),mn=_Gn(cq(fn,Dt,!1,[1,1]),x,q,ut),$e||(Hn(),$e=!0);const bi=w0n(Er,{handle:mn,connectionMode:E,fromNodeId:N,fromHandleId:M,fromType:k?"target":"source",isValidConnection:me,doc:xn,lib:G,flowId:W,nodeLookup:q});tn=bi.handleDomNode,Mn=bi.connection,ge=LGn(!!mn,bi.isValid);const zi=q.get(N),cu=zi?NA(zi,ut,ur.Left,!0):Gt.from,Fu={...Gt,from:cu,isValid:ge,to:bi.toHandle&&ge?Mue({x:bi.toHandle.x,y:bi.toHandle.y},Dt):fn,toHandle:bi.toHandle,toPosition:ge&&bi.toHandle?bi.toHandle.position:g1n[ut.position],toNode:bi.toHandle?q.get(bi.toHandle.nodeId):null,pointer:fn};ae(Fu),Gt=Fu}function Kr(Er){if(!("touches"in Er&&Er.touches.length>0)){if(xe){(mn||tn)&&Mn&&ge&&ee?.(Mn);const{inProgress:Dt,...bi}=Gt,zi={...bi,toPosition:Gt.toHandle?Gt.toPosition:null};Me?.(Er,zi),$&&Pe?.(Er,zi)}se(),cancelAnimationFrame(tt),$e=!1,ge=!1,Mn=null,tn=null,xn.removeEventListener("mousemove",si),xn.removeEventListener("mouseup",Kr),xn.removeEventListener("touchmove",si),xn.removeEventListener("touchend",Kr)}}xn.addEventListener("mousemove",si),xn.addEventListener("mouseup",Kr),xn.addEventListener("touchmove",si),xn.addEventListener("touchend",Kr)}function w0n(b,{handle:E,connectionMode:x,fromNodeId:M,fromHandleId:N,fromType:$,doc:k,lib:H,flowId:q,isValidConnection:G=g0n,nodeLookup:ie}){const W=$==="target",Z=E?k.querySelector(`.${H}-flow__handle[data-id="${q}-${E?.nodeId}-${E?.id}-${E?.type}"]`):null,{x:se,y:oe}=cv(b),ee=k.elementFromPoint(se,oe),Me=ee?.classList.contains(`${H}-flow__handle`)?ee:Z,me={handleDomNode:Me,isValid:!1,connection:null,toHandle:null};if(Me){const Pe=b0n(void 0,Me),ae=Me.getAttribute("data-nodeid"),Ne=Me.getAttribute("data-handleid"),Ue=Me.classList.contains("connectable"),ln=Me.classList.contains("connectableend");if(!ae||!Pe)return me;const on={source:W?ae:M,sourceHandle:W?Ne:N,target:W?M:ae,targetHandle:W?N:Ne};me.connection=on;const xn=Ue&&ln&&(x===mD.Strict?W&&Pe==="source"||!W&&Pe==="target":ae!==M||Ne!==N);me.isValid=xn&&G(on),me.toHandle=d0n(ae,Pe,Ne,ie,x,!0)}return me}const wke={onPointerDown:PGn,isValid:w0n};function $Gn({domNode:b,panZoom:E,getTransform:x,getViewScale:M}){const N=Gg(b);function $({translateExtent:H,width:q,height:G,zoomStep:ie=1,pannable:W=!0,zoomable:Z=!0,inversePan:se=!1}){const oe=ae=>{if(ae.sourceEvent.type!=="wheel"||!E)return;const Ne=x(),Ue=ae.sourceEvent.ctrlKey&&QG()?10:1,ln=-ae.sourceEvent.deltaY*(ae.sourceEvent.deltaMode===1?.05:ae.sourceEvent.deltaMode?1:.002)*ie,on=Ne[2]*Math.pow(2,ln*Ue);E.scaleTo(on)};let ee=[0,0];const Me=ae=>{(ae.sourceEvent.type==="mousedown"||ae.sourceEvent.type==="touchstart")&&(ee=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY])},me=ae=>{const Ne=x();if(ae.sourceEvent.type!=="mousemove"&&ae.sourceEvent.type!=="touchmove"||!E)return;const Ue=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY],ln=[Ue[0]-ee[0],Ue[1]-ee[1]];ee=Ue;const on=M()*Math.max(Ne[2],Math.log(Ne[2]))*(se?-1:1),An={x:Ne[0]-ln[0]*on,y:Ne[1]-ln[1]*on},xn=[[0,0],[q,G]];E.setViewportConstrained({x:An.x,y:An.y,zoom:Ne[2]},xn,H)},Pe=Gdn().on("start",Me).on("zoom",W?me:null).on("zoom.wheel",Z?oe:null);N.call(Pe,{})}function k(){N.on("zoom",null)}return{update:$,destroy:k,pointer:tv}}const Bue=b=>({x:b.x,y:b.y,zoom:b.k}),F7e=({x:b,y:E,zoom:x})=>Pue.translate(b,E).scale(x),hD=(b,E)=>b.target.closest(`.${E}`),p0n=(b,E)=>E===2&&Array.isArray(b)&&b.includes(2),RGn=b=>((b*=2)<=1?b*b*b:(b-=2)*b*b+2)/2,J7e=(b,E=0,x=RGn,M=()=>{})=>{const N=typeof E=="number"&&E>0;return N||M(),N?b.transition().duration(E).ease(x).on("end",M):b},m0n=b=>{const E=b.ctrlKey&&QG()?10:1;return-b.deltaY*(b.deltaMode===1?.05:b.deltaMode?1:.002)*E};function BGn({zoomPanValues:b,noWheelClassName:E,d3Selection:x,d3Zoom:M,panOnScrollMode:N,panOnScrollSpeed:$,zoomOnPinch:k,onPanZoomStart:H,onPanZoom:q,onPanZoomEnd:G}){return ie=>{if(hD(ie,E))return ie.ctrlKey&&ie.preventDefault(),!1;ie.preventDefault(),ie.stopImmediatePropagation();const W=x.property("__zoom").k||1;if(ie.ctrlKey&&k){const Me=tv(ie),me=m0n(ie),Pe=W*Math.pow(2,me);M.scaleTo(x,Pe,Me,ie);return}const Z=ie.deltaMode===1?20:1;let se=N===AA.Vertical?0:ie.deltaX*Z,oe=N===AA.Horizontal?0:ie.deltaY*Z;!QG()&&ie.shiftKey&&N!==AA.Vertical&&(se=ie.deltaY*Z,oe=0),M.translateBy(x,-(se/W)*$,-(oe/W)*$,{internal:!0});const ee=Bue(x.property("__zoom"));clearTimeout(b.panScrollTimeout),b.isPanScrolling?(q?.(ie,ee),b.panScrollTimeout=setTimeout(()=>{G?.(ie,ee),b.isPanScrolling=!1},150)):(b.isPanScrolling=!0,H?.(ie,ee))}}function zGn({noWheelClassName:b,preventScrolling:E,d3ZoomHandler:x}){return function(M,N){const $=M.type==="wheel",k=!E&&$&&!M.ctrlKey,H=hD(M,b);if(M.ctrlKey&&$&&H&&M.preventDefault(),k||H)return null;M.preventDefault(),x.call(this,M,N)}}function FGn({zoomPanValues:b,onDraggingChange:E,onPanZoomStart:x}){return M=>{if(M.sourceEvent?.internal)return;const N=Bue(M.transform);b.mouseButton=M.sourceEvent?.button||0,b.isZoomingOrPanning=!0,b.prevViewport=N,M.sourceEvent?.type==="mousedown"&&E(!0),x&&x?.(M.sourceEvent,N)}}function JGn({zoomPanValues:b,panOnDrag:E,onPaneContextMenu:x,onTransformChange:M,onPanZoom:N}){return $=>{b.usedRightMouseButton=!!(x&&p0n(E,b.mouseButton??0)),$.sourceEvent?.sync||M([$.transform.x,$.transform.y,$.transform.k]),N&&!$.sourceEvent?.internal&&N?.($.sourceEvent,Bue($.transform))}}function HGn({zoomPanValues:b,panOnDrag:E,panOnScroll:x,onDraggingChange:M,onPanZoomEnd:N,onPaneContextMenu:$}){return k=>{if(!k.sourceEvent?.internal&&(b.isZoomingOrPanning=!1,$&&p0n(E,b.mouseButton??0)&&!b.usedRightMouseButton&&k.sourceEvent&&$(k.sourceEvent),b.usedRightMouseButton=!1,M(!1),N)){const H=Bue(k.transform);b.prevViewport=H,clearTimeout(b.timerId),b.timerId=setTimeout(()=>{N?.(k.sourceEvent,H)},x?150:0)}}}function GGn({zoomActivationKeyPressed:b,zoomOnScroll:E,zoomOnPinch:x,panOnDrag:M,panOnScroll:N,zoomOnDoubleClick:$,userSelectionActive:k,noWheelClassName:H,noPanClassName:q,lib:G,connectionInProgress:ie}){return W=>{const Z=b||E,se=x&&W.ctrlKey,oe=W.type==="wheel";if(W.button===1&&W.type==="mousedown"&&(hD(W,`${G}-flow__node`)||hD(W,`${G}-flow__edge`)))return!0;if(!M&&!Z&&!N&&!$&&!x||k||ie&&!oe||hD(W,H)&&oe||hD(W,q)&&(!oe||N&&oe&&!b)||!x&&W.ctrlKey&&oe)return!1;if(!x&&W.type==="touchstart"&&W.touches?.length>1)return W.preventDefault(),!1;if(!Z&&!N&&!se&&oe||!M&&(W.type==="mousedown"||W.type==="touchstart")||Array.isArray(M)&&!M.includes(W.button)&&W.type==="mousedown")return!1;const ee=Array.isArray(M)&&M.includes(W.button)||!W.button||W.button<=1;return(!W.ctrlKey||oe)&&ee}}function qGn({domNode:b,minZoom:E,maxZoom:x,translateExtent:M,viewport:N,onPanZoom:$,onPanZoomStart:k,onPanZoomEnd:H,onDraggingChange:q}){const G={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},ie=b.getBoundingClientRect(),W=Gdn().scaleExtent([E,x]).translateExtent(M),Z=Gg(b).call(W);Pe({x:N.x,y:N.y,zoom:vD(N.zoom,E,x)},[[0,0],[ie.width,ie.height]],M);const se=Z.on("wheel.zoom"),oe=Z.on("dblclick.zoom");W.wheelDelta(m0n);function ee(mn,vn){return Z?new Promise(Y=>{W?.interpolate(vn?.interpolate==="linear"?FG:hue).transform(J7e(Z,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function Me({noWheelClassName:mn,noPanClassName:vn,onPaneContextMenu:Y,userSelectionActive:Fe,panOnScroll:wn,panOnDrag:xe,panOnScrollMode:Ge,panOnScrollSpeed:fn,preventScrolling:$e,zoomOnPinch:Mn,zoomOnScroll:ge,zoomOnDoubleClick:tn,zoomActivationKeyPressed:Hn,lib:ut,onTransformChange:Jt,connectionInProgress:di,paneClickDistance:Gt,selectionOnDrag:At}){Fe&&!G.isZoomingOrPanning&&me();const si=wn&&!Hn&&!Fe;W.clickDistance(At?1/0:!rv(Gt)||Gt<0?0:Gt);const Kr=si?BGn({zoomPanValues:G,noWheelClassName:mn,d3Selection:Z,d3Zoom:W,panOnScrollMode:Ge,panOnScrollSpeed:fn,zoomOnPinch:Mn,onPanZoomStart:k,onPanZoom:$,onPanZoomEnd:H}):zGn({noWheelClassName:mn,preventScrolling:$e,d3ZoomHandler:se});if(Z.on("wheel.zoom",Kr,{passive:!1}),!Fe){const Dt=FGn({zoomPanValues:G,onDraggingChange:q,onPanZoomStart:k});W.on("start",Dt);const bi=JGn({zoomPanValues:G,panOnDrag:xe,onPaneContextMenu:!!Y,onPanZoom:$,onTransformChange:Jt});W.on("zoom",bi);const zi=HGn({zoomPanValues:G,panOnDrag:xe,panOnScroll:wn,onPaneContextMenu:Y,onPanZoomEnd:H,onDraggingChange:q});W.on("end",zi)}const Er=GGn({zoomActivationKeyPressed:Hn,panOnDrag:xe,zoomOnScroll:ge,panOnScroll:wn,zoomOnDoubleClick:tn,zoomOnPinch:Mn,userSelectionActive:Fe,noPanClassName:vn,noWheelClassName:mn,lib:ut,connectionInProgress:di});W.filter(Er),tn?Z.on("dblclick.zoom",oe):Z.on("dblclick.zoom",null)}function me(){W.on("zoom",null)}async function Pe(mn,vn,Y){const Fe=F7e(mn),wn=W?.constrain()(Fe,vn,Y);return wn&&await ee(wn),new Promise(xe=>xe(wn))}async function ae(mn,vn){const Y=F7e(mn);return await ee(Y,vn),new Promise(Fe=>Fe(Y))}function Ne(mn){if(Z){const vn=F7e(mn),Y=Z.property("__zoom");(Y.k!==mn.zoom||Y.x!==mn.x||Y.y!==mn.y)&&W?.transform(Z,vn,null,{sync:!0})}}function Ue(){const mn=Z?Hdn(Z.node()):{x:0,y:0,k:1};return{x:mn.x,y:mn.y,zoom:mn.k}}function ln(mn,vn){return Z?new Promise(Y=>{W?.interpolate(vn?.interpolate==="linear"?FG:hue).scaleTo(J7e(Z,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function on(mn,vn){return Z?new Promise(Y=>{W?.interpolate(vn?.interpolate==="linear"?FG:hue).scaleBy(J7e(Z,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function An(mn){W?.scaleExtent(mn)}function xn(mn){W?.translateExtent(mn)}function tt(mn){const vn=!rv(mn)||mn<0?0:mn;W?.clickDistance(vn)}return{update:Me,destroy:me,setViewport:ae,setViewportConstrained:Pe,getViewport:Ue,scaleTo:ln,scaleBy:on,setScaleExtent:An,setTranslateExtent:xn,syncViewport:Ne,setClickDistance:tt}}var jD;(function(b){b.Line="line",b.Handle="handle"})(jD||(jD={}));function UGn({width:b,prevWidth:E,height:x,prevHeight:M,affectsX:N,affectsY:$}){const k=b-E,H=x-M,q=[k>0?1:k<0?-1:0,H>0?1:H<0?-1:0];return k&&N&&(q[0]=q[0]*-1),H&&$&&(q[1]=q[1]*-1),q}function C1n(b){const E=b.includes("right")||b.includes("left"),x=b.includes("bottom")||b.includes("top"),M=b.includes("left"),N=b.includes("top");return{isHorizontal:E,isVertical:x,affectsX:M,affectsY:N}}function nk(b,E){return Math.max(0,E-b)}function tk(b,E){return Math.max(0,b-E)}function iue(b,E,x){return Math.max(0,E-b,b-x)}function T1n(b,E){return b?!E:E}function XGn(b,E,x,M,N,$,k,H){let{affectsX:q,affectsY:G}=E;const{isHorizontal:ie,isVertical:W}=E,Z=ie&&W,{xSnapped:se,ySnapped:oe}=x,{minWidth:ee,maxWidth:Me,minHeight:me,maxHeight:Pe}=M,{x:ae,y:Ne,width:Ue,height:ln,aspectRatio:on}=b;let An=Math.floor(ie?se-b.pointerX:0),xn=Math.floor(W?oe-b.pointerY:0);const tt=Ue+(q?-An:An),mn=ln+(G?-xn:xn),vn=-$[0]*Ue,Y=-$[1]*ln;let Fe=iue(tt,ee,Me),wn=iue(mn,me,Pe);if(k){let fn=0,$e=0;q&&An<0?fn=nk(ae+An+vn,k[0][0]):!q&&An>0&&(fn=tk(ae+tt+vn,k[1][0])),G&&xn<0?$e=nk(Ne+xn+Y,k[0][1]):!G&&xn>0&&($e=tk(Ne+mn+Y,k[1][1])),Fe=Math.max(Fe,fn),wn=Math.max(wn,$e)}if(H){let fn=0,$e=0;q&&An>0?fn=tk(ae+An,H[0][0]):!q&&An<0&&(fn=nk(ae+tt,H[1][0])),G&&xn>0?$e=tk(Ne+xn,H[0][1]):!G&&xn<0&&($e=nk(Ne+mn,H[1][1])),Fe=Math.max(Fe,fn),wn=Math.max(wn,$e)}if(N){if(ie){const fn=iue(tt/on,me,Pe)*on;if(Fe=Math.max(Fe,fn),k){let $e=0;!q&&!G||q&&!G&&Z?$e=tk(Ne+Y+tt/on,k[1][1])*on:$e=nk(Ne+Y+(q?An:-An)/on,k[0][1])*on,Fe=Math.max(Fe,$e)}if(H){let $e=0;!q&&!G||q&&!G&&Z?$e=nk(Ne+tt/on,H[1][1])*on:$e=tk(Ne+(q?An:-An)/on,H[0][1])*on,Fe=Math.max(Fe,$e)}}if(W){const fn=iue(mn*on,ee,Me)/on;if(wn=Math.max(wn,fn),k){let $e=0;!q&&!G||G&&!q&&Z?$e=tk(ae+mn*on+vn,k[1][0])/on:$e=nk(ae+(G?xn:-xn)*on+vn,k[0][0])/on,wn=Math.max(wn,$e)}if(H){let $e=0;!q&&!G||G&&!q&&Z?$e=nk(ae+mn*on,H[1][0])/on:$e=tk(ae+(G?xn:-xn)*on,H[0][0])/on,wn=Math.max(wn,$e)}}}xn=xn+(xn<0?wn:-wn),An=An+(An<0?Fe:-Fe),N&&(Z?tt>mn*on?xn=(T1n(q,G)?-An:An)/on:An=(T1n(q,G)?-xn:xn)*on:ie?(xn=An/on,G=q):(An=xn*on,q=G));const xe=q?ae+An:ae,Ge=G?Ne+xn:Ne;return{width:Ue+(q?-An:An),height:ln+(G?-xn:xn),x:$[0]*An*(q?-1:1)+xe,y:$[1]*xn*(G?-1:1)+Ge}}const v0n={width:0,height:0,x:0,y:0},KGn={...v0n,pointerX:0,pointerY:0,aspectRatio:1};function VGn(b){return[[0,0],[b.measured.width,b.measured.height]]}function YGn(b,E,x){const M=E.position.x+b.position.x,N=E.position.y+b.position.y,$=b.measured.width??0,k=b.measured.height??0,H=x[0]*$,q=x[1]*k;return[[M-H,N-q],[M+$-H,N+k-q]]}function QGn({domNode:b,nodeId:E,getStoreItems:x,onChange:M,onEnd:N}){const $=Gg(b);let k={controlDirection:C1n("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function H({controlPosition:G,boundaries:ie,keepAspectRatio:W,resizeDirection:Z,onResizeStart:se,onResize:oe,onResizeEnd:ee,shouldResize:Me}){let me={...v0n},Pe={...KGn};k={boundaries:ie,resizeDirection:Z,keepAspectRatio:W,controlDirection:C1n(G)};let ae,Ne=null,Ue=[],ln,on,An,xn=!1;const tt=Tdn().on("start",mn=>{const{nodeLookup:vn,transform:Y,snapGrid:Fe,snapToGrid:wn,nodeOrigin:xe,paneDomNode:Ge}=x();if(ae=vn.get(E),!ae)return;Ne=Ge?.getBoundingClientRect()??null;const{xSnapped:fn,ySnapped:$e}=JG(mn.sourceEvent,{transform:Y,snapGrid:Fe,snapToGrid:wn,containerBounds:Ne});me={width:ae.measured.width??0,height:ae.measured.height??0,x:ae.position.x??0,y:ae.position.y??0},Pe={...me,pointerX:fn,pointerY:$e,aspectRatio:me.width/me.height},ln=void 0,ae.parentId&&(ae.extent==="parent"||ae.expandParent)&&(ln=vn.get(ae.parentId),on=ln&&ae.extent==="parent"?VGn(ln):void 0),Ue=[],An=void 0;for(const[Mn,ge]of vn)if(ge.parentId===E&&(Ue.push({id:Mn,position:{...ge.position},extent:ge.extent}),ge.extent==="parent"||ge.expandParent)){const tn=YGn(ge,ae,ge.origin??xe);An?An=[[Math.min(tn[0][0],An[0][0]),Math.min(tn[0][1],An[0][1])],[Math.max(tn[1][0],An[1][0]),Math.max(tn[1][1],An[1][1])]]:An=tn}se?.(mn,{...me})}).on("drag",mn=>{const{transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn}=x(),xe=JG(mn.sourceEvent,{transform:vn,snapGrid:Y,snapToGrid:Fe,containerBounds:Ne}),Ge=[];if(!ae)return;const{x:fn,y:$e,width:Mn,height:ge}=me,tn={},Hn=ae.origin??wn,{width:ut,height:Jt,x:di,y:Gt}=XGn(Pe,k.controlDirection,xe,k.boundaries,k.keepAspectRatio,Hn,on,An),At=ut!==Mn,si=Jt!==ge,Kr=di!==fn&&At,Er=Gt!==$e&&si;if(!Kr&&!Er&&!At&&!si)return;if((Kr||Er||Hn[0]===1||Hn[1]===1)&&(tn.x=Kr?di:me.x,tn.y=Er?Gt:me.y,me.x=tn.x,me.y=tn.y,Ue.length>0)){const cu=di-fn,Fu=Gt-$e;for(const Rs of Ue)Rs.position={x:Rs.position.x-cu+Hn[0]*(ut-Mn),y:Rs.position.y-Fu+Hn[1]*(Jt-ge)},Ge.push(Rs)}if((At||si)&&(tn.width=At&&(!k.resizeDirection||k.resizeDirection==="horizontal")?ut:me.width,tn.height=si&&(!k.resizeDirection||k.resizeDirection==="vertical")?Jt:me.height,me.width=tn.width,me.height=tn.height),ln&&ae.expandParent){const cu=Hn[0]*(tn.width??0);tn.x&&tn.x{xn&&(ee?.(mn,{...me}),N?.({...me}),xn=!1)});$.call(tt)}function q(){$.on(".drag",null)}return{update:H,destroy:q}}var H7e={exports:{}},G7e={},q7e={exports:{}},U7e={};var O1n;function WGn(){if(O1n)return U7e;O1n=1;var b=ZG();function E(W,Z){return W===Z&&(W!==0||1/W===1/Z)||W!==W&&Z!==Z}var x=typeof Object.is=="function"?Object.is:E,M=b.useState,N=b.useEffect,$=b.useLayoutEffect,k=b.useDebugValue;function H(W,Z){var se=Z(),oe=M({inst:{value:se,getSnapshot:Z}}),ee=oe[0].inst,Me=oe[1];return $(function(){ee.value=se,ee.getSnapshot=Z,q(ee)&&Me({inst:ee})},[W,se,Z]),N(function(){return q(ee)&&Me({inst:ee}),W(function(){q(ee)&&Me({inst:ee})})},[W]),k(se),se}function q(W){var Z=W.getSnapshot;W=W.value;try{var se=Z();return!x(W,se)}catch{return!0}}function G(W,Z){return Z()}var ie=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?G:H;return U7e.useSyncExternalStore=b.useSyncExternalStore!==void 0?b.useSyncExternalStore:ie,U7e}var N1n;function ZGn(){return N1n||(N1n=1,q7e.exports=WGn()),q7e.exports}var I1n;function eqn(){if(I1n)return G7e;I1n=1;var b=ZG(),E=ZGn();function x(G,ie){return G===ie&&(G!==0||1/G===1/ie)||G!==G&&ie!==ie}var M=typeof Object.is=="function"?Object.is:x,N=E.useSyncExternalStore,$=b.useRef,k=b.useEffect,H=b.useMemo,q=b.useDebugValue;return G7e.useSyncExternalStoreWithSelector=function(G,ie,W,Z,se){var oe=$(null);if(oe.current===null){var ee={hasValue:!1,value:null};oe.current=ee}else ee=oe.current;oe=H(function(){function me(ln){if(!Pe){if(Pe=!0,ae=ln,ln=Z(ln),se!==void 0&&ee.hasValue){var on=ee.value;if(se(on,ln))return Ne=on}return Ne=ln}if(on=Ne,M(ae,ln))return on;var An=Z(ln);return se!==void 0&&se(on,An)?(ae=ln,on):(ae=ln,Ne=An)}var Pe=!1,ae,Ne,Ue=W===void 0?null:W;return[function(){return me(ie())},Ue===null?void 0:function(){return me(Ue())}]},[ie,W,Z,se]);var Me=N(G,oe[0],oe[1]);return k(function(){ee.hasValue=!0,ee.value=Me},[Me]),q(Me),Me},G7e}var D1n;function nqn(){return D1n||(D1n=1,H7e.exports=eqn()),H7e.exports}var tqn=nqn();const iqn=yke(tqn),rqn={},_1n=b=>{let E;const x=new Set,M=(ie,W)=>{const Z=typeof ie=="function"?ie(E):ie;if(!Object.is(Z,E)){const se=E;E=W??(typeof Z!="object"||Z===null)?Z:Object.assign({},E,Z),x.forEach(oe=>oe(E,se))}},N=()=>E,q={setState:M,getState:N,getInitialState:()=>G,subscribe:ie=>(x.add(ie),()=>x.delete(ie)),destroy:()=>{(rqn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),x.clear()}},G=E=b(M,N,q);return q},cqn=b=>b?_1n(b):_1n,{useDebugValue:uqn}=hzn,{useSyncExternalStoreWithSelector:oqn}=iqn,sqn=b=>b;function y0n(b,E=sqn,x){const M=oqn(b.subscribe,b.getState,b.getServerState||b.getInitialState,E,x);return uqn(M),M}const L1n=(b,E)=>{const x=cqn(b),M=(N,$=E)=>y0n(x,N,$);return Object.assign(M,x),M},lqn=(b,E)=>b?L1n(b,E):L1n;function El(b,E){if(Object.is(b,E))return!0;if(typeof b!="object"||b===null||typeof E!="object"||E===null)return!1;if(b instanceof Map&&E instanceof Map){if(b.size!==E.size)return!1;for(const[M,N]of b)if(!Object.is(N,E.get(M)))return!1;return!0}if(b instanceof Set&&E instanceof Set){if(b.size!==E.size)return!1;for(const M of b)if(!E.has(M))return!1;return!0}const x=Object.keys(b);if(x.length!==Object.keys(E).length)return!1;for(const M of x)if(!Object.prototype.hasOwnProperty.call(E,M)||!Object.is(b[M],E[M]))return!1;return!0}var fqn=bdn();const zue=Re.createContext(null),aqn=zue.Provider,k0n=g5.error001();function zu(b,E){const x=Re.useContext(zue);if(x===null)throw new Error(k0n);return y0n(x,b,E)}function Sl(){const b=Re.useContext(zue);if(b===null)throw new Error(k0n);return Re.useMemo(()=>({getState:b.getState,setState:b.setState,subscribe:b.subscribe}),[b])}const P1n={display:"none"},hqn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},j0n="react-flow__node-desc",E0n="react-flow__edge-desc",dqn="react-flow__aria-live",bqn=b=>b.ariaLiveMessage,gqn=b=>b.ariaLabelConfig;function wqn({rfId:b}){const E=zu(bqn);return _.jsx("div",{id:`${dqn}-${b}`,"aria-live":"assertive","aria-atomic":"true",style:hqn,children:E})}function pqn({rfId:b,disableKeyboardA11y:E}){const x=zu(gqn);return _.jsxs(_.Fragment,{children:[_.jsx("div",{id:`${j0n}-${b}`,style:P1n,children:E?x["node.a11yDescription.default"]:x["node.a11yDescription.keyboardDisabled"]}),_.jsx("div",{id:`${E0n}-${b}`,style:P1n,children:x["edge.a11yDescription.default"]}),!E&&_.jsx(wqn,{rfId:b})]})}const Fue=Re.forwardRef(({position:b="top-left",children:E,className:x,style:M,...N},$)=>{const k=`${b}`.split("-");return _.jsx("div",{className:Na(["react-flow__panel",x,...k]),style:M,ref:$,...N,children:E})});Fue.displayName="Panel";function mqn({proOptions:b,position:E="bottom-right"}){return b?.hideAttribution?null:_.jsx(Fue,{position:E,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:_.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const vqn=b=>{const E=[],x=[];for(const[,M]of b.nodeLookup)M.selected&&E.push(M.internals.userNode);for(const[,M]of b.edgeLookup)M.selected&&x.push(M);return{selectedNodes:E,selectedEdges:x}},rue=b=>b.id;function yqn(b,E){return El(b.selectedNodes.map(rue),E.selectedNodes.map(rue))&&El(b.selectedEdges.map(rue),E.selectedEdges.map(rue))}function kqn({onSelectionChange:b}){const E=Sl(),{selectedNodes:x,selectedEdges:M}=zu(vqn,yqn);return Re.useEffect(()=>{const N={nodes:x,edges:M};b?.(N),E.getState().onSelectionChangeHandlers.forEach($=>$(N))},[x,M,b]),null}const jqn=b=>!!b.onSelectionChangeHandlers;function Eqn({onSelectionChange:b}){const E=zu(jqn);return b||E?_.jsx(kqn,{onSelectionChange:b}):null}const pke=typeof window<"u"?Re.useLayoutEffect:Re.useEffect,S0n=[0,0],Sqn={x:0,y:0,zoom:1},xqn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],$1n=[...xqn,"rfId"],Aqn=b=>({setNodes:b.setNodes,setEdges:b.setEdges,setMinZoom:b.setMinZoom,setMaxZoom:b.setMaxZoom,setTranslateExtent:b.setTranslateExtent,setNodeExtent:b.setNodeExtent,reset:b.reset,setDefaultNodesAndEdges:b.setDefaultNodesAndEdges}),R1n={translateExtent:XG,nodeOrigin:S0n,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function Mqn(b){const{setNodes:E,setEdges:x,setMinZoom:M,setMaxZoom:N,setTranslateExtent:$,setNodeExtent:k,reset:H,setDefaultNodesAndEdges:q}=zu(Aqn,El),G=Sl();pke(()=>(q(b.defaultNodes,b.defaultEdges),()=>{ie.current=R1n,H()}),[]);const ie=Re.useRef(R1n);return pke(()=>{for(const W of $1n){const Z=b[W],se=ie.current[W];Z!==se&&(typeof b[W]>"u"||(W==="nodes"?E(Z):W==="edges"?x(Z):W==="minZoom"?M(Z):W==="maxZoom"?N(Z):W==="translateExtent"?$(Z):W==="nodeExtent"?k(Z):W==="ariaLabelConfig"?G.setState({ariaLabelConfig:lGn(Z)}):W==="fitView"?G.setState({fitViewQueued:Z}):W==="fitViewOptions"?G.setState({fitViewOptions:Z}):G.setState({[W]:Z})))}ie.current=b},$1n.map(W=>b[W])),null}function B1n(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function Cqn(b){const[E,x]=Re.useState(b==="system"?null:b);return Re.useEffect(()=>{if(b!=="system"){x(b);return}const M=B1n(),N=()=>x(M?.matches?"dark":"light");return N(),M?.addEventListener("change",N),()=>{M?.removeEventListener("change",N)}},[b]),E!==null?E:B1n()?.matches?"dark":"light"}const z1n=typeof document<"u"?document:null;function WG(b=null,E={target:z1n,actInsideInputWithModifier:!0}){const[x,M]=Re.useState(!1),N=Re.useRef(!1),$=Re.useRef(new Set([])),[k,H]=Re.useMemo(()=>{if(b!==null){const G=(Array.isArray(b)?b:[b]).filter(W=>typeof W=="string").map(W=>W.replace("+",` +`).replace(` + +`,` ++`).split(` +`)),ie=G.reduce((W,Z)=>W.concat(...Z),[]);return[G,ie]}return[[],[]]},[b]);return Re.useEffect(()=>{const q=E?.target??z1n,G=E?.actInsideInputWithModifier??!0;if(b!==null){const ie=se=>{if(N.current=se.ctrlKey||se.metaKey||se.shiftKey||se.altKey,(!N.current||N.current&&!G)&&i0n(se))return!1;const ee=J1n(se.code,H);if($.current.add(se[ee]),F1n(k,$.current,!1)){const Me=se.composedPath?.()?.[0]||se.target,me=Me?.nodeName==="BUTTON"||Me?.nodeName==="A";E.preventDefault!==!1&&(N.current||!me)&&se.preventDefault(),M(!0)}},W=se=>{const oe=J1n(se.code,H);F1n(k,$.current,!0)?(M(!1),$.current.clear()):$.current.delete(se[oe]),se.key==="Meta"&&$.current.clear(),N.current=!1},Z=()=>{$.current.clear(),M(!1)};return q?.addEventListener("keydown",ie),q?.addEventListener("keyup",W),window.addEventListener("blur",Z),window.addEventListener("contextmenu",Z),()=>{q?.removeEventListener("keydown",ie),q?.removeEventListener("keyup",W),window.removeEventListener("blur",Z),window.removeEventListener("contextmenu",Z)}}},[b,M]),x}function F1n(b,E,x){return b.filter(M=>x||M.length===E.size).some(M=>M.every(N=>E.has(N)))}function J1n(b,E){return E.includes(b)?"code":"key"}const Tqn=()=>{const b=Sl();return Re.useMemo(()=>({zoomIn:E=>{const{panZoom:x}=b.getState();return x?x.scaleBy(1.2,E):Promise.resolve(!1)},zoomOut:E=>{const{panZoom:x}=b.getState();return x?x.scaleBy(1/1.2,E):Promise.resolve(!1)},zoomTo:(E,x)=>{const{panZoom:M}=b.getState();return M?M.scaleTo(E,x):Promise.resolve(!1)},getZoom:()=>b.getState().transform[2],setViewport:async(E,x)=>{const{transform:[M,N,$],panZoom:k}=b.getState();return k?(await k.setViewport({x:E.x??M,y:E.y??N,zoom:E.zoom??$},x),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[E,x,M]=b.getState().transform;return{x:E,y:x,zoom:M}},setCenter:async(E,x,M)=>b.getState().setCenter(E,x,M),fitBounds:async(E,x)=>{const{width:M,height:N,minZoom:$,maxZoom:k,panZoom:H}=b.getState(),q=Oke(E,M,N,$,k,x?.padding??.1);return H?(await H.setViewport(q,{duration:x?.duration,ease:x?.ease,interpolate:x?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(E,x={})=>{const{transform:M,snapGrid:N,snapToGrid:$,domNode:k}=b.getState();if(!k)return E;const{x:H,y:q}=k.getBoundingClientRect(),G={x:E.x-H,y:E.y-q},ie=x.snapGrid??N,W=x.snapToGrid??$;return cq(G,M,W,ie)},flowToScreenPosition:E=>{const{transform:x,domNode:M}=b.getState();if(!M)return E;const{x:N,y:$}=M.getBoundingClientRect(),k=Mue(E,x);return{x:k.x+N,y:k.y+$}}}),[])};function x0n(b,E){const x=[],M=new Map,N=[];for(const $ of b)if($.type==="add"){N.push($);continue}else if($.type==="remove"||$.type==="replace")M.set($.id,[$]);else{const k=M.get($.id);k?k.push($):M.set($.id,[$])}for(const $ of E){const k=M.get($.id);if(!k){x.push($);continue}if(k[0].type==="remove")continue;if(k[0].type==="replace"){x.push({...k[0].item});continue}const H={...$};for(const q of k)Oqn(q,H);x.push(H)}return N.length&&N.forEach($=>{$.index!==void 0?x.splice($.index,0,{...$.item}):x.push({...$.item})}),x}function Oqn(b,E){switch(b.type){case"select":{E.selected=b.selected;break}case"position":{typeof b.position<"u"&&(E.position=b.position),typeof b.dragging<"u"&&(E.dragging=b.dragging);break}case"dimensions":{typeof b.dimensions<"u"&&(E.measured={...b.dimensions},b.setAttributes&&((b.setAttributes===!0||b.setAttributes==="width")&&(E.width=b.dimensions.width),(b.setAttributes===!0||b.setAttributes==="height")&&(E.height=b.dimensions.height))),typeof b.resizing=="boolean"&&(E.resizing=b.resizing);break}}}function A0n(b,E){return x0n(b,E)}function M0n(b,E){return x0n(b,E)}function EA(b,E){return{id:b,type:"select",selected:E}}function dD(b,E=new Set,x=!1){const M=[];for(const[N,$]of b){const k=E.has(N);!($.selected===void 0&&!k)&&$.selected!==k&&(x&&($.selected=k),M.push(EA($.id,k)))}return M}function H1n({items:b=[],lookup:E}){const x=[],M=new Map(b.map(N=>[N.id,N]));for(const[N,$]of b.entries()){const k=E.get($.id),H=k?.internals?.userNode??k;H!==void 0&&H!==$&&x.push({id:$.id,item:$,type:"replace"}),H===void 0&&x.push({item:$,type:"add",index:N})}for(const[N]of E)M.get(N)===void 0&&x.push({id:N,type:"remove"});return x}function G1n(b){return{id:b.id,type:"remove"}}const q1n=b=>ZHn(b),Nqn=b=>Vdn(b);function C0n(b){return Re.forwardRef(b)}function U1n(b){const[E,x]=Re.useState(BigInt(0)),[M]=Re.useState(()=>Iqn(()=>x(N=>N+BigInt(1))));return pke(()=>{const N=M.get();N.length&&(b(N),M.reset())},[E]),M}function Iqn(b){let E=[];return{get:()=>E,reset:()=>{E=[]},push:x=>{E.push(x),b()}}}const T0n=Re.createContext(null);function Dqn({children:b}){const E=Sl(),x=Re.useCallback(H=>{const{nodes:q=[],setNodes:G,hasDefaultNodes:ie,onNodesChange:W,nodeLookup:Z,fitViewQueued:se,onNodesChangeMiddlewareMap:oe}=E.getState();let ee=q;for(const me of H)ee=typeof me=="function"?me(ee):me;let Me=H1n({items:ee,lookup:Z});for(const me of oe.values())Me=me(Me);ie&&G(ee),Me.length>0?W?.(Me):se&&window.requestAnimationFrame(()=>{const{fitViewQueued:me,nodes:Pe,setNodes:ae}=E.getState();me&&ae(Pe)})},[]),M=U1n(x),N=Re.useCallback(H=>{const{edges:q=[],setEdges:G,hasDefaultEdges:ie,onEdgesChange:W,edgeLookup:Z}=E.getState();let se=q;for(const oe of H)se=typeof oe=="function"?oe(se):oe;ie?G(se):W&&W(H1n({items:se,lookup:Z}))},[]),$=U1n(N),k=Re.useMemo(()=>({nodeQueue:M,edgeQueue:$}),[]);return _.jsx(T0n.Provider,{value:k,children:b})}function _qn(){const b=Re.useContext(T0n);if(!b)throw new Error("useBatchContext must be used within a BatchProvider");return b}const Lqn=b=>!!b.panZoom;function $ke(){const b=Tqn(),E=Sl(),x=_qn(),M=zu(Lqn),N=Re.useMemo(()=>{const $=W=>E.getState().nodeLookup.get(W),k=W=>{x.nodeQueue.push(W)},H=W=>{x.edgeQueue.push(W)},q=W=>{const{nodeLookup:Z,nodeOrigin:se}=E.getState(),oe=q1n(W)?W:Z.get(W.id),ee=oe.parentId?n0n(oe.position,oe.measured,oe.parentId,Z,se):oe.position,Me={...oe,position:ee,width:oe.measured?.width??oe.width,height:oe.measured?.height??oe.height};return yD(Me)},G=(W,Z,se={replace:!1})=>{k(oe=>oe.map(ee=>{if(ee.id===W){const Me=typeof Z=="function"?Z(ee):Z;return se.replace&&q1n(Me)?Me:{...ee,...Me}}return ee}))},ie=(W,Z,se={replace:!1})=>{H(oe=>oe.map(ee=>{if(ee.id===W){const Me=typeof Z=="function"?Z(ee):Z;return se.replace&&Nqn(Me)?Me:{...ee,...Me}}return ee}))};return{getNodes:()=>E.getState().nodes.map(W=>({...W})),getNode:W=>$(W)?.internals.userNode,getInternalNode:$,getEdges:()=>{const{edges:W=[]}=E.getState();return W.map(Z=>({...Z}))},getEdge:W=>E.getState().edgeLookup.get(W),setNodes:k,setEdges:H,addNodes:W=>{const Z=Array.isArray(W)?W:[W];x.nodeQueue.push(se=>[...se,...Z])},addEdges:W=>{const Z=Array.isArray(W)?W:[W];x.edgeQueue.push(se=>[...se,...Z])},toObject:()=>{const{nodes:W=[],edges:Z=[],transform:se}=E.getState(),[oe,ee,Me]=se;return{nodes:W.map(me=>({...me})),edges:Z.map(me=>({...me})),viewport:{x:oe,y:ee,zoom:Me}}},deleteElements:async({nodes:W=[],edges:Z=[]})=>{const{nodes:se,edges:oe,onNodesDelete:ee,onEdgesDelete:Me,triggerNodeChanges:me,triggerEdgeChanges:Pe,onDelete:ae,onBeforeDelete:Ne}=E.getState(),{nodes:Ue,edges:ln}=await rGn({nodesToRemove:W,edgesToRemove:Z,nodes:se,edges:oe,onBeforeDelete:Ne}),on=ln.length>0,An=Ue.length>0;if(on){const xn=ln.map(G1n);Me?.(ln),Pe(xn)}if(An){const xn=Ue.map(G1n);ee?.(Ue),me(xn)}return(An||on)&&ae?.({nodes:Ue,edges:ln}),{deletedNodes:Ue,deletedEdges:ln}},getIntersectingNodes:(W,Z=!0,se)=>{const oe=p1n(W),ee=oe?W:q(W),Me=se!==void 0;return ee?(se||E.getState().nodes).filter(me=>{const Pe=E.getState().nodeLookup.get(me.id);if(Pe&&!oe&&(me.id===W.id||!Pe.internals.positionAbsolute))return!1;const ae=yD(Me?me:Pe),Ne=YG(ae,ee);return Z&&Ne>0||Ne>=ae.width*ae.height||Ne>=ee.width*ee.height}):[]},isNodeIntersecting:(W,Z,se=!0)=>{const ee=p1n(W)?W:q(W);if(!ee)return!1;const Me=YG(ee,Z);return se&&Me>0||Me>=Z.width*Z.height||Me>=ee.width*ee.height},updateNode:G,updateNodeData:(W,Z,se={replace:!1})=>{G(W,oe=>{const ee=typeof Z=="function"?Z(oe):Z;return se.replace?{...oe,data:ee}:{...oe,data:{...oe.data,...ee}}},se)},updateEdge:ie,updateEdgeData:(W,Z,se={replace:!1})=>{ie(W,oe=>{const ee=typeof Z=="function"?Z(oe):Z;return se.replace?{...oe,data:ee}:{...oe,data:{...oe.data,...ee}}},se)},getNodesBounds:W=>{const{nodeLookup:Z,nodeOrigin:se}=E.getState();return eGn(W,{nodeLookup:Z,nodeOrigin:se})},getHandleConnections:({type:W,id:Z,nodeId:se})=>Array.from(E.getState().connectionLookup.get(`${se}-${W}${Z?`-${Z}`:""}`)?.values()??[]),getNodeConnections:({type:W,handleId:Z,nodeId:se})=>Array.from(E.getState().connectionLookup.get(`${se}${W?Z?`-${W}-${Z}`:`-${W}`:""}`)?.values()??[]),fitView:async W=>{const Z=E.getState().fitViewResolver??sGn();return E.setState({fitViewQueued:!0,fitViewOptions:W,fitViewResolver:Z}),x.nodeQueue.push(se=>[...se]),Z.promise}}},[]);return Re.useMemo(()=>({...N,...b,viewportInitialized:M}),[M])}const X1n=b=>b.selected,Pqn=typeof window<"u"?window:void 0;function $qn({deleteKeyCode:b,multiSelectionKeyCode:E}){const x=Sl(),{deleteElements:M}=$ke(),N=WG(b,{actInsideInputWithModifier:!1}),$=WG(E,{target:Pqn});Re.useEffect(()=>{if(N){const{edges:k,nodes:H}=x.getState();M({nodes:H.filter(X1n),edges:k.filter(X1n)}),x.setState({nodesSelectionActive:!1})}},[N]),Re.useEffect(()=>{x.setState({multiSelectionActive:$})},[$])}function Rqn(b){const E=Sl();Re.useEffect(()=>{const x=()=>{if(!b.current||!(b.current.checkVisibility?.()??!0))return!1;const M=Nke(b.current);(M.height===0||M.width===0)&&E.getState().onError?.("004",g5.error004()),E.setState({width:M.width||500,height:M.height||500})};if(b.current){x(),window.addEventListener("resize",x);const M=new ResizeObserver(()=>x());return M.observe(b.current),()=>{window.removeEventListener("resize",x),M&&b.current&&M.unobserve(b.current)}}},[])}const Jue={position:"absolute",width:"100%",height:"100%",top:0,left:0},Bqn=b=>({userSelectionActive:b.userSelectionActive,lib:b.lib,connectionInProgress:b.connection.inProgress});function zqn({onPaneContextMenu:b,zoomOnScroll:E=!0,zoomOnPinch:x=!0,panOnScroll:M=!1,panOnScrollSpeed:N=.5,panOnScrollMode:$=AA.Free,zoomOnDoubleClick:k=!0,panOnDrag:H=!0,defaultViewport:q,translateExtent:G,minZoom:ie,maxZoom:W,zoomActivationKeyCode:Z,preventScrolling:se=!0,children:oe,noWheelClassName:ee,noPanClassName:Me,onViewportChange:me,isControlledViewport:Pe,paneClickDistance:ae,selectionOnDrag:Ne}){const Ue=Sl(),ln=Re.useRef(null),{userSelectionActive:on,lib:An,connectionInProgress:xn}=zu(Bqn,El),tt=WG(Z),mn=Re.useRef();Rqn(ln);const vn=Re.useCallback(Y=>{me?.({x:Y[0],y:Y[1],zoom:Y[2]}),Pe||Ue.setState({transform:Y})},[me,Pe]);return Re.useEffect(()=>{if(ln.current){mn.current=qGn({domNode:ln.current,minZoom:ie,maxZoom:W,translateExtent:G,viewport:q,onDraggingChange:xe=>Ue.setState(Ge=>Ge.paneDragging===xe?Ge:{paneDragging:xe}),onPanZoomStart:(xe,Ge)=>{const{onViewportChangeStart:fn,onMoveStart:$e}=Ue.getState();$e?.(xe,Ge),fn?.(Ge)},onPanZoom:(xe,Ge)=>{const{onViewportChange:fn,onMove:$e}=Ue.getState();$e?.(xe,Ge),fn?.(Ge)},onPanZoomEnd:(xe,Ge)=>{const{onViewportChangeEnd:fn,onMoveEnd:$e}=Ue.getState();$e?.(xe,Ge),fn?.(Ge)}});const{x:Y,y:Fe,zoom:wn}=mn.current.getViewport();return Ue.setState({panZoom:mn.current,transform:[Y,Fe,wn],domNode:ln.current.closest(".react-flow")}),()=>{mn.current?.destroy()}}},[]),Re.useEffect(()=>{mn.current?.update({onPaneContextMenu:b,zoomOnScroll:E,zoomOnPinch:x,panOnScroll:M,panOnScrollSpeed:N,panOnScrollMode:$,zoomOnDoubleClick:k,panOnDrag:H,zoomActivationKeyPressed:tt,preventScrolling:se,noPanClassName:Me,userSelectionActive:on,noWheelClassName:ee,lib:An,onTransformChange:vn,connectionInProgress:xn,selectionOnDrag:Ne,paneClickDistance:ae})},[b,E,x,M,N,$,k,H,tt,se,Me,on,ee,An,vn,xn,Ne,ae]),_.jsx("div",{className:"react-flow__renderer",ref:ln,style:Jue,children:oe})}const Fqn=b=>({userSelectionActive:b.userSelectionActive,userSelectionRect:b.userSelectionRect});function Jqn(){const{userSelectionActive:b,userSelectionRect:E}=zu(Fqn,El);return b&&E?_.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:E.width,height:E.height,transform:`translate(${E.x}px, ${E.y}px)`}}):null}const X7e=(b,E)=>x=>{x.target===E.current&&b?.(x)},Hqn=b=>({userSelectionActive:b.userSelectionActive,elementsSelectable:b.elementsSelectable,connectionInProgress:b.connection.inProgress,dragging:b.paneDragging});function Gqn({isSelecting:b,selectionKeyPressed:E,selectionMode:x=KG.Full,panOnDrag:M,paneClickDistance:N,selectionOnDrag:$,onSelectionStart:k,onSelectionEnd:H,onPaneClick:q,onPaneContextMenu:G,onPaneScroll:ie,onPaneMouseEnter:W,onPaneMouseMove:Z,onPaneMouseLeave:se,children:oe}){const ee=Sl(),{userSelectionActive:Me,elementsSelectable:me,dragging:Pe,connectionInProgress:ae}=zu(Hqn,El),Ne=me&&(b||Me),Ue=Re.useRef(null),ln=Re.useRef(),on=Re.useRef(new Set),An=Re.useRef(new Set),xn=Re.useRef(!1),tt=fn=>{if(xn.current||ae){xn.current=!1;return}q?.(fn),ee.getState().resetSelectedElements(),ee.setState({nodesSelectionActive:!1})},mn=fn=>{if(Array.isArray(M)&&M?.includes(2)){fn.preventDefault();return}G?.(fn)},vn=ie?fn=>ie(fn):void 0,Y=fn=>{xn.current&&(fn.stopPropagation(),xn.current=!1)},Fe=fn=>{const{domNode:$e}=ee.getState();if(ln.current=$e?.getBoundingClientRect(),!ln.current)return;const Mn=fn.target===Ue.current;if(!Mn&&!!fn.target.closest(".nokey")||!b||!($&&Mn||E)||fn.button!==0||!fn.isPrimary)return;fn.target?.setPointerCapture?.(fn.pointerId),xn.current=!1;const{x:Hn,y:ut}=cv(fn.nativeEvent,ln.current);ee.setState({userSelectionRect:{width:0,height:0,startX:Hn,startY:ut,x:Hn,y:ut}}),Mn||(fn.stopPropagation(),fn.preventDefault())},wn=fn=>{const{userSelectionRect:$e,transform:Mn,nodeLookup:ge,edgeLookup:tn,connectionLookup:Hn,triggerNodeChanges:ut,triggerEdgeChanges:Jt,defaultEdgeOptions:di,resetSelectedElements:Gt}=ee.getState();if(!ln.current||!$e)return;const{x:At,y:si}=cv(fn.nativeEvent,ln.current),{startX:Kr,startY:Er}=$e;if(!xn.current){const Fu=E?0:N;if(Math.hypot(At-Kr,si-Er)<=Fu)return;Gt(),k?.(fn)}xn.current=!0;const Dt={startX:Kr,startY:Er,x:AtFu.id)),An.current=new Set;const cu=di?.selectable??!0;for(const Fu of on.current){const Rs=Hn.get(Fu);if(Rs)for(const{edgeId:ra}of Rs.values()){const nf=tn.get(ra);nf&&(nf.selectable??cu)&&An.current.add(ra)}}if(!m1n(bi,on.current)){const Fu=dD(ge,on.current,!0);ut(Fu)}if(!m1n(zi,An.current)){const Fu=dD(tn,An.current);Jt(Fu)}ee.setState({userSelectionRect:Dt,userSelectionActive:!0,nodesSelectionActive:!1})},xe=fn=>{fn.button===0&&(fn.target?.releasePointerCapture?.(fn.pointerId),!Me&&fn.target===Ue.current&&ee.getState().userSelectionRect&&tt?.(fn),ee.setState({userSelectionActive:!1,userSelectionRect:null}),xn.current&&(H?.(fn),ee.setState({nodesSelectionActive:on.current.size>0})))},Ge=M===!0||Array.isArray(M)&&M.includes(0);return _.jsxs("div",{className:Na(["react-flow__pane",{draggable:Ge,dragging:Pe,selection:b}]),onClick:Ne?void 0:X7e(tt,Ue),onContextMenu:X7e(mn,Ue),onWheel:X7e(vn,Ue),onPointerEnter:Ne?void 0:W,onPointerMove:Ne?wn:Z,onPointerUp:Ne?xe:void 0,onPointerDownCapture:Ne?Fe:void 0,onClickCapture:Ne?Y:void 0,onPointerLeave:se,ref:Ue,style:Jue,children:[oe,_.jsx(Jqn,{})]})}function mke({id:b,store:E,unselect:x=!1,nodeRef:M}){const{addSelectedNodes:N,unselectNodesAndEdges:$,multiSelectionActive:k,nodeLookup:H,onError:q}=E.getState(),G=H.get(b);if(!G){q?.("012",g5.error012(b));return}E.setState({nodesSelectionActive:!1}),G.selected?(x||G.selected&&k)&&($({nodes:[G],edges:[]}),requestAnimationFrame(()=>M?.current?.blur())):N([b])}function O0n({nodeRef:b,disabled:E=!1,noDragClassName:x,handleSelector:M,nodeId:N,isSelectable:$,nodeClickDistance:k}){const H=Sl(),[q,G]=Re.useState(!1),ie=Re.useRef();return Re.useEffect(()=>{ie.current=NGn({getStoreItems:()=>H.getState(),onNodeMouseDown:W=>{mke({id:W,store:H,nodeRef:b})},onDragStart:()=>{G(!0)},onDragStop:()=>{G(!1)}})},[]),Re.useEffect(()=>{if(!(E||!b.current||!ie.current))return ie.current.update({noDragClassName:x,handleSelector:M,domNode:b.current,isSelectable:$,nodeId:N,nodeClickDistance:k}),()=>{ie.current?.destroy()}},[x,M,E,$,b,N,k]),q}const qqn=b=>E=>E.selected&&(E.draggable||b&&typeof E.draggable>"u");function N0n(){const b=Sl();return Re.useCallback(x=>{const{nodeExtent:M,snapToGrid:N,snapGrid:$,nodesDraggable:k,onError:H,updateNodePositions:q,nodeLookup:G,nodeOrigin:ie}=b.getState(),W=new Map,Z=qqn(k),se=N?$[0]:5,oe=N?$[1]:5,ee=x.direction.x*se*x.factor,Me=x.direction.y*oe*x.factor;for(const[,me]of G){if(!Z(me))continue;let Pe={x:me.internals.positionAbsolute.x+ee,y:me.internals.positionAbsolute.y+Me};N&&(Pe=rq(Pe,$));const{position:ae,positionAbsolute:Ne}=Ydn({nodeId:me.id,nextPosition:Pe,nodeLookup:G,nodeExtent:M,nodeOrigin:ie,onError:H});me.position=ae,me.internals.positionAbsolute=Ne,W.set(me.id,me)}q(W)},[])}const Rke=Re.createContext(null),Uqn=Rke.Provider;Rke.Consumer;const I0n=()=>Re.useContext(Rke),Xqn=b=>({connectOnClick:b.connectOnClick,noPanClassName:b.noPanClassName,rfId:b.rfId}),Kqn=(b,E,x)=>M=>{const{connectionClickStartHandle:N,connectionMode:$,connection:k}=M,{fromHandle:H,toHandle:q,isValid:G}=k,ie=q?.nodeId===b&&q?.id===E&&q?.type===x;return{connectingFrom:H?.nodeId===b&&H?.id===E&&H?.type===x,connectingTo:ie,clickConnecting:N?.nodeId===b&&N?.id===E&&N?.type===x,isPossibleEndHandle:$===mD.Strict?H?.type!==x:b!==H?.nodeId||E!==H?.id,connectionInProcess:!!H,clickConnectionInProcess:!!N,valid:ie&&G}};function Vqn({type:b="source",position:E=ur.Top,isValidConnection:x,isConnectable:M=!0,isConnectableStart:N=!0,isConnectableEnd:$=!0,id:k,onConnect:H,children:q,className:G,onMouseDown:ie,onTouchStart:W,...Z},se){const oe=k||null,ee=b==="target",Me=Sl(),me=I0n(),{connectOnClick:Pe,noPanClassName:ae,rfId:Ne}=zu(Xqn,El),{connectingFrom:Ue,connectingTo:ln,clickConnecting:on,isPossibleEndHandle:An,connectionInProcess:xn,clickConnectionInProcess:tt,valid:mn}=zu(Kqn(me,oe,b),El);me||Me.getState().onError?.("010",g5.error010());const vn=wn=>{const{defaultEdgeOptions:xe,onConnect:Ge,hasDefaultEdges:fn}=Me.getState(),$e={...xe,...wn};if(fn){const{edges:Mn,setEdges:ge}=Me.getState();ge(gGn($e,Mn))}Ge?.($e),H?.($e)},Y=wn=>{if(!me)return;const xe=r0n(wn.nativeEvent);if(N&&(xe&&wn.button===0||!xe)){const Ge=Me.getState();wke.onPointerDown(wn.nativeEvent,{handleDomNode:wn.currentTarget,autoPanOnConnect:Ge.autoPanOnConnect,connectionMode:Ge.connectionMode,connectionRadius:Ge.connectionRadius,domNode:Ge.domNode,nodeLookup:Ge.nodeLookup,lib:Ge.lib,isTarget:ee,handleId:oe,nodeId:me,flowId:Ge.rfId,panBy:Ge.panBy,cancelConnection:Ge.cancelConnection,onConnectStart:Ge.onConnectStart,onConnectEnd:(...fn)=>Me.getState().onConnectEnd?.(...fn),updateConnection:Ge.updateConnection,onConnect:vn,isValidConnection:x||((...fn)=>Me.getState().isValidConnection?.(...fn)??!0),getTransform:()=>Me.getState().transform,getFromHandle:()=>Me.getState().connection.fromHandle,autoPanSpeed:Ge.autoPanSpeed,dragThreshold:Ge.connectionDragThreshold})}xe?ie?.(wn):W?.(wn)},Fe=wn=>{const{onClickConnectStart:xe,onClickConnectEnd:Ge,connectionClickStartHandle:fn,connectionMode:$e,isValidConnection:Mn,lib:ge,rfId:tn,nodeLookup:Hn,connection:ut}=Me.getState();if(!me||!fn&&!N)return;if(!fn){xe?.(wn.nativeEvent,{nodeId:me,handleId:oe,handleType:b}),Me.setState({connectionClickStartHandle:{nodeId:me,type:b,id:oe}});return}const Jt=t0n(wn.target),di=x||Mn,{connection:Gt,isValid:At}=wke.isValid(wn.nativeEvent,{handle:{nodeId:me,id:oe,type:b},connectionMode:$e,fromNodeId:fn.nodeId,fromHandleId:fn.id||null,fromType:fn.type,isValidConnection:di,flowId:tn,doc:Jt,lib:ge,nodeLookup:Hn});At&&Gt&&vn(Gt);const si=structuredClone(ut);delete si.inProgress,si.toPosition=si.toHandle?si.toHandle.position:null,Ge?.(wn,si),Me.setState({connectionClickStartHandle:null})};return _.jsx("div",{"data-handleid":oe,"data-nodeid":me,"data-handlepos":E,"data-id":`${Ne}-${me}-${oe}-${b}`,className:Na(["react-flow__handle",`react-flow__handle-${E}`,"nodrag",ae,G,{source:!ee,target:ee,connectable:M,connectablestart:N,connectableend:$,clickconnecting:on,connectingfrom:Ue,connectingto:ln,valid:mn,connectionindicator:M&&(!xn||An)&&(xn||tt?$:N)}]),onMouseDown:Y,onTouchStart:Y,onClick:Pe?Fe:void 0,ref:se,...Z,children:q})}const w5=Re.memo(C0n(Vqn));function Yqn({data:b,isConnectable:E,sourcePosition:x=ur.Bottom}){return _.jsxs(_.Fragment,{children:[b?.label,_.jsx(w5,{type:"source",position:x,isConnectable:E})]})}function Qqn({data:b,isConnectable:E,targetPosition:x=ur.Top,sourcePosition:M=ur.Bottom}){return _.jsxs(_.Fragment,{children:[_.jsx(w5,{type:"target",position:x,isConnectable:E}),b?.label,_.jsx(w5,{type:"source",position:M,isConnectable:E})]})}function Wqn(){return null}function Zqn({data:b,isConnectable:E,targetPosition:x=ur.Top}){return _.jsxs(_.Fragment,{children:[_.jsx(w5,{type:"target",position:x,isConnectable:E}),b?.label]})}const Tue={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},K1n={input:Yqn,default:Qqn,output:Zqn,group:Wqn};function eUn(b){return b.internals.handleBounds===void 0?{width:b.width??b.initialWidth??b.style?.width,height:b.height??b.initialHeight??b.style?.height}:{width:b.width??b.style?.width,height:b.height??b.style?.height}}const nUn=b=>{const{width:E,height:x,x:M,y:N}=iq(b.nodeLookup,{filter:$=>!!$.selected});return{width:rv(E)?E:null,height:rv(x)?x:null,userSelectionActive:b.userSelectionActive,transformString:`translate(${b.transform[0]}px,${b.transform[1]}px) scale(${b.transform[2]}) translate(${M}px,${N}px)`}};function tUn({onSelectionContextMenu:b,noPanClassName:E,disableKeyboardA11y:x}){const M=Sl(),{width:N,height:$,transformString:k,userSelectionActive:H}=zu(nUn,El),q=N0n(),G=Re.useRef(null);Re.useEffect(()=>{x||G.current?.focus({preventScroll:!0})},[x]);const ie=!H&&N!==null&&$!==null;if(O0n({nodeRef:G,disabled:!ie}),!ie)return null;const W=b?se=>{const oe=M.getState().nodes.filter(ee=>ee.selected);b(se,oe)}:void 0,Z=se=>{Object.prototype.hasOwnProperty.call(Tue,se.key)&&(se.preventDefault(),q({direction:Tue[se.key],factor:se.shiftKey?4:1}))};return _.jsx("div",{className:Na(["react-flow__nodesselection","react-flow__container",E]),style:{transform:k},children:_.jsx("div",{ref:G,className:"react-flow__nodesselection-rect",onContextMenu:W,tabIndex:x?void 0:-1,onKeyDown:x?void 0:Z,style:{width:N,height:$}})})}const V1n=typeof window<"u"?window:void 0,iUn=b=>({nodesSelectionActive:b.nodesSelectionActive,userSelectionActive:b.userSelectionActive});function D0n({children:b,onPaneClick:E,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,paneClickDistance:H,deleteKeyCode:q,selectionKeyCode:G,selectionOnDrag:ie,selectionMode:W,onSelectionStart:Z,onSelectionEnd:se,multiSelectionKeyCode:oe,panActivationKeyCode:ee,zoomActivationKeyCode:Me,elementsSelectable:me,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Ne,panOnScrollSpeed:Ue,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:An,defaultViewport:xn,translateExtent:tt,minZoom:mn,maxZoom:vn,preventScrolling:Y,onSelectionContextMenu:Fe,noWheelClassName:wn,noPanClassName:xe,disableKeyboardA11y:Ge,onViewportChange:fn,isControlledViewport:$e}){const{nodesSelectionActive:Mn,userSelectionActive:ge}=zu(iUn,El),tn=WG(G,{target:V1n}),Hn=WG(ee,{target:V1n}),ut=Hn||An,Jt=Hn||Ne,di=ie&&ut!==!0,Gt=tn||ge||di;return $qn({deleteKeyCode:q,multiSelectionKeyCode:oe}),_.jsx(zqn,{onPaneContextMenu:$,elementsSelectable:me,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Jt,panOnScrollSpeed:Ue,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:!tn&&ut,defaultViewport:xn,translateExtent:tt,minZoom:mn,maxZoom:vn,zoomActivationKeyCode:Me,preventScrolling:Y,noWheelClassName:wn,noPanClassName:xe,onViewportChange:fn,isControlledViewport:$e,paneClickDistance:H,selectionOnDrag:di,children:_.jsxs(Gqn,{onSelectionStart:Z,onSelectionEnd:se,onPaneClick:E,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,panOnDrag:ut,isSelecting:!!Gt,selectionMode:W,selectionKeyPressed:tn,paneClickDistance:H,selectionOnDrag:di,children:[b,Mn&&_.jsx(tUn,{onSelectionContextMenu:Fe,noPanClassName:xe,disableKeyboardA11y:Ge})]})})}D0n.displayName="FlowRenderer";const rUn=Re.memo(D0n),cUn=b=>E=>b?Tke(E.nodeLookup,{x:0,y:0,width:E.width,height:E.height},E.transform,!0).map(x=>x.id):Array.from(E.nodeLookup.keys());function uUn(b){return zu(Re.useCallback(cUn(b),[b]),El)}const oUn=b=>b.updateNodeInternals;function sUn(){const b=zu(oUn),[E]=Re.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(x=>{const M=new Map;x.forEach(N=>{const $=N.target.getAttribute("data-id");M.set($,{id:$,nodeElement:N.target,force:!0})}),b(M)}));return Re.useEffect(()=>()=>{E?.disconnect()},[E]),E}function lUn({node:b,nodeType:E,hasDimensions:x,resizeObserver:M}){const N=Sl(),$=Re.useRef(null),k=Re.useRef(null),H=Re.useRef(b.sourcePosition),q=Re.useRef(b.targetPosition),G=Re.useRef(E),ie=x&&!!b.internals.handleBounds;return Re.useEffect(()=>{$.current&&!b.hidden&&(!ie||k.current!==$.current)&&(k.current&&M?.unobserve(k.current),M?.observe($.current),k.current=$.current)},[ie,b.hidden]),Re.useEffect(()=>()=>{k.current&&(M?.unobserve(k.current),k.current=null)},[]),Re.useEffect(()=>{if($.current){const W=G.current!==E,Z=H.current!==b.sourcePosition,se=q.current!==b.targetPosition;(W||Z||se)&&(G.current=E,H.current=b.sourcePosition,q.current=b.targetPosition,N.getState().updateNodeInternals(new Map([[b.id,{id:b.id,nodeElement:$.current,force:!0}]])))}},[b.id,E,b.sourcePosition,b.targetPosition]),$}function fUn({id:b,onClick:E,onMouseEnter:x,onMouseMove:M,onMouseLeave:N,onContextMenu:$,onDoubleClick:k,nodesDraggable:H,elementsSelectable:q,nodesConnectable:G,nodesFocusable:ie,resizeObserver:W,noDragClassName:Z,noPanClassName:se,disableKeyboardA11y:oe,rfId:ee,nodeTypes:Me,nodeClickDistance:me,onError:Pe}){const{node:ae,internals:Ne,isParent:Ue}=zu(At=>{const si=At.nodeLookup.get(b),Kr=At.parentLookup.has(b);return{node:si,internals:si.internals,isParent:Kr}},El);let ln=ae.type||"default",on=Me?.[ln]||K1n[ln];on===void 0&&(Pe?.("003",g5.error003(ln)),ln="default",on=Me?.default||K1n.default);const An=!!(ae.draggable||H&&typeof ae.draggable>"u"),xn=!!(ae.selectable||q&&typeof ae.selectable>"u"),tt=!!(ae.connectable||G&&typeof ae.connectable>"u"),mn=!!(ae.focusable||ie&&typeof ae.focusable>"u"),vn=Sl(),Y=e0n(ae),Fe=lUn({node:ae,nodeType:ln,hasDimensions:Y,resizeObserver:W}),wn=O0n({nodeRef:Fe,disabled:ae.hidden||!An,noDragClassName:Z,handleSelector:ae.dragHandle,nodeId:b,isSelectable:xn,nodeClickDistance:me}),xe=N0n();if(ae.hidden)return null;const Ge=a6(ae),fn=eUn(ae),$e=xn||An||E||x||M||N,Mn=x?At=>x(At,{...Ne.userNode}):void 0,ge=M?At=>M(At,{...Ne.userNode}):void 0,tn=N?At=>N(At,{...Ne.userNode}):void 0,Hn=$?At=>$(At,{...Ne.userNode}):void 0,ut=k?At=>k(At,{...Ne.userNode}):void 0,Jt=At=>{const{selectNodesOnDrag:si,nodeDragThreshold:Kr}=vn.getState();xn&&(!si||!An||Kr>0)&&mke({id:b,store:vn,nodeRef:Fe}),E&&E(At,{...Ne.userNode})},di=At=>{if(!(i0n(At.nativeEvent)||oe)){if(qdn.includes(At.key)&&xn){const si=At.key==="Escape";mke({id:b,store:vn,unselect:si,nodeRef:Fe})}else if(An&&ae.selected&&Object.prototype.hasOwnProperty.call(Tue,At.key)){At.preventDefault();const{ariaLabelConfig:si}=vn.getState();vn.setState({ariaLiveMessage:si["node.a11yDescription.ariaLiveMessage"]({direction:At.key.replace("Arrow","").toLowerCase(),x:~~Ne.positionAbsolute.x,y:~~Ne.positionAbsolute.y})}),xe({direction:Tue[At.key],factor:At.shiftKey?4:1})}}},Gt=()=>{if(oe||!Fe.current?.matches(":focus-visible"))return;const{transform:At,width:si,height:Kr,autoPanOnNodeFocus:Er,setCenter:Dt}=vn.getState();if(!Er)return;Tke(new Map([[b,ae]]),{x:0,y:0,width:si,height:Kr},At,!0).length>0||Dt(ae.position.x+Ge.width/2,ae.position.y+Ge.height/2,{zoom:At[2]})};return _.jsx("div",{className:Na(["react-flow__node",`react-flow__node-${ln}`,{[se]:An},ae.className,{selected:ae.selected,selectable:xn,parent:Ue,draggable:An,dragging:wn}]),ref:Fe,style:{zIndex:Ne.z,transform:`translate(${Ne.positionAbsolute.x}px,${Ne.positionAbsolute.y}px)`,pointerEvents:$e?"all":"none",visibility:Y?"visible":"hidden",...ae.style,...fn},"data-id":b,"data-testid":`rf__node-${b}`,onMouseEnter:Mn,onMouseMove:ge,onMouseLeave:tn,onContextMenu:Hn,onClick:Jt,onDoubleClick:ut,onKeyDown:mn?di:void 0,tabIndex:mn?0:void 0,onFocus:mn?Gt:void 0,role:ae.ariaRole??(mn?"group":void 0),"aria-roledescription":"node","aria-describedby":oe?void 0:`${j0n}-${ee}`,"aria-label":ae.ariaLabel,...ae.domAttributes,children:_.jsx(Uqn,{value:b,children:_.jsx(on,{id:b,data:ae.data,type:ln,positionAbsoluteX:Ne.positionAbsolute.x,positionAbsoluteY:Ne.positionAbsolute.y,selected:ae.selected??!1,selectable:xn,draggable:An,deletable:ae.deletable??!0,isConnectable:tt,sourcePosition:ae.sourcePosition,targetPosition:ae.targetPosition,dragging:wn,dragHandle:ae.dragHandle,zIndex:Ne.z,parentId:ae.parentId,...Ge})})})}var aUn=Re.memo(fUn);const hUn=b=>({nodesDraggable:b.nodesDraggable,nodesConnectable:b.nodesConnectable,nodesFocusable:b.nodesFocusable,elementsSelectable:b.elementsSelectable,onError:b.onError});function _0n(b){const{nodesDraggable:E,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,onError:$}=zu(hUn,El),k=uUn(b.onlyRenderVisibleElements),H=sUn();return _.jsx("div",{className:"react-flow__nodes",style:Jue,children:k.map(q=>_.jsx(aUn,{id:q,nodeTypes:b.nodeTypes,nodeExtent:b.nodeExtent,onClick:b.onNodeClick,onMouseEnter:b.onNodeMouseEnter,onMouseMove:b.onNodeMouseMove,onMouseLeave:b.onNodeMouseLeave,onContextMenu:b.onNodeContextMenu,onDoubleClick:b.onNodeDoubleClick,noDragClassName:b.noDragClassName,noPanClassName:b.noPanClassName,rfId:b.rfId,disableKeyboardA11y:b.disableKeyboardA11y,resizeObserver:H,nodesDraggable:E,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,nodeClickDistance:b.nodeClickDistance,onError:$},q))})}_0n.displayName="NodeRenderer";const dUn=Re.memo(_0n);function bUn(b){return zu(Re.useCallback(x=>{if(!b)return x.edges.map(N=>N.id);const M=[];if(x.width&&x.height)for(const N of x.edges){const $=x.nodeLookup.get(N.source),k=x.nodeLookup.get(N.target);$&&k&&hGn({sourceNode:$,targetNode:k,width:x.width,height:x.height,transform:x.transform})&&M.push(N.id)}return M},[b]),El)}const gUn=({color:b="none",strokeWidth:E=1})=>{const x={strokeWidth:E,...b&&{stroke:b}};return _.jsx("polyline",{className:"arrow",style:x,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},wUn=({color:b="none",strokeWidth:E=1})=>{const x={strokeWidth:E,...b&&{stroke:b,fill:b}};return _.jsx("polyline",{className:"arrowclosed",style:x,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},Y1n={[VG.Arrow]:gUn,[VG.ArrowClosed]:wUn};function pUn(b){const E=Sl();return Re.useMemo(()=>Object.prototype.hasOwnProperty.call(Y1n,b)?Y1n[b]:(E.getState().onError?.("009",g5.error009(b)),null),[b])}const mUn=({id:b,type:E,color:x,width:M=12.5,height:N=12.5,markerUnits:$="strokeWidth",strokeWidth:k,orient:H="auto-start-reverse"})=>{const q=pUn(E);return q?_.jsx("marker",{className:"react-flow__arrowhead",id:b,markerWidth:`${M}`,markerHeight:`${N}`,viewBox:"-10 -10 20 20",markerUnits:$,orient:H,refX:"0",refY:"0",children:_.jsx(q,{color:x,strokeWidth:k})}):null},L0n=({defaultColor:b,rfId:E})=>{const x=zu($=>$.edges),M=zu($=>$.defaultEdgeOptions),N=Re.useMemo(()=>yGn(x,{id:E,defaultColor:b,defaultMarkerStart:M?.markerStart,defaultMarkerEnd:M?.markerEnd}),[x,M,E,b]);return N.length?_.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:_.jsx("defs",{children:N.map($=>_.jsx(mUn,{id:$.id,type:$.type,color:$.color,width:$.width,height:$.height,markerUnits:$.markerUnits,strokeWidth:$.strokeWidth,orient:$.orient},$.id))})}):null};L0n.displayName="MarkerDefinitions";var vUn=Re.memo(L0n);function P0n({x:b,y:E,label:x,labelStyle:M,labelShowBg:N=!0,labelBgStyle:$,labelBgPadding:k=[2,4],labelBgBorderRadius:H=2,children:q,className:G,...ie}){const[W,Z]=Re.useState({x:1,y:0,width:0,height:0}),se=Na(["react-flow__edge-textwrapper",G]),oe=Re.useRef(null);return Re.useEffect(()=>{if(oe.current){const ee=oe.current.getBBox();Z({x:ee.x,y:ee.y,width:ee.width,height:ee.height})}},[x]),x?_.jsxs("g",{transform:`translate(${b-W.width/2} ${E-W.height/2})`,className:se,visibility:W.width?"visible":"hidden",...ie,children:[N&&_.jsx("rect",{width:W.width+2*k[0],x:-k[0],y:-k[1],height:W.height+2*k[1],className:"react-flow__edge-textbg",style:$,rx:H,ry:H}),_.jsx("text",{className:"react-flow__edge-text",y:W.height/2,dy:"0.3em",ref:oe,style:M,children:x}),q]}):null}P0n.displayName="EdgeText";const yUn=Re.memo(P0n);function uq({path:b,labelX:E,labelY:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:H,labelBgBorderRadius:q,interactionWidth:G=20,...ie}){return _.jsxs(_.Fragment,{children:[_.jsx("path",{...ie,d:b,fill:"none",className:Na(["react-flow__edge-path",ie.className])}),G?_.jsx("path",{d:b,fill:"none",strokeOpacity:0,strokeWidth:G,className:"react-flow__edge-interaction"}):null,M&&rv(E)&&rv(x)?_.jsx(yUn,{x:E,y:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:H,labelBgBorderRadius:q}):null]})}function Q1n({pos:b,x1:E,y1:x,x2:M,y2:N}){return b===ur.Left||b===ur.Right?[.5*(E+M),x]:[E,.5*(x+N)]}function $0n({sourceX:b,sourceY:E,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top}){const[k,H]=Q1n({pos:x,x1:b,y1:E,x2:M,y2:N}),[q,G]=Q1n({pos:$,x1:M,y1:N,x2:b,y2:E}),[ie,W,Z,se]=c0n({sourceX:b,sourceY:E,targetX:M,targetY:N,sourceControlX:k,sourceControlY:H,targetControlX:q,targetControlY:G});return[`M${b},${E} C${k},${H} ${q},${G} ${M},${N}`,ie,W,Z,se]}function R0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k,targetPosition:H,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:me})=>{const[Pe,ae,Ne]=$0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:H}),Ue=b.isInternal?void 0:E;return _.jsx(uq,{id:Ue,path:Pe,labelX:ae,labelY:Ne,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:me})})}const kUn=R0n({isInternal:!1}),B0n=R0n({isInternal:!0});kUn.displayName="SimpleBezierEdge";B0n.displayName="SimpleBezierEdgeInternal";function z0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,sourcePosition:se=ur.Bottom,targetPosition:oe=ur.Top,markerEnd:ee,markerStart:Me,pathOptions:me,interactionWidth:Pe})=>{const[ae,Ne,Ue]=Cue({sourceX:x,sourceY:M,sourcePosition:se,targetX:N,targetY:$,targetPosition:oe,borderRadius:me?.borderRadius,offset:me?.offset,stepPosition:me?.stepPosition}),ln=b.isInternal?void 0:E;return _.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Ue,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:ee,markerStart:Me,interactionWidth:Pe})})}const F0n=z0n({isInternal:!1}),J0n=z0n({isInternal:!0});F0n.displayName="SmoothStepEdge";J0n.displayName="SmoothStepEdgeInternal";function H0n(b){return Re.memo(({id:E,...x})=>{const M=b.isInternal?void 0:E;return _.jsx(F0n,{...x,id:M,pathOptions:Re.useMemo(()=>({borderRadius:0,offset:x.pathOptions?.offset}),[x.pathOptions?.offset])})})}const jUn=H0n({isInternal:!1}),G0n=H0n({isInternal:!0});jUn.displayName="StepEdge";G0n.displayName="StepEdgeInternal";function q0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:se,markerStart:oe,interactionWidth:ee})=>{const[Me,me,Pe]=s0n({sourceX:x,sourceY:M,targetX:N,targetY:$}),ae=b.isInternal?void 0:E;return _.jsx(uq,{id:ae,path:Me,labelX:me,labelY:Pe,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:se,markerStart:oe,interactionWidth:ee})})}const EUn=q0n({isInternal:!1}),U0n=q0n({isInternal:!0});EUn.displayName="StraightEdge";U0n.displayName="StraightEdgeInternal";function X0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k=ur.Bottom,targetPosition:H=ur.Top,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,pathOptions:me,interactionWidth:Pe})=>{const[ae,Ne,Ue]=u0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:H,curvature:me?.curvature}),ln=b.isInternal?void 0:E;return _.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Ue,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:Pe})})}const SUn=X0n({isInternal:!1}),K0n=X0n({isInternal:!0});SUn.displayName="BezierEdge";K0n.displayName="BezierEdgeInternal";const W1n={default:K0n,straight:U0n,step:G0n,smoothstep:J0n,simplebezier:B0n},Z1n={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},xUn=(b,E,x)=>x===ur.Left?b-E:x===ur.Right?b+E:b,AUn=(b,E,x)=>x===ur.Top?b-E:x===ur.Bottom?b+E:b,edn="react-flow__edgeupdater";function ndn({position:b,centerX:E,centerY:x,radius:M=10,onMouseDown:N,onMouseEnter:$,onMouseOut:k,type:H}){return _.jsx("circle",{onMouseDown:N,onMouseEnter:$,onMouseOut:k,className:Na([edn,`${edn}-${H}`]),cx:xUn(E,M,b),cy:AUn(x,M,b),r:M,stroke:"transparent",fill:"transparent"})}function MUn({isReconnectable:b,reconnectRadius:E,edge:x,sourceX:M,sourceY:N,targetX:$,targetY:k,sourcePosition:H,targetPosition:q,onReconnect:G,onReconnectStart:ie,onReconnectEnd:W,setReconnecting:Z,setUpdateHover:se}){const oe=Sl(),ee=(Ne,Ue)=>{if(Ne.button!==0)return;const{autoPanOnConnect:ln,domNode:on,connectionMode:An,connectionRadius:xn,lib:tt,onConnectStart:mn,cancelConnection:vn,nodeLookup:Y,rfId:Fe,panBy:wn,updateConnection:xe}=oe.getState(),Ge=Ue.type==="target",fn=(ge,tn)=>{Z(!1),W?.(ge,x,Ue.type,tn)},$e=ge=>G?.(x,ge),Mn=(ge,tn)=>{Z(!0),ie?.(Ne,x,Ue.type),mn?.(ge,tn)};wke.onPointerDown(Ne.nativeEvent,{autoPanOnConnect:ln,connectionMode:An,connectionRadius:xn,domNode:on,handleId:Ue.id,nodeId:Ue.nodeId,nodeLookup:Y,isTarget:Ge,edgeUpdaterType:Ue.type,lib:tt,flowId:Fe,cancelConnection:vn,panBy:wn,isValidConnection:(...ge)=>oe.getState().isValidConnection?.(...ge)??!0,onConnect:$e,onConnectStart:Mn,onConnectEnd:(...ge)=>oe.getState().onConnectEnd?.(...ge),onReconnectEnd:fn,updateConnection:xe,getTransform:()=>oe.getState().transform,getFromHandle:()=>oe.getState().connection.fromHandle,dragThreshold:oe.getState().connectionDragThreshold,handleDomNode:Ne.currentTarget})},Me=Ne=>ee(Ne,{nodeId:x.target,id:x.targetHandle??null,type:"target"}),me=Ne=>ee(Ne,{nodeId:x.source,id:x.sourceHandle??null,type:"source"}),Pe=()=>se(!0),ae=()=>se(!1);return _.jsxs(_.Fragment,{children:[(b===!0||b==="source")&&_.jsx(ndn,{position:H,centerX:M,centerY:N,radius:E,onMouseDown:Me,onMouseEnter:Pe,onMouseOut:ae,type:"source"}),(b===!0||b==="target")&&_.jsx(ndn,{position:q,centerX:$,centerY:k,radius:E,onMouseDown:me,onMouseEnter:Pe,onMouseOut:ae,type:"target"})]})}function CUn({id:b,edgesFocusable:E,edgesReconnectable:x,elementsSelectable:M,onClick:N,onDoubleClick:$,onContextMenu:k,onMouseEnter:H,onMouseMove:q,onMouseLeave:G,reconnectRadius:ie,onReconnect:W,onReconnectStart:Z,onReconnectEnd:se,rfId:oe,edgeTypes:ee,noPanClassName:Me,onError:me,disableKeyboardA11y:Pe}){let ae=zu(Dt=>Dt.edgeLookup.get(b));const Ne=zu(Dt=>Dt.defaultEdgeOptions);ae=Ne?{...Ne,...ae}:ae;let Ue=ae.type||"default",ln=ee?.[Ue]||W1n[Ue];ln===void 0&&(me?.("011",g5.error011(Ue)),Ue="default",ln=ee?.default||W1n.default);const on=!!(ae.focusable||E&&typeof ae.focusable>"u"),An=typeof W<"u"&&(ae.reconnectable||x&&typeof ae.reconnectable>"u"),xn=!!(ae.selectable||M&&typeof ae.selectable>"u"),tt=Re.useRef(null),[mn,vn]=Re.useState(!1),[Y,Fe]=Re.useState(!1),wn=Sl(),{zIndex:xe,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn}=zu(Re.useCallback(Dt=>{const bi=Dt.nodeLookup.get(ae.source),zi=Dt.nodeLookup.get(ae.target);if(!bi||!zi)return{zIndex:ae.zIndex,...Z1n};const cu=vGn({id:b,sourceNode:bi,targetNode:zi,sourceHandle:ae.sourceHandle||null,targetHandle:ae.targetHandle||null,connectionMode:Dt.connectionMode,onError:me});return{zIndex:aGn({selected:ae.selected,zIndex:ae.zIndex,sourceNode:bi,targetNode:zi,elevateOnSelect:Dt.elevateEdgesOnSelect,zIndexMode:Dt.zIndexMode}),...cu||Z1n}},[ae.source,ae.target,ae.sourceHandle,ae.targetHandle,ae.selected,ae.zIndex]),El),Hn=Re.useMemo(()=>ae.markerStart?`url('#${bke(ae.markerStart,oe)}')`:void 0,[ae.markerStart,oe]),ut=Re.useMemo(()=>ae.markerEnd?`url('#${bke(ae.markerEnd,oe)}')`:void 0,[ae.markerEnd,oe]);if(ae.hidden||Ge===null||fn===null||$e===null||Mn===null)return null;const Jt=Dt=>{const{addSelectedEdges:bi,unselectNodesAndEdges:zi,multiSelectionActive:cu}=wn.getState();xn&&(wn.setState({nodesSelectionActive:!1}),ae.selected&&cu?(zi({nodes:[],edges:[ae]}),tt.current?.blur()):bi([b])),N&&N(Dt,ae)},di=$?Dt=>{$(Dt,{...ae})}:void 0,Gt=k?Dt=>{k(Dt,{...ae})}:void 0,At=H?Dt=>{H(Dt,{...ae})}:void 0,si=q?Dt=>{q(Dt,{...ae})}:void 0,Kr=G?Dt=>{G(Dt,{...ae})}:void 0,Er=Dt=>{if(!Pe&&qdn.includes(Dt.key)&&xn){const{unselectNodesAndEdges:bi,addSelectedEdges:zi}=wn.getState();Dt.key==="Escape"?(tt.current?.blur(),bi({edges:[ae]})):zi([b])}};return _.jsx("svg",{style:{zIndex:xe},children:_.jsxs("g",{className:Na(["react-flow__edge",`react-flow__edge-${Ue}`,ae.className,Me,{selected:ae.selected,animated:ae.animated,inactive:!xn&&!N,updating:mn,selectable:xn}]),onClick:Jt,onDoubleClick:di,onContextMenu:Gt,onMouseEnter:At,onMouseMove:si,onMouseLeave:Kr,onKeyDown:on?Er:void 0,tabIndex:on?0:void 0,role:ae.ariaRole??(on?"group":"img"),"aria-roledescription":"edge","data-id":b,"data-testid":`rf__edge-${b}`,"aria-label":ae.ariaLabel===null?void 0:ae.ariaLabel||`Edge from ${ae.source} to ${ae.target}`,"aria-describedby":on?`${E0n}-${oe}`:void 0,ref:tt,...ae.domAttributes,children:[!Y&&_.jsx(ln,{id:b,source:ae.source,target:ae.target,type:ae.type,selected:ae.selected,animated:ae.animated,selectable:xn,deletable:ae.deletable??!0,label:ae.label,labelStyle:ae.labelStyle,labelShowBg:ae.labelShowBg,labelBgStyle:ae.labelBgStyle,labelBgPadding:ae.labelBgPadding,labelBgBorderRadius:ae.labelBgBorderRadius,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn,data:ae.data,style:ae.style,sourceHandleId:ae.sourceHandle,targetHandleId:ae.targetHandle,markerStart:Hn,markerEnd:ut,pathOptions:"pathOptions"in ae?ae.pathOptions:void 0,interactionWidth:ae.interactionWidth}),An&&_.jsx(MUn,{edge:ae,isReconnectable:An,reconnectRadius:ie,onReconnect:W,onReconnectStart:Z,onReconnectEnd:se,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn,setUpdateHover:vn,setReconnecting:Fe})]})})}var TUn=Re.memo(CUn);const OUn=b=>({edgesFocusable:b.edgesFocusable,edgesReconnectable:b.edgesReconnectable,elementsSelectable:b.elementsSelectable,connectionMode:b.connectionMode,onError:b.onError});function V0n({defaultMarkerColor:b,onlyRenderVisibleElements:E,rfId:x,edgeTypes:M,noPanClassName:N,onReconnect:$,onEdgeContextMenu:k,onEdgeMouseEnter:H,onEdgeMouseMove:q,onEdgeMouseLeave:G,onEdgeClick:ie,reconnectRadius:W,onEdgeDoubleClick:Z,onReconnectStart:se,onReconnectEnd:oe,disableKeyboardA11y:ee}){const{edgesFocusable:Me,edgesReconnectable:me,elementsSelectable:Pe,onError:ae}=zu(OUn,El),Ne=bUn(E);return _.jsxs("div",{className:"react-flow__edges",children:[_.jsx(vUn,{defaultColor:b,rfId:x}),Ne.map(Ue=>_.jsx(TUn,{id:Ue,edgesFocusable:Me,edgesReconnectable:me,elementsSelectable:Pe,noPanClassName:N,onReconnect:$,onContextMenu:k,onMouseEnter:H,onMouseMove:q,onMouseLeave:G,onClick:ie,reconnectRadius:W,onDoubleClick:Z,onReconnectStart:se,onReconnectEnd:oe,rfId:x,onError:ae,edgeTypes:M,disableKeyboardA11y:ee},Ue))]})}V0n.displayName="EdgeRenderer";const NUn=Re.memo(V0n),IUn=b=>`translate(${b.transform[0]}px,${b.transform[1]}px) scale(${b.transform[2]})`;function DUn({children:b}){const E=zu(IUn);return _.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:E},children:b})}function _Un(b){const E=$ke(),x=Re.useRef(!1);Re.useEffect(()=>{!x.current&&E.viewportInitialized&&b&&(setTimeout(()=>b(E),1),x.current=!0)},[b,E.viewportInitialized])}const LUn=b=>b.panZoom?.syncViewport;function PUn(b){const E=zu(LUn),x=Sl();return Re.useEffect(()=>{b&&(E?.(b),x.setState({transform:[b.x,b.y,b.zoom]}))},[b,E]),null}function $Un(b){return b.connection.inProgress?{...b.connection,to:cq(b.connection.to,b.transform)}:{...b.connection}}function RUn(b){return $Un}function BUn(b){const E=RUn();return zu(E,El)}const zUn=b=>({nodesConnectable:b.nodesConnectable,isValid:b.connection.isValid,inProgress:b.connection.inProgress,width:b.width,height:b.height});function FUn({containerStyle:b,style:E,type:x,component:M}){const{nodesConnectable:N,width:$,height:k,isValid:H,inProgress:q}=zu(zUn,El);return!($&&N&&q)?null:_.jsx("svg",{style:b,width:$,height:k,className:"react-flow__connectionline react-flow__container",children:_.jsx("g",{className:Na(["react-flow__connection",Kdn(H)]),children:_.jsx(Y0n,{style:E,type:x,CustomComponent:M,isValid:H})})})}const Y0n=({style:b,type:E=ik.Bezier,CustomComponent:x,isValid:M})=>{const{inProgress:N,from:$,fromNode:k,fromHandle:H,fromPosition:q,to:G,toNode:ie,toHandle:W,toPosition:Z,pointer:se}=BUn();if(!N)return;if(x)return _.jsx(x,{connectionLineType:E,connectionLineStyle:b,fromNode:k,fromHandle:H,fromX:$.x,fromY:$.y,toX:G.x,toY:G.y,fromPosition:q,toPosition:Z,connectionStatus:Kdn(M),toNode:ie,toHandle:W,pointer:se});let oe="";const ee={sourceX:$.x,sourceY:$.y,sourcePosition:q,targetX:G.x,targetY:G.y,targetPosition:Z};switch(E){case ik.Bezier:[oe]=u0n(ee);break;case ik.SimpleBezier:[oe]=$0n(ee);break;case ik.Step:[oe]=Cue({...ee,borderRadius:0});break;case ik.SmoothStep:[oe]=Cue(ee);break;default:[oe]=s0n(ee)}return _.jsx("path",{d:oe,fill:"none",className:"react-flow__connection-path",style:b})};Y0n.displayName="ConnectionLine";const JUn={};function tdn(b=JUn){Re.useRef(b),Sl(),Re.useEffect(()=>{},[b])}function HUn(){Sl(),Re.useRef(!1),Re.useEffect(()=>{},[])}function Q0n({nodeTypes:b,edgeTypes:E,onInit:x,onNodeClick:M,onEdgeClick:N,onNodeDoubleClick:$,onEdgeDoubleClick:k,onNodeMouseEnter:H,onNodeMouseMove:q,onNodeMouseLeave:G,onNodeContextMenu:ie,onSelectionContextMenu:W,onSelectionStart:Z,onSelectionEnd:se,connectionLineType:oe,connectionLineStyle:ee,connectionLineComponent:Me,connectionLineContainerStyle:me,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,multiSelectionKeyCode:Ue,panActivationKeyCode:ln,zoomActivationKeyCode:on,deleteKeyCode:An,onlyRenderVisibleElements:xn,elementsSelectable:tt,defaultViewport:mn,translateExtent:vn,minZoom:Y,maxZoom:Fe,preventScrolling:wn,defaultMarkerColor:xe,zoomOnScroll:Ge,zoomOnPinch:fn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ge,zoomOnDoubleClick:tn,panOnDrag:Hn,onPaneClick:ut,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneScroll:At,onPaneContextMenu:si,paneClickDistance:Kr,nodeClickDistance:Er,onEdgeContextMenu:Dt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,onReconnect:Rs,onReconnectStart:ra,onReconnectEnd:nf,noDragClassName:Ia,noWheelClassName:Cc,noPanClassName:l0,disableKeyboardA11y:Cb,nodeExtent:xl,rfId:od,viewport:f0,onViewportChange:sh}){return tdn(b),tdn(E),HUn(),_Un(x),PUn(f0),_.jsx(rUn,{onPaneClick:ut,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneContextMenu:si,onPaneScroll:At,paneClickDistance:Kr,deleteKeyCode:An,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,onSelectionStart:Z,onSelectionEnd:se,multiSelectionKeyCode:Ue,panActivationKeyCode:ln,zoomActivationKeyCode:on,elementsSelectable:tt,zoomOnScroll:Ge,zoomOnPinch:fn,zoomOnDoubleClick:tn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ge,panOnDrag:Hn,defaultViewport:mn,translateExtent:vn,minZoom:Y,maxZoom:Fe,onSelectionContextMenu:W,preventScrolling:wn,noDragClassName:Ia,noWheelClassName:Cc,noPanClassName:l0,disableKeyboardA11y:Cb,onViewportChange:sh,isControlledViewport:!!f0,children:_.jsxs(DUn,{children:[_.jsx(NUn,{edgeTypes:E,onEdgeClick:N,onEdgeDoubleClick:k,onReconnect:Rs,onReconnectStart:ra,onReconnectEnd:nf,onlyRenderVisibleElements:xn,onEdgeContextMenu:Dt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,defaultMarkerColor:xe,noPanClassName:l0,disableKeyboardA11y:Cb,rfId:od}),_.jsx(FUn,{style:ee,type:oe,component:Me,containerStyle:me}),_.jsx("div",{className:"react-flow__edgelabel-renderer"}),_.jsx(dUn,{nodeTypes:b,onNodeClick:M,onNodeDoubleClick:$,onNodeMouseEnter:H,onNodeMouseMove:q,onNodeMouseLeave:G,onNodeContextMenu:ie,nodeClickDistance:Er,onlyRenderVisibleElements:xn,noPanClassName:l0,noDragClassName:Ia,disableKeyboardA11y:Cb,nodeExtent:xl,rfId:od}),_.jsx("div",{className:"react-flow__viewport-portal"})]})})}Q0n.displayName="GraphView";const GUn=Re.memo(Q0n),idn=({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:q=.5,maxZoom:G=2,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z="basic"}={})=>{const se=new Map,oe=new Map,ee=new Map,Me=new Map,me=M??E??[],Pe=x??b??[],ae=ie??[0,0],Ne=W??XG;a0n(ee,Me,me);const{nodesInitialized:Ue}=gke(Pe,se,oe,{nodeOrigin:ae,nodeExtent:Ne,zIndexMode:Z});let ln=[0,0,1];if(k&&N&&$){const on=iq(se,{filter:mn=>!!((mn.width||mn.initialWidth)&&(mn.height||mn.initialHeight))}),{x:An,y:xn,zoom:tt}=Oke(on,N,$,q,G,H?.padding??.1);ln=[An,xn,tt]}return{rfId:"1",width:N??0,height:$??0,transform:ln,nodes:Pe,nodesInitialized:Ue,nodeLookup:se,parentLookup:oe,edges:me,edgeLookup:Me,connectionLookup:ee,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:x!==void 0,hasDefaultEdges:M!==void 0,panZoom:null,minZoom:q,maxZoom:G,translateExtent:XG,nodeExtent:Ne,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:mD.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:ae,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:k??!1,fitViewOptions:H,fitViewResolver:null,connection:{...Xdn},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:cGn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:Udn,zIndexMode:Z,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},qUn=({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:q,maxZoom:G,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z})=>lqn((se,oe)=>{async function ee(){const{nodeLookup:Me,panZoom:me,fitViewOptions:Pe,fitViewResolver:ae,width:Ne,height:Ue,minZoom:ln,maxZoom:on}=oe();me&&(await iGn({nodes:Me,width:Ne,height:Ue,panZoom:me,minZoom:ln,maxZoom:on},Pe),ae?.resolve(!0),se({fitViewResolver:null}))}return{...idn({nodes:b,edges:E,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:q,maxZoom:G,nodeOrigin:ie,nodeExtent:W,defaultNodes:x,defaultEdges:M,zIndexMode:Z}),setNodes:Me=>{const{nodeLookup:me,parentLookup:Pe,nodeOrigin:ae,elevateNodesOnSelect:Ne,fitViewQueued:Ue,zIndexMode:ln,nodesSelectionActive:on}=oe(),{nodesInitialized:An,hasSelectedNodes:xn}=gke(Me,me,Pe,{nodeOrigin:ae,nodeExtent:W,elevateNodesOnSelect:Ne,checkEquality:!0,zIndexMode:ln}),tt=on&&xn;Ue&&An?(ee(),se({nodes:Me,nodesInitialized:An,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:tt})):se({nodes:Me,nodesInitialized:An,nodesSelectionActive:tt})},setEdges:Me=>{const{connectionLookup:me,edgeLookup:Pe}=oe();a0n(me,Pe,Me),se({edges:Me})},setDefaultNodesAndEdges:(Me,me)=>{if(Me){const{setNodes:Pe}=oe();Pe(Me),se({hasDefaultNodes:!0})}if(me){const{setEdges:Pe}=oe();Pe(me),se({hasDefaultEdges:!0})}},updateNodeInternals:Me=>{const{triggerNodeChanges:me,nodeLookup:Pe,parentLookup:ae,domNode:Ne,nodeOrigin:Ue,nodeExtent:ln,debug:on,fitViewQueued:An,zIndexMode:xn}=oe(),{changes:tt,updatedInternals:mn}=MGn(Me,Pe,ae,Ne,Ue,ln,xn);mn&&(EGn(Pe,ae,{nodeOrigin:Ue,nodeExtent:ln,zIndexMode:xn}),An?(ee(),se({fitViewQueued:!1,fitViewOptions:void 0})):se({}),tt?.length>0&&(on&&console.log("React Flow: trigger node changes",tt),me?.(tt)))},updateNodePositions:(Me,me=!1)=>{const Pe=[];let ae=[];const{nodeLookup:Ne,triggerNodeChanges:Ue,connection:ln,updateConnection:on,onNodesChangeMiddlewareMap:An}=oe();for(const[xn,tt]of Me){const mn=Ne.get(xn),vn=!!(mn?.expandParent&&mn?.parentId&&tt?.position),Y={id:xn,type:"position",position:vn?{x:Math.max(0,tt.position.x),y:Math.max(0,tt.position.y)}:tt.position,dragging:me};if(mn&&ln.inProgress&&ln.fromNode.id===mn.id){const Fe=NA(mn,ln.fromHandle,ur.Left,!0);on({...ln,from:Fe})}vn&&mn.parentId&&Pe.push({id:xn,parentId:mn.parentId,rect:{...tt.internals.positionAbsolute,width:tt.measured.width??0,height:tt.measured.height??0}}),ae.push(Y)}if(Pe.length>0){const{parentLookup:xn,nodeOrigin:tt}=oe(),mn=Pke(Pe,Ne,xn,tt);ae.push(...mn)}for(const xn of An.values())ae=xn(ae);Ue(ae)},triggerNodeChanges:Me=>{const{onNodesChange:me,setNodes:Pe,nodes:ae,hasDefaultNodes:Ne,debug:Ue}=oe();if(Me?.length){if(Ne){const ln=A0n(Me,ae);Pe(ln)}Ue&&console.log("React Flow: trigger node changes",Me),me?.(Me)}},triggerEdgeChanges:Me=>{const{onEdgesChange:me,setEdges:Pe,edges:ae,hasDefaultEdges:Ne,debug:Ue}=oe();if(Me?.length){if(Ne){const ln=M0n(Me,ae);Pe(ln)}Ue&&console.log("React Flow: trigger edge changes",Me),me?.(Me)}},addSelectedNodes:Me=>{const{multiSelectionActive:me,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Ue}=oe();if(me){const ln=Me.map(on=>EA(on,!0));Ne(ln);return}Ne(dD(ae,new Set([...Me]),!0)),Ue(dD(Pe))},addSelectedEdges:Me=>{const{multiSelectionActive:me,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Ue}=oe();if(me){const ln=Me.map(on=>EA(on,!0));Ue(ln);return}Ue(dD(Pe,new Set([...Me]))),Ne(dD(ae,new Set,!0))},unselectNodesAndEdges:({nodes:Me,edges:me}={})=>{const{edges:Pe,nodes:ae,nodeLookup:Ne,triggerNodeChanges:Ue,triggerEdgeChanges:ln}=oe(),on=Me||ae,An=me||Pe,xn=[];for(const mn of on){if(!mn.selected)continue;const vn=Ne.get(mn.id);vn&&(vn.selected=!1),xn.push(EA(mn.id,!1))}const tt=[];for(const mn of An)mn.selected&&tt.push(EA(mn.id,!1));Ue(xn),ln(tt)},setMinZoom:Me=>{const{panZoom:me,maxZoom:Pe}=oe();me?.setScaleExtent([Me,Pe]),se({minZoom:Me})},setMaxZoom:Me=>{const{panZoom:me,minZoom:Pe}=oe();me?.setScaleExtent([Pe,Me]),se({maxZoom:Me})},setTranslateExtent:Me=>{oe().panZoom?.setTranslateExtent(Me),se({translateExtent:Me})},resetSelectedElements:()=>{const{edges:Me,nodes:me,triggerNodeChanges:Pe,triggerEdgeChanges:ae,elementsSelectable:Ne}=oe();if(!Ne)return;const Ue=me.reduce((on,An)=>An.selected?[...on,EA(An.id,!1)]:on,[]),ln=Me.reduce((on,An)=>An.selected?[...on,EA(An.id,!1)]:on,[]);Pe(Ue),ae(ln)},setNodeExtent:Me=>{const{nodes:me,nodeLookup:Pe,parentLookup:ae,nodeOrigin:Ne,elevateNodesOnSelect:Ue,nodeExtent:ln,zIndexMode:on}=oe();Me[0][0]===ln[0][0]&&Me[0][1]===ln[0][1]&&Me[1][0]===ln[1][0]&&Me[1][1]===ln[1][1]||(gke(me,Pe,ae,{nodeOrigin:Ne,nodeExtent:Me,elevateNodesOnSelect:Ue,checkEquality:!1,zIndexMode:on}),se({nodeExtent:Me}))},panBy:Me=>{const{transform:me,width:Pe,height:ae,panZoom:Ne,translateExtent:Ue}=oe();return CGn({delta:Me,panZoom:Ne,transform:me,translateExtent:Ue,width:Pe,height:ae})},setCenter:async(Me,me,Pe)=>{const{width:ae,height:Ne,maxZoom:Ue,panZoom:ln}=oe();if(!ln)return Promise.resolve(!1);const on=typeof Pe?.zoom<"u"?Pe.zoom:Ue;return await ln.setViewport({x:ae/2-Me*on,y:Ne/2-me*on,zoom:on},{duration:Pe?.duration,ease:Pe?.ease,interpolate:Pe?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{se({connection:{...Xdn}})},updateConnection:Me=>{se({connection:Me})},reset:()=>se({...idn()})}},Object.is);function UUn({initialNodes:b,initialEdges:E,defaultNodes:x,defaultEdges:M,initialWidth:N,initialHeight:$,initialMinZoom:k,initialMaxZoom:H,initialFitViewOptions:q,fitView:G,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z,children:se}){const[oe]=Re.useState(()=>qUn({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:G,minZoom:k,maxZoom:H,fitViewOptions:q,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z}));return _.jsx(aqn,{value:oe,children:_.jsx(Dqn,{children:se})})}function XUn({children:b,nodes:E,edges:x,defaultNodes:M,defaultEdges:N,width:$,height:k,fitView:H,fitViewOptions:q,minZoom:G,maxZoom:ie,nodeOrigin:W,nodeExtent:Z,zIndexMode:se}){return Re.useContext(zue)?_.jsx(_.Fragment,{children:b}):_.jsx(UUn,{initialNodes:E,initialEdges:x,defaultNodes:M,defaultEdges:N,initialWidth:$,initialHeight:k,fitView:H,initialFitViewOptions:q,initialMinZoom:G,initialMaxZoom:ie,nodeOrigin:W,nodeExtent:Z,zIndexMode:se,children:b})}const KUn={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function VUn({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,className:N,nodeTypes:$,edgeTypes:k,onNodeClick:H,onEdgeClick:q,onInit:G,onMove:ie,onMoveStart:W,onMoveEnd:Z,onConnect:se,onConnectStart:oe,onConnectEnd:ee,onClickConnectStart:Me,onClickConnectEnd:me,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Ue,onNodeDoubleClick:ln,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onNodesDelete:tt,onEdgesDelete:mn,onDelete:vn,onSelectionChange:Y,onSelectionDragStart:Fe,onSelectionDrag:wn,onSelectionDragStop:xe,onSelectionContextMenu:Ge,onSelectionStart:fn,onSelectionEnd:$e,onBeforeDelete:Mn,connectionMode:ge,connectionLineType:tn=ik.Bezier,connectionLineStyle:Hn,connectionLineComponent:ut,connectionLineContainerStyle:Jt,deleteKeyCode:di="Backspace",selectionKeyCode:Gt="Shift",selectionOnDrag:At=!1,selectionMode:si=KG.Full,panActivationKeyCode:Kr="Space",multiSelectionKeyCode:Er=QG()?"Meta":"Control",zoomActivationKeyCode:Dt=QG()?"Meta":"Control",snapToGrid:bi,snapGrid:zi,onlyRenderVisibleElements:cu=!1,selectNodesOnDrag:Fu,nodesDraggable:Rs,autoPanOnNodeFocus:ra,nodesConnectable:nf,nodesFocusable:Ia,nodeOrigin:Cc=S0n,edgesFocusable:l0,edgesReconnectable:Cb,elementsSelectable:xl=!0,defaultViewport:od=Sqn,minZoom:f0=.5,maxZoom:sh=2,translateExtent:sd=XG,preventScrolling:m5=!0,nodeExtent:a0,defaultMarkerColor:Np="#b1b1b7",zoomOnScroll:h6=!0,zoomOnPinch:Tb=!0,panOnScroll:ca=!1,panOnScrollSpeed:ld=.5,panOnScrollMode:xf=AA.Free,zoomOnDoubleClick:d6=!0,panOnDrag:lh=!0,onPaneClick:Ip,onPaneMouseEnter:Xg,onPaneMouseMove:Kg,onPaneMouseLeave:Vg,onPaneScroll:fd,onPaneContextMenu:Yg,paneClickDistance:Ob=1,nodeClickDistance:v5=0,children:Dp,onReconnect:_p,onReconnectStart:uu,onReconnectEnd:y5,onEdgeContextMenu:Qg,onEdgeDoubleClick:ov,onEdgeMouseEnter:k5,onEdgeMouseMove:Wg,onEdgeMouseLeave:sv,reconnectRadius:j5=10,onNodesChange:E5,onEdgesChange:w1,noDragClassName:Zs="nodrag",noWheelClassName:Af="nowheel",noPanClassName:vt="nopan",fitView:kc,fitViewOptions:tc,connectOnClick:ck,attributionPosition:h0,proOptions:Zg,defaultEdgeOptions:b6,elevateNodesOnSelect:Lp=!0,elevateEdgesOnSelect:Pp=!1,disableKeyboardA11y:$p=!1,autoPanOnConnect:Rp,autoPanOnNodeDrag:Al,autoPanSpeed:S5,connectionRadius:uk,isValidConnection:ew,onError:Bp,style:DA,id:g6,nodeDragThreshold:ok,connectionDragThreshold:sk,viewport:lv,onViewportChange:x5,width:d0,height:Ph,colorMode:lk="light",debug:_A,onScroll:A5,ariaLabelConfig:fk,zIndexMode:fv="basic",...LA},$h){const av=g6||"1",ak=Cqn(lk),w6=Re.useCallback(nw=>{nw.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),A5?.(nw)},[A5]);return _.jsx("div",{"data-testid":"rf__wrapper",...LA,onScroll:w6,style:{...DA,...KUn},ref:$h,className:Na(["react-flow",N,ak]),id:g6,role:"application",children:_.jsxs(XUn,{nodes:b,edges:E,width:d0,height:Ph,fitView:kc,fitViewOptions:tc,minZoom:f0,maxZoom:sh,nodeOrigin:Cc,nodeExtent:a0,zIndexMode:fv,children:[_.jsx(Mqn,{nodes:b,edges:E,defaultNodes:x,defaultEdges:M,onConnect:se,onConnectStart:oe,onConnectEnd:ee,onClickConnectStart:Me,onClickConnectEnd:me,nodesDraggable:Rs,autoPanOnNodeFocus:ra,nodesConnectable:nf,nodesFocusable:Ia,edgesFocusable:l0,edgesReconnectable:Cb,elementsSelectable:xl,elevateNodesOnSelect:Lp,elevateEdgesOnSelect:Pp,minZoom:f0,maxZoom:sh,nodeExtent:a0,onNodesChange:E5,onEdgesChange:w1,snapToGrid:bi,snapGrid:zi,connectionMode:ge,translateExtent:sd,connectOnClick:ck,defaultEdgeOptions:b6,fitView:kc,fitViewOptions:tc,onNodesDelete:tt,onEdgesDelete:mn,onDelete:vn,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onSelectionDrag:wn,onSelectionDragStart:Fe,onSelectionDragStop:xe,onMove:ie,onMoveStart:W,onMoveEnd:Z,noPanClassName:vt,nodeOrigin:Cc,rfId:av,autoPanOnConnect:Rp,autoPanOnNodeDrag:Al,autoPanSpeed:S5,onError:Bp,connectionRadius:uk,isValidConnection:ew,selectNodesOnDrag:Fu,nodeDragThreshold:ok,connectionDragThreshold:sk,onBeforeDelete:Mn,debug:_A,ariaLabelConfig:fk,zIndexMode:fv}),_.jsx(GUn,{onInit:G,onNodeClick:H,onEdgeClick:q,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Ue,onNodeDoubleClick:ln,nodeTypes:$,edgeTypes:k,connectionLineType:tn,connectionLineStyle:Hn,connectionLineComponent:ut,connectionLineContainerStyle:Jt,selectionKeyCode:Gt,selectionOnDrag:At,selectionMode:si,deleteKeyCode:di,multiSelectionKeyCode:Er,panActivationKeyCode:Kr,zoomActivationKeyCode:Dt,onlyRenderVisibleElements:cu,defaultViewport:od,translateExtent:sd,minZoom:f0,maxZoom:sh,preventScrolling:m5,zoomOnScroll:h6,zoomOnPinch:Tb,zoomOnDoubleClick:d6,panOnScroll:ca,panOnScrollSpeed:ld,panOnScrollMode:xf,panOnDrag:lh,onPaneClick:Ip,onPaneMouseEnter:Xg,onPaneMouseMove:Kg,onPaneMouseLeave:Vg,onPaneScroll:fd,onPaneContextMenu:Yg,paneClickDistance:Ob,nodeClickDistance:v5,onSelectionContextMenu:Ge,onSelectionStart:fn,onSelectionEnd:$e,onReconnect:_p,onReconnectStart:uu,onReconnectEnd:y5,onEdgeContextMenu:Qg,onEdgeDoubleClick:ov,onEdgeMouseEnter:k5,onEdgeMouseMove:Wg,onEdgeMouseLeave:sv,reconnectRadius:j5,defaultMarkerColor:Np,noDragClassName:Zs,noWheelClassName:Af,noPanClassName:vt,rfId:av,disableKeyboardA11y:$p,nodeExtent:a0,viewport:lv,onViewportChange:x5}),_.jsx(Eqn,{onSelectionChange:Y}),Dp,_.jsx(mqn,{proOptions:Zg,position:h0}),_.jsx(pqn,{rfId:av,disableKeyboardA11y:$p})]})})}var YUn=C0n(VUn);const QUn=b=>b.domNode?.querySelector(".react-flow__edgelabel-renderer");function WUn({children:b}){const E=zu(QUn);return E?fqn.createPortal(b,E):null}function ZUn(b){const[E,x]=Re.useState(b),M=Re.useCallback(N=>x($=>A0n(N,$)),[]);return[E,x,M]}function eXn(b){const[E,x]=Re.useState(b),M=Re.useCallback(N=>x($=>M0n(N,$)),[]);return[E,x,M]}function nXn({dimensions:b,lineWidth:E,variant:x,className:M}){return _.jsx("path",{strokeWidth:E,d:`M${b[0]/2} 0 V${b[1]} M0 ${b[1]/2} H${b[0]}`,className:Na(["react-flow__background-pattern",x,M])})}function tXn({radius:b,className:E}){return _.jsx("circle",{cx:b,cy:b,r:b,className:Na(["react-flow__background-pattern","dots",E])})}var rk;(function(b){b.Lines="lines",b.Dots="dots",b.Cross="cross"})(rk||(rk={}));const iXn={[rk.Dots]:1,[rk.Lines]:1,[rk.Cross]:6},rXn=b=>({transform:b.transform,patternId:`pattern-${b.rfId}`});function W0n({id:b,variant:E=rk.Dots,gap:x=20,size:M,lineWidth:N=1,offset:$=0,color:k,bgColor:H,style:q,className:G,patternClassName:ie}){const W=Re.useRef(null),{transform:Z,patternId:se}=zu(rXn,El),oe=M||iXn[E],ee=E===rk.Dots,Me=E===rk.Cross,me=Array.isArray(x)?x:[x,x],Pe=[me[0]*Z[2]||1,me[1]*Z[2]||1],ae=oe*Z[2],Ne=Array.isArray($)?$:[$,$],Ue=Me?[ae,ae]:Pe,ln=[Ne[0]*Z[2]||1+Ue[0]/2,Ne[1]*Z[2]||1+Ue[1]/2],on=`${se}${b||""}`;return _.jsxs("svg",{className:Na(["react-flow__background",G]),style:{...q,...Jue,"--xy-background-color-props":H,"--xy-background-pattern-color-props":k},ref:W,"data-testid":"rf__background",children:[_.jsx("pattern",{id:on,x:Z[0]%Pe[0],y:Z[1]%Pe[1],width:Pe[0],height:Pe[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${ln[0]},-${ln[1]})`,children:ee?_.jsx(tXn,{radius:ae/2,className:ie}):_.jsx(nXn,{dimensions:Ue,lineWidth:N,variant:E,className:ie})}),_.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${on})`})]})}W0n.displayName="Background";const cXn=Re.memo(W0n);function uXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:_.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function oXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:_.jsx("path",{d:"M0 0h32v4.2H0z"})})}function sXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:_.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function lXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:_.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function fXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:_.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function cue({children:b,className:E,...x}){return _.jsx("button",{type:"button",className:Na(["react-flow__controls-button",E]),...x,children:b})}const aXn=b=>({isInteractive:b.nodesDraggable||b.nodesConnectable||b.elementsSelectable,minZoomReached:b.transform[2]<=b.minZoom,maxZoomReached:b.transform[2]>=b.maxZoom,ariaLabelConfig:b.ariaLabelConfig});function Z0n({style:b,showZoom:E=!0,showFitView:x=!0,showInteractive:M=!0,fitViewOptions:N,onZoomIn:$,onZoomOut:k,onFitView:H,onInteractiveChange:q,className:G,children:ie,position:W="bottom-left",orientation:Z="vertical","aria-label":se}){const oe=Sl(),{isInteractive:ee,minZoomReached:Me,maxZoomReached:me,ariaLabelConfig:Pe}=zu(aXn,El),{zoomIn:ae,zoomOut:Ne,fitView:Ue}=$ke(),ln=()=>{ae(),$?.()},on=()=>{Ne(),k?.()},An=()=>{Ue(N),H?.()},xn=()=>{oe.setState({nodesDraggable:!ee,nodesConnectable:!ee,elementsSelectable:!ee}),q?.(!ee)},tt=Z==="horizontal"?"horizontal":"vertical";return _.jsxs(Fue,{className:Na(["react-flow__controls",tt,G]),position:W,style:b,"data-testid":"rf__controls","aria-label":se??Pe["controls.ariaLabel"],children:[E&&_.jsxs(_.Fragment,{children:[_.jsx(cue,{onClick:ln,className:"react-flow__controls-zoomin",title:Pe["controls.zoomIn.ariaLabel"],"aria-label":Pe["controls.zoomIn.ariaLabel"],disabled:me,children:_.jsx(uXn,{})}),_.jsx(cue,{onClick:on,className:"react-flow__controls-zoomout",title:Pe["controls.zoomOut.ariaLabel"],"aria-label":Pe["controls.zoomOut.ariaLabel"],disabled:Me,children:_.jsx(oXn,{})})]}),x&&_.jsx(cue,{className:"react-flow__controls-fitview",onClick:An,title:Pe["controls.fitView.ariaLabel"],"aria-label":Pe["controls.fitView.ariaLabel"],children:_.jsx(sXn,{})}),M&&_.jsx(cue,{className:"react-flow__controls-interactive",onClick:xn,title:Pe["controls.interactive.ariaLabel"],"aria-label":Pe["controls.interactive.ariaLabel"],children:ee?_.jsx(fXn,{}):_.jsx(lXn,{})}),ie]})}Z0n.displayName="Controls";const hXn=Re.memo(Z0n);function dXn({id:b,x:E,y:x,width:M,height:N,style:$,color:k,strokeColor:H,strokeWidth:q,className:G,borderRadius:ie,shapeRendering:W,selected:Z,onClick:se}){const{background:oe,backgroundColor:ee}=$||{},Me=k||oe||ee;return _.jsx("rect",{className:Na(["react-flow__minimap-node",{selected:Z},G]),x:E,y:x,rx:ie,ry:ie,width:M,height:N,style:{fill:Me,stroke:H,strokeWidth:q},shapeRendering:W,onClick:se?me=>se(me,b):void 0})}const bXn=Re.memo(dXn),gXn=b=>b.nodes.map(E=>E.id),K7e=b=>b instanceof Function?b:()=>b;function wXn({nodeStrokeColor:b,nodeColor:E,nodeClassName:x="",nodeBorderRadius:M=5,nodeStrokeWidth:N,nodeComponent:$=bXn,onClick:k}){const H=zu(gXn,El),q=K7e(E),G=K7e(b),ie=K7e(x),W=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return _.jsx(_.Fragment,{children:H.map(Z=>_.jsx(mXn,{id:Z,nodeColorFunc:q,nodeStrokeColorFunc:G,nodeClassNameFunc:ie,nodeBorderRadius:M,nodeStrokeWidth:N,NodeComponent:$,onClick:k,shapeRendering:W},Z))})}function pXn({id:b,nodeColorFunc:E,nodeStrokeColorFunc:x,nodeClassNameFunc:M,nodeBorderRadius:N,nodeStrokeWidth:$,shapeRendering:k,NodeComponent:H,onClick:q}){const{node:G,x:ie,y:W,width:Z,height:se}=zu(oe=>{const ee=oe.nodeLookup.get(b);if(!ee)return{node:void 0,x:0,y:0,width:0,height:0};const Me=ee.internals.userNode,{x:me,y:Pe}=ee.internals.positionAbsolute,{width:ae,height:Ne}=a6(Me);return{node:Me,x:me,y:Pe,width:ae,height:Ne}},El);return!G||G.hidden||!e0n(G)?null:_.jsx(H,{x:ie,y:W,width:Z,height:se,style:G.style,selected:!!G.selected,className:M(G),color:E(G),borderRadius:N,strokeColor:x(G),strokeWidth:$,shapeRendering:k,onClick:q,id:G.id})}const mXn=Re.memo(pXn);var vXn=Re.memo(wXn);const yXn=200,kXn=150,jXn=b=>!b.hidden,EXn=b=>{const E={x:-b.transform[0]/b.transform[2],y:-b.transform[1]/b.transform[2],width:b.width/b.transform[2],height:b.height/b.transform[2]};return{viewBB:E,boundingRect:b.nodeLookup.size>0?Zdn(iq(b.nodeLookup,{filter:jXn}),E):E,rfId:b.rfId,panZoom:b.panZoom,translateExtent:b.translateExtent,flowWidth:b.width,flowHeight:b.height,ariaLabelConfig:b.ariaLabelConfig}},SXn="react-flow__minimap-desc";function ebn({style:b,className:E,nodeStrokeColor:x,nodeColor:M,nodeClassName:N="",nodeBorderRadius:$=5,nodeStrokeWidth:k,nodeComponent:H,bgColor:q,maskColor:G,maskStrokeColor:ie,maskStrokeWidth:W,position:Z="bottom-right",onClick:se,onNodeClick:oe,pannable:ee=!1,zoomable:Me=!1,ariaLabel:me,inversePan:Pe,zoomStep:ae=1,offsetScale:Ne=5}){const Ue=Sl(),ln=Re.useRef(null),{boundingRect:on,viewBB:An,rfId:xn,panZoom:tt,translateExtent:mn,flowWidth:vn,flowHeight:Y,ariaLabelConfig:Fe}=zu(EXn,El),wn=b?.width??yXn,xe=b?.height??kXn,Ge=on.width/wn,fn=on.height/xe,$e=Math.max(Ge,fn),Mn=$e*wn,ge=$e*xe,tn=Ne*$e,Hn=on.x-(Mn-on.width)/2-tn,ut=on.y-(ge-on.height)/2-tn,Jt=Mn+tn*2,di=ge+tn*2,Gt=`${SXn}-${xn}`,At=Re.useRef(0),si=Re.useRef();At.current=$e,Re.useEffect(()=>{if(ln.current&&tt)return si.current=$Gn({domNode:ln.current,panZoom:tt,getTransform:()=>Ue.getState().transform,getViewScale:()=>At.current}),()=>{si.current?.destroy()}},[tt]),Re.useEffect(()=>{si.current?.update({translateExtent:mn,width:vn,height:Y,inversePan:Pe,pannable:ee,zoomStep:ae,zoomable:Me})},[ee,Me,Pe,ae,mn,vn,Y]);const Kr=se?bi=>{const[zi,cu]=si.current?.pointer(bi)||[0,0];se(bi,{x:zi,y:cu})}:void 0,Er=oe?Re.useCallback((bi,zi)=>{const cu=Ue.getState().nodeLookup.get(zi).internals.userNode;oe(bi,cu)},[]):void 0,Dt=me??Fe["minimap.ariaLabel"];return _.jsx(Fue,{position:Z,style:{...b,"--xy-minimap-background-color-props":typeof q=="string"?q:void 0,"--xy-minimap-mask-background-color-props":typeof G=="string"?G:void 0,"--xy-minimap-mask-stroke-color-props":typeof ie=="string"?ie:void 0,"--xy-minimap-mask-stroke-width-props":typeof W=="number"?W*$e:void 0,"--xy-minimap-node-background-color-props":typeof M=="string"?M:void 0,"--xy-minimap-node-stroke-color-props":typeof x=="string"?x:void 0,"--xy-minimap-node-stroke-width-props":typeof k=="number"?k:void 0},className:Na(["react-flow__minimap",E]),"data-testid":"rf__minimap",children:_.jsxs("svg",{width:wn,height:xe,viewBox:`${Hn} ${ut} ${Jt} ${di}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Gt,ref:ln,onClick:Kr,children:[Dt&&_.jsx("title",{id:Gt,children:Dt}),_.jsx(vXn,{onClick:Er,nodeColor:M,nodeStrokeColor:x,nodeBorderRadius:$,nodeClassName:N,nodeStrokeWidth:k,nodeComponent:H}),_.jsx("path",{className:"react-flow__minimap-mask",d:`M${Hn-tn},${ut-tn}h${Jt+tn*2}v${di+tn*2}h${-Jt-tn*2}z + M${An.x},${An.y}h${An.width}v${An.height}h${-An.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}ebn.displayName="MiniMap";const xXn=Re.memo(ebn),AXn=b=>E=>b?`${Math.max(1/E.transform[2],1)}`:void 0,MXn={[jD.Line]:"right",[jD.Handle]:"bottom-right"};function CXn({nodeId:b,position:E,variant:x=jD.Handle,className:M,style:N=void 0,children:$,color:k,minWidth:H=10,minHeight:q=10,maxWidth:G=Number.MAX_VALUE,maxHeight:ie=Number.MAX_VALUE,keepAspectRatio:W=!1,resizeDirection:Z,autoScale:se=!0,shouldResize:oe,onResizeStart:ee,onResize:Me,onResizeEnd:me}){const Pe=I0n(),ae=typeof b=="string"?b:Pe,Ne=Sl(),Ue=Re.useRef(null),ln=x===jD.Handle,on=zu(Re.useCallback(AXn(ln&&se),[ln,se]),El),An=Re.useRef(null),xn=E??MXn[x];Re.useEffect(()=>{if(!(!Ue.current||!ae))return An.current||(An.current=QGn({domNode:Ue.current,nodeId:ae,getStoreItems:()=>{const{nodeLookup:mn,transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn,domNode:xe}=Ne.getState();return{nodeLookup:mn,transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn,paneDomNode:xe}},onChange:(mn,vn)=>{const{triggerNodeChanges:Y,nodeLookup:Fe,parentLookup:wn,nodeOrigin:xe}=Ne.getState(),Ge=[],fn={x:mn.x,y:mn.y},$e=Fe.get(ae);if($e&&$e.expandParent&&$e.parentId){const Mn=$e.origin??xe,ge=mn.width??$e.measured.width??0,tn=mn.height??$e.measured.height??0,Hn={id:$e.id,parentId:$e.parentId,rect:{width:ge,height:tn,...n0n({x:mn.x??$e.position.x,y:mn.y??$e.position.y},{width:ge,height:tn},$e.parentId,Fe,Mn)}},ut=Pke([Hn],Fe,wn,xe);Ge.push(...ut),fn.x=mn.x?Math.max(Mn[0]*ge,mn.x):void 0,fn.y=mn.y?Math.max(Mn[1]*tn,mn.y):void 0}if(fn.x!==void 0&&fn.y!==void 0){const Mn={id:ae,type:"position",position:{...fn}};Ge.push(Mn)}if(mn.width!==void 0&&mn.height!==void 0){const ge={id:ae,type:"dimensions",resizing:!0,setAttributes:Z?Z==="horizontal"?"width":"height":!0,dimensions:{width:mn.width,height:mn.height}};Ge.push(ge)}for(const Mn of vn){const ge={...Mn,type:"position"};Ge.push(ge)}Y(Ge)},onEnd:({width:mn,height:vn})=>{const Y={id:ae,type:"dimensions",resizing:!1,dimensions:{width:mn,height:vn}};Ne.getState().triggerNodeChanges([Y])}})),An.current.update({controlPosition:xn,boundaries:{minWidth:H,minHeight:q,maxWidth:G,maxHeight:ie},keepAspectRatio:W,resizeDirection:Z,onResizeStart:ee,onResize:Me,onResizeEnd:me,shouldResize:oe}),()=>{An.current?.destroy()}},[xn,H,q,G,ie,W,ee,Me,me,oe]);const tt=xn.split("-");return _.jsx("div",{className:Na(["react-flow__resize-control","nodrag",...tt,x,M]),ref:Ue,style:{...N,scale:on,...k&&{[ln?"backgroundColor":"borderColor"]:k}},children:$})}Re.memo(CXn);const TXn=b=>b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),nbn=(...b)=>b.filter((E,x,M)=>!!E&&E.trim()!==""&&M.indexOf(E)===x).join(" ").trim();var OXn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const NXn=Re.forwardRef(({color:b="currentColor",size:E=24,strokeWidth:x=2,absoluteStrokeWidth:M,className:N="",children:$,iconNode:k,...H},q)=>Re.createElement("svg",{ref:q,...OXn,width:E,height:E,stroke:b,strokeWidth:M?Number(x)*24/Number(E):x,className:nbn("lucide",N),...H},[...k.map(([G,ie])=>Re.createElement(G,ie)),...Array.isArray($)?$:[$]]));const Sf=(b,E)=>{const x=Re.forwardRef(({className:M,...N},$)=>Re.createElement(NXn,{ref:$,iconNode:E,className:nbn(`lucide-${TXn(b)}`,M),...N}));return x.displayName=`${b}`,x};const IXn=Sf("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);const DXn=Sf("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);const IA=Sf("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const _Xn=Sf("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const LXn=Sf("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);const PXn=Sf("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const Bke=Sf("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const $Xn=Sf("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);const RXn=Sf("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);const tbn=Sf("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const rdn=Sf("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const BXn=Sf("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);const MA=Sf("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const zXn=Sf("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);const FXn=Sf("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const JXn=Sf("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);const ibn=Sf("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);const HXn=Sf("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const zG=Sf("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const vke=Sf("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const GXn=Sf("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);const qg=Sf("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function qXn({mode:b,models:E,objects:x,application:M,initialModelType:N,suggestedSelector:$,nameReadOnly:k=!1,preview:H,onPreview:q,onSubmit:G,onClose:ie}){const Z=(M?rbn(E,M):null)?.type||N||E[0]?.type||"",[se,oe]=Re.useState(Z),ee=E.find(Dt=>Dt.type===se)??null,[Me,me]=Re.useState(M?.name||M?.applicationId||cdn(ee)),[Pe,ae]=Re.useState(()=>Oue(ee,M)),Ne=M?.selector||$||XXn(x),[Ue,ln]=Re.useState(Ne.multiplicity),[on,An]=Re.useState(Y7e(Ne,"scale")),[xn,tt]=Re.useState(Y7e(Ne,"kind")),[mn,vn]=Re.useState(Y7e(Ne,"species")),[Y,Fe]=Re.useState(Ws(Ne.criteria.id)),wn=KXn(Ne,"within"),xe=M?.owner.scope==="template"&&wn?.type==="Scope"&&String(wn.name||"")===M.owner.instance,[Ge,fn]=Re.useState(wn?.type==="Scope"&&!xe?"named_scope":wn?.type==="SceneScope"?"scene":"local"),[$e,Mn]=Re.useState(wn?.type==="Scope"&&!xe?Ws(vzn(wn,x)):""),[ge,tn]=Re.useState(M?.cadence.mode==="period"?"period":"default"),[Hn,ut]=Re.useState(String(M?.cadence.value??1)),[Jt,di]=Re.useState(M?.cadence.unit||"Hour"),Gt=Dt=>{const bi=E.find(zi=>zi.type===Dt)??null;oe(Dt),ae(Oue(bi,b==="update"?M:void 0)),b==="add"&&me(cdn(bi))},At=Re.useMemo(()=>({scales:wue(x.map(Dt=>Dt.scale)),kinds:wue(x.map(Dt=>Dt.kind)),species:wue(x.map(Dt=>Dt.species))}),[x]),si=Re.useMemo(()=>{const Dt=[on&&`scale ${on}`,xn&&`kind ${xn}`,mn&&`species ${mn}`,Y&&`ID ${Oa(d5(Y))}`].filter(Boolean),bi=Dt.length?Dt.join(", "):"matching objects";return Ge==="scene"?`${bi} in the whole scene`:Ge==="named_scope"?`${bi} below ${$e?Oa(d5($e)):"the selected root"}`:`${bi} in the local instance scope`},[xn,Y,on,Ge,$e,mn]),Kr=()=>{const Dt={selectors:[]};return Ge==="named_scope"&&$e&&(Dt.within={type:"Scope",id:d5($e)}),Ge==="scene"&&(Dt.within={type:"SceneScope"}),on&&(Dt.scale=on),xn&&(Dt.kind=xn),mn&&(Dt.species=mn),Y&&(Dt.id=d5(Y)),{type:VXn(Ue),multiplicity:Ue,criteria:Dt,julia:""}},Er=()=>{G({applicationRef:M?.owner,modelType:se,name:Me.trim(),parameters:Pe,selector:Kr(),cadence:ge==="period"?{mode:"period",value:Number(Hn),unit:Jt,julia:`Dates.${Jt}(${Hn})`}:{mode:"default",value:null,unit:null,julia:"nothing"}})};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:ie,children:_.jsxs("section",{className:"overlay-panel application-form",onMouseDown:Dt=>Dt.stopPropagation(),"data-testid":"application-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:b==="add"?"Add application":`Update ${M?.applicationId}`}),_.jsx("span",{children:"A configured use of a model on selected scene objects"})]}),_.jsx("button",{onClick:ie,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content application-form-content",children:[_.jsxs("label",{children:["Model",_.jsx("select",{value:se,onChange:Dt=>Gt(Dt.target.value),"data-testid":"application-model-select",children:E.map(Dt=>_.jsxs("option",{value:Dt.type,children:[Dt.package?`${Dt.package} · `:"",Dt.name," (",Dt.process,")"]},Dt.type))})]}),_.jsxs("label",{children:["Application name",_.jsx("input",{value:Me,disabled:k,onChange:Dt=>me(Dt.target.value),"data-testid":"application-name"})]}),ee&&ee.constructor.fields.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Model parameters"}),_.jsx(cbn,{fields:ee.constructor.fields,values:Pe,onChange:ae})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Target selector"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Multiplicity",_.jsxs("select",{value:Ue,onChange:Dt=>ln(Dt.target.value),children:[_.jsx("option",{value:"one",children:"One"}),_.jsx("option",{value:"optional_one",children:"Optional one"}),_.jsx("option",{value:"many",children:"Many"})]})]}),_.jsxs("label",{children:["Scope",_.jsxs("select",{value:Ge,onChange:Dt=>fn(Dt.target.value),children:[_.jsx("option",{value:"local",children:"Default / instance local"}),_.jsx("option",{value:"scene",children:"Explicit whole scene"}),_.jsx("option",{value:"named_scope",children:"Object subtree"})]})]}),Ge==="named_scope"&&_.jsx(mue,{label:"Scope root",value:$e,objects:x,onChange:Mn,emptyLabel:"Choose an object"}),_.jsx(V7e,{label:"Scale",value:on,options:At.scales,onChange:An}),_.jsx(V7e,{label:"Kind",value:xn,options:At.kinds,onChange:tt}),_.jsx(V7e,{label:"Species",value:mn,options:At.species,onChange:vn}),_.jsx(mue,{label:"Object ID",value:Y,objects:x,onChange:Fe})]}),_.jsxs("p",{className:"selector-summary",children:["Julia will resolve ",_.jsx("strong",{children:Ue.replace("_"," ")})," target from ",si,"."]}),_.jsxs("button",{className:"selector-preview-button",type:"button",onClick:()=>q(Kr()),"data-testid":"application-target-preview",children:[_.jsx(Bke,{size:15})," Preview targets in Julia"]}),H&&_.jsxs("section",{className:"selector-preview","data-testid":"application-target-preview-result",children:[_.jsxs("strong",{children:[H.count," target object",H.count===1?"":"s"]}),_.jsx("code",{children:H.objectIds.map(Oa).join(", ")||"No targets"}),H.groups.map(Dt=>_.jsxs("div",{children:[_.jsx("span",{children:Dt.instance}),_.jsx("code",{children:Dt.objectIds.map(Oa).join(", ")||"No targets"})]},Dt.instance))]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Cadence"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Mode",_.jsxs("select",{value:ge,onChange:Dt=>tn(Dt.target.value),"data-testid":"application-cadence-mode",children:[_.jsx("option",{value:"default",children:"Model or environment default"}),_.jsx("option",{value:"period",children:"Explicit period"})]})]}),ge==="period"&&_.jsxs(_.Fragment,{children:[_.jsxs("label",{children:["Value",_.jsx("input",{type:"number",min:"1",step:"1",value:Hn,onChange:Dt=>ut(Dt.target.value),"data-testid":"application-cadence-value"})]}),_.jsxs("label",{children:["Unit",_.jsxs("select",{value:Jt,onChange:Dt=>di(Dt.target.value),"data-testid":"application-cadence-unit",children:[_.jsx("option",{children:"Second"}),_.jsx("option",{children:"Minute"}),_.jsx("option",{children:"Hour"}),_.jsx("option",{children:"Day"})]})]})]})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:ie,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:!se||!Me.trim()||ge==="period"&&(!Number.isInteger(Number(Hn))||Number(Hn)<=0),onClick:Er,"data-testid":"application-submit",children:[_.jsx(IA,{size:15})," ",b==="add"?"Add application":"Apply changes"]})]})]})})}function rbn(b,E){return b.find(x=>x.type===E.modelType)??b.find(x=>x.name===E.modelName&&x.module===E.module)??null}function cbn({fields:b,values:E,onChange:x}){const M=new Map;for(const $ of b)$.typeParameter&&!M.has($.typeParameter)&&M.set($.typeParameter,$.name);const N=($,k)=>{const H=$.typeParameter?b.filter(q=>q.typeParameter===$.typeParameter).map(q=>q.name):[$.name];x(Object.fromEntries(Object.entries(E).map(([q,G])=>[q,H.includes(q)?{...G,type:k}:G])))};return _.jsx("div",{className:"parameter-list",children:b.map($=>{const k=E[$.name]||{type:$.inferredChoice,value:""},H=!$.typeParameter||M.get($.typeParameter)===$.name;return _.jsxs("div",{className:"parameter-row",children:[_.jsxs("label",{children:[_.jsx("span",{children:$.name}),_.jsx("small",{children:$.declaredType}),_.jsx("input",{"data-testid":`application-param-${$.name}`,value:k.value,onChange:q=>x({...E,[$.name]:{...k,value:q.target.value}})})]}),H&&_.jsxs("label",{className:"parameter-type",children:[_.jsx("span",{children:$.typeParameter?`${$.typeParameter} type`:"Value type"}),_.jsx("select",{"data-testid":`application-param-type-${$.name}`,value:k.type,onChange:q=>N($,q.target.value),children:$.choices.map(q=>_.jsx("option",{value:q,children:q},q))})]})]},$.name)})})}function V7e({label:b,value:E,options:x,onChange:M}){return _.jsxs("label",{children:[b,_.jsxs("select",{value:E,onChange:N=>M(N.target.value),children:[_.jsx("option",{value:"",children:"Any"}),x.map(N=>_.jsx("option",{value:N,children:N},N))]})]})}function Oue(b,E){return b?Object.fromEntries(b.constructor.fields.map(x=>{const M=E?.modelParameters[x.name],N=M?.type||x.inferredChoice,$=M?M.julia:x.hasDefault?N==="julia"?x.defaultJulia||"":UXn(x.default,N):"";return[x.name,{type:N,value:$}]})):{}}function UXn(b,E){const x=b==null?"":String(b);return E==="symbol"?x.replace(/^:/,""):x}function cdn(b){return b?.process||b?.name||"application"}function XXn(b){const E=wue(b.map(x=>x.scale))[0];return{type:"Many",multiplicity:"many",criteria:E?{selectors:[],scale:E}:{selectors:[]},julia:""}}function Y7e(b,E){const x=b.criteria[E];return typeof x=="string"?x:""}function KXn(b,E){const x=b.criteria[E];return x&&typeof x=="object"?x:null}function VXn(b){return b==="one"?"One":b==="optional_one"?"OptionalOne":"Many"}function wue(b){return[...new Set(b.filter(E=>!!E))].sort()}function YXn({application:b,applications:E,environments:x,models:M,onCommand:N,onClose:$}){const k=E.filter($e=>$e.applicationId!==b.applicationId&&(b.owner.scope==="global"?$e.owner.scope==="global":$e.owner.scope==="template"&&$e.owner.templateId===b.owner.templateId&&$e.owner.instance===b.owner.instance)),[H,q]=Re.useState(""),[G,ie]=Re.useState(k[0]?.applicationId||""),[W,Z]=Re.useState("manual"),[se,oe]=Re.useState(b.environment?b.environment.backendId||"scene":"default"),[ee,Me]=Re.useState(String(b.environment?.provider||"")),[me,Pe]=Re.useState(()=>({...Object.fromEntries(b.environmentInputs.map($e=>[$e.name,""])),...b.environment?.sources||{}})),[ae,Ne]=Re.useState(String(b.environment?.sink||"")),[Ue,ln]=Re.useState(()=>WXn(b.environment?.extra)),[on,An]=Re.useState(b.updates||[]),[xn,tt]=Re.useState(b.outputs[0]?.name||""),[mn,vn]=Re.useState(k[0]?.owner.applicationId||""),Y=k.find($e=>$e.applicationId===G),Fe=M.find($e=>$e.type===b.modelType),wn=Re.useMemo(()=>{const $e=b.owner.scope==="template"&&Y?.owner.scope==="template"&&Y.owner.templateId===b.owner.templateId;return{type:W==="initializer"||Y?.targetCount===1?"One":"Many",multiplicity:W==="initializer"||Y?.targetCount===1?"one":"many",criteria:{selectors:[],...$e?{}:{within:{type:"SceneScope"}},application:Y?.owner.applicationId||G},julia:""}},[b.owner.scope,b.owner.templateId,W,G,Y]),xe=()=>{!H.trim()||!G||(N(QXn(b.owner,H.trim(),wn,W)),q(""))},Ge=()=>{!xn||!mn||An($e=>[...$e.filter(Mn=>!Mn.variables.includes(xn)),{variables:[xn],after:[mn]}])},fn=()=>{const $e=ZXn(se,ee,me,ae,Ue);N({action:"edit",kind:"set_application_environment",applicationRef:b.owner,configuration:$e})};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel application-configuration-form",onMouseDown:$e=>$e.stopPropagation(),"data-testid":"application-configuration-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsxs("strong",{children:["Configure ",b.owner.applicationId]}),_.jsx("span",{children:"Authored coupling and execution policy, validated by Julia"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content application-configuration-content",children:[_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Explicit input bindings"}),Object.entries(b.inputBindings).length===0&&_.jsx("p",{children:"No authored input bindings. Unique same-object producers may still be inferred."}),_.jsx("div",{className:"configuration-list",children:Object.entries(b.inputBindings).map(([$e,Mn])=>_.jsxs("div",{children:[_.jsx("code",{children:$e}),_.jsx("span",{children:Mn.julia||Mn.type}),_.jsx("button",{className:"danger icon-button",title:`Remove ${$e} binding`,onClick:()=>N({action:"edit",kind:"remove_input_binding",applicationRef:b.owner,input:$e}),children:_.jsx(zG,{size:14})})]},$e))})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Calls and newborn initializers"}),_.jsx("div",{className:"configuration-list",children:Object.entries(b.callBindings).map(([$e,Mn])=>_.jsxs("div",{children:[_.jsx("code",{children:$e}),_.jsxs("span",{children:[_.jsx("strong",{children:Mn.mode==="initializer"?"Initializer":"Manual call"})," · ",Mn.julia||Mn.type]}),_.jsx("button",{className:"danger icon-button",title:`Remove ${$e} call`,onClick:()=>N({action:"edit",kind:"remove_call_binding",applicationRef:b.owner,call:$e}),children:_.jsx(zG,{size:14})})]},$e))}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Binding mode",_.jsxs("select",{"data-testid":"call-mode",value:W,onChange:$e=>Z($e.target.value),children:[_.jsx("option",{value:"manual",children:"Manual call"}),_.jsx("option",{value:"initializer",children:"Newborn initializer"})]})]}),_.jsxs("label",{children:["Call name",_.jsx("input",{"data-testid":"call-name",value:H,onChange:$e=>q($e.target.value),placeholder:"child"})]}),_.jsxs("label",{children:["Target application",_.jsxs("select",{"data-testid":"call-target",value:G,onChange:$e=>ie($e.target.value),children:[_.jsx("option",{value:"",children:"Choose application"}),k.map($e=>_.jsx("option",{value:$e.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),_.jsxs("button",{type:"button","data-testid":"add-call-binding",disabled:!H.trim()||!G,onClick:xe,children:[_.jsx(MA,{size:14})," Add ",W==="initializer"?"initializer":"call"]})]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Environment"}),Fe?.environmentHint&&_.jsxs("p",{className:"environment-hint",children:[_.jsx("strong",{children:"Model hint"})," ",Fe.environmentHint]}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Backend",_.jsxs("select",{"data-testid":"environment-backend",value:se,onChange:$e=>oe($e.target.value),children:[_.jsx("option",{value:"default",children:"No application override"}),_.jsx("option",{value:"scene",children:"Active scene environment"}),x.filter($e=>$e.source==="catalog").map($e=>_.jsxs("option",{value:$e.id,children:[$e.name," · ",$e.type]},$e.id))]})]}),_.jsxs("label",{children:["Provider",_.jsx("input",{"data-testid":"environment-provider",value:ee,onChange:$e=>Me($e.target.value),placeholder:"default provider",disabled:se==="default"})]}),_.jsxs("label",{children:["Output sink",_.jsx("input",{"data-testid":"environment-sink",value:ae,onChange:$e=>Ne($e.target.value),placeholder:"default sink",disabled:se==="default"})]})]}),b.environmentInputs.length>0&&_.jsx("div",{className:"configuration-list environment-sources",children:b.environmentInputs.map($e=>_.jsxs("label",{children:[_.jsx("code",{children:$e.name}),_.jsx("input",{value:me[$e.name]||"",onChange:Mn=>Pe(ge=>({...ge,[$e.name]:Mn.target.value})),placeholder:"backend source variable",disabled:se==="default","data-testid":`environment-source-${$e.name}`})]},$e.name))}),_.jsx("div",{className:"configuration-list",children:Ue.map(($e,Mn)=>_.jsxs("div",{children:[_.jsx("input",{"aria-label":"Backend option",value:$e.key,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,key:ge.target.value}:Hn)),placeholder:"option"}),_.jsxs("select",{value:$e.type,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,type:ge.target.value}:Hn)),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]}),_.jsx("input",{"aria-label":"Backend option value",value:$e.value,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,value:ge.target.value}:Hn))}),_.jsx("button",{className:"danger icon-button",onClick:()=>ln(ge=>ge.filter((tn,Hn)=>Hn!==Mn)),children:_.jsx(zG,{size:14})})]},Mn))}),_.jsxs("div",{className:"compact-actions",children:[_.jsxs("button",{type:"button",disabled:se==="default",onClick:()=>ln($e=>[...$e,{key:"",type:"string",value:""}]),children:[_.jsx(MA,{size:14})," Backend option"]}),_.jsxs("button",{type:"button","data-testid":"apply-environment",onClick:fn,children:[_.jsx(IA,{size:14})," Apply environment"]})]}),_.jsxs("div",{className:"effective-environment",children:[_.jsx("strong",{children:"Effective bindings"}),_.jsx("code",{children:JSON.stringify(b.environmentBindings||{},null,2)}),b.environmentWindow!==null&&b.environmentWindow!==void 0?_.jsx("code",{children:JSON.stringify(b.environmentWindow)}):null]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Output routing"}),_.jsx("div",{className:"configuration-list",children:b.outputs.map($e=>_.jsxs("label",{children:[_.jsx("code",{children:$e.name}),_.jsxs("select",{"data-testid":`output-routing-${$e.name}`,value:b.outputRouting[$e.name]||"canonical",onChange:Mn=>N({action:"edit",kind:"set_output_routing",applicationRef:b.owner,output:$e.name,route:Mn.target.value}),children:[_.jsx("option",{value:"canonical",children:"Canonical status owner"}),_.jsx("option",{value:"stream_only",children:"Stream only"})]})]},$e.name))})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Duplicate-writer ordering"}),_.jsx("div",{className:"configuration-list",children:on.map(($e,Mn)=>_.jsxs("div",{children:[_.jsx("code",{children:$e.variables.join(", ")}),_.jsxs("span",{children:["after ",$e.after.join(", ")]}),_.jsx("button",{className:"danger icon-button",title:"Remove update ordering",onClick:()=>An(ge=>ge.filter((tn,Hn)=>Hn!==Mn)),children:_.jsx(zG,{size:14})})]},`${$e.variables.join(",")}:${$e.after.join(",")}`))}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Output",_.jsx("select",{value:xn,onChange:$e=>tt($e.target.value),children:b.outputs.map($e=>_.jsx("option",{value:$e.name,children:$e.name},$e.name))})]}),_.jsxs("label",{children:["Run after",_.jsxs("select",{value:mn,onChange:$e=>vn($e.target.value),children:[_.jsx("option",{value:"",children:"Choose application"}),k.map($e=>_.jsx("option",{value:$e.owner.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),_.jsxs("button",{type:"button",disabled:!xn||!mn,onClick:Ge,children:[_.jsx(MA,{size:14})," Add rule"]}),_.jsxs("button",{type:"button",onClick:()=>N({action:"edit",kind:"set_update_ordering",applicationRef:b.owner,updates:on}),children:[_.jsx(IA,{size:14})," Apply ordering"]})]})]})]}),_.jsx("footer",{children:_.jsx("button",{className:"primary",onClick:$,children:"Done"})})]})})}function QXn(b,E,x,M){return{action:"edit",kind:"set_call_binding",applicationRef:b,call:E,selector:x,mode:M}}function WXn(b){return Object.entries(b||{}).map(([E,x])=>({key:E,type:typeof x=="number"?Number.isInteger(x)?"integer":"float":typeof x=="boolean"?"boolean":"string",value:String(x??"")}))}function ZXn(b,E,x,M,N){return b==="default"?null:{backendId:b,provider:E.trim()||null,sources:Object.fromEntries(Object.entries(x).filter(([,$])=>$.trim()).map(([$,k])=>[$,k.trim()])),sink:M.trim()||null,extra:Object.fromEntries(N.filter($=>$.key.trim()).map($=>[$.key.trim(),{type:$.type,value:$.value}]))}}function eKn({endpoints:b,objects:E,preview:x,onPreview:M,onSubmit:N,onClose:$}){const k=nKn(b.sourceApplication.targetIds,b.targetApplication.targetIds),[H,q]=Re.useState(b.sourceApplication.targetCount>1&&b.targetApplication.targetCount===1?"many":"one"),[G,ie]=Re.useState(k?"self":""),[W,Z]=Re.useState("local"),[se,oe]=Re.useState(""),[ee,Me]=Re.useState(""),[me,Pe]=Re.useState(Q7e(b.sourceApplication.targetScales)),[ae,Ne]=Re.useState(Q7e(b.sourceApplication.targetKinds)),[Ue,ln]=Re.useState(Q7e(b.sourceApplication.targetSpecies)),[on,An]=Re.useState(""),[xn,tt]=Re.useState("application"),[mn,vn]=Re.useState("automatic"),[Y,Fe]=Re.useState(""),[wn,xe]=Re.useState("Hour"),Ge=W7e(E.map(ge=>ge.scale)),fn=W7e(E.map(ge=>ge.kind)),$e=W7e(E.map(ge=>ge.species)),Mn=()=>{const ge={selectors:[],var:b.sourcePort.name};ge[xn]=xn==="application"?b.sourceApplication.owner.applicationId:b.sourceApplication.process;const tn=rKn(W,se,ee);if(tn&&(ge.within=tn),G&&(ge.relation=G),me&&(ge.scale=me),ae&&(ge.kind=ae),Ue&&(ge.species=Ue),on&&(ge.id=d5(on)),mn!=="automatic"&&(ge.policy={type:iKn(mn)}),Y.trim()){const Hn=cKn(Y,wn);Hn&&(ge.window=Hn)}return{applicationRef:b.targetApplication.owner,input:b.targetPort.name,selector:{type:tKn(H),multiplicity:H,criteria:ge,julia:""}}};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel binding-form",onMouseDown:ge=>ge.stopPropagation(),"data-testid":"binding-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Connect applications"}),_.jsx("span",{children:"Julia resolves this declaration into concrete object bindings"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsxs("div",{className:"binding-route",children:[_.jsxs("div",{children:[_.jsx("small",{children:"Producer"}),_.jsx("strong",{children:b.sourceApplication.applicationId}),_.jsx("code",{children:b.sourcePort.name})]}),_.jsx(rdn,{size:22}),_.jsxs("div",{children:[_.jsx("small",{children:"Consumer"}),_.jsx("strong",{children:b.targetApplication.applicationId}),_.jsx("code",{children:b.targetPort.name})]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Source object selector"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Multiplicity",_.jsxs("select",{value:H,onChange:ge=>q(ge.target.value),children:[_.jsx("option",{value:"one",children:"One"}),_.jsx("option",{value:"optional_one",children:"Optional one"}),_.jsx("option",{value:"many",children:"Many"})]})]}),_.jsxs("label",{children:["Scope",_.jsxs("select",{value:W,onChange:ge=>Z(ge.target.value),children:[_.jsx("option",{value:"local",children:"Default / instance local"}),_.jsx("option",{value:"scene",children:"Explicit whole scene"}),_.jsx("option",{value:"self",children:"Consumer object"}),_.jsx("option",{value:"subtree",children:"Consumer subtree"}),_.jsx("option",{value:"self_plant",children:"Consumer plant"}),_.jsx("option",{value:"ancestor",children:"Ancestor subtree"}),_.jsx("option",{value:"named_scope",children:"Object subtree"})]})]}),W==="ancestor"&&_.jsx(uue,{label:"Ancestor scale",value:ee,options:Ge,onChange:Me}),W==="named_scope"&&_.jsx(mue,{label:"Scope root",value:se,objects:E,onChange:oe,emptyLabel:"Choose an object"}),_.jsxs("label",{children:["Relation",_.jsxs("select",{value:G,onChange:ge=>ie(ge.target.value),children:[_.jsx("option",{value:"",children:"Any relation"}),_.jsx("option",{value:"self",children:"Same object"}),_.jsx("option",{value:"parent",children:"Parent"}),_.jsx("option",{value:"children",children:"Children"}),_.jsx("option",{value:"ancestors",children:"Ancestors"}),_.jsx("option",{value:"descendants",children:"Descendants"}),_.jsx("option",{value:"siblings",children:"Siblings"})]})]}),_.jsxs("label",{children:["Producer filter",_.jsxs("select",{value:xn,onChange:ge=>tt(ge.target.value),children:[_.jsx("option",{value:"application",children:"This application"}),_.jsx("option",{value:"process",children:"Any application of this process"})]})]}),_.jsx(uue,{label:"Scale",value:me,options:Ge,onChange:Pe}),_.jsx(uue,{label:"Kind",value:ae,options:fn,onChange:Ne}),_.jsx(uue,{label:"Species",value:Ue,options:$e,onChange:ln}),_.jsx(mue,{label:"Object ID",value:on,objects:E,onChange:An}),_.jsxs("label",{children:["Temporal policy",_.jsxs("select",{value:mn,onChange:ge=>vn(ge.target.value),children:[_.jsx("option",{value:"automatic",children:"Automatic"}),_.jsx("option",{value:"hold_last",children:"Hold last"}),_.jsx("option",{value:"interpolate",children:"Interpolate"}),_.jsx("option",{value:"integrate",children:"Integrate"}),_.jsx("option",{value:"aggregate",children:"Aggregate"})]})]}),_.jsxs("label",{children:["Window value",_.jsx("input",{type:"number",min:"1",step:"1",value:Y,onChange:ge=>Fe(ge.target.value),placeholder:"Automatic","data-testid":"binding-window-value"})]}),_.jsxs("label",{children:["Window unit",_.jsxs("select",{value:wn,onChange:ge=>xe(ge.target.value),disabled:!Y.trim(),"data-testid":"binding-window-unit",children:[_.jsx("option",{children:"Second"}),_.jsx("option",{children:"Minute"}),_.jsx("option",{children:"Hour"}),_.jsx("option",{children:"Day"})]})]})]})]}),x&&_.jsxs("section",{className:"selector-preview","data-testid":"binding-preview",children:[_.jsxs("strong",{children:[x.bindingCount," resolved binding",x.bindingCount===1?"":"s"]}),_.jsxs("span",{children:[x.consumerObjectIds.length," consumer object",x.consumerObjectIds.length===1?"":"s"," from ",x.sourceObjectIds.length," source object",x.sourceObjectIds.length===1?"":"s"]}),x.sourceApplicationIds.length>0&&_.jsx("code",{children:x.sourceApplicationIds.join(", ")}),x.diagnostics.map(ge=>_.jsx("p",{children:ge},ge))]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:$,children:"Cancel"}),_.jsxs("button",{onClick:()=>M(Mn()),"data-testid":"binding-preview-button",children:[_.jsx(Bke,{size:15})," Preview resolution"]}),_.jsxs("button",{className:"primary",onClick:()=>N(Mn()),"data-testid":"binding-submit",children:[_.jsx(rdn,{size:15})," Apply binding"]})]})]})})}function uue({label:b,value:E,options:x,onChange:M}){return _.jsxs("label",{children:[b,_.jsxs("select",{value:E,onChange:N=>M(N.target.value),children:[_.jsx("option",{value:"",children:"Any"}),x.map(N=>_.jsx("option",{value:N,children:N},N))]})]})}function nKn(b,E){return b.length===E.length&&b.every(x=>E.some(M=>Ws(M)===Ws(x)))}function Q7e(b){return b.length===1?b[0]:""}function tKn(b){return b==="one"?"One":b==="optional_one"?"OptionalOne":"Many"}function W7e(b){return[...new Set(b.filter(E=>!!E))].sort()}function iKn(b){return b==="hold_last"?"HoldLast":b==="interpolate"?"Interpolate":b==="integrate"?"Integrate":"Aggregate"}function rKn(b,E,x){return b==="local"?null:b==="scene"?{type:"SceneScope"}:b==="self"?{type:"Self"}:b==="subtree"?{type:"Subtree"}:b==="self_plant"?{type:"SelfPlant"}:b==="ancestor"?{type:"Ancestor",scale:x||null}:b==="named_scope"&&E?{type:"Scope",id:d5(E)}:null}function cKn(b,E){const x=Number(b);return!Number.isInteger(x)||x<=0?null:{mode:"period",value:x,unit:E,julia:`Dates.${E}(${x})`}}function uKn({environments:b,activeId:E,onSubmit:x,onClose:M}){const[N,$]=Re.useState(E||"none"),k=b.find(H=>H.id===N);return _.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:_.jsxs("section",{className:"overlay-panel environment-form",onMouseDown:H=>H.stopPropagation(),"data-testid":"environment-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Scene environment"}),_.jsx("span",{children:"Environment values stay in Julia and are selected by catalog name"})]}),_.jsx("button",{onClick:M,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsxs("label",{children:["Environment",_.jsxs("select",{value:N,onChange:H=>$(H.target.value),"data-testid":"scene-environment",children:[_.jsx("option",{value:"none",children:"No environment"}),b.filter(H=>H.source==="catalog").map(H=>_.jsxs("option",{value:H.id,children:[H.name," · ",H.type]},H.id))]})]}),k&&_.jsxs("section",{className:"environment-summary",children:[_.jsx("strong",{children:k.name}),_.jsx("code",{children:k.type}),_.jsx("span",{children:k.variables.length?`Available variables: ${k.variables.join(", ")}`:"Backend variables are discovered by Julia at compile time."})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:M,children:"Cancel"}),_.jsxs("button",{className:"primary",onClick:()=>x(N==="none"?null:N),"data-testid":"environment-submit",children:[_.jsx(IA,{size:15})," Use environment"]})]})]})})}function oKn({templates:b,instances:E,objects:x,preview:M,onPreview:N,onSubmit:$,onClose:k}){const[H,q]=Re.useState(b[0]?.id||""),[G,ie]=Re.useState(""),[W,Z]=Re.useState("existing"),se=Re.useMemo(()=>sKn(x,E),[E,x]),[oe,ee]=Re.useState(Ws(se[0]?.objectId)),[Me,me]=Re.useState(""),[Pe,ae]=Re.useState(""),[Ne,Ue]=Re.useState(""),[ln,on]=Re.useState(""),[An,xn]=Re.useState(""),tt=()=>W==="existing"?{name:G.trim(),templateId:H,rootId:d5(oe)}:{name:G.trim(),templateId:H,rootObject:{objectId:Me.trim(),configuration:{parent:d5(Pe),scale:Ne.trim()||null,kind:ln.trim()||null,species:An.trim()||null,name:null}}},mn=!!(H&&G.trim()&&(W==="existing"?oe:Me.trim()));return _.jsx("div",{className:"overlay-backdrop",onMouseDown:k,children:_.jsxs("section",{className:"overlay-panel instance-form",onMouseDown:vn=>vn.stopPropagation(),"data-testid":"instance-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Add template instance"}),_.jsx("span",{children:"Mount one reusable coupled model set on an object subtree"})]}),_.jsx("button",{onClick:k,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content instance-form-content",children:[_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Template",_.jsx("select",{value:H,onChange:vn=>q(vn.target.value),"data-testid":"instance-template",children:b.map(vn=>_.jsxs("option",{value:vn.id,children:[vn.name," · ",vn.source==="catalog"?"preset":"model-local"," · ",vn.applications.length," applications"]},vn.id))})]}),_.jsxs("label",{children:["Instance name",_.jsx("input",{value:G,onChange:vn=>ie(vn.target.value),placeholder:"plant_1","data-testid":"instance-name"})]})]}),_.jsxs("div",{className:"override-scope-choice",children:[_.jsxs("button",{className:W==="existing"?"active":"",onClick:()=>Z("existing"),children:[_.jsx("strong",{children:"Use existing root"}),_.jsx("span",{children:"All unclaimed descendants are mounted automatically"})]}),_.jsxs("button",{className:W==="new"?"active":"",onClick:()=>Z("new"),children:[_.jsx("strong",{children:"Create minimal root"}),_.jsx("span",{children:"Create the object and mount the template atomically"})]})]}),W==="existing"?_.jsxs("label",{children:["Unclaimed root",_.jsxs("select",{value:oe,onChange:vn=>ee(vn.target.value),"data-testid":"instance-root",children:[_.jsx("option",{value:"",children:"Choose an object"}),se.map(vn=>_.jsxs("option",{value:Ws(vn.objectId),children:[pue(vn)," · ",vn.scale||"unscaled"]},vn.id))]})]}):_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Stable object ID",_.jsx("input",{value:Me,onChange:vn=>me(vn.target.value),"data-testid":"instance-new-root-id"})]}),_.jsxs("label",{children:["Parent object",_.jsxs("select",{value:Pe,onChange:vn=>ae(vn.target.value),children:[_.jsx("option",{value:"",children:"No parent"}),x.map(vn=>_.jsx("option",{value:Ws(vn.objectId),children:pue(vn)},vn.id))]})]}),_.jsxs("label",{children:["Scale",_.jsx("input",{value:Ne,onChange:vn=>Ue(vn.target.value)})]}),_.jsxs("label",{children:["Kind",_.jsx("input",{value:ln,onChange:vn=>on(vn.target.value)})]}),_.jsxs("label",{children:["Species",_.jsx("input",{value:An,onChange:vn=>xn(vn.target.value)})]})]}),M&&_.jsxs("section",{className:"selector-preview","data-testid":"instance-preview",children:[_.jsxs("strong",{children:[M.objectIds.length," claimed object",M.objectIds.length===1?"":"s"]}),_.jsx("code",{children:M.objectIds.map(Oa).join(", ")}),M.applications.map(vn=>_.jsxs("div",{children:[_.jsx("code",{children:vn.applicationId}),_.jsxs("span",{children:[vn.targetIds.length," resolved target",vn.targetIds.length===1?"":"s"]})]},vn.applicationId)),M.diagnostics.map(vn=>_.jsx("p",{children:vn},vn))]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:k,children:"Cancel"}),_.jsxs("button",{disabled:!mn,onClick:()=>N(tt()),"data-testid":"instance-preview-button",children:[_.jsx(Bke,{size:15})," Preview mount"]}),_.jsxs("button",{className:"primary",disabled:!mn,onClick:()=>$(tt()),"data-testid":"instance-submit",children:[_.jsx(IA,{size:15})," Add instance"]})]})]})})}function sKn(b,E){const x=new Set(E.flatMap(M=>M.objectIds.map(Ws)));return b.filter(M=>!x.has(Ws(M.objectId)))}function lKn({mode:b,objects:E,object:x,onSubmit:M,onClose:N}){const[$,k]=Re.useState(Oa(x?.objectId??"")),[H,q]=Re.useState(Ws(E.find(ae=>ae.id===x?.parent)?.objectId)),[G,ie]=Re.useState(x?.scale||""),[W,Z]=Re.useState(x?.kind||""),[se,oe]=Re.useState(x?.species||""),[ee,Me]=Re.useState(x?.name||""),me=Re.useMemo(()=>E.filter(ae=>Ws(ae.objectId)!==Ws(b==="update"?x?.objectId:$)),[b,x,$,E]),Pe=()=>M({objectId:b==="update"?x.objectId:$.trim(),configuration:{parent:d5(H),scale:G.trim()||null,kind:W.trim()||null,species:se.trim()||null,name:ee.trim()||null}});return _.jsx("div",{className:"overlay-backdrop",onMouseDown:N,children:_.jsxs("section",{className:"overlay-panel object-form",onMouseDown:ae=>ae.stopPropagation(),"data-testid":"object-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:b==="add"?"Add scene object":`Update object ${Oa(x?.objectId)}`}),_.jsx("span",{children:"Objects define the concrete entities and topology targeted by applications"})]}),_.jsx("button",{onClick:N,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content object-form-content",children:[_.jsxs("label",{children:["Stable object ID",_.jsx("input",{value:$,disabled:b==="update",onChange:ae=>k(ae.target.value),"data-testid":"object-id"})]}),_.jsxs("label",{children:["Parent object",_.jsxs("select",{value:H,onChange:ae=>q(ae.target.value),children:[_.jsx("option",{value:"",children:"No parent"}),me.map(ae=>_.jsxs("option",{value:Ws(ae.objectId),children:[pue(ae)," · ",ae.scale||"unscaled"]},ae.id))]})]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Scale",_.jsx("input",{value:G,onChange:ae=>ie(ae.target.value)})]}),_.jsxs("label",{children:["Kind",_.jsx("input",{value:W,onChange:ae=>Z(ae.target.value)})]}),_.jsxs("label",{children:["Species",_.jsx("input",{value:se,onChange:ae=>oe(ae.target.value)})]}),_.jsxs("label",{children:["Display name (optional)",_.jsx("input",{value:ee,placeholder:$||"Uses the object ID",onChange:ae=>Me(ae.target.value)})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:N,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:!$.trim(),onClick:Pe,"data-testid":"object-submit",children:[_.jsx(IA,{size:15})," ",b==="add"?"Add object":"Apply changes"]})]})]})})}function fKn({application:b,models:E,instances:x,onSubmit:M,onRemove:N,onClose:$}){const k=Re.useMemo(()=>E.filter(tt=>tt.process===b.process),[b.process,E]),H=rbn(k,b)||k[0]||null,[q,G]=Re.useState("instance"),[ie,W]=Re.useState(b.targetInstances[0]||x[0]?.name||""),Z=x.find(tt=>tt.name===ie),se=(Z?.objectIds||[]).filter(tt=>b.targetIds.some(mn=>Ws(mn)===Ws(tt))),[oe,ee]=Re.useState(se[0]??""),[Me,me]=Re.useState(H?.type||b.modelType),Pe=k.find(tt=>tt.type===Me)||H,[ae,Ne]=Re.useState(()=>Oue(Pe,b)),Ue=b.owner.applicationId,ln=!!Z?.instanceOverrides.includes(Ue),on=!!Z?.objectOverrides.some(tt=>{const mn=tt;return Ws(mn.object??mn.objectId)===Ws(oe)&&String(mn.application??mn.applicationId??"")===Ue}),An=q==="instance"?ln:on,xn=tt=>{me(tt),Ne(Oue(k.find(mn=>mn.type===tt)||null))};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel override-form",onMouseDown:tt=>tt.stopPropagation(),"data-testid":"override-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Create a model override"}),_.jsx("span",{children:"The shared template remains unchanged outside the selected scope"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content override-form-content",children:[_.jsxs("div",{className:"override-scope-choice",children:[_.jsxs("button",{className:q==="instance"?"active":"",onClick:()=>G("instance"),children:[_.jsx("strong",{children:"One instance"}),_.jsx("span",{children:"All targets of this application in one plant or object instance"})]}),_.jsxs("button",{className:q==="object"?"active":"",onClick:()=>G("object"),children:[_.jsx("strong",{children:"One object"}),_.jsx("span",{children:"Only one concrete execution receives the replacement model"})]})]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Instance",_.jsx("select",{value:ie,onChange:tt=>{const mn=tt.target.value,Y=(x.find(Fe=>Fe.name===mn)?.objectIds||[]).find(Fe=>b.targetIds.some(wn=>Ws(wn)===Ws(Fe)));W(mn),ee(Y??"")},children:x.filter(tt=>b.targetInstances.includes(tt.name)).map(tt=>_.jsx("option",{value:tt.name,children:tt.name},tt.name))})]}),q==="object"&&_.jsxs("label",{children:["Object",_.jsx("select",{value:Ws(oe),onChange:tt=>ee(d5(tt.target.value)),children:se.map(tt=>_.jsx("option",{value:Ws(tt),children:Oa(tt)},Ws(tt)))})]}),_.jsxs("label",{children:["Replacement model",_.jsx("select",{value:Me,onChange:tt=>xn(tt.target.value),children:k.map(tt=>_.jsxs("option",{value:tt.type,children:[tt.package?`${tt.package} · `:"",tt.name]},tt.type))})]})]}),Pe&&Pe.constructor.fields.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Model parameters"}),_.jsx(cbn,{fields:Pe.constructor.fields,values:ae,onChange:Ne})]}),_.jsxs("div",{className:"override-warning",children:[_.jsx("strong",{children:q==="instance"?`Override ${ie}`:`Override object ${Oa(oe)}`}),_.jsx("span",{children:"Julia validates that the replacement keeps the same process and declared variable contract."})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:$,children:"Cancel"}),An&&_.jsxs("button",{className:"danger","data-testid":"remove-override",onClick:()=>N({scope:q,instance:ie,objectId:q==="object"?oe:void 0,applicationRef:b.owner,modelType:Me,parameters:ae}),children:[_.jsx(zG,{size:15})," Remove override"]}),_.jsxs("button",{className:"primary",disabled:!ie||!Me||q==="object"&&!String(oe),onClick:()=>M({scope:q,instance:ie,objectId:q==="object"?oe:void 0,applicationRef:b.owner,modelType:Me,parameters:ae}),children:[_.jsx(IA,{size:15})," Apply override"]})]})]})})}function oue(b){throw new Error('Could not dynamically require "'+b+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Z7e={exports:{}},udn;function aKn(){return udn||(udn=1,(function(b,E){(function(x){b.exports=x()})(function(){return(function(){function x(M,N,$){function k(G,ie){if(!N[G]){if(!M[G]){var W=typeof oue=="function"&&oue;if(!ie&&W)return W(G,!0);if(H)return H(G,!0);var Z=new Error("Cannot find module '"+G+"'");throw Z.code="MODULE_NOT_FOUND",Z}var se=N[G]={exports:{}};M[G][0].call(se.exports,function(oe){var ee=M[G][1][oe];return k(ee||oe)},se,se.exports,x,M,N,$)}return N[G].exports}for(var H=typeof oue=="function"&&oue,q=0;q<$.length;q++)k($[q]);return k}return x})()({1:[function(x,M,N){Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function $(Z){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},$(Z)}function k(Z,se){if(!(Z instanceof se))throw new TypeError("Cannot call a class as a function")}function H(Z,se){for(var oe=0;oe0&&arguments[0]!==void 0?arguments[0]:{},ee=oe.defaultLayoutOptions,Me=ee===void 0?{}:ee,me=oe.algorithms,Pe=me===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:me,ae=oe.workerFactory,Ne=oe.workerUrl;if(k(this,Z),this.defaultLayoutOptions=Me,this.initialized=!1,typeof Ne>"u"&&typeof ae>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Ue=ae;typeof Ne<"u"&&typeof ae>"u"&&(Ue=function(An){return new Worker(An)});var ln=Ue(Ne);if(typeof ln.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new W(ln),this.worker.postMessage({cmd:"register",algorithms:Pe}).then(function(on){return se.initialized=!0}).catch(console.err)}return q(Z,[{key:"layout",value:function(oe){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Me=ee.layoutOptions,me=Me===void 0?this.defaultLayoutOptions:Me,Pe=ee.logging,ae=Pe===void 0?!1:Pe,Ne=ee.measureExecutionTime,Ue=Ne===void 0?!1:Ne;return oe?this.worker.postMessage({cmd:"layout",graph:oe,layoutOptions:me,options:{logging:ae,measureExecutionTime:Ue}}):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&&this.worker.terminate()}}])})();var W=(function(){function Z(se){var oe=this;if(k(this,Z),se===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=se,this.worker.onmessage=function(ee){setTimeout(function(){oe.receive(oe,ee)},0)}}return q(Z,[{key:"postMessage",value:function(oe){var ee=this.id||0;this.id=ee+1,oe.id=ee;var Me=this;return new Promise(function(me,Pe){Me.resolvers[ee]=function(ae,Ne){ae?(Me.convertGwtStyleError(ae),Pe(ae)):me(Ne)},Me.worker.postMessage(oe)})}},{key:"receive",value:function(oe,ee){var Me=ee.data,me=oe.resolvers[Me.id];me&&(delete oe.resolvers[Me.id],Me.error?me(Me.error):me(null,Me.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(oe){if(oe){var ee=oe.__java$exception;ee&&(ee.cause&&ee.cause.backingJsObject&&(oe.cause=ee.cause.backingJsObject,this.convertGwtStyleError(oe.cause)),delete oe.__java$exception)}}}])})()},{}],2:[function(x,M,N){(function($){(function(){var k;typeof window<"u"?k=window:typeof $<"u"?k=$:typeof self<"u"&&(k=self);var H;function q(){}function G(){}function ie(){}function W(){}function Z(){}function se(){}function oe(){}function ee(){}function Me(){}function me(){}function Pe(){}function ae(){}function Ne(){}function Ue(){}function ln(){}function on(){}function An(){}function xn(){}function tt(){}function mn(){}function vn(){}function Y(){}function Fe(){}function wn(){}function xe(){}function Ge(){}function fn(){}function $e(){}function Mn(){}function ge(){}function tn(){}function Hn(){}function ut(){}function Jt(){}function di(){}function Gt(){}function At(){}function si(){}function Kr(){}function Er(){}function Dt(){}function bi(){}function zi(){}function cu(){}function Fu(){}function Rs(){}function ra(){}function nf(){}function Ia(){}function Cc(){}function l0(){}function Cb(){}function xl(){}function od(){}function f0(){}function sh(){}function sd(){}function m5(){}function a0(){}function Np(){}function h6(){}function Tb(){}function ca(){}function ld(){}function xf(){}function d6(){}function lh(){}function Ip(){}function Xg(){}function Kg(){}function Vg(){}function fd(){}function Yg(){}function Ob(){}function v5(){}function Dp(){}function _p(){}function uu(){}function y5(){}function Qg(){}function ov(){}function k5(){}function Wg(){}function sv(){}function j5(){}function E5(){}function w1(){}function Zs(){}function Af(){}function vt(){}function kc(){}function tc(){}function ck(){}function h0(){}function Zg(){}function b6(){}function Lp(){}function Pp(){}function $p(){}function Rp(){}function Al(){}function S5(){}function uk(){}function ew(){}function Bp(){}function DA(){}function g6(){}function ok(){}function sk(){}function lv(){}function x5(){}function d0(){}function Ph(){}function lk(){}function _A(){}function A5(){}function fk(){}function fv(){}function LA(){}function $h(){}function av(){}function ak(){}function w6(){}function nw(){}function ED(){}function SD(){}function M5(){}function oq(){}function xD(){}function AD(){}function PA(){}function sq(){}function lq(){}function hk(){}function tw(){}function $A(){}function RA(){}function C5(){}function T5(){}function MD(){}function BA(){}function CD(){}function p6(){}function iw(){}function zA(){}function m6(){}function zp(){}function FA(){}function dk(){}function TD(){}function bk(){}function gk(){}function OD(){}function Rh(){}function hv(){}function wk(){}function v6(){}function fq(){}function JA(){}function HA(){}function y6(){}function pk(){}function ND(){}function aq(){}function hq(){}function dq(){}function GA(){}function bq(){}function gq(){}function wq(){}function pq(){}function mq(){}function ID(){}function vq(){}function yq(){}function kq(){}function jq(){}function qA(){}function Eq(){}function Sq(){}function xq(){}function DD(){}function Aq(){}function Mq(){}function Cq(){}function Tq(){}function Oq(){}function Nq(){}function Iq(){}function Dq(){}function _q(){}function UA(){}function k6(){}function Lq(){}function _D(){}function LD(){}function PD(){}function $D(){}function RD(){}function O5(){}function Pq(){}function $q(){}function Rq(){}function BD(){}function zD(){}function j6(){}function E6(){}function Bq(){}function mk(){}function FD(){}function XA(){}function KA(){}function VA(){}function JD(){}function HD(){}function GD(){}function zq(){}function Fq(){}function Jq(){}function Hq(){}function Gq(){}function p1(){}function S6(){}function qD(){}function UD(){}function XD(){}function KD(){}function YA(){}function qq(){}function N5(){}function QA(){}function x6(){}function WA(){}function VD(){}function dv(){}function I5(){}function ZA(){}function YD(){}function bv(){}function QD(){}function WD(){}function ZD(){}function Uq(){}function Xq(){}function Kq(){}function e_(){}function n_(){}function eM(){}function b0(){}function vk(){}function ad(){}function D5(){}function nM(){}function yk(){}function kk(){}function tM(){}function gv(){}function t_(){}function jk(){}function _5(){}function Vq(){}function m1(){}function iM(){}function rw(){}function i_(){}function Ek(){}function wv(){}function rM(){}function r_(){}function cM(){}function c_(){}function hd(){}function L5(){}function P5(){}function Sk(){}function A6(){}function dd(){}function bd(){}function Fp(){}function Nb(){}function Ib(){}function cw(){}function u_(){}function uM(){}function oM(){}function o_(){}function ua(){}function Jo(){}function ou(){}function Jp(){}function gd(){}function sM(){}function Hp(){}function s_(){}function l_(){}function $5(){}function pv(){}function R5(){}function Gp(){}function lM(){}function qp(){}function uw(){}function Up(){}function ow(){}function fM(){}function aM(){}function B5(){}function M6(){}function Xp(){}function oa(){}function C6(){}function hM(){}function Yq(){}function Qq(){}function T6(){}function Ml(){}function dM(){}function O6(){}function N6(){}function bM(){}function z5(){}function F5(){}function Wq(){}function f_(){}function Zq(){}function a_(){}function mv(){}function gM(){}function xk(){}function h_(){}function J5(){}function wM(){}function Ak(){}function Mk(){}function d_(){}function b_(){}function vv(){}function yv(){}function g_(){}function pM(){}function H5(){}function I6(){}function Ck(){}function D6(){}function Tk(){}function w_(){}function kv(){}function p_(){}function Kp(){}function mM(){}function vM(){}function Vp(){}function Yp(){}function _6(){}function yM(){}function kM(){}function L6(){}function P6(){}function m_(){}function v_(){}function G5(){}function Ok(){}function y_(){}function jM(){}function EM(){}function v1(){}function wd(){}function Qp(){}function SM(){}function k_(){}function Wp(){}function y1(){}function el(){}function Nk(){}function sw(){}function bc(){}function vo(){}function Cl(){}function Ik(){}function q5(){}function jv(){}function Dk(){}function $6(){}function U5(){}function eU(){}function Bs(){}function xM(){}function AM(){}function j_(){}function E_(){}function nU(){}function MM(){}function CM(){}function TM(){}function fh(){}function nl(){}function _k(){}function R6(){}function Lk(){}function OM(){}function lw(){}function Pk(){}function NM(){}function IM(){}function S_(){}function x_(){}function A_(){}function tU(){}function M_(){}function C_(){}function DM(){}function T_(){}function iU(){}function O_(){}function N_(){}function I_(){}function _M(){}function D_(){}function __(){}function L_(){}function P_(){}function $_(){}function rU(){}function R_(){}function X5(){}function B_(){}function $k(){}function Rk(){}function z_(){}function LM(){}function cU(){}function F_(){}function J_(){}function H_(){}function G_(){}function q_(){}function PM(){}function U_(){}function X_(){}function $M(){}function K_(){}function V_(){}function RM(){}function B6(){}function Y_(){}function Bk(){}function BM(){}function Q_(){}function W_(){}function uU(){}function oU(){}function Z_(){}function z6(){}function zM(){}function zk(){}function eL(){}function FM(){}function F6(){}function sU(){}function JM(){}function nL(){}function HM(){}function GM(){}function tL(){}function iL(){}function Ev(){}function rL(){}function pd(){}function cL(){}function g0(){}function qM(){}function UM(){}function uL(){}function oL(){}function lU(){}function XM(){}function Tl(){}function sa(){}function sL(){}function lL(){}function fL(){}function aL(){}function J6(){}function hL(){}function Fk(){}function dL(){}function fU(){}function Jk(){}function KM(){}function bL(){}function gL(){}function He(){}function VM(){}function YM(){}function QM(){}function wL(){}function WM(){}function Hk(){}function ZM(){}function pL(){}function eC(){}function mL(){}function fw(){}function H6(){}function aU(){}function vL(){}function w0(){}function nC(){}function yL(){}function Gk(){}function Sv(){}function yo(){}function qk(){}function hU(){}function tC(){}function G6(){}function Zp(){}function q6(){}function kL(){}function U6(){}function Db(){}function X6(){}function iC(){}function jL(){}function rC(){}function cC(){}function xv(){}function EL(){}function _b(){}function Ol(){}function K6(){}function uC(){}function Mf(){}function dU(){}function SL(){}function xL(){}function Ss(){}function Bh(){}function aw(){}function AL(){}function ML(){}function CL(){}function bU(){}function Uk(){}function zh(){}function p0(){}function TL(){}function Nl(){}function Xk(){}function hw(){}function Av(){}function dw(){}function oC(){}function sC(){}function m0(){}function OL(){}function K5(){}function V6(){}function Y6(){}function V5(){}function NL(){}function IL(){}function Q6(){}function DL(){}function Kk(){}function _L(){}function gU(){}function wU(){}function Ju(){}function Do(){}function Hc(){}function nu(){}function io(){}function k1(){}function e2(){}function Y5(){}function lC(){}function bw(){}function zs(){}function n2(){}function Mv(){}function fC(){}function j1(){}function Q5(){}function W6(){}function Fh(){}function aC(){}function Vk(){}function LL(){}function Yk(){}function Qk(){}function t2(){}function tf(){}function i2(){}function W5(){}function gw(){}function hC(){}function dC(){}function PL(){}function Z6(){}function bC(){}function E1(){}function $L(){}function Jh(){}function RL(){}function BL(){}function pU(){}function r2(){}function Wk(){}function gC(){}function Z5(){}function zL(){}function FL(){}function JL(){}function HL(){}function Zk(){}function wC(){}function mU(){}function vU(){}function yU(){}function GL(){}function qL(){}function ey(){}function ej(){}function UL(){}function XL(){}function KL(){}function VL(){}function YL(){}function QL(){}function nj(){}function WL(){}function ZL(){}function ro(){}function pC(){}function kU(){}function eP(){}function jU(){}function EU(){}function SU(){}function tj(){}function ny(){}function mC(){}function ij(){}function vC(){}function c2(){}function Lb(){}function e9(){}function xU(){}function nP(){}function yC(){}function tP(){}function iP(){}function kC(){jj()}function jC(){O0e()}function rP(){Gf()}function cP(){zde()}function AU(){FO()}function EC(){LT()}function SC(){sT()}function MU(){oT()}function CU(){LMe()}function n9(){Vy()}function TU(){f$e()}function uP(){u8()}function Gc(){U0()}function xC(){Fhe()}function rj(){eLe()}function AC(){zhe()}function oP(){tLe()}function MC(){nLe()}function t9(){iLe()}function cj(){J$e()}function OU(){rLe()}function sP(){DBe()}function NU(){Oe()}function IU(){n$()}function lP(){NBe()}function fP(){IBe()}function ko(){tPe()}function CC(){Lge()}function la(){_Be()}function DU(){uLe()}function aP(){Xy()}function _U(){UFe()}function TC(){R1()}function OC(){obe()}function uj(){UO()}function hP(){tze()}function dP(){Ube()}function NC(){LHe()}function IC(){cLe()}function LU(){rKe()}function bP(){Mu()}function PU(){qa()}function gP(){ige()}function $U(){X0()}function RU(){_W()}function u2(){HQ()}function wP(){uB()}function DC(){Xt()}function _C(){Mz()}function BU(){FB()}function zU(){wde()}function LC(){Kz()}function oj(){JY()}function tl(){zNe()}function FU(){uge()}function S1(e){Ln(e)}function PC(e){this.a=e}function i9(e){this.a=e}function pP(e){this.a=e}function mP(e){this.a=e}function r9(e){this.a=e}function x1(e){this.a=e}function $C(e){this.a=e}function sj(e){this.a=e}function v0(e){this.a=e}function JU(e){this.a=e}function HU(e){this.a=e}function ty(e){this.a=e}function vP(e){this.a=e}function GU(e){this.c=e}function qU(e){this.a=e}function RC(e){this.a=e}function UU(e){this.a=e}function XU(e){this.a=e}function KU(e){this.a=e}function BC(e){this.a=e}function yP(e){this.a=e}function iy(e){this.a=e}function Cv(e){this.a=e}function kP(e){this.a=e}function zC(e){this.a=e}function ry(e){this.a=e}function c9(e){this.a=e}function jP(e){this.a=e}function lj(e){this.a=e}function FC(e){this.a=e}function JC(e){this.a=e}function fj(e){this.a=e}function EP(e){this.a=e}function SP(e){this.a=e}function VU(e){this.a=e}function xP(e){this.a=e}function YU(e){this.a=e}function HC(e){this.a=e}function QU(e){this.a=e}function u9(e){this.a=e}function o9(e){this.a=e}function Tv(e){this.a=e}function s9(e){this.a=e}function cy(e){this.b=e}function md(){this.a=[]}function AP(e,n){e.a=n}function WU(e,n){e.a=n}function ZU(e,n){e.b=n}function eX(e,n){e.c=n}function MP(e,n){e.c=n}function nX(e,n){e.d=n}function tX(e,n){e.d=n}function Cf(e,n){e.k=n}function CP(e,n){e.j=n}function Gue(e,n){e.c=n}function aj(e,n){e.c=n}function hj(e,n){e.a=n}function GC(e,n){e.a=n}function TP(e,n){e.f=n}function iX(e,n){e.a=n}function OP(e,n){e.b=n}function Pb(e,n){e.d=n}function y0(e,n){e.i=n}function ww(e,n){e.o=n}function dj(e,n){e.r=n}function bj(e,n){e.a=n}function Ov(e,n){e.b=n}function rX(e,n){e.e=n}function cX(e,n){e.f=n}function uy(e,n){e.g=n}function que(e,n){e.e=n}function uX(e,n){e.f=n}function qC(e,n){e.f=n}function gj(e,n){e.a=n}function UC(e,n){e.b=n}function XC(e,n){e.n=n}function KC(e,n){e.a=n}function oX(e,n){e.c=n}function l9(e,n){e.c=n}function sX(e,n){e.c=n}function NP(e,n){e.a=n}function VC(e,n){e.a=n}function lX(e,n){e.d=n}function Uue(e,n){e.d=n}function YC(e,n){e.e=n}function a(e,n){e.e=n}function d(e,n){e.g=n}function w(e,n){e.f=n}function j(e,n){e.j=n}function T(e,n){e.a=n}function I(e,n){e.a=n}function Q(e,n){e.b=n}function de(e){e.b=e.a}function nn(e){e.c=e.d.d}function Pn(e){this.a=e}function it(e){this.a=e}function gt(e){this.a=e}function Gn(e){this.a=e}function et(e){this.a=e}function Di(e){this.a=e}function Cr(e){this.a=e}function co(e){this.a=e}function Sn(e){this.a=e}function sn(e){this.a=e}function _n(e){this.a=e}function ot(e){this.a=e}function Hi(e){this.a=e}function _u(e){this.a=e}function Xi(e){this.b=e}function Hr(e){this.b=e}function ic(e){this.b=e}function qc(e){this.d=e}function xt(e){this.a=e}function fX(e){this.a=e}function Xue(e){this.a=e}function Fke(e){this.a=e}function Jke(e){this.a=e}function Kue(e){this.a=e}function Vue(e){this.a=e}function aX(e){this.c=e}function P(e){this.c=e}function Hke(e){this.c=e}function Yue(e){this.a=e}function Que(e){this.a=e}function Wue(e){this.a=e}function Zue(e){this.a=e}function f9(e){this.a=e}function Gke(e){this.a=e}function qke(e){this.a=e}function a9(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Vke(e){this.a=e}function Yke(e){this.a=e}function Qke(e){this.a=e}function Wke(e){this.a=e}function Zke(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function wj(e){this.a=e}function ije(e){this.a=e}function rje(e){this.a=e}function IP(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function eoe(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function lje(e){this.a=e}function noe(e){this.a=e}function toe(e){this.a=e}function ioe(e){this.a=e}function pj(e){this.a=e}function h9(e){this.a=e}function fje(e){this.a=e}function oy(e){this.a=e}function roe(e){this.a=e}function aje(e){this.a=e}function hje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function gje(e){this.a=e}function wje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function coe(e){this.a=e}function jje(e){this.a=e}function Eje(e){this.a=e}function Sje(e){this.a=e}function xje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Oje(e){this.a=e}function Nje(e){this.a=e}function Ije(e){this.a=e}function Dje(e){this.a=e}function _je(e){this.a=e}function Lje(e){this.a=e}function Pje(e){this.a=e}function $je(e){this.a=e}function Rje(e){this.a=e}function Bje(e){this.a=e}function zje(e){this.a=e}function Fje(e){this.a=e}function Jje(e){this.a=e}function Hje(e){this.a=e}function Gje(e){this.a=e}function qje(e){this.a=e}function Uje(e){this.a=e}function Xje(e){this.a=e}function Kje(e){this.a=e}function Vje(e){this.a=e}function Yje(e){this.a=e}function Qje(e){this.a=e}function Wje(e){this.a=e}function Zje(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.a=e}function tEe(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.b=e}function cEe(e){this.a=e}function uEe(e){this.a=e}function oEe(e){this.a=e}function sEe(e){this.a=e}function lEe(e){this.a=e}function fEe(e){this.a=e}function aEe(e){this.c=e}function hEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function gEe(e){this.a=e}function wEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function jEe(e){this.a=e}function EEe(e){this.a=e}function SEe(e){this.a=e}function xEe(e){this.a=e}function AEe(e){this.a=e}function MEe(e){this.a=e}function CEe(e){this.a=e}function TEe(e){this.a=e}function OEe(e){this.a=e}function NEe(e){this.a=e}function IEe(e){this.a=e}function DEe(e){this.a=e}function _Ee(e){this.a=e}function LEe(e){this.a=e}function PEe(e){this.a=e}function $Ee(e){this.a=e}function REe(e){this.a=e}function A1(e){this.a=e}function Nv(e){this.a=e}function BEe(e){this.a=e}function zEe(e){this.a=e}function FEe(e){this.a=e}function JEe(e){this.a=e}function HEe(e){this.a=e}function GEe(e){this.a=e}function qEe(e){this.a=e}function UEe(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function VEe(e){this.a=e}function YEe(e){this.a=e}function QEe(e){this.a=e}function WEe(e){this.a=e}function ZEe(e){this.a=e}function eSe(e){this.a=e}function nSe(e){this.a=e}function tSe(e){this.a=e}function iSe(e){this.a=e}function rSe(e){this.a=e}function cSe(e){this.a=e}function uSe(e){this.a=e}function oSe(e){this.a=e}function sSe(e){this.a=e}function lSe(e){this.a=e}function fSe(e){this.a=e}function DP(e){this.a=e}function aSe(e){this.f=e}function hSe(e){this.a=e}function dSe(e){this.a=e}function bSe(e){this.a=e}function gSe(e){this.a=e}function wSe(e){this.a=e}function pSe(e){this.a=e}function mSe(e){this.a=e}function vSe(e){this.a=e}function ySe(e){this.a=e}function kSe(e){this.a=e}function jSe(e){this.a=e}function ESe(e){this.a=e}function SSe(e){this.a=e}function xSe(e){this.a=e}function ASe(e){this.a=e}function MSe(e){this.a=e}function CSe(e){this.a=e}function TSe(e){this.a=e}function OSe(e){this.a=e}function NSe(e){this.a=e}function ISe(e){this.a=e}function DSe(e){this.a=e}function _Se(e){this.a=e}function LSe(e){this.a=e}function PSe(e){this.a=e}function $Se(e){this.a=e}function RSe(e){this.a=e}function hX(e){this.a=e}function uoe(e){this.a=e}function ki(e){this.b=e}function BSe(e){this.a=e}function zSe(e){this.a=e}function FSe(e){this.a=e}function JSe(e){this.a=e}function HSe(e){this.a=e}function GSe(e){this.a=e}function qSe(e){this.a=e}function USe(e){this.b=e}function XSe(e){this.a=e}function QC(e){this.a=e}function KSe(e){this.a=e}function VSe(e){this.a=e}function _P(e){this.a=e}function LP(e){this.a=e}function ooe(e){this.c=e}function PP(e){this.e=e}function $P(e){this.e=e}function dX(e){this.a=e}function YSe(e){this.d=e}function QSe(e){this.a=e}function soe(e){this.a=e}function loe(e){this.a=e}function pw(e){this.e=e}function lbn(){this.a=0}function Te(){CK(this)}function wt(){Hu(this)}function bX(){FDe(this)}function WSe(){}function mw(){this.c=Z8e}function ZSe(e,n){e.b+=n}function fbn(e,n){n.Wb(e)}function abn(e){return e.a}function hbn(e){return e.a}function dbn(e){return e.a}function bbn(e){return e.a}function gbn(e){return e.a}function R(e){return e.e}function wbn(){return null}function pbn(){return null}function mbn(e){throw R(e)}function sy(e){this.a=Ot(e)}function exe(){this.a=this}function $b(){mOe.call(this)}function vbn(e){e.b.Mf(e.e)}function nxe(e){e.b=new NX}function mj(e,n){e.b=n-e.b}function vj(e,n){e.a=n-e.a}function txe(e,n){n.gd(e.a)}function ybn(e,n){Ar(n,e)}function qn(e,n){e.push(n)}function ixe(e,n){e.sort(n)}function kbn(e,n,t){e.Wd(t,n)}function WC(e,n){e.e=n,n.b=e}function jbn(){Joe(),GRn()}function rxe(e){J9(),ite.je(e)}function foe(){$b.call(this)}function gX(){$b.call(this)}function aoe(){mOe.call(this)}function cxe(){$b.call(this)}function Il(){$b.call(this)}function uxe(){$b.call(this)}function ZC(){$b.call(this)}function is(){$b.call(this)}function ly(){$b.call(this)}function _t(){$b.call(this)}function hu(){$b.call(this)}function oxe(){$b.call(this)}function RP(){this.Bb|=256}function sxe(){this.b=new pTe}function hoe(){hoe=Y,new wt}function o2(e,n){e.length=n}function BP(e,n){Ce(e.a,n)}function Ebn(e,n){I0e(e.c,n)}function Sbn(e,n){hr(e.b,n)}function d9(e,n){hi(e.e,n)}function xbn(e,n){dz(e.a,n)}function Abn(e,n){wQ(e.a,n)}function fy(e){Nz(e.c,e.b)}function Mbn(e,n){e.kc().Nb(n)}function doe(e){this.a=$jn(e)}function ar(){this.a=new wt}function lxe(){this.a=new wt}function zP(){this.a=new Te}function wX(){this.a=new Te}function boe(){this.a=new Te}function Rb(){this.a=new e$e}function pX(){this.a=new CMe}function goe(){this.a=new G_e}function woe(){this.a=new fNe}function rf(){this.a=new h6}function poe(){this.a=new ov}function fxe(){this.a=new ELe}function axe(){this.a=new Te}function hxe(){this.a=new Te}function moe(){this.a=new Te}function dxe(){this.a=new Te}function bxe(){this.d=new Te}function gxe(){this.a=new ar}function wxe(){this.a=new wt}function pxe(){this.b=new wt}function mxe(){this.b=new Te}function voe(){this.e=new Te}function vxe(){this.a=new Gc}function yxe(){this.d=new Te}function yj(){WSe.call(this)}function mX(){yj.call(this)}function ay(){WSe.call(this)}function yoe(){ay.call(this)}function kxe(){foe.call(this)}function FP(){zP.call(this)}function jxe(){V$.call(this)}function Exe(){moe.call(this)}function Sxe(){Te.call(this)}function xxe(){k_e.call(this)}function Axe(){k_e.call(this)}function Mxe(){Soe.call(this)}function Cxe(){Soe.call(this)}function Txe(){Soe.call(this)}function Oxe(){xoe.call(this)}function kj(){Gk.call(this)}function koe(){Gk.call(this)}function xs(){xi.call(this)}function Nxe(){qxe.call(this)}function Ixe(){qxe.call(this)}function Dxe(){wt.call(this)}function _xe(){wt.call(this)}function Lxe(){wt.call(this)}function vX(){MBe.call(this)}function Pxe(){ar.call(this)}function $xe(){RP.call(this)}function yX(){ole.call(this)}function joe(){wt.call(this)}function kX(){ole.call(this)}function jX(){wt.call(this)}function Rxe(){wt.call(this)}function Eoe(){xv.call(this)}function Bxe(){Eoe.call(this)}function zxe(){xv.call(this)}function Fxe(){yC.call(this)}function Soe(){this.a=new ar}function Jxe(){this.a=new wt}function Hxe(){this.a=new Te}function Gxe(){this.j=new Te}function xoe(){this.a=new wt}function hy(){this.a=new xi}function qxe(){this.a=new iC}function Aoe(){this.a=new G_}function Uxe(){this.a=new HAe}function jj(){jj=Y,Vne=new G}function EX(){EX=Y,Yne=new Kxe}function SX(){SX=Y,Qne=new Xxe}function Xxe(){Cv.call(this,"")}function Kxe(){Cv.call(this,"")}function Vxe(e){iBe.call(this,e)}function Yxe(e){iBe.call(this,e)}function Moe(e){x1.call(this,e)}function Coe(e){tMe.call(this,e)}function Cbn(e){tMe.call(this,e)}function Tbn(e){Coe.call(this,e)}function Obn(e){Coe.call(this,e)}function Nbn(e){Coe.call(this,e)}function Qxe(e){uY.call(this,e)}function Wxe(e){uY.call(this,e)}function Zxe(e){nOe.call(this,e)}function eAe(e){Voe.call(this,e)}function Ej(e){WP.call(this,e)}function Toe(e){WP.call(this,e)}function nAe(e){WP.call(this,e)}function du(e){VIe.call(this,e)}function tAe(e){du.call(this,e)}function dy(){s9.call(this,{})}function xX(e){x9(),this.a=e}function iAe(e){e.b=null,e.c=0}function Ibn(e,n){e.e=n,iXe(e,n)}function Dbn(e,n){e.a=n,qCn(e)}function AX(e,n,t){e.a[n.g]=t}function _bn(e,n,t){hAn(t,e,n)}function Lbn(e,n){h2n(n.i,e.n)}function rAe(e,n){Akn(e).Ad(n)}function Pbn(e,n){return e*e/n}function cAe(e,n){return e.g-n.g}function $bn(e,n){e.a.ec().Kc(n)}function Rbn(e){return new Tv(e)}function Bbn(e){return new O2(e)}function uAe(){uAe=Y,kme=new q}function Ooe(){Ooe=Y,jme=new Ue}function JP(){JP=Y,YS=new An}function HP(){HP=Y,Zne=new eOe}function oAe(){oAe=Y,cnn=new tt}function GP(e){i1e(),this.a=e}function MX(e){fV(),this.f=e}function k0(e){fV(),this.f=e}function sAe(e){BNe(),this.a=e}function qP(e){du.call(this,e)}function jo(e){du.call(this,e)}function lAe(e){du.call(this,e)}function CX(e){VIe.call(this,e)}function b9(e){du.call(this,e)}function Un(e){du.call(this,e)}function Uc(e){du.call(this,e)}function fAe(e){du.call(this,e)}function by(e){du.call(this,e)}function vd(e){du.call(this,e)}function Su(e){Ln(e),this.a=e}function Sj(e){Bfe(e,e.length)}function Noe(e){return ug(e),e}function s2(e){return!!e&&e.b}function zbn(e){return!!e&&e.k}function Fbn(e){return!!e&&e.j}function xj(e){return e.b==e.c}function ze(e){return Ln(e),e}function ne(e){return Ln(e),e}function eT(e){return Ln(e),e}function Ioe(e){return Ln(e),e}function Jbn(e){return Ln(e),e}function ah(e){du.call(this,e)}function yd(e){du.call(this,e)}function gy(e){du.call(this,e)}function TX(e){du.call(this,e)}function Bt(e){du.call(this,e)}function OX(e){gle.call(this,e,0)}function NX(){Aae.call(this,12,3)}function IX(){this.a=Pt(Ot(To))}function aAe(){throw R(new _t)}function Doe(){throw R(new _t)}function hAe(){throw R(new _t)}function Hbn(){throw R(new _t)}function Gbn(){throw R(new _t)}function qbn(){throw R(new _t)}function UP(){UP=Y,J9()}function kd(){Di.call(this,"")}function Aj(){Di.call(this,"")}function j0(){Di.call(this,"")}function wy(){Di.call(this,"")}function _oe(e){jo.call(this,e)}function Loe(e){jo.call(this,e)}function hh(e){Un.call(this,e)}function g9(e){Hr.call(this,e)}function dAe(e){g9.call(this,e)}function DX(e){H$.call(this,e)}function Ubn(e,n,t){e.c.Cf(n,t)}function Xbn(e,n,t){n.Ad(e.a[t])}function Kbn(e,n,t){n.Ne(e.a[t])}function Vbn(e,n){return e.a-n.a}function Ybn(e,n){return e.a-n.a}function Qbn(e,n){return e.a-n.a}function XP(e,n){return yY(e,n)}function z(e,n){return Y_e(e,n)}function Wbn(e,n){return n in e.a}function bAe(e){return e.a?e.b:0}function Zbn(e){return e.a?e.b:0}function gAe(e,n){return e.f=n,e}function egn(e,n){return e.b=n,e}function wAe(e,n){return e.c=n,e}function ngn(e,n){return e.g=n,e}function Poe(e,n){return e.a=n,e}function $oe(e,n){return e.f=n,e}function tgn(e,n){return e.f=n,e}function Roe(e,n){return e.e=n,e}function ign(e,n){return e.k=n,e}function Boe(e,n){return e.a=n,e}function rgn(e,n){return e.e=n,e}function cgn(e,n){e.b=new wc(n)}function pAe(e,n){e._d(n),n.$d(e)}function ugn(e,n){rl(),n.n.a+=e}function ogn(e,n){U0(),wu(n,e)}function zoe(e){ZDe.call(this,e)}function mAe(e){ZDe.call(this,e)}function vAe(){Xse.call(this,"")}function yAe(){this.b=0,this.a=0}function kAe(){kAe=Y,mnn=BAn()}function l2(e,n){return e.b=n,e}function KP(e,n){return e.a=n,e}function f2(e,n){return e.c=n,e}function a2(e,n){return e.d=n,e}function h2(e,n){return e.e=n,e}function Foe(e,n){return e.f=n,e}function Mj(e,n){return e.a=n,e}function w9(e,n){return e.b=n,e}function p9(e,n){return e.c=n,e}function Xe(e,n){return e.c=n,e}function hn(e,n){return e.b=n,e}function Ke(e,n){return e.d=n,e}function Ve(e,n){return e.e=n,e}function sgn(e,n){return e.f=n,e}function Ye(e,n){return e.g=n,e}function Qe(e,n){return e.a=n,e}function We(e,n){return e.i=n,e}function Ze(e,n){return e.j=n,e}function lgn(e,n){return n.pg(e)}function fgn(e,n){return e.b-n.b}function agn(e,n){return e.g-n.g}function hgn(e,n){return e.s-n.s}function dgn(e,n){return e?0:n-1}function jAe(e,n){return e?0:n-1}function bgn(e,n){return e?n-1:0}function EAe(e,n){return e.k=n,e}function ggn(e,n){return e.j=n,e}function Vr(){this.a=0,this.b=0}function VP(e){XK.call(this,e)}function E0(e){$w.call(this,e)}function SAe(e){$V.call(this,e)}function xAe(e){$V.call(this,e)}function AAe(){AAe=Y,Pr=uMn()}function S0(){S0=Y,Man=Yxn()}function Joe(){Joe=Y,Rg=ME()}function m9(){m9=Y,W8e=Qxn()}function MAe(){MAe=Y,ahn=Wxn()}function Hoe(){Hoe=Y,Bu=JCn()}function fa(e){return e.e&&e.e()}function CAe(e,n){return e.c._b(n)}function TAe(e,n){return MFe(e.b,n)}function OAe(e,n){return Fgn(e.a,n)}function NAe(e,n){e.b=0,z2(e,n)}function wgn(e,n){e.c=n,e.b=!0}function Iv(e,n){return e.a+=n,e}function _X(e,n){return e.a+=n,e}function jd(e,n){return e.a+=n,e}function vw(e,n){return e.a+=n,e}function Bb(e){return T1(e),e.o}function Goe(e){_Ve(),iBn(this,e)}function IAe(){throw R(new _t)}function DAe(){throw R(new _t)}function _Ae(){throw R(new _t)}function LAe(){throw R(new _t)}function PAe(){throw R(new _t)}function $Ae(){throw R(new _t)}function YP(e){this.a=new my(e)}function Ed(e){this.a=new gV(e)}function Dv(e,n){for(;e.Pe(n););}function qoe(e,n){for(;e.zd(n););}function pgn(e,n,t){y3n(e.a,n,t)}function Uoe(e,n,t){e.splice(n,t)}function mgn(e,n){return ZLn(n,e)}function Xoe(e,n){return e.d[n.p]}function nT(e){return e.b!=e.d.c}function RAe(e){return e.l|e.m<<22}function LX(e){return e?e.d:null}function vgn(e){return e?e.g:null}function ygn(e){return e?e.i:null}function BAe(e,n){return yIn(e,n)}function v9(e){return N0(e),e.a}function zAe(e){e.c?vXe(e):yXe(e)}function FAe(){this.b=new uS(c4e)}function JAe(){this.b=new uS(Wre)}function HAe(){this.b=new uS(Wre)}function GAe(){this.a=new uS(z4e)}function qAe(){this.a=new uS(f6e)}function QP(e){this.a=0,this.b=e}function UAe(){throw R(new _t)}function XAe(){throw R(new _t)}function KAe(){throw R(new _t)}function VAe(){throw R(new _t)}function YAe(){throw R(new _t)}function QAe(){throw R(new _t)}function WAe(){throw R(new _t)}function ZAe(){throw R(new _t)}function eMe(){throw R(new _t)}function nMe(){throw R(new _t)}function kgn(){throw R(new hu)}function jgn(){throw R(new hu)}function tT(e){this.a=new EMe(e)}function y9(e,n){this.e=e,this.d=n}function Koe(e,n){this.b=e,this.c=n}function tMe(e){rle(e.dc()),this.c=e}function iT(e,n){Uv.call(this,e,n)}function k9(e,n){iT.call(this,e,n)}function iMe(e,n){this.a=e,this.b=n}function rMe(e,n){this.a=e,this.b=n}function cMe(e,n){this.a=e,this.b=n}function uMe(e,n){this.a=e,this.b=n}function oMe(e,n){this.a=e,this.b=n}function sMe(e,n){this.a=e,this.b=n}function lMe(e,n){this.a=e,this.b=n}function fMe(e,n){this.b=e,this.a=n}function aMe(e,n){this.b=e,this.a=n}function yw(e,n){this.g=e,this.i=n}function hMe(e,n){this.a=e,this.b=n}function dMe(e,n){this.b=e,this.a=n}function bMe(e,n){this.a=e,this.b=n}function gMe(e,n){this.b=e,this.a=n}function WP(e){this.b=u(Ot(e),50)}function ZP(e){this.b=u(Ot(e),92)}function Tt(e,n){this.f=e,this.g=n}function PX(e,n){this.a=e,this.b=n}function wMe(e,n){this.a=e,this.f=n}function pMe(e){this.a=u(Ot(e),16)}function Voe(e){this.a=u(Ot(e),16)}function mMe(e,n){this.b=e,this.c=n}function vMe(e){this.a=u(Ot(e),92)}function Egn(e,n){this.a=e,this.b=n}function yMe(e,n){this.a=e,this.b=n}function kMe(e,n){return so(e.b,n)}function jMe(e,n){return e>n&&n0}function HX(e,n){return ao(e,n)<0}function JMe(e,n){return sV(e.a,n)}function Hgn(e,n){q_e.call(this,e,n)}function cse(e){OV(),rCn.call(this,e)}function use(e){OV(),cse.call(this,e)}function ose(e){cV(),nOe.call(this,e)}function sse(e,n){$Ie(e,e.length,n)}function lT(e,n){hDe(e,e.length,n)}function Pj(e,n){return e.a.get(n)}function HMe(e,n){return so(e.e,n)}function lse(e){return Ln(e),!1}function GMe(){return kAe(),new mnn}function fT(e){return at(e.a),e.b}function qMe(e,n){this.b=e,this.a=n}function s$(e,n){this.d=e,this.e=n}function UMe(e,n){this.a=e,this.b=n}function XMe(e,n){this.a=e,this.b=n}function KMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.b=e,this.a=n}function vy(e,n){this.a=e,this.b=n}function l$(e,n){Tt.call(this,e,n)}function GX(e,n){Tt.call(this,e,n)}function qX(e,n){Tt.call(this,e,n)}function UX(e,n){Tt.call(this,e,n)}function XX(e,n){Tt.call(this,e,n)}function f$(e,n){Tt.call(this,e,n)}function a$(e){yn.call(this,e,21)}function QMe(e,n){this.b=e,this.a=n}function fse(e,n){this.b=e,this.a=n}function ase(e,n){this.b=e,this.a=n}function hse(e,n){Tt.call(this,e,n)}function KX(e,n){Tt.call(this,e,n)}function aT(e,n){Tt.call(this,e,n)}function dse(e,n){this.b=e,this.a=n}function S9(e,n){this.c=e,this.d=n}function h$(e,n){Tt.call(this,e,n)}function d$(e,n){Tt.call(this,e,n)}function WMe(e,n){this.e=e,this.d=n}function yy(e,n){Tt.call(this,e,n)}function ZMe(e,n){this.a=e,this.b=n}function bse(e,n){Tt.call(this,e,n)}function br(e,n){Tt.call(this,e,n)}function b$(e,n){Tt.call(this,e,n)}function $j(e,n,t){e.splice(n,0,t)}function Ggn(e,n,t){e.Mb(t)&&n.Ad(t)}function qgn(e,n,t){n.Ne(e.a.We(t))}function Ugn(e,n,t){n.Bd(e.a.Xe(t))}function Xgn(e,n,t){n.Ad(e.a.Kb(t))}function Kgn(e,n){return cs(e.c,n)}function Vgn(e,n){return cs(e.e,n)}function eCe(e,n){this.a=e,this.b=n}function nCe(e,n){this.a=e,this.b=n}function tCe(e,n){this.a=e,this.b=n}function iCe(e,n){this.a=e,this.b=n}function rCe(e,n){this.a=e,this.b=n}function cCe(e,n){this.a=e,this.b=n}function uCe(e,n){this.a=e,this.b=n}function oCe(e,n){this.a=e,this.b=n}function sCe(e,n){this.b=e,this.a=n}function lCe(e,n){this.b=e,this.a=n}function fCe(e,n){this.b=e,this.a=n}function aCe(e,n){this.b=n,this.c=e}function g$(e,n){Tt.call(this,e,n)}function hT(e,n){Tt.call(this,e,n)}function gse(e,n){Tt.call(this,e,n)}function Rj(e,n){Tt.call(this,e,n)}function w$(e,n){Tt.call(this,e,n)}function VX(e,n){Tt.call(this,e,n)}function YX(e,n){Tt.call(this,e,n)}function Bj(e,n){Tt.call(this,e,n)}function zj(e,n){Tt.call(this,e,n)}function wse(e,n){Tt.call(this,e,n)}function _v(e,n){Tt.call(this,e,n)}function QX(e,n){Tt.call(this,e,n)}function Fj(e,n){Tt.call(this,e,n)}function pse(e,n){Tt.call(this,e,n)}function g2(e,n){Tt.call(this,e,n)}function WX(e,n){Tt.call(this,e,n)}function ZX(e,n){Tt.call(this,e,n)}function eK(e,n){Tt.call(this,e,n)}function mse(e,n){Tt.call(this,e,n)}function dT(e,n){Tt.call(this,e,n)}function vse(e,n){Tt.call(this,e,n)}function Lv(e,n){Tt.call(this,e,n)}function nK(e,n){Tt.call(this,e,n)}function p$(e,n){Tt.call(this,e,n)}function bT(e,n){Tt.call(this,e,n)}function w2(e,n){Tt.call(this,e,n)}function m$(e,n){Tt.call(this,e,n)}function yse(e,n){Tt.call(this,e,n)}function tK(e,n){Tt.call(this,e,n)}function iK(e,n){Tt.call(this,e,n)}function rK(e,n){Tt.call(this,e,n)}function cK(e,n){Tt.call(this,e,n)}function uK(e,n){Tt.call(this,e,n)}function oK(e,n){Tt.call(this,e,n)}function v$(e,n){Tt.call(this,e,n)}function hCe(e,n){this.b=e,this.a=n}function kse(e,n){Tt.call(this,e,n)}function dCe(e,n){this.a=e,this.b=n}function bCe(e,n){this.a=e,this.b=n}function gCe(e,n){this.a=e,this.b=n}function jse(e,n){Tt.call(this,e,n)}function Ese(e,n){Tt.call(this,e,n)}function wCe(e,n){this.a=e,this.b=n}function Ygn(e,n){return N9(),n!=e}function sK(e){return YTn(e,e.c),e}function Qgn(e){k.clearTimeout(e)}function Sse(e,n){Tt.call(this,e,n)}function xse(e,n){Tt.call(this,e,n)}function pCe(e,n){this.a=e,this.b=n}function mCe(e,n){this.a=e,this.b=n}function vCe(e,n){this.b=e,this.d=n}function yCe(e,n){this.a=e,this.b=n}function kCe(e,n){this.b=e,this.a=n}function y$(e,n){Tt.call(this,e,n)}function kw(e,n){Tt.call(this,e,n)}function lK(e,n){Tt.call(this,e,n)}function k$(e,n){Tt.call(this,e,n)}function Ase(e,n){Tt.call(this,e,n)}function jCe(e,n){this.b=e,this.a=n}function ECe(e,n){this.b=e,this.a=n}function SCe(e,n){this.b=e,this.a=n}function xCe(e,n){this.b=e,this.a=n}function Mse(e,n){Tt.call(this,e,n)}function gT(e,n){Tt.call(this,e,n)}function Cse(e,n){Tt.call(this,e,n)}function fK(e,n){Tt.call(this,e,n)}function j$(e,n){Tt.call(this,e,n)}function aK(e,n){Tt.call(this,e,n)}function hK(e,n){Tt.call(this,e,n)}function E$(e,n){Tt.call(this,e,n)}function dK(e,n){Tt.call(this,e,n)}function Tse(e,n){Tt.call(this,e,n)}function bK(e,n){Tt.call(this,e,n)}function gK(e,n){Tt.call(this,e,n)}function wT(e,n){Tt.call(this,e,n)}function wK(e,n){Tt.call(this,e,n)}function Ose(e,n){Tt.call(this,e,n)}function pT(e,n){Tt.call(this,e,n)}function Nse(e,n){Tt.call(this,e,n)}function Ise(e,n){this.a=e,this.b=n}function ACe(e,n){this.a=e,this.b=n}function MCe(e,n){this.a=e,this.b=n}function CCe(){W$(),this.a=new $le}function TCe(){Fz(),this.a=new ar}function OCe(){UV(),this.b=new ar}function NCe(){Sae(),Cfe.call(this)}function ICe(){Eae(),y_e.call(this)}function DCe(){Eae(),y_e.call(this)}function mT(e,n){Tt.call(this,e,n)}function ky(e,n){Tt.call(this,e,n)}function Jj(e,n){Tt.call(this,e,n)}function Hj(e,n){Tt.call(this,e,n)}function vT(e,n){Tt.call(this,e,n)}function S$(e,n){Tt.call(this,e,n)}function pK(e,n){Tt.call(this,e,n)}function x$(e,n){Tt.call(this,e,n)}function Gj(e,n){Tt.call(this,e,n)}function mK(e,n){Tt.call(this,e,n)}function A$(e,n){Tt.call(this,e,n)}function Pv(e,n){Tt.call(this,e,n)}function yT(e,n){Tt.call(this,e,n)}function qj(e,n){Tt.call(this,e,n)}function Uj(e,n){Tt.call(this,e,n)}function vK(e,n){Tt.call(this,e,n)}function kT(e,n){Tt.call(this,e,n)}function M$(e,n){Tt.call(this,e,n)}function $v(e,n){Tt.call(this,e,n)}function yK(e,n){Tt.call(this,e,n)}function kK(e,n){Tt.call(this,e,n)}function C$(e,n){Tt.call(this,e,n)}function Ee(e,n){this.a=e,this.b=n}function _Ce(e,n){this.a=e,this.b=n}function LCe(e,n){this.a=e,this.b=n}function PCe(e,n){this.a=e,this.b=n}function $Ce(e,n){this.a=e,this.b=n}function RCe(e,n){this.a=e,this.b=n}function BCe(e,n){this.a=e,this.b=n}function jc(e,n){this.a=e,this.b=n}function zCe(e,n){this.a=e,this.b=n}function FCe(e,n){this.a=e,this.b=n}function JCe(e,n){this.a=e,this.b=n}function HCe(e,n){this.a=e,this.b=n}function GCe(e,n){this.a=e,this.b=n}function qCe(e,n){this.a=e,this.b=n}function UCe(e,n){this.b=e,this.a=n}function XCe(e,n){this.b=e,this.a=n}function KCe(e,n){this.b=e,this.a=n}function VCe(e,n){this.b=e,this.a=n}function YCe(e,n){this.a=e,this.b=n}function QCe(e,n){this.a=e,this.b=n}function WCe(e,n){this.a=e,this.b=n}function ZCe(e,n){this.a=e,this.b=n}function eTe(e,n){this.f=e,this.c=n}function Dse(e,n){this.i=e,this.g=n}function T$(e,n){Tt.call(this,e,n)}function jy(e,n){Tt.call(this,e,n)}function O$(e,n){this.a=e,this.b=n}function nTe(e,n){this.a=e,this.b=n}function _se(e,n){this.d=e,this.e=n}function tTe(e,n){this.a=e,this.b=n}function iTe(e,n){this.a=e,this.b=n}function rTe(e,n){this.d=e,this.b=n}function cTe(e,n){this.e=e,this.a=n}function Lse(e,n){e.i=null,MB(e,n)}function Wgn(e,n){e&&ei(iD,e,n)}function uTe(e,n){return xQ(e.a,n)}function Pse(e,n){return cs(e.g,n)}function Zgn(e,n){return cs(n.b,e)}function ewn(e,n){return-e.b.$e(n)}function N$(e){return LO(e.c,e.b)}function nwn(e,n){g8n(new st(e),n)}function twn(e,n,t){nGe(n,vW(e,t))}function iwn(e,n,t){nGe(n,vW(e,t))}function oTe(e,n){r8n(e.a,u(n,12))}function sTe(e,n){this.a=e,this.b=n}function jT(e,n){this.b=e,this.c=n}function M0(e,n){return e.Pd().Xb(n)}function I$(e,n){return C7n(e.Jc(),n)}function bu(e){return e?e.kd():null}function ue(e){return e??null}function p2(e){return typeof e===d4}function m2(e){return typeof e===$ge}function $r(e){return typeof e===aZ}function Xj(e,n){return ao(e,n)==0}function D$(e,n){return ao(e,n)>=0}function Kj(e,n){return ao(e,n)!=0}function $se(e,n){return e.a+=""+n,e}function rwn(e){return""+(Ln(e),e)}function lTe(e){return Is(e),e.d.gc()}function Rse(e){return kn(e,0),null}function _$(e){return cE(e==null),e}function Vj(e,n){return e.a+=""+n,e}function Bc(e,n){return e.a+=""+n,e}function Yj(e,n){return e.a+=""+n,e}function uo(e,n){return e.a+=""+n,e}function Kt(e,n){return e.a+=""+n,e}function fTe(e,n){e.q.setTime(eg(n))}function aTe(e,n){Lfe.call(this,e,n)}function hTe(e,n){Lfe.call(this,e,n)}function L$(e,n){Lfe.call(this,e,n)}function gc(e,n){Ki(e,n,e.c.b,e.c)}function Rv(e,n){Ki(e,n,e.a,e.a.a)}function cwn(e,n){return e.j[n.p]==2}function dTe(e,n){return e.a=n.g+1,e}function aa(e){return e.a=0,e.b=0,e}function bTe(e){Hu(this),TE(this,e)}function gTe(){this.b=0,this.a=!1}function wTe(){this.b=0,this.a=!1}function pTe(){this.b=new my(H2(12))}function mTe(){mTe=Y,ltn=It(DQ())}function vTe(){vTe=Y,pin=It(KUe())}function yTe(){yTe=Y,lsn=It(bze())}function Bse(){Bse=Y,hoe(),Eme=new wt}function uwn(e){return Ot(e),new Qj(e)}function kTe(e,n){return ue(e)===ue(n)}function P$(e){return e<10?"0"+e:""+e}function jTe(e){return _o(e.l,e.m,e.h)}function su(e){return typeof e===$ge}function jK(e,n){return sf(e.a,0,n)}function Ey(e){return lc((Ln(e),e))}function own(e){return lc((Ln(e),e))}function swn(e,n){return ji(e.a,n.a)}function zse(e,n){return oo(e.a,n.a)}function lwn(e,n){return fDe(e.a,n.a)}function dh(e,n){return e.indexOf(n)}function Fse(e,n){X9(e,0,e.length,n)}function ti(e,n){c$(),ei(xG,e,n)}function an(e,n){Pi.call(this,e,n)}function EK(e,n){S2.call(this,e,n)}function Bv(e,n){Dse.call(this,e,n)}function ETe(e,n){MT.call(this,e,n)}function SK(e,n){n8.call(this,e,n)}function Hh(){Kue.call(this,new L0)}function STe(){bR.call(this,0,0,0,0)}function Jse(e){return pu(e.b.b,e,0)}function xTe(e,n){return oo(e.g,n.g)}function fwn(e){return e==dp||e==mm}function awn(e){return e==dp||e==pm}function hwn(e,n){return oo(e.g,n.g)}function dwn(e,n){return rl(),n.a+=e}function bwn(e,n){return rl(),n.a+=e}function gwn(e,n){return rl(),n.c+=e}function wwn(e,n){return Ce(e.c,n),e}function ATe(e,n){return Ce(e.a,n),n}function Hse(e,n){return fl(e.a,n),e}function MTe(e){this.a=GMe(),this.b=e}function CTe(e){this.a=GMe(),this.b=e}function wc(e){this.a=e.a,this.b=e.b}function Qj(e){this.a=e,kC.call(this)}function TTe(e){this.a=e,kC.call(this)}function Fs(e){return e.sh()&&e.th()}function zv(e){return e!=rh&&e!=vb}function M1(e){return e==Zc||e==ru}function Fv(e){return e==Yl||e==th}function OTe(e){return e==V3||e==K3}function $$(e){return fl(new or,e)}function NTe(e){return NV(u(e,125))}function pwn(e,n){return ji(n.f,e.f)}function ITe(e,n){return new n8(n,e)}function mwn(e,n){return new n8(n,e)}function Dl(e,n,t){Os(e,n),Ns(e,t)}function xK(e,n,t){mB(e,n),vB(e,t)}function jw(e,n,t){Bw(e,n),Rw(e,t)}function ET(e,n,t){n3(e,n),t3(e,t)}function ST(e,n,t){i3(e,n),r3(e,t)}function AK(e,n){s8(e,n),Q9(e,e.D)}function MK(e){eTe.call(this,e,!0)}function Sy(){Lf.call(this,0,0,0,0)}function DTe(){l$.call(this,"Head",1)}function _Te(){l$.call(this,"Tail",3)}function LTe(e,n,t){Ale.call(this,e,n,t)}function Ew(e){bR.call(this,e,e,e,e)}function C0(e){jh(),_7n.call(this,e)}function PTe(e){Ao(e.Qf(),new rje(e))}function Jv(e){return e!=null?Ni(e):0}function vwn(e,n){return B2(n,Pa(e))}function ywn(e,n){return B2(n,Pa(e))}function kwn(e,n){return e[e.length]=n}function jwn(e,n){return e[e.length]=n}function Ewn(e,n){return SB(AV(e.f),n)}function Swn(e,n){return SB(AV(e.n),n)}function xwn(e,n){return SB(AV(e.p),n)}function Gse(e){return Dvn(e.b.Jc(),e.a)}function Awn(e){return e==null?0:Ni(e)}function CK(e){e.c=le(Mr,Nn,1,0,5,1)}function $Te(e,n,t){ir(e.c[n.g],n.g,t)}function Mwn(e,n,t){u(e.c,72).Ei(n,t)}function Cwn(e,n,t){Dl(t,t.i+e,t.j+n)}function Yr(e,n){Pi.call(this,e.b,n)}function Twn(e,n){Et(Vu(e.a),bLe(n))}function Own(e,n){Et(Ts(e.a),gLe(n))}function Nwn(e,n){Qa||(e.b=n)}function TK(e,n,t){return ir(e,n,t),t}function Lt(){Lt=Y,new RTe,new Te}function RTe(){new wt,new wt,new wt}function Iwn(){throw R(new vd(Hen))}function Dwn(){throw R(new vd(Hen))}function _wn(){throw R(new vd(Gen))}function Lwn(){throw R(new vd(Gen))}function BTe(){BTe=Y,are=new GE(Mce)}function Da(){Da=Y,k.Math.log(2)}function _l(){_l=Y,g1=(RMe(),Dan)}function Wj(e){ai(),pw.call(this,e)}function zTe(e){this.a=e,ufe.call(this,e)}function OK(e){this.a=e,ZP.call(this,e)}function NK(e){this.a=e,ZP.call(this,e)}function Tr(e,n){oV(e.c,e.c.length,n)}function gu(e){return e.an?1:0}function Use(e,n){return ao(e,n)>0?e:n}function _o(e,n,t){return{l:e,m:n,h:t}}function Pwn(e,n){e.a!=null&&oTe(n,e.a)}function $wn(e){fc(e,null),Gr(e,null)}function Rwn(e,n,t){return ei(e.g,t,n)}function Bwn(e,n){Ot(n),Kv(e).Ic(new Pe)}function JTe(){Qde(),this.a=new uS(vve)}function R$(e){this.b=e,this.a=new Te}function HTe(e){this.b=new y5,this.a=e}function Xse(e){Rle.call(this),this.a=e}function GTe(e){bae.call(this),this.b=e}function qTe(){l$.call(this,"Range",2)}function B$(e){e.j=le(Pme,Ae,324,0,0,1)}function UTe(e){e.a=new Jt,e.c=new Jt}function XTe(e){e.a=new wt,e.e=new wt}function Kse(e){return new Ee(e.c,e.d)}function zwn(e){return new Ee(e.c,e.d)}function pc(e){return new Ee(e.a,e.b)}function Fwn(e,n){return ei(e.a,n.a,n)}function Jwn(e,n,t){return ei(e.k,t,n)}function Hv(e,n,t){return pde(n,t,e.c)}function Vse(e,n){return re(zn(e.i,n))}function Yse(e,n){return re(zn(e.j,n))}function KTe(e,n){return j$n(e.a,n,null)}function Zj(e,n){return IPn(e.c,e.b,n)}function X(e,n){return e!=null&&$Q(e,n)}function VTe(e,n){kt(e),e.Fc(u(n,16))}function Hwn(e,n,t){e.c._c(n,u(t,136))}function Gwn(e,n,t){e.c.Si(n,u(t,136))}function qwn(e,n,t){return y$n(e,n,t),t}function Uwn(e,n){return cl(),n.n.b+=e}function IK(e,n){return lkn(e.Jc(),n)!=-1}function Xwn(e,n){return new EOe(e.Jc(),n)}function z$(e){return e.Ob()?e.Pb():null}function YTe(e){return vh(e,0,e.length)}function QTe(e){KV(e,null),VV(e,null)}function WTe(){MT.call(this,null,null)}function ZTe(){U$.call(this,null,null)}function eOe(){Tt.call(this,"INSTANCE",0)}function Gv(){this.a=le(Mr,Nn,1,8,5,1)}function Qse(e){this.a=e,wt.call(this)}function nOe(e){this.a=(En(),new g9(e))}function Kwn(e){this.b=(En(),new aX(e))}function x9(){x9=Y,Ume=new xX(null)}function Wse(){Wse=Y,Wse(),knn=new At}function Ce(e,n){return qn(e.c,n),!0}function tOe(e,n){e.c&&(vfe(n),I_e(n))}function Vwn(e,n){e.q.setHours(n),aS(e,n)}function Zse(e,n){return e.a.Ac(n)!=null}function DK(e,n){return e.a.Ac(n)!=null}function _a(e,n){return e.a[n.c.p][n.p]}function Ywn(e,n){return e.e[n.c.p][n.p]}function Qwn(e,n){return e.c[n.c.p][n.p]}function _K(e,n,t){return e.a[n.g][t.g]}function Wwn(e,n){return e.j[n.p]=rNn(n)}function xy(e,n){return e.a*n.a+e.b*n.b}function Zwn(e,n){return e.a=e}function rpn(e,n,t){return t?n!=0:n!=e-1}function iOe(e,n,t){e.a=n^1502,e.b=t^JZ}function cpn(e,n,t){return e.a=n,e.b=t,e}function C1(e,n){return e.a*=n,e.b*=n,e}function eE(e,n,t){return ir(e.g,n,t),t}function upn(e,n,t,i){ir(e.a[n.g],t.g,i)}function mr(e,n,t){BT.call(this,e,n,t)}function F$(e,n,t){mr.call(this,e,n,t)}function rs(e,n,t){mr.call(this,e,n,t)}function rOe(e,n,t){F$.call(this,e,n,t)}function ele(e,n,t){BT.call(this,e,n,t)}function qv(e,n,t){BT.call(this,e,n,t)}function cOe(e,n,t){iR.call(this,e,n,t)}function nle(e,n,t){iR.call(this,e,n,t)}function uOe(e,n,t){nle.call(this,e,n,t)}function oOe(e,n,t){ele.call(this,e,n,t)}function T0(e){this.c=e,this.a=this.c.a}function st(e){this.i=e,this.f=this.i.j}function Uv(e,n){this.a=e,ZP.call(this,n)}function sOe(e,n){this.a=e,OX.call(this,n)}function lOe(e,n){this.a=e,OX.call(this,n)}function fOe(e,n){this.a=e,OX.call(this,n)}function tle(e){this.a=e,GU.call(this,e.d)}function aOe(e){e.b.Qb(),--e.d.f.d,wR(e.d)}function hOe(e){e.a=u(Kn(e.b.a,4),129)}function dOe(e){e.a=u(Kn(e.b.a,4),129)}function opn(e){UT(e,wZe),Pz(e,pRn(e))}function ile(e,n){return Rjn(e,new j0,n).a}function spn(e){return nT(e.a)?dLe(e):null}function bOe(e){Cv.call(this,u(Ot(e),35))}function gOe(e){Cv.call(this,u(Ot(e),35))}function rle(e){if(!e)throw R(new ZC)}function cle(e){if(!e)throw R(new is)}function Qn(e,n){return Ot(n),new jOe(e,n)}function wOe(e,n){return new cqe(e.a,e.b,n)}function lpn(e){return e.l+e.m*p4+e.h*gg}function fpn(e){return e==null?null:e.name}function ule(e,n,t){return e.indexOf(n,t)}function J$(e,n){return e.lastIndexOf(n)}function nE(e){return e==null?Vo:fu(e)}function $n(){$n=Y,cb=!1,w7=!0}function pOe(){pOe=Y,zX(),shn=new FU}function ole(){this.Bb|=256,this.Bb|=512}function mOe(){B$(this),NR(this),this.he()}function H$(e){Hr.call(this,e),this.a=e}function sle(e){ic.call(this,e),this.a=e}function lle(e){g9.call(this,e),this.a=e}function uf(e){Di.call(this,(Ln(e),e))}function il(e){Di.call(this,(Ln(e),e))}function LK(e){Kue.call(this,new ahe(e))}function vOe(e){this.a=e,Xi.call(this,e)}function fle(e,n){this.a=n,OX.call(this,e)}function yOe(e,n){this.a=n,uY.call(this,e)}function kOe(e,n){this.a=e,uY.call(this,n)}function jOe(e,n){this.a=n,WP.call(this,e)}function EOe(e,n){this.a=n,WP.call(this,e)}function ale(e){pX.call(this),ac(this,e)}function Js(e){return at(e.a!=null),e.a}function SOe(e,n){return Ce(n.a,e.a),e.a}function xOe(e,n){return Ce(n.b,e.a),e.a}function Sw(e,n){return Ce(n.a,e.a),e.a}function xT(e,n,t){return UY(e,n,n,t),e}function G$(e,n){return++e.b,Ce(e.a,n)}function hle(e,n){return++e.b,qo(e.a,n)}function apn(e,n){return ji(e.c.d,n.c.d)}function hpn(e,n){return ji(e.c.c,n.c.c)}function dpn(e,n){return ji(e.n.a,n.n.a)}function Ho(e,n){return u(vi(e.b,n),16)}function bpn(e,n){return e.n.b=(Ln(n),n)}function gpn(e,n){return e.n.b=(Ln(n),n)}function cs(e,n){return!!n&&e.b[n.g]==n}function tE(e){return gu(e.a)||gu(e.b)}function wpn(e,n){return ji(e.e.b,n.e.b)}function ppn(e,n){return ji(e.e.a,n.e.a)}function mpn(e,n,t){return fPe(e,n,t,e.b)}function dle(e,n,t){return fPe(e,n,t,e.c)}function vpn(e){return rl(),!!e&&!e.dc()}function AOe(){Nj(),this.b=new zje(this)}function q$(){q$=Y,yJ=new Pi(rQe,0)}function Ay(e){this.d=e,st.call(this,e)}function My(e){this.c=e,st.call(this,e)}function AT(e){this.c=e,Ay.call(this,e)}function ble(e,n){Ade.call(this,e,n,null)}function Cy(e){return e.a!=null?e.a:null}function xw(e){return e.$H||(e.$H=++zBn)}function Ad(e){var n;n=e.a,e.a=e.b,e.b=n}function MT(e,n){Lj(),this.a=e,this.b=n}function U$(e,n){xd(),this.b=e,this.c=n}function X$(e,n){fV(),this.f=n,this.d=e}function gle(e,n){nhe(n,e),this.c=e,this.b=n}function ypn(e,n){return dV(e.c).Kd().Xb(n)}function PK(e,n){return new MNe(e,e.gc(),n)}function kpn(e){return HP(),Nt((oLe(),Wen),e)}function jpn(e){return new P2(3,e)}function Gh(e){return ll(e,om),new xo(e)}function MOe(e){return J9(),parseInt(e)||-1}function A9(e,n,t){return ule(e,Xo(n),t)}function wle(e,n,t){u(fO(e,n),22).Ec(t)}function Epn(e,n,t){wQ(e.a,t),dz(e.a,n)}function M9(e,n,t){var i;i=e.dd(n),i.Rb(t)}function COe(e,n,t,i){Dfe.call(this,e,n,t,i)}function TOe(e){sfe.call(this,e,null,null)}function $K(e){d2(),this.b=e,this.a=!0}function OOe(e){e$(),this.b=e,this.a=!0}function NOe(e){if(!e)throw R(new Il)}function ple(e){if(!e)throw R(new ZC)}function Spn(e){if(!e)throw R(new gX)}function at(e){if(!e)throw R(new hu)}function v2(e){if(!e)throw R(new is)}function IOe(e){e.d=new TOe(e),e.e=new wt}function C9(e){return at(e.b!=0),e.a.a.c}function Df(e){return at(e.b!=0),e.c.b.c}function xpn(e,n){return UY(e,n,n+1,""),e}function DOe(e){lZ(),nxe(this),this.Df(e)}function _Oe(e){this.c=e,this.a=1,this.b=1}function CT(e){X(e,161)&&u(e,161).mi()}function LOe(e){return e.b=u(lae(e.a),45)}function y2(e,n){return u(Ba(e.a,n),35)}function wi(e,n){return!!e.q&&so(e.q,n)}function Apn(e,n){return e>0?n/(e*e):n*100}function Mpn(e,n){return e>0?n*n/e:n*n*100}function Cpn(e){return e.f!=null?e.f:""+e.g}function RK(e){return e.f!=null?e.f:""+e.g}function Tpn(e){return R1(),e.e.a+e.f.a/2}function Opn(e){return R1(),e.e.b+e.f.b/2}function Npn(e,n,t){return R1(),t.e.b-e*n}function Ipn(e,n,t){return R1(),t.e.a-e*n}function Dpn(e,n,t){return t$(),t.Lg(e,n)}function _pn(e,n){return U0(),gn(e,n.e,n)}function Lpn(e,n,t){return Ce(n,cJe(e,t))}function Ppn(e,n,t){uB(),e.nf(n)&&t.Ad(e)}function k2(e,n,t){return e.a+=n,e.b+=t,e}function POe(e,n,t){return e.a-=n,e.b-=t,e}function mle(e,n){return e.a=n.a,e.b=n.b,e}function K$(e){return e.a=-e.a,e.b=-e.b,e}function $Oe(e){this.c=e,Os(e,0),Ns(e,0)}function ROe(e){xi.call(this),CE(this,e)}function BOe(){Tt.call(this,"GROW_TREE",0)}function Hs(e,n,t){os.call(this,e,n,t,2)}function zOe(e,n){xd(),vle.call(this,e,n)}function vle(e,n){xd(),U$.call(this,e,n)}function FOe(e,n){xd(),U$.call(this,e,n)}function JOe(e,n){Lj(),MT.call(this,e,n)}function BK(e,n){_l(),hR.call(this,e,n)}function HOe(e,n){_l(),BK.call(this,e,n)}function yle(e,n){_l(),BK.call(this,e,n)}function GOe(e,n){_l(),yle.call(this,e,n)}function kle(e,n){_l(),hR.call(this,e,n)}function qOe(e,n){_l(),kle.call(this,e,n)}function UOe(e,n){_l(),hR.call(this,e,n)}function $pn(e,n){return e.c.Ec(u(n,136))}function Rpn(e,n){return u(zn(e.e,n),26)}function Bpn(e,n){return u(zn(e.e,n),26)}function jle(e,n,t){return Wz(hO(e,n),t)}function zpn(e,n,t){return n.xl(e.e,e.c,t)}function Fpn(e,n,t){return n.yl(e.e,e.c,t)}function zK(e,n){return J0(e.e,u(n,52))}function Jpn(e,n,t){FE(Vu(e.a),n,bLe(t))}function Hpn(e,n,t){FE(Ts(e.a),n,gLe(t))}function XOe(e,n){return Ln(e),e+UK(n)}function Gpn(e){return e==null?null:fu(e)}function qpn(e){return e==null?null:fu(e)}function Upn(e){return e==null?null:bCn(e)}function Xpn(e){return e==null?null:sRn(e)}function T1(e){e.o==null&&DOn(e)}function Be(e){return cE(e==null||p2(e)),e}function re(e){return cE(e==null||m2(e)),e}function Pt(e){return cE(e==null||$r(e)),e}function Kpn(e,n){return qQ(e,n),new RDe(e,n)}function TT(e,n){this.c=e,y9.call(this,e,n)}function iE(e,n){this.a=e,TT.call(this,e,n)}function Vpn(e,n){this.d=e,nn(this),this.b=n}function Ele(){MBe.call(this),this.Bb|=Ec}function KOe(){this.a=new _w,this.b=new _w}function Sle(e){this.q=new k.Date(eg(e))}function Xv(){Xv=Y,W3=new ki("root")}function T9(){T9=Y,cD=new Nxe,new Ixe}function j2(){j2=Y,Zme=rn((Vs(),$g))}function Ypn(e,n){n.a?eOn(e,n):DK(e.a,n.b)}function VOe(e,n){Qa||Ce(e.a,n)}function Qpn(e,n){return sT(),e8(n.d.i,e)}function Wpn(e,n){return Vy(),new GXe(n,e)}function Zpn(e,n,t){return e.Le(n,t)<=0?t:n}function e2n(e,n,t){return e.Le(n,t)<=0?n:t}function n2n(e,n){return u(Ba(e.b,n),144)}function t2n(e,n){return u(Ba(e.c,n),233)}function FK(e){return u(Le(e.a,e.b),295)}function YOe(e){return new Ee(e.c,e.d+e.a)}function QOe(e){return Ln(e),e?1231:1237}function WOe(e){return cl(),OTe(u(e,203))}function xle(e,n){return u(zn(e.b,n),278)}function ZOe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function OT(e,n,t){++e.j,e.rj(),gY(e,n,t)}function Ale(e,n,t){iB.call(this,e,n,t,null)}function eNe(e,n,t){iB.call(this,e,n,t,null)}function Mle(e,n){wY.call(this,e),this.a=n}function Cle(e,n){wY.call(this,e),this.a=n}function Pi(e,n){ki.call(this,e),this.a=n}function Tle(e,n){ooe.call(this,e),this.a=n}function JK(e,n){ooe.call(this,e),this.a=n}function nNe(e,n){this.c=e,$w.call(this,n)}function tNe(e,n){this.a=e,USe.call(this,n)}function NT(e,n){this.a=e,USe.call(this,n)}function Ole(e,n,t){return t=dl(e,n,3,t),t}function Nle(e,n,t){return t=dl(e,n,6,t),t}function Ile(e,n,t){return t=dl(e,n,9,t),t}function bh(e,n){return UT(n,twe),e.f=n,e}function Dle(e,n){return(n&oi)%e.d.length}function iNe(e,n,t){return wge(e.c,e.b,n,t)}function i2n(e,n,t){return e.apply(n,t)}function rNe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function cNe(e,n,t){return e.a+=vh(n,0,t),e}function IT(e){return!e.a&&(e.a=new mn),e.a}function _le(e,n){var t;return t=e.e,e.e=n,t}function Lle(e,n){var t;return t=n,!!e.De(t)}function Jb(e,n){return $n(),e==n?0:e?1:-1}function E2(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function r2n(e,n){var t;t=e[FZ],t.call(e,n)}function c2n(e,n){var t;t=e[FZ],t.call(e,n)}function u2n(e,n,t){zb(),AP(e,n.Te(e.a,t))}function Ple(e,n,t){return Py(e,u(n,23),t)}function _f(e,n){return XP(new Array(n),e)}function o2n(e){return Rt(Ub(e,32))^Rt(e)}function HK(e){return String.fromCharCode(e)}function s2n(e){return e==null?null:e.message}function GK(e){this.a=(En(),new _n(Ot(e)))}function uNe(e){this.a=(ll(e,om),new xo(e))}function oNe(e){this.a=(ll(e,om),new xo(e))}function sNe(){this.a=new Te,this.b=new Te}function lNe(){this.a=new ov,this.b=new sxe}function $le(){this.b=new L0,this.a=new L0}function fNe(){this.b=new Vr,this.c=new Te}function Rle(){this.n=new Vr,this.o=new Vr}function V$(){this.n=new ay,this.i=new Sy}function aNe(){this.b=new ar,this.a=new ar}function hNe(){this.a=new Te,this.d=new Te}function dNe(){this.a=new IU,this.b=new l_}function bNe(){this.b=new FAe,this.a=new SM}function gNe(){this.b=new wt,this.a=new wt}function wNe(){V$.call(this),this.a=new Vr}function Ble(e,n,t,i){bR.call(this,e,n,t,i)}function l2n(e,n){return e.n.a=(Ln(n),n+10)}function f2n(e,n){return e.n.a=(Ln(n),n+10)}function a2n(e,n){return sT(),!e8(n.d.i,e)}function pNe(e){Hu(e.e),e.d.b=e.d,e.d.a=e.d}function DT(e){e.b?DT(e.b):e.f.c.yc(e.e,e.d)}function h2n(e,n){M1(e.f)?xOn(e,n):pMn(e,n)}function mNe(e,n,t){t!=null&&xB(n,KQ(e,t))}function vNe(e,n,t){t!=null&&AB(n,KQ(e,t))}function Ty(e,n,t,i){pe.call(this,e,n,t,i)}function zle(e,n,t,i){pe.call(this,e,n,t,i)}function yNe(e,n,t,i){zle.call(this,e,n,t,i)}function kNe(e,n,t,i){jR.call(this,e,n,t,i)}function qK(e,n,t,i){jR.call(this,e,n,t,i)}function jNe(e,n,t,i){qK.call(this,e,n,t,i)}function Fle(e,n,t,i){jR.call(this,e,n,t,i)}function In(e,n,t,i){Fle.call(this,e,n,t,i)}function Jle(e,n,t,i){qK.call(this,e,n,t,i)}function ENe(e,n,t,i){Jle.call(this,e,n,t,i)}function SNe(e,n,t,i){$fe.call(this,e,n,t,i)}function S2(e,n){jo.call(this,FS+e+yg+n)}function d2n(e,n){return n==e||E8(Lz(n),e)}function Hle(e,n){return e.hk().ti().oi(e,n)}function Gle(e,n){return e.hk().ti().qi(e,n)}function b2n(e,n){return e.e=u(e.d.Kb(n),162)}function xNe(e,n){return ei(e.a,n,"")==null}function ANe(e,n){return Ln(e),ue(e)===ue(n)}function bn(e,n){return Ln(e),ue(e)===ue(n)}function qle(e,n,t){return e.lastIndexOf(n,t)}function MNe(e,n,t){this.a=e,gle.call(this,n,t)}function CNe(e){this.c=e,L$.call(this,pN,0)}function TNe(e,n,t){this.c=n,this.b=t,this.a=e}function pi(e,n){return e.a+=n.a,e.b+=n.b,e}function Nr(e,n){return e.a-=n.a,e.b-=n.b,e}function g2n(e){return o2(e.j.c,0),e.a=-1,e}function w2n(e,n){var t;return t=n.ni(e.a),t}function Ule(e,n,t){return t=dl(e,n,11,t),t}function p2n(e,n,t){return ji(e[n.a],e[t.a])}function m2n(e,n){return oo(e.a.d.p,n.a.d.p)}function v2n(e,n){return oo(n.a.d.p,e.a.d.p)}function y2n(e,n){return ji(e.c-e.s,n.c-n.s)}function k2n(e,n){return ji(e.b.e.a,n.b.e.a)}function j2n(e,n){return ji(e.c.e.a,n.c.e.a)}function E2n(e,n){return he(n,(Oe(),gI),e)}function S2n(e,n){return e.b.zd(new XMe(e,n))}function x2n(e,n){return e.b.zd(new KMe(e,n))}function ONe(e,n){return e.b.zd(new VMe(e,n))}function NNe(e,n){return X(n,16)&&SXe(e.c,n)}function INe(e){return e.c?pu(e.c.a,e,0):-1}function A2n(e){return e<100?null:new E0(e)}function Oy(e){return e==Pg||e==d1||e==to}function M2n(e,n,t){return u(e.c,72).Uk(n,t)}function Y$(e,n,t){return u(e.c,72).Vk(n,t)}function C2n(e,n,t){return zpn(e,u(n,344),t)}function Xle(e,n,t){return Fpn(e,u(n,344),t)}function T2n(e,n,t){return aGe(e,u(n,344),t)}function DNe(e,n,t){return TMn(e,u(n,344),t)}function rE(e,n){return n==null?null:q2(e.b,n)}function O2n(e,n){Qa||n&&(e.d=n)}function Kle(e,n){if(!e)throw R(new Un(n))}function O9(e){if(!e)throw R(new Uc(Rge))}function UK(e){return m2(e)?(Ln(e),e):e.se()}function Q$(e){return!isNaN(e)&&!isFinite(e)}function XK(e){UTe(this),qs(this),ac(this,e)}function bs(e){CK(this),ffe(this.c,0,e.Nc())}function _T(e){N9(),this.d=e,this.a=new Gv}function _Ne(e,n,t){this.d=e,this.b=t,this.a=n}function Ll(e,n,t){this.a=e,this.b=n,this.c=t}function LNe(e,n,t){this.a=e,this.b=n,this.c=t}function Vle(e,n){this.c=e,yV.call(this,e,n)}function PNe(e,n){$vn.call(this,e,e.length,n)}function KK(e,n){if(e!=n)throw R(new Il)}function $Ne(e){this.a=e,Sd(),Lu(Date.now())}function RNe(e){As(e.a),she(e.c,e.b),e.b=null}function VK(){VK=Y,qme=new di,vnn=new Gt}function YK(e){var n;return n=new d6,n.e=e,n}function N2n(e,n,t){return zb(),e.a.Wd(n,t),n}function Yle(e,n,t){this.b=e,this.c=n,this.a=t}function Qle(e){var n;return n=new bxe,n.b=e,n}function I2n(e){return pa(),Nt((_$e(),Pnn),e)}function D2n(e){return K9(),Nt((K$e(),jnn),e)}function _2n(e){return Fl(),Nt((D$e(),Cnn),e)}function L2n(e){return ws(),Nt((L$e(),Rnn),e)}function P2n(e){return Uo(),Nt((P$e(),znn),e)}function $2n(e){return iF(),Nt((mTe(),ltn),e)}function R2n(e){return Fw(),Nt((Z$e(),atn),e)}function B2n(e){return r8(),Nt((eRe(),nin),e)}function z2n(e){return dB(),Nt((zPe(),ytn),e)}function F2n(e){return SE(),Nt((I$e(),Utn),e)}function J2n(e){return zr(),Nt((JRe(),Ytn),e)}function H2n(e){return t4(),Nt((W$e(),oin),e)}function G2n(e){return Fn(),Nt((fze(),ain),e)}function q2n(e){return Z9(),Nt((FPe(),win),e)}function QK(e){bR.call(this,e.d,e.c,e.a,e.b)}function Wle(e){bR.call(this,e.d,e.c,e.a,e.b)}function U2n(e){return Ur(),Nt((vTe(),pin),e)}function BNe(){BNe=Y,Ran=le(Mr,Nn,1,0,5,1)}function zNe(){zNe=Y,thn=le(Mr,Nn,1,0,5,1)}function Zle(){Zle=Y,ihn=le(Mr,Nn,1,0,5,1)}function LT(){LT=Y,AJ=new fq,MJ=new JA}function W$(){W$=Y,jin=new Tq,kin=new Oq}function rl(){rl=Y,Min=new vk,Cin=new ad}function X2n(e){return zw(),Nt((w$e(),Rin),e)}function K2n(e){return Ff(),Nt((rRe(),Nin),e)}function V2n(e){return Y2(),Nt((PRe(),Din),e)}function Y2n(e){return Hz(),Nt((dze(),Bin),e)}function Q2n(e){return u4(),Nt((wBe(),zin),e)}function W2n(e){return cB(),Nt((EPe(),Fin),e)}function Z2n(e){return HE(),Nt((uRe(),Jin),e)}function emn(e){return kB(),Nt((a$e(),Hin),e)}function nmn(e){return ZO(),Nt((vze(),Gin),e)}function tmn(e){return gO(),Nt((SPe(),qin),e)}function imn(e){return cg(),Nt((h$e(),Xin),e)}function rmn(e){return Cz(),Nt((gBe(),Kin),e)}function cmn(e){return lO(),Nt((xPe(),Vin),e)}function umn(e){return qO(),Nt((dBe(),Yin),e)}function omn(e){return x8(),Nt((bBe(),Qin),e)}function smn(e){return Ic(),Nt((Pze(),Win),e)}function lmn(e){return i8(),Nt((d$e(),Zin),e)}function fmn(e){return B0(),Nt((b$e(),ern),e)}function amn(e){return P1(),Nt((g$e(),trn),e)}function hmn(e){return UR(),Nt((APe(),irn),e)}function dmn(e){return Xs(),Nt((RRe(),crn),e)}function bmn(e){return VR(),Nt((MPe(),urn),e)}function gmn(e){return nN(),Nt((yze(),Xun),e)}function wmn(e){return $E(),Nt((p$e(),Kun),e)}function pmn(e){return V2(),Nt((tRe(),Vun),e)}function mmn(e){return XE(),Nt(($Re(),Yun),e)}function vmn(e){return V0(),Nt((Lze(),Qun),e)}function ymn(e){return H1(),Nt((iRe(),Wun),e)}function kmn(e){return aO(),Nt((CPe(),Zun),e)}function jmn(e){return Nc(),Nt((m$e(),non),e)}function Emn(e){return PB(),Nt((v$e(),ton),e)}function Smn(e){return PE(),Nt((y$e(),ion),e)}function xmn(e){return l8(),Nt((k$e(),ron),e)}function Amn(e){return yB(),Nt((j$e(),con),e)}function Mmn(e){return $B(),Nt((E$e(),uon),e)}function Cmn(e){return BB(),Nt((Q$e(),yin),e)}function Tmn(e){return og(),Nt((nRe(),xon),e)}function Omn(e,n){return Ln(e),e+(Ln(n),n)}function Nmn(e){return jE(),Nt((TPe(),Oon),e)}function Imn(e){return gh(),Nt((NPe(),$on),e)}function Dmn(e){return La(),Nt((OPe(),Bon),e)}function _mn(e){return ba(),Nt((IPe(),esn),e)}function N9(){N9=Y,i4e=(Ie(),Yn),_H=nt}function Lmn(e){return Lw(),Nt((DPe(),osn),e)}function Pmn(e){return c4(),Nt((lRe(),ssn),e)}function $mn(e){return lS(),Nt((yTe(),lsn),e)}function Rmn(e){return LE(),Nt((S$e(),fsn),e)}function Bmn(e){return _E(),Nt((cRe(),Dsn),e)}function zmn(e){return qR(),Nt((_Pe(),_sn),e)}function Fmn(e){return CB(),Nt((LPe(),Bsn),e)}function Jmn(e){return Ez(),Nt((BRe(),Fsn),e)}function Hmn(e){return oB(),Nt((PPe(),Jsn),e)}function Gmn(e){return CO(),Nt((x$e(),Hsn),e)}function qmn(e){return gz(),Nt((sRe(),lln),e)}function Umn(e){return LB(),Nt((A$e(),fln),e)}function Xmn(e){return tz(),Nt((M$e(),aln),e)}function Kmn(e){return xz(),Nt((oRe(),dln),e)}function Vmn(e){return QB(),Nt((N$e(),wln),e)}function Ymn(e){return!e.e&&(e.e=new Te),e.e}function Z$(e,n,t){this.e=n,this.b=e,this.d=t}function FNe(e,n,t){this.a=e,this.b=n,this.c=t}function JNe(e,n,t){this.a=e,this.b=n,this.c=t}function efe(e,n,t){this.a=e,this.b=n,this.c=t}function HNe(e,n,t){this.a=e,this.b=n,this.c=t}function GNe(e,n,t){this.a=e,this.c=n,this.b=t}function eR(e,n,t){this.b=e,this.a=n,this.c=t}function qNe(e,n,t){this.b=e,this.a=n,this.c=t}function WK(e,n){this.c=e,this.a=n,this.b=n-e}function Qmn(e){return UB(),Nt((T$e(),zln),e)}function Wmn(e){return r$(),Nt((ePe(),Uln),e)}function Zmn(e){return iO(),Nt((RPe(),Xln),e)}function evn(e){return XO(),Nt((FRe(),Kln),e)}function nvn(e){return i$(),Nt((ZLe(),Gln),e)}function tvn(e){return cS(),Nt((zRe(),Jln),e)}function ivn(e){return DO(),Nt((O$e(),Hln),e)}function rvn(e){return ZR(),Nt(($Pe(),Rln),e)}function cvn(e){return sB(),Nt((C$e(),Bln),e)}function uvn(e){return Ij(),Nt((nPe(),ffn),e)}function ovn(e){return jO(),Nt((BPe(),afn),e)}function svn(e){return kh(),Nt((GRe(),pfn),e)}function lvn(e){return hg(),Nt((aze(),vfn),e)}function fvn(e){return J1(),Nt((aRe(),nan),e)}function avn(e){return vr(),Nt((HRe(),Wfn),e)}function hvn(e){return a8(),Nt((fRe(),Zfn),e)}function dvn(e){return za(),Nt(($$e(),ean),e)}function bvn(e){return Wh(),Nt((lBe(),yfn),e)}function gvn(e){return ag(),Nt((fBe(),Afn),e)}function wvn(e){return em(),Nt((jze(),oan),e)}function pvn(e){return l3(),Nt((qRe(),san),e)}function mvn(e){return Br(),Nt((hBe(),lan),e)}function vvn(e){return ps(),Nt((aBe(),fan),e)}function yvn(e){return al(),Nt((hRe(),uan),e)}function kvn(e){return Az(),Nt((sBe(),tan),e)}function jvn(e){return F1(),Nt((B$e(),ran),e)}function Evn(e){return YR(),Nt((dRe(),yan),e)}function Svn(e){return _s(),Nt((kze(),man),e)}function xvn(e){return Zy(),Nt((R$e(),van),e)}function Avn(e){return Ie(),Nt((URe(),aan),e)}function Mvn(e){return AE(),Nt((z$e(),wan),e)}function Cvn(e){return Vs(),Nt((bRe(),pan),e)}function Tvn(e){return WB(),Nt((gRe(),kan),e)}function Ovn(e){return zB(),Nt((wRe(),San),e)}function Nvn(e){return M8(),Nt((hze(),$an),e)}function UNe(e,n,t){_l(),wae.call(this,e,n,t)}function ZK(e,n,t){_l(),Qfe.call(this,e,n,t)}function XNe(e,n,t){_l(),ZK.call(this,e,n,t)}function nfe(e,n,t){_l(),ZK.call(this,e,n,t)}function KNe(e,n,t){_l(),nfe.call(this,e,n,t)}function VNe(e,n,t){_l(),tfe.call(this,e,n,t)}function tfe(e,n,t){_l(),Qfe.call(this,e,n,t)}function ife(e,n,t){_l(),Qfe.call(this,e,n,t)}function YNe(e,n,t){_l(),ife.call(this,e,n,t)}function QNe(e,n,t){this.a=e,this.c=n,this.b=t}function WNe(e,n,t){this.a=e,this.b=n,this.c=t}function rfe(e,n,t){this.a=e,this.b=n,this.c=t}function cfe(e,n,t){this.a=e,this.b=n,this.c=t}function eV(e,n,t){this.a=e,this.b=n,this.c=t}function ZNe(e,n,t){this.a=e,this.b=n,this.c=t}function Md(e,n,t){this.e=e,this.a=n,this.c=t}function ufe(e){this.d=e,nn(this),this.b=S3n(e.d)}function ofe(e,n){Egn.call(this,e,VB(new Su(n)))}function PT(e,n){return Ot(e),Ot(n),new rMe(e,n)}function Ny(e,n){return Ot(e),Ot(n),new fIe(e,n)}function Ivn(e,n){return Ot(e),Ot(n),new aIe(e,n)}function Dvn(e,n){return Ot(e),Ot(n),new gMe(e,n)}function nV(e){return at(e.b!=0),Rl(e,e.a.a)}function _vn(e){return at(e.b!=0),Rl(e,e.c.b)}function Lvn(e){return!e.c&&(e.c=new Nl),e.c}function $T(e){var n;return n=new xi,BY(n,e),n}function eIe(e){var n;return n=new pX,BY(n,e),n}function Pvn(e){var n;return n=new ar,MY(n,e),n}function I9(e){var n;return n=new Te,MY(n,e),n}function u(e,n){return cE(e==null||$Q(e,n)),e}function $vn(e,n,t){ZIe.call(this,n,t),this.a=e}function nIe(e,n){this.c=e,this.b=n,this.a=!1}function tIe(){this.a=";,;",this.b="",this.c=""}function iIe(e,n,t){this.b=e,aTe.call(this,n,t)}function sfe(e,n,t){this.c=e,s$.call(this,n,t)}function lfe(e,n,t){S9.call(this,e,n),this.b=t}function ffe(e,n,t){tbe(t,0,e,n,t.length,!1)}function qh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function afe(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function Rvn(e,n){n&&(e.b=n,e.a=(N0(n),n.a))}function RT(e,n){if(!e)throw R(new Un(n))}function Iy(e,n){if(!e)throw R(new Uc(n))}function hfe(e,n){if(!e)throw R(new lAe(n))}function Bvn(e,n){return n$(),oo(e.d.p,n.d.p)}function zvn(e,n){return R1(),ji(e.e.b,n.e.b)}function Fvn(e,n){return R1(),ji(e.e.a,n.e.a)}function Jvn(e,n){return oo(wIe(e.d),wIe(n.d))}function nR(e,n){return n&&MR(e,n.d)?n:null}function Hvn(e,n){return n==(Ie(),Yn)?e.c:e.d}function Gvn(e){return new Ee(e.c+e.b,e.d+e.a)}function rIe(e){return e!=null&&!jQ(e,fA,aA)}function qvn(e,n){return(zFe(e)<<4|zFe(n))&yr}function cIe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function dfe(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function bfe(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function Uvn(e,n){var t;return t=e.c,Ghe(e,n),t}function gfe(e,n){return n<0?e.g=-1:e.g=n,e}function tR(e,n){return $8n(e),e.a*=n,e.b*=n,e}function BT(e,n,t){_se.call(this,e,n),this.c=t}function iR(e,n,t){_se.call(this,e,n),this.c=t}function wfe(e){Zle(),xv.call(this),this._h(e)}function uIe(){q9(),r5n.call(this,(x0(),jf))}function oIe(e){return ai(),new Uh(0,e)}function sIe(){sIe=Y,Gce=(En(),new _n(Bne))}function rR(){rR=Y,new Tde((SX(),Qne),(EX(),Yne))}function lIe(){this.b=ne(re(_e((Gf(),jte))))}function tV(e){this.b=e,this.a=Gb(this.b.a).Md()}function fIe(e,n){this.b=e,this.a=n,kC.call(this)}function aIe(e,n){this.a=e,this.b=n,kC.call(this)}function hIe(e,n,t){this.a=e,Bv.call(this,n,t)}function dIe(e,n,t){this.a=e,Bv.call(this,n,t)}function D9(e,n,t){var i;i=new O2(t),Rf(e,n,i)}function pfe(e,n,t){var i;return i=e[n],e[n]=t,i}function cR(e){var n;return n=e.slice(),yY(n,e)}function uR(e){var n;return n=e.n,e.a.b+n.d+n.a}function bIe(e){var n;return n=e.n,e.e.b+n.d+n.a}function mfe(e){var n;return n=e.n,e.e.a+n.b+n.c}function vfe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Vt(e,n){return Ki(e,n,e.c.b,e.c),!0}function Xvn(e){return e.a?e.a:IV(e)}function cE(e){if(!e)throw R(new b9(null))}function Aw(e,n){return QE(e,new S9(n.a,n.b))}function Kvn(e){return!uc(e)&&e.c.i.c==e.d.i.c}function Vvn(e,n){return e.c=n)throw R(new kxe)}function Hu(e){e.f=new MTe(e),e.i=new CTe(e),++e.g}function yR(e){this.b=new xo(11),this.a=(Iw(),e)}function gV(e){this.b=null,this.a=(Iw(),e||Hme)}function Lfe(e,n){this.e=e,this.d=(n&64)!=0?n|Sh:n}function ZIe(e,n){this.c=0,this.d=e,this.b=n|64|Sh}function eDe(e){this.a=eHe(e.a),this.b=new bs(e.b)}function Cd(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function Pfe(e){var n;for(n=e;n.f;)n=n.f;return n}function N3n(e){return e.e?che(e.e):null}function lE(e){return ps(),!e.Gc(nd)&&!e.Gc(yb)}function nDe(e,n,t){return O8(),qY(e,n)&&qY(e,t)}function tDe(e,n,t){return fYe(e,u(n,12),u(t,12))}function wV(e,n){return n.Sh()?J0(e.b,u(n,52)):n}function kR(e){return new Ee(e.c+e.b/2,e.d+e.a/2)}function I3n(e,n,t){n.of(t,ne(re(zn(e.b,t)))*e.a)}function D3n(e,n){n.Tg("General 'Rotator",1),K$n(e)}function Dr(e,n,t,i,r){mY.call(this,e,n,t,i,r,-1)}function fE(e,n,t,i,r){oO.call(this,e,n,t,i,r,-1)}function pe(e,n,t,i){mr.call(this,e,n,t),this.b=i}function jR(e,n,t,i){BT.call(this,e,n,t),this.b=i}function iDe(e){eTe.call(this,e,!1),this.a=!1}function rDe(){kK.call(this,"LOOKAHEAD_LAYOUT",1)}function cDe(){kK.call(this,"LAYOUT_NEXT_LEVEL",3)}function uDe(e){this.b=e,Ay.call(this,e),hOe(this)}function oDe(e){this.b=e,AT.call(this,e),dOe(this)}function sDe(e,n){this.b=e,GU.call(this,e.b),this.a=n}function C2(e,n,t){this.a=e,Ty.call(this,n,t,5,6)}function $fe(e,n,t,i){this.b=e,mr.call(this,n,t,i)}function Xb(e,n,t){jh(),this.e=e,this.d=n,this.a=t}function Zr(e,n){for(Ln(n);e.Ob();)n.Ad(e.Pb())}function ER(e,n){return ai(),new Wfe(e,n,0)}function pV(e,n){return ai(),new Wfe(6,e,n)}function _3n(e,n){return bn(e.substr(0,n.length),n)}function so(e,n){return $r(n)?BV(e,n):!!Xc(e.f,n)}function L3n(e){return _o(~e.l&Ls,~e.m&Ls,~e.h&U1)}function mV(e){return typeof e===dN||typeof e===hZ}function Kh(e){return new Xn(new fle(e.a.length,e.a))}function vV(e){return new pn(null,H3n(e,e.length))}function lDe(e){if(!e)throw R(new hu);return e.d}function Ly(e){var n;return n=DE(e),at(n!=null),n}function P3n(e){var n;return n=Ejn(e),at(n!=null),n}function L9(e,n){var t;return t=e.a.gc(),nhe(n,t),t-n}function hr(e,n){var t;return t=e.a.yc(n,e),t==null}function FT(e,n){return e.a.yc(n,($n(),cb))==null}function $3n(e,n){return e>0?k.Math.log(e/n):-100}function Rfe(e,n){return n?ac(e,n):!1}function Py(e,n,t){return zf(e.a,n),pfe(e.b,n.g,t)}function R3n(e,n,t){_9(t,e.a.c.length),ol(e.a,t,n)}function ce(e,n,t,i){sFe(n,t,e.length),B3n(e,n,t,i)}function B3n(e,n,t,i){var r;for(r=n;r0?1:0}function hE(e){return e.e==0?e:new Xb(-e.e,e.d,e.a)}function F3n(e){return e==Vi?KN:e==Ir?"-INF":""+e}function J3n(e){return e==Vi?KN:e==Ir?"-INF":""+e}function H3n(e,n){return D8n(n,e.length),new yIe(e,n)}function aDe(e,n,t,i,r){for(;n=e.g}function CV(e,n,t){var i;return i=RY(e,n,t),Jbe(e,i)}function EDe(e,n){var t;t=console[e],t.call(console,n)}function $y(e,n){var t;t=e.a.length,R2(e,t),tY(e,t,n)}function SDe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function TV(e,n){for(Ln(n);e.c=e?new Woe:i7n(e-1)}function of(e){if(e==null)throw R(new ly);return e}function Ln(e){if(e==null)throw R(new ly);return e}function s5n(e){return!e.a&&(e.a=new mr(kb,e,4)),e.a}function Ow(e){return!e.d&&(e.d=new mr(Rc,e,1)),e.d}function l5n(e){if(e.p!=3)throw R(new is);return e.e}function f5n(e){if(e.p!=4)throw R(new is);return e.e}function a5n(e){if(e.p!=6)throw R(new is);return e.f}function h5n(e){if(e.p!=3)throw R(new is);return e.j}function d5n(e){if(e.p!=4)throw R(new is);return e.j}function b5n(e){if(e.p!=6)throw R(new is);return e.k}function or(){Gxe.call(this),o2(this.j.c,0),this.a=-1}function _De(){Tt.call(this,"DELAUNAY_TRIANGULATION",0)}function g5n(){return HP(),F(z(Qen,1),je,537,0,[Zne])}function w5n(e,n,t){return Qy(),t.Kg(e,u(n.jd(),147))}function p5n(e,n){Et((!e.a&&(e.a=new NT(e,e)),e.a),n)}function eae(e,n){e.c<0||e.b.b=0?e.hi(t):X0e(e,n)}function R9(e,n){var t;return t=MV("",e),t.n=n,t.i=1,t}function Nw(e){return e.c==-2&&sX(e,IMn(e.g,e.b)),e.c}function nae(e){return!e.b&&(e.b=new _P(new jX)),e.b}function LDe(e,n){return rR(),new Tde(new gOe(e),new bOe(n))}function v5n(e){return ll(e,wZ),bB(mc(mc(5,e),e/10|0))}function OV(){OV=Y,enn=new use(F(z(Eg,1),rF,45,0,[]))}function PDe(){S0e.call(this,jg,(MAe(),ahn)),$Pn(this)}function $De(){S0e.call(this,df,(m9(),W8e)),qLn(this)}function RDe(e,n){Kwn.call(this,r7n(Ot(e),Ot(n))),this.a=n}function tae(e,n,t,i){yw.call(this,e,n),this.d=t,this.a=i}function CR(e,n,t,i){yw.call(this,e,t),this.a=n,this.f=i}function BDe(e,n){this.b=e,yV.call(this,e,n),hOe(this)}function zDe(e,n){this.b=e,Vle.call(this,e,n),dOe(this)}function wE(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function FDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function B9(e){return!e.a&&(e.a=new dAe(e.c.vc())),e.a}function JDe(e){return!e.b&&(e.b=new g9(e.c.ec())),e.b}function HDe(e){return!e.d&&(e.d=new Hr(e.c.Bc())),e.d}function Vh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function GDe(e,n){var t;return t=new Xu(e),qn(n.c,t),t}function y5n(e,n){hV(u(n.b,68),e),Ao(n.a,new eoe(e))}function qDe(e,n){e.u.Gc((ps(),nd))&&CTn(e,n),T9n(e,n)}function Ku(e,n){return ue(e)===ue(n)||e!=null&&gi(e,n)}function ei(e,n,t){return $r(n)?Kc(e,n,t):Ko(e.f,n,t)}function iae(e){return En(),e?e.Me():(Iw(),Iw(),Gme)}function k5n(){return i$(),F(z(R6e,1),je,477,0,[Zre])}function j5n(){return r$(),F(z(qln,1),je,546,0,[ece])}function E5n(){return Ij(),F(z(c9e,1),je,527,0,[DI])}function zc(e,n){return sV(e.a,n)?e.b[u(n,23).g]:null}function S5n(e){return String.fromCharCode.apply(null,e)}function rc(e,n){return Wn(n,e.length),e.charCodeAt(n)}function HT(e){return e.j.c.length=0,uae(e.c),g2n(e.a),e}function z9(e){return e.e==d7&&a(e,UEn(e.g,e.b)),e.e}function GT(e){return e.f==d7&&w(e,Lxn(e.g,e.b)),e.f}function x5n(e){return!e.b&&(e.b=new In(mt,e,4,7)),e.b}function rae(e){return!e.c&&(e.c=new In(mt,e,5,8)),e.c}function cae(e){return!e.c&&(e.c=new pe($s,e,9,9)),e.c}function NV(e){return!e.n&&(e.n=new pe(Eu,e,1,7)),e.n}function Kv(e){var n;return n=e.b,!n&&(e.b=n=new sj(e)),n}function uae(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function A5n(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function M5n(e,n){return new m_e(u(Ot(e),51),u(Ot(n),51))}function li(e,n){return H0(e),new pn(e,new mhe(n,e.a))}function So(e,n){return H0(e),new pn(e,new rhe(n,e.a))}function N2(e,n){return H0(e),new Mle(e,new c$e(n,e.a))}function TR(e,n){return H0(e),new Cle(e,new u$e(n,e.a))}function UDe(e,n){ede(e,ne(B1(n,"x")),ne(B1(n,"y")))}function XDe(e,n){ede(e,ne(B1(n,"x")),ne(B1(n,"y")))}function C5n(e,n){return Zoe(),ji((Ln(e),e),(Ln(n),n))}function T5n(e,n){return ji(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function O5n(e,n){return ji(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function N5n(e){return e!=null&&Cj(AG,e.toLowerCase())}function I5n(e){rl();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function IV(e){var n;return n=u7n(e),n||null}function ri(e,n,t,i){return cze(e,n,t,!1),qB(e,i),e}function D5n(e,n,t){BLn(e.a,t),rkn(t),aOn(e.b,t),uPn(n,t)}function Ry(e,n,t,i){Tt.call(this,e,n),this.a=t,this.b=i}function OR(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function oae(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function KDe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function DV(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function VDe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Lf(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function _V(e,n,t){this.a=Gge,this.d=e,this.b=n,this.c=t}function sae(e,n){this.b=e,this.c=n,this.a=new py(this.b)}function YDe(e,n){this.d=(Ln(e),e),this.a=16449,this.c=n}function QDe(e,n,t,i){eFe.call(this,e,t,i,!1),this.f=n}function LV(e,n,t){var i,r;return i=Nge(e),r=n.qi(t,i),r}function N1(e){var n,t;return t=(n=new mw,n),Y9(t,e),t}function PV(e){var n,t;return t=(n=new mw,n),M0e(t,e),t}function WDe(e){return!e.b&&(e.b=new pe(pr,e,12,3)),e.b}function ZDe(e){this.a=new Te,this.e=le($t,Ae,54,e,0,2)}function $V(e){this.f=e,this.c=this.f.e,e.f>0&&VHe(this)}function e_e(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function n_e(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function t_e(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function i_e(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Vb(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function r_e(e,n,t,i){_l(),r$e.call(this,n,t,i),this.a=e}function c_e(e,n,t,i){_l(),r$e.call(this,n,t,i),this.a=e}function u_e(e,n){this.a=e,Vpn.call(this,e,u(e.d,16).dd(n))}function _5n(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function L5n(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function By(e){var n;return n=e.f,n||(e.f=new y9(e,e.c))}function En(){En=Y,Sc=new xe,u1=new fn,wJ=new $e}function Iw(){Iw=Y,Hme=new ge,ste=new ge,Gme=new tn}function F9(e){if(Is(e.d),e.d.d!=e.c)throw R(new Il)}function qs(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function lae(e){return at(e.b0?$f(e):new Te}function NR(e){return e.n&&(e.e!==SYe&&e.he(),e.j=null),e}function fae(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function $5n(e,n,t){return Ce(e.a,(qQ(n,t),new yw(n,t))),e}function R5n(e,n){return u(C(e,(ve(),$4)),16).Ec(n),n}function B5n(e,n){return gn(e,u(C(n,(Oe(),Cm)),15),n)}function z5n(e){return Vw(e)&&ze(Be(ke(e,(Oe(),Cg))))}function F5n(e,n,t){return Nj(),Hjn(u(zn(e.e,n),516),t)}function J5n(e,n,t){e.i=0,e.e=0,n!=t&&Yze(e,n,t)}function H5n(e,n,t){e.i=0,e.e=0,n!=t&&Qze(e,n,t)}function o_e(e,n,t,i){this.b=e,this.c=i,L$.call(this,n,t)}function s_e(e,n){this.g=e,this.d=F(z(s1,1),Hd,9,0,[n])}function l_e(e,n){e.d&&!e.d.a&&(ZSe(e.d,n),l_e(e.d,n))}function f_e(e,n){e.e&&!e.e.a&&(ZSe(e.e,n),f_e(e.e,n))}function a_e(e,n){return s3(e.j,n.s,n.c)+s3(n.e,e.s,e.c)}function G5n(e,n){return-ji(us(e)*Gs(e),us(n)*Gs(n))}function q5n(e){return u(e.jd(),147).Og()+":"+fu(e.kd())}function h_e(){bW(this,new LC),this.wb=(O0(),Bn),m9()}function d_e(e){this.b=new f_,this.a=e,k.Math.random()}function b_e(e){this.b=new Te,Sr(this.b,this.b),this.a=e}function aae(e,n){new xi,this.a=new xs,this.b=e,this.c=n}function g_e(){du.call(this,"There is no more element.")}function U5n(e){UP(),k.setTimeout(function(){throw e},0)}function X5n(e){e.Tg("No crossing minimization",1),e.Ug()}function K5n(e,n){return Us(e),Us(n),cAe(u(e,23),u(n,23))}function Yb(e,n,t){var i,r;i=UK(t),r=new Tv(i),Rf(e,n,r)}function RV(e,n,t,i,r,c){oO.call(this,e,n,t,i,r,c?-2:-1)}function w_e(e,n,t,i){_se.call(this,n,t),this.b=e,this.a=i}function hae(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function IR(e){return!e.a&&(e.a=new pe(Ft,e,10,11)),e.a}function yi(e){return!e.q&&(e.q=new pe(kf,e,11,10)),e.q}function we(e){return!e.s&&(e.s=new pe(ns,e,21,17)),e.s}function p_e(e){return cE(e==null||mV(e)&&e.Rm!==vn),e}function DR(e,n){if(e==null)throw R(new by(n));return e}function m_e(e,n){Tbn.call(this,new gV(e)),this.a=e,this.b=n}function BV(e,n){return n==null?!!Xc(e.f,null):p3n(e.i,n)}function zV(e){return X(e,18)?new A2(u(e,18)):Pvn(e.Jc())}function _R(e){return En(),X(e,59)?new DX(e):new H$(e)}function V5n(e){return Ot(e),aHe(new Xn(Qn(e.a.Jc(),new ee)))}function Y5n(e){return new sOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function Q5n(e){return new lOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function dae(e){return e&&e.hashCode?e.hashCode():xw(e)}function W5n(e){e&&PR(e,e.ge())}function Z5n(e,n){var t;return t=Zse(e.a,n),t&&(n.d=null),t}function v_e(e,n,t){return e.f?e.f.cf(n,t):!1}function qT(e,n,t,i){ir(e.c[n.g],t.g,i),ir(e.c[t.g],n.g,i)}function FV(e,n,t,i){ir(e.c[n.g],n.g,t),ir(e.b[n.g],n.g,i)}function eyn(e,n,t){return ne(re(t.a))<=e&&ne(re(t.b))>=n}function y_e(){this.d=new xi,this.b=new wt,this.c=new Te}function k_e(){this.b=new ar,this.d=new xi,this.e=new FP}function bae(){this.c=new Vr,this.d=new Vr,this.e=new Vr}function Dw(){this.a=new xs,this.b=(ll(3,om),new xo(3))}function j_e(e){this.c=e,this.b=new Ed(u(Ot(new ca),51))}function E_e(e){this.c=e,this.b=new Ed(u(Ot(new h0),51))}function S_e(e){this.b=e,this.a=new Ed(u(Ot(new uu),51))}function Td(e,n){this.e=e,this.a=Mr,this.b=zXe(n),this.c=n}function LR(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function x_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function A_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function I0(e,n,t,i,r,c,o){return new cY(e.e,n,t,i,r,c,o)}function nyn(e,n,t){return t>=0&&bn(e.substr(t,n.length),n)}function M_e(e,n){return X(n,147)&&bn(e.b,u(n,147).Og())}function tyn(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function C_e(e,n){var t;return t=e.b.Oc(n),kPe(t,e.b.gc()),t}function UT(e,n){if(e==null)throw R(new by(n));return e}function tu(e){return e.u||(Ms(e),e.u=new tNe(e,e)),e.u}function Go(e){var n;return n=u(Kn(e,16),29),n||e.fi()}function PR(e,n){var t;return t=Bb(e.Pm),n==null?t:t+": "+n}function sf(e,n,t){return Qr(n,t,e.length),e.substr(n,t-n)}function T_e(e,n){V$.call(this),Ohe(this),this.a=e,this.c=n}function O_e(){kK.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function iyn(){return cB(),F(z(p3e,1),je,422,0,[w3e,Kte])}function ryn(){return gO(),F(z(A3e,1),je,419,0,[QJ,x3e])}function cyn(){return lO(),F(z(T3e,1),je,476,0,[C3e,ZJ])}function uyn(){return UR(),F(z(H3e,1),je,420,0,[gie,J3e])}function oyn(){return VR(),F(z(i5e,1),je,423,0,[xie,Sie])}function syn(){return aO(),F(z(Gye,1),je,421,0,[ire,rre])}function lyn(){return jE(),F(z(Ton,1),je,518,0,[Dx,Ix])}function fyn(){return La(),F(z(Ron,1),je,508,0,[Dg,Za])}function ayn(){return gh(),F(z(Pon,1),je,509,0,[Ep,Yd])}function hyn(){return ba(),F(z(Zon,1),je,515,0,[Pm,db])}function dyn(){return Lw(),F(z(usn,1),je,454,0,[bb,Y3])}function byn(){return qR(),F(z(B4e,1),je,425,0,[Are,R4e])}function gyn(){return CB(),F(z(z4e,1),je,487,0,[HH,Z3])}function wyn(){return oB(),F(z(J4e,1),je,426,0,[F4e,Ire])}function pyn(){return dB(),F(z(ive,1),je,424,0,[yte,kJ])}function myn(){return Z9(),F(z(gin,1),je,502,0,[tI,Dte])}function vyn(){return ZR(),F(z(N6e,1),je,478,0,[Vre,O6e])}function yyn(){return iO(),F(z(B6e,1),je,428,0,[nce,eG])}function kyn(){return jO(),F(z(o9e,1),je,427,0,[tG,u9e])}function $R(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function XT(e){return e.b.b==0?e.a.uf():nV(e.b)}function jyn(e){if(e.p!=5)throw R(new is);return Rt(e.f)}function Eyn(e){if(e.p!=5)throw R(new is);return Rt(e.k)}function gae(e){return ue(e.a)===ue((JY(),Fce))&&NPn(e),e.a}function N_e(e,n){bj(this,new Ee(e.a,e.b)),Ov(this,$T(n))}function _w(){Obn.call(this,new my(H2(12))),rle(!0),this.a=2}function JV(e,n,t){ai(),pw.call(this,e),this.b=n,this.a=t}function wae(e,n,t){_l(),PP.call(this,n),this.a=e,this.b=t}function Syn(e,n){var t=tte[e.charCodeAt(0)];return t??e}function RR(e,n){return DR(e,"set1"),DR(n,"set2"),new yMe(e,n)}function BR(e,n){return vPe(n),q8n(e,le($t,ni,30,n,15,1),n)}function xyn(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=aR(e.c,e.b,e.a))}function Ayn(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=aR(e.c,e.b,e.a))}function I_e(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function D_e(e){return e.b==0?null:(at(e.b!=0),Rl(e,e.a.a))}function lo(e,n){return n==null?bu(Xc(e.f,null)):Pj(e.i,n)}function __e(e,n,t,i,r){return new wW(e,(K9(),hte),n,t,i,r)}function HV(e,n,t,i){var r;r=new wNe,n.a[t.g]=r,Py(e.b,i,r)}function L_e(e,n){var t,i;return t=n,i=new si,kVe(e,t,i),i.d}function Myn(e,n){var t;return t=B8n(e.f,n),pi(K$(t),e.f.d)}function KT(e){var n;Z8n(e.a),PTe(e.a),n=new IP(e.a),lde(n)}function Cyn(e,n){TXe(e,!0),Ao(e.e.Pf(),new Yle(e,!0,n))}function Tyn(e,n){return R1(),u(C(n,(Mu(),Lh)),15).a==e}function lc(e){return Math.max(Math.min(e,oi),-2147483648)|0}function P_e(e){V$.call(this),Ohe(this),this.a=e,this.c=!0}function pae(e,n,t){this.a=new Te,this.e=e,this.f=n,this.c=t}function zR(e,n,t){this.c=new Te,this.e=e,this.f=n,this.b=t}function $_e(e,n,t){this.i=new Te,this.b=e,this.g=n,this.a=t}function R_e(e){this.a=u(Ot(e),277),this.b=(En(),new lle(e))}function J9(){J9=Y;var e,n;n=!AEn(),e=new on,ite=n?new ln:e}function mae(){mae=Y,Nnn=new sh,Dnn=new Mfe,Inn=new Tb}function gh(){gh=Y,Ep=new jse(v4,0),Yd=new jse(m4,1)}function La(){La=Y,Dg=new Ese(KZ,0),Za=new Ese("UP",1)}function Lw(){Lw=Y,bb=new xse(m4,0),Y3=new xse(v4,1)}function Vv(e,n,t){FR(),e&&ei(Rce,e,n),e&&ei(iD,e,t)}function vae(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):jbe(e,n,t)}function B_e(e,n){var t;for(Ot(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function VT(e,n){var t;t=e.q.getHours(),e.q.setDate(n),aS(e,t)}function z_e(e){var n;return n=new YP(H2(e.length)),y1e(n,e),n}function Oyn(e){function n(){}return n.prototype=e||{},new n}function Nyn(e,n){return xze(e,n)?(xBe(e),!0):!1}function I1(e,n){if(n==null)throw R(new ly);return NEn(e,n)}function Iyn(e){if(e.ye())return null;var n=e.n;return fJ[n]}function I2(e){return e.Db>>16!=3?null:u(e.Cb,26)}function Pa(e){return e.Db>>16!=9?null:u(e.Cb,26)}function F_e(e){return e.Db>>16!=6?null:u(e.Cb,85)}function J_e(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):jW(e,n)}function GV(e,n,t){var i;i=qze(e,n,t),e.b=new OB(i.c.length)}function H_e(e){this.a=e,this.b=le(Aon,Ae,2005,e.e.length,0,2)}function G_e(){this.a=new Hh,this.e=new ar,this.g=0,this.i=0}function q_e(e,n){B$(this),this.f=n,this.g=e,NR(this),this.he()}function U_e(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function yae(e){var n;return n=e.d,n=e._i(e.f),Et(e,n),n.Ob()}function X_e(e,n){var t;return t=new Efe(n),EGe(t,e),new bs(t)}function Dyn(e){if(e.p!=0)throw R(new is);return Kj(e.f,0)}function _yn(e){if(e.p!=0)throw R(new is);return Kj(e.k,0)}function K_e(e){return e.Db>>16!=7?null:u(e.Cb,241)}function kae(e){return e.Db>>16!=7?null:u(e.Cb,174)}function V_e(e){return e.Db>>16!=3?null:u(e.Cb,158)}function H9(e){return e.Db>>16!=6?null:u(e.Cb,241)}function Fi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function D2(e){return e.Db>>16!=17?null:u(e.Cb,29)}function pE(e,n,t,i,r,c){return new $1(e.e,n,e.Jj(),t,i,r,c)}function Kc(e,n,t){return n==null?Ko(e.f,null,t):Jw(e.i,n,t)}function qV(e,n){return k.Math.abs(e)0}function jae(e){var n;return H0(e),n=new ar,li(e,new Qke(n))}function Y_e(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function Byn(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),aS(e,t)}function fc(e,n){e.c&&qo(e.c.g,e),e.c=n,e.c&&Ce(e.c.g,e)}function Or(e,n){e.c&&qo(e.c.a,e),e.c=n,e.c&&Ce(e.c.a,e)}function Gr(e,n){e.d&&qo(e.d.e,e),e.d=n,e.d&&Ce(e.d.e,e)}function wu(e,n){e.i&&qo(e.i.j,e),e.i=n,e.i&&Ce(e.i.j,e)}function Q_e(e,n,t){this.a=n,this.c=e,this.b=(Ot(t),new bs(t))}function W_e(e,n,t){this.a=n,this.c=e,this.b=(Ot(t),new bs(t))}function Z_e(e,n){this.a=e,this.c=pc(this.a),this.b=new LR(n)}function _2(e,n){if(e<0||e>n)throw R(new jo(Zge+e+ewe+n))}function eLe(){eLe=Y,hon=Eo(new or,(zr(),Pc),(Ur(),I4))}function Eae(){Eae=Y,don=Eo(new or,(zr(),Pc),(Ur(),I4))}function nLe(){nLe=Y,oon=Eo(new or,(zr(),Pc),(Ur(),I4))}function tLe(){tLe=Y,son=Eo(new or,(zr(),Pc),(Ur(),I4))}function iLe(){iLe=Y,lon=Eo(new or,(zr(),Pc),(Ur(),I4))}function Sae(){Sae=Y,fon=Eo(new or,(zr(),Pc),(Ur(),I4))}function rLe(){rLe=Y,Non=qt(new or,(zr(),Pc),(Ur(),cx))}function cl(){cl=Y,_on=qt(new or,(zr(),Pc),(Ur(),cx))}function cLe(){cLe=Y,Lon=qt(new or,(zr(),Pc),(Ur(),cx))}function UV(){UV=Y,zon=qt(new or,(zr(),Pc),(Ur(),cx))}function uLe(){uLe=Y,Lsn=Eo(new or,(c4(),Lx),(lS(),o4e))}function oLe(){oLe=Y,Wen=It((HP(),F(z(Qen,1),je,537,0,[Zne])))}function FR(){FR=Y,Rce=new wt,iD=new wt,Wgn(pnn,new U6)}function zyn(e,n){var t,i;t=n.c,i=t!=null,i&&$y(e,new O2(n.c))}function sLe(e,n){i5n(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function JR(e,n){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,n)}function XV(e,n){X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),4),Mo(e,n)}function Fyn(e,n){Z1e(e,n),X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),2)}function Jyn(e,n){return ji(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function Hyn(e,n){return ji(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function fo(e,n){return Tc(),AY(n)?new sR(n,e):new jT(n,e)}function KV(e,n){e.a&&qo(e.a.k,e),e.a=n,e.a&&Ce(e.a.k,e)}function VV(e,n){e.b&&qo(e.b.f,e),e.b=n,e.b&&Ce(e.b.f,e)}function D0(e,n,t){$Fe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function zy(e){this.c=new xi,this.b=e.b,this.d=e.c,this.a=e.a}function YV(e){this.a=k.Math.cos(e),this.b=k.Math.sin(e)}function Qb(e,n,t,i){this.c=e,this.d=i,KV(this,n),VV(this,t)}function yn(e,n){this.b=(Ln(e),e),this.a=(n&sm)==0?n|64|Sh:n}function Gyn(e,n){iOe(e,Rt(Rr(Mw(n,24),sF)),Rt(Rr(n,sF)))}function YT(e){return jh(),ao(e,0)>=0?G0(e):hE(G0(Id(e)))}function qyn(){return Fl(),F(z(Qo,1),je,130,0,[Yme,Yo,Qme])}function lLe(e,n,t){return new wW(e,(K9(),ate),null,!1,n,t)}function fLe(e,n,t){return new wW(e,(K9(),dte),n,t,null,!1)}function aLe(e,n,t){var i;$Fe(n,t,e.c.length),i=t-n,Uoe(e.c,n,i)}function hLe(e,n){var t;return t=u(q2(By(e.a),n),18),t?t.gc():0}function xae(e){var n;return H0(e),n=(Iw(),Iw(),ste),gB(e,n)}function dLe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function bLe(e){var n,t;return t=(m9(),n=new mw,n),Y9(t,e),t}function gLe(e){var n,t;return t=(m9(),n=new mw,n),Y9(t,e),t}function Yv(e){return Nj(),X(e.g,9)?u(e.g,9):null}function Uyn(){return zw(),F(z(Bte,1),je,368,0,[gp,sb,bp])}function Xyn(){return kB(),F(z(j3e,1),je,350,0,[k3e,YJ,Vte])}function Kyn(){return cg(),F(z(Uin,1),je,449,0,[iie,A7,R3])}function Vyn(){return i8(),F(z(die,1),je,302,0,[aie,hie,oI])}function Yyn(){return B0(),F(z(bie,1),je,329,0,[sI,F3e,Em])}function Qyn(){return P1(),F(z(nrn,1),je,315,0,[lI,z3,D4])}function Wyn(){return $E(),F(z(_ye,1),je,352,0,[Yie,Dye,CH])}function Zyn(){return Nc(),F(z(eon,1),je,452,0,[Tx,ys,Io])}function e4n(){return PB(),F(z(Xye,1),je,381,0,[qye,cre,Uye])}function n4n(){return PE(),F(z(Kye,1),je,348,0,[ore,ure,jI])}function t4n(){return l8(),F(z(Yye,1),je,349,0,[sre,Vye,Ox])}function i4n(){return yB(),F(z(Zye,1),je,351,0,[Wye,lre,Qye])}function r4n(){return $B(),F(z(e4e,1),je,382,0,[fre,R7,Lm])}function c4n(){return SE(),F(z(mve,1),je,384,0,[Ste,Ete,xte])}function u4n(){return pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])}function o4n(){return ws(),F(z($nn,1),je,461,0,[Ih,ub,Uf])}function s4n(){return Uo(),F(z(Bnn,1),je,462,0,[Ea,ob,Xf])}function l4n(){return LE(),F(z(p4e,1),je,385,0,[w4e,dre,xI])}function f4n(){return CO(),F(z(q4e,1),je,386,0,[GH,H4e,G4e])}function a4n(){return QB(),F(z(d6e,1),je,387,0,[h6e,qre,a6e])}function h4n(){return LB(),F(z(l6e,1),je,303,0,[$re,s6e,o6e])}function d4n(){return tz(),F(z(f6e,1),je,436,0,[zx,XH,Rre])}function b4n(){return UB(),F(z($6e,1),je,430,0,[L6e,P6e,Qre])}function g4n(){return DO(),F(z(Wre,1),je,435,0,[QH,WH,ZH])}function w4n(){return sB(),F(z(_6e,1),je,429,0,[Yre,D6e,I6e])}function p4n(){return za(),F(z(r8e,1),je,279,0,[U7,Gm,X7])}function m4n(){return F1(),F(z(w8e,1),je,347,0,[aG,e0,nA])}function v4n(){return AE(),F(z(j8e,1),je,300,0,[KI,Tce,k8e])}function y4n(){return Zy(),F(z(x8e,1),je,281,0,[S8e,Um,pG])}function $a(e){return mu(F(z(Lr,1),Ae,8,0,[e.i.n,e.n,e.a]))}function k4n(e,n,t){var i;i=new wc(t.d),pi(i,e),ede(n,i.a,i.b)}function wLe(e,n,t){var i;i=new mM,i.b=n,i.a=t,++n.b,Ce(e.d,i)}function j4n(e,n,t){var i;return i=bS(e,n,!1),i.b<=n&&i.a<=t}function E4n(e){if(e.p!=2)throw R(new is);return Rt(e.f)&yr}function S4n(e){if(e.p!=2)throw R(new is);return Rt(e.k)&yr}function kn(e,n){if(e<0||e>=n)throw R(new jo(Zge+e+ewe+n))}function Wn(e,n){if(e<0||e>=n)throw R(new _oe(Zge+e+ewe+n))}function x4n(e){return e.Db>>16!=6?null:u(xW(e),241)}function pLe(e,n){var t,i;return i=L9(e,n),t=e.a.dd(i),new mMe(e,t)}function A4n(e,n){var t;return t=(Ln(e),e).g,ple(!!t),Ln(n),t(n)}function M4n(e){return e.a==(q9(),OG)&&VC(e,iDn(e.g,e.b)),e.a}function Fy(e){return e.d==(q9(),OG)&&Uue(e,nLn(e.g,e.b)),e.d}function Aae(e,n){Cbn.call(this,new my(H2(e))),ll(n,mYe),this.a=n}function mLe(e,n,t){pw.call(this,25),this.b=e,this.a=n,this.c=t}function ul(e){ai(),pw.call(this,e),this.c=!1,this.a=!1}function vLe(e,n){Xb.call(this,1,2,F(z($t,1),ni,30,15,[e,n]))}function Rr(e,n){return R0(A3n(su(e)?lf(e):e,su(n)?lf(n):n))}function wh(e,n){return R0(M3n(su(e)?lf(e):e,su(n)?lf(n):n))}function QV(e,n){return R0(C3n(su(e)?lf(e):e,su(n)?lf(n):n))}function Mae(e,n){return RIe(e.a,n)?pfe(e.b,u(n,23).g,null):null}function Wb(e){return Ot(e),X(e,18)?new bs(u(e,18)):I9(e.Jc())}function WV(e){lR(),this.a=(En(),X(e,59)?new DX(e):new H$(e))}function C4n(e){var n;return n=u(cR(e.b),10),new Ll(e.a,n,e.c)}function T4n(e,n){var t;t=ne(re(e.a.mf((Xt(),oG)))),GVe(e,n,t)}function O4n(e,n){return xE(),e.c==n.c?ji(n.d,e.d):ji(e.c,n.c)}function N4n(e,n){return xE(),e.c==n.c?ji(e.d,n.d):ji(e.c,n.c)}function I4n(e,n){return xE(),e.c==n.c?ji(e.d,n.d):ji(n.c,e.c)}function D4n(e,n){return xE(),e.c==n.c?ji(n.d,e.d):ji(n.c,e.c)}function _4n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function L(e){return at(e.ai?1:0}function kLe(e,n){var t,i;return t=kY(n),i=t,u(zn(e.c,i),15).a}function ZV(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function R4n(e,n,t){var i;e.n&&n&&t&&(i=new vL,Ce(e.e,i))}function eY(e,n){if(hr(e.a,n),n.d)throw R(new du(JYe));n.d=e}function Oae(e,n){this.a=new Te,this.d=new Te,this.f=e,this.c=n}function jLe(){Qy(),this.b=new wt,this.a=new wt,this.c=new Te}function ELe(){this.c=new JTe,this.a=new n$e,this.b=new pxe,_Me()}function SLe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function xLe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function ALe(e,n,t,i,r,c){Nhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function MLe(e,n,t,i,r,c){Ihe.call(this,e,n,t,i,r),c&&(this.o=-2)}function CLe(e,n,t,i,r,c){Uae.call(this,e,n,t,i,r),c&&(this.o=-2)}function TLe(e,n,t,i,r,c){Lhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function OLe(e,n,t,i,r,c){Xae.call(this,e,n,t,i,r),c&&(this.o=-2)}function NLe(e,n,t,i,r,c){Dhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function ILe(e,n,t,i,r,c){_he.call(this,e,n,t,i,r),c&&(this.o=-2)}function DLe(e,n,t,i,r,c){Kae.call(this,e,n,t,i,r),c&&(this.o=-2)}function _Le(e,n,t,i){PP.call(this,t),this.b=e,this.c=n,this.d=i}function LLe(e,n){this.f=e,this.a=(q9(),TG),this.c=TG,this.b=n}function PLe(e,n){this.g=e,this.d=(q9(),OG),this.a=OG,this.b=n}function Nae(e,n){!e.c&&(e.c=new tr(e,0)),Qz(e.c,(Si(),dA),n)}function B4n(e,n){return LOn(e,n,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function z4n(e,n){return fDe(Lu(e.q.getTime()),Lu(n.q.getTime()))}function $Le(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),16,new ty(e))}function F4n(e){return!!e.u&&Vu(e.u.a).i!=0&&!(e.n&&FQ(e.n))}function J4n(e){return!!e.a&&Ts(e.a.a).i!=0&&!(e.b&&JQ(e.b))}function Iae(e,n){return n==0?!!e.o&&e.o.f!=0:LQ(e,n)}function RLe(e){return at(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function mE(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function BLe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function qr(e,n){this.a=e,qc.call(this,e),_2(n,e.gc()),this.b=n}function zLe(e){this.a=le(Mr,Nn,1,w1e(k.Math.max(8,e))<<1,5,1)}function FLe(e){FY.call(this,e,(K9(),fte),null,!1,null,!1)}function JLe(e,n){var t;return t=1-n,e.a[t]=TB(e.a[t],t),TB(e,n)}function HLe(e,n){var t,i;return i=Rr(e,Dc),t=Xh(n,32),wh(t,i)}function H4n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function GLe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function qLe(e,n,t){var i;i=(Ot(e),new bs(e)),Exn(new Q_e(i,n,t))}function WT(e,n,t){var i;i=(Ot(e),new bs(e)),Sxn(new W_e(i,n,t))}function G4n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),qs(e.d),o2(e.e.a.c,0)}function ULe(e,n){var t;e.e=new Aoe,t=nm(n),Tr(t,e.c),pXe(e,t,0)}function q4n(e,n){return new eV(n,POe(pc(n.e),e,e),($n(),!0))}function U4n(e,n){return Xy(),u(C(n,(Mu(),Q3)),15).a>=e.gc()}function X4n(e){return cl(),!uc(e)&&!(!uc(e)&&e.c.i.c==e.d.i.c)}function ph(e){return u(Fa(e,le(v7,Z8,17,e.c.length,0,1)),323)}function K4n(e){ZFe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),new $M)}function Dae(){var e,n,t;return n=(t=(e=new mw,e),t),Ce(s7e,n),n}function xu(e,n,t,i,r,c){return cze(e,n,t,c),q1e(e,i),U1e(e,r),e}function XLe(e,n,t,i){return e.a+=""+sf(n==null?Vo:fu(n),t,i),e}function ZT(e,n){if(e<0||e>=n)throw R(new jo(oTn(e,n)));return e}function KLe(e,n,t){if(e<0||nt)throw R(new jo(CCn(e,n,t)))}function Se(e,n,t,i){var r;r=new qM,r.a=n,r.b=t,r.c=i,Vt(e.b,r)}function qi(e,n,t,i){var r;r=new qM,r.a=n,r.b=t,r.c=i,Vt(e.a,r)}function V4n(e,n,t){var i;i=YEn();try{return i2n(e,n,t)}finally{h9n(i)}}function eg(e){var n;return su(e)?(n=e,n==-0?0:n):l8n(e)}function VLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function YLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function QLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function Y4n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function Q4n(e){return Kv(e).dc()?!1:(Bwn(e,new ae),!0)}function _ae(e){var n;return N0(e),n=new Hn,Dv(e.a,new Kke(n)),n}function HR(e){var n;return N0(e),n=new ut,Dv(e.a,new Vke(n)),n}function W4n(e){if(!("stack"in e))try{throw e}catch{}return e}function GR(e){return new xo((ll(e,wZ),bB(mc(mc(5,e),e/10|0))))}function WLe(e){return u(Fa(e,le(hin,wQe,12,e.c.length,0,1)),2004)}function Z4n(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),273,new HU(e))}function ZLe(){ZLe=Y,Gln=It((i$(),F(z(R6e,1),je,477,0,[Zre])))}function ePe(){ePe=Y,Uln=It((r$(),F(z(qln,1),je,546,0,[ece])))}function nPe(){nPe=Y,ffn=It((Ij(),F(z(c9e,1),je,527,0,[DI])))}function tPe(){tPe=Y,t4e=LDe(ye(1),ye(4)),n4e=LDe(ye(1),ye(2))}function qR(){qR=Y,Are=new Ase("DFS",0),R4e=new Ase("BFS",1)}function UR(){UR=Y,gie=new mse(U8,0),J3e=new mse("TOP_LEFT",1)}function Lae(e,n,t){this.d=new lEe(this),this.e=e,this.i=n,this.f=t}function Pae(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function e6n(e,n,t){e.d&&qo(e.d.e,e),e.d=n,e.d&&Hb(e.d.e,t,e)}function n6n(e,n,t){var i;return i=m8(t),qz(e.n,i,n),qz(e.o,n,t),n}function G9(e,n){var t,i;return t=R2(e,n),i=null,t&&(i=t.qe()),i}function vE(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=t.qe()),i}function Pw(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=t.ne()),i}function D1(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=_0e(t)),i}function yE(e,n){URn(n,e),dfe(e.d),dfe(u(C(e,(Oe(),kH)),213))}function nY(e,n){XRn(n,e),bfe(e.d),bfe(u(C(e,(Oe(),kH)),213))}function _0(e,n){Ln(n),e.b=e.b-1&e.a.length-1,ir(e.a,e.b,n),CHe(e)}function $ae(e,n){Ln(n),ir(e.a,e.c,n),e.c=e.c+1&e.a.length-1,CHe(e)}function jt(e){return at(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function iPe(e){if(e.e.g!=e.b)throw R(new Il);return!!e.c&&e.d>0}function L2(e){return X(e,18)?u(e,18).dc():!e.Jc().Ob()}function t6n(e){return new yn(z8n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function rPe(e){var n;n=e.Dh(),this.a=X(n,72)?u(n,72).Gi():n.Jc()}function Rae(e,n){var t;return t=u(Ba(e.b,n),66),!t&&(t=new xi),t}function i6n(e,n){var t;t=n.a,fc(t,n.c.d),Gr(t,n.d.d),F2(t.a,e.n)}function cPe(e,n,t,i){return X(t,59)?new COe(e,n,t,i):new Dfe(e,n,t,i)}function r6n(){return Ff(),F(z(Oin,1),je,413,0,[km,k7,j7,Rte])}function c6n(){return Fw(),F(z(ftn,1),je,409,0,[WN,QN,mte,vte])}function u6n(){return r8(),F(z(ein,1),je,408,0,[dp,mm,pm,D3])}function o6n(){return K9(),F(z(pJ,1),je,309,0,[fte,ate,hte,dte])}function s6n(){return t4(),F(z(jve,1),je,383,0,[ix,kve,Ote,Nte])}function l6n(){return BB(),F(z(vin,1),je,367,0,[$te,GJ,qJ,iI])}function f6n(){return HE(),F(z(y3e,1),je,301,0,[ox,m3e,cI,v3e])}function a6n(){return V2(),F(z(Wie,1),je,203,0,[TH,Qie,V3,K3])}function h6n(){return H1(),F(z(Hye,1),je,269,0,[hb,Jye,nre,tre])}function d6n(){return og(),F(z(Son,1),je,404,0,[EI,Nx,DH,IH])}function b6n(e){var n;return e.j==(Ie(),bt)&&(n=cUe(e),cs(n,nt))}function g6n(){return c4(),F(z(c4e,1),je,398,0,[$H,_x,Lx,Px])}function uPe(e,n){return u(Js(M2(u(vi(e.k,n),16).Mc(),L3)),113)}function oPe(e,n){return u(Js(_y(u(vi(e.k,n),16).Mc(),L3)),113)}function w6n(e,n){return xy(new Ee(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function p6n(){return xz(),F(z(hln,1),je,401,0,[Jre,Bre,Fre,zre])}function m6n(){return gz(),F(z(u6e,1),je,354,0,[Pre,r6e,c6e,i6e])}function v6n(){return _E(),F(z($4e,1),je,353,0,[xre,JH,Sre,Ere])}function y6n(){return a8(),F(z(i8e,1),je,278,0,[JI,fG,n8e,t8e])}function k6n(){return J1(),F(z(Mce,1),je,222,0,[Ace,HI,K7,Z4])}function j6n(){return al(),F(z(can,1),je,292,0,[qI,a1,pb,GI])}function E6n(){return YR(),F(z(ZI,1),je,288,0,[A8e,C8e,Nce,M8e])}function S6n(){return Vs(),F(z(uA,1),je,380,0,[YI,$g,VI,qm])}function x6n(){return WB(),F(z(I8e,1),je,326,0,[Ice,T8e,N8e,O8e])}function A6n(){return zB(),F(z(Ean,1),je,407,0,[Dce,_8e,D8e,L8e])}function Pl(e,n,t){return n<0?jW(e,t):u(t,69).uk().zk(e,e.ei(),n)}function M6n(e,n,t){var i;return i=m8(t),qz(e.f,i,n),ei(e.g,n,t),n}function C6n(e,n,t){var i;return i=m8(t),qz(e.p,i,n),ei(e.q,n,t),n}function sPe(e){var n,t;return n=(S0(),t=new Sv,t),e&&Pz(n,e),n}function Bae(e){var n;return n=e.$i(e.i),e.i>0&&Wu(e.g,0,n,0,e.i),n}function Jy(e){return Nj(),X(e.g,156)?u(e.g,156):null}function T6n(e){return FR(),so(Rce,e)?u(zn(Rce,e),342).Pg():null}function O6n(e){e.a=null,e.e=null,o2(e.b.c,0),o2(e.f.c,0),e.c=null}function lPe(e,n){var t;for(t=e.j.c.length;t>24}function I6n(e){if(e.p!=1)throw R(new is);return Rt(e.k)<<24>>24}function D6n(e){if(e.p!=7)throw R(new is);return Rt(e.k)<<16>>16}function _6n(e){if(e.p!=7)throw R(new is);return Rt(e.f)<<16>>16}function Qv(e,n){return n.e==0||e.e==0?WS:(N8(),TW(e,n))}function hPe(e,n){return ue(n)===ue(e)?"(this Map)":n==null?Vo:fu(n)}function L6n(e,n,t){return bV(re(bu(Xc(e.f,n))),re(bu(Xc(e.f,t))))}function P6n(e,n,t){var i;i=u(zn(e.g,t),60),Ce(e.a.c,new jc(n,i))}function dPe(e,n){var t;return t=new wy,e.Ed(t),t.a+="..",n.Fd(t),t.a}function da(e){var n;for(n=0;e.Ob();)e.Pb(),n=mc(n,1);return bB(n)}function $6n(e,n,t,i,r){var c;c=VOn(r,t,i),Ce(n,ZCn(r,c)),XMn(e,r,n)}function bPe(e,n,t){e.i=0,e.e=0,n!=t&&(Qze(e,n,t),Yze(e,n,t))}function gPe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function zae(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function wPe(e,n){bae.call(this),this.a=e,this.b=n,Ce(this.a.b,this)}function _1(e,n){jh(),Xb.call(this,e,1,F(z($t,1),ni,30,15,[n]))}function R6n(e,n,t){return _8(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function XR(e,n,t){return Xz(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function B6n(e,n,t){return FOn(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function Fae(e,n){return e==(Fn(),Wi)&&n==Wi?4:e==Wi||n==Wi?8:32}function z6n(e,n){return u(n==null?bu(Xc(e.f,null)):Pj(e.i,n),290)}function pPe(e,n){var t;for(t=n;t;)k2(e,t.i,t.j),t=Fi(t);return e}function Vu(e){return e.n||(Ms(e),e.n=new GIe(e,Rc,e),tu(e)),e.n}function Yh(e,n){Tc();var t;return t=u(e,69).tk(),uCn(t,n),t.vl(n)}function kE(e){return at(e.a"+Cae(e.d):"e_"+xw(e)}function J6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),_$(t)}function H6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),_$(t)}function kPe(e,n){var t;for(t=0;t=0&&e.a[t]===n[t];t--);return t<0}function K6n(e,n){var t,i;i=!1;do t=Bze(e,n),i=i|t;while(t);return i}function jE(){jE=Y,Dx=new kse("UPPER",0),Ix=new kse("LOWER",1)}function VR(){VR=Y,xie=new vse(ya,0),Sie=new vse("ALTERNATING",1)}function YR(){YR=Y,A8e=new jIe,C8e=new rDe,Nce=new O_e,M8e=new cDe}function EPe(){EPe=Y,Fin=It((cB(),F(z(p3e,1),je,422,0,[w3e,Kte])))}function SPe(){SPe=Y,qin=It((gO(),F(z(A3e,1),je,419,0,[QJ,x3e])))}function xPe(){xPe=Y,Vin=It((lO(),F(z(T3e,1),je,476,0,[C3e,ZJ])))}function APe(){APe=Y,irn=It((UR(),F(z(H3e,1),je,420,0,[gie,J3e])))}function MPe(){MPe=Y,urn=It((VR(),F(z(i5e,1),je,423,0,[xie,Sie])))}function CPe(){CPe=Y,Zun=It((aO(),F(z(Gye,1),je,421,0,[ire,rre])))}function TPe(){TPe=Y,Oon=It((jE(),F(z(Ton,1),je,518,0,[Dx,Ix])))}function OPe(){OPe=Y,Bon=It((La(),F(z(Ron,1),je,508,0,[Dg,Za])))}function NPe(){NPe=Y,$on=It((gh(),F(z(Pon,1),je,509,0,[Ep,Yd])))}function IPe(){IPe=Y,esn=It((ba(),F(z(Zon,1),je,515,0,[Pm,db])))}function DPe(){DPe=Y,osn=It((Lw(),F(z(usn,1),je,454,0,[bb,Y3])))}function _Pe(){_Pe=Y,_sn=It((qR(),F(z(B4e,1),je,425,0,[Are,R4e])))}function LPe(){LPe=Y,Bsn=It((CB(),F(z(z4e,1),je,487,0,[HH,Z3])))}function PPe(){PPe=Y,Jsn=It((oB(),F(z(J4e,1),je,426,0,[F4e,Ire])))}function $Pe(){$Pe=Y,Rln=It((ZR(),F(z(N6e,1),je,478,0,[Vre,O6e])))}function RPe(){RPe=Y,Xln=It((iO(),F(z(B6e,1),je,428,0,[nce,eG])))}function BPe(){BPe=Y,afn=It((jO(),F(z(o9e,1),je,427,0,[tG,u9e])))}function zPe(){zPe=Y,ytn=It((dB(),F(z(ive,1),je,424,0,[yte,kJ])))}function FPe(){FPe=Y,win=It((Z9(),F(z(gin,1),je,502,0,[tI,Dte])))}function QR(e){m0e(),iOe(this,Rt(Rr(Mw(e,24),sF)),Rt(Rr(e,sF)))}function V6n(e){return(e.k==(Fn(),Wi)||e.k==wr)&&wi(e,(ve(),ax))}function Y6n(e,n,t){return u(n==null?Ko(e.f,null,t):Jw(e.i,n,t),290)}function Q6n(){return vr(),F(z(Zx,1),je,86,0,[ih,ru,Zc,th,Yl])}function W6n(){return Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])}function Z6n(e){return UP(),function(){return V4n(e,this,arguments)}}function JPe(e,n){var t;return t=n.jd(),new yw(t,e.e.pc(t,u(n.kd(),18)))}function HPe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&Ku(i.e,n.kd())}function cc(e,n){var t,i;for(Ln(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function ol(e,n,t){var i;return i=(kn(n,e.c.length),e.c[n]),e.c[n]=t,i}function qae(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function GPe(e,n){var t;for(t=n;t;)k2(e,-t.i,-t.j),t=Fi(t);return e}function e9n(e,n){var t;return t=e.a.get(n),t??le(Mr,Nn,1,0,5,1)}function Wv(e,n){return(H0(e),v9(new pn(e,new mhe(n,e.a)))).zd(C4)}function n9n(){return zr(),F(z(vve,1),je,363,0,[Kf,o1,eo,no,Pc])}function qPe(e){oYe(),nxe(this),this.a=new xi,M1e(this,e),Vt(this.a,e)}function UPe(){CK(this),this.b=new Ee(Vi,Vi),this.a=new Ee(Ir,Ir)}function oY(e){WR(),!Qa&&(this.c=e,this.e=!0,this.a=new Te)}function WR(){WR=Y,Qa=!0,Snn=!1,xnn=!1,Mnn=!1,Ann=!1}function ZR(){ZR=Y,Vre=new Tse(wwe,0),O6e=new Tse("TARGET_WIDTH",1)}function t9n(){return Ez(),F(z(zsn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])}function i9n(){return Y2(),F(z(Iin,1),je,371,0,[rI,KJ,VJ,XJ,UJ])}function r9n(){return XE(),F(z(Pye,1),je,328,0,[Lye,Zie,ere,Ax,Mx])}function c9n(){return Xs(),F(z(t5e,1),je,165,0,[dI,bx,Q1,gx,Mg])}function u9n(){return cS(),F(z(Fln,1),je,369,0,[e5,U4,Ux,qx,II])}function o9n(){return XO(),F(z(H6e,1),je,330,0,[z6e,tce,J6e,ice,F6e])}function s9n(){return kh(),F(z(eh,1),je,160,0,[Tn,fr,Aa,Wd,Z1])}function l9n(){return l3(),F(z(iA,1),je,257,0,[mb,UI,p8e,tA,m8e])}function sY(e,n){var t;return t=u(Ba(e.d,n),21),t||u(Ba(e.e,n),21)}function XPe(e){this.b=e,st.call(this,e),this.a=u(Kn(this.b.a,4),129)}function KPe(e){this.b=e,My.call(this,e),this.a=u(Kn(this.b.a,4),129)}function VPe(e,n){this.c=0,this.b=n,hTe.call(this,e,17493),this.a=this.c}function Pf(e,n,t,i,r){t$e.call(this,n,i,r),this.c=e,this.b=t}function Uae(e,n,t,i,r){SLe.call(this,n,i,r),this.c=e,this.a=t}function Xae(e,n,t,i,r){xLe.call(this,n,i,r),this.c=e,this.a=t}function Kae(e,n,t,i,r){t$e.call(this,n,i,r),this.c=e,this.a=t}function Vae(e,n,t){e.a.c.length=0,PPn(e,n,t),e.a.c.length==0||s_n(e,n)}function eO(e){e.i=0,lT(e.b,null),lT(e.c,null),e.a=null,e.e=null,++e.g}function f9n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function Yae(e,n){return X(n,144)?bn(e.c,u(n,144).c):!1}function YPe(e){var n;return e.c||(n=e.r,X(n,88)&&(e.c=u(n,29))),e.c}function Ms(e){return e.t||(e.t=new GSe(e),FE(new sAe(e),0,e.t)),e.t}function uc(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function Hy(e,n){return n==0||e.e==0?e:n>0?pJe(e,n):rXe(e,-n)}function Qae(e,n){return n==0||e.e==0?e:n>0?rXe(e,n):pJe(e,-n)}function rt(e){if(ht(e))return e.c=e.a,e.a.Pb();throw R(new hu)}function QPe(e){var n;return n=e.length,bn(Rn.substr(Rn.length-n,n),e)}function WPe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(Fn(),wr)&&t.k==wr}function lY(e){var n,t,i;return n=e&Ls,t=e>>22&Ls,i=e<0?U1:0,_o(n,t,i)}function a9n(e,n){var t,i;t=u(cjn(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function h9n(e){e&&b8n((Ooe(),jme)),--aJ,e&&hJ!=-1&&(Qgn(hJ),hJ=-1)}function Wae(e){Hgn.call(this,e==null?Vo:fu(e),X(e,80)?u(e,80):null)}function fY(e){var n;return n=new Dw,Pu(n,e),he(n,(Oe(),Wc),null),n}function aY(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):Yw(e,n,t)}function d9n(e,n,t){return ji(xy(v8(e),pc(n.b)),xy(v8(e),pc(t.b)))}function b9n(e,n,t){return ji(xy(v8(e),pc(n.e)),xy(v8(e),pc(t.e)))}function g9n(e,n){return k.Math.min(P0(n.a,e.d.d.c),P0(n.b,e.d.d.c))}function ZPe(e,n,t){var i;i=new Qse(e.a),TE(i,e.a.a),Ko(i.f,n,t),e.a.a=i}function Zae(e,n,t,i){var r;for(r=0;rn)throw R(new jo(H0e(e,n,"index")));return e}function the(e){var n;return n=e.e+e.f,isNaN(n)&&Q$(e.d)?e.d:n}function p9n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),aS(e,t)}function ihe(e,n){var t,i;return t=(Ln(e),e),i=(Ln(n),n),t==i?0:tn.p?-1:0}function s$e(e,n){return so(e.a,n)?(Gy(e.a,n),!0):!1}function k9n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),PT(t.Lc(),new r9(n))}function dY(e){var n;return n=e.b,n.b==0?null:u(Yu(n,0),65).b}function tB(e,n){return Ln(n),e.c=0,"Initial capacity must not be negative")}function rB(){rB=Y,Xx=new ki("org.eclipse.elk.labels.labelManager")}function f$e(){f$e=Y,a3e=new Pi("separateLayerConnections",(BB(),$te))}function ba(){ba=Y,Pm=new Sse("REGULAR",0),db=new Sse("CRITICAL",1)}function iO(){iO=Y,nce=new Ose("FIXED",0),eG=new Ose("CENTER_NODE",1)}function cB(){cB=Y,w3e=new gse("QUADRATIC",0),Kte=new gse("SCANLINE",1)}function a$e(){a$e=Y,Hin=It((kB(),F(z(j3e,1),je,350,0,[k3e,YJ,Vte])))}function h$e(){h$e=Y,Xin=It((cg(),F(z(Uin,1),je,449,0,[iie,A7,R3])))}function d$e(){d$e=Y,Zin=It((i8(),F(z(die,1),je,302,0,[aie,hie,oI])))}function b$e(){b$e=Y,ern=It((B0(),F(z(bie,1),je,329,0,[sI,F3e,Em])))}function g$e(){g$e=Y,trn=It((P1(),F(z(nrn,1),je,315,0,[lI,z3,D4])))}function w$e(){w$e=Y,Rin=It((zw(),F(z(Bte,1),je,368,0,[gp,sb,bp])))}function p$e(){p$e=Y,Kun=It(($E(),F(z(_ye,1),je,352,0,[Yie,Dye,CH])))}function m$e(){m$e=Y,non=It((Nc(),F(z(eon,1),je,452,0,[Tx,ys,Io])))}function v$e(){v$e=Y,ton=It((PB(),F(z(Xye,1),je,381,0,[qye,cre,Uye])))}function y$e(){y$e=Y,ion=It((PE(),F(z(Kye,1),je,348,0,[ore,ure,jI])))}function k$e(){k$e=Y,ron=It((l8(),F(z(Yye,1),je,349,0,[sre,Vye,Ox])))}function j$e(){j$e=Y,con=It((yB(),F(z(Zye,1),je,351,0,[Wye,lre,Qye])))}function E$e(){E$e=Y,uon=It(($B(),F(z(e4e,1),je,382,0,[fre,R7,Lm])))}function S$e(){S$e=Y,fsn=It((LE(),F(z(p4e,1),je,385,0,[w4e,dre,xI])))}function x$e(){x$e=Y,Hsn=It((CO(),F(z(q4e,1),je,386,0,[GH,H4e,G4e])))}function A$e(){A$e=Y,fln=It((LB(),F(z(l6e,1),je,303,0,[$re,s6e,o6e])))}function M$e(){M$e=Y,aln=It((tz(),F(z(f6e,1),je,436,0,[zx,XH,Rre])))}function C$e(){C$e=Y,Bln=It((sB(),F(z(_6e,1),je,429,0,[Yre,D6e,I6e])))}function T$e(){T$e=Y,zln=It((UB(),F(z($6e,1),je,430,0,[L6e,P6e,Qre])))}function O$e(){O$e=Y,Hln=It((DO(),F(z(Wre,1),je,435,0,[QH,WH,ZH])))}function N$e(){N$e=Y,wln=It((QB(),F(z(d6e,1),je,387,0,[h6e,qre,a6e])))}function I$e(){I$e=Y,Utn=It((SE(),F(z(mve,1),je,384,0,[Ste,Ete,xte])))}function D$e(){D$e=Y,Cnn=It((Fl(),F(z(Qo,1),je,130,0,[Yme,Yo,Qme])))}function _$e(){_$e=Y,Pnn=It((pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])))}function L$e(){L$e=Y,Rnn=It((ws(),F(z($nn,1),je,461,0,[Ih,ub,Uf])))}function P$e(){P$e=Y,znn=It((Uo(),F(z(Bnn,1),je,462,0,[Ea,ob,Xf])))}function $$e(){$$e=Y,ean=It((za(),F(z(r8e,1),je,279,0,[U7,Gm,X7])))}function R$e(){R$e=Y,van=It((Zy(),F(z(x8e,1),je,281,0,[S8e,Um,pG])))}function B$e(){B$e=Y,ran=It((F1(),F(z(w8e,1),je,347,0,[aG,e0,nA])))}function z$e(){z$e=Y,wan=It((AE(),F(z(j8e,1),je,300,0,[KI,Tce,k8e])))}function ga(e,n){return!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),xQ(e.o,n)}function E9n(e){return!e.g&&(e.g=new X6),!e.g.d&&(e.g.d=new FSe(e)),e.g.d}function S9n(e){return!e.g&&(e.g=new X6),!e.g.b&&(e.g.b=new zSe(e)),e.g.b}function rO(e){return!e.g&&(e.g=new X6),!e.g.c&&(e.g.c=new HSe(e)),e.g.c}function x9n(e){return!e.g&&(e.g=new X6),!e.g.a&&(e.g.a=new JSe(e)),e.g.a}function A9n(e,n,t,i){return t&&(i=t.Oh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function M9n(e,n,t,i){return t&&(i=t.Qh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function bY(e,n,t,i){var r;return r=le($t,ni,30,n+1,15,1),H_n(r,e,n,t,i),r}function le(e,n,t,i,r,c){var o;return o=vHe(r,i),r!=10&&F(z(e,c),n,t,r,o),o}function C9n(e,n,t){var i,r;for(r=new n8(n,e),i=0;it||n=0?e.Ih(t,!0,!0):Yw(e,n,!0)}function cO(e,n){var t,i,r;return r=e.r,i=e.d,t=bS(e,n,!0),t.b!=r||t.a!=i}function G$e(e,n){return HMe(e.e,n)||lg(e.e,n,new HJe(n)),u(Ba(e.e,n),113)}function Cs(e,n,t,i){return Ln(e),Ln(n),Ln(t),Ln(i),new Ffe(e,n,new Fu)}function uO(e,n,t){var i,r;return r=(i=C8(e.b,n),i),r?Wz(hO(e,r),t):null}function G9n(e,n,t){var i,r,c;i=I1(e,t),r=null,i&&(r=_0e(i)),c=r,zJe(n,t,c)}function q9n(e,n,t){var i,r,c;i=I1(e,t),r=null,i&&(r=_0e(i)),c=r,zJe(n,t,c)}function os(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new $fe(this,n,t,i)}function mY(e,n,t,i,r,c){Pae.call(this,n,i,r,c),this.c=e,this.b=t}function oO(e,n,t,i,r,c){Pae.call(this,n,i,r,c),this.c=e,this.a=t}function phe(e,n,t,i,r){XTe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function mhe(e,n){L$.call(this,n.xd(),n.wd()&-16449),Ln(e),this.a=e,this.c=n}function U9n(e,n){e.a.Le(n.d,e.b)>0&&(Ce(e.c,new lfe(n.c,n.d,e.d)),e.b=n.d)}function vY(e){e.a=le($t,ni,30,e.b+1,15,1),e.c=le($t,ni,30,e.b,15,1),e.d=0}function X9n(e,n,t){var i;return i=qze(e,n,t),e.b=new OB(i.c.length),_be(e,i)}function K9n(e){if(e.b<=0)throw R(new hu);return--e.b,e.a-=e.c.c,ye(e.a)}function V9n(e){var n;if(!e.a)throw R(new g_e);return n=e.a,e.a=Fi(e.a),n}function q$e(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)K(e,n);return Bae(e)}function Uy(e){var n;return Ot(e),X(e,204)?(n=u(e,204),n):new c9(e)}function Y9n(e){for(;!e.a;)if(!ONe(e.c,new Yke(e)))return!1;return!0}function vhe(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.g[n]}function U$e(e,n,t){if(o8(e,t),t!=null&&!e.dk(t))throw R(new gX);return t}function yY(e,n){return bO(n)!=10&&F(Us(n),n.Qm,n.__elementTypeId$,bO(n),e),e}function X$e(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),qy(e,i,t)}function X9(e,n,t,i){var r;i=(Iw(),i||Hme),r=e.slice(n,t),G0e(r,e,n,t,-n,i)}function $l(e,n,t,i,r){return n<0?Yw(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Q9n(e,n){return ji(ne(re(C(e,(ve(),mp)))),ne(re(C(n,mp))))}function K$e(){K$e=Y,jnn=It((K9(),F(z(pJ,1),je,309,0,[fte,ate,hte,dte])))}function K9(){K9=Y,fte=new l$("All",0),ate=new DTe,hte=new qTe,dte=new _Te}function ws(){ws=Y,Ih=new UX(m4,0),ub=new UX(U8,1),Uf=new UX(v4,2)}function V$e(){V$e=Y,Kz(),w7e=Vi,Ahn=Ir,p7e=new et(Vi),Mhn=new et(Ir)}function uB(){uB=Y,bfn=new Ev,wfn=new rL,gfn=akn((Xt(),Ece),bfn,wb,wfn)}function W9n(e){uB(),u(e.mf((Xt(),Fm)),182).Ec((ps(),XI)),e.of(Ece,null)}function Z9n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function e8n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function yhe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function Y$e(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function sO(e){var n;for(n=e.p+1;n=0?fz(e,t,!0,!0):Yw(e,n,!0)}function u8n(e,n){Oy(u(u(e.f,26).mf((Xt(),Wx)),102))&&ZFe(cae(u(e.f,26)),n)}function SRe(e,n){Os(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function xRe(e,n){Ns(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function ARe(e,n){Bw(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function MRe(e,n){Rw(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function CRe(e){(this.q?this.q:(En(),En(),u1)).zc(e.q?e.q:(En(),En(),u1))}function xY(e,n,t){var i;return i=e.g[n],eE(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function hB(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function AY(e){var n;return e.d!=e.r&&(n=af(e),e.e=!!n&&n.jk()==uen,e.d=n),e.e}function MY(e,n){var t;for(Ot(e),Ot(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function Ba(e,n){var t;return t=u(zn(e.e,n),393),t?(tOe(e,t),t.e):null}function TRe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function lu(e,n){var t,i;return H0(e),i=new rhe(n,e.a),t=new CNe(i),new pn(e,t)}function R2(e,n){var t=e.a[n],i=(WY(),rte)[typeof t];return i?i(t):H1e(typeof t)}function o8n(e,n){var t,i,r;r=n.c.i,t=u(zn(e.f,r),60),i=t.d.c-t.e.c,n1e(n.a,i,0)}function Qh(e,n,t){var i,r;for(i=10,r=0;r=0;)++n[0]}function _Re(e,n,t,i){ai(),pw.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function $1(e,n,t,i,r,c,o){DY.call(this,n,i,r,c,o),this.c=e,this.b=t}function LRe(e){this.g=e,this.f=new Te,this.a=k.Math.min(this.g.c.c,this.g.d.c)}function xE(){xE=Y,rin=new Lp,cin=new Pp,tin=new $p,iin=new Rp,uin=new Al}function dB(){dB=Y,yte=new hse("EADES",0),kJ=new hse("FRUCHTERMAN_REINGOLD",1)}function gO(){gO=Y,QJ=new wse("READING_DIRECTION",0),x3e=new wse("ROTATION",1)}function PRe(){PRe=Y,Din=It((Y2(),F(z(Iin,1),je,371,0,[rI,KJ,VJ,XJ,UJ])))}function $Re(){$Re=Y,Yun=It((XE(),F(z(Pye,1),je,328,0,[Lye,Zie,ere,Ax,Mx])))}function RRe(){RRe=Y,crn=It((Xs(),F(z(t5e,1),je,165,0,[dI,bx,Q1,gx,Mg])))}function BRe(){BRe=Y,Fsn=It((Ez(),F(z(zsn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])))}function zRe(){zRe=Y,Jln=It((cS(),F(z(Fln,1),je,369,0,[e5,U4,Ux,qx,II])))}function FRe(){FRe=Y,Kln=It((XO(),F(z(H6e,1),je,330,0,[z6e,tce,J6e,ice,F6e])))}function JRe(){JRe=Y,Ytn=It((zr(),F(z(vve,1),je,363,0,[Kf,o1,eo,no,Pc])))}function HRe(){HRe=Y,Wfn=It((vr(),F(z(Zx,1),je,86,0,[ih,ru,Zc,th,Yl])))}function GRe(){GRe=Y,pfn=It((kh(),F(z(eh,1),je,160,0,[Tn,fr,Aa,Wd,Z1])))}function qRe(){qRe=Y,san=It((l3(),F(z(iA,1),je,257,0,[mb,UI,p8e,tA,m8e])))}function URe(){URe=Y,aan=It((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])))}function XRe(e){var n;return n=u(C(e,(ve(),wp)),317),n?n.a==e:!1}function KRe(e){var n;return n=u(C(e,(ve(),wp)),317),n?n.i==e:!1}function VRe(e,n){return Ln(n),_fe(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function bB(e){return ao(e,oi)>0?oi:ao(e,Xr)<0?Xr:Rt(e)}function w8n(e,n){var t;return t=Hw(e.e.c,n.e.c),t==0?ji(e.e.d,n.e.d):t}function TY(e,n){var t;return t=u(zn(e.a,n),150),t||(t=new Wg,ei(e.a,n,t)),t}function Rf(e,n,t){var i;if(n==null)throw R(new ly);return i=I1(e,n),F6n(e,n,t),i}function p8n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function m8n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],lc(zT(i))}function v8n(e,n,t){var i,r;for(r=new P(t);r.a0?n-1:n,EAe(ggn(mBe(gfe(new hy,t),e.n),e.j),e.k)}function A8n(e,n,t,i){var r;e.j=-1,ibe(e,L0e(e,n,t),(Tc(),r=u(n,69).tk(),r.vl(i)))}function eBe(e,n,t,i,r,c){var o;o=fY(i),fc(o,r),Gr(o,c),gn(e.a,i,new eR(o,n,t.f))}function gB(e,n){var t;return H0(e),t=new o_e(e,e.a.xd(),e.a.wd()|4,n),new pn(e,t)}function M8n(e,n){var t,i;return t=u(q2(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function Cn(e,n){var t;return t=(e.i==null&&Eh(e),e.i),n>=0&&n=-.01&&e.a<=Xa&&(e.a=0),e.b>=-.01&&e.b<=Xa&&(e.b=0),e}function Zv(e){O8();var n,t;for(t=Hpe,n=0;nt&&(t=e[n]);return t}function C8n(e){var n;return n=ne(re(C(e,(Oe(),Kd)))),n<0&&(n=0,he(e,Kd,n)),n}function T8n(e,n){Oy(u(C(u(e.e,9),(Oe(),Zi)),102))&&(En(),Tr(u(e.e,9).j,n))}function wB(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),he(t,(ve(),R4),n)}function O8n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;re||e>n)throw R(new Loe("fromIndex: 0, toIndex: "+e+Vge+n))}function rBe(e,n){Ei(e,(Zh(),Gre),n.f),Ei(e,gln,n.e),Ei(e,Hre,n.d),Ei(e,bln,n.c)}function Ao(e,n){var t,i,r,c;for(Ln(n),i=e.c,r=0,c=i.length;r0&&(e.a/=n,e.b/=n),e}function cBe(e,n,t){var i,r;i=n;do r=ne(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function sl(e){var n;return e.w?e.w:(n=x4n(e),n&&!n.Sh()&&(e.w=n),n)}function Che(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)}function R8n(e){var n;return e==null?null:(n=u(e,195),AMn(n,n.length))}function K(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.Ui(n,e.g[n])}function pa(){pa=Y,Ou=new qX("BEGIN",0),No=new qX(U8,1),Nu=new qX("END",2)}function za(){za=Y,U7=new pK(U8,0),Gm=new pK("HEAD",1),X7=new pK("TAIL",2)}function Xy(){Xy=Y,Psn=yh(yh(yh(_j(new or,(c4(),_x)),(lS(),hre)),l4e),d4e)}function R1(){R1=Y,Rsn=yh(yh(yh(_j(new or,(c4(),Px)),(lS(),a4e)),u4e),f4e)}function e3(e,n){return ygn(OE(e,n,Rt(hc(t1,Vh(Rt(hc(n==null?0:Ni(n),i1)),15)))))}function The(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)}function Y9(e,n){var t,i;i=e.a,t=vjn(e,n,null),i!=n&&!e.e&&(t=$8(e,n,t)),t&&t.mj()}function B8n(e,n){var t;return t=Nr(pc(u(zn(e.g,n),8)),Kse(u(zn(e.f,n),460).b)),t}function uBe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function Ky(e){var n;return cE(e==null||Array.isArray(e)&&(n=bO(e),!(n>=14&&n<=16))),e}function Ohe(e){e.b=(ws(),ub),e.f=(Uo(),ob),e.d=(ll(2,om),new xo(2)),e.e=new Vr}function pB(e){this.b=(Ot(e),new bs(e)),this.a=new Te,this.d=new Te,this.e=new Vr}function oBe(e){return H0(e),Iy(!0,"n may not be negative"),new pn(e,new ABe(e.a))}function z8n(e,n){En();var t,i;for(i=new Te,t=0;t0?u(Le(t.a,i-1),9):null}function Bf(e){if(!(e>=0))throw R(new Un("tolerance ("+e+") must be >= 0"));return e}function ME(){return oce||(oce=new BXe,Wy(oce,F(z(T4,1),Nn,148,0,[new DC]))),oce}function yB(){yB=Y,Wye=new uK("NO",0),lre=new uK(wwe,1),Qye=new uK("LOOK_BACK",2)}function Nc(){Nc=Y,Tx=new tK(ES,0),ys=new tK("INPUT",1),Io=new tK("OUTPUT",2)}function kB(){kB=Y,k3e=new VX("ARD",0),YJ=new VX("MSD",1),Vte=new VX("MANUAL",2)}function X8n(){return ZO(),F(z(S3e,1),je,267,0,[Wte,E3e,eie,nie,Zte,tie,uI,Qte,Yte])}function K8n(){return nN(),F(z(Iye,1),je,268,0,[Vie,Tye,Oye,Xie,Cye,Nye,MH,Uie,Kie])}function V8n(){return _s(),F(z(E8e,1),je,266,0,[Y7,WI,dG,oA,bG,wG,gG,Oce,QI])}function Y8n(){MMe();for(var e=Kne,n=0;nt)throw R(new S2(n,t));return new Vle(e,n)}function jB(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function Q8n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i=0),_En(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ABe(e){L$.call(this,e.yd(64)?Use(0,ff(e.xd(),1)):pN,e.wd()),this.b=1,this.a=e}function MBe(){ole.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=qf}function CBe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new SNe(this,n,t,i)}function DY(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function TBe(e){ese(),this.g=new wt,this.f=new wt,this.b=new wt,this.c=new _w,this.i=e}function Bhe(){this.f=new Vr,this.d=new yoe,this.c=new Vr,this.a=new Te,this.b=new Te}function Z8n(e){var n,t;for(t=new P(xHe(e));t.a=0}function zhe(){zhe=Y,bon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function OBe(){OBe=Y,gon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function Fhe(){Fhe=Y,won=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function NBe(){NBe=Y,pon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function IBe(){IBe=Y,mon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function DBe(){DBe=Y,von=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function _Be(){_Be=Y,jon=Eo(qt(qt(new or,(zr(),eo),(Ur(),PJ)),no,NJ),Pc,LJ)}function LBe(){LBe=Y,onn=F(z($t,1),ni,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Jhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function Hhe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function _Y(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,t,e.c))}function Ghe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function qhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.d))}function W9(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.k))}function LY(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.D))}function xB(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.f))}function AB(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,t,e.i))}function Uhe(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.a))}function Xhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function t7n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new Fxe:new yC,e.c=DIn(i,e.b,e.a)}function PBe(e,n){return G1(e.e,n)?(Tc(),AY(n)?new sR(n,e):new jT(n,e)):new sTe(n,e)}function i7n(e){var n,t;return 0>e?new Woe:(n=e+1,t=new VPe(n,e),new Cle(null,t))}function r7n(e,n){En();var t;return t=new my(1),$r(e)?Kc(t,e,n):Ko(t.f,e,n),new aX(t)}function c7n(e,n){var t;t=new Qg,u(n.b,68),u(n.b,68),u(n.b,68),Ao(n.a,new cfe(e,t,n))}function $Be(e,n){var t;return X(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function u7n(e){var n;return n=C(e,(ve(),mi)),X(n,174)?rJe(u(n,174)):null}function RBe(e){var n;return e=k.Math.max(e,2),n=w1e(e),e>n?(n<<=1,n>0?n:mS):n}function PY(e){switch(cle(e.e!=3),e.e){case 2:return!1;case 0:return!0}return f9n(e)}function Khe(e){var n;return e.b==null?(xd(),xd(),uD):(n=e.sl()?e.rl():e.ql(),n)}function BBe(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),HO(e,t.jd(),t.kd())}function Vhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,t,e.d))}function MB(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,13,t,e.j))}function Yhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,21,t,e.b))}function Qhe(e,n){e.r>0&&e.c0&&e.g!=0&&Qhe(e.i,n/e.r*e.i.d))}function zBe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i0?1:0:(!e.c&&(e.c=YT(Lu(e.f))),e.c).e}function YBe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function a7n(e,n){n.Tg(AQe,1),er(lu(new pn(null,new yn(e.b,16)),new nw),new ED),n.Ug()}function FY(e,n,t,i,r,c){var o;this.c=e,o=new Te,Pde(e,o,n,e.b,t,i,r,c),this.a=new qr(o,0)}function rr(e,n,t,i,r,c,o,l,f,h,g,p,y){return hqe(e,n,t,i,r,c,o,l,f,h,g,p,y),mQ(e,!1),e}function h7n(e,n){typeof window===dN&&typeof window.$gwt===dN&&(window.$gwt[e]=n)}function d7n(e,n,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(e[t]=i)}function b7n(e,n,t){t.Tg("DFS Treeifying phase",1),SEn(e,n),nIn(e,n),e.a=null,e.b=null,t.Ug()}function g7n(e,n){var t;n.Tg("General Compactor",1),t=uEn(u(ke(e,(X0(),_re)),386)),t.Bg(e)}function w7n(e,n){var t,i;return t=u(ke(e,(X0(),qH)),15),i=u(ke(n,qH),15),oo(t.a,i.a)}function n1e(e,n,t){var i,r;for(r=St(e,0);r.b!=r.d.c;)i=u(jt(r),8),i.a+=n,i.b+=t;return e}function p7n(e,n,t,i){var r;r=new dy,Yb(r,"x",kz(e,n,i.a)),Yb(r,"y",jz(e,n,i.b)),$y(t,r)}function m7n(e,n,t,i){var r;r=new dy,Yb(r,"x",kz(e,n,i.a)),Yb(r,"y",jz(e,n,i.b)),$y(t,r)}function v7n(){return V0(),F(z(Fye,1),je,243,0,[OH,yI,kI,Rye,Bye,$ye,zye,NH,$7,Cx])}function y7n(){return Ic(),F(z(fie,1),je,261,0,[nH,Vl,lx,tH,T7,B3,fx,M7,C7,iH])}function JY(){JY=Y,hA=new Pxe,Fce=F(z(ns,1),O3,179,0,[]),rhn=F(z(kf,1),cme,62,0,[])}function Vy(){Vy=Y,Pte=new Pi("edgelabelcenterednessanalysis.includelabel",($n(),cb))}function QBe(e,n){return ne(re(Js(NO(So(new pn(null,new yn(e.c.b,16)),new iEe(e)),n))))}function t1e(e,n){return ne(re(Js(NO(So(new pn(null,new yn(e.c.b,16)),new tEe(e)),n))))}function Ni(e){return $r(e)?_d(e):m2(e)?Ey(e):p2(e)?QOe(e):Nfe(e)?e.Hb():Afe(e)?xw(e):dae(e)}function WBe(e,n){return Da(),Bf(Xa),k.Math.abs(0-n)<=Xa||n==0||isNaN(0)&&isNaN(n)?0:e/n}function k7n(e,n){return r8(),e==dp&&n==pm||e==dp&&n==D3||e==mm&&n==D3||e==mm&&n==pm}function j7n(e,n){return r8(),e==dp&&n==mm||e==mm&&n==dp||e==D3&&n==pm||e==pm&&n==D3}function ss(){ss=Y,Cve=new x5,Ave=new d0,Mve=new Ph,xve=new lk,Tve=new _A,Ove=new A5}function E7n(e){var n;return n=HR(e),Xj(n.a,0)?(e$(),e$(),ynn):(e$(),new OOe(n.b))}function HY(e){var n;return n=_ae(e),Xj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(n.b))}function GY(e){var n;return n=_ae(e),Xj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(n.c))}function S7n(e){return e.b.c.i.k==(Fn(),wr)?u(C(e.b.c.i,(ve(),mi)),12):e.b.c}function ZBe(e){return e.b.d.i.k==(Fn(),wr)?u(C(e.b.d.i,(ve(),mi)),12):e.b.d}function eze(e){switch(e.g){case 2:return Ie(),Yn;case 4:return Ie(),nt;default:return e}}function nze(e){switch(e.g){case 1:return Ie(),bt;case 3:return Ie(),Vn;default:return e}}function x7n(e,n){var t;return t=y0e(e),Q0e(new Ee(t.c,t.d),new Ee(t.b,t.a),e.Kf(),n,e.$f())}function A7n(e,n){n.Tg(AQe,1),lde(Ngn(new IP((Oj(),new DV(e,!1,!1,new sk))))),n.Ug()}function i1e(){i1e=Y,Eon=yh(dTe(qt(qt(new or,(zr(),eo),(Ur(),PJ)),no,NJ),Pc),LJ)}function tze(){tze=Y,Mon=yh(dTe(qt(qt(new or,(zr(),eo),(Ur(),PJ)),no,NJ),Pc),LJ)}function ize(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new Te,wTn(this),En(),Tr(this.a,null)}function zl(e,n,t,i,r,c,o){Tt.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=$f(o)}function r1e(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function TE(e,n){var t,i;for(Ln(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function M7n(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!XR(e,n,i.Pb()))return!1;return!0}function OE(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&O1(n,i.g))return i;return null}function NE(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&O1(n,i.i))return i;return null}function C7n(e,n){var t;for(Ot(n);e.Ob();)if(t=e.Pb(),!s1e(u(t,9)))return!1;return!0}function T7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function O7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function rze(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function N7n(e){var n,t,i;return e.j==(Ie(),Vn)&&(n=cUe(e),t=cs(n,nt),i=cs(n,Yn),i||i&&t)}function I7n(e){var n,t,i;for(i=0,t=new P(e.b);t.ar&&n.ac&&n.br?t=r:Wn(n,t+1),e.a=sf(e.a,0,n)+(""+i)+Xfe(e.a,t)}function cze(e,n,t,i){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,t),n&&ITn(e,n),i&&e.el(!0)}function L7n(e,n){var t,i;for(i=new P(n.b);i.a1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw R(new hu)}function H7n(e,n){var t,i;for(i=new P(n);i.a>22),r=e.h+n.h+(i>>22),_o(t&Ls,i&Ls,r&U1)}function Ize(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),_o(t&Ls,i&Ls,r&U1)}function QY(e){var n,t,i,r;for(r=new Te,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=nm(t),Sr(r,n);return r}function skn(e){var n;Fd(e,!0),n=Jd,wi(e,(Oe(),_7))&&(n+=u(C(e,_7),15).a),he(e,_7,ye(n))}function Dze(e,n,t){var i;Hu(e.a),Ao(t.i,new tSe(e)),i=new R$(u(zn(e.a,n.b),68)),OJe(e,i,n),t.f=i}function a1e(e){var n,t;return t=(S0(),n=new yo,n),e&&Et((!e.a&&(e.a=new pe($i,e,6,6)),e.a),t),t}function Yy(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=wh(i,Xh(1,t));return i}function lkn(e,n){var t,i;for(DR(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function h1e(e,n){if(n===0){!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o.c.$b();return}pW(e,n)}function _ze(e){switch(e.g){case 1:return pb;case 2:return a1;case 3:return GI;default:return qI}}function d1e(e){En();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?Ni(n):0),i=i|0;return i}function fkn(e){var n;return n=new xn,n.a=e,n.b=wkn(e),n.c=le(Je,Ae,2,2,6,1),n.c[0]=VBe(e),n.c[1]=VBe(e),n}function BB(){BB=Y,$te=new b$(ya,0),GJ=new b$(TQe,1),qJ=new b$(OQe,2),iI=new b$("BOTH",3)}function r8(){r8=Y,dp=new h$("Q1",0),mm=new h$("Q4",1),pm=new h$("Q2",2),D3=new h$("Q3",3)}function B0(){B0=Y,sI=new ZX("ONLY_WITHIN_GROUP",0),F3e=new ZX(eee,1),Em=new ZX("ENFORCED",2)}function cg(){cg=Y,iie=new QX(ya,0),A7=new QX("INCOMING_ONLY",1),R3=new QX("OUTGOING_ONLY",2)}function Qy(){Qy=Y,dfn=new JM,hfn=new nL}function WY(){WY=Y,rte={boolean:Agn,number:Rbn,string:Bbn,object:gqe,function:gqe,undefined:pbn}}function Lze(){Lze=Y,Qun=It((V0(),F(z(Fye,1),je,243,0,[OH,yI,kI,Rye,Bye,$ye,zye,NH,$7,Cx])))}function Pze(){Pze=Y,Win=It((Ic(),F(z(fie,1),je,261,0,[nH,Vl,lx,tH,T7,B3,fx,M7,C7,iH])))}function akn(e,n,t,i){return new use(F(z(Eg,1),rF,45,0,[(qQ(e,n),new yw(e,n)),(qQ(t,i),new yw(t,i))]))}function hkn(e,n){var t,i;return t=u(u(zn(e.g,n.a),49).a,68),i=u(u(zn(e.g,n.b),49).a,68),xKe(t,i)}function b1e(e,n,t){var i;if(i=e.gc(),n>i)throw R(new S2(n,i));return e.Qi()&&(t=X_e(e,t)),e.Ci(n,t)}function $ze(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Lf(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function dkn(e,n){return!e||!n||e==n?!1:Hw(e.b.c,n.b.c+n.b.b)<0&&Hw(n.b.c,e.b.c+e.b.b)<0}function ZY(e,n,t){return e>=128?!1:e<64?Kj(Rr(Xh(1,e),t),0):Kj(Rr(Xh(1,e-64),n),0)}function AO(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function MO(e,n,t){return t==null?(!e.q&&(e.q=new wt),Gy(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function he(e,n,t){return t==null?(!e.q&&(e.q=new wt),Gy(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function Rze(e){var n,t;return t=new eB,Pu(t,e),he(t,($0(),N4),e),n=new wt,oLn(e,t,n),R$n(e,t,n),t}function bkn(e){O8();var n,t,i;for(t=le(Lr,Ae,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=XSn(i,e);return t}function Bze(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;ce.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function g1e(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=af(e),X(n,88)&&(e.c=u(n,29))),e.c}function w1e(e){var n;if(e<0)return Xr;if(e==0)return 0;for(n=mS;(n&e)==0;n>>=1);return n}function wkn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+TRe(e))}function Fze(e){var n,t;return t=QO(e.h),t==32?(n=QO(e.m),n==32?QO(e.l)+32:n+20-10):t-12}function eQ(e){var n,t,i;n=~e.l+1&Ls,t=~e.m+(n==0?1:0)&Ls,i=~e.h+(n==0&&t==0?1:0)&U1,e.l=n,e.m=t,e.h=i}function DE(e){var n;return n=e.a[e.b],n==null?null:(ir(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function p1e(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function m1e(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function Jze(e,n){this.b=e,Bv.call(this,(u(K(we((O0(),Bn).o),10),19),n.i),n.g),this.a=(JY(),Fce)}function v1e(e,n,t){this.q=new k.Date,this.q.setFullYear(e+Z0,n,t),this.q.setHours(0,0,0,0),aS(this,0)}function Hze(e,n,t){var i,r;return i=new pY(n,t),r=new si,e.b=sXe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function y1e(e,n){En();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;ro||i+r>c)throw R(new foe)}function Gze(e,n,t){var i,r,c,o;for(o=BE(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),ei(e.c,i,ye(c++))}function z0(e){var n,t;for(t=new P(e.a.b);t.a=0,"Negative initial capacity"),RT(n>=0,"Non-positive load factor"),Hu(this)}function Vze(e,n){var t;for(t=0;t1||n>=0&&e.b<3)}function xkn(){ai();var e;return Xce||(e=jpn(Y0("M",!0)),e=gR(Y0("M",!1),e),Xce=e,Xce)}function Wze(e){if(e.g===0)return new F6;throw R(new Un(FF+(e.f!=null?e.f:""+e.g)))}function Zze(e){if(e.g===0)return new eL;throw R(new Un(FF+(e.f!=null?e.f:""+e.g)))}function x1e(e,n,t){if(n===0){!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),DB(e.o,t);return}yW(e,n,t)}function tQ(e,n,t){this.g=e,this.e=new Vr,this.f=new Vr,this.d=new xi,this.b=new xi,this.a=n,this.c=t}function iQ(e,n,t,i){this.b=new Te,this.n=new Te,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function eFe(e,n,t,i){this.b=new wt,this.g=new wt,this.d=($E(),CH),this.c=e,this.e=n,this.d=t,this.a=i}function o8(e,n){if(!e.Ji()&&n==null)throw R(new Un("The 'no null' constraint is violated"));return n}function A1e(e){switch(e.g){case 1:return QQe;default:case 2:return 0;case 3:return WQe;case 4:return Jpe}}function Akn(e){return Ce(e.c,(Qy(),dfn)),Che(e.a,ne(re(_e((SQ(),AH)))))?new eC:new sSe(e)}function Mkn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!xj(e.b))e.d=u(Ly(e.b),50);else return null;return e.d}function _d(e){var n,t;for(n=0,t=0;ti?1:0}function nFe(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function rQ(e,n){var t;return n===e?!0:X(n,229)?(t=u(n,229),gi(e.Zb(),t.Zb())):!1}function M1e(e,n){return UUe(e,n)?(gn(e.b,u(C(n,(ve(),Y1)),22),n),Vt(e.a,n),!0):!1}function Okn(e,n){return wi(e,(ve(),Oi))&&wi(n,Oi)?u(C(n,Oi),15).a-u(C(e,Oi),15).a:0}function Nkn(e,n){return wi(e,(ve(),Oi))&&wi(n,Oi)?u(C(e,Oi),15).a-u(C(n,Oi),15).a:0}function tFe(e){return Qa?le(Enn,RYe,567,0,0,1):u(Fa(e.a,le(Enn,RYe,567,e.a.c.length,0,1)),840)}function Us(e){return $r(e)?Je:m2(e)?gr:p2(e)?Qi:Nfe(e)||Afe(e)?e.Pm:e.Pm||Array.isArray(e)&&z(nnn,1)||nnn}function u3(e,n,t){var i,r;return r=(i=new yX,i),Fc(r,n,t),Et((!e.q&&(e.q=new pe(kf,e,11,10)),e.q),r),r}function cQ(e){var n,t,i,r;for(r=Jgn(_an,e),t=r.length,i=le(Je,Ae,2,t,6,1),n=0;n=e.b.c.length||(C1e(e,2*n+1),t=2*n+2,t0&&(n.Ad(t),t.i&&cSn(t))}function T1e(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:HX(Rr(e[i],Dc),Rr(n[i],Dc))?-1:1}function Dkn(e,n){var t;return!e||e==n||!wi(n,(ve(),pp))?!1:(t=u(C(n,(ve(),pp)),9),t!=e)}function uQ(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function iFe(e,n,t){return e.d[n.p][t.p]||(MSn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function rFe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=RBe(t),i=le(Zen,mN,227,r,0,1),this.b=i}function _kn(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function cFe(e,n,t){var i,r,c,o;for(Ln(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function oQ(e,n){var t,i;return i=u(Kn(e.a,4),129),t=le(Bce,_ne,415,n,0,1),i!=null&&Wu(i,0,t,0,i.length),t}function uFe(e,n){var t;return t=new DW((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function Lkn(e,n){var t;return e===n?!0:X(n,92)?(t=u(n,92),N0e(Gb(e),t.vc())):!1}function oFe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function zB(){zB=Y,Dce=new T$("ELK",0),_8e=new T$("JSON",1),D8e=new T$("DOT",2),L8e=new T$("SVG",3)}function _E(){_E=Y,xre=new k$(eee,0),JH=new k$(nWe,1),Sre=new k$("FAN",2),Ere=new k$("CONSTRAINT",3)}function LE(){LE=Y,w4e=new lK(ya,0),dre=new lK("MIDDLE_TO_MIDDLE",1),xI=new lK("AVOID_OVERLAP",2)}function CO(){CO=Y,GH=new fK(ya,0),H4e=new fK("RADIAL_COMPACTION",1),G4e=new fK("WEDGE_COMPACTION",2)}function PE(){PE=Y,ore=new rK("STACKED",0),ure=new rK("REVERSE_STACKED",1),jI=new rK("SEQUENCED",2)}function Fl(){Fl=Y,Yme=new GX("CONCURRENT",0),Yo=new GX("IDENTITY_FINISH",1),Qme=new GX("UNORDERED",2)}function F1(){F1=Y,aG=new mK($2e,0),e0=new mK("INCLUDE_CHILDREN",1),nA=new mK("SEPARATE_CHILDREN",2)}function FB(){FB=Y,g8e=new Ew(15),ian=new Yr((Xt(),f1),g8e),eA=Y4,a8e=Cfn,h8e=Lg,b8e=r5,d8e=zm}function sQ(){sQ=Y,Mte=z_e(F(z(Zx,1),je,86,0,[(vr(),Zc),ru])),Cte=z_e(F(z(Zx,1),je,86,0,[Yl,th]))}function Pkn(e){var n,t,i;for(n=0,i=le(Lr,Ae,8,e.b,0,1),t=St(e,0);t.b!=t.d.c;)i[n++]=u(jt(t),8);return i}function lQ(e,n,t){var i,r,c;for(i=new xi,c=St(t,0);c.b!=c.d.c;)r=u(jt(c),8),Vt(i,new wc(r));cFe(e,n,i)}function $kn(e,n){var t;t=_e((SQ(),AH))!=null&&n.Rg()!=null?ne(re(n.Rg()))/ne(re(_e(AH))):1,ei(e.b,n,t)}function Rkn(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function O1e(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t0)return _9(n-1,e.a.c.length),Od(e.a,n-1);throw R(new uxe)}function Bkn(e,n,t){if(n<0)throw R(new jo(yWe+n));nn)throw R(new Un(lF+e+BYe+n));if(e<0||n>t)throw R(new Loe(lF+e+Wge+n+Vge+t))}function lFe(e){if(!e.a||(e.a.i&8)==0)throw R(new Uc("Enumeration class expected for layout option "+e.f))}function fFe(e){q_e.call(this,"The given string does not match the expected format for individual spacings.",e)}function aFe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function Ld(e){switch(e.c){case 0:return cV(),yme;case 1:return new sy(Eqe(new py(e)));default:return new Zxe(e)}}function hFe(e){switch(e.gc()){case 0:return cV(),yme;case 1:return new sy(e.Jc().Pb());default:return new ose(e)}}function I1e(e){var n;return n=(!e.a&&(e.a=new pe(td,e,9,5)),e.a),n.i!=0?zgn(u(K(n,0),684)):null}function zkn(e,n){var t;return t=mc(e,n),HX(QV(e,n),0)|D$(QV(e,t),0)?t:mc(pN,QV(Ub(t,63),1))}function D1e(e,n,t){var i,r;return _2(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(ffe(e.c,n,i),!0)}function Fkn(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.b,null),e.b=e.b+1&t}function Jkn(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.c,null)}function s8(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),LY(e,n==null?null:(Ln(n),n)),e.C&&e.fl(null)}function o3(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(o2(e.a.c,0),Sr(e.a,e.b),Sr(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function G2(e){var n;++e.j,e.i==0?e.g=null:e.ir&&(rGe(n.q,r),i=t!=n.q.d)),i}function kFe(e,n){var t,i,r,c,o,l,f,h;return f=n.i,h=n.j,i=e.f,r=i.i,c=i.j,o=f-r,l=h-c,t=k.Math.sqrt(o*o+l*l),t}function P1e(e,n){var t,i;return i=cz(e),i||(t=(eZ(),jUe(n)),i=new YSe(t),Et(i.Cl(),e)),i}function TO(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function Kkn(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw R(new hu);return n=e.a,e.a+=e.c.c,++e.b,ye(n)}function Vkn(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n=i||n=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function ijn(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function J0(e,n){var t,i,r,c;return c=(r=e?cz(e):null,bqe((i=n,r&&r.El(),i))),c==n&&(t=cz(e),t&&t.El()),c}function R1e(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,1,r,n),t?t.lj(i):t=i),t}function SFe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,3,r,n),t?t.lj(i):t=i),t}function xFe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,0,r,n),t?t.lj(i):t=i),t}function AFe(e){var n,t;if(e!=null)for(t=0;t-129&&e<128?(xIe(),n=e+128,t=Lme[n],!t&&(t=Lme[n]=new Pn(e)),t):new Pn(e)}function ye(e){var n,t;return e>-129&&e<128?(mIe(),n=e+128,t=Nme[n],!t&&(t=Nme[n]=new co(e)),t):new co(e)}function ljn(e,n,t,i,r){n==0||i==0||(n==1?r[i]=Ode(r,t,i,e[0]):i==1?r[n]=Ode(r,e,n,t[0]):WTn(e,t,r,n,i))}function NFe(e,n){var t;e.c.length!=0&&(t=u(Fa(e,le(s1,Hd,9,e.c.length,0,1)),199),Fse(t,new Rh),$qe(t,n))}function IFe(e,n){var t;e.c.length!=0&&(t=u(Fa(e,le(s1,Hd,9,e.c.length,0,1)),199),Fse(t,new hv),$qe(t,n))}function DFe(e,n){var t;e.a.c.length>0&&(t=u(Le(e.a,e.a.c.length-1),565),M1e(t,n))||Ce(e.a,new qPe(n))}function fjn(e){rl();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),Ao(t.b,new Jje(n)),Ao(t.c,new Hje(n)),cc(t.i,new Gje(n))}function _Fe(e){var n;return n=new j0,n.a+="VerticalSegment ",uo(n,e.e),n.a+=" ",Kt(n,ile(new IX,new P(e.k))),n.a}function ajn(e,n){var t;e.c=n,e.a=lEn(n),e.a<54&&(e.f=(t=n.d>1?HLe(n.a[0],n.a[1]):HLe(n.a[0],0),eg(n.e>0?t:Id(t))))}function dQ(e,n){var t,i,r;for(t=0,r=vu(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=C(i,(ve(),vs))!=null?1:0;return t}function s3(e,n,t){var i,r,c;for(i=0,c=St(e,0);c.b!=c.d.c&&(r=ne(re(jt(c))),!(r>t));)r>=n&&++i;return i}function hjn(e){var n;return n=u(Ba(e.c.c,""),233),n||(n=new zy(p9(w9(new g0,""),"Other")),lg(e.c.c,"",n)),n}function RE(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (name: ",Bc(n,e.zb),n.a+=")",n.a)}function F1e(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),t}function OO(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&Wu(e.g,n,e.g,n+1,e.i-n),ir(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function J1e(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function djn(e,n,t){var i,r;return i=new $1(e.e,3,13,null,(r=n.c,r||(jn(),uh)),Bd(e,n),!1),t?t.lj(i):t=i,t}function bjn(e,n,t){var i,r;return i=new $1(e.e,4,13,(r=n.c,r||(jn(),uh)),null,Bd(e,n),!1),t?t.lj(i):t=i,t}function gjn(e,n){var t,i,r,c;if(n.cj(e.a),c=u(Kn(e.a,8),1997),c!=null)for(t=c,i=0,r=t.length;i>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function wjn(e){return e?(e.i&1)!=0?e==ts?Qi:e==$t?jr:e==Zm?p7:e==Jr?gr:e==Tp?ap:e==f5?hp:e==ds?A4:QS:e:null}function gi(e,n){return $r(e)?bn(e,n):m2(e)?ANe(e,n):p2(e)?(Ln(e),ue(e)===ue(n)):Nfe(e)?e.Fb(n):Afe(e)?kTe(e,n):Tae(e,n)}function PFe(e){var n;return ao(e,0)<0&&(e=R0(L3n(su(e)?lf(e):e))),n=Rt(Ub(e,32)),64-(n!=0?QO(n):QO(Rt(e))+32)}function NO(e,n){var t;return t=new Ia,e.a.zd(t)?(x9(),new xX(Ln(vRe(e,t.a,n)))):(N0(e),x9(),x9(),Ume)}function BE(e,n){switch(n.g){case 2:case 1:return vu(e,n);case 3:case 4:return Ks(vu(e,n))}return En(),En(),Sc}function pjn(e,n){var t;return n.a&&(t=n.a.a.length,e.a?Kt(e.a,e.b):e.a=new il(e.d),XLe(e.a,n.a,n.d.length,t)),e}function mjn(e){iF();var n,t,i,r;for(t=DQ(),i=0,r=t.length;it)throw R(new jo(lF+e+Wge+n+", size: "+t));if(e>n)throw R(new Un(lF+e+BYe+n))}function Jl(e,n,t){if(n<0)X0e(e,t);else{if(!t.pk())throw R(new Un(ib+t.ve()+RS));u(t,69).uk().Ck(e,e.ei(),n)}}function bQ(e,n,t){return k.Math.abs(n-e)LF?e-t>LF:t-e>LF}function G1e(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new pe(Eu,e,1,7)),e.n;case 2:return e.k}return Bde(e,n,t,i)}function RFe(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (source: ",Bc(n,e.d),n.a+=")",n.a)}function $d(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,2,t,n))}function q1e(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,8,t,n))}function U1e(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,9,t,n))}function Rd(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,3,t,n))}function qB(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,8,t,n))}function vjn(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,5,r,e.a),t?f0e(t,i):t=i),t}function zE(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):Ji(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function BFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),29),ue(n)===ue(t))return!0;return!1}function zFe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function X1e(e){var n,t;return n=e.k,n==(Fn(),wr)?(t=u(C(e,(ve(),Iu)),64),t==(Ie(),Vn)||t==bt):!1}function FFe(e){var n;return n=_ae(e),Xj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(JX(n.a,0)?the(n)/eg(n.a):0))}function yjn(e,n){var t;if(t=tN(e,n),X(t,335))return u(t,38);throw R(new Un(ib+n+"' is not a valid attribute"))}function FE(e,n,t){var i;if(i=e.gc(),n>i)throw R(new S2(n,i));if(e.Qi()&&e.Gc(t))throw R(new Un(JN));e.Ei(n,t)}function JFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),143),ue(n)===ue(t))return!0;return!1}function kjn(e,n,t){var i,r,c;return c=(r=C8(e.b,n),r),c&&(i=u(Wz(hO(e,c),""),29),i)?pbe(e,i,n,t):null}function gQ(e,n,t){var i,r,c;return c=(r=C8(e.b,n),r),c&&(i=u(Wz(hO(e,c),""),29),i)?mbe(e,i,n,t):null}function jjn(e){var n,t,i;for(i=0,t=e.length,n=0;n=0?G0(e):hE(G0(Id(e))))}function HFe(e,n,t,i,r,c){this.e=new Te,this.f=(Nc(),Tx),Ce(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function ji(e,n){return en?1:e==n?e==0?ji(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function Ejn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,ir(e.a,e.c,null),n)}function GFe(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function Sjn(e){var n,t,i;for(n=new Te,i=new P(e.b);i.a=1?ru:th):t}function Ojn(e){var n,t;for(t=EUe(sl(e)).Jc();t.Ob();)if(n=Pt(t.Pb()),fS(e,n))return J6n((BMe(),Uan),n);return null}function Njn(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),xO(t,u(Le(n,i.p),18)))return i;return null}function Ijn(e,n,t){var i,r;for(r=X(n,103)&&(u(n,19).Bb&Ec)!=0?new SK(n,e):new n8(n,e),i=0;i>10)+jN&yr,n[1]=(e&1023)+56320&yr,vh(n,0,n.length)}function W1e(e,n){var t;t=(e.Bb&Ec)!=0,n?e.Bb|=Ec:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,20,t,n))}function w8(e,n){var t;t=(e.Bb&Sh)!=0,n?e.Bb|=Sh:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,16,t,n))}function mQ(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,18,t,n))}function Z1e(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,18,t,n))}function vu(e,n){var t;return e.i||U0e(e),t=u(zc(e.g,n),49),t?new D0(e.j,u(t.a,15).a,u(t.b,15).a):(En(),En(),Sc)}function Ljn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?mO(i,r):i!=null?-1:r!=null?1:0}function ede(e,n,t){var i,r;return i=(S0(),r=new qk,r),mB(i,n),vB(i,t),e&&Et((!e.a&&(e.a=new mr(kl,e,5)),e.a),i),i}function nde(e,n,t){var i;return i=0,n&&(Fv(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(Fv(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Jw(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function vQ(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (identifier: ",Bc(n,e.k),n.a+=")",n.a)}function VB(e){var n;switch(e.gc()){case 0:return lR(),ete;case 1:return new GK(Ot(e.Xb(0)));default:return n=e,new WV(n)}}function Pjn(e){switch(u(C(e,(Oe(),W1)),222).g){case 1:return new gd;case 3:return new $5;default:return new Jp}}function $jn(e){var n;return n=Q2(e),n>34028234663852886e22?Vi:n<-34028234663852886e22?Ir:n}function mc(e,n){var t;return su(e)&&su(n)&&(t=e+n,kNn){RLe(t);break}}SR(t,n)}function en(e,n){var t,i,r,c,o;if(t=n.f,lg(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;cn&&i.Le(e[c-1],e[c])>0;--c)o=e[c],ir(e,c,e[c-1]),ir(e,c-1,o)}function Hl(e,n,t,i){if(n<0)jbe(e,t,i);else{if(!t.pk())throw R(new Un(ib+t.ve()+RS));u(t,69).uk().Ak(e,e.ei(),n,i)}}function Xjn(e,n){var t;if(t=tN(e.Ah(),n),X(t,103))return u(t,19);throw R(new Un(ib+n+"' is not a valid reference"))}function YB(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw R(new Un("Node "+n+" not part of edge "+e))}function ide(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return G1e(e,n,t,i)}function Kjn(e){return e.k!=(Fn(),Wi)?!1:Wv(new pn(null,new T2(new Xn(Qn(Ii(e).a.Jc(),new ee)))),new rM)}function Xs(){Xs=Y,dI=new dT(ya,0),bx=new dT("FIRST",1),Q1=new dT(TQe,2),gx=new dT("LAST",3),Mg=new dT(OQe,4)}function HE(){HE=Y,ox=new w$("LAYER_SWEEP",0),m3e=new w$("MEDIAN_LAYER_SWEEP",1),cI=new w$(cee,2),v3e=new w$(ya,3)}function QB(){QB=Y,h6e=new dK("ASPECT_RATIO_DRIVEN",0),qre=new dK("MAX_SCALE_DRIVEN",1),a6e=new dK("AREA_DRIVEN",2)}function WB(){WB=Y,Ice=new C$(zpe,0),T8e=new C$("GROUP_DEC",1),N8e=new C$("GROUP_MIXED",2),O8e=new C$("GROUP_INC",3)}function Vjn(e,n){return bn(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n),e.b&&e.c?Zb(e.b)+"->"+Zb(e.c):"e_"+Ni(e))}function Yjn(e,n){return bn(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n),e.b&&e.c?Zb(e.b)+"->"+Zb(e.c):"e_"+Ni(e))}function Hw(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n))}function rde(e){SQ(),this.c=$f(F(z(nzn,1),Nn,829,0,[qun])),this.b=new wt,this.a=e,ei(this.b,AH,1),Ao(Uun,new oSe(this))}function GE(e){var n;this.a=(n=u(e.e&&e.e(),10),new Ll(n,u(_f(n,n.length),10),0)),this.b=le(Mr,Nn,1,this.a.a.length,5,1)}function fu(e){var n;return Array.isArray(e)&&e.Rm===vn?Bb(Us(e))+"@"+(n=Ni(e)>>>0,n.toString(16)):e.toString()}function Qjn(e){var n;return e==null?!0:(n=e.length,n>0&&(Wn(n-1,e.length),e.charCodeAt(n-1)==58)&&!jQ(e,fA,aA))}function jQ(e,n,t){var i,r;for(i=0,r=e.length;i=r)return n.c+t;return n.c+n.b.gc()}function ZFe(e,n){T9();var t,i,r,c;for(i=q$e(e),r=n,X9(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function ude(e){var n,t,i;for(i=new kd,i.a+="[",n=0,t=e.gc();n=0;--i)for(n=t[i],r=0;r>5,n=e&31,i=le($t,ni,30,t+1,15,1),i[t]=1<0&&(n.lengthe.i&&ir(n,e.i,null),n}function ZB(e){var n;return(e.Db&64)!=0?RE(e):(n=new uf(RE(e)),n.a+=" (instanceClassName: ",Bc(n,e.D),n.a+=")",n.a)}function ez(e){var n,t,i,r;for(r=0,t=0,i=e.length;t0?(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=TUe(e,r,i,n),t!=-1):!1}function Co(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),OO(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):OO(e,e.i,n),t}function ma(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=ebe(e,r,i,n),t)?t.kd():null}function vEn(e,n,t){var i,r;return i=new $1(e.e,3,10,null,(r=n.c,X(r,88)?u(r,29):(jn(),Ef)),Bd(e,n),!1),t?t.lj(i):t=i,t}function yEn(e,n,t){var i,r;return i=new $1(e.e,4,10,(r=n.c,X(r,88)?u(r,29):(jn(),Ef)),null,Bd(e,n),!1),t?t.lj(i):t=i,t}function fJe(e,n){var t,i,r;return X(n,45)?(t=u(n,45),i=t.jd(),r=q2(e.Pc(),i),O1(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function gde(e,n){switch(n){case 3:Rw(e,0);return;case 4:Bw(e,0);return;case 5:Os(e,0);return;case 6:Ns(e,0);return}z1e(e,n)}function Gw(e,n){switch(n.g){case 1:return Ny(e.j,(ss(),Ave));case 2:return Ny(e.j,(ss(),Cve));default:return En(),En(),Sc}}function G0(e){jh();var n,t;return t=Rt(e),n=Rt(Ub(e,32)),n!=0?new vLe(t,n):t>10||t<0?new _1(1,t):hnn[t]}function aJe(e){V2();var n;return(e.q?e.q:(En(),En(),u1))._b((Oe(),kp))?n=u(C(e,kp),203):n=u(C(_r(e),Ex),203),n}function kEn(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function hJe(e,n,t){pBe(),jxe.call(this),this.a=x2(Lnn,[Ae,nwe],[592,216],0,[vJ,wte],2),this.c=new Sy,this.g=e,this.f=n,this.d=t}function dJe(e){this.e=le($t,ni,30,e.length,15,1),this.c=le(ts,va,30,e.length,16,1),this.b=le(ts,va,30,e.length,16,1),this.f=0}function jEn(e){var n,t;for(e.j=le(Jr,Jc,30,e.p.c.length,15,1),t=new P(e.p);t.a>5,n&=31,r=e.d+t+(n==0?0:1),i=le($t,ni,30,r,15,1),yMn(i,e.a,t,n),c=new Xb(e.e,r,i),mE(c),c}function p8(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function $O(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function CQ(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t0?(k.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function MEn(e){var n;n=e.a;do n=u(rt(new Xn(Qn(Ii(n).a.Jc(),new ee))),17).d.i,n.k==(Fn(),dr)&&Ce(e.e,n);while(n.k==(Fn(),dr))}function CEn(e,n){var t,i,r;for(i=new Xn(Qn(Ii(e).a.Jc(),new ee));ht(i);)if(t=u(rt(i),17),r=t.d.i,r.c==n)return!1;return!0}function vJe(e,n,t){var i,r,c,o;for(r=u(zn(e.b,t),171),i=0,o=new P(n.j);o.an?1:Jb(isNaN(e),isNaN(n)))>0}function vde(e,n){return Da(),Da(),Bf(W0),(k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n)))<0}function SJe(e,n){return Da(),Da(),Bf(W0),(k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n)))<=0}function yde(e){switch(e.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 kde(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=aR(this.c,this.b,this.a))}function NEn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(WY(),rte)[typeof i],c=r?r(i):H1e(typeof i);return c}function m8(e){var n,t,i;if(i=null,n=Oh in e.a,t=!n,t)throw R(new ah("Every element must have an id."));return i=s4(I1(e,Oh)),i}function qw(e){var n,t;for(t=QGe(e),n=null;e.c==2;)fi(e),n||(n=(ai(),ai(),new Wj(2)),dg(n,t),t=n),t.Hm(QGe(e));return t}function iz(e,n){var t,i,r;return e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=ebe(e,r,i,n),t?(EBe(e,t),t.kd()):null}function vh(e,n,t){var i,r,c,o;for(c=n+t,Qr(n,c,e.length),o="",r=n;rn.e?1:e.en.d?e.e:e.d=48&&e<48+k.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function IEn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw R(new Un("Input edge is not connected to the input port."))}function yh(e,n){if(e.a<0)throw R(new Uc("Did not call before(...) or after(...) before calling add(...)."));return wle(e,e.a,n),e}function jde(e){return FR(),X(e,166)?u(zn(iD,pnn),296).Qg(e):so(iD,Us(e))?u(zn(iD,Us(e)),296).Qg(e):null}function Lo(e){var n,t;return(e.Db&32)==0&&(t=(n=u(Kn(e,16),29),dt(n||e.fi())-dt(e.fi())),t!=0&&n4(e,32,le(Mr,Nn,1,t,5,1))),e}function n4(e,n,t){var i;(e.Db&n)!=0?t==null?QTn(e,n):(i=YQ(e,n),i==-1?e.Eb=t:ir(Ky(e.Eb),i,t)):t!=null&&pIn(e,n,t)}function DEn(e,n,t,i){var r,c;n.c.length!=0&&(r=aNn(t,i),c=vTn(n),er(gB(new pn(null,new yn(c,1)),new v_),new VDe(e,t,r,i)))}function _En(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,NOe(t=c?(Jkn(e,n),-1):(Fkn(e,n),1)}function LEn(e,n){var t,i;for(t=(Wn(n,e.length),e.charCodeAt(n)),i=n+1;in.e?1:e.fn.f?1:Ni(e)-Ni(n)}function TJe(e,n){var t;return ue(n)===ue(e)?!0:!X(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function rz(e,n){return Ln(e),n==null?!1:bn(e,n)?!0:e.length==n.length&&bn(e.toLowerCase(),n.toLowerCase())}function K2(e){var n,t;return ao(e,-129)>0&&ao(e,128)<0?(SIe(),n=Rt(e)+128,t=Ime[n],!t&&(t=Ime[n]=new Sn(e)),t):new Sn(e)}function t4(){t4=Y,ix=new d$(ya,0),kve=new d$("INSIDE_PORT_SIDE_GROUPS",1),Ote=new d$("GROUP_MODEL_ORDER",2),Nte=new d$(eee,3)}function cz(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>RZ)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function REn(e){var n;return e.b||wgn(e,(n=w2n(e.e,e.a),!n||!bn(hne,ma((!n.b&&(n.b=new Hs((jn(),Ac),Du,n)),n.b),"qualified")))),e.c}function BEn(e){var n,t;for(t=new P(e.a.b);t.a2e3&&(tnn=e,hJ=k.setTimeout(Ign,10))),aJ++==0?(d8n((Ooe(),jme)),!0):!1}function QEn(e,n,t){var i;(Snn?(fEn(e),!0):xnn||Mnn?(E9(),!0):Ann&&(E9(),!1))&&(i=new $Ne(n),i.b=t,WMn(e,i))}function NQ(e,n){var t;t=!e.A.Gc((Vs(),$g))||e.q==(Br(),to),e.u.Gc((ps(),nd))?t?vRn(e,n):IVe(e,n):e.u.Gc(yb)&&(t?F$n(e,n):XVe(e,n))}function WEn(e,n,t){var i,r;hW(e.e,n,t,(Ie(),Yn)),hW(e.i,n,t,nt),e.a&&(r=u(C(n,(ve(),mi)),12),i=u(C(t,mi),12),ZV(e.g,r,i))}function _Je(e){var n;ue(ke(e,(Xt(),n5)))===ue((F1(),aG))&&(Fi(e)?(n=u(ke(Fi(e),n5),347),Ei(e,n5,n)):Ei(e,n5,nA))}function LJe(e,n,t){return new Lf(k.Math.min(e.a,n.a)-t/2,k.Math.min(e.b,n.b)-t/2,k.Math.abs(e.a-n.a)+t,k.Math.abs(e.b-n.b)+t)}function PJe(e){var n;this.d=new Te,this.j=new Vr,this.g=new Vr,n=e.g.b,this.f=u(C(_r(n),(Oe(),pl)),86),this.e=ne(re(sz(n,Dm)))}function $Je(e){this.d=new Te,this.e=new L0,this.c=le($t,ni,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=e}function Mde(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new Ee(0,i);case 2:case 4:return new Ee(i,0);default:return null}}function ZEn(e,n){var t;if(t=e3(e.o,n),t==null)throw R(new ah("Node did not exist in input."));return Abe(e,n),$W(e,n),wbe(e,n,t),null}function RJe(e,n){var t,i;for(i=e.a.length,n.lengthi&&ir(n,i,null),n}function Fa(e,n){var t,i;for(i=e.c.length,n.lengthi&&ir(n,i,null),n}function IQ(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n0&&(Ce(e.b,new nIe(n.a,t)),i=n.a.length,0i&&(n.a+=YTe(le(Zl,xh,30,-i,15,1))))}function FJe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new P(o3(n));r.a=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t=0?e.Th(r):jW(e,i)):t<0?jW(e,i):u(i,69).uk().zk(e,e.ei(),t)}function qJe(e){var n,t,i;for(i=(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return rO(i)}function _e(e){var n;if(X(e.a,4)){if(n=jde(e.a),n==null)throw R(new Uc(jWe+e.b+"'. "+kWe+(T1(rD),rD.k)+O2e));return n}else return e.a}function fSn(e){var n;if(e==null)return null;if(n=MRn(bo(e,!0)),n==null)throw R(new TX("Invalid base64Binary value: '"+e+"'"));return n}function ft(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function PQ(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function oz(e){var n,t,i,r;for(r=0,t=0,i=e.length;t=64&&n<128&&(r=wh(r,Xh(1,n-64)));return r}function sz(e,n){var t,i;return i=null,wi(e,(Xt(),Q4))&&(t=u(C(e,Q4),105),t.nf(n)&&(i=t.mf(n))),i==null&&_r(e)&&(i=C(_r(e),n)),i}function aSn(e,n){var t;return t=u(C(e,(Oe(),Wc)),78),IK(n,sin)?t?qs(t):(t=new xs,he(e,Wc,t)):t&&he(e,Wc,null),t}function hSn(e,n){var t,i,r;for(r=new xo(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?A8(e,t,t.c):ACn(e,t)||qn(r.c,t);return r}function UJe(e,n){var t,i,r;for(t=e.o,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=bxn(i,t.a),i.e.b=t.b*ne(re(i.b.mf(yJ)))}function dSn(e,n){var t,i,r,c;return r=e.k,t=ne(re(C(e,(ve(),mp)))),c=n.k,i=ne(re(C(n,mp))),c!=(Fn(),wr)?-1:r!=wr?1:t==i?0:tt.b)return!0}return!1}function VJe(e){var n;return n=new j0,n.a+="n",e.k!=(Fn(),Wi)&&Kt(Kt((n.a+="(",n),RK(e.k).toLowerCase()),")"),Kt((n.a+="_",n),zO(e)),n.a}function XE(){XE=Y,Lye=new bT(zpe,0),Zie=new bT(cee,1),ere=new bT("LINEAR_SEGMENTS",2),Ax=new bT("BRANDES_KOEPF",3),Mx=new bT(UQe,4)}function i4(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function Cde(e,n){switch(n){case 7:!e.e&&(e.e=new In(pr,e,7,4)),kt(e.e);return;case 8:!e.d&&(e.d=new In(pr,e,8,5)),kt(e.d);return}gde(e,n)}function Ei(e,n,t){return t==null?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),iz(e.o,n)):(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),HO(e.o,n,t)),e}function Yu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=sr(i),X(i,112)?R(new jo("Can't get element "+n)):R(i)}}function YJe(e,n){var t;switch(t=u(zc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function ySn(e){var n;n=e.a;do n=u(rt(new Xn(Qn(cr(n).a.Jc(),new ee))),17).c.i,n.k==(Fn(),dr)&&e.b.Ec(n);while(n.k==(Fn(),dr));e.b=Ks(e.b)}function QJe(e,n){var t,i,r;for(r=e,i=new Xn(Qn(cr(n).a.Jc(),new ee));ht(i);)t=u(rt(i),17),t.c.i.c&&(r=k.Math.max(r,t.c.i.c.p));return r}function kSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function jSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function WJe(e){var n,t,i,r;if(i=0,r=nm(e),r.c.length==0)return 1;for(t=new P(r);t.a=0?e.Ih(o,t,!0):Yw(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function xSn(e,n,t,i){var r,c;c=n.nf((Xt(),i5))?u(n.mf(i5),22):e.j,r=mjn(c),r!=(iF(),pte)&&(t&&!yde(r)||I0e(zOn(e,r,i),n))}function $Q(e,n){return $r(e)?!!Ven[n]:e.Qm?!!e.Qm[n]:m2(e)?!!Ken[n]:p2(e)?!!Xen[n]:!1}function ASn(e){switch(e.g){case 1:return Fw(),WN;case 3:return Fw(),QN;case 2:return Fw(),vte;case 4:return Fw(),mte;default:return null}}function MSn(e,n,t){if(e.e)switch(e.b){case 1:J5n(e.c,n,t);break;case 0:H5n(e.c,n,t)}else bPe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function eHe(e){var n,t;if(e==null)return null;for(t=le(s1,Ae,199,e.length,0,2),n=0;nc?1:0):0}function V2(){V2=Y,TH=new p$(ya,0),Qie=new p$("PORT_POSITION",1),V3=new p$("NODE_SIZE_WHERE_SPACE_PERMITS",2),K3=new p$("NODE_SIZE",3)}function CSn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(C(e,(Ti(),j4e)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),Vt(i.b.d,i),Vt(i.c.b,i);n.Ug()}function Wh(){Wh=Y,lce=new Jj("AUTOMATIC",0),_I=new Jj(m4,1),LI=new Jj(v4,2),cG=new Jj("TOP",3),iG=new Jj(iwe,4),rG=new Jj(U8,5)}function f3(e,n,t){var i,r;if(r=e.gc(),n>=r)throw R(new S2(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw R(new Un(JN));return e.Vi(n,t)}function Bd(e,n){var t,i,r;if(r=PHe(e,n),r>=0)return r;if(e.ml()){for(i=0;i0||e==(EX(),Yne)||n==(SX(),Qne))throw R(new Un("Invalid range: "+dPe(e,n)))}function Ode(e,n,t,i){N8();var r,c;for(r=0,c=0;c0),(n&-n)==n)return lc(n*Ds(e,31)*4656612873077393e-25);do t=Ds(e,31),i=t%n;while(t-i+(n-1)<0);return lc(i)}function TSn(e,n){var t,i,r;for(t=Sw(new Rb,e),r=new P(n);r.a1&&(c=TSn(e,n)),c}function _Sn(e){var n,t,i;for(n=0,i=new P(e.c.a);i.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function qQ(e,n){if(e==null)throw R(new by("null key in entry: null="+n));if(n==null)throw R(new by("null value in entry: "+e+"=null"))}function sHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[fQ(e.a[0],n),fQ(e.a[1],n),fQ(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function lHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[HB(e.a[0],n),HB(e.a[1],n),HB(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function _de(e,n,t){Oy(u(C(n,(Oe(),Zi)),102))||(Vae(e,n,zd(n,t)),Vae(e,n,zd(n,(Ie(),bt))),Vae(e,n,zd(n,Vn)),En(),Tr(n.j,new sEe(e)))}function fHe(e){var n,t;for(e.c||LPn(e),t=new xs,n=new P(e.a),L(n);n.a0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function QSn(e){var n;return e==null?null:new C0((n=bo(e,!0),n.length>0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function Pde(e,n,t,i,r,c,o,l){var f,h;i&&(f=i.a[0],f&&Pde(e,n,t,f,r,c,o,l),eW(e,t,i.d,r,c,o,l)&&n.Ec(i),h=i.a[1],h&&Pde(e,n,t,h,r,c,o,l))}function KE(e,n){var t,i,r,c;for(c=e.gc(),n.lengthc&&ir(n,c,null),n}function WSn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(f+=r),h[g]=o,o+=l*(f+i)}function cxn(e){var n;for(n=0;n0?e.c:0),++r;e.b=i,e.d=c}function jHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[Nde(e,(pa(),Ou),n),Nde(e,No,n),Nde(e,Nu,n)]),e.f&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function EHe(e){var n;wi(e,(Oe(),yp))&&(n=u(C(e,yp),22),n.Gc((em(),Qf))?(n.Kc(Qf),n.Ec(Wf)):n.Gc(Wf)&&(n.Kc(Wf),n.Ec(Qf)))}function SHe(e){var n;wi(e,(Oe(),yp))&&(n=u(C(e,yp),22),n.Gc((em(),ea))?(n.Kc(ea),n.Ec(mf)):n.Gc(mf)&&(n.Kc(mf),n.Ec(ea)))}function QQ(e,n,t,i){var r,c,o,l;return e.a==null&&tCn(e,n),o=n.b.j.c.length,c=t.d.p,l=i.d.p,r=l-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function uxn(e){var n;for(n=0;n0&&(r.b+=n),r}function pz(e,n){var t,i,r;for(r=new Vr,i=e.Jc();i.Ob();)t=u(i.Pb(),37),I8(t,0,r.b),r.b+=t.f.b+n,r.a=k.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function AHe(e,n){var t,i;if(n.length==0)return 0;for(t=CV(e.a,n[0],(Ie(),Yn)),t+=CV(e.a,n[n.length-1],nt),i=0;i>16==6?e.Cb.Qh(e,5,Ma,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function hxn(e){J9();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` +`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` +`)}return[]}function dxn(e){var n;return n=(LBe(),onn),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}function CHe(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=w1e(k.Math.max(8,i))<<1,e.b!=0?(n=_f(e.a,t),zBe(e,n,i),e.a=n,e.b=0):o2(e.a,t),e.c=i)}function bxn(e,n){var t;return t=e.b,t.nf((Xt(),Ps))?t.$f()==(Ie(),Yn)?-t.Kf().a-ne(re(t.mf(Ps))):n+ne(re(t.mf(Ps))):t.$f()==(Ie(),Yn)?-t.Kf().a:n}function zO(e){var n;return e.b.c.length!=0&&u(Le(e.b,0),70).a?u(Le(e.b,0),70).a:(n=IV(e),n??""+(e.c?pu(e.c.a,e,0):-1))}function mz(e){var n;return e.f.c.length!=0&&u(Le(e.f,0),70).a?u(Le(e.f,0),70).a:(n=IV(e),n??""+(e.i?pu(e.i.j,e,0):-1))}function gxn(e,n){var t,i;if(n<0||n>=e.gc())return null;for(t=n;t0?e.c:0),r=k.Math.max(r,n.d),++i;e.e=c,e.b=r}function wxn(e){var n,t;if(!e.b)for(e.b=GR(u(e.f,125).jh().i),t=new st(u(e.f,125).jh());t.e!=t.i.gc();)n=u(ft(t),157),Ce(e.b,new MX(n));return e.b}function pxn(e,n){var t,i,r;if(n.dc())return T9(),T9(),cD;for(t=new nNe(e,n.gc()),r=new st(e);r.e!=r.i.gc();)i=ft(r),n.Gc(i)&&Et(t,i);return t}function Bde(e,n,t,i){return n==0?i?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o):(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),rO(e.o)):fz(e,n,t,i)}function ZQ(e){var n,t;if(e.rb)for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&Ls,e.m=i&Ls,e.h=r&U1,!0)}function eW(e,n,t,i,r,c,o){var l,f;return!(n.Re()&&(f=e.a.Le(t,i),f<0||!r&&f==0)||n.Se()&&(l=e.a.Le(t,c),l>0||!o&&l==0))}function kxn(e,n){u8();var t;if(t=e.j.g-n.j.g,t!=0)return 0;switch(e.j.g){case 2:return kQ(n,b3e)-kQ(e,b3e);case 4:return kQ(e,d3e)-kQ(n,d3e)}return 0}function jxn(e){switch(e.g){case 0:return rie;case 1:return cie;case 2:return uie;case 3:return oie;case 4:return WJ;case 5:return sie;default:return null}}function Qc(e,n,t){var i,r;return i=(r=new kX,sg(r,n),Mo(r,t),Et((!e.c&&(e.c=new pe(xp,e,12,10)),e.c),r),r),Dd(i,0),z2(i,1),Rd(i,!0),$d(i,!0),i}function r4(e,n){var t,i;if(n>=e.i)throw R(new EK(n,e.i));return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Wu(e.g,n+1,e.g,n,i),ir(e.g,--e.i,null),e.Oi(n,t),e.Li(),t}function THe(e,n){var t,i;return e.Db>>16==17?e.Cb.Qh(e,21,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Exn(e){var n,t,i,r;for(En(),Tr(e.c,e.a),r=new P(e.c);r.at.a.c.length))throw R(new Un("index must be >= 0 and <= layer node count"));e.c&&qo(e.c.a,e),e.c=t,t&&Hb(t.a,n,e)}function $He(e,n){this.c=new wt,this.a=e,this.b=n,this.d=u(C(e,(ve(),H3)),316),ue(C(e,(Oe(),lye)))===ue((lO(),ZJ))?this.e=new Axe:this.e=new xxe}function Txn(e,n){var t,i,r,c;for(c=0,i=new P(e);i.a0?n:0),++t;return new Ee(i,r)}function Oxn(e,n){var t,i;for(e.b=0,e.d=new FP,i=new P(n.a);i.a>16==6?e.Cb.Qh(e,6,pr,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),mG)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function qde(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,1,eD,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),$8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Ude(e,n){var t,i;return e.Db>>16==9?e.Cb.Qh(e,9,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),B8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function zHe(e,n){var t,i;return e.Db>>16==5?e.Cb.Qh(e,9,MG,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),i0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function FHe(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,6,Ma,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),c0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Xde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,0,tD,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),t0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Kde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,12,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),P8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function _xn(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rRZ)return k8(e,i);if(i==e)return!0}}return!1}function Pxn(e){switch(q$(),e.q.g){case 5:Cqe(e,(Ie(),Vn)),Cqe(e,bt);break;case 4:_Ue(e,(Ie(),Vn)),_Ue(e,bt);break;default:PVe(e,(Ie(),Vn)),PVe(e,bt)}}function $xn(e){switch(q$(),e.q.g){case 5:Xqe(e,(Ie(),nt)),Xqe(e,Yn);break;case 4:UJe(e,(Ie(),nt)),UJe(e,Yn);break;default:$Ve(e,(Ie(),nt)),$Ve(e,Yn)}}function Rxn(e){var n,t;n=u(C(e,(Gf(),Ttn)),15),n?(t=n.a,t==0?he(e,($0(),SJ),new yQ):he(e,($0(),SJ),new QR(t))):he(e,($0(),SJ),new QR(1))}function Bxn(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function zxn(e,n){switch(e.g){case 0:return n==(Xs(),Q1)?GJ:qJ;case 1:return n==(Xs(),Q1)?GJ:iI;case 2:return n==(Xs(),Q1)?iI:qJ;default:return iI}}function JO(e,n){var t,i,r;for(qo(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=qee,i=new P(e.a);i.a>16==11?e.Cb.Qh(e,10,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),R8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function JHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,11,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),r0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function HHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,12,kf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),Qm)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function GHe(e,n){var t,i,r,c,o;if(n)for(r=n.a.length,t=new qb(r),o=(t.b-t.a)*t.c<0?(A0(),xb):new T0(t);o.Ob();)c=u(o.Pb(),15),i=G9(n,c.a),i&&CUe(e,i)}function Xxn(){ise();var e,n;for(bBn((O0(),Bn)),rBn(Bn),ZQ(Bn),Z8e=(jn(),uh),n=new P(s7e);n.a>19,h=n.h>>19,f!=h?h-f:(r=e.h,l=n.h,r!=l?r-l:(i=e.m,o=n.m,i!=o?i-o:(t=e.l,c=n.l,t-c)))}function qHe(e,n,t){var i,r,c,o,l;for(r=e[t.g],l=new P(n.d);l.a0?e.b:0),++t;n.b=i,n.e=r}function UHe(e){var n,t,i;if(i=e.b,jMe(e.i,i.length)){for(t=i.length*2,e.b=le(Wne,mN,308,t,0,1),e.c=le(Wne,mN,308,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c)YO(e,n,n);++e.g}}function QE(e,n){return e.b.a=k.Math.min(e.b.a,n.c),e.b.b=k.Math.min(e.b.b,n.d),e.a.a=k.Math.max(e.a.a,n.c),e.a.b=k.Math.max(e.a.b,n.d),qn(e.c,n),!0}function Vxn(e,n,t){var i;i=n.c.i,i.k==(Fn(),dr)?(he(e,(ve(),Sa),u(C(i,Sa),12)),he(e,wf,u(C(i,wf),12))):(he(e,(ve(),Sa),n.c),he(e,wf,t.d))}function j8(e,n,t){O8();var i,r,c,o,l,f;return o=n/2,c=t/2,i=k.Math.abs(e.a),r=k.Math.abs(e.b),l=1,f=1,i>o&&(l=o/i),r>c&&(f=c/r),C1(e,k.Math.min(l,f)),e}function Yxn(){Kz();var e,n;try{if(n=u(u0e((x0(),jf),f7),2075),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hU}function Qxn(){Kz();var e,n;try{if(n=u(u0e((x0(),jf),df),2002),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hw}function Wxn(){V$e();var e,n;try{if(n=u(u0e((x0(),jf),jg),2084),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hC}function Zxn(e,n,t){var i,r;return r=e.e,e.e=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),r!=n&&(n?t=$8(e,_z(e,n),t):t=$8(e,e.a,t)),t}function XHe(){u$.call(this),this.e=-1,this.a=!1,this.p=Xr,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=Xr}function eAn(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function nAn(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function tAn(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Qde(){Qde=Y,Xtn=Eo(qt(qt(qt(new or,(zr(),no),(Ur(),Zve)),no,e3e),Pc,n3e),Pc,Jve),Vtn=qt(qt(new or,no,Lve),no,Hve),Ktn=Eo(new or,Pc,qve)}function iAn(e){var n,t,i,r,c;for(n=u(C(e,(ve(),ax)),92),c=e.n,i=n.Bc().Jc();i.Ob();)t=u(i.Pb(),318),r=t.i,r.c+=c.a,r.d+=c.b,t.c?vXe(t):yXe(t);he(e,ax,null)}function rAn(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function KHe(e,n){var t,i;for(i=new P(n);i.a0&&(o=(c&oi)%e.d.length,r=ebe(e,o,c,n),r)?(l=r.ld(t),l):(i=e.ak(c,n,t),e.c.Ec(i),null)}function e0e(e,n){var t,i,r,c;switch(Pd(e,n).Il()){case 3:case 2:{for(t=m3(n),r=0,c=t.i;r=0;i--)if(bn(e[i].d,n)||bn(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break}return e}function GO(e,n){var t;return su(e)&&su(n)&&(t=e/n,kN0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=k.Math.min(i,r))}function nGe(e,n){var t,i;if(i=!1,$r(n)&&(i=!0,$y(e,new O2(Pt(n)))),i||X(n,242)&&(i=!0,$y(e,(t=UK(u(n,242)),new Tv(t)))),!i)throw R(new CX(K2e))}function kAn(e,n,t,i){var r,c,o;return r=new $1(e.e,1,10,(o=n.c,X(o,88)?u(o,29):(jn(),Ef)),(c=t.c,X(c,88)?u(c,29):(jn(),Ef)),Bd(e,n),!1),i?i.lj(r):i=r,i}function i0e(e){var n,t;switch(u(C(_r(e),(Oe(),nye)),420).g){case 0:return n=e.n,t=e.o,new Ee(n.a+t.a/2,n.b+t.b/2);case 1:return new wc(e.n);default:return null}}function qO(){qO=Y,eH=new Bj(ya,0),N3e=new Bj("LEFTUP",1),D3e=new Bj("RIGHTUP",2),O3e=new Bj("LEFTDOWN",3),I3e=new Bj("RIGHTDOWN",4),lie=new Bj("BALANCED",5)}function jAn(e,n,t){var i,r,c;if(i=ji(e.a[n.p],e.a[t.p]),i==0){if(r=u(C(n,(ve(),$4)),16),c=u(C(t,$4),16),r.Gc(t))return-1;if(c.Gc(n))return 1}return i}function EAn(e){switch(e.g){case 1:return new B_;case 2:return new $k;case 3:return new X5;case 0:return null;default:throw R(new Un(Wee+(e.f!=null?e.f:""+e.g)))}}function r0e(e,n,t){switch(n){case 1:!e.n&&(e.n=new pe(Eu,e,1,7)),kt(e.n),!e.n&&(e.n=new pe(Eu,e,1,7)),nr(e.n,u(t,18));return;case 2:W9(e,Pt(t));return}x1e(e,n,t)}function c0e(e,n,t){switch(n){case 3:Rw(e,ne(re(t)));return;case 4:Bw(e,ne(re(t)));return;case 5:Os(e,ne(re(t)));return;case 6:Ns(e,ne(re(t)));return}r0e(e,n,t)}function vz(e,n,t){var i,r,c;c=(i=new kX,i),r=Ha(c,n,null),r&&r.mj(),Mo(c,t),Et((!e.c&&(e.c=new pe(xp,e,12,10)),e.c),c),Dd(c,0),z2(c,1),Rd(c,!0),$d(c,!0)}function u0e(e,n){var t,i,r;return t=Pj(e.i,n),X(t,241)?(r=u(t,241),r.wi()==null,r.ti()):X(t,493)?(i=u(t,1999),r=i.b,r):null}function SAn(e,n,t,i){var r,c;return Ot(n),Ot(t),c=u(rE(e.d,n),15),ORe(!!c,"Row %s not in %s",n,e.e),r=u(rE(e.b,t),15),ORe(!!r,"Column %s not in %s",t,e.c),Tze(e,c.a,r.a,i)}function xAn(e){var n,t,i,r,c,o;for(t=null,r=e,c=0,o=r.length;c1||l==-1?(c=u(f,16),r.Wb(sEn(e,c))):r.Wb(FW(e,u(f,57)))))}function IAn(e,n,t,i){MMe();var r=Kne;function c(){for(var o=0;o0)return!1;return!0}function LAn(e){switch(u(C(e.b,(Oe(),K5e)),381).g){case 1:er(So(lu(new pn(null,new yn(e.d,16)),new cw),new u_),new uM);break;case 2:hDn(e);break;case 0:cTn(e)}}function PAn(e,n,t){var i,r,c;for(i=t,!i&&(i=new hy),i.Tg("Layout",e.a.c.length),c=new P(e.a);c.aKee)return t;r>-1e-6&&++t}return t}function kz(e,n,t){if(X(n,271))return lNn(e,u(n,85),t);if(X(n,276))return Fxn(e,u(n,276),t);throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function jz(e,n,t){if(X(n,271))return fNn(e,u(n,85),t);if(X(n,276))return Jxn(e,u(n,276),t);throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function s0e(e,n){var t;n!=e.b?(t=null,e.b&&(t=$R(e.b,e,-4,t)),n&&(t=i4(n,e,-4,t)),t=SFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function cGe(e,n){var t;n!=e.f?(t=null,e.f&&(t=$R(e.f,e,-1,t)),n&&(t=i4(n,e,-1,t)),t=xFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,n,n))}function FAn(e,n,t,i){var r,c,o,l;return Fs(e.e)&&(r=n.Jk(),l=n.kd(),c=t.kd(),o=I0(e,1,r,l,c,r.Hk()?_8(e,r,c,X(r,103)&&(u(r,19).Bb&Ec)!=0):-1,!0),i?i.lj(o):i=o),i}function uGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new kd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function oGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new kd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function JAn(e,n){var t,i,r,c,o;for(c=new P(n.a);c.a0&&rc(e,e.length-1)==33)try{return n=jUe(sf(e,0,e.length-1)),n.e==null}catch(t){if(t=sr(t),!X(t,32))throw R(t)}return!1}function UAn(e,n,t){var i,r,c;switch(i=_r(n),r=KB(i),c=new Qu,wu(c,n),t.g){case 1:Ar(c,_O(e4(r)));break;case 2:Ar(c,e4(r))}return he(c,(Oe(),Tm),re(C(e,Tm))),c}function l0e(e){var n,t;return n=u(rt(new Xn(Qn(cr(e.a).a.Jc(),new ee))),17),t=u(rt(new Xn(Qn(Ii(e.a).a.Jc(),new ee))),17),ze(Be(C(n,(ve(),Xd))))||ze(Be(C(t,Xd)))}function Y2(){Y2=Y,rI=new hT("ONE_SIDE",0),KJ=new hT("TWO_SIDES_CORNER",1),VJ=new hT("TWO_SIDES_OPPOSING",2),XJ=new hT("THREE_SIDES",3),UJ=new hT("FOUR_SIDES",4)}function fGe(e,n){var t,i,r,c;for(c=new Te,r=0,i=n.Jc();i.Ob();){for(t=ye(u(i.Pb(),15).a+r);t.a=e.f)break;qn(c.c,t)}return c}function XAn(e){var n,t;for(t=new P(e.e.b);t.a0&&NHe(this,this.c-1,(Ie(),nt)),this.c0&&e[0].length>0&&(this.c=ze(Be(C(_r(e[0][0]),(ve(),V3e))))),this.a=le(yon,Ae,2079,e.length,0,2),this.b=le(kon,Ae,2080,e.length,0,2),this.d=new mFe}function QAn(e){return e.c.length==0?!1:(kn(0,e.c.length),u(e.c[0],17)).c.i.k==(Fn(),dr)?!0:Wv(So(new pn(null,new yn(e,16)),new xk),new a_)}function dGe(e,n){var t,i,r,c,o,l,f;for(l=nm(n),c=n.f,f=n.g,o=k.Math.sqrt(c*c+f*f),r=0,i=new P(l);i.a=0?(t=GO(e,uF),i=AQ(e,uF)):(n=Ub(e,1),t=GO(n,5e8),i=AQ(n,5e8),i=mc(Xh(i,1),Rr(e,1))),wh(Xh(i,32),Rr(t,Dc))}function lMn(e,n,t,i){var r,c,o,l,f;for(r=null,c=0,l=new P(n);l.a1;n>>=1)(n&1)!=0&&(i=Qv(i,t)),t.d==1?t=Qv(t,t):t=new IJe(uKe(t.a,t.d,le($t,ni,30,t.d<<1,15,1)));return i=Qv(i,t),i}function m0e(){m0e=Y;var e,n,t,i;for(Xme=le(Jr,Jc,30,25,15,1),Kme=le(Jr,Jc,30,33,15,1),i=152587890625e-16,n=32;n>=0;n--)Kme[n]=i,i*=.5;for(t=1,e=24;e>=0;e--)Xme[e]=t,t*=.5}function bMn(e){var n,t;if(ze(Be(ke(e,(Oe(),Mm))))){for(t=new Xn(Qn(K0(e).a.Jc(),new ee));ht(t);)if(n=u(rt(t),85),Vw(n)&&ze(Be(ke(n,Cg))))return!0}return!1}function wGe(e){var n,t,i,r;for(n=new xi,t=new xi,r=St(e,0);r.b!=r.d.c;)i=u(jt(r),12),i.e.c.length==0?Ki(t,i,t.c.b,t.c):Ki(n,i,n.c.b,n.c);return Ks(n).Fc(t),n}function pGe(e,n){var t,i,r;hr(e.f,n)&&(n.b=e,i=n.c,pu(e.j,i,0)!=-1||Ce(e.j,i),r=n.d,pu(e.j,r,0)!=-1||Ce(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new PJe(e)),H7n(e.i,t)))}function gMn(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&bn(e.substr(n,3),"GMT")||n>=0&&bn(e.substr(n,3),"UTC"))&&(t[0]=n+3),nge(e,t,i)}function pMn(e,n){var t,i,r,c,o;for(c=e.g.a,o=e.g.b,i=new P(e.d);i.at;c--)e[c]|=n[c-t-1]>>>o,e[c-1]=n[c-t-1]<0&&Wu(e.g,n,e.g,n+i,l),o=t.Jc(),e.i+=i,r=0;r>4&15,c=e[i]&15,o[r++]=z8e[t],o[r++]=z8e[c];return vh(o,0,o.length)}function Xo(e){var n,t;return e>=Ec?(n=jN+(e-Ec>>10&1023)&yr,t=56320+(e-Ec&1023)&yr,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&yr)}function MMn(e,n){j2();var t,i,r,c;return r=u(u(vi(e.r,n),22),83),r.gc()>=2?(i=u(r.Jc().Pb(),115),t=e.u.Gc((ps(),cA)),c=e.u.Gc(e6),!i.a&&!t&&(r.gc()==2||c)):!1}function kGe(e,n,t,i,r){var c,o,l;for(c=aXe(e,n,t,i,r),l=!1;!c;)Iz(e,r,!0),l=!0,c=aXe(e,n,t,i,r);l&&Iz(e,r,!1),o=QY(r),o.c.length!=0&&(e.d&&e.d.Fg(o),kGe(e,r,t,i,o))}function xz(){xz=Y,Jre=new E$("NODE_SIZE_REORDERER",0),Bre=new E$("INTERACTIVE_NODE_REORDERER",1),Fre=new E$("MIN_SIZE_PRE_PROCESSOR",2),zre=new E$("MIN_SIZE_POST_PROCESSOR",3)}function Az(){Az=Y,Cce=new Gj(ya,0),o8e=new Gj("DIRECTED",1),l8e=new Gj("UNDIRECTED",2),c8e=new Gj("ASSOCIATION",3),s8e=new Gj("GENERALIZATION",4),u8e=new Gj("DEPENDENCY",5)}function CMn(e,n){var t;if(!Pa(e))throw R(new Uc(UWe));switch(t=Pa(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g)}return 0}function TMn(e,n,t){var i,r,c;return i=n.Jk(),c=n.kd(),r=i.Hk()?I0(e,4,i,c,null,_8(e,i,c,X(i,103)&&(u(i,19).Bb&Ec)!=0),!0):I0(e,i.rk()?2:1,i,c,i.gk(),-1,!0),t?t.lj(r):t=r,t}function S8(e,n){var t,i;for(Ln(n),i=e.b.c.length,Ce(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.Le(Le(e.b,i),n)<=0)return ol(e.b,t,n),!0;ol(e.b,t,Le(e.b,i))}return ol(e.b,i,n),!0}function k0e(e,n,t,i){var r,c;if(r=0,t)r=HB(e.a[t.g][n.g],i);else for(c=0;c=l)}function jGe(e){switch(e.g){case 0:return new Y_;case 1:return new BM;default:throw R(new Un("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function j0e(e,n,t,i){var r;if(r=!1,$r(i)&&(r=!0,D9(n,t,Pt(i))),r||p2(i)&&(r=!0,j0e(e,n,t,i)),r||X(i,242)&&(r=!0,Yb(n,t,u(i,242))),!r)throw R(new CX(K2e))}function NMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=ma((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),hf),r!=null)){for(i=1;i<(ls(),f7e).length;++i)if(bn(f7e[i],r))return i}return 0}function IMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=ma((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),hf),r!=null)){for(i=1;i<(ls(),a7e).length;++i)if(bn(a7e[i],r))return i}return 0}function EGe(e,n){var t,i,r,c;if(Ln(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=e.a.Le(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function LMn(e){var n,t,i,r;for(n=new Te,t=le(ts,va,30,e.a.c.length,16,1),Bfe(t,t.length),r=new P(e.a);r.a0&&nKe((kn(0,t.c.length),u(t.c[0],25)),e),t.c.length>1&&nKe(u(Le(t,t.c.length-1),25),e),n.Ug()}function $Mn(e){ps();var n,t;return n=Ci(nd,F(z(hG,1),je,280,0,[yb])),!(yO(RR(n,e))>1||(t=Ci(cA,F(z(hG,1),je,280,0,[rA,e6])),yO(RR(t,e))>1))}function S0e(e,n){var t;t=lo((x0(),jf),e),X(t,493)?Kc(jf,e,new tTe(this,n)):Kc(jf,e,this),bW(this,n),n==(m9(),W8e)?(this.wb=u(this,2e3),u(n,2002)):this.wb=(O0(),Bn)}function RMn(e){var n,t,i;if(e==null)return null;for(n=null,t=0;tc}function MGe(e,n){var t,i,r;if(A0e(e,n))return!0;for(i=new P(n);i.a=r||n<0)throw R(new jo(Cne+n+yg+r));if(t>=r||t<0)throw R(new jo(Tne+t+yg+r));return n!=t?i=(c=e.Aj(t),e.oj(n,c),c):i=e.vj(t),i}function TGe(e){var n,t,i;if(i=e,e)for(n=0,t=e.Bh();t;t=t.Bh()){if(++n>RZ)return TGe(t);if(i=t,t==e)throw R(new Uc("There is a cycle in the containment hierarchy of "+e))}return i}function Ga(e){var n,t,i;for(i=new rg(To,"[","]"),t=e.Jc();t.Ob();)n=t.Pb(),L1(i,ue(n)===ue(e)?"(this Collection)":n==null?Vo:fu(n));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function A0e(e,n){var t,i;if(i=!1,n.gc()<2)return!1;for(t=0;t1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=k.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e))}function U0(){U0=Y,Lin=F(z(xc,1),qu,64,0,[(Ie(),Vn),nt,bt]),_in=F(z(xc,1),qu,64,0,[nt,bt,Yn]),Pin=F(z(xc,1),qu,64,0,[bt,Yn,Vn]),$in=F(z(xc,1),qu,64,0,[Yn,Vn,nt])}function NGe(e){var n,t,i,r,c,o,l,f,h;for(this.a=eHe(e),this.b=new Te,t=e,i=0,r=t.length;iFK(e.d).c?(e.i+=e.g.c,TQ(e.d)):FK(e.d).c>FK(e.g).c?(e.e+=e.d.c,TQ(e.g)):(e.i+=OIe(e.g),e.e+=OIe(e.d),TQ(e.g),TQ(e.d))}function XMn(e,n,t){var i,r,c,o;for(c=n.q,o=n.r,new Qb((ba(),db),n,c,1),new Qb(db,c,o,1),r=new P(t);r.al&&(f=l/i),r>c&&(h=c/r),o=k.Math.min(f,h),e.a+=o*(n.a-e.a),e.b+=o*(n.b-e.b)}function QMn(e,n,t,i,r){var c,o;for(o=!1,c=u(Le(t.b,0),26);eLn(e,n,c,i,r)&&(o=!0,$An(t,c),t.b.c.length!=0);)c=u(Le(t.b,0),26);return t.b.c.length==0&&JO(t.j,t),o&&wz(n.q),o}function C0e(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),Y$(e.o,n,i)):(c=u(Cn((r=u(Kn(e,16),29),r||e.fi()),t),69),c.uk().yk(e,Lo(e),t-dt(e.fi()),n,i))}function bW(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=u(e.sb,52).Qh(e,1,sA,t)),n&&(t=u(n,52).Oh(e,1,sA,t)),t=F1e(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,n,n))}function LGe(e,n){var t,i,r,c;if(n)r=B1(n,"x"),t=new mSe(e),n3(t.a,(Ln(r),r)),c=B1(n,"y"),i=new vSe(e),t3(i.a,(Ln(c),c));else throw R(new ah("All edge sections need an end point."))}function PGe(e,n){var t,i,r,c;if(n)r=B1(n,"x"),t=new gSe(e),i3(t.a,(Ln(r),r)),c=B1(n,"y"),i=new wSe(e),r3(i.a,(Ln(c),c));else throw R(new ah("All edge sections need a start point."))}function WMn(e,n){var t,i,r,c,o,l,f;for(i=tFe(e),c=0,l=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<=Jd?"error":i>=900?"warn":i>=800?"info":"log"),EDe(t,e.a),e.b&&Tbe(n,t,e.b,"Exception: ",!0))}function zGe(e,n){var t,i,r,c,o;for(r=n==1?Cte:Mte,i=r.a.ec().Jc();i.Ob();)for(t=u(i.Pb(),86),o=u(vi(e.f.c,t),22).Jc();o.Ob();)c=u(o.Pb(),49),Ce(e.b.b,u(c.b,82)),Ce(e.b.a,u(c.b,82).d)}function FGe(e,n,t,i){var r,c,o,l,f;switch(f=e.b,c=n.d,o=c.j,l=Mde(o,f.d[o.g],t),r=pi(pc(c.n),c.a),c.j.g){case 3:case 1:l.a+=r.a;break;case 2:l.b+=r.b;break;case 4:l.b+=r.b}Ki(i,l,i.c.b,i.c)}function tCn(e,n){var t,i,r,c;for(c=n.b.j,e.a=le($t,ni,30,c.c.length,15,1),r=0,i=0;ie)throw R(new Un("k must be smaller than n"));return n==0||n==e?1:e==0?0:n0e(e)/(n0e(n)*n0e(e-n))}function T0e(e,n){var t,i,r,c;for(t=new MK(e);t.g==null&&!t.c?yae(t):t.g==null||t.i!=0&&u(t.g[t.i-1],50).Ob();)if(c=u(Dz(t),57),X(c,174))for(i=u(c,174),r=0;r>4],n[t*2+1]=IG[c&15];return vh(n,0,n.length)}function gCn(e){var n,t,i;switch(i=e.c.length,i){case 0:return OV(),enn;case 1:return n=u(Eqe(new P(e)),45),Kpn(n.jd(),n.kd());default:return t=u(Fa(e,le(Eg,rF,45,e.c.length,0,1)),175),new cse(t)}}function zd(e,n){switch(n.g){case 1:return Ny(e.j,(ss(),Mve));case 2:return Ny(e.j,(ss(),xve));case 3:return Ny(e.j,(ss(),Tve));case 4:return Ny(e.j,(ss(),Ove));default:return En(),En(),Sc}}function wCn(e,n){var t,i,r;t=Hvn(n,e.e),i=u(zn(e.g.f,t),15).a,r=e.a.c.length-1,e.a.c.length!=0&&u(Le(e.a,r),295).c==i?(++u(Le(e.a,r),295).a,++u(Le(e.a,r),295).b):Ce(e.a,new _Oe(i))}function X0(){X0=Y,oln=(Xt(),Y4),sln=Zd,iln=Lg,rln=r5,cln=wb,tln=i5,Q4e=zI,uln=Fm,Dre=(Ube(),qsn),_re=Usn,Z4e=Ysn,Lre=Zsn,e6e=Qsn,n6e=Wsn,W4e=Xsn,qH=Ksn,UH=Vsn,TI=eln,t6e=nln,Y4e=Gsn}function HGe(e,n){var t,i,r,c,o;if(e.e<=n||j4n(e,e.g,n))return e.g;for(c=e.r,i=e.g,o=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=k.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a))}function vCn(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b}}function yCn(e,n,t){var i,r,c;for(r=new Xn(Qn(mh(t).a.Jc(),new ee));ht(r);)i=u(rt(r),17),!uc(i)&&!(!uc(i)&&i.c.i.c==i.d.i.c)&&(c=$Ue(e,i,t,new Sxe),c.c.length>1&&qn(n.c,c))}function UGe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e}function kCn(e){if(X(e,144))return JNn(u(e,144));if(X(e,233))return Zjn(u(e,233));if(X(e,21))return eCn(u(e,21));throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[e])))))}function jCn(e,n,t,i,r){var c,o,l;for(c=!0,o=0;o>>r|t[o+i+1]<>>r,++o}return c}function D0e(e,n,t,i){var r,c,o;if(n.k==(Fn(),dr)){for(c=new Xn(Qn(cr(n).a.Jc(),new ee));ht(c);)if(r=u(rt(c),17),o=r.c.i.k,o==dr&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t)return!0}return!1}function ECn(e,n){var t,i,r,c;return n&=63,t=e.h&U1,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),_o(i&Ls,r&Ls,c&U1)}function XGe(e,n,t,i){var r;this.b=i,this.e=e==(og(),Nx),r=n[t],this.d=x2(ts,[Ae,va],[171,30],16,[r.length,r.length],2),this.a=x2($t,[Ae,ni],[54,30],15,[r.length,r.length],2),this.c=new b0e(n,t)}function SCn(e){var n,t,i;for(e.k=new Aae((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,e.j.c.length),i=new P(e.j);i.a=t)return A8(e,n,i.p),!0;return!1}function b3(e,n,t,i){var r,c,o,l,f,h;for(o=t.length,c=0,r=-1,h=WRe((Wn(n,e.length+1),e.substr(n)),(VK(),qme)),l=0;lc&&_3n(h,WRe(t[l],qme))&&(r=l,c=f);return r>=0&&(i[0]=n+c),r}function MCn(e,n,t){var i,r,c,o,l,f,h,g;c=e.d.p,l=c.e,f=c.r,e.g=new _T(f),o=e.d.o.c.p,i=o>0?l[o-1]:le(s1,Hd,9,0,0,1),r=l[o],h=ot?H0e(e,t,"start index"):n<0||n>t?H0e(n,t,"end index"):sS("end index (%s) must not be less than start index (%s)",F(z(Mr,1),Nn,1,5,[ye(n),ye(e)]))}function WGe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&ZGe(e,c,t));n.p=0}function NCn(e){var n,t,i,r;for(n=Kb(Kt(new il("Predicates."),"and"),40),t=!0,r=new qc(e);r.b=0?e.hi(r):X0e(e,i);else throw R(new Un(ib+i.ve()+RS));else throw R(new Un(iZe+n+rZe));else Jl(e,t,i)}function _0e(e){var n,t;if(t=null,n=!1,X(e,210)&&(n=!0,t=u(e,210).a),n||X(e,265)&&(n=!0,t=""+u(e,265).a),n||X(e,479)&&(n=!0,t=""+u(e,479).a),!n)throw R(new CX(K2e));return t}function L0e(e,n,t){var i,r,c,o,l,f;for(f=Po(e.e.Ah(),n),i=0,l=e.i,r=u(e.g,122),o=0;o=e.d.b.c.length&&(n=new Xu(e.d),n.p=i.p-1,Ce(e.d.b,n),t=new Xu(e.d),t.p=i.p,Ce(e.d.b,t)),Or(i,u(Le(e.d.b,i.p),25))}function _Cn(e){var n,t,i,r;for(t=new xi,ac(t,e.o),i=new FP;t.b!=0;)n=u(t.b==0?null:(at(t.b!=0),Rl(t,t.a.a)),500),r=HVe(e,n,!0),r&&Ce(i.a,n);for(;i.a.c.length!=0;)n=u(N1e(i),500),HVe(e,n,!1)}function qe(e){var n;this.c=new xi,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=u(fa(eh),10),new Ll(n,u(_f(n,n.length),10),0)),this.g=e.f}function hg(){hg=Y,l9e=new ky(ES,0),xr=new ky("BOOLEAN",1),dc=new ky("INT",2),K4=new ky("STRING",3),ec=new ky("DOUBLE",4),Bi=new ky("ENUM",5),X4=new ky("ENUMSET",6),nh=new ky("OBJECT",7)}function ZE(e,n){var t,i,r,c,o;i=k.Math.min(e.c,n.c),c=k.Math.min(e.d,n.d),r=k.Math.max(e.c+e.b,n.c+n.b),o=k.Math.max(e.d+e.a,n.d+n.a),r=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)Ahe(this);this.b=n,this.a=null}function $Cn(e,n){var t,i;n.a?uIn(e,n):(t=u(BX(e.b,n.b),60),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Ec(n.b),i=u(RX(e.b,n.b),60),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Ec(i),DK(e.b,n.b))}function uqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.b=0,t.n.c=0;return}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Gc((Vs(),$g))&&PXe(e,n),i=jSn(e,n),NW(e,n)==(l3(),mb)&&(i+=2*e.w),t.a.a=i}function oqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.d=0,t.n.a=0;return}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Gc((Vs(),$g))&&$Xe(e,n),i=kSn(e,n),NW(e,n)==(l3(),mb)&&(i+=2*e.w),t.a.b=i}function RCn(e,n){var t,i,r,c;for(c=new Te,i=new P(n);i.ai&&(Wn(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return i>0||nt.a&&(i.Gc((ag(),Kx))?r=(n.a-t.a)/2:i.Gc(Vx)&&(r=n.a-t.a)),n.b>t.b&&(i.Gc((ag(),Qx))?c=(n.b-t.b)/2:i.Gc(Yx)&&(c=n.b-t.b)),E0e(e,r,c)}function hqe(e,n,t,i,r,c,o,l,f,h,g,p,y){X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),4),Mo(e,t),e.f=o,b8(e,l),g8(e,f),h8(e,h),d8(e,g),Rd(e,p),w8(e,y),$d(e,!0),Dd(e,r),e.Xk(c),sg(e,n),i!=null&&(e.i=null,MB(e,i))}function H0e(e,n,t){if(e<0)return sS(dYe,F(z(Mr,1),Nn,1,5,[t,ye(e)]));if(n<0)throw R(new Un(bYe+n));return sS("%s (%s) must not be greater than size (%s)",F(z(Mr,1),Nn,1,5,[t,ye(e),ye(n)]))}function G0e(e,n,t,i,r,c){var o,l,f,h;if(o=i-t,o<7){Ujn(n,t,i,c);return}if(f=t+r,l=i+r,h=f+(l-f>>1),G0e(n,e,f,h,-r,c),G0e(n,e,h,l,-r,c),c.Le(e[h-1],e[h])<=0){for(;t=0?e.$h(c,t):jbe(e,r,t);else throw R(new Un(ib+r.ve()+RS));else throw R(new Un(iZe+n+rZe));else Hl(e,i,r,t)}function dqe(e){var n,t;if(e.f){for(;e.n>0;){if(n=u(e.k.Xb(e.n-1),75),t=n.Jk(),X(t,103)&&(u(t,19).Bb&Ru)!=0&&(!e.e||t.nk()!=Q7||t.Jj()!=0)&&n.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function bqe(e){var n,t,i,r;if(t=u(e,52).Yh(),t)try{if(i=null,n=C8((x0(),jf),cKe(eEn(t))),n&&(r=n.Zh(),r&&(i=r.Dl(Jbn(t.e)))),i&&i!=e)return bqe(i)}catch(c){if(c=sr(c),!X(c,63))throw R(c)}return e}function eTn(e,n,t){var i,r,c;t.Tg("Remove overlaps",1),t.bh(n,Wpe),i=u(ke(n,(Xv(),W3)),26),e.f=i,e.a=RQ(u(ke(n,(X0(),TI)),303)),r=re(ke(n,(Xt(),Zd))),uy(e,(Ln(r),r)),c=nm(i),AVe(e,n,c,t),t.bh(n,RF)}function nTn(e){var n,t,i;if(ze(Be(ke(e,(Xt(),RI))))){for(i=new Te,t=new Xn(Qn(K0(e).a.Jc(),new ee));ht(t);)n=u(rt(t),85),Vw(n)&&ze(Be(ke(n,wce)))&&qn(i.c,n);return i}else return En(),En(),Sc}function gqe(e){if(!e)return oAe(),cnn;var n=e.valueOf?e.valueOf():e;if(n!==e){var t=rte[typeof n];return t?t(n):H1e(typeof n)}else return e instanceof Array||e instanceof k.Array?new u9(e):new s9(e)}function wqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=nS(i),r.a=eS(i),r.b=k.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}GW(i),qW(i)}function pqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=nS(i),r.a=eS(i),r.a=k.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}GW(i),qW(i)}function tTn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=Jy(n),r?k.Math.max(0,e.b/2-.5):(t=Yv(n),t?(i=ne(re(X2(t,(Oe(),Ig)))),k.Math.max(0,i/2-.5)):Vi))}function iTn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=Jy(n),r?k.Math.max(0,e.b/2-.5):(t=Yv(n),t?(i=ne(re(X2(t,(Oe(),Ig)))),k.Math.max(0,i/2-.5)):Vi))}function rTn(e,n){var t,i,r,c,o;if(!n.dc()){if(r=u(n.Xb(0),132),n.gc()==1){nXe(e,r,r,1,0,n);return}for(t=1;t0)try{r=hl(n,Xr,oi)}catch(c){throw c=sr(c),X(c,131)?(i=c,R(new fB(i))):R(c)}return t=(!e.a&&(e.a=new dX(e)),e.a),r=0?u(K(t,r),57):null}function oTn(e,n){if(e<0)return sS(dYe,F(z(Mr,1),Nn,1,5,["index",ye(e)]));if(n<0)throw R(new Un(bYe+n));return sS("%s (%s) must be less than size (%s)",F(z(Mr,1),Nn,1,5,["index",ye(e),ye(n)]))}function sTn(e){var n,t,i,r,c;if(e==null)return Vo;for(c=new rg(To,"[","]"),t=e,i=0,r=t.length;i=0?e.Ih(t,!0,!0):Yw(e,r,!0),163)),u(i,219).Xl(n);else throw R(new Un(ib+n.ve()+RS))}function K0e(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=lc(k.Math.floor(k.Math.log(e)/.6931471805599453)),(!n||e!=k.Math.pow(2,t))&&++t,t):PFe(Lu(e))}function vTn(e){var n,t,i,r,c,o,l;for(c=new Hh,t=new P(e);t.a2&&l.e.b+l.j.b<=2&&(r=l,i=o),c.a.yc(r,c),r.q=i);return c}function yTn(e,n,t){t.Tg("Eades radial",1),t.bh(n,RF),e.d=u(ke(n,(Xv(),W3)),26),e.c=ne(re(ke(n,(X0(),UH)))),e.e=RQ(u(ke(n,TI),303)),e.a=cEn(u(ke(n,t6e),426)),e.b=EAn(u(ke(n,W4e),354)),oAn(e),t.bh(n,RF)}function kTn(e,n){if(n.Tg("Target Width Setter",1),ga(e,(qa(),Kre)))Ei(e,(Zh(),$m),re(ke(e,Kre)));else throw R(new yd("A target width has to be set if the TargetWidthWidthApproximator should be used."));n.Ug()}function Sqe(e,n){var t,i,r;return i=new Ja(e),Pu(i,n),he(i,(ve(),oH),n),he(i,(Oe(),Zi),(Br(),to)),he(i,Dh,(Wh(),rG)),Cf(i,(Fn(),wr)),t=new Qu,wu(t,i),Ar(t,(Ie(),Yn)),r=new Qu,wu(r,i),Ar(r,nt),i}function xqe(e,n){var t,i,r,c,o;for(e.c[n.p]=!0,Ce(e.a,n),o=new P(n.j);o.a=c)o.$b();else for(r=o.Jc(),i=0;i0?Doe():o<0&&Oqe(e,n,-o),!0):!1}function eS(e){var n,t,i,r,c,o,l;if(l=0,e.b==0){for(o=sHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}else l=bAe(HY(N2(li(vV(e.a),new sd),new Np)));return l>0?l+e.n.d+e.n.a:0}function nS(e){var n,t,i,r,c,o,l;if(l=0,e.b==0)l=bAe(HY(N2(li(vV(e.a),new m5),new a0)));else{for(o=lHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}return l>0?l+e.n.b+e.n.c:0}function MTn(e){var n,t;if(e.c.length!=2)throw R(new Uc("Order only allowed for two paths."));n=(kn(0,e.c.length),u(e.c[0],17)),t=(kn(1,e.c.length),u(e.c[1],17)),n.d.i!=t.c.i&&(e.c.length=0,qn(e.c,t),qn(e.c,n))}function Nqe(e,n,t){var i;for(jw(t,n.g,n.f),Dl(t,n.i,n.j),i=0;i<(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i;i++)Nqe(e,u(K((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a),i),26),u(K((!t.a&&(t.a=new pe(Ft,t,10,11)),t.a),i),26))}function CTn(e,n){var t,i,r,c;for(c=u(zc(e.b,n),127),t=c.a,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.c&&(t.a=k.Math.max(t.a,mfe(i.c)));if(t.a>0)switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function TTn(e,n){var t,i,r;return t=u(C(n,(Gf(),O4)),15).a-u(C(e,O4),15).a,t==0?(i=Nr(pc(u(C(e,($0(),ZN)),8)),u(C(e,tx),8)),r=Nr(pc(u(C(n,ZN),8)),u(C(n,tx),8)),ji(i.a*i.b,r.a*r.b)):t}function OTn(e,n){var t,i,r;return t=u(C(n,(Mu(),FH)),15).a-u(C(e,FH),15).a,t==0?(i=Nr(pc(u(C(e,(Ti(),AI)),8)),u(C(e,B7),8)),r=Nr(pc(u(C(n,AI),8)),u(C(n,B7),8)),ji(i.a*i.b,r.a*r.b)):t}function Iqe(e){var n,t;return t=new j0,t.a+="e_",n=X7n(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(Kt((t.a+=" ",t),mz(e.c)),Kt(uo((t.a+="[",t),e.c.i),"]"),Kt((t.a+=nee,t),mz(e.d)),Kt(uo((t.a+="[",t),e.d.i),"]")),t.a}function Dqe(e){switch(e.g){case 0:return new DU;case 1:return new aP;case 2:return new _U;case 3:return new TC;default:throw R(new Un("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Q0e(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=k.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=k.Math.max(0,-e.b-i);break;case 2:c=k.Math.max(0,-e.a-i);break;case 4:c=k.Math.max(0,n.a+e.a-(t.a+i))}return c}function _qe(e,n,t){var i,r,c,o,l;if(t)for(r=t.a.length,i=new qb(r),l=(i.b-i.a)*i.c<0?(A0(),xb):new T0(i);l.Ob();)o=u(l.Pb(),15),c=G9(t,o.a),H2e in c.a||Ane in c.a?_Dn(e,c,n):nBn(e,c,n),opn(u(zn(e.c,m8(c)),85))}function W0e(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=af(e),n&&(Tc(),n.jk()==uen)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function Z0e(e,n){var t,i,r,c;if(fi(e),e.c!=0||e.a!=123)throw R(new Bt(Ht((Lt(),CZe))));if(c=n==112,i=e.d,t=A9(e.i,125,i),t<0)throw R(new Bt(Ht((Lt(),TZe))));return r=sf(e.i,i,t),e.d=t+1,H$e(r,c,(e.e&512)==512)}function NTn(e){var n,t,i,r,c,o,l;for(l=Gh(e.c.length),r=new P(e);r.a=0&&i=0?e.Ih(t,!0,!0):Yw(e,r,!0),163)),u(i,219).Ul(n);throw R(new Un(ib+n.ve()+pne))}function DTn(){ise();var e;return uhn?u(C8((x0(),jf),df),2e3):(ti(Eg,new LL),E$n(),e=u(X(lo((x0(),jf),df),548)?lo(jf,df):new $De,548),uhn=!0,jBn(e),CBn(e),ei((tse(),Q8e),e,new Av),Kc(jf,df,e),e)}function _Tn(e,n){var t,i,r,c;e.j=-1,Fs(e.e)?(t=e.i,c=e.i!=0,nO(e,n),i=new $1(e.e,3,e.c,null,n,t,c),r=n.xl(e.e,e.c,null),r=aGe(e,n,r),r?(r.lj(i),r.mj()):hi(e.e,i)):(nO(e,n),r=n.xl(e.e,e.c,null),r&&r.mj())}function Oz(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length)return-1;for(t=(Wn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));)t=(Wn(i,e.length),e.charCodeAt(i));return i>n[0]?n[0]=i:r=-1,r}function LTn(e,n,t){var i,r,c,o,l;o=e.c,l=e.d,c=mu(F(z(Lr,1),Ae,8,0,[o.i.n,o.n,o.a])).b,r=(c+mu(F(z(Lr,1),Ae,8,0,[l.i.n,l.n,l.a])).b)/2,i=null,o.j==(Ie(),nt)?i=new Ee(n+o.i.c.c.a+t,r):i=new Ee(n-t,r),M9(e.a,0,i)}function Vw(e){var n,t,i,r;for(n=null,i=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!e.b&&(e.b=new In(mt,e,4,7)),e.b),(!e.c&&(e.c=new In(mt,e,5,8)),e.c)])));ht(i);)if(t=u(rt(i),84),r=iu(t),!n)n=r;else if(n!=r)return!1;return!0}function EW(e,n,t){var i;if(++e.j,n>=e.i)throw R(new jo(Cne+n+yg+e.i));if(t>=e.i)throw R(new jo(Tne+t+yg+e.i));return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-sm,n=i>>16&4,t+=n,e<<=n,i=e-Sh,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n)}function PTn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.c.g==e.g&&ue(C(t.b,(Mu(),Lh)))!==ue(C(t.c,Lh))&&!Wv(new pn(null,new yn(r,16)),new $Ee(t))&&qn(r.c,t);return Tr(r,new Nk),r}function Pqe(e,n,t){var i,r,c,o;return X(n,155)&&X(t,155)?(c=u(n,155),o=u(t,155),e.a[c.a][o.a]+e.a[o.a][c.a]):X(n,251)&&X(t,251)&&(i=u(n,251),r=u(t,251),i.a==r.a)?u(C(r.a,(Gf(),O4)),15).a:0}function $qe(e,n){var t,i,r,c,o,l,f,h;for(h=ne(re(C(n,(Oe(),Sx)))),f=e[0].n.a+e[0].o.a+e[0].d.c+h,l=1;l=0?t:(l=bE(Nr(new Ee(o.c+o.b/2,o.d+o.a/2),new Ee(c.c+c.b/2,c.d+c.a/2))),-(bKe(c,o)-1)*l)}function RTn(e,n,t){var i;er(new pn(null,(!t.a&&(t.a=new pe($i,t,6,6)),new yn(t.a,16))),new RCe(e,n)),er(new pn(null,(!t.n&&(t.n=new pe(Eu,t,1,7)),new yn(t.n,16))),new BCe(e,n)),i=u(ke(t,(Xt(),t5)),78),i&&n1e(i,e,n)}function Yw(e,n,t){var i,r,c;if(c=v3((ls(),nc),e.Ah(),n),c)return Tc(),u(c,69).vk()||(c=Fy(Vc(nc,c))),r=(i=e.Fh(c),u(i>=0?e.Ih(i,!0,!0):Yw(e,c,!0),163)),u(r,219).Ql(n,t);throw R(new Un(ib+n.ve()+pne))}function ebe(e,n,t,i){var r,c,o,l,f;if(r=e.d[n],r){if(c=r.g,f=r.i,i!=null){for(l=0;l=t&&(i=n,h=(f.c+f.a)/2,o=h-t,f.c<=h-t&&(r=new WK(f.c,o),Hb(e,i++,r)),l=h+t,l<=f.a&&(c=new WK(l,f.a),_2(i,e.c.length),$j(e.c,i,c)))}function Fqe(e,n,t){var i,r,c,o,l,f;if(!n.dc()){for(r=new xi,f=n.Jc();f.Ob();)for(l=u(f.Pb(),40),ei(e.a,ye(l.g),ye(t)),o=(i=St(new A1(l).a.d,0),new Nv(i));nT(o.a);)c=u(jt(o.a),65).c,Ki(r,c,r.c.b,r.c);Fqe(e,r,t+1)}}function nbe(e){var n;if(!e.c&&e.g==null)e.d=e._i(e.f),Et(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=u(e.g[e.i-1],50)}return n==e.b&&null.Tm>=null.Sm()?(Dz(e),nbe(e)):n.Ob()}function Jqe(e){if(this.a=e,e.c.i.k==(Fn(),wr))this.c=e.c,this.d=u(C(e.c.i,(ve(),Iu)),64);else if(e.d.i.k==wr)this.c=e.d,this.d=u(C(e.d.i,(ve(),Iu)),64);else throw R(new Un("Edge "+e+" is not an external edge."))}function Hqe(e,n){var t,i,r;r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,r,e.b)),n?n!=e&&(Mo(e,n.zb),IY(e,n.d),t=(i=n.c,i??n.zb),_Y(e,t==null||bn(t,n.zb)?null:t)):(Mo(e,null),IY(e,0),_Y(e,null))}function Gqe(e){!tte&&(tte=ORn());var n=e.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 Syn(t)});return'"'+n+'"'}function tbe(e,n,t,i,r,c){var o,l,f,h,g;if(r!=0)for(ue(e)===ue(t)&&(e=e.slice(n,n+r),n=0),f=t,l=n,h=n+r;l=o)throw R(new S2(n,o));return r=t[n],o==1?i=null:(i=le(Bce,_ne,415,o-1,0,1),Wu(t,0,i,0,n),c=o-n-1,c>0&&Wu(t,n+1,i,n,c)),y8(e,i),aqe(e,n,r),r}function qqe(e){var n,t;if(e.f){for(;e.n0)for(o=e.c.d,l=e.d.d,r=C1(Nr(new Ee(l.a,l.b),o),1/(i+1)),c=new Ee(o.a,o.b),t=new P(e.a);t.a0?c=e4(t):c=_O(e4(t))),Ei(n,D7,c)}function Yqe(e,n){var t,i;if(e.c.length!=0){if(e.c.length==2)h4((kn(0,e.c.length),u(e.c[0],9)),(al(),a1)),h4((kn(1,e.c.length),u(e.c[1],9)),pb);else for(i=new P(e);i.a0&&rN(e,t,n),c):i.a!=null?(rN(e,n,t),-1):r.a!=null?(rN(e,t,n),1):0}function Qqe(e){UV();var n,t,i,r,c,o,l;for(t=new L0,r=new P(e.e.b);r.a=0;)i=t[c],o.$l(i.Jk())&&Et(r,i);!KVe(e,r)&&Fs(e.e)&&d9(e,n.Hk()?I0(e,6,n,(En(),Sc),null,-1,!1):I0(e,n.rk()?2:1,n,null,null,-1,!1))}function KTn(e,n){var t,i,r,c,o;return e.a==(x8(),sx)?!0:(c=n.a.c,t=n.a.c+n.a.b,!(n.j&&(i=n.A,o=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>o)||n.q&&(i=n.C,o=i.c.c.a-i.o.a/2,r=i.n.a-t,r>o)))}function Zqe(e,n,t){var i,r,c,o,l,f;for(i=0,f=t,n||(i=t*(e.c.length-1),f*=-1),c=new P(e);c.a=0?e.xh(null):e.Mh().Qh(e,-1-n,null,null)),e.yh(u(r,52),t),i&&i.mj(),e.sh()&&e.th()&&t>-1&&hi(e,new Dr(e,9,t,c,r)),r):c}function ube(e,n){var t,i,r,c,o;for(c=e.b.Ae(n),i=(t=e.a.get(c),t??le(Mr,Nn,1,0,5,1)),o=0;o>5,r>=e.d)return e.e<0;if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=rze(e),r>16)),16).bd(c),l0&&(!(M1(e.a.c)&&n.n.d)&&!(Fv(e.a.c)&&n.n.b)&&(n.g.d+=k.Math.max(0,i/2-.5)),!(M1(e.a.c)&&n.n.a)&&!(Fv(e.a.c)&&n.n.c)&&(n.g.a-=i-1))}function hUe(e,n,t){var i,r,c,o,l,f;c=u(Le(n.e,0),17).c,i=c.i,r=i.k,f=u(Le(t.g,0),17).d,o=f.i,l=o.k,r==(Fn(),dr)?he(e,(ve(),Sa),u(C(i,Sa),12)):he(e,(ve(),Sa),c),l==dr?he(e,(ve(),wf),u(C(o,wf),12)):he(e,(ve(),wf),f)}function dUe(e,n){var t,i,r,c,o,l;for(c=new P(e.b);c.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(o=i?U1:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(o=i?U1:0,c=i?Ls:0,r=t>>n-44),_o(r&Ls,c&Ls,o&U1)}function bUe(e,n){var t,i,r,c,o,l,f,h,g;if(e.a.f>0&&X(n,45)&&(e.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Dle(e.a,c),t=e.a.d[o],t)){for(i=u(t.g,374),g=t.i,l=0;l=2)for(t=r.Jc(),n=re(t.Pb());t.Ob();)c=n,n=re(t.Pb()),i=k.Math.min(i,(Ln(n),n-(Ln(c),c)));return i}function pOn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.b.g==e.g&&!bn(t.b.c,PF)&&ue(C(t.b,(Mu(),Lh)))!==ue(C(t.c,Lh))&&!Wv(new pn(null,new yn(r,16)),new REe(t))&&qn(r.c,t);return Tr(r,new sw),r}function mOn(e,n){var t,i,r;if(ue(n)===ue(Ot(e)))return!0;if(!X(n,16)||(i=u(n,16),r=e.gc(),r!=i.gc()))return!1;if(X(i,59)){for(t=0;t0&&(r=t),o=new P(e.f.e);o.a0?r+=n:r+=1;return r}function AOn(e,n){var t,i,r,c,o,l,f,h,g,p;h=e,f=vE(h,"individualSpacings"),f&&(i=ga(n,(Xt(),Q4)),o=!i,o&&(r=new H6,Ei(n,Q4,r)),l=u(ke(n,Q4),379),p=f,c=null,p&&(c=(g=zY(p,le(Je,Ae,2,0,6,1)),new $X(p,g))),c&&(t=new VCe(p,l),cc(c,t)))}function MOn(e,n){var t,i,r,c,o,l,f,h,g,p,y;return f=null,p=e,g=null,(dZe in p.a||bZe in p.a||qF in p.a)&&(h=null,y=a1e(n),o=vE(p,dZe),t=new jSe(y),tJe(t.a,o),l=vE(p,bZe),i=new NSe(y),iJe(i.a,l),c=Pw(p,qF),r=new _Se(y),h=(lGe(r.a,c),c),g=h),f=g,f}function COn(e,n){var t,i,r;if(n===e)return!0;if(X(n,540)){if(r=u(n,833),e.a.d!=r.a.d||Kv(e).gc()!=Kv(r).gc())return!1;for(i=Kv(r).Jc();i.Ob();)if(t=u(i.Pb(),416),hLe(e,t.a.jd())!=u(t.a.kd(),18).gc())return!1;return!0}return!1}function TOn(e,n){var t,i,r,c;for(c=new P(n.a);c.an.c?1:e.bn.b?1:e.a!=n.a?Ni(e.a)-Ni(n.a):e.d==(jE(),Dx)&&n.d==Ix?-1:e.d==Ix&&n.d==Dx?1:0}function AW(e){var n,t,i,r,c,o,l,f;for(r=Vi,i=Ir,t=new P(e.e.b);t.a0&&r0):r<0&&-r0):!1}function NOn(e,n,t,i){var r,c,o,l,f,h,g,p;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,p=new P(e.c);p.a>24;return o}function DOn(e){if(e.xe()){var n=e.c;n.ye()?e.o="["+n.n:n.xe()?e.o="["+n.ve():e.o="[L"+n.ve()+";",e.b=n.ue()+"[]",e.k=n.we()+"[]";return}var t=e.j,i=e.d;i=i.split("/"),e.o=CQ(".",[t,CQ("$",i)]),e.b=CQ(".",[t,CQ(".",i)]),e.k=i[i.length-1]}function _On(e,n){var t,i,r,c,o;for(o=null,c=new P(e.e.a);c.a0&&hN(n,(kn(i-1,e.c.length),u(e.c[i-1],9)),r)>0;)ol(e,i,(kn(i-1,e.c.length),u(e.c[i-1],9))),--i;kn(i,e.c.length),e.c[i]=r}n.b=new wt,n.g=new wt}function AUe(e,n,t){var i,r,c;for(i=1;i0&&n.Le((kn(r-1,e.c.length),u(e.c[r-1],9)),c)>0;)ol(e,r,(kn(r-1,e.c.length),u(e.c[r-1],9))),--r;kn(r,e.c.length),e.c[r]=c}t.a=new wt,t.b=new wt}function Iz(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=n.Jc();c.Ob();)r=u(c.Pb(),26),g=r.i+r.g/2,y=r.j+r.f/2,f=e.f,o=f.i+f.g/2,l=f.j+f.f/2,h=g-o,p=y-l,i=k.Math.sqrt(h*h+p*p),h*=e.e/i,p*=e.e/i,t?(g-=h,y-=p):(g+=h,y+=p),Os(r,g-r.g/2),Ns(r,y-r.f/2)}function g3(e){var n,t,i;if(!e.c&&e.b!=null){for(n=e.b.length-4;n>=0;n-=2)for(t=0;t<=n;t+=2)(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);e.c=!0}}function Jf(e){var n,t;return t=new il(Bb(e.Pm)),t.a+="@",Kt(t,(n=Ni(e)>>>0,n.toString(16))),e.Sh()?(t.a+=" (eProxyURI: ",uo(t,e.Yh()),e.Hh()&&(t.a+=" eClass: ",uo(t,e.Hh())),t.a+=")"):e.Hh()&&(t.a+=" (eClass: ",uo(t,e.Hh()),t.a+=")"),t.a}function rS(e){var n,t,i,r;if(e.e)throw R(new Uc((T1(gte),UZ+gte.k+XZ)));for(e.d==(vr(),ih)&&Zz(e,Zc),t=new P(e.a.a);t.a>24}return t}function zOn(e,n,t){var i,r,c;if(r=u(zc(e.i,n),318),!r)if(r=new YRe(e.d,n,t),Py(e.i,n,r),yde(n))upn(e.a,n.c,n.b,r);else switch(c=LCn(n),i=u(zc(e.p,c),253),c.g){case 1:case 3:r.j=!0,AX(i,n.b,r);break;case 4:case 2:r.k=!0,AX(i,n.c,r)}return r}function FOn(e,n,t,i){var r,c,o,l,f,h;if(l=new q6,f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk())for(o=0;o=0)return r;for(c=1,l=new P(n.j);l.a=0)return r;for(c=1,l=new P(n.j);l.a=0?(n||(n=new Aj,i>0&&Bc(n,(Qr(0,i,e.length),e.substr(0,i)))),n.a+="\\",$9(n,t&yr)):n&&$9(n,t&yr);return n?n.a:e}function HOn(e){var n,t,i;for(t=new P(e.a.a.b);t.a0&&(!(M1(e.a.c)&&n.n.d)&&!(Fv(e.a.c)&&n.n.b)&&(n.g.d-=k.Math.max(0,i/2-.5)),!(M1(e.a.c)&&n.n.a)&&!(Fv(e.a.c)&&n.n.c)&&(n.g.a+=k.Math.max(0,i-1)))}function IUe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2)n==(Ie(),Vn)||n==nt?(wB(u(DE(e),16),(al(),a1)),wB(u(DE(e),16),pb)):(wB(u(DE(e),16),(al(),pb)),wB(u(DE(e),16),a1));else for(r=new wE(e);r.a!=r.b;)i=u(GB(r),16),wB(i,t)}function GOn(e,n,t){var i,r,c,o,l,f,h,g,p;for(g=-1,p=0,l=n,f=0,h=l.length;f0&&++p;++g}return p}function qOn(e,n){var t,i,r,c,o,l,f;for(r=I9(new uoe(e)),l=new qr(r,r.c.length),c=I9(new uoe(n)),f=new qr(c,c.c.length),o=null;l.b>0&&f.b>0&&(t=(at(l.b>0),u(l.a.Xb(l.c=--l.b),26)),i=(at(f.b>0),u(f.a.Xb(f.c=--f.b),26)),t==i);)o=t;return o}function UOn(e,n){var t,i,r,c;for(n.Tg("Self-Loop pre-processing",1),i=new P(e.a);i.akLe(e,t)?(i=vu(t,(Ie(),nt)),e.d=i.dc()?0:iV(u(i.Xb(0),12)),o=vu(n,Yn),e.b=o.dc()?0:iV(u(o.Xb(0),12))):(r=vu(t,(Ie(),Yn)),e.d=r.dc()?0:iV(u(r.Xb(0),12)),c=vu(n,nt),e.b=c.dc()?0:iV(u(c.Xb(0),12)))}function XOn(e){var n,t,i,r,c,o,l,f;n=!0,r=null,c=null;e:for(f=new P(e.a);f.ae.c));o++)r.a>=e.s&&(c<0&&(c=o),l=o);return f=(e.s+e.c)/2,c>=0&&(i=IDn(e,n,c,l),f=$gn((kn(i,n.c.length),u(n.c[i],340))),JTn(n,i,t)),f}function Mt(e,n,t){var i,r,c,o,l,f,h;for(o=(c=new _b,c),qhe(o,(Ln(n),n)),h=(!o.b&&(o.b=new Hs((jn(),Ac),Du,o)),o.b),f=1;f=2}function QOn(e,n,t,i,r){var c,o,l,f,h,g;for(c=e.c.d.j,o=u(Yu(t,0),8),g=1;g1||(n=Ci(Qf,F(z($c,1),je,96,0,[ed,Wf])),yO(RR(n,e))>1)||(i=Ci(ea,F(z($c,1),je,96,0,[h1,mf])),yO(RR(i,e))>1))}function LUe(e){var n,t,i,r,c,o,l;for(n=0,i=new P(e.a);i.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Vt(n,i.b));for(r=new P(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Vt(t,i.a))}function Dz(e){var n,t,i,r,c;if(e.g==null&&(e.d=e._i(e.f),Et(e,e.d),e.c))return c=e.f,c;if(n=u(e.g[e.i-1],50),r=n.Pb(),e.e=n,t=e._i(r),t.Ob())e.d=t,Et(e,t);else for(e.d=null;!n.Ob()&&(ir(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],50),n=i;return r}function ZOn(e,n){var t,i,r,c,o,l;if(i=n,r=i.Jk(),G1(e.e,r)){if(r.Qi()&&XR(e,r,i.kd()))return!1}else for(l=Po(e.e.Ah(),r),t=u(e.g,122),c=0;c1||t>1)return 2;return n+t==1?2:0}function Ds(e,n){var t,i,r,c,o,l;return c=e.a*JZ+e.b*1502,l=e.b*JZ+11,t=k.Math.floor(l*SN),c+=t,l-=t*Kge,c%=Kge,e.a=c,e.b=l,n<=24?k.Math.floor(e.a*Xme[n]):(r=e.a*(1<=2147483648&&(i-=4294967296),i)}function RUe(e,n,t){var i,r,c,o,l,f,h;for(c=new Te,h=new xi,o=new xi,mLn(e,h,o,n),ZPn(e,h,o,n,t),f=new P(e);f.ai.b.g&&qn(c.c,i);return c}function cNn(e,n,t){var i,r,c,o,l,f;for(l=e.c,o=(t.q?t.q:(En(),En(),u1)).vc().Jc();o.Ob();)c=u(o.Pb(),45),i=!v9(li(new pn(null,new yn(l,16)),new a9(new ACe(n,c)))).zd((zb(),C4)),i&&(f=c.kd(),X(f,4)&&(r=jde(f),r!=null&&(f=r)),n.of(u(c.jd(),147),f))}function uNn(e,n){var t,i,r,c;for(n.Tg("Resize child graph to fit parent.",1),i=new P(e.b);i.a1)for(r=new P(e.a);r.a=0?e.Ih(i,!0,!0):Yw(e,c,!0),163)),u(r,219).Vl(n,t)}else throw R(new Un(ib+n.ve()+RS))}function lNn(e,n,t){var i,r,c,o,l,f;if(f=xle(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Vse(e,I2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Vse(e,I2(n)),o=(Ln(t),t+(Ln(r),r)),c=Vse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function fNn(e,n,t){var i,r,c,o,l,f;if(f=xle(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Yse(e,I2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Yse(e,I2(n)),o=(Ln(t),t+(Ln(r),r)),c=Yse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function _z(e,n){var t,i,r,c,o;if(n){for(c=X(e.Cb,88)||X(e.Cb,103),o=!c&&X(e.Cb,335),i=new st((!n.a&&(n.a=new uE(n,Rc,n)),n.a));i.e!=i.i.gc();)if(t=u(ft(i),87),r=Uz(t),c?X(r,88):o?X(r,159):r)return r;return c?(jn(),Ef):(jn(),uh)}else return null}function aNn(e,n){var t,i,r,c,o;for(t=new Te,r=lu(new pn(null,new yn(e,16)),new G5),c=lu(new pn(null,new yn(e,16)),new Ok),o=n8n(j9n(N2(jNn(F(z(BBn,1),Nn,832,0,[r,c])),new y_))),i=1;i=2*n&&Ce(t,new WK(o[i-1]+n,o[i]-n));return t}function BUe(e,n,t){var i,r,c,o,l,f,h,g;if(t)for(c=t.a.length,i=new qb(c),l=(i.b-i.a)*i.c<0?(A0(),xb):new T0(i);l.Ob();)o=u(l.Pb(),15),r=G9(t,o.a),r&&(f=C6n(e,(h=(S0(),g=new koe,g),n&&Ebe(h,n),h),r),W9(f,D1(r,Oh)),Sz(r,f),q0e(r,f),nQ(e,r,f))}function Lz(e){var n,t,i,r,c,o;if(!e.j){if(o=new xL,n=hA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),r=Lz(t),nr(o,r),Et(o,t);n.a.Ac(e)!=null}G2(o),e.j=new Bv((u(K(we((O0(),Bn).o),11),19),o.i),o.g),Ms(e).b&=-33}return e.j}function hNn(e){var n,t,i,r;if(e==null)return null;if(i=bo(e,!0),r=KN.length,bn(i.substr(i.length-r,r),KN)){if(t=i.length,t==4){if(n=(Wn(0,i.length),i.charCodeAt(0)),n==43)return p7e;if(n==45)return Mhn}else if(t==3)return p7e}return new doe(i)}function dNn(e){var n,t,i;return t=e.l,(t&t-1)!=0||(i=e.m,(i&i-1)!=0)||(n=e.h,(n&n-1)!=0)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?Rhe(t):n==0&&i!=0&&t==0?Rhe(i)+22:n!=0&&i==0&&t==0?Rhe(n)+44:-1}function w3(e,n){var t,i,r,c,o;for(r=n.a&e.f,c=null,i=e.b[r];;i=i.b){if(i==n){c?c.b=n.b:e.b[r]=n.b;break}c=i}for(o=n.f&e.f,c=null,t=e.c[o];;t=t.d){if(t==n){c?c.d=n.d:e.c[o]=n.d;break}c=t}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g}function bNn(e,n){var t;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(t=u(of(u(Gy(e.b,n.a),262)),262),t.a=0,++e.c):(t=u(of(u(zn(e.b,n.a),262)),262),--t.a,n.e?n.e.c=n.c:t.b=u(of(n.c),497),n.c?n.c.e=n.e:t.c=u(of(n.e),497)),--e.d}function CW(e,n){var t,i,r,c;for(c=new qr(e,0),t=(at(c.b0),c.a.Xb(c.c=--c.b),E2(c,r),at(c.b3&&Qh(e,0,n-3))}function wNn(e){var n,t,i,r;return ue(C(e,(Oe(),Am)))===ue((F1(),e0))?!e.e&&ue(C(e,gI))!==ue((i8(),oI)):(i=u(C(e,Nie),302),r=ze(Be(C(e,Iie)))||ue(C(e,yx))===ue((HE(),cI)),n=u(C(e,J5e),15).a,t=e.a.c.length,!r&&i!=(i8(),oI)&&(n==0||n>t))}function pNn(e,n){var t,i,r,c,o,l,f;for(r=e.Jc();r.Ob();)for(i=u(r.Pb(),9),l=new Qu,wu(l,i),Ar(l,(Ie(),nt)),he(l,(ve(),sH),($n(),!0)),o=n.Jc();o.Ob();)c=u(o.Pb(),9),f=new Qu,wu(f,c),Ar(f,Yn),he(f,sH,!0),t=new Dw,he(t,sH,!0),fc(t,l),Gr(t,f)}function mNn(e){var n,t;for(t=0;t0);t++);if(t>0&&t0);n++);return n>0&&t>16!=6&&n){if(k8(e,n))throw R(new Un(BS+eUe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Gde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,6,i)),i=Nle(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,6,n,n))}function Pz(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(k8(e,n))throw R(new Un(BS+GKe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Kde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,12,i)),i=Ole(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function Ebe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(k8(e,n))throw R(new Un(BS+FXe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Ude(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,9,i)),i=Ile(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,9,n,n))}function T8(e){var n,t,i,r,c;if(i=af(e),c=e.j,c==null&&i)return e.Hk()?null:i.gk();if(X(i,159)){if(t=i.hk(),t&&(r=t.ti(),r!=e.i)){if(n=u(i,159),n.lk())try{e.g=r.qi(n,c)}catch(o){if(o=sr(o),X(o,80))e.g=null;else throw R(o)}e.i=r}return e.g}return null}function GUe(e){var n;return n=new Te,Ce(n,new vy(new Ee(e.c,e.d),new Ee(e.c+e.b,e.d))),Ce(n,new vy(new Ee(e.c,e.d),new Ee(e.c,e.d+e.a))),Ce(n,new vy(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c+e.b,e.d))),Ce(n,new vy(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c,e.d+e.a))),n}function yNn(e){var n,t,i,r;for(i=e.a.d.j,r=e.c.d.j,t=new P(e.i.d);t.a>>0),t.toString(16)),QEn(Y7n(),(E9(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+Bb(n.Pm)+">";throw R(r)}}function jNn(e){var n,t,i,r,c,o,l,f,h;for(i=!1,n=336,t=0,c=new uNe(e.length),l=e,f=0,h=l.length;f1)for(n=Sw((t=new Rb,++e.b,t),e.d),l=St(c,0);l.b!=l.d.c;)o=u(jt(l),124),Hf(Nf(Of(If(Tf(new rf,1),0),n),o))}function $z(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=11&&n){if(k8(e,n))throw R(new Un(BS+Gbe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Vde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,10,i)),i=Ule(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,n,n))}function MNn(e,n,t){var i,r,c,o,l,f;if(c=0,o=0,e.c)for(f=new P(e.d.i.j);f.ac.a?-1:r.af){for(g=e.d,e.d=le(J8e,ime,67,2*f+4,0,1),c=0;c=9223372036854776e3?(V9(),Sme):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=gg&&(i=lc(e/gg),e-=i*gg),t=0,e>=p4&&(t=lc(e/p4),e-=t*p4),n=lc(e),c=_o(n,t,i),r&&eQ(c),c)}function BNn(e){var n,t,i,r,c;if(c=new Te,Ao(e.b,new eje(c)),e.b.c.length=0,c.c.length!=0){for(n=(kn(0,c.c.length),u(c.c[0],80)),t=1,i=c.c.length;t>16!=7&&n){if(k8(e,n))throw R(new Un(BS+VGe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?qde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,1,eD,i)),i=Tfe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,n,n))}function XUe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(k8(e,n))throw R(new Un(BS+RFe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Xde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,0,tD,i)),i=Ofe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function TW(e,n){N8();var t,i,r,c,o,l,f,h,g;return n.d>e.d&&(l=e,e=n,n=l),n.d<63?TIn(e,n):(o=(e.d&-2)<<4,h=Qae(e,o),g=Qae(n,o),i=VW(e,Hy(h,o)),r=VW(n,Hy(g,o)),f=TW(h,g),t=TW(i,r),c=TW(VW(h,i),VW(r,g)),c=tZ(tZ(c,f),t),c=Hy(c,o),f=Hy(f,o<<1),tZ(tZ(f,c),t))}function nN(){nN=Y,Vie=new Lv(UQe,0),Tye=new Lv("LONGEST_PATH",1),Oye=new Lv("LONGEST_PATH_SOURCE",2),Xie=new Lv("COFFMAN_GRAHAM",3),Cye=new Lv(cee,4),Nye=new Lv("STRETCH_WIDTH",5),MH=new Lv("MIN_WIDTH",6),Uie=new Lv("BF_MODEL_ORDER",7),Kie=new Lv("DF_MODEL_ORDER",8)}function GNn(e,n){var t,i,r,c,o,l;if(!e.tb){for(c=(!e.rb&&(e.rb=new C2(e,Ca,e)),e.rb),l=new my(c.i),r=new st(c);r.e!=r.i.gc();)i=u(ft(r),143),o=i.ve(),t=u(o==null?Ko(l.f,null,i):Jw(l.i,o,i),143),t&&(o==null?Ko(l.f,null,t):Jw(l.i,o,t));e.tb=l}return u(lo(e.tb,n),143)}function tN(e,n){var t,i,r,c,o;if((e.i==null&&Eh(e),e.i).length,!e.p){for(o=new my((3*e.g.i/2|0)+1),r=new My(e.g);r.e!=r.i.gc();)i=u(PQ(r),179),c=i.ve(),t=u(c==null?Ko(o.f,null,i):Jw(o.i,c,i),179),t&&(c==null?Ko(o.f,null,t):Jw(o.i,c,t));e.p=o}return u(lo(e.p,n),179)}function Tbe(e,n,t,i,r){var c,o,l,f,h;for(FEn(i+PR(t,t.ge()),r),EDe(n,rEn(t)),c=t.f,c&&Tbe(e,n,c,"Caused by: ",!1),l=(t.k==null&&(t.k=le(nte,Ae,80,0,0,1)),t.k),f=0,h=l.length;f=0;c+=t?1:-1)o=o|n.c.jg(f,c,t,i&&!ze(Be(C(n.j,(ve(),lb))))&&!ze(Be(C(n.j,(ve(),J3))))),o=o|n.q.tg(f,c,t),o=o|_Xe(e,f[c],t,i);return hr(e.c,n),o}function Bz(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(g=WLe(e.j),p=0,y=g.length;p1&&(e.a=!0),m3n(u(t.b,68),pi(pc(u(n.b,68).c),C1(Nr(pc(u(t.b,68).a),u(n.b,68).a),r))),sLe(e,n),VUe(e,t)}function YUe(e){var n,t,i,r,c,o,l;for(c=new P(e.a.a);c.a0&&c>0?o.p=n++:i>0?o.p=t++:c>0?o.p=r++:o.p=t++}En(),Tr(e.j,new _q)}function VNn(e){var n,t;t=null,n=u(Le(e.g,0),17);do{if(t=n.d.i,wi(t,(ve(),wf)))return u(C(t,wf),12).i;if(t.k!=(Fn(),Wi)&&ht(new Xn(Qn(Ii(t).a.Jc(),new ee))))n=u(rt(new Xn(Qn(Ii(t).a.Jc(),new ee))),17);else if(t.k!=Wi)return null}while(t&&t.k!=(Fn(),Wi));return t}function YNn(e,n){var t,i,r,c,o,l,f,h,g;for(l=n.j,o=n.g,f=u(Le(l,l.c.length-1),113),g=(kn(0,l.c.length),u(l.c[0],113)),h=QQ(e,o,f,g),c=1;ch&&(f=t,g=r,h=i);n.a=g,n.c=f}function Qw(e,n,t,i){var r,c;if(r=ue(C(t,(Oe(),mx)))===ue((B0(),Em)),c=u(C(t,F5e),16),wi(e,(ve(),Oi)))if(r){if(c.Gc(C(e,vx))&&c.Gc(C(n,vx)))return i*u(C(e,vx),15).a+u(C(e,Oi),15).a}else return u(C(e,Oi),15).a;else return-1;return u(C(e,Oi),15).a}function QNn(e,n,t){var i,r,c,o,l,f,h;for(h=new Ed(new yEe(e)),o=F(z(hin,1),wQe,12,0,[n,t]),l=0,f=o.length;lf-e.b&&lf-e.a&&lt.p?1:0:c.Ob()?1:-1}function cIn(e,n){var t,i,r,c,o,l;n.Tg(wWe,1),r=u(ke(e,(qa(),Hx)),104),c=(!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),o=Axn(c),l=k.Math.max(o.a,ne(re(ke(e,(Zh(),Jx))))-(r.b+r.c)),i=k.Math.max(o.b,ne(re(ke(e,KH)))-(r.d+r.a)),t=i-o.b,Ei(e,Fx,t),Ei(e,q4,l),Ei(e,F7,i+t),n.Ug()}function zz(e){var n,t;if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i==0)return a1e(e);for(n=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),kt((!n.a&&(n.a=new mr(kl,n,5)),n.a)),i3(n,0),r3(n,0),n3(n,0),t3(n,0),t=(!e.a&&(e.a=new pe($i,e,6,6)),e.a);t.i>1;)tm(t,t.i-1);return n}function Po(e,n){Tc();var t,i,r,c;return n?n==(Si(),xhn)||(n==dhn||n==Bg||n==hhn)&&e!=g7e?new Cge(e,n):(i=u(n,682),t=i.Yk(),t||(z9(Vc((ls(),nc),n)),t=i.Yk()),c=(!t.i&&(t.i=new wt),t.i),r=u(bu(Xc(c.f,e)),2003),!r&&ei(c,e,r=new Cge(e,n)),r):lhn}function uIn(e,n){var t,i;if(i=FT(e.b,n.b),!i)throw R(new Uc("Invalid hitboxes for scanline constraint calculation."));(Oze(n.b,u(Cgn(e.b,n.b),60))||Oze(n.b,u(Mgn(e.b,n.b),60)))&&Sd(),e.a[n.b.f]=u(BX(e.b,n.b),60),t=u(RX(e.b,n.b),60),t&&(e.a[t.f]=n.b)}function oIn(e,n){var t,i,r,c,o,l,f,h,g;for(f=u(C(e,(ve(),mi)),12),h=mu(F(z(Lr,1),Ae,8,0,[f.i.n,f.n,f.a])).a,g=e.i.n.b,t=ph(e.e),r=t,c=0,o=r.length;c0?c.a?(l=c.b.Kf().a,t>l&&(r=(t-l)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:lE(e.u)&&(i=y0e(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Kf().a&&(c.d.c=i.c+i.b-c.b.Kf().a))}function dIn(e,n){var t,i,r,c,o;o=new Te,t=n;do c=u(zn(e.b,t),132),c.B=t.c,c.D=t.d,qn(o.c,c),t=u(zn(e.k,t),17);while(t);return i=(kn(0,o.c.length),u(o.c[0],132)),i.j=!0,i.A=u(i.d.a.ec().Jc().Pb(),17).c.i,r=u(Le(o,o.c.length-1),132),r.q=!0,r.C=u(r.d.a.ec().Jc().Pb(),17).d.i,o}function bIn(e){var n,t;t=u(C(e,(Oe(),ku)),165),n=u(C(e,(ve(),xg)),315),t==(Xs(),Q1)?(he(e,ku,dI),he(e,xg,(P1(),z3))):t==Mg?(he(e,ku,dI),he(e,xg,(P1(),D4))):n==(P1(),z3)?(he(e,ku,Q1),he(e,xg,lI)):n==D4&&(he(e,ku,Mg),he(e,xg,lI))}function Fz(){Fz=Y,SI=new Yp,Kon=qt(new or,(zr(),eo),(Ur(),OJ)),Qon=Eo(qt(new or,eo,RJ),Pc,$J),Won=yh(yh(_j(Eo(qt(new or,Kf,JJ),Pc,FJ),no),zJ),HJ),Von=Eo(qt(qt(qt(new or,o1,IJ),no,_J),no,y7),Pc,DJ),Yon=Eo(qt(qt(new or,no,y7),no,TJ),Pc,CJ)}function oS(){oS=Y,nsn=qt(Eo(new or,(zr(),Pc),(Ur(),Gve)),eo,OJ),csn=yh(yh(_j(Eo(qt(new or,Kf,JJ),Pc,FJ),no),zJ),HJ),tsn=Eo(qt(qt(qt(new or,o1,IJ),no,_J),no,y7),Pc,DJ),rsn=qt(qt(new or,eo,RJ),Pc,$J),isn=Eo(qt(qt(new or,no,y7),no,TJ),Pc,CJ)}function gIn(e,n,t,i,r){var c,o;(!uc(n)&&n.c.i.c==n.d.i.c||!$Be(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])),t))&&!uc(n)&&(n.c==r?M9(n.a,0,new wc(t)):Vt(n.a,new wc(t)),i&&!cf(e.a,t)&&(o=u(C(n,(Oe(),Wc)),78),o||(o=new xs,he(n,Wc,o)),c=new wc(t),Ki(o,c,o.c.b,o.c),hr(e.a,c)))}function ZUe(e,n){var t,i,r,c;for(c=Rt(hc(t1,Vh(Rt(hc(n==null?0:Ni(n),i1)),15))),t=c&e.b.length-1,r=null,i=e.b[t];i;r=i,i=i.a)if(i.d==c&&O1(i.i,n))return r?r.a=i.a:e.b[t]=i.a,pAe(u(of(i.c),593),u(of(i.f),593)),WC(u(of(i.b),227),u(of(i.e),227)),--e.f,++e.e,!0;return!1}function wIn(e){var n,t;for(t=new Xn(Qn(cr(e).a.Jc(),new ee));ht(t);)if(n=u(rt(t),17),n.c.i.k!=(Fn(),Uu))throw R(new yd(ree+zO(e)+"' 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 eXe(e,n){var t,i,r,c,o,l,f,h,g,p,y;r=n?new ow:new fM,c=!1;do for(c=!1,h=n?Ks(e.b):e.b,f=h.Jc();f.Ob();)for(l=u(f.Pb(),25),y=Wb(l.a),n||Ks(y),p=new P(y);p.a=0;o+=r?1:-1){for(l=n[o],f=i==(Ie(),nt)?r?vu(l,i):Ks(vu(l,i)):r?Ks(vu(l,i)):vu(l,i),c&&(e.c[l.p]=f.gc()),p=f.Jc();p.Ob();)g=u(p.Pb(),12),e.d[g.p]=h++;Sr(t,f)}}function tXe(e,n,t){var i,r,c,o,l,f,h,g;for(c=ne(re(e.b.Jc().Pb())),h=ne(re(Q7n(n.b))),i=C1(pc(e.a),h-t),r=C1(pc(n.a),t-c),g=pi(i,r),C1(g,1/(h-c)),this.a=g,this.b=new Te,l=!0,o=e.b.Jc(),o.Pb();o.Ob();)f=ne(re(o.Pb())),l&&f-t>Kee&&(this.b.Ec(t),l=!1),this.b.Ec(f);l&&this.b.Ec(t)}function mIn(e){var n,t,i,r;if(LDn(e,e.n),e.d.c.length>0){for(Sj(e.c);lbe(e,u(L(new P(e.e.a)),124))>5,n&=31,i>=e.d)return e.e<0?(jh(),ann):(jh(),WS);if(c=e.d-i,r=le($t,ni,30,c+1,15,1),jCn(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n!=0){for(t=0;t=0?!1:(t=v3((ls(),nc),r,n),t?(i=t.Gk(),(i>1||i==-1)&&Nw(Vc(nc,t))!=3):!0)):!1}function SIn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;if(f=e.c.d,h=e.d.d,f.j!=h.j)for(S=e.b,g=null,l=null,o=BEn(e),o&&S.i&&(g=e.b.i.i,l=S.i.j),r=f.j,p=null;r!=h.j;)p=n==0?XB(r):V1e(r),c=Mde(r,S.d[r.g],t),y=Mde(p,S.d[p.g],t),o&&g&&l&&(r==g?VFe(c,g,l):p==g&&VFe(y,g,l)),Vt(i,pi(c,y)),r=p}function Ibe(e,n,t){var i,r,c,o,l,f;if(i=bgn(t,e.length),o=e[i],c=jAe(t,o.length),o[c].k==(Fn(),wr))for(f=n.j,r=0;r0&&(t[0]+=e.d,o-=t[0]),t[2]>0&&(t[2]+=e.d,o-=t[2]),c=k.Math.max(0,o),t[1]=k.Math.max(t[1],o),Zae(e,No,r.c+i.b+t[0]-(t[1]-o)/2,t),n==No&&(e.c.b=c,e.c.c=r.c+i.b+(c-o)/2)}function fXe(){this.c=le(Jr,Jc,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),this.a=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),sse(this.c,Vi),sse(this.b,Ir),sse(this.a,Ir)}function OIn(e,n,t,i){var r,c,o,l,f;for(f=n.i,l=t[f.g][e.d[f.g]],r=!1,o=new P(n.d);o.a=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||g3(e)}}function NIn(e,n,t){var i,r,c,o,l,f,h;for(h=n.d,e.a=new xo(h.c.length),e.c=new wt,l=new P(h);l.a=0?e.Ih(h,!1,!0):Yw(e,t,!1),61));e:for(c=p.Jc();c.Ob();){for(r=u(c.Pb(),57),g=0;ge.d[o.p]&&(t+=qae(e.b,c),_0(e.a,ye(c)));for(;!xj(e.a);)xhe(e.b,u(Ly(e.a),15).a)}return t}function dXe(e,n,t){var i,r,c,o;for(c=(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i,r=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ft(r),26),(!i.a&&(i.a=new pe(Ft,i,10,11)),i.a).i==0||(c+=dXe(e,i,!1));if(t)for(o=Fi(n);o;)c+=(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i,o=Fi(o);return c}function tm(e,n){var t,i,r,c;return e.Nj()?(i=null,r=e.Oj(),e.Rj()&&(i=e.Tj(e.Yi(n),null)),t=e.Gj(4,c=r4(e,n),null,n,r),e.Kj()&&c!=null&&(i=e.Mj(c,i)),i?(i.lj(t),i.mj()):e.Hj(t),c):(c=r4(e,n),e.Kj()&&c!=null&&(i=e.Mj(c,null),i&&i.mj()),c)}function RIn(e){var n,t,i,r,c,o,l,f,h,g;for(h=e.a,n=new ar,f=0,i=new P(e.d);i.al.d&&(g=l.d+l.a+h));t.c.d=g,n.a.yc(t,n),f=k.Math.max(f,t.c.d+t.c.a)}return f}function BIn(e,n,t){var i,r,c,o,l,f;for(o=u(C(e,(ve(),pie)),16).Jc();o.Ob();){switch(c=u(o.Pb(),9),u(C(c,(Oe(),ku)),165).g){case 2:Or(c,n);break;case 4:Or(c,t)}for(r=new Xn(Qn(mh(c).a.Jc(),new ee));ht(r);)i=u(rt(r),17),!(i.c&&i.d)&&(l=!i.d,f=u(C(i,Z3e),12),l?Gr(i,f):fc(i,f))}}function Ic(){Ic=Y,nH=new g2("COMMENTS",0),Vl=new g2("EXTERNAL_PORTS",1),lx=new g2("HYPEREDGES",2),tH=new g2("HYPERNODES",3),T7=new g2("NON_FREE_PORTS",4),B3=new g2("NORTH_SOUTH_PORTS",5),fx=new g2(_Qe,6),M7=new g2("CENTER_LABELS",7),C7=new g2("END_LABELS",8),iH=new g2("PARTITIONS",9)}function zIn(e,n,t,i,r){return i<0?(i=b3(e,r,F(z(Je,1),Ae,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=b3(e,r,F(z(Je,1),Ae,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function FIn(e,n,t,i,r){return i<0?(i=b3(e,r,F(z(Je,1),Ae,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=b3(e,r,F(z(Je,1),Ae,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function JIn(e,n,t,i,r,c){var o,l,f,h;if(l=32,i<0){if(n[0]>=e.length||(l=rc(e,n[0]),l!=43&&l!=45)||(++n[0],i=Oz(e,n),i<0))return!1;l==45&&(i=-i)}return l==32&&n[0]-t==2&&r.b==2&&(f=new u$,h=f.q.getFullYear()-Z0+Z0-80,o=h%100,c.a=i==o,i+=(h/100|0)*100+(i=0?G0(e):hE(G0(Id(e)))),ZS[n]=D$(Xh(e,n),0)?G0(Xh(e,n)):hE(G0(Id(Xh(e,n)))),e=hc(e,5);for(;n=h&&(f=i);f&&(g=k.Math.max(g,f.a.o.a)),g>y&&(p=h,y=g)}return p}function XIn(e){var n,t,i,r,c,o,l;for(c=new Ed(u(Ot(new Dp),51)),l=Ir,t=new P(e.d);t.afWe?Tr(f,e.b):i<=fWe&&i>aWe?Tr(f,e.d):i<=aWe&&i>hWe?Tr(f,e.c):i<=hWe&&Tr(f,e.a),c=pXe(e,f,c);return r}function mXe(e,n,t,i){var r,c,o,l,f,h;for(r=(i.c+i.a)/2,qs(n.j),Vt(n.j,r),qs(t.e),Vt(t.e,r),h=new yAe,l=new P(e.f);l.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),CE(n.a,F(z(Lr,1),Ae,8,0,[y,p]))}function Lbe(e,n,t){var i,r;for(n=48;t--)wA[t]=t-48<<24>>24;for(i=70;i>=65;i--)wA[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)wA[r]=r-97+10<<24>>24;for(c=0;c<10;c++)IG[c]=48+c&yr;for(e=10;e<=15;e++)IG[e]=65+e-10&yr}function jXe(e,n){n.Tg("Process graph bounds",1),he(e,(Ti(),pre),fT(GY(N2(new pn(null,new yn(e.b,16)),new eU)))),he(e,mre,fT(GY(N2(new pn(null,new yn(e.b,16)),new Bs)))),he(e,y4e,fT(HY(N2(new pn(null,new yn(e.b,16)),new xM)))),he(e,k4e,fT(HY(N2(new pn(null,new yn(e.b,16)),new AM)))),n.Ug()}function WIn(e){var n,t,i,r,c;r=u(C(e,(Oe(),Tg)),22),c=u(C(e,EH),22),t=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new wc(t),r.Gc((Vs(),qm))&&(i=u(C(e,I7),8),c.Gc((_s(),Y7))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=k.Math.max(t.a,i.a),n.b=k.Math.max(t.b,i.b)),ze(Be(C(e,Bie)))||SLn(e,t,n)}function ZIn(e){var n,t,i,r,c,o,l;for(n=!1,t=0,r=new P(e.d.b);r.a>19!=0)return"-"+EXe(c8(e));for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=lY(uF),t=yge(t,r,!0),n=""+RAe(rb),!(t.l==0&&t.m==0&&t.h==0))for(c=9-n.length;c>0;c--)n="0"+n;i=n+i}return i}function eDn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",n=Object.create(null);if(n[e]!==void 0)return!1;var t=Object.getOwnPropertyNames(n);return!(t.length!=0||(n[e]=42,n[e]!==42)||Object.getOwnPropertyNames(n).length==0)}function nDn(e,n,t){var i,r,c,o,l,f,h,g,p;for(i=t.c,r=t.d,l=$a(n.c),f=$a(n.d),i==n.c?(l=kbe(e,l,r),f=SGe(n.d)):(l=SGe(n.c),f=kbe(e,f,r)),h=new VP(n.a),Ki(h,l,h.a,h.a.a),Ki(h,f,h.c.b,h.c),o=n.c==i,p=new hxe,c=0;c=e.a||!w0e(n,t))return-1;if(L2(u(i.Kb(n),20)))return 1;for(r=0,o=u(i.Kb(n),20).Jc();o.Ob();)if(c=u(o.Pb(),17),f=c.c.i==n?c.d.i:c.c.i,l=Rbe(e,f,t,i),l==-1||(r=k.Math.max(r,l),r>e.c-1))return-1;return r+1}function qa(){qa=Y,YH=new Yr((Xt(),J7),1.3),_ln=new Yr(zm,($n(),!1)),E6e=new Ew(15),Hx=new Yr(f1,E6e),Gx=new Yr(Zd,15),Oln=PI,Dln=Lg,Lln=r5,Pln=wb,Iln=i5,Ure=zI,$ln=Fm,M6e=(ige(),Mln),A6e=Aln,Kre=Tln,C6e=Cln,j6e=Eln,Xre=jln,k6e=kln,x6e=xln,v6e=BI,Nln=pce,OI=mln,m6e=pln,NI=vln,S6e=Sln,y6e=yln}function SXe(e,n){var t,i,r,c,o,l;if(ue(n)===ue(e))return!0;if(!X(n,16)||(i=u(n,16),l=e.gc(),i.gc()!=l))return!1;if(o=i.Jc(),e.Wi()){for(t=0;t0){if(e.Zj(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw R(new hh("Invalid hexadecimal"))}}function AXe(e,n,t,i){var r,c,o,l,f,h;for(f=iW(e,t),h=iW(n,t),r=!1;f&&h&&(i||oxn(f,h,t));)o=iW(f,t),l=iW(h,t),sO(n),sO(e),c=f.c,iZ(f,!1),iZ(h,!1),t?(q0(n,h.p,c),n.p=h.p,q0(e,f.p+1,c),e.p=f.p):(q0(e,f.p,c),e.p=f.p,q0(n,h.p+1,c),n.p=h.p),Or(f,null),Or(h,null),f=o,h=l,r=!0;return r}function MXe(e){switch(e.g){case 0:return new sP;case 1:return new lP;case 3:return new PMe;case 4:return new N6;case 5:return new aNe;case 6:return new ko;case 2:return new fP;case 7:return new AC;case 8:return new xC;default:throw R(new Un("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function cDn(e,n,t,i){var r,c,o,l,f;for(r=!1,c=!1,l=new P(i.j);l.a=n.length)throw R(new jo("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new _T(i),RY(this.e,this.c,(Ie(),Yn)),this.i=new _T(i),RY(this.i,this.c,nt),this.f=new PIe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Fn(),wr),this.a&&MCn(this,e,n.length)}function TXe(e,n){var t,i,r,c,o,l;c=!e.B.Gc((_s(),QI)),o=e.B.Gc(Oce),e.a=new hJe(o,c,e.c),e.n&&fae(e.a.n,e.n),AX(e.g,(pa(),No),e.a),n||(i=new UE(1,c,e.c),i.n.a=e.k,Py(e.p,(Ie(),Vn),i),r=new UE(1,c,e.c),r.n.d=e.k,Py(e.p,bt,r),l=new UE(0,c,e.c),l.n.c=e.k,Py(e.p,Yn,l),t=new UE(0,c,e.c),t.n.b=e.k,Py(e.p,nt,t))}function oDn(e){var n,t,i;switch(n=u(C(e.d,(Oe(),W1)),222),n.g){case 2:t=VRn(e);break;case 3:t=(i=new Te,er(li(So(lu(lu(new pn(null,new yn(e.d.b,16)),new rw),new i_),new Ek),new b0),new Yje(i)),i);break;default:throw R(new Uc("Compaction not supported for "+n+" edges."))}vPn(e,t),cc(new it(e.g),new Uje(e))}function sDn(e,n){var t,i,r,c,o,l,f;if(n.Tg("Process directions",1),t=u(C(e,(Mu(),Sp)),86),t!=(vr(),th))for(r=St(e.b,0);r.b!=r.d.c;){switch(i=u(jt(r),40),l=u(C(i,(Ti(),MI)),15).a,f=u(C(i,CI),15).a,t.g){case 4:f*=-1;break;case 1:c=l,l=f,f=c;break;case 2:o=l,l=-f,f=o}he(i,MI,ye(l)),he(i,CI,ye(f))}n.Ug()}function lDn(e){var n,t,i,r,c,o,l,f;for(f=new UPe,l=new P(e.a);l.a0&&n=0)return!1;if(n.p=t.b,Ce(t.e,n),r==(Fn(),dr)||r==wo){for(o=new P(n.j);o.ae.d[l.p]&&(t+=qae(e.b,c),_0(e.a,ye(c)))):++o;for(t+=e.b.d*o;!xj(e.a);)xhe(e.b,u(Ly(e.a),15).a)}return t}function zXe(e){var n,t,i,r,c,o;return c=0,n=af(e),n.ik()&&(c|=4),(e.Bb&as)!=0&&(c|=2),X(e,103)?(t=u(e,19),r=Oc(t),(t.Bb&Ru)!=0&&(c|=32),r&&(dt(D2(r)),c|=8,o=r.t,(o>1||o==-1)&&(c|=16),(r.Bb&Ru)!=0&&(c|=64)),(t.Bb&Ec)!=0&&(c|=Q0),c|=qf):X(n,459)?c|=512:(i=n.ik(),i&&(i.i&1)!=0&&(c|=256)),(e.Bb&512)!=0&&(c|=128),c}function kDn(e,n){var t;return e.f==Gce?(t=Nw(Vc((ls(),nc),n)),e.e?t==4&&n!=(l4(),i6)&&n!=(l4(),t6)&&n!=(l4(),qce)&&n!=(l4(),Uce):t==2):e.d&&(e.d.Gc(n)||e.d.Gc(Fy(Vc((ls(),nc),n)))||e.d.Gc(v3((ls(),nc),e.b,n)))?!0:e.f&&Sbe((ls(),e.f),GT(Vc(nc,n)))?(t=Nw(Vc(nc,n)),e.e?t==4:t==2):!1}function jDn(e,n){var t,i,r,c,o,l,f,h;for(c=new Te,n.b.c.length=0,t=u(gs(xae(new pn(null,new yn(new it(e.a.b),1))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),r=t.Jc();r.Ob();)if(i=u(r.Pb(),15),o=Rae(e.a,i),o.b!=0)for(l=new Xu(n),qn(c.c,l),l.p=i.a,h=St(o,0);h.b!=h.d.c;)f=u(jt(h),9),Or(f,l);Sr(n.b,c)}function LW(e){var n,t,i,r,c,o,l;for(l=new wt,i=new P(e.a.b);i.amg&&(r-=mg),l=u(ke(i,Y4),8),h=l.a,p=l.b+e,c=k.Math.atan2(p,h),c<0&&(c+=mg),c+=n,c>mg&&(c-=mg),Da(),Bf(1e-10),k.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:Jb(isNaN(r),isNaN(c))}function Hbe(e,n,t,i){var r,c,o;n&&(c=ne(re(C(n,(Ti(),Qd))))+i,o=t+ne(re(C(n,zH)))/2,he(n,MI,ye(Rt(Lu(k.Math.round(c))))),he(n,CI,ye(Rt(Lu(k.Math.round(o))))),n.d.b==0||Hbe(e,u(z$((r=St(new A1(n).a.d,0),new Nv(r))),40),t+ne(re(C(n,zH)))+e.b,i+ne(re(C(n,z7)))),C(n,yre)!=null&&Hbe(e,u(C(n,yre),40),t,i))}function ADn(e,n){var t,i,r,c;if(c=u(ke(e,(Xt(),c5)),64).g-u(ke(n,c5),64).g,c!=0)return c;if(t=u(ke(e,jce),15),i=u(ke(n,jce),15),t&&i&&(r=t.a-i.a,r!=0))return r;switch(u(ke(e,c5),64).g){case 1:return ji(e.i,n.i);case 2:return ji(e.j,n.j);case 3:return ji(n.i,e.i);case 4:return ji(n.j,e.j);default:throw R(new Uc(gwe))}}function Gbe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new il(z2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new pe(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(vw(Kt(vw(Kt(vw(Kt(vw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function FXe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new il(F2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new pe(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(vw(Kt(vw(Kt(vw(Kt(vw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function MDn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;for(S=-1,A=0,g=n,p=0,y=g.length;p0&&++A;++S}return A}function CDn(e,n){var t,i,r,c,o;for(n==(PE(),ure)&&KO(u(vi(e.a,(Y2(),rI)),16)),r=u(vi(e.a,(Y2(),rI)),16).Jc();r.Ob();)switch(i=u(r.Pb(),107),t=u(Le(i.j,0),113).d.j,c=new bs(i.j),Tr(c,new P5),n.g){case 2:sW(e,c,t,(zw(),sb),1);break;case 1:case 0:o=mNn(c),sW(e,new D0(c,0,o),t,(zw(),sb),0),sW(e,new D0(c,o,c.c.length),t,sb,1)}}function TDn(e){var n,t,i,r,c,o,l;for(r=u(C(e,(ve(),pp)),9),i=e.j,t=(kn(0,i.c.length),u(i.c[0],12)),o=new P(r.j);o.ar.p?(Ar(c,bt),c.d&&(l=c.o.b,n=c.a.b,c.a.b=l-n)):c.j==bt&&r.p>e.p&&(Ar(c,Vn),c.d&&(l=c.o.b,n=c.a.b,c.a.b=-(l-n)));break}return r}function qbe(e,n){var t,i,r,c,o,l,f;if(n==null||n.length==0)return null;if(r=u(lo(e.a,n),144),!r){for(i=(l=new ot(e.b).a.vc().Jc(),new Hi(l));i.a.Ob();)if(t=(c=u(i.a.Pb(),45),u(c.kd(),144)),o=t.c,f=n.length,bn(o.substr(o.length-f,f),n)&&(n.length==o.length||rc(o,o.length-n.length-1)==46)){if(r)return null;r=t}r&&Kc(e.a,n,r)}return r}function I8(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=new Ee(n,t),g=new P(e.a);g.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),CE(n.a,F(z(Lr,1),Ae,8,0,[y,p]))}function V0(){V0=Y,OH=new w2(ya,0),yI=new w2("NIKOLOV",1),kI=new w2("NIKOLOV_PIXEL",2),Rye=new w2("NIKOLOV_IMPROVED",3),Bye=new w2("NIKOLOV_IMPROVED_PIXEL",4),$ye=new w2("DUMMYNODE_PERCENTAGE",5),zye=new w2("NODECOUNT_PERCENTAGE",6),NH=new w2("NO_BOUNDARY",7),$7=new w2("MODEL_ORDER_LEFT_TO_RIGHT",8),Cx=new w2("MODEL_ORDER_RIGHT_TO_LEFT",9)}function $W(e,n){var t,i,r,c,o,l,f,h,g,p,y,S;return g=null,y=bbe(e,n),i=null,l=u(ke(n,(Xt(),Lfn)),300),l?i=l:i=(AE(),KI),S=i,S==(AE(),KI)&&(r=null,h=u(zn(e.r,y),300),h?r=h:r=Tce,S=r),ei(e.r,n,S),c=null,f=u(ke(n,_fn),278),f?c=f:c=(a8(),JI),p=c,p==(a8(),JI)&&(o=null,t=u(zn(e.b,y),278),t?o=t:o=fG,p=o),g=u(ei(e.b,n,p),278),g}function zDn(e){var n,t,i,r,c;for(i=e.length,n=new Aj,c=0;c=40,o&&B_n(e),QLn(e),mIn(e),t=GFe(e),i=0;t&&i0&&Vt(e.g,c)):(e.d[o]-=h+1,e.d[o]<=0&&e.a[o]>0&&Vt(e.f,c))))}function eKe(e,n,t,i){var r,c,o,l,f,h,g;for(f=new Ee(t,i),Nr(f,u(C(n,(Ti(),B7)),8)),g=St(n.b,0);g.b!=g.d.c;)h=u(jt(g),40),pi(h.e,f),Vt(e.b,h);for(l=u(gs(jae(new pn(null,new yn(n.a,16))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16).Jc();l.Ob();){for(o=u(l.Pb(),65),c=St(o.a,0);c.b!=c.d.c;)r=u(jt(c),8),r.a+=f.a,r.b+=f.b;Vt(e.a,o)}}function Zbe(e,n){var t,i,r,c;if(0<(X(e,18)?u(e,18).gc():da(e.Jc()))){if(r=n,1=0&&f1)&&n==1&&u(e.a[e.b],9).k==(Fn(),Uu)?h4(u(e.a[e.b],9),(al(),a1)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&u(e.a[e.c-1&e.a.length-1],9).k==(Fn(),Uu)?h4(u(e.a[e.c-1&e.a.length-1],9),(al(),pb)):(e.c-e.b&e.a.length-1)==2?(h4(u(DE(e),9),(al(),a1)),h4(u(DE(e),9),pb)):$On(e,r),Jae(e)}function i_n(e){var n,t,i,r,c,o,l,f;for(f=new wt,n=new wX,o=e.Jc();o.Ob();)r=u(o.Pb(),9),l=Sw(uT(new Rb,r),n),Ko(f.f,r,l);for(c=e.Jc();c.Ob();)for(r=u(c.Pb(),9),i=new Xn(Qn(Ii(r).a.Jc(),new ee));ht(i);)t=u(rt(i),17),!uc(t)&&Hf(Nf(Of(Tf(If(new rf,k.Math.max(1,u(C(t,(Oe(),pye)),15).a)),1),u(zn(f,t.c.i),124)),u(zn(f,t.d.i),124)));return n}function iKe(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;if(_8n(e,n,t),c=n[t],S=i?(Ie(),Yn):(Ie(),nt),rpn(n.length,t,i)){for(r=n[i?t-1:t+1],uhe(e,r,i?(Nc(),Io):(Nc(),ys)),f=c,g=0,y=f.length;gc*2?(g=new pB(p),h=us(o)/Gs(o),f=oZ(g,n,new ay,t,i,r,h),pi(aa(g.e),f),p.c.length=0,c=0,qn(p.c,g),qn(p.c,o),c=us(g)*Gs(g)+us(o)*Gs(o)):(qn(p.c,o),c+=us(o)*Gs(o));return p}function c_n(e,n){var t,i,r,c,o,l,f;for(n.Tg("Port order processing",1),f=u(C(e,(Oe(),wye)),421),i=new P(e.b);i.at?n:t;h<=p;++h)h==t?l=i++:(c=r[h],g=A.$l(c.Jk()),h==n&&(f=h==p&&!g?i-1:i),g&&++i);return y=u(JE(e,n,t),75),l!=f&&d9(e,new oO(e.e,7,o,ye(l),S.kd(),f)),y}}else return u(EW(e,n,t),75);return u(JE(e,n,t),75)}function ege(e,n){var t,i,r,c,o,l,f,h,g,p;for(p=0,c=new Gv,_0(c,n);c.b!=c.c;)for(f=u(Ly(c),218),h=0,g=u(C(n.j,(Oe(),l1)),269),u(C(n.j,mx),329),o=ne(re(C(n.j,bI))),l=ne(re(C(n.j,Mie))),g!=(H1(),hb)&&(h+=o*GOn(n.j,f.e,g),h+=l*MDn(n.j,f.e)),p+=AHe(f.d,f.e)+h,r=new P(f.b);r.a=0&&(l=yxn(e,o),!(l&&(h<22?f.l|=1<>>1,o.m=g>>>1|(p&1)<<21,o.l=y>>>1|(g&1)<<21,--h;return t&&eQ(f),c&&(i?(rb=c8(e),r&&(rb=Ize(rb,(V9(),xme)))):rb=_o(e.l,e.m,e.h)),f}function s_n(e,n){var t,i,r,c,o,l,f,h,g,p;for(h=e.e[n.c.p][n.p]+1,f=n.c.a.c.length+1,l=new P(e.a);l.a0&&(Wn(0,e.length),e.charCodeAt(0)==45||(Wn(0,e.length),e.charCodeAt(0)==43))?1:0,i=o;it)throw R(new hh(tp+e+'"'));return l}function l_n(e){var n,t,i,r,c,o,l;for(o=new xi,c=new P(e.a);c.a=e.length)return t.o=0,!0;switch(rc(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++n[0],c=n[0],o=Oz(e,n),o==0&&n[0]==c)return!1;if(n[0]l&&(l=r,g.c.length=0),r==l&&Ce(g,new jc(t.c.i,t)));En(),Tr(g,e.c),Hb(e.b,f.p,g)}}function g_n(e,n){var t,i,r,c,o,l,f,h,g;for(o=new P(n.b);o.al&&(l=r,g.c.length=0),r==l&&Ce(g,new jc(t.d.i,t)));En(),Tr(g,e.c),Hb(e.f,f.p,g)}}function w_n(e){var n,t,i,r,c,o,l;for(c=Pa(e),r=new st((!e.e&&(e.e=new In(pr,e,7,4)),e.e));r.e!=r.i.gc();)if(i=u(ft(r),85),l=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)),!B2(l,c))return!0;for(t=new st((!e.d&&(e.d=new In(pr,e,8,5)),e.d));t.e!=t.i.gc();)if(n=u(ft(t),85),o=iu(u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84)),!B2(o,c))return!0;return!1}function p_n(e){var n,t,i,r,c;i=u(C(e,(ve(),mi)),26),c=u(ke(i,(Oe(),Tg)),182).Gc((Vs(),$g)),e.e||(r=u(C(e,po),22),n=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Gc((Ic(),Vl))?(Ei(i,Zi,(Br(),to)),Zw(i,n.a,n.b,!1,!0)):ze(Be(ke(i,Bie)))||Zw(i,n.a,n.b,!0,!0)),c?Ei(i,Tg,rn($g)):Ei(i,Tg,(t=u(fa(uA),10),new Ll(t,u(_f(t,t.length),10),0)))}function m_n(e,n){var t,i,r,c,o,l,f,h;if(h=Be(C(n,(Mu(),Csn))),h==null||(Ln(h),h)){for(XTn(e,n),r=new Te,f=St(n.b,0);f.b!=f.d.c;)o=u(jt(f),40),t=R0e(e,o,null),t&&(Pu(t,n),qn(r.c,t));if(e.a=null,e.b=null,r.c.length>1)for(i=new P(r);i.a=0&&l!=t&&(c=new Dr(e,1,l,o,null),i?i.lj(c):i=c),t>=0&&(c=new Dr(e,1,t,l==t?o:null,n),i?i.lj(c):i=c)),i}function cKe(e){var n,t,i;if(e.b==null){if(i=new kd,e.i!=null&&(Bc(i,e.i),i.a+=":"),(e.f&256)!=0){for((e.f&256)!=0&&e.a!=null&&(N5n(e.i)||(i.a+="//"),Bc(i,e.a)),e.d!=null&&(i.a+="/",Bc(i,e.d)),(e.f&16)!=0&&(i.a+="/"),n=0,t=e.j.length;ny?!1:(p=(f=bS(i,y,!1),f.a),g+l+p<=n.b&&(cO(t,c-t.s),t.c=!0,cO(i,c-t.s),RO(i,t.s,t.t+t.d+l),i.k=!0,c1e(t.q,i),S=!0,r&&(EB(n,i),i.j=n,e.c.length>o&&(JO((kn(o,e.c.length),u(e.c[o],186)),i),(kn(o,e.c.length),u(e.c[o],186)).a.c.length==0&&Od(e,o)))),S)}function x_n(e,n){var t,i,r,c,o,l;if(n.Tg("Partition midprocessing",1),r=new _w,er(li(new pn(null,new yn(e.a,16)),new k6),new Oje(r)),r.d!=0){for(l=u(gs(xae((c=r.i,new pn(null,(c||(r.i=new Uv(r,r.c))).Lc()))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),i=l.Jc(),t=u(i.Pb(),15);i.Ob();)o=u(i.Pb(),15),pNn(u(vi(r,t),22),u(vi(r,o),22)),t=o;n.Ug()}}function fS(e,n){var t,i,r,c,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(r=u(e.Ab.g,1995),n==null){for(c=0;ct.s&&lf+A&&(O=p.g+y.g,y.a=(y.g*y.a+p.g*p.a)/O,y.g=O,p.f=y,t=!0)),c=l,p=y;return t}function C_n(e,n,t){var i,r,c,o,l,f,h,g;for(t.Tg(ZQe,1),Hu(e.b),Hu(e.a),l=null,c=St(n.b,0);!l&&c.b!=c.d.c;)h=u(jt(c),40),ze(Be(C(h,(Ti(),gb))))&&(l=h);for(f=new xi,Ki(f,l,f.c.b,f.c),RVe(e,f),g=St(n.b,0);g.b!=g.d.c;)h=u(jt(g),40),o=Pt(C(h,(Ti(),$x))),r=lo(e.b,o)!=null?u(lo(e.b,o),15).a:0,he(h,wre,ye(r)),i=1+(lo(e.a,o)!=null?u(lo(e.a,o),15).a:0),he(h,v4e,ye(i));t.Ug()}function aKe(e){b2(e,new Kw(h2(l2(a2(f2(new pd,sp),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new VM))),Se(e,sp,am,p9e),Se(e,sp,fm,15),Se(e,sp,CN,ye(0)),Se(e,sp,N2e,_e(b9e)),Se(e,sp,S3,_e(jfn)),Se(e,sp,k4,_e(Efn)),Se(e,sp,V8,EWe),Se(e,sp,AS,_e(g9e)),Se(e,sp,j4,_e(w9e)),Se(e,sp,I2e,_e(fce)),Se(e,sp,IF,_e(kfn))}function hKe(e,n){var t,i,r,c,o,l,f,h,g;if(r=e.i,o=r.o.a,c=r.o.b,o<=0&&c<=0)return Ie(),ju;switch(h=e.n.a,g=e.n.b,l=e.o.a,t=e.o.b,n.g){case 2:case 1:if(h<0)return Ie(),Yn;if(h+l>o)return Ie(),nt;break;case 4:case 3:if(g<0)return Ie(),Vn;if(g+t>c)return Ie(),bt}return f=(h+l/2)/o,i=(g+t/2)/c,f+i<=1&&f-i<=0?(Ie(),Yn):f+i>=1&&f-i>=0?(Ie(),nt):i<.5?(Ie(),Vn):(Ie(),bt)}function dKe(e,n,t,i,r,c,o){var l,f,h,g,p,y;for(y=new Sy,h=n.Jc();h.Ob();)for(l=u(h.Pb(),837),p=new P(l.Pf());p.a0?l.a?(h=l.b.Kf().b,r>h&&(e.v||l.c.d.c.length==1?(o=(r-h)/2,l.d.d=o,l.d.a=o):(t=u(Le(l.c.d,0),187).Kf().b,i=(t-h)/2,l.d.d=k.Math.max(0,i),l.d.a=r-i-h))):l.d.a=e.t+r:lE(e.u)&&(c=y0e(l.b),c.d<0&&(l.d.d=-c.d),c.d+c.a>l.b.Kf().b&&(l.d.a=c.d+c.a-l.b.Kf().b))}function Gf(){Gf=Y,O4=new Yr((Xt(),FI),ye(1)),EJ=new Yr(Zd,80),Ntn=new Yr(X9e,5),ktn=new Yr(J7,K8),Ttn=new Yr(Sce,ye(1)),Otn=new Yr(xce,($n(),!0)),ove=new Ew(50),Mtn=new Yr(f1,ove),rve=BI,sve=Wx,jtn=new Yr(bce,!1),uve=zI,xtn=zm,Atn=wb,Stn=Lg,Etn=i5,Ctn=Fm,cve=(O0e(),btn),jte=mtn,jJ=dtn,kte=gtn,lve=ptn,_tn=q7,Ltn=sG,Dtn=Hm,Itn=G7,fve=(Zy(),Um),new Yr(W4,fve)}function N_n(e,n){var t;switch(bO(e)){case 6:return $r(n);case 7:return m2(n);case 8:return p2(n);case 3:return Array.isArray(n)&&(t=bO(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===hZ;case 12:return n!=null&&(typeof n===dN||typeof n==hZ);case 0:return $Q(n,e.__elementTypeId$);case 2:return mV(n)&&n.Rm!==vn;case 1:return mV(n)&&n.Rm!==vn||$Q(n,e.__elementTypeId$);default:return!0}}function I_n(e){var n,t,i,r;i=e.o,j2(),e.A.dc()||gi(e.A,Zme)?r=i.a:(e.D?r=k.Math.max(i.a,nS(e.f)):r=nS(e.f),e.A.Gc((Vs(),VI))&&!e.B.Gc((_s(),oA))&&(r=k.Math.max(r,nS(u(zc(e.p,(Ie(),Vn)),253))),r=k.Math.max(r,nS(u(zc(e.p,bt),253)))),n=sze(e),n&&(r=k.Math.max(r,n.a))),ze(Be(e.e.Rf().mf((Xt(),zm))))?i.a=k.Math.max(i.a,r):i.a=r,t=e.f.i,t.c=0,t.b=r,GW(e.f)}function bKe(e,n){var t,i,r,c;return i=k.Math.min(k.Math.abs(e.c-(n.c+n.b)),k.Math.abs(e.c+e.b-n.c)),c=k.Math.min(k.Math.abs(e.d-(n.d+n.a)),k.Math.abs(e.d+e.a-n.d)),t=k.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=k.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:k.Math.min(i/t,c/r)+1}function D_n(e,n){var t,i,r,c,o,l,f;for(c=0,l=0,f=0,r=new P(e.f.e);r.a0&&e.d!=(SE(),xte)&&(l+=o*(i.d.a+e.a[n.a][i.a]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(SE(),Ete)&&(f+=o*(i.d.b+e.a[n.a][i.a]*(n.d.b-i.d.b)/t)));switch(e.d.g){case 1:return new Ee(l/c,n.d.b);case 2:return new Ee(n.d.a,f/c);default:return new Ee(l/c,f/c)}}function gKe(e){var n,t,i,r,c,o;for(t=(!e.a&&(e.a=new mr(kl,e,5)),e.a).i+2,o=new xo(t),Ce(o,new Ee(e.j,e.k)),er(new pn(null,(!e.a&&(e.a=new mr(kl,e,5)),new yn(e.a,16))),new lSe(o)),Ce(o,new Ee(e.b,e.c)),n=1;n0&&(AO(f,!1,(vr(),Zc)),AO(f,!0,ru)),Ao(n.g,new oCe(e,t)),ei(e.g,n,t)}function ige(){ige=Y,Sln=new an(f2e,($n(),!1)),ye(-1),pln=new an(a2e,ye(-1)),ye(-1),mln=new an(h2e,ye(-1)),vln=new an(d2e,!1),yln=new an(b2e,!1),p6e=(ZR(),Vre),Cln=new an(g2e,p6e),Tln=new an(w2e,-1),w6e=(QB(),qre),Mln=new an(p2e,w6e),Aln=new an(m2e,!0),b6e=(sB(),Yre),Eln=new an(v2e,b6e),jln=new an(y2e,!1),ye(1),kln=new an(k2e,ye(1)),g6e=(UB(),Qre),xln=new an(j2e,g6e)}function mKe(){mKe=Y;var e;for(Dme=F(z($t,1),ni,30,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]),cte=le($t,ni,30,37,15,1),snn=F(z($t,1),ni,30,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]),_me=le(Tp,NYe,30,37,14,1),e=2;e<=36;e++)cte[e]=lc(k.Math.pow(e,Dme[e])),_me[e]=GO(pN,cte[e])}function __n(e){var n;if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i!=1)throw R(new Un(XWe+(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i));return n=new xs,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84))&&ac(n,tYe(e,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84)),!1)),VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84))&&ac(n,tYe(e,VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84)),!0)),n}function vKe(e,n){var t,i,r,c,o;for(n.d?r=e.a.c==(gh(),Ep)?cr(n.b):Ii(n.b):r=e.a.c==(gh(),Yd)?cr(n.b):Ii(n.b),c=!1,i=new Xn(Qn(r.a.Jc(),new ee));ht(i);)if(t=u(rt(i),17),o=ze(e.a.f[e.a.g[n.b.p].p]),!(!o&&!uc(t)&&t.c.i.c==t.d.i.c)&&!(ze(e.a.n[e.a.g[n.b.p].p])||ze(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,cf(e.b,e.a.g[ixn(t,n.b).p])))return n.c=!0,n.a=t,n;return n.c=c,n.a=null,n}function rge(e,n,t){var i,r,c,o,l,f,h;if(i=t.gc(),i==0)return!1;if(e.Nj())if(f=e.Oj(),ade(e,n,t),o=i==1?e.Gj(3,null,t.Jc().Pb(),n,f):e.Gj(5,null,t,n,f),e.Kj()){for(l=i<100?null:new E0(i),c=n+i,r=n;r0){for(o=0;o>16==-15&&e.Cb.Vh()&&EY(new mY(e.Cb,9,13,t,e.c,Bd(Ts(u(e.Cb,62)),e))):X(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(n=e.c,X(n,88)||(n=(jn(),Ef)),X(t,88)||(t=(jn(),Ef)),EY(new mY(e.Cb,9,10,t,n,Bd(Vu(u(e.Cb,29)),e)))))),e.c}function jKe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;if(n==t)return!0;if(n=sbe(e,n),t=sbe(e,t),i=GQ(n),i){if(g=GQ(t),g!=i)return g?(f=i.kk(),A=g.kk(),f==A&&f!=null):!1;if(o=(!n.d&&(n.d=new mr(Rc,n,1)),n.d),c=o.i,y=(!t.d&&(t.d=new mr(Rc,t,1)),t.d),c==y.i){for(h=0;h0,l=YB(n,c),hle(t?l.b:l.g,n),o3(l).c.length==1&&Ki(i,l,i.c.b,i.c),r=new jc(c,n),_0(e.o,r),qo(e.e.a,c))}function xKe(e,n){var t,i,r,c,o,l,f;return i=k.Math.abs(kR(e.b).a-kR(n.b).a),l=k.Math.abs(kR(e.b).b-kR(n.b).b),r=0,f=0,t=1,o=1,i>e.b.b/2+n.b.b/2&&(r=k.Math.min(k.Math.abs(e.b.c-(n.b.c+n.b.b)),k.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),l>e.b.a/2+n.b.a/2&&(f=k.Math.min(k.Math.abs(e.b.d-(n.b.d+n.b.a)),k.Math.abs(e.b.d+e.b.a-n.b.d)),o=1-f/l),c=k.Math.min(t,o),(1-c)*k.Math.sqrt(i*i+l*l)}function z_n(e){var n,t,i,r;for(uZ(e,e.e,e.f,(Lw(),bb),!0,e.c,e.i),uZ(e,e.e,e.f,bb,!1,e.c,e.i),uZ(e,e.e,e.f,Y3,!0,e.c,e.i),uZ(e,e.e,e.f,Y3,!1,e.c,e.i),$_n(e,e.c,e.e,e.f,e.i),i=new qr(e.i,0);i.b=65;t--)oh[t]=t-65<<24>>24;for(i=122;i>=97;i--)oh[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)oh[r]=r-48+52<<24>>24;for(oh[43]=62,oh[47]=63,c=0;c<=25;c++)u0[c]=65+c&yr;for(o=26,f=0;o<=51;++o,f++)u0[o]=97+f&yr;for(e=52,l=0;e<=61;++e,l++)u0[e]=48+l&yr;u0[62]=43,u0[63]=47}function AKe(e,n){var t,i,r,c,o,l;return r=e1e(e),l=e1e(n),r==l?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:k.Math.floor((e.a-1)*IYe)+1)-(n.d>0?n.d:k.Math.floor((n.a-1)*IYe)+1),t>i+1?r:t0&&(o=Qv(o,RKe(i))),MJe(c,o))):rh&&(y=0,S+=f+n,f=0),I8(o,y,S),t=k.Math.max(t,y+g.a),f=k.Math.max(f,g.b),y+=g.a+n;return new Ee(t+n,S+f+n)}function sge(e,n){var t,i,r,c,o,l,f;if(!Pa(e))throw R(new Uc(UWe));if(i=Pa(e),c=i.g,r=i.f,c<=0&&r<=0)return Ie(),ju;switch(l=e.i,f=e.j,n.g){case 2:case 1:if(l<0)return Ie(),Yn;if(l+e.g>c)return Ie(),nt;break;case 4:case 3:if(f<0)return Ie(),Vn;if(f+e.f>r)return Ie(),bt}return o=(l+e.g/2)/c,t=(f+e.f/2)/r,o+t<=1&&o-t<=0?(Ie(),Yn):o+t>=1&&o-t>=0?(Ie(),nt):t<.5?(Ie(),Vn):(Ie(),bt)}function H_n(e,n,t,i,r){var c,o;if(c=mc(Rr(n[0],Dc),Rr(i[0],Dc)),e[0]=Rt(c),c=Mw(c,32),t>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=c.b[0]-1),n=1;n0&&(Pb(f,f.d-r.d),r.c==(ba(),db)&&iX(f,f.a-r.d),f.d<=0&&f.i>0&&Ki(n,f,n.c.b,n.c)));for(c=new P(e.f);c.a0&&(y0(l,l.i-r.d),r.c==(ba(),db)&&OP(l,l.b-r.d),l.i<=0&&l.d>0&&Ki(t,l,t.c.b,t.c)))}function U_n(e,n,t,i,r){var c,o,l,f,h,g,p,y,S;for(En(),Tr(e,new WM),o=$T(e),S=new Te,y=new Te,l=null,f=0;o.b!=0;)c=u(o.b==0?null:(at(o.b!=0),Rl(o,o.a.a)),167),!l||us(l)*Gs(l)/21&&(f>us(l)*Gs(l)/2||o.b==0)&&(p=new pB(y),g=us(l)/Gs(l),h=oZ(p,n,new ay,t,i,r,g),pi(aa(p.e),h),l=p,qn(S.c,p),f=0,y.c.length=0));return Sr(S,y),S}function Wu(e,n,t,i,r){Sd();var c,o,l,f,h,g,p;if(zfe(e,"src"),zfe(t,"dest"),p=Us(e),f=Us(t),hfe((p.i&4)!=0,"srcType is not an array"),hfe((f.i&4)!=0,"destType is not an array"),g=p.c,o=f.c,hfe((g.i&1)!=0?g==o:(o.i&1)==0,"Array types don't match"),pkn(e,n,t,i,r),(g.i&1)==0&&p!=f)if(h=Ky(e),c=Ky(t),ue(e)===ue(t)&&ni;)ir(c,l,h[--n]);else for(l=i+r;i0),i.a.Xb(i.c=--i.b),p>y+f&&As(i);for(o=new P(S);o.a0),i.a.Xb(i.c=--i.b)}}function K_n(){ai();var e,n,t,i,r,c;if(Kce)return Kce;for(e=new ul(4),cm(e,Y0(Une,!0)),pS(e,Y0("M",!0)),pS(e,Y0("C",!0)),c=new ul(4),i=0;i<11;i++)ho(c,i,i);return n=new ul(4),cm(n,Y0("M",!0)),ho(n,4448,4607),ho(n,65438,65439),r=new Wj(2),dg(r,e),dg(r,mA),t=new Wj(2),t.Hm(gR(c,Y0("L",!0))),t.Hm(n),t=new P2(3,t),t=new Jfe(r,t),Kce=t,Kce}function rm(e,n){var t,i,r,c,o,l,f,h;for(t=new RegExp(n,"g"),f=le(Je,Ae,2,0,6,1),i=0,h=e,c=null;;)if(l=t.exec(h),l==null||h==""){f[i]=h;break}else o=l.index,f[i]=(Qr(0,o,h.length),h.substr(0,o)),h=sf(h,o+l[0].length,h.length),t.lastIndex=0,c==h&&(f[i]=(Qr(0,1,h.length),h.substr(0,1)),h=(Wn(1,h.length+1),h.substr(1))),c=h,++i;if(e.length>0){for(r=f.length;r>0&&f[r-1]=="";)--r;rg&&(g=f);for(h=k.Math.pow(4,n),g>h&&(h=g),y=(k.Math.log(h)-k.Math.log(1))/n,c=k.Math.exp(y),r=c,o=0;o0&&(p-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(p-=i[2]+e.c),i[1]=k.Math.max(i[1],p),pR(e.a[1],t.c+n.b+i[0]-(i[1]-p)/2,i[1]);for(c=e.a,l=0,h=c.length;l0?(e.n.c.length-1)*e.i:0,i=new P(e.n);i.a1)for(i=St(r,0);i.b!=i.d.c;)for(t=u(jt(i),235),c=0,f=new P(t.e);f.a0&&(n[0]+=e.c,p-=n[0]),n[2]>0&&(p-=n[2]+e.c),n[1]=k.Math.max(n[1],p),mR(e.a[1],i.d+t.d+n[0]-(n[1]-p)/2,n[1]);else for(A=i.d+t.d,S=i.a-t.d-t.a,o=e.a,f=0,g=o.length;f=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(o=u(Le(n.n,n.n.c.length-1),208),o.e+o.d+t.g+r<=i&&(c=u(Le(n.n,n.n.c.length-1),208),c.f-e.f+t.f<=e.b||e.a.c.length==1))return tde(n,t),!0;if(n.s+t.g<=i&&n.t+n.d+t.f+r<=e.f+e.b)return Ce(n.b,t),l=u(Le(n.n,n.n.c.length-1),208),Ce(n.n,new zR(n.s,l.f+l.a+n.i,n.i)),Lde(u(Le(n.n,n.n.c.length-1),208),t),TKe(n,t),!0}return!1}function Xz(e,n,t,i){var r,c,o,l,f;if(f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o0||Hw(r.b.d,e.b.d+e.b.a)==0&&i.b<0||Hw(r.b.d+r.b.a,e.b.d)==0&&i.b>0){l=0;break}}else l=k.Math.min(l,vqe(e,r,i));l=k.Math.min(l,NKe(e,c,l,i))}return l}function fge(e,n){var t,i,r,c,o,l,f;if(e.b<2)throw R(new Un("The vector chain must contain at least a source and a target point."));for(r=(at(e.b!=0),u(e.a.a.c,8)),ST(n,r.a,r.b),f=new Ay((!n.a&&(n.a=new mr(kl,n,5)),n.a)),o=St(e,1);o.a=0&&c!=t))throw R(new Un(JN));for(r=0,f=0;fne(_a(o.g,o.d[0]).a)?(at(f.b>0),f.a.Xb(f.c=--f.b),E2(f,o),r=!0):l.e&&l.e.gc()>0&&(c=(!l.e&&(l.e=new Te),l.e).Kc(n),h=(!l.e&&(l.e=new Te),l.e).Kc(t),(c||h)&&((!l.e&&(l.e=new Te),l.e).Ec(o),++o.c));r||qn(i.c,o)}function iLn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;return p=e.a.i+e.a.g/2,y=e.a.i+e.a.g/2,A=n.i+n.g/2,D=n.j+n.f/2,l=new Ee(A,D),h=u(ke(n,(Xt(),Y4)),8),h.a=h.a+p,h.b=h.b+y,c=(l.b-h.b)/(l.a-h.a),i=l.b-c*l.a,O=t.i+t.g/2,B=t.j+t.f/2,f=new Ee(O,B),g=u(ke(t,Y4),8),g.a=g.a+p,g.b=g.b+y,o=(f.b-g.b)/(f.a-g.a),r=f.b-o*f.a,S=(i-r)/(o-c),h.a>>0,"0"+n.toString(16)),i="\\x"+sf(t,t.length-2,t.length)):e>=Ec?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+sf(t,t.length-6,t.length)):i=""+String.fromCharCode(e&yr)}return i}function PKe(e,n){var t,i,r,c,o,l,f,h,g;for(c=new P(e.b);c.at){n.Ug();return}switch(u(C(e,(Oe(),Gie)),350).g){case 2:c=new C6;break;case 0:c=new qp;break;default:c=new hM}if(i=c.mg(e,r),!c.ng())switch(u(C(e,xH),351).g){case 2:i=yqe(r,i);break;case 1:i=fGe(r,i)}rPn(e,r,i),n.Ug()}function aS(e,n){var t,i,r,c,o,l,f,h;n%=24,e.q.getHours()!=n&&(i=new k.Date(e.q.getTime()),i.setDate(i.getDate()+1),l=e.q.getTimezoneOffset()-i.getTimezoneOffset(),l>0&&(f=l/60|0,h=l%60,r=e.q.getDate(),t=e.q.getHours(),t+f>=24&&++r,c=new k.Date(e.q.getFullYear(),e.q.getMonth(),r,n+f,e.q.getMinutes()+h,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),o=e.q.getTime(),e.q.setTime(o+36e5),e.q.getHours()!=n&&e.q.setTime(o)}function fLn(e,n){var t,i,r,c;if(Gyn(e.d,e.e),e.c.a.$b(),ne(re(C(n.j,(Oe(),bI))))!=0||ne(re(C(n.j,bI)))!=0)for(t=A3,ue(C(n.j,l1))!==ue((H1(),hb))&&he(n.j,(ve(),lb),($n(),!0)),c=u(C(n.j,xx),15).a,r=0;rr&&++h,Ce(o,(kn(l+h,n.c.length),u(n.c[l+h],15))),f+=(kn(l+h,n.c.length),u(n.c[l+h],15)).a-i,++t;t=D&&e.e[f.p]>A*e.b||V>=t*D)&&(qn(y.c,l),l=new Te,ac(o,c),c.a.$b(),h-=g,S=k.Math.max(S,h*e.b+O),h+=V,U=V,V=0,g=0,O=0);return new jc(S,y)}function UW(e){var n,t,i,r,c,o,l;if(!e.d){if(l=new dU,n=hA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),nr(l,UW(t));n.a.Ac(e)!=null,n.a.gc()==0}for(o=l.i,r=(!e.q&&(e.q=new pe(kf,e,11,10)),new st(e.q));r.e!=r.i.gc();++o)u(ft(r),403);nr(l,(!e.q&&(e.q=new pe(kf,e,11,10)),e.q)),G2(l),e.d=new Bv((u(K(we((O0(),Bn).o),9),19),l.i),l.g),e.e=u(l.g,678),e.e==null&&(e.e=rhn),Ms(e).b&=-17}return e.d}function _8(e,n,t,i){var r,c,o,l,f,h;if(h=Po(e.e.Ah(),n),f=0,r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o1||A==-1)if(p=u(O,72),y=u(g,72),p.dc())y.$b();else for(o=!!Oc(n),c=0,l=e.a?p.Jc():p.Gi();l.Ob();)h=u(l.Pb(),57),r=u(Ba(e,h),57),r?(o?(f=y.bd(r),f==-1?y.Ei(c,r):c!=f&&y.Si(c,r)):y.Ei(c,r),++c):e.b&&!o&&(y.Ei(c,h),++c);else O==null?g.Wb(null):(r=Ba(e,O),r==null?e.b&&!Oc(n)&&g.Wb(O):g.Wb(r))}function gLn(e,n){var t,i,r,c,o,l,f,h;for(t=new v6,r=new Xn(Qn(cr(n).a.Jc(),new ee));ht(r);)if(i=u(rt(r),17),!uc(i)&&(l=i.c.i,w0e(l,MJ))){if(h=Rbe(e,l,MJ,AJ),h==-1)continue;t.b=k.Math.max(t.b,h),!t.a&&(t.a=new Te),Ce(t.a,l)}for(o=new Xn(Qn(Ii(n).a.Jc(),new ee));ht(o);)if(c=u(rt(o),17),!uc(c)&&(f=c.d.i,w0e(f,AJ))){if(h=Rbe(e,f,AJ,MJ),h==-1)continue;t.d=k.Math.max(t.d,h),!t.c&&(t.c=new Te),Ce(t.c,f)}return t}function wLn(e,n,t,i){var r,c,o,l,f,h,g;if(t.d.i!=n.i){for(r=new Ja(e),Cf(r,(Fn(),dr)),he(r,(ve(),mi),t),he(r,(Oe(),Zi),(Br(),to)),qn(i.c,r),o=new Qu,wu(o,r),Ar(o,(Ie(),Yn)),l=new Qu,wu(l,r),Ar(l,nt),g=t.d,Gr(t,o),c=new Dw,Pu(c,t),he(c,Wc,null),fc(c,l),Gr(c,g),h=new qr(t.b,0);h.b1e6)throw R(new qP("power of ten too big"));if(e<=oi)return Hy(WO(M4[1],n),n);for(i=WO(M4[1],oi),r=i,t=Lu(e-oi),n=lc(e%oi);ao(t,oi)>0;)r=Qv(r,i),t=ff(t,oi);for(r=Qv(r,WO(M4[1],n)),r=Hy(r,oi),t=Lu(e-oi);ao(t,oi)>0;)r=Hy(r,oi),t=ff(t,oi);return r=Hy(r,n),r}function BKe(e){var n,t,i,r,c,o,l,f,h,g;for(f=new P(e.a);f.ah&&i>h)g=l,h=ne(n.p[l.p])+ne(n.d[l.p])+l.o.b+l.d.a;else{r=!1,t.$g()&&t.ah("bk node placement breaks on "+l+" which should have been after "+g);break}if(!r)break}return t.$g()&&t.ah(n+" is feasible: "+r),r}function dge(e,n,t,i){var r,c,o,l,f,h,g,p,y;if(c=new Ja(e),Cf(c,(Fn(),wo)),he(c,(Oe(),Zi),(Br(),to)),r=0,n){for(o=new Qu,he(o,(ve(),mi),n),he(c,mi,n.i),Ar(o,(Ie(),Yn)),wu(o,c),y=ph(n.e),h=y,g=0,p=h.length;g0){if(r<0&&g.a&&(r=f,c=h[0],i=0),r>=0){if(l=g.b,f==r&&(l-=i++,l==0))return 0;if(!FVe(n,h,g,l,o)){f=r-1,h[0]=c;continue}}else if(r=-1,!FVe(n,h,g,0,o))return 0}else{if(r=-1,rc(g.c,0)==32){if(p=h[0],DRe(n,h),h[0]>p)continue}else if(nyn(n,g.c,h[0])){h[0]+=g.c.length;continue}return 0}return lRn(o,t)?h[0]:0}function kLn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(g=new yR(new oje(t)),l=le(ts,va,30,e.f.e.c.length,16,1),Bfe(l,l.length),t[n.a]=0,h=new P(e.f.e);h.a=l.a?c.b>=l.b?(i.a=l.a+(c.a-l.a)/2+r,i.b=l.b+(c.b-l.b)/2-r-e.e.b):(i.a=l.a+(c.a-l.a)/2+r,i.b=c.b+(l.b-c.b)/2+r):c.b>=l.b?(i.a=c.a+(l.a-c.a)/2+r,i.b=l.b+(c.b-l.b)/2+r):(i.a=c.a+(l.a-c.a)/2+r,i.b=c.b+(l.b-c.b)/2-r-e.e.b))}function dS(e){var n,t,i,r,c,o,l,f;if(!e.f){if(f=new uC,l=new uC,n=hA,o=n.a.yc(e,n),o==null){for(c=new st(tu(e));c.e!=c.i.gc();)r=u(ft(c),29),nr(f,dS(r));n.a.Ac(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new pe(ns,e,21,17)),new st(e.s));i.e!=i.i.gc();)t=u(ft(i),179),X(t,103)&&Et(l,u(t,19));G2(l),e.r=new dIe(e,(u(K(we((O0(),Bn).o),6),19),l.i),l.g),nr(f,e.r),G2(f),e.f=new Bv((u(K(we(Bn.o),5),19),f.i),f.g),Ms(e).b&=-3}return e.f}function Kz(){Kz=Y,z8e=F(z(Zl,1),xh,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),_an=new RegExp(`[ +\r\f]+`);try{lA=F(z(uzn,1),Nn,2076,0,[new QC((Bse(),nz("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",IT((JP(),JP(),YS))))),new QC(nz("yyyy-MM-dd'T'HH:mm:ss'.'SSS",IT(YS))),new QC(nz("yyyy-MM-dd'T'HH:mm:ss",IT(YS))),new QC(nz("yyyy-MM-dd'T'HH:mm",IT(YS))),new QC(nz("yyyy-MM-dd",IT(YS)))])}catch(e){if(e=sr(e),!X(e,80))throw R(e)}}function jLn(e){var n,t,i,r,c,o,l;for(t=null,l=null,i=u(C(e.b,(Oe(),Die)),348),i==(PE(),jI)&&(t=new Te,l=new Te),o=new P(e.d);o.at);return c}function FKe(e,n){var t,i,r,c;if(r=Ds(e.d,1)!=0,i=Tz(e,n),i==0&&ze(Be(C(n.j,(ve(),lb)))))return 0;!ze(Be(C(n.j,(ve(),lb))))&&!ze(Be(C(n.j,J3)))||ue(C(n.j,(Oe(),l1)))===ue((H1(),hb))?n.c.kg(n.e,r):r=ze(Be(C(n.j,lb))),iN(e,n,r,!0),ze(Be(C(n.j,J3)))&&he(n.j,J3,($n(),!1)),ze(Be(C(n.j,lb)))&&(he(n.j,lb,($n(),!1)),he(n.j,J3,!0)),t=Tz(e,n);do{if(Zhe(e),t==0)return 0;r=!r,c=t,iN(e,n,r,!1),t=Tz(e,n)}while(c>t);return c}function SLn(e,n,t){var i,r,c,o,l;if(i=u(C(e,(Oe(),Oie)),22),t.a>n.a&&(i.Gc((ag(),Kx))?e.c.a+=(t.a-n.a)/2:i.Gc(Vx)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((ag(),Qx))?e.c.b+=(t.b-n.b)/2:i.Gc(Yx)&&(e.c.b+=t.b-n.b)),u(C(e,(ve(),po)),22).Gc((Ic(),Vl))&&(t.a>n.a||t.b>n.b))for(l=new P(e.a);l.an.a&&(i.Gc((ag(),Kx))?e.c.a+=(t.a-n.a)/2:i.Gc(Vx)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((ag(),Qx))?e.c.b+=(t.b-n.b)/2:i.Gc(Yx)&&(e.c.b+=t.b-n.b)),u(C(e,(ve(),po)),22).Gc((Ic(),Vl))&&(t.a>n.a||t.b>n.b))for(o=new P(e.a);o.a=0&&p<=1&&y>=0&&y<=1?pi(new Ee(e.a,e.b),C1(new Ee(n.a,n.b),p)):null}function bS(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=0,o=e.t,r=0,i=0,f=0,y=0,p=0,t&&(e.n.c.length=0,Ce(e.n,new zR(e.s,e.t,e.i))),l=0,g=new P(e.b);g.a0?e.i:0)>n&&f>0&&(c=0,o+=f+e.i,r=k.Math.max(r,y),i+=f+e.i,f=0,y=0,t&&(++p,Ce(e.n,new zR(e.s,o,e.i))),l=0),y+=h.g+(l>0?e.i:0),f=k.Math.max(f,h.f),t&&Lde(u(Le(e.n,p),208),h),c+=h.g+(l>0?e.i:0),++l;return r=k.Math.max(r,y),i+=f,t&&(e.r=r,e.d=i,Rde(e.j)),new Lf(e.s,e.t,r,i)}function Vz(e){var n,t,i;return t=ue(ke(e,(Oe(),H4)))===ue((ZO(),nie))||ue(ke(e,H4))===ue(Yte)||ue(ke(e,H4))===ue(Qte)||ue(ke(e,H4))===ue(Zte)||ue(ke(e,H4))===ue(tie)||ue(ke(e,H4))===ue(uI),i=ue(ke(e,mH))===ue((nN(),Uie))||ue(ke(e,mH))===ue(Kie)||ue(ke(e,wI))===ue((V0(),$7))||ue(ke(e,wI))===ue((V0(),Cx)),n=ue(ke(e,l1))!==ue((H1(),hb))||ze(Be(ke(e,N7)))||ue(ke(e,px))!==ue((t4(),ix))||ne(re(ke(e,bI)))!=0||ne(re(ke(e,Mie)))!=0,t||i||n}function m3(e){var n,t,i,r,c,o,l,f;if(!e.a){if(e.o=null,f=new qSe(e),n=new Mf,t=hA,l=t.a.yc(e,t),l==null){for(o=new st(tu(e));o.e!=o.i.gc();)c=u(ft(o),29),nr(f,m3(c));t.a.Ac(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new pe(ns,e,21,17)),new st(e.s));r.e!=r.i.gc();)i=u(ft(r),179),X(i,335)&&Et(n,u(i,38));G2(n),e.k=new hIe(e,(u(K(we((O0(),Bn).o),7),19),n.i),n.g),nr(f,e.k),G2(f),e.a=new Bv((u(K(we(Bn.o),4),19),f.i),f.g),Ms(e).b&=-2}return e.a}function MLn(e){var n,t,i,r,c,o,l,f,h,g,p,y;if(l=e.d,p=u(C(e,(ve(),F4)),16),n=u(C(e,_4),16),!(!p&&!n)){if(c=ne(re(X2(e,(Oe(),zie)))),o=ne(re(X2(e,mye))),y=0,p){for(h=0,r=p.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),y+=i.o.a;y+=c*(p.gc()-1),l.d+=h+o}if(t=0,n){for(h=0,r=n.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),t+=i.o.a;t+=c*(n.gc()-1),l.a+=h+o}f=k.Math.max(y,t),f>e.o.a&&(g=(f-e.o.a)/2,l.b=k.Math.max(l.b,g),l.c=k.Math.max(l.c,g))}}function wge(e,n,t,i){var r,c,o,l,f,h,g;if(g=Po(e.e.Ah(),n),r=0,c=u(e.g,122),f=null,Tc(),u(n,69).vk()){for(l=0;ll?1:-1:T1e(e.a,n.a,c),r==-1)p=-f,g=o==f?hY(n.a,l,e.a,c):bY(n.a,l,e.a,c);else if(p=o,o==f){if(r==0)return jh(),WS;g=hY(e.a,c,n.a,l)}else g=bY(e.a,c,n.a,l);return h=new Xb(p,g.length,g),mE(h),h}function OLn(e,n){var t,i,r,c;if(c=MKe(n),!n.c&&(n.c=new pe($s,n,9,9)),er(new pn(null,(!n.c&&(n.c=new pe($s,n,9,9)),new yn(n.c,16))),new aje(c)),r=u(C(c,(ve(),po)),22),A$n(n,r),r.Gc((Ic(),Vl)))for(i=new st((!n.c&&(n.c=new pe($s,n,9,9)),n.c));i.e!=i.i.gc();)t=u(ft(i),125),Q$n(e,n,c,t);return u(ke(n,(Oe(),Tg)),182).gc()!=0&&bXe(n,c),ze(Be(C(c,dye)))&&r.Ec(iH),wi(c,pI)&&rAe(new rde(ne(re(C(c,pI)))),c),ue(ke(n,Am))===ue((F1(),e0))?vBn(e,n,c):iRn(e,n,c),c}function bo(e,n){var t,i,r,c,o,l,f;if(e==null)return null;if(c=e.length,c==0)return"";for(f=le(Zl,xh,30,c,15,1),Qr(0,c,e.length),Qr(0,c,f.length),aDe(e,0,c,f,0),t=null,l=n,r=0,o=0;r0?sf(t.a,0,c-1):""):(Qr(0,c-1,e.length),e.substr(0,c-1)):t?t.a:e}function NLn(e,n,t){var i,r,c;if(wi(n,(Oe(),ku))&&(ue(C(n,ku))===ue((Xs(),Q1))||ue(C(n,ku))===ue(Mg))||wi(t,ku)&&(ue(C(t,ku))===ue((Xs(),Q1))||ue(C(t,ku))===ue(Mg)))return 0;if(i=_r(n),r=vDn(e,n,t),r!=0)return r;if(wi(n,(ve(),Oi))&&wi(t,Oi)){if(c=oo(Qw(n,t,i,u(C(i,fb),15).a),Qw(t,n,i,u(C(i,fb),15).a)),ue(C(i,mx))===ue((B0(),sI))&&ue(C(n,vx))!==ue(C(t,vx))&&(c=0),c<0)return rN(e,n,t),c;if(c>0)return rN(e,t,n),c}return UTn(e,n,t)}function JKe(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(i=new Xn(Qn(K0(n).a.Jc(),new ee));ht(i);)t=u(rt(i),85),X(K((!t.b&&(t.b=new In(mt,t,4,7)),t.b),0),193)||(f=iu(u(K((!t.c&&(t.c=new In(mt,t,5,8)),t.c),0),84)),iS(t)||(o=n.i+n.g/2,l=n.j+n.f/2,g=f.i+f.g/2,p=f.j+f.f/2,y=new Vr,y.a=g-o,y.b=p-l,c=new Ee(y.a,y.b),j8(c,n.g,n.f),y.a-=c.a,y.b-=c.b,o=g-y.a,l=p-y.b,h=new Ee(y.a,y.b),j8(h,f.g,f.f),y.a-=h.a,y.b-=h.b,g=o+y.a,p=l+y.b,r=zz(t),i3(r,o),r3(r,l),n3(r,g),t3(r,p),JKe(e,f)))}function cm(e,n){var t,i,r,c,o;if(o=u(n,137),g3(e),g3(o),o.b!=null){if(e.c=!0,e.b==null){e.b=le($t,ni,30,o.b.length,15,1),Wu(o.b,0,e.b,0,o.b.length);return}for(c=le($t,ni,30,e.b.length+o.b.length,15,1),t=0,i=0,r=0;t=e.b.length?(c[r++]=o.b[i++],c[r++]=o.b[i++]):i>=o.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):o.b[i]0?e.i:0)),++n;for(Y1e(e.n,f),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=Vi,e.p=Vi,c=new P(e.b);c.a0&&(r=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!r||Kt(Kt((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new In(mt,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new In(mt,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",Kt(n,ile(new IX,new st(e.b))),t&&(n.a+="]"),n.a+=nee,t&&(n.a+="["),Kt(n,ile(new IX,new st(e.c))),t&&(n.a+="]"),n.a)}function DLn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(be=e.c,fe=n.c,t=pu(be.a,e,0),i=pu(fe.a,n,0),V=u(Gw(e,(Nc(),ys)).Jc().Pb(),12),cn=u(Gw(e,Io).Jc().Pb(),12),te=u(Gw(n,ys).Jc().Pb(),12),On=u(Gw(n,Io).Jc().Pb(),12),B=ph(V.e),De=ph(cn.g),U=ph(te.e),un=ph(On.g),q0(e,i,fe),o=U,g=0,A=o.length;g0&&f[i]&&(A=Hv(e.b,f[i],r)),O=k.Math.max(O,r.c.c.b+A);for(c=new P(g.e);c.ag?new Qb((ba(),Pm),t,n,h-g):h>0&&g>0&&(new Qb((ba(),Pm),n,t,0),new Qb(Pm,t,n,0))),o)}function $Ln(e,n,t){var i,r,c;for(e.a=new Te,c=St(n.b,0);c.b!=c.d.c;){for(r=u(jt(c),40);u(C(r,(Mu(),Lh)),15).a>e.a.c.length-1;)Ce(e.a,new jc(A3,Hpe));i=u(C(r,Lh),15).a,t==(vr(),Zc)||t==ru?(r.e.ane(re(u(Le(e.a,i),49).b))&&UC(u(Le(e.a,i),49),r.e.a+r.f.a)):(r.e.bne(re(u(Le(e.a,i),49).b))&&UC(u(Le(e.a,i),49),r.e.b+r.f.b))}}function qKe(e,n,t,i){var r,c,o,l,f,h,g;if(c=KB(i),l=ze(Be(C(i,(Oe(),oye)))),(l||ze(Be(C(e,pH))))&&!zv(u(C(e,Zi),102)))r=e4(c),f=tge(e,t,t==(Nc(),Io)?r:_O(r));else switch(f=new Qu,wu(f,e),n?(g=f.n,g.a=n.a-e.n.a,g.b=n.b-e.n.b,UGe(g,0,0,e.o.a,e.o.b),Ar(f,hKe(f,c))):(r=e4(c),Ar(f,t==(Nc(),Io)?r:_O(r))),o=u(C(i,(ve(),po)),22),h=f.j,c.g){case 2:case 1:(h==(Ie(),Vn)||h==bt)&&o.Ec((Ic(),B3));break;case 4:case 3:(h==(Ie(),nt)||h==Yn)&&o.Ec((Ic(),B3))}return f}function UKe(e,n){var t,i,r,c,o,l;for(o=new J2(new sn(e.f.b).a);o.b;){if(c=c3(o),r=u(c.jd(),591),n==1){if(r.yf()!=(vr(),Yl)&&r.yf()!=th)continue}else if(r.yf()!=(vr(),Zc)&&r.yf()!=ru)continue;switch(i=u(u(c.kd(),49).b,82),l=u(u(c.kd(),49).a,194),t=l.c,r.yf().g){case 2:i.g.c=e.e.a,i.g.b=k.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=k.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=k.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=k.Math.max(1,i.g.a-t)}}}function RLn(e,n){var t,i,r,c,o,l,f,h,g,p;for(n.Tg("Simple node placement",1),p=u(C(e,(ve(),H3)),316),l=0,c=new P(e.b);c.a1)throw R(new Un(XN));f||(c=Yh(n,i.Jc().Pb()),o.Ec(c))}return b1e(e,L0e(e,n,t),o)}function Qz(e,n,t){var i,r,c,o,l,f,h,g;if(G1(e.e,n))f=(Tc(),u(n,69).vk()?new sR(n,e):new jT(n,e)),Nz(f.c,f.b),Zj(f,u(t,18));else{for(g=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o"}f!=null&&(n.a+=""+f)}else e.e?(l=e.e.zb,l!=null&&(n.a+=""+l)):(n.a+="?",e.b?(n.a+=" super ",QW(e.b,n)):e.f&&(n.a+=" extends ",QW(e.f,n)))}function qLn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function ULn(e){var n,t,i,r;if(i=fZ((!e.c&&(e.c=YT(Lu(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(n=e1e(e)<0?1:0,t=e.e,r=(i.length+1+k.Math.abs(lc(e.e)),new wy),n==1&&(r.a+="-"),e.e>0)if(t-=i.length-n,t>=0){for(r.a+="0.";t>Sg.length;t-=Sg.length)DIe(r,Sg);cNe(r,Sg,lc(t)),Kt(r,(Wn(n,i.length+1),i.substr(n)))}else t=n-t,Kt(r,sf(i,n,lc(t))),r.a+=".",Kt(r,Xfe(i,lc(t)));else{for(Kt(r,(Wn(n,i.length+1),i.substr(n)));t<-Sg.length;t+=Sg.length)DIe(r,Sg);cNe(r,Sg,lc(-t))}return r.a}function WW(e){var n,t,i,r,c,o,l,f,h;return!(e.k!=(Fn(),Wi)||e.j.c.length<=1||(c=u(C(e,(Oe(),Zi)),102),c==(Br(),to))||(r=(V2(),(e.q?e.q:(En(),En(),u1))._b(kp)?i=u(C(e,kp),203):i=u(C(_r(e),Ex),203),i),r==TH)||!(r==V3||r==K3)&&(o=ne(re(X2(e,Sx))),n=u(C(e,vI),140),!n&&(n=new Ble(o,o,o,o)),h=vu(e,(Ie(),Yn)),f=n.d+n.a+(h.gc()-1)*o,f>e.o.b||(t=vu(e,nt),l=n.d+n.a+(t.gc()-1)*o,l>e.o.b)))}function XLn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;n.Tg("Orthogonal edge routing",1),h=ne(re(C(e,(Oe(),_m)))),t=ne(re(C(e,Im))),i=ne(re(C(e,ab))),y=new EV(0,t),D=0,o=new qr(e.b,0),l=null,g=null,f=null,p=null;do g=o.b0?(S=(A-1)*t,l&&(S+=i),g&&(S+=i),S0;for(l=u(C(e.c.i,Cm),15).a,c=u(gs(li(n.Mc(),new Ije(l)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),o=new xi,g=new ar,Vt(o,e.c.i),hr(g,e.c.i);o.b!=0;){if(t=u(o.b==0?null:(at(o.b!=0),Rl(o,o.a.a)),9),c.Gc(t))return!0;for(r=new Xn(Qn(Ii(t).a.Jc(),new ee));ht(r);)i=u(rt(r),17),f=i.d.i,g.a._b(f)||(g.a.yc(f,g),Ki(o,f,o.c.b,o.c))}return!1}function QKe(e,n,t){var i,r,c,o,l,f,h,g,p;for(p=new Te,g=new Oae(0,t),c=0,EB(g,new iQ(0,0,g,t)),r=0,h=new st(e);h.e!=h.i.gc();)f=u(ft(h),26),i=u(Le(g.a,g.a.c.length-1),173),l=r+f.g+(u(Le(g.a,0),173).b.c.length==0?0:t),(l>n||ze(Be(ke(f,(qa(),NI)))))&&(r=0,c+=g.b+t,qn(p.c,g),g=new Oae(c,t),i=new iQ(0,g.f,g,t),EB(g,i),r=0),i.b.c.length==0||!ze(Be(ke(Fi(f),(qa(),Xre))))&&(f.f>=i.o&&f.f<=i.f||i.a*.5<=f.f&&i.a*1.5>=f.f)?tde(i,f):(o=new iQ(i.s+i.r+t,g.f,g,t),EB(g,o),tde(o,f)),r=f.i+f.g;return qn(p.c,g),p}function gS(e){var n,t,i,r;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,r=0;r=e.b[r+1])r+=2;else if(t0)for(i=new bs(u(vi(e.a,c),22)),En(),Tr(i,new ioe(n)),r=new qr(c.b,0);r.b0&&i>=-6?i>=0?xT(c,t-lc(e.e),"."):(UY(c,n-1,n-1,"0."),xT(c,n+1,vh(Sg,0,-lc(i)-1))):(t-n>=1&&(xT(c,n,"."),++t),xT(c,t,"E"),i>0&&xT(c,++t,"+"),xT(c,++t,""+sE(Lu(i)))),e.g=c.a,e.g))}function iPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De;i=ne(re(C(n,(Oe(),fye)))),be=u(C(n,xx),15).a,y=4,r=3,fe=20/be,S=!1,f=0,o=oi;do{for(c=f!=1,p=f!=0,De=0,D=e.a,U=0,te=D.length;Ube)?(f=2,o=oi):f==0?(f=1,o=De):(f=0,o=De)):(S=De>=o||o-De=Ec?Bc(t,Q1e(i)):$9(t,i&yr),o=new JV(10,null,0),R3n(e.a,o,l-1)):(t=(o.Km().length+c,new Aj),Bc(t,o.Km())),n.e==0?(i=n.Im(),i>=Ec?Bc(t,Q1e(i)):$9(t,i&yr)):Bc(t,n.Km()),u(o,517).b=t.a}}function rPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(!t.dc()){for(l=0,y=0,i=t.Jc(),A=u(i.Pb(),15).a;l0?1:Jb(isNaN(i),isNaN(0)))>=0^(Bf(Th),(k.Math.abs(l)<=Th||l==0||isNaN(l)&&isNaN(0)?0:l<0?-1:l>0?1:Jb(isNaN(l),isNaN(0)))>=0)?k.Math.max(l,i):(Bf(Th),(k.Math.abs(i)<=Th||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Jb(isNaN(i),isNaN(0)))>0?k.Math.sqrt(l*l+i*i):-k.Math.sqrt(l*l+i*i))}function sPn(e){var n,t,i,r;r=e.o,j2(),e.A.dc()||gi(e.A,Zme)?n=r.b:(e.D?n=k.Math.max(r.b,eS(e.f)):n=eS(e.f),e.A.Gc((Vs(),VI))&&!e.B.Gc((_s(),oA))&&(n=k.Math.max(n,eS(u(zc(e.p,(Ie(),nt)),253))),n=k.Math.max(n,eS(u(zc(e.p,Yn),253)))),t=sze(e),t&&(n=k.Math.max(n,t.b)),e.A.Gc(YI)&&(e.q==(Br(),d1)||e.q==to)&&(n=k.Math.max(n,uR(u(zc(e.b,(Ie(),nt)),127))),n=k.Math.max(n,uR(u(zc(e.b,Yn),127))))),ze(Be(e.e.Rf().mf((Xt(),zm))))?r.b=k.Math.max(r.b,n):r.b=n,i=e.f.i,i.d=0,i.a=n,qW(e.f)}function lPn(e,n,t,i,r,c,o,l){var f,h,g,p;switch(f=$f(F(z(ezn,1),Nn,238,0,[n,t,i,r])),p=null,e.b.g){case 1:p=$f(F(z(T6e,1),Nn,523,0,[new Bk,new RM,new B6]));break;case 0:p=$f(F(z(T6e,1),Nn,523,0,[new B6,new RM,new Bk]));break;case 2:p=$f(F(z(T6e,1),Nn,523,0,[new RM,new Bk,new B6]))}for(g=new P(p);g.a1&&(f=h.Gg(f,e.a,l));return f.c.length==1?u(Le(f,f.c.length-1),238):f.c.length==2?VLn((kn(0,f.c.length),u(f.c[0],238)),(kn(1,f.c.length),u(f.c[1],238)),o,c):null}function fPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;r=new s9(e),c=new iUe,i=(eO(c.n),eO(c.p),Hu(c.c),eO(c.f),eO(c.o),Hu(c.q),Hu(c.d),Hu(c.g),Hu(c.k),Hu(c.e),Hu(c.i),Hu(c.j),Hu(c.r),Hu(c.b),y=Mqe(c,r,null),CUe(c,r),y),n&&(f=new s9(n),o=CLn(f),T0e(i,F(z(s9e,1),Nn,524,0,[o]))),p=!1,g=!1,t&&(f=new s9(t),KF in f.a&&(p=I1(f,KF).oe().a),mZe in f.a&&(g=I1(f,mZe).oe().a)),h=EAe(mBe(new hy,p),g),pCn(new HM,i,h),KF in r.a&&Rf(r,KF,null),(p||g)&&(l=new dy,kKe(h,l,p,g),Rf(r,KF,l)),S=new MSe(c),Xze(new MK(i),S),A=new CSe(c),Xze(new MK(i),A)}function aPn(e,n,t){var i,r,c,o,l,f,h;for(t.Tg("Find roots",1),e.a.c.length=0,r=St(n.b,0);r.b!=r.d.c;)i=u(jt(r),40),i.b.b==0&&(he(i,(Ti(),gb),($n(),!0)),Ce(e.a,i));switch(e.a.c.length){case 0:c=new tQ(0,n,"DUMMY_ROOT"),he(c,(Ti(),gb),($n(),!0)),he(c,gre,!0),Vt(n.b,c);break;case 1:break;default:for(o=new tQ(0,n,PF),f=new P(e.a);f.a=k.Math.abs(i.b)?(i.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(n=new Dse(e.i,e.g),t=e.i,c=t<100?null:new E0(t),e.Rj())for(i=0;i0){for(l=e.g,h=e.i,EE(e),c=h<100?null:new E0(h),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,l=n.l&8191,f=n.l>>13|(n.m&15)<<9,h=n.m>>4&8191,g=n.m>>17|(n.h&255)<<5,p=(n.h&1048320)>>8,un=t*l,cn=i*l,On=r*l,Dn=c*l,lt=o*l,f!=0&&(cn+=t*f,On+=i*f,Dn+=r*f,lt+=c*f),h!=0&&(On+=t*h,Dn+=i*h,lt+=r*h),g!=0&&(Dn+=t*g,lt+=i*g),p!=0&&(lt+=t*p),S=un&Ls,A=(cn&511)<<13,y=S+A,D=un>>22,B=cn>>9,U=(On&262143)<<4,V=(Dn&31)<<17,O=D+B+U+V,be=On>>18,fe=Dn>>5,De=(lt&4095)<<8,te=be+fe+De,O+=y>>22,y&=Ls,te+=O>>22,O&=Ls,te&=U1,_o(y,O,te)}function nVe(e){var n,t,i,r,c,o,l;if(l=u(Le(e.j,0),12),l.g.c.length!=0&&l.e.c.length!=0)throw R(new Uc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(l.g.c.length!=0){for(c=Vi,t=new P(l.g);t.a0&&ZGe(e,l,p);for(r=new P(p);r.a4)if(e.dk(n)){if(e.$k()){if(r=u(n,52),i=r.Bh(),f=i==e.e&&(e.kl()?r.vh(r.Ch(),e.gl())==e.hl():-1-r.Ch()==e.Jj()),e.ll()&&!f&&!i&&r.Gh()){for(c=0;ce.d[o.p]&&(t+=qae(e.b,c)*u(f.b,15).a,_0(e.a,ye(c)));for(;!xj(e.a);)xhe(e.b,u(Ly(e.a),15).a)}return t}function wPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;for(n.Tg(KQe,1),S=new Te,g=k.Math.max(e.a.c.length,u(C(e,(ve(),fb)),15).a),t=g*u(C(e,fI),15).a,l=ue(C(e,(Oe(),J4)))===ue((B0(),Em)),O=new P(e.a);O.a0&&(h=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(h=e.n.b/r)}he(e,(ve(),mp),h)}if(f=e.o,o=e.a,i)o.a=i.a,o.b=i.b,e.d=!0;else if(n!=rh&&n!=vb&&l!=ju)switch(l.g){case 1:o.a=f.a/2;break;case 2:o.a=f.a,o.b=f.b/2;break;case 3:o.a=f.a/2,o.b=f.b;break;case 4:o.b=f.b/2}else o.a=f.a/2,o.b=f.b/2}function wS(e){var n,t,i,r,c,o,l,f,h,g;if(e.Nj())if(g=e.Cj(),f=e.Oj(),g>0)if(n=new r1e(e.nj()),t=g,c=t<100?null:new E0(t),OT(e,t,n.g),r=t==1?e.Gj(4,K(n,0),null,0,f):e.Gj(6,n,null,-1,f),e.Kj()){for(i=new st(n);i.e!=i.i.gc();)c=e.Mj(ft(i),c);c?(c.lj(r),c.mj()):e.Hj(r)}else c?(c.lj(r),c.mj()):e.Hj(r);else OT(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(En(),Sc),null,-1,f));else if(e.Kj())if(g=e.Cj(),g>0){for(l=e.Dj(),h=g,OT(e,g,l),c=h<100?null:new E0(h),i=0;i1&&us(o)*Gs(o)/2>l[0]){for(c=0;cl[c];)++c;A=new D0(O,0,c+1),p=new pB(A),g=us(o)/Gs(o),f=oZ(p,n,new ay,t,i,r,g),pi(aa(p.e),f),Iy(S8(y,p),G8),S=new D0(O,c+1,O.c.length),Jde(y,S),O.c.length=0,h=0,$Ie(l,l.length,0)}else D=y.b.c.length==0?null:Le(y.b,0),D!=null&&$Y(y,0),h>0&&(l[h]=l[h-1]),l[h]+=us(o)*Gs(o),++h,qn(O.c,o);return O}function xPn(e,n){var t,i,r,c;t=n.b,c=new bs(t.j),r=0,i=t.j,i.c.length=0,Cw(u(ig(e.b,(Ie(),Vn),(zw(),gp)),16),t),r=BO(c,r,new A6,i),Cw(u(ig(e.b,Vn,sb),16),t),r=BO(c,r,new dd,i),Cw(u(ig(e.b,Vn,bp),16),t),Cw(u(ig(e.b,nt,gp),16),t),Cw(u(ig(e.b,nt,sb),16),t),r=BO(c,r,new bd,i),Cw(u(ig(e.b,nt,bp),16),t),Cw(u(ig(e.b,bt,gp),16),t),r=BO(c,r,new Fp,i),Cw(u(ig(e.b,bt,sb),16),t),r=BO(c,r,new Nb,i),Cw(u(ig(e.b,bt,bp),16),t),Cw(u(ig(e.b,Yn,gp),16),t),r=BO(c,r,new hd,i),Cw(u(ig(e.b,Yn,sb),16),t),Cw(u(ig(e.b,Yn,bp),16),t)}function APn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(n.Tg("Layer size calculation",1),g=Vi,h=Ir,r=!1,l=new P(e.b);l.a.5?B-=o*2*(A-.5):A<.5&&(B+=c*2*(.5-A)),r=l.d.b,BD.a-O-g&&(B=D.a-O-g),l.n.a=n+B}}function CPn(e){var n,t,i,r,c;if(i=u(C(e,(Oe(),ku)),165),i==(Xs(),Q1)){for(t=new Xn(Qn(cr(e).a.Jc(),new ee));ht(t);)if(n=u(rt(t),17),!WPe(n))throw R(new yd(ree+zO(e)+"' 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(i==Mg){for(c=new Xn(Qn(Ii(e).a.Jc(),new ee));ht(c);)if(r=u(rt(c),17),!WPe(r))throw R(new yd(ree+zO(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function lN(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(e.e&&e.c.c>19!=0&&(n=c8(n),f=!f),o=dNn(n),c=!1,r=!1,i=!1,e.h==yN&&e.m==0&&e.l==0)if(r=!0,c=!0,o==-1)e=jTe((V9(),Sme)),i=!0,f=!f;else return l=abe(e,o),f&&eQ(l),t&&(rb=_o(0,0,0)),l;else e.h>>19!=0&&(c=!0,e=c8(e),i=!0,f=!f);return o!=-1?Ekn(e,o,f,c,t):Yde(e,n)<0?(t&&(c?rb=c8(e):rb=_o(e.l,e.m,e.h)),_o(0,0,0)):o_n(i?e:_o(e.l,e.m,e.h),n,f,c,r,t)}function tZ(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(o=e.e,f=n.e,o==0)return n;if(f==0)return e;if(c=e.d,l=n.d,c+l==2)return t=Rr(e.a[0],Dc),i=Rr(n.a[0],Dc),o==f?(g=mc(t,i),A=Rt(g),S=Rt(Ub(g,32)),S==0?new _1(o,A):new Xb(o,2,F(z($t,1),ni,30,15,[A,S]))):(jh(),D$(o<0?ff(i,t):ff(t,i),0)?G0(o<0?ff(i,t):ff(t,i)):hE(G0(Id(o<0?ff(i,t):ff(t,i)))));if(o==f)y=o,p=c>=l?bY(e.a,c,n.a,l):bY(n.a,l,e.a,c);else{if(r=c!=l?c>l?1:-1:T1e(e.a,n.a,c),r==0)return jh(),WS;r==1?(y=o,p=hY(e.a,c,n.a,l)):(y=f,p=hY(n.a,l,e.a,c))}return h=new Xb(y,p.length,p),mE(h),h}function OPn(e,n){var t,i,r,c,o,l,f;if(!(e.g>n.f||n.g>e.f)){for(t=0,i=0,o=e.w.a.ec().Jc();o.Ob();)r=u(o.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;for(l=e.r.a.ec().Jc();l.Ob();)r=u(l.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;for(f=n.w.a.ec().Jc();f.Ob();)r=u(f.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;for(c=n.r.a.ec().Jc();c.Ob();)r=u(c.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;t=0)return t;switch(Nw(Vc(e,t))){case 2:{if(bn("",Pd(e,t.ok()).ve())){if(f=GT(Vc(e,t)),l=z9(Vc(e,t)),g=pbe(e,n,f,l),g)return g;for(r=Xbe(e,n),o=0,p=r.gc();o1)throw R(new Un(XN));for(g=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o1,h=new Ra(y.b);gu(h.a)||gu(h.b);)f=u(gu(h.a)?L(h.a):L(h.b),17),p=f.c==y?f.d:f.c,k.Math.abs(mu(F(z(Lr,1),Ae,8,0,[p.i.n,p.n,p.a])).b-o.b)>1&&gIn(e,f,o,c,y)}}function LPn(e){var n,t,i,r,c,o;if(r=new qr(e.e,0),i=new qr(e.a,0),e.d)for(t=0;tKee;){for(c=n,o=0;k.Math.abs(n-c)0),r.a.Xb(r.c=--r.b),X_n(e,e.b-o,c,i,r),at(r.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(t=0;t0?(e.f[g.p]=S/(g.e.c.length+g.g.c.length),e.c=k.Math.min(e.c,e.f[g.p]),e.b=k.Math.max(e.b,e.f[g.p])):l&&(e.f[g.p]=S)}}function $Pn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function RPn(e,n,t){var i,r,c,o;for(t.Tg("Graph transformation ("+e.a+")",1),o=Wb(n.a),c=new P(n.b);c.a=l.b.c)&&(l.b=n),(!l.c||n.c<=l.c.c)&&(l.d=l.c,l.c=n),(!l.e||n.d>=l.e.d)&&(l.e=n),(!l.f||n.d<=l.f.d)&&(l.f=n);return i=new lz((r8(),dp)),WT(e,cin,new Su(F(z(eI,1),Nn,377,0,[i]))),o=new lz(mm),WT(e,rin,new Su(F(z(eI,1),Nn,377,0,[o]))),r=new lz(pm),WT(e,iin,new Su(F(z(eI,1),Nn,377,0,[r]))),c=new lz(D3),WT(e,tin,new Su(F(z(eI,1),Nn,377,0,[c]))),CW(i.c,dp),CW(r.c,pm),CW(c.c,D3),CW(o.c,mm),l.a.c.length=0,Sr(l.a,i.c),Sr(l.a,Ks(r.c)),Sr(l.a,c.c),Sr(l.a,Ks(o.c)),l}function FPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;for(n.Tg(wWe,1),S=ne(re(ke(e,(Zh(),$m)))),o=ne(re(ke(e,(qa(),Gx)))),l=u(ke(e,Hx),104),Whe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a)),g=QKe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),S,o),!e.a&&(e.a=new pe(Ft,e,10,11)),h=new P(g);h.a0&&(e.a=f+(S-1)*c,n.c.b+=e.a,n.f.b+=e.a)),A.a.gc()!=0&&(y=new EV(1,c),S=Sge(y,n,A,O,n.f.b+f-n.c.b),S>0&&(n.f.b+=f+(S-1)*c))}function rVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;for(g=ne(re(C(e,(Oe(),Ng)))),i=ne(re(C(e,yye))),y=new H6,he(y,Ng,g+i),h=n,B=h.d,O=h.c.i,U=h.d.i,D=Jse(O.c),V=Jse(U.c),r=new Te,p=D;p<=V;p++)l=new Ja(e),Cf(l,(Fn(),dr)),he(l,(ve(),mi),h),he(l,Zi,(Br(),to)),he(l,SH,y),S=u(Le(e.b,p),25),p==D?q0(l,S.a.c.length-t,S):Or(l,S),te=ne(re(C(h,Kd))),te<0&&(te=0,he(h,Kd,te)),l.o.b=te,A=k.Math.floor(te/2),o=new Qu,Ar(o,(Ie(),Yn)),wu(o,l),o.n.b=A,f=new Qu,Ar(f,nt),wu(f,l),f.n.b=A,Gr(h,o),c=new Dw,Pu(c,h),he(c,Wc,null),fc(c,f),Gr(c,B),Vxn(l,h,c),qn(r.c,c),h=c;return r}function HPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;if(O=n.b.c.length,!(O<3)){for(S=le($t,ni,30,O,15,1),p=0,g=new P(n.b);g.ao)&&hr(e.b,u(D.b,17));++l}c=o}}}function iZ(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(f=u(zd(e,(Ie(),Yn)).Jc().Pb(),12).e,S=u(zd(e,nt).Jc().Pb(),12).g,l=f.c.length,V=$a(u(Le(e.j,0),12));l-- >0;){for(O=(kn(0,f.c.length),u(f.c[0],17)),r=(kn(0,S.c.length),u(S.c[0],17)),U=r.d.e,c=pu(U,r,0),e6n(O,r.d,c),fc(r,null),Gr(r,null),A=O.a,n&&Vt(A,new wc(V)),i=St(r.a,0);i.b!=i.d.c;)t=u(jt(i),8),Vt(A,new wc(t));for(B=O.b,y=new P(r.b);y.a-2;default:return!1}switch(n=e.Pj(),e.p){case 0:return n!=null&&ze(Be(n))!=Kj(e.k,0);case 1:return n!=null&&u(n,221).a!=Rt(e.k)<<24>>24;case 2:return n!=null&&u(n,180).a!=(Rt(e.k)&yr);case 6:return n!=null&&Kj(u(n,190).a,e.k);case 5:return n!=null&&u(n,15).a!=Rt(e.k);case 7:return n!=null&&u(n,191).a!=Rt(e.k)<<16>>16;case 3:return n!=null&&ne(re(n))!=e.j;case 4:return n!=null&&u(n,164).a!=e.j;default:return n==null?e.n!=null:!gi(n,e.n)}}function fN(e,n,t){var i,r,c,o;return e.ml()&&e.ll()&&(o=wV(e,u(t,57)),ue(o)!==ue(t))?(e.vj(n),e.Bj(n,U$e(e,n,o)),e.$k()&&(c=(r=u(t,52),e.kl()?e.il()?r.Qh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),null):r.Qh(e.b,Ji(r.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,null):r.Qh(e.b,-1-e.Jj(),null,null)),!u(o,52).Mh()&&(c=(i=u(o,52),e.kl()?e.il()?i.Oh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),c):i.Oh(e.b,Ji(i.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,c):i.Oh(e.b,-1-e.Jj(),null,c))),c&&c.mj()),Fs(e.b)&&e.Hj(e.Gj(9,t,o,n,!1)),o):t}function cVe(e){var n,t,i,r,c,o,l,f,h,g;for(i=new Te,o=new P(e.e.a);o.a0&&(o=k.Math.max(o,WBe(e.C.b+i.d.b,r))),g=i,p=r,y=c;e.C&&e.C.c>0&&(S=y+e.C.c,h&&(S+=g.d.c),o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(p-1)<=Xa||p==1||isNaN(p)&&isNaN(1)?0:S/(1-p)))),t.n.b=0,t.a.a=o}function oVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S;if(t=u(zc(e.b,n),127),f=u(u(vi(e.r,n),22),83),f.dc()){t.n.d=0,t.n.a=0;return}for(h=e.u.Gc((ps(),nd)),o=0,e.A.Gc((Vs(),$g))&&$Xe(e,n),l=f.Jc(),g=null,y=0,p=0;l.Ob();)i=u(l.Pb(),115),c=ne(re(i.b.mf((q$(),yJ)))),r=i.b.Kf().b,g?(S=p+g.d.a+e.w+i.d.d,o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(y-c)<=Xa||y==c||isNaN(y)&&isNaN(c)?0:S/(c-y)))):e.C&&e.C.d>0&&(o=k.Math.max(o,WBe(e.C.d+i.d.d,c))),g=i,y=c,p=r;e.C&&e.C.a>0&&(S=p+e.C.a,h&&(S+=g.d.a),o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(y-1)<=Xa||y==1||isNaN(y)&&isNaN(1)?0:S/(1-y)))),t.n.d=0,t.a.b=o}function sVe(e,n,t){var i,r,c,o,l,f;for(this.g=e,l=n.d.length,f=t.d.length,this.d=le(s1,Hd,9,l+f,0,1),o=0;o0?NY(this,this.f/this.a):_a(n.g,n.d[0]).a!=null&&_a(t.g,t.d[0]).a!=null?NY(this,(ne(_a(n.g,n.d[0]).a)+ne(_a(t.g,t.d[0]).a))/2):_a(n.g,n.d[0]).a!=null?NY(this,_a(n.g,n.d[0]).a):_a(t.g,t.d[0]).a!=null&&NY(this,_a(t.g,t.d[0]).a)}function qPn(e,n,t,i,r,c,o,l){var f,h,g,p,y,S,A,O,D,B;if(A=!1,h=xbe(t.q,n.f+n.b-t.q.f),S=i.f>n.b&&l,B=r-(t.q.e+h-o),p=(f=bS(i,B,!1),f.a),S&&p>i.f)return!1;if(S){for(y=0,D=new P(n.d);D.a=(kn(c,e.c.length),u(e.c[c],186)).e,!S&&p>n.b&&!g)?!1:((g||S||p<=n.b)&&(g&&p>n.b?(t.d=p,cO(t,HGe(t,p))):(rGe(t.q,h),t.c=!0),cO(i,r-(t.s+t.r)),RO(i,t.q.e+t.q.d,n.f),EB(n,i),e.c.length>c&&(JO((kn(c,e.c.length),u(e.c[c],186)),i),(kn(c,e.c.length),u(e.c[c],186)).a.c.length==0&&Od(e,c)),A=!0),A)}function UPn(e,n){var t,i,r,c,o,l,f,h,g,p;for(e.a=new ADe(mkn(Zx)),i=new P(n.a);i.a0&&(Wn(0,t.length),t.charCodeAt(0)!=47)))throw R(new Un("invalid opaquePart: "+t));if(e&&!(n!=null&&Cj(AG,n.toLowerCase()))&&!(t==null||!jQ(t,fA,aA)))throw R(new Un(KZe+t));if(e&&n!=null&&Cj(AG,n.toLowerCase())&&!qAn(t))throw R(new Un(KZe+t));if(!Qjn(i))throw R(new Un("invalid device: "+i));if(!Vkn(r))throw o=r==null?"invalid segments: null":"invalid segment: "+Hkn(r),R(new Un(o));if(!(c==null||dh(c,Xo(35))==-1))throw R(new Un("invalid query: "+c))}function fVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;if(y=new wc(e.o),B=n.a/y.a,l=n.b/y.b,O=n.a-y.a,c=n.b-y.b,t)for(r=ue(C(e,(Oe(),Zi)))===ue((Br(),to)),A=new P(e.j);A.a=1&&(D-o>0&&p>=0?(f.n.a+=O,f.n.b+=c*o):D-o<0&&g>=0&&(f.n.a+=O*D,f.n.b+=c));e.o.a=n.a,e.o.b=n.b,he(e,(Oe(),Tg),(Vs(),i=u(fa(uA),10),new Ll(i,u(_f(i,i.length),10),0)))}function YPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;if(t.Tg("Network simplex layering",1),e.b=n,B=u(C(n,(Oe(),xx)),15).a*4,D=e.b.a,D.c.length<1){t.Ug();return}for(c=HDn(e,D),O=null,r=St(c,0);r.b!=r.d.c;){for(i=u(jt(r),16),l=B*lc(k.Math.sqrt(i.gc())),o=i_n(i),zW(Poe(ign($oe(YK(o),l),O),!0),t.dh(1)),y=e.b.b,A=new P(o.a);A.a1)for(O=le($t,ni,30,e.b.b.c.length,15,1),p=0,h=new P(e.b.b);h.a0){uz(e,t,0),t.a+=String.fromCharCode(i),r=LEn(n,c),uz(e,t,r),c+=r-1;continue}i==39?c+10&&A.a<=0){f.c.length=0,qn(f.c,A);break}S=A.i-A.d,S>=l&&(S>l&&(f.c.length=0,l=S),qn(f.c,A))}f.c.length!=0&&(o=u(Le(f,hz(r,f.c.length)),116),V.a.Ac(o)!=null,o.g=g++,lge(o,n,t,i),f.c.length=0)}for(D=e.c.length+1,y=new P(e);y.aIr||n.o==Dg&&g=l&&r<=f)l<=r&&c<=f?(t[g++]=r,t[g++]=c,i+=2):l<=r?(t[g++]=r,t[g++]=f,e.b[i]=f+1,o+=2):c<=f?(t[g++]=l,t[g++]=c,i+=2):(t[g++]=l,t[g++]=f,e.b[i]=f+1);else if(fW0)&&l<10);Roe(e.c,new kc),aVe(e),q3n(e.c),BPn(e.f)}function s$n(e,n){var t,i,r,c,o,l,f,h,g,p,y;switch(e.k.g){case 1:if(i=u(C(e,(ve(),mi)),17),t=u(C(i,Y3e),78),t?ze(Be(C(i,Xd)))&&(t=E1e(t)):t=new xs,h=u(C(e,Sa),12),h){if(g=mu(F(z(Lr,1),Ae,8,0,[h.i.n,h.n,h.a])),n<=g.a)return g.b;Ki(t,g,t.a,t.a.a)}if(p=u(C(e,wf),12),p){if(y=mu(F(z(Lr,1),Ae,8,0,[p.i.n,p.n,p.a])),y.a<=n)return y.b;Ki(t,y,t.c.b,t.c)}if(t.b>=2){for(f=St(t,0),o=u(jt(f),8),l=u(jt(f),8);l.a0&&AO(h,!0,(vr(),ru)),l.k==(Fn(),wr)&&FDe(h),ei(e.f,l,n)}}function dVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U;for(h=Vi,g=Vi,l=Ir,f=Ir,y=new P(n.i);y.a=e.j?(++e.j,Ce(e.b,ye(1)),Ce(e.c,g)):(i=e.d[n.p][1],ol(e.b,h,ye(u(Le(e.b,h),15).a+1-i)),ol(e.c,h,ne(re(Le(e.c,h)))+g-i*e.f)),(e.r==(V0(),yI)&&(u(Le(e.b,h),15).a>e.k||u(Le(e.b,h-1),15).a>e.k)||e.r==kI&&(ne(re(Le(e.c,h)))>e.n||ne(re(Le(e.c,h-1)))>e.n))&&(f=!1),o=new Xn(Qn(cr(n).a.Jc(),new ee));ht(o);)c=u(rt(o),17),l=c.c.i,e.g[l.p]==h&&(p=bVe(e,l),r=r+u(p.a,15).a,f=f&&ze(Be(p.b)));return e.g[n.p]=h,r=r+e.d[n.p][0],new jc(ye(r),($n(),!!f))}function f$n(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;return y=e.c[n],S=e.c[t],A=u(C(y,(ve(),$4)),16),!!A&&A.gc()!=0&&A.Gc(S)||(O=y.k!=(Fn(),dr)&&S.k!=dr,D=u(C(y,pp),9),B=u(C(S,pp),9),U=D!=B,V=!!D&&D!=y||!!B&&B!=S,te=UQ(y,(Ie(),Vn)),be=UQ(S,bt),V=V|(UQ(y,bt)||UQ(S,Vn)),fe=V&&U||te||be,O&&fe)||y.k==(Fn(),wo)&&S.k==Wi||S.k==(Fn(),wo)&&y.k==Wi?!1:(g=e.c[n],c=e.c[t],r=YHe(e.e,g,c,(Ie(),Yn)),f=YHe(e.i,g,c,nt),$Nn(e.f,g,c),h=iFe(e.b,g,c)+u(r.a,15).a+u(f.a,15).a+e.f.d,l=iFe(e.b,c,g)+u(r.b,15).a+u(f.b,15).a+e.f.b,e.a&&(p=u(C(g,mi),12),o=u(C(c,mi),12),i=_He(e.g,p,o),h+=u(i.a,15).a,l+=u(i.b,15).a),h>l)}function gVe(e,n){var t,i,r,c,o;t=ne(re(C(n,(Oe(),Vf)))),t<2&&he(n,Vf,2),i=u(C(n,pl),86),i==(vr(),ih)&&he(n,pl,KB(n)),r=u(C(n,Bun),15),r.a==0?he(n,(ve(),B4),new yQ):he(n,(ve(),B4),new QR(r.a)),c=Be(C(n,jx)),c==null&&he(n,jx,($n(),ue(C(n,W1))===ue((J1(),K7)))),er(new pn(null,new yn(n.a,16)),new noe(e)),er(lu(new pn(null,new yn(n.b,16)),new w1),new toe(e)),o=new lVe(n),he(n,(ve(),H3),o),HT(e.a),ha(e.a,(zr(),Kf),u(C(n,H4),188)),ha(e.a,o1,u(C(n,mH),188)),ha(e.a,eo,u(C(n,yx),188)),ha(e.a,no,u(C(n,jH),188)),ha(e.a,Pc,F7n(u(C(n,W1),222))),Hse(e.a,cBn(n)),he(n,kie,lN(e.a,n))}function Sge(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,D,B;for(p=new wt,o=new Te,lqe(e,t,e.d.zg(),o,p),lqe(e,i,e.d.Ag(),o,p),e.b=.2*(O=wUe(lu(new pn(null,new yn(o,16)),new jM)),D=wUe(lu(new pn(null,new yn(o,16)),new EM)),k.Math.min(O,D)),c=0,l=0;l=2&&(B=RUe(o,!0,y),!e.e&&(e.e=new _Ee(e)),DEn(e.e,B,o,e.b)),gGe(o,y),w$n(o),S=-1,g=new P(o);g.a0&&(t+=f.n.a+f.o.a/2,++p),A=new P(f.j);A.a0&&(t/=p),B=le(Jr,Jc,30,i.a.c.length,15,1),l=0,h=new P(i.a);h.a-1){for(r=St(l,0);r.b!=r.d.c;)i=u(jt(r),132),i.v=o;for(;l.b!=0;)for(i=u(nW(l,0),132),t=new P(i.i);t.a-1){for(c=new P(l);c.a0)&&(ww(f,k.Math.min(f.o,r.o-1)),y0(f,f.i-1),f.i==0&&qn(l.c,f))}}function mVe(e,n,t,i,r){var c,o,l,f;return f=Vi,o=!1,l=gge(e,Nr(new Ee(n.a,n.b),e),pi(new Ee(t.a,t.b),r),Nr(new Ee(i.a,i.b),t)),c=!!l&&!(k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op||k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op),l=gge(e,Nr(new Ee(n.a,n.b),e),t,r),l&&((k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op)==(k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op)||c?f=k.Math.min(f,bE(Nr(l,t))):o=!0),l=gge(e,Nr(new Ee(n.a,n.b),e),i,r),l&&(o||(k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op)==(k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op)||c)&&(f=k.Math.min(f,bE(Nr(l,i)))),f}function vVe(e){b2(e,new Kw(KP(h2(l2(a2(f2(new pd,eb),hQe),"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 j5),$o))),Se(e,eb,AS,_e(gve)),Se(e,eb,dF,($n(),!0)),Se(e,eb,S3,_e(Jtn)),Se(e,eb,j4,_e(Htn)),Se(e,eb,k4,_e(Gtn)),Se(e,eb,Q8,_e(Ftn)),Se(e,eb,MS,_e(pve)),Se(e,eb,W8,_e(qtn)),Se(e,eb,fwe,_e(bve)),Se(e,eb,hwe,_e(hve)),Se(e,eb,dwe,_e(dve)),Se(e,eb,bwe,_e(wve)),Se(e,eb,awe,_e(xJ))}function p$n(e){var n,t,i,r,c,o,l,f;for(n=null,i=new P(e);i.a0&&t.c==0&&(!n&&(n=new Te),qn(n.c,t));if(n)for(;n.c.length!=0;){if(t=u(Od(n,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Te),new P(t.b));c.apu(e,t,0))return new jc(r,t)}else if(ne(_a(r.g,r.d[0]).a)>ne(_a(t.g,t.d[0]).a))return new jc(r,t)}for(l=(!t.e&&(t.e=new Te),t.e).Jc();l.Ob();)o=u(l.Pb(),239),f=(!o.b&&(o.b=new Te),o.b),_2(0,f.c.length),$j(f.c,0,t),o.c==f.c.length&&qn(n.c,o)}return null}function pS(e,n){var t,i,r,c,o,l,f,h,g;if(n.e==5){hVe(e,n);return}if(h=n,!(h.b==null||e.b==null)){for(g3(e),gS(e),g3(h),gS(h),t=le($t,ni,30,e.b.length+h.b.length,15,1),g=0,i=0,o=0;i=l&&r<=f)l<=r&&c<=f?i+=2:l<=r?(e.b[i]=f+1,o+=2):c<=f?(t[g++]=r,t[g++]=l-1,i+=2):(t[g++]=r,t[g++]=l-1,e.b[i]=f+1,o+=2);else if(f0),u(g.a.Xb(g.c=--g.b),17));c!=i&&g.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(at(g.b>0),u(g.a.Xb(g.c=--g.b),17));g.b>0&&As(g)}}function yVe(e,n,t){var i,r,c,o,l,f,h,g,p,y;if(t)for(i=-1,g=new qr(n,0);g.b0?r-=864e5:r+=864e5,f=new Sle(mc(Lu(n.q.getTime()),r))),g=new wy,h=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(o=c+1;o=h)throw R(new Un("Missing trailing '"));o+1=14&&g<=16))?n.a._b(i)?(t.a?Kt(t.a,t.b):t.a=new il(t.d),Yj(t.a,"[...]")):(l=Ky(i),h=new A2(n),L1(t,jVe(l,h))):X(i,171)?L1(t,aTn(u(i,171))):X(i,195)?L1(t,ZAn(u(i,195))):X(i,201)?L1(t,cCn(u(i,201))):X(i,2073)?L1(t,eMn(u(i,2073))):X(i,54)?L1(t,fTn(u(i,54))):X(i,584)?L1(t,STn(u(i,584))):X(i,830)?L1(t,lTn(u(i,830))):X(i,108)&&L1(t,sTn(u(i,108))):L1(t,i==null?Vo:fu(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function P8(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,s8(e,null)):(e.F=(Ln(n),n),i=dh(n,Xo(60)),i!=-1?(r=(Qr(0,i,n.length),n.substr(0,i)),dh(n,Xo(46))==-1&&!bn(r,d4)&&!bn(r,JS)&&!bn(r,QF)&&!bn(r,HS)&&!bn(r,GS)&&!bn(r,qS)&&!bn(r,US)&&!bn(r,XS)&&(r=oen),t=J$(n,Xo(62)),t!=-1&&(r+=""+(Wn(t+1,n.length+1),n.substr(t+1))),s8(e,r)):(r=n,dh(n,Xo(46))==-1&&(i=dh(n,Xo(91)),i!=-1&&(r=(Qr(0,i,n.length),n.substr(0,i))),!bn(r,d4)&&!bn(r,JS)&&!bn(r,QF)&&!bn(r,HS)&&!bn(r,GS)&&!bn(r,qS)&&!bn(r,US)&&!bn(r,XS)?(r=oen,i!=-1&&(r+=""+(Wn(i,n.length+1),n.substr(i)))):r=n),s8(e,r),r==n&&(e.F=e.D))),(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,5,c,n))}function S$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(e.c=e.e,A=Be(C(n,(Oe(),zun))),S=A==null||(Ln(A),A),c=u(C(n,(ve(),po)),22).Gc((Ic(),Vl)),r=u(C(n,Zi),102),t=!(r==(Br(),Pg)||r==d1||r==to),S&&(t||!c)){for(p=new P(n.a);p.a=0)return r=Xjn(e,(Qr(1,o,n.length),n.substr(1,o-1))),g=(Qr(o+1,f,n.length),n.substr(o+1,f-(o+1))),YRn(e,g,r)}else{if(t=-1,Tme==null&&(Tme=new RegExp("\\d")),Tme.test(String.fromCharCode(l))&&(t=qle(n,Xo(46),f-1),t>=0)){i=u(aY(e,tBe(e,(Qr(1,t,n.length),n.substr(1,t-1))),!1),61),h=0;try{h=hl((Wn(t+1,n.length+1),n.substr(t+1)),Xr,oi)}catch(y){throw y=sr(y),X(y,131)?(c=y,R(new fB(c))):R(y)}if(h>16==-10?t=u(e.Cb,293).Wk(n,t):e.Db>>16==-15&&(!n&&(n=(jn(),uh)),!h&&(h=(jn(),uh)),e.Cb.Vh()&&(f=new $1(e.Cb,1,13,h,n,Bd(Ts(u(e.Cb,62)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,88))e.Db>>16==-23&&(X(n,88)||(n=(jn(),Ef)),X(h,88)||(h=(jn(),Ef)),e.Cb.Vh()&&(f=new $1(e.Cb,1,10,h,n,Bd(Vu(u(e.Cb,29)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,446))for(l=u(e.Cb,834),o=(!l.b&&(l.b=new _P(new jX)),l.b),c=(i=new J2(new sn(o.a).a),new LP(i));c.a.b;)r=u(c3(c.a).jd(),87),t=$8(r,_z(r,l),t)}return t}function A$n(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(o=ze(Be(ke(e,(Oe(),Mm)))),y=u(ke(e,Om),22),f=!1,h=!1,p=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));p.e!=p.i.gc()&&(!f||!h);){for(c=u(ft(p),125),l=0,r=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!c.d&&(c.d=new In(pr,c,8,5)),c.d),(!c.e&&(c.e=new In(pr,c,7,4)),c.e)])));ht(r)&&(i=u(rt(r),85),g=o&&Vw(i)&&ze(Be(ke(i,Cg))),t=tVe((!i.b&&(i.b=new In(mt,i,4,7)),i.b),c)?e==Fi(iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))):e==Fi(iu(u(K((!i.b&&(i.b=new In(mt,i,4,7)),i.b),0),84))),!((g||t)&&(++l,l>1))););(l>0||y.Gc((ps(),nd))&&(!c.n&&(c.n=new pe(Eu,c,1,7)),c.n).i>0)&&(f=!0),l>1&&(h=!0)}f&&n.Ec((Ic(),Vl)),h&&n.Ec((Ic(),lx))}function SVe(e){var n,t,i,r,c,o,l,f,h,g,p,y;if(y=u(ke(e,(Xt(),Lg)),22),y.dc())return null;if(l=0,o=0,y.Gc((Vs(),YI))){for(g=u(ke(e,Wx),102),i=2,t=2,r=2,c=2,n=Fi(e)?u(ke(Fi(e),_g),86):u(ke(e,_g),86),h=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));h.e!=h.i.gc();)if(f=u(ft(h),125),p=u(ke(f,c5),64),p==(Ie(),ju)&&(p=sge(f,n),Ei(f,c5,p)),g==(Br(),to))switch(p.g){case 1:i=k.Math.max(i,f.i+f.g);break;case 2:t=k.Math.max(t,f.j+f.f);break;case 3:r=k.Math.max(r,f.i+f.g);break;case 4:c=k.Math.max(c,f.j+f.f)}else switch(p.g){case 1:i+=f.g+2;break;case 2:t+=f.f+2;break;case 3:r+=f.g+2;break;case 4:c+=f.f+2}l=k.Math.max(i,r),o=k.Math.max(t,c)}return Zw(e,l,o,!0,!0)}function M$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(r=null,i=new P(n.a);i.a1)for(r=e.e.b,Vt(e.e,f),l=f.a.ec().Jc();l.Ob();)o=u(l.Pb(),9),ei(e.c,o,ye(r))}}function C$n(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;for(c=new Jqe(n),p=nDn(e,n,c),S=k.Math.max(ne(re(C(n,(Oe(),Kd)))),1),g=new P(p.a);g.a=0){for(f=null,l=new qr(g.a,h+1);l.b0,h?h&&(y=B.p,o?++y:--y,p=u(Le(B.c.a,y),9),i=$ze(p),S=!(qUe(i,fe,t[0])||nDe(i,fe,t[0]))):S=!0),A=!1,be=n.D.i,be&&be.c&&l.e&&(g=o&&be.p>0||!o&&be.p=0&&Oo?1:Jb(isNaN(0),isNaN(o)))<0&&(Bf(Th),(k.Math.abs(o-1)<=Th||o==1||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:Jb(isNaN(o),isNaN(1)))<0)&&(Bf(Th),(k.Math.abs(0-l)<=Th||l==0||isNaN(0)&&isNaN(l)?0:0l?1:Jb(isNaN(0),isNaN(l)))<0)&&(Bf(Th),(k.Math.abs(l-1)<=Th||l==1||isNaN(l)&&isNaN(1)?0:l<1?-1:l>1?1:Jb(isNaN(l),isNaN(1)))<0)),c)}function P$n(e){var n,t,i,r,c,o,l,f,h,g,p;for(e.j=le($t,ni,30,e.g,15,1),e.o=new Te,er(lu(new pn(null,new yn(e.e.b,16)),new yv),new TEe(e)),e.a=le(ts,va,30,e.b,16,1),NO(new pn(null,new yn(e.e.b,16)),new NEe(e)),i=(p=new Te,er(li(lu(new pn(null,new yn(e.e.b,16)),new H5),new OEe(e)),new gCe(e,p)),p),f=new P(i);f.a=h.c.c.length?g=Fae((Fn(),Wi),dr):g=Fae((Fn(),dr),dr),g*=2,c=t.a.g,t.a.g=k.Math.max(c,c+(g-c)),o=t.b.g,t.b.g=k.Math.max(o,o+(g-o)),r=n}}function Zz(e,n){var t;if(e.e)throw R(new Uc((T1(gte),UZ+gte.k+XZ)));if(!Vgn(e.a,n))throw R(new du(GYe+n+qYe));if(n==e.d)return e;switch(t=e.d,e.d=n,t.g){case 0:switch(n.g){case 2:Uw(e);break;case 1:F0(e),Uw(e);break;case 4:h3(e),Uw(e);break;case 3:h3(e),F0(e),Uw(e)}break;case 2:switch(n.g){case 1:F0(e),LW(e);break;case 4:h3(e),Uw(e);break;case 3:h3(e),F0(e),Uw(e)}break;case 1:switch(n.g){case 2:F0(e),LW(e);break;case 4:F0(e),h3(e),Uw(e);break;case 3:F0(e),h3(e),F0(e),Uw(e)}break;case 4:switch(n.g){case 2:h3(e),Uw(e);break;case 1:h3(e),F0(e),Uw(e);break;case 3:F0(e),LW(e)}break;case 3:switch(n.g){case 2:F0(e),h3(e),Uw(e);break;case 1:F0(e),h3(e),F0(e),Uw(e);break;case 4:F0(e),LW(e)}}return e}function y3(e,n){var t;if(e.d)throw R(new Uc((T1(Tte),UZ+Tte.k+XZ)));if(!Kgn(e.a,n))throw R(new du(GYe+n+qYe));if(n==e.c)return e;switch(t=e.c,e.c=n,t.g){case 0:switch(n.g){case 2:ug(e);break;case 1:z0(e),ug(e);break;case 4:d3(e),ug(e);break;case 3:d3(e),z0(e),ug(e)}break;case 2:switch(n.g){case 1:z0(e),PW(e);break;case 4:d3(e),ug(e);break;case 3:d3(e),z0(e),ug(e)}break;case 1:switch(n.g){case 2:z0(e),PW(e);break;case 4:z0(e),d3(e),ug(e);break;case 3:z0(e),d3(e),z0(e),ug(e)}break;case 4:switch(n.g){case 2:d3(e),ug(e);break;case 1:d3(e),z0(e),ug(e);break;case 3:z0(e),PW(e)}break;case 3:switch(n.g){case 2:z0(e),d3(e),ug(e);break;case 1:z0(e),d3(e),z0(e),ug(e);break;case 4:z0(e),PW(e)}}return e}function $$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(p=e.b,g=new qr(p,0),E2(g,new Xu(e)),U=!1,o=1;g.b0&&(n.a+=To),eF(u(ft(l),174),n);for(n.a+=nee,f=new Ay((!i.c&&(i.c=new In(mt,i,5,8)),i.c));f.e!=f.i.gc();)f.e>0&&(n.a+=To),eF(u(ft(f),174),n);n.a+=")"}}function R$n(e,n,t){var i,r,c,o,l,f,h,g;for(f=new st((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a));f.e!=f.i.gc();)for(l=u(ft(f),26),r=new Xn(Qn(K0(l).a.Jc(),new ee));ht(r);){if(i=u(rt(r),85),!i.b&&(i.b=new In(mt,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new In(mt,i,5,8)),i.c.i<=1)))throw R(new gy("Graph must not contain hyperedges."));if(!iS(i)&&l!=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)))for(h=new sNe,Pu(h,i),he(h,($0(),N4),i),MP(h,u(bu(Xc(t.f,l)),155)),nX(h,u(zn(t,iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))),155)),Ce(n.c,h),o=new st((!i.n&&(i.n=new pe(Eu,i,1,7)),i.n));o.e!=o.i.gc();)c=u(ft(o),157),g=new wPe(h,c.a),Pu(g,c),he(g,N4,c),g.e.a=k.Math.max(c.g,1),g.e.b=k.Math.max(c.f,1),bge(g),Ce(n.d,g)}}function B$n(e,n,t){var i,r,c,o,l,f,h,g,p,y;switch(t.Tg("Node promotion heuristic",1),e.i=n,e.r=u(C(n,(Oe(),wI)),243),e.r!=(V0(),$7)&&e.r!=Cx?aRn(e):$In(e),g=u(C(e.i,cye),15).a,c=new Nq,e.r.g){case 2:case 1:L8(e,c);break;case 3:for(e.r=NH,L8(e,c),f=0,l=new P(e.b);l.ae.k&&(e.r=yI,L8(e,c));break;case 4:for(e.r=NH,L8(e,c),h=0,r=new P(e.c);r.ae.n&&(e.r=kI,L8(e,c));break;case 6:y=lc(k.Math.ceil(e.g.length*g/100)),L8(e,new Cje(y));break;case 5:p=lc(k.Math.ceil(e.e*g/100)),L8(e,new Tje(p));break;case 8:uYe(e,!0);break;case 9:uYe(e,!1);break;default:L8(e,c)}e.r!=$7&&e.r!=Cx?iIn(e,n):jDn(e,n),t.Ug()}function z$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(p=new Tge(e),Cyn(p,!(n==(vr(),Yl)||n==th)),g=p.a,y=new ay,r=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),o=0,f=r.length;o0&&(y.d+=g.n.d,y.d+=g.d),y.a>0&&(y.a+=g.n.a,y.a+=g.d),y.b>0&&(y.b+=g.n.b,y.b+=g.d),y.c>0&&(y.c+=g.n.c,y.c+=g.d),y}function MVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;for(y=t.d,p=t.c,c=new Ee(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),o=c.b,h=new P(e.a);h.a0&&(e.c[n.c.p][n.p].d+=Ds(e.i,24)*SN*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}function J$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;for(A=new P(e);A.ai.d,i.d=k.Math.max(i.d,n),l&&t&&(i.d=k.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=k.Math.max(i.a,n),l&&t&&(i.a=k.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=k.Math.max(i.c,n),l&&t&&(i.c=k.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=k.Math.max(i.b,n),l&&t&&(i.b=k.Math.max(i.b,i.c),i.c=i.b+r)}}}function TVe(e,n){var t,i,r,c,o,l,f,h,g;return h="",n.length==0?e.le(Gge,pZ,-1,-1):(g=W2(n),bn(g.substr(0,3),"at ")&&(g=(Wn(3,g.length+1),g.substr(3))),g=g.replace(/\[.*?\]/g,""),o=g.indexOf("("),o==-1?(o=g.indexOf("@"),o==-1?(h=g,g=""):(h=W2((Wn(o+1,g.length+1),g.substr(o+1))),g=W2((Qr(0,o,g.length),g.substr(0,o))))):(t=g.indexOf(")",o),h=(Qr(o+1,t,g.length),g.substr(o+1,t-(o+1))),g=W2((Qr(0,o,g.length),g.substr(0,o)))),o=dh(g,Xo(46)),o!=-1&&(g=(Wn(o+1,g.length+1),g.substr(o+1))),(g.length==0||bn(g,"Anonymous function"))&&(g=pZ),l=J$(h,Xo(58)),r=qle(h,Xo(58),l-1),f=-1,i=-1,c=Gge,l!=-1&&r!=-1&&(c=(Qr(0,r,h.length),h.substr(0,r)),f=MOe((Qr(r+1,l,h.length),h.substr(r+1,l-(r+1)))),i=MOe((Wn(l+1,h.length+1),h.substr(l+1)))),e.le(c,g,f,i))}function G$n(e){var n,t,i,r,c,o,l,f,h,g,p;for(h=new P(e);h.a0||g.j==Yn&&g.e.c.length-g.g.c.length<0)){n=!1;break}for(r=new P(g.g);r.a=h&&be>=D&&(y+=A.n.b+O.n.b+O.a.b-te,++l));if(t)for(o=new P(U.e);o.a=h&&be>=D&&(y+=A.n.b+O.n.b+O.a.b-te,++l))}l>0&&(fe+=y/l,++S)}S>0?(n.a=r*fe/S,n.g=S):(n.a=0,n.g=0)}function Mge(e,n,t,i){var r,c,o,l,f;return l=new Tge(n),zNn(l,i),r=!0,e&&e.nf((Xt(),_g))&&(c=u(e.mf((Xt(),_g)),86),r=c==(vr(),ih)||c==Zc||c==ru),TXe(l,!1),Ao(l.e.Pf(),new Yle(l,!1,r)),HV(l,l.f,(pa(),Ou),(Ie(),Vn)),HV(l,l.f,Nu,bt),HV(l,l.g,Ou,Yn),HV(l,l.g,Nu,nt),YJe(l,Vn),YJe(l,bt),qDe(l,nt),qDe(l,Yn),j2(),o=l.A.Gc((Vs(),qm))&&l.B.Gc((_s(),WI))?lJe(l):null,o&&cgn(l.a,o),H$n(l),fxn(l),axn(l),v$n(l),I_n(l),Pxn(l),NQ(l,Vn),NQ(l,bt),yDn(l),sPn(l),t&&(tEn(l),$xn(l),NQ(l,nt),NQ(l,Yn),f=l.B.Gc((_s(),oA)),wqe(l,f,Vn),wqe(l,f,bt),pqe(l,f,nt),pqe(l,f,Yn),er(new pn(null,new yn(new ot(l.i),0)),new Xg),er(li(new pn(null,Gfe(l.r).a.oc()),new Kg),new Vg),VAn(l),l.e.Nf(l.o),er(new pn(null,Gfe(l.r).a.oc()),new fd)),l.o}function U$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(h=Vi,i=new P(e.a.b);i.a1)for(S=new mge(A,V,i),cc(V,new pCe(e,S)),qn(o.c,S),p=V.a.ec().Jc();p.Ob();)g=u(p.Pb(),49),qo(c,g.b);if(l.a.gc()>1)for(S=new mge(A,l,i),cc(l,new mCe(e,S)),qn(o.c,S),p=l.a.ec().Jc();p.Ob();)g=u(p.Pb(),49),qo(c,g.b)}}function Y$n(e,n){var t,i,r,c,o,l;if(u(C(n,(ve(),po)),22).Gc((Ic(),Vl))){for(l=new P(n.a);l.a=0&&o0&&(u(zc(e.b,n),127).a.b=t)}function iRn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;for(S=0,i=new ar,c=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));c.e!=c.i.gc();)r=u(ft(c),26),ze(Be(ke(r,(Oe(),Og))))||(p=Fi(r),Vz(p)&&!ze(Be(ke(r,dH)))&&(Ei(r,(ve(),Oi),ye(S)),++S,ga(r,xm)&&hr(i,u(ke(r,xm),15))),NVe(e,r,t));for(he(t,(ve(),fb),ye(S)),he(t,fI,ye(i.a.gc())),S=0,g=new st((!n.b&&(n.b=new pe(pr,n,12,3)),n.b));g.e!=g.i.gc();)f=u(ft(g),85),Vz(n)&&(Ei(f,Oi,ye(S)),++S),D=dW(f),B=CGe(f),y=ze(Be(ke(D,(Oe(),Mm)))),O=!ze(Be(ke(f,Og))),A=y&&Vw(f)&&ze(Be(ke(f,Cg))),o=Fi(D)==n&&Fi(D)==Fi(B),l=(Fi(D)==n&&B==n)^(Fi(B)==n&&D==n),O&&!A&&(l||o)&&_ge(e,f,n,t);if(Fi(n))for(h=new st(WDe(Fi(n)));h.e!=h.i.gc();)f=u(ft(h),85),D=dW(f),D==n&&Vw(f)&&(A=ze(Be(ke(D,(Oe(),Mm))))&&ze(Be(ke(f,Cg))),A&&_ge(e,f,n,t))}function rRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn;for(fe=new Te,A=new P(e.b);A.a=n.length)return{done:!0};var r=n[i++];return{value:[r,t.get(r)],done:!1}}}},eDn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,t){this.obj[":"+n]=t},e.prototype[FZ]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var t in this.obj)t.charCodeAt(0)==58&&n.push(t.substring(1));return n}),e}function Ti(){Ti=Y,Rx=new ki(lwe),new Pi("DEPTH",ye(0)),wre=new Pi("FAN",ye(0)),v4e=new Pi(nWe,ye(0)),gb=new Pi("ROOT",($n(),!1)),vre=new Pi("LEFTNEIGHBOR",null),asn=new Pi("RIGHTNEIGHBOR",null),BH=new Pi("LEFTSIBLING",null),yre=new Pi("RIGHTSIBLING",null),gre=new Pi("DUMMY",!1),new Pi("LEVEL",ye(0)),j4e=new Pi("REMOVABLE_EDGES",new xi),MI=new Pi("XCOOR",ye(0)),CI=new Pi("YCOOR",ye(0)),zH=new Pi("LEVELHEIGHT",0),xa=new Pi("LEVELMIN",0),Yf=new Pi("LEVELMAX",0),pre=new Pi("GRAPH_XMIN",0),mre=new Pi("GRAPH_YMIN",0),y4e=new Pi("GRAPH_XMAX",0),k4e=new Pi("GRAPH_YMAX",0),m4e=new Pi("COMPACT_LEVEL_ASCENSION",!1),bre=new Pi("COMPACT_CONSTRAINTS",new Te),$x=new Pi("ID",""),Bx=new Pi("POSITION",ye(0)),Qd=new Pi("PRELIM",0),z7=new Pi("MODIFIER",0),B7=new ki(fQe),AI=new ki(aQe)}function sRn(e){oge();var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(e==null)return null;if(p=e.length*8,p==0)return"";for(l=p%24,S=p/24|0,y=l!=0?S+1:S,c=null,c=le(Zl,xh,30,y*4,15,1),h=0,g=0,n=0,t=0,i=0,o=0,r=0,f=0;f>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,D=(i&-128)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[o++]=u0[A],c[o++]=u0[O|h<<4],c[o++]=u0[g<<2|D],c[o++]=u0[i&63];return l==8?(n=e[r],h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,c[o++]=u0[A],c[o++]=u0[h<<4],c[o++]=61,c[o++]=61):l==16&&(n=e[r],t=e[r+1],g=(t&15)<<24>>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,c[o++]=u0[A],c[o++]=u0[O|h<<4],c[o++]=u0[g<<2],c[o++]=61),vh(c,0,c.length)}function lRn(e,n){var t,i,r,c,o,l,f;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Xr&&Hae(n,e.p-Z0),o=n.q.getDate(),VT(n,1),e.k>=0&&Byn(n,e.k),e.c>=0?VT(n,e.c):e.k>=0?(f=new v1e(n.q.getFullYear()-Z0,n.q.getMonth(),35),i=35-f.q.getDate(),VT(n,k.Math.min(i,o))):VT(n,o),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Vwn(n,e.f==24&&e.g?0:e.f),e.j>=0&&p9n(n,e.j),e.n>=0&&O9n(n,e.n),e.i>=0&&fTe(n,mc(hc(GO(Lu(n.q.getTime()),Jd),Jd),e.i)),e.a&&(r=new u$,Hae(r,r.q.getFullYear()-Z0-80),HX(Lu(n.q.getTime()),Lu(r.q.getTime()))&&Hae(n,r.q.getFullYear()-Z0+100)),e.d>=0){if(e.c==-1)t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),l=n.q.getMonth(),VT(n,n.q.getDate()+t),n.q.getMonth()!=l&&VT(n,n.q.getDate()+(t>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>Xr&&(c=n.q.getTimezoneOffset(),fTe(n,mc(Lu(n.q.getTime()),(e.o-c)*60*Jd))),!0}function LVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;if(r=C(n,(ve(),mi)),!!X(r,206)){for(A=u(r,26),O=n.e,y=new wc(n.c),c=n.d,y.a+=c.b,y.b+=c.d,te=u(ke(A,(Oe(),EH)),182),cs(te,(_s(),dG))&&(S=u(ke(A,aye),104),WU(S,c.a),tX(S,c.d),ZU(S,c.b),eX(S,c.c)),t=new Te,g=new P(n.a);g.ai.c.length-1;)Ce(i,new jc(A3,Hpe));t=u(C(r,Lh),15).a,M1(u(C(e,Sp),86))?(r.e.ane(re((kn(t,i.c.length),u(i.c[t],49)).b))&&UC((kn(t,i.c.length),u(i.c[t],49)),r.e.a+r.f.a)):(r.e.bne(re((kn(t,i.c.length),u(i.c[t],49)).b))&&UC((kn(t,i.c.length),u(i.c[t],49)),r.e.b+r.f.b))}for(c=St(e.b,0);c.b!=c.d.c;)r=u(jt(c),40),t=u(C(r,(Mu(),Lh)),15).a,he(r,(Ti(),xa),re((kn(t,i.c.length),u(i.c[t],49)).a)),he(r,Yf,re((kn(t,i.c.length),u(i.c[t],49)).b));n.Ug()}function aRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(e.o=ne(re(C(e.i,(Oe(),Ig)))),e.f=ne(re(C(e.i,ab))),e.j=e.i.b.c.length,l=e.j-1,y=0,e.k=0,e.n=0,e.b=$f(le(jr,Ae,15,e.j,0,1)),e.c=$f(le(gr,Ae,346,e.j,7,1)),o=new P(e.i.b);o.a0&&Ce(e.q,g),Ce(e.p,g);n-=i,S=f+n,h+=n*e.f,ol(e.b,l,ye(S)),ol(e.c,l,h),e.k=k.Math.max(e.k,S),e.n=k.Math.max(e.n,h),e.e+=n,n+=O}}function RVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;if(n.b!=0){for(S=new xi,l=null,A=null,i=lc(k.Math.floor(k.Math.log(n.b)*k.Math.LOG10E)+1),f=0,V=St(n,0);V.b!=V.d.c;)for(B=u(jt(V),40),ue(A)!==ue(C(B,(Ti(),$x)))&&(A=Pt(C(B,$x)),f=0),A!=null?l=A+yLe(f++,i):l=yLe(f++,i),he(B,$x,l),D=(r=St(new A1(B).a.d,0),new Nv(r));nT(D.a);)O=u(jt(D.a),65).c,Ki(S,O,S.c.b,S.c),he(O,$x,l);for(y=new wt,o=0;o0&&(V-=S),vge(o,V),g=0,y=new P(o.a);y.a0),l.a.Xb(l.c=--l.b)),f=.4*i*g,!c&&l.b0&&(f=(Wn(0,n.length),n.charCodeAt(0)),f!=64)){if(f==37&&(p=n.lastIndexOf("%"),h=!1,p!=0&&(p==y-1||(h=(Wn(p+1,n.length),n.charCodeAt(p+1)==46))))){if(o=(Qr(1,p,n.length),n.substr(1,p-1)),V=bn("%",o)?null:Nge(o),i=0,h)try{i=hl((Wn(p+2,n.length+1),n.substr(p+2)),Xr,oi)}catch(te){throw te=sr(te),X(te,131)?(l=te,R(new fB(l))):R(te)}for(D=Khe(e.Dh());D.Ob();)if(A=_B(D),X(A,504)&&(r=u(A,587),U=r.d,(V==null?U==null:bn(V,U))&&i--==0))return r;return null}if(g=n.lastIndexOf("."),S=g==-1?n:(Qr(0,g,n.length),n.substr(0,g)),t=0,g!=-1)try{t=hl((Wn(g+1,n.length+1),n.substr(g+1)),Xr,oi)}catch(te){if(te=sr(te),X(te,131))S=n;else throw R(te)}for(S=bn("%",S)?null:Nge(S),O=Khe(e.Dh());O.Ob();)if(A=_B(O),X(A,197)&&(c=u(A,197),B=c.ve(),(S==null?B==null:bn(S,B))&&t--==0))return c;return null}return EVe(e,n)}function mRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U;for(g=new wt,f=new _w,i=new P(e.a.a.b);i.an.d.c){if(S=e.c[n.a.d],D=e.c[p.a.d],S==D)continue;Hf(Nf(Of(If(Tf(new rf,1),100),S),D))}}}}}function vRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;if(y=u(u(vi(e.r,n),22),83),n==(Ie(),nt)||n==Yn){IVe(e,n);return}for(c=n==Vn?(Fw(),QN):(Fw(),WN),te=n==Vn?(Uo(),Ea):(Uo(),Xf),t=u(zc(e.b,n),127),i=t.i,r=i.c+Zv(F(z(Jr,1),Jc,30,15,[t.n.b,e.C.b,e.k])),B=i.c+i.b-Zv(F(z(Jr,1),Jc,30,15,[t.n.c,e.C.c,e.k])),o=Boe(Qle(c),e.t),U=n==Vn?Ir:Vi,p=y.Jc();p.Ob();)h=u(p.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(D=h.b.Kf(),O=h.e,S=h.c,A=S.i,A.b=(f=S.n,S.e.a+f.b+f.c),A.a=(l=S.n,S.e.b+l.d+l.a),UT(te,twe),S.f=te,wa(S,(ws(),Uf)),A.c=O.a-(A.b-D.a)/2,be=k.Math.min(r,O.a),fe=k.Math.max(B,O.a+D.a),A.cfe&&(A.c=fe-A.b),Ce(o.d,new aV(A,K1e(o,A))),U=n==Vn?k.Math.max(U,O.b+h.b.Kf().b):k.Math.min(U,O.b));for(U+=n==Vn?e.t:-e.t,V=dde((o.e=U,o)),V>0&&(u(zc(e.b,n),127).a.b=V),g=y.Jc();g.Ob();)h=u(g.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(A=h.c.i,A.c-=h.e.a,A.d-=h.e.b)}function yRn(e,n){KW();var t,i,r,c,o,l,f,h,g,p,y,S,A,O;if(f=ao(e,0)<0,f&&(e=Id(e)),ao(e,0)==0)switch(n){case 0:return"0";case 1:return H8;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 S=new j0,n<0?S.a+="0E+":S.a+="0E",S.a+=n==Xr?"2147483648":""+-n,S.a}g=18,p=le(Zl,xh,30,g+1,15,1),t=g,O=e;do h=O,O=GO(O,10),p[--t]=Rt(mc(48,ff(h,hc(O,10))))&yr;while(ao(O,0)!=0);if(r=ff(ff(ff(g,t),n),1),n==0)return f&&(p[--t]=45),vh(p,t,g-t);if(n>0&&ao(r,-6)>=0){if(ao(r,0)>=0){for(c=t+Rt(r),l=g-1;l>=c;l--)p[l+1]=p[l];return p[++c]=46,f&&(p[--t]=45),vh(p,t,g-t+1)}for(o=2;HX(o,mc(Id(r),1));o++)p[--t]=48;return p[--t]=46,p[--t]=48,f&&(p[--t]=45),vh(p,t,g-t)}return A=t+1,i=g,y=new wy,f&&(y.a+="-"),i-A>=1?(Kb(y,p[t]),y.a+=".",y.a+=vh(p,t+1,g-t-1)):y.a+=vh(p,t,g-t),y.a+="E",ao(r,0)>0&&(y.a+="+"),y.a+=""+sE(r),y.a}function BVe(e){b2(e,new Kw(KP(h2(l2(a2(f2(new pd,ql),"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 LM),ql))),Se(e,ql,DF,_e(oln)),Se(e,ql,fm,_e(sln)),Se(e,ql,S3,_e(iln)),Se(e,ql,j4,_e(rln)),Se(e,ql,k4,_e(cln)),Se(e,ql,Q8,_e(tln)),Se(e,ql,MS,_e(Q4e)),Se(e,ql,W8,_e(uln)),Se(e,ql,ene,_e(Dre)),Se(e,ql,Zee,_e(_re)),Se(e,ql,BF,_e(Z4e)),Se(e,ql,nne,_e(Lre)),Se(e,ql,tne,_e(e6e)),Se(e,ql,o2e,_e(n6e)),Se(e,ql,u2e,_e(W4e)),Se(e,ql,t2e,_e(qH)),Se(e,ql,i2e,_e(UH)),Se(e,ql,r2e,_e(TI)),Se(e,ql,c2e,_e(t6e)),Se(e,ql,n2e,_e(Y4e))}function Zw(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;if(D=new Ee(e.g,e.f),O=z0e(e),O.a=k.Math.max(O.a,n),O.b=k.Math.max(O.b,t),fe=O.a/D.a,g=O.b/D.b,te=O.a-D.a,f=O.b-D.b,i)for(o=Fi(e)?u(ke(Fi(e),(Xt(),_g)),86):u(ke(e,(Xt(),_g)),86),l=ue(ke(e,(Xt(),Wx)))===ue((Br(),to)),U=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));U.e!=U.i.gc();)switch(B=u(ft(U),125),V=u(ke(B,c5),64),V==(Ie(),ju)&&(V=sge(B,o),Ei(B,c5,V)),V.g){case 1:l||Os(B,B.i*fe);break;case 2:Os(B,B.i+te),l||Ns(B,B.j*g);break;case 3:l||Os(B,B.i*fe),Ns(B,B.j+f);break;case 4:l||Ns(B,B.j*g)}if(jw(e,O.a,O.b),r)for(y=new st((!e.n&&(e.n=new pe(Eu,e,1,7)),e.n));y.e!=y.i.gc();)p=u(ft(y),157),S=p.i+p.g/2,A=p.j+p.f/2,be=S/D.a,h=A/D.b,be+h>=1&&(be-h>0&&A>=0?(Os(p,p.i+te),Ns(p,p.j+f*h)):be-h<0&&S>=0&&(Os(p,p.i+te*be),Ns(p,p.j+f)));return Ei(e,(Xt(),Lg),(Vs(),c=u(fa(uA),10),new Ll(c,u(_f(c,c.length),10),0))),new Ee(fe,g)}function nF(e){var n,t,i,r,c,o,l,f,h,g,p;if(e==null)throw R(new hh(Vo));if(h=e,c=e.length,f=!1,c>0&&(n=(Wn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Wn(1,e.length+1),e.substr(1)),--c,f=n==45)),c==0)throw R(new hh(tp+h+'"'));for(;e.length>0&&(Wn(0,e.length),e.charCodeAt(0)==48);)e=(Wn(1,e.length+1),e.substr(1)),--c;if(c>(mKe(),snn)[10])throw R(new hh(tp+h+'"'));for(r=0;r0&&(p=-parseInt((Qr(0,i,e.length),e.substr(0,i)),10),e=(Wn(i,e.length+1),e.substr(i)),c-=i,t=!1);c>=o;){if(i=parseInt((Qr(0,o,e.length),e.substr(0,o)),10),e=(Wn(o,e.length+1),e.substr(o)),c-=o,t)t=!1;else{if(ao(p,l)<0)throw R(new hh(tp+h+'"'));p=hc(p,g)}p=ff(p,i)}if(ao(p,0)>0)throw R(new hh(tp+h+'"'));if(!f&&(p=Id(p),ao(p,0)<0))throw R(new hh(tp+h+'"'));return p}function Nge(e){eZ();var n,t,i,r,c,o,l,f;if(e==null)return null;if(r=dh(e,Xo(37)),r<0)return e;for(f=new il((Qr(0,r,e.length),e.substr(0,r))),n=le(ds,T3,30,4,15,1),l=0,i=0,o=e.length;rr+2&&ZY((Wn(r+1,e.length),e.charCodeAt(r+1)),U8e,X8e)&&ZY((Wn(r+2,e.length),e.charCodeAt(r+2)),U8e,X8e))if(t=qvn((Wn(r+1,e.length),e.charCodeAt(r+1)),(Wn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[l++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[l++]=t<<24>>24,i=2):(t&240)==224?(n[l++]=t<<24>>24,i=3):(t&248)==240&&(n[l++]=t<<24>>24,i=4)),i>0){if(l==i){switch(l){case 2:{Kb(f,((n[0]&31)<<6|n[1]&63)&yr);break}case 3:{Kb(f,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&yr);break}}l=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i==0)t=(S0(),r=new yo,r),Et((!e.a&&(e.a=new pe($i,e,6,6)),e.a),t);else if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i>1)for(y=new Ay((!e.a&&(e.a=new pe($i,e,6,6)),e.a));y.e!=y.i.gc();)WE(y);fge(n,u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170))}if(p)for(i=new st((!e.a&&(e.a=new pe($i,e,6,6)),e.a));i.e!=i.i.gc();)for(t=u(ft(i),170),h=new st((!t.a&&(t.a=new mr(kl,t,5)),t.a));h.e!=h.i.gc();)f=u(ft(h),372),l.a=k.Math.max(l.a,f.a),l.b=k.Math.max(l.b,f.b);for(o=new st((!e.n&&(e.n=new pe(Eu,e,1,7)),e.n));o.e!=o.i.gc();)c=u(ft(o),157),g=u(ke(c,eA),8),g&&Dl(c,g.a,g.b),p&&(l.a=k.Math.max(l.a,c.i+c.g),l.b=k.Math.max(l.b,c.j+c.f));return l}function FVe(e,n,t,i,r){var c,o,l;if(DRe(e,n),o=n[0],c=rc(t.c,0),l=-1,S1e(t))if(i>0){if(o+i>e.length)return!1;l=Oz((Qr(0,o+i,e.length),e.substr(0,o+i)),n)}else l=Oz(e,n);switch(c){case 71:return l=b3(e,o,F(z(Je,1),Ae,2,6,[xYe,AYe]),n),r.e=l,!0;case 77:return zIn(e,n,r,l,o);case 76:return FIn(e,n,r,l,o);case 69:return HCn(e,n,o,r);case 99:return GCn(e,n,o,r);case 97:return l=b3(e,o,F(z(Je,1),Ae,2,6,["AM","PM"]),n),r.b=l,!0;case 121:return JIn(e,n,o,l,t,r);case 100:return l<=0?!1:(r.c=l,!0);case 83:return l<0?!1:kEn(l,o,n[0],r);case 104:l==12&&(l=0);case 75:case 72:return l<0?!1:(r.f=l,r.g=!1,!0);case 107:return l<0?!1:(r.f=l,r.g=!0,!0);case 109:return l<0?!1:(r.j=l,!0);case 115:return l<0?!1:(r.n=l,!0);case 90:if(oun[f]&&(D=f),p=new P(e.a.b);p.a=l){at(U.b>0),U.a.Xb(U.c=--U.b);break}else D.a>f&&(i?(Sr(i.b,D.b),i.a=k.Math.max(i.a,D.a),As(U)):(Ce(D.b,g),D.c=k.Math.min(D.c,f),D.a=k.Math.max(D.a,l),i=D));i||(i=new mxe,i.c=f,i.a=l,E2(U,i),Ce(i.b,g))}for(o=e.b,h=0,B=new P(t);B.a1;){if(r=DNn(n),p=c.g,A=u(ke(n,Hx),104),O=ne(re(ke(n,YH))),(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i>1&&ne(re(ke(n,(Zh(),Gre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))1&&ne(re(ke(n,(Zh(),Hre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))>O&&Ei(r,(Zh(),$m),k.Math.max(ne(re(ke(n,Jx))),ne(re(ke(r,$m)))-ne(re(ke(n,Hre))))),S=new Ise(i,g),f=rYe(S,r,y),h=f.g,h>=p&&h==h){for(o=0;o<(!r.a&&(r.a=new pe(Ft,r,10,11)),r.a).i;o++)Nqe(e,u(K((!r.a&&(r.a=new pe(Ft,r,10,11)),r.a),o),26),u(K((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a),o),26));rBe(n,S),Ayn(c,f.c),xyn(c,f.b)}--l}Ei(n,(Zh(),F7),c.b),Ei(n,q4,c.c),t.Ug()}function xRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn;for(n.Tg("Compound graph postprocessor",1),t=ze(Be(C(e,(Oe(),Hie)))),l=u(C(e,(ve(),X3e)),229),g=new ar,B=l.ec().Jc();B.Ob();){for(D=u(B.Pb(),17),o=new bs(l.cc(D)),En(),Tr(o,new ioe(e)),be=S7n((kn(0,o.c.length),u(o.c[0],250))),De=ZBe(u(Le(o,o.c.length-1),250)),V=be.i,e8(De.i,V)?U=V.e:U=_r(V),p=aSn(D,o),qs(D.a),y=null,c=new P(o);c.aMh,cn=k.Math.abs(y.b-A.b)>Mh,(!t&&un&&cn||t&&(un||cn))&&Vt(D.a,te)),ac(D.a,i),i.b==0?y=te:y=(at(i.b!=0),u(i.c.b.c,8)),nkn(S,p,O),ZBe(r)==De&&(_r(De.i)!=r.a&&(O=new Vr,$0e(O,_r(De.i),U)),he(D,Eie,O)),oCn(S,D,U),g.a.yc(S,g);fc(D,be),Gr(D,De)}for(h=g.a.ec().Jc();h.Ob();)f=u(h.Pb(),17),fc(f,null),Gr(f,null);n.Ug()}function ARn(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(r=u(C(e,(Mu(),Sp)),86),g=r==(vr(),Zc)||r==ru?th:ru,t=u(gs(li(new pn(null,new yn(e.b,16)),new jv),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),f=u(gs(So(t.Mc(),new JEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),f.Fc(u(gs(So(t.Mc(),new HEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),18)),f.gd(new GEe(g)),y=new Ed(new qEe(r)),i=new wt,l=f.Jc();l.Ob();)o=u(l.Pb(),240),h=u(o.a,40),ze(Be(o.c))?(y.a.yc(h,($n(),cb))==null,new f9(y.a.Xc(h,!1)).a.gc()>0&&ei(i,h,u(new f9(y.a.Xc(h,!1)).a.Tc(),40)),new f9(y.a.$c(h,!0)).a.gc()>1&&ei(i,sJe(y,h),h)):(new f9(y.a.Xc(h,!1)).a.gc()>0&&(c=u(new f9(y.a.Xc(h,!1)).a.Tc(),40),ue(c)===ue(bu(Xc(i.f,h)))&&u(C(h,(Ti(),bre)),16).Ec(c)),new f9(y.a.$c(h,!0)).a.gc()>1&&(p=sJe(y,h),ue(bu(Xc(i.f,p)))===ue(h)&&u(C(p,(Ti(),bre)),16).Ec(h)),y.a.Ac(h)!=null)}function JVe(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new eB;for(r=e.Jc();r.Ob();){for(t=u(r.Pb(),235),A=0,g=oi,p=oi,f=Xr,h=Xr,S=new P(t.e);S.al&&(V=0,te+=o+B,o=0),e_n(O,t,V,te),n=k.Math.max(n,V+D.a),o=k.Math.max(o,D.b),V+=D.a+B;return O}function MRn(e){oge();var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(e==null||(c=aB(e),A=jjn(c),A%4!=0))return null;if(O=A/4|0,O==0)return le(ds,T3,30,0,15,1);for(p=null,n=0,t=0,i=0,r=0,o=0,l=0,f=0,h=0,S=0,y=0,g=0,p=le(ds,T3,30,O*3,15,1);S>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24}return!rT(o=c[g++])||!rT(l=c[g++])?null:(n=oh[o],t=oh[l],f=c[g++],h=c[g++],oh[f]==-1||oh[h]==-1?f==61&&h==61?(t&15)!=0?null:(D=le(ds,T3,30,S*3+1,15,1),Wu(p,0,D,0,S*3),D[y]=(n<<2|t>>4)<<24>>24,D):f!=61&&h==61?(i=oh[f],(i&3)!=0?null:(D=le(ds,T3,30,S*3+2,15,1),Wu(p,0,D,0,S*3),D[y++]=(n<<2|t>>4)<<24>>24,D[y]=((t&15)<<4|i>>2&15)<<24>>24,D)):null:(i=oh[f],r=oh[h],p[y++]=(n<<2|t>>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24,p))}function CRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be;for(n.Tg(NQe,1),A=u(C(e,(Oe(),W1)),222),r=new P(e.b);r.a=2){for(O=!0,y=new P(c.j),t=u(L(y),12),S=null;y.a0)if(i=p.gc(),h=lc(k.Math.floor((i+1)/2))-1,r=lc(k.Math.ceil((i+1)/2))-1,n.o==Za)for(g=r;g>=h;g--)n.a[te.p]==te&&(O=u(p.Xb(g),49),A=u(O.a,9),!cf(t,O.b)&&S>e.b.e[A.p]&&(n.a[A.p]=te,n.g[te.p]=n.g[A.p],n.a[te.p]=n.g[te.p],n.f[n.g[te.p].p]=($n(),!!(ze(n.f[n.g[te.p].p])&te.k==(Fn(),dr))),S=e.b.e[A.p]));else for(g=h;g<=r;g++)n.a[te.p]==te&&(B=u(p.Xb(g),49),D=u(B.a,9),!cf(t,B.b)&&S0&&(r=u(Le(D.c.a,fe-1),9),o=e.i[r.p],un=k.Math.ceil(Hv(e.n,r,D)),c=be.a.e-D.d.d-(o.a.e+r.o.b+r.d.a)-un),h=Vi,fe0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)<0,A=V.a.e.e-V.a.a-(V.b.e.e-V.b.a)<0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)>0,S=V.a.e.e+V.b.aDe.b.e.e+De.a.a,te=0,!O&&!A&&(y?c+p>0?te=p:h-i>0&&(te=i):S&&(c+l>0?te=l:h-U>0&&(te=U))),be.a.e+=te,be.b&&(be.d.e+=te),!1))}function GVe(e,n,t){var i,r,c,o,l,f,h,g,p,y;if(i=new Lf(n.Jf().a,n.Jf().b,n.Kf().a,n.Kf().b),r=new Sy,e.c)for(o=new P(n.Pf());o.a0&&Or(S,(kn(t,n.c.length),u(n.c[t],25))),c=0,y=!0,B=Ks(Wb(cr(S))),f=B.Jc();f.Ob();){for(l=u(f.Pb(),17),y=!1,p=l,h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):q0(r,i+c,(kn(h,n.c.length),u(n.c[h],25))),p=OW(p,r);t>0&&(c+=1)}if(y){for(h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):q0(r,i+c,(kn(h,n.c.length),u(n.c[h],25)));t>0&&(c+=1)}for(o=!1,O=new Xn(Qn(Ii(S).a.Jc(),new ee));ht(O);){for(A=u(rt(O),17),p=A,g=t+1;g(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(D,(kn(h,n.c.length),u(n.c[h],25))):q0(D,i+1,(kn(h,n.c.length),u(n.c[h],25))));o&&(c+=1),o=!0}return c>0?c-1:0}function Y0(e,n){ai();var t,i,r,c,o,l,f,h,g,p,y,S,A;if(Tj(Z7)==0){for(p=le(ozn,Ae,121,Thn.length,0,1),o=0;oh&&(i.a+=YTe(le(Zl,xh,30,-h,15,1))),i.a+="Is",dh(f,Xo(32))>=0)for(r=0;r=i.o.b/2}else U=!p;U?(B=u(C(i,(ve(),F4)),16),B?y?c=B:(r=u(C(i,_4),16),r?B.gc()<=r.gc()?c=B:c=r:(c=new Te,he(i,_4,c))):(c=new Te,he(i,F4,c))):(r=u(C(i,(ve(),_4)),16),r?p?c=r:(B=u(C(i,F4),16),B?r.gc()<=B.gc()?c=r:c=B:(c=new Te,he(i,F4,c))):(c=new Te,he(i,_4,c))),c.Ec(e),he(e,(ve(),rH),t),n.d==t?(Gr(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null),Ckn(t)):(fc(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null)),qs(n.a)}function DRn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(t.Tg("MinWidth layering",1),S=n.b,De=n.a,Ui=u(C(n,(Oe(),iye)),15).a,l=u(C(n,rye),15).a,e.b=ne(re(C(n,Vf))),e.d=Vi,te=new P(De);te.aS&&(c&&(gc(fe,y),gc(un,ye(h.b-1))),Qt=t.b,Ui+=y+n,y=0,g=k.Math.max(g,t.b+t.c+lt)),Os(l,Qt),Ns(l,Ui),g=k.Math.max(g,Qt+lt+t.c),y=k.Math.max(y,p),Qt+=lt+n;if(g=k.Math.max(g,i),Dn=Ui+y+t.a,Dn0?(h=0,D&&(h+=l),h+=(cn-1)*o,V&&(h+=l),un&&V&&(h=k.Math.max(h,ZNn(V,o,U,De))),h=e.a&&(i=gLn(e,U),g=k.Math.max(g,i.b),te=k.Math.max(te,i.d),Ce(l,new jc(U,i)));for(un=new Te,h=0;h0),D.a.Xb(D.c=--D.b),cn=new Xu(e.b),E2(D,cn),at(D.b0){for(y=g<100?null:new E0(g),h=new r1e(n),A=h.g,B=le($t,ni,30,g,15,1),i=0,te=new $w(g),r=0;r=0;)if(S!=null?gi(S,A[f]):ue(S)===ue(A[f])){B.length<=i&&(D=B,B=le($t,ni,30,2*B.length,15,1),Wu(D,0,B,0,i)),B[i++]=r,Et(te,A[f]);break e}if(S=S,ue(S)===ue(l))break}}if(h=te,A=te.g,g=i,i>B.length&&(D=B,B=le($t,ni,30,i,15,1),Wu(D,0,B,0,i)),i>0){for(V=!0,c=0;c=0;)r4(e,B[o]);if(i!=g){for(r=g;--r>=i;)r4(h,r);D=B,B=le($t,ni,30,i,15,1),Wu(D,0,B,0,i)}n=h}}}else for(n=pxn(e,n),r=e.i;--r>=0;)n.Gc(e.g[r])&&(r4(e,r),V=!0);if(V){if(B!=null){for(t=n.gc(),p=t==1?pE(e,4,n.Jc().Pb(),null,B[0],O):pE(e,6,n,B,B[0],O),y=t<100?null:new E0(t),r=n.Jc();r.Ob();)S=r.Pb(),y=Xle(e,u(S,75),y);y?(y.lj(p),y.mj()):hi(e.e,p)}else{for(y=A2n(n.gc()),r=n.Jc();r.Ob();)S=r.Pb(),y=Xle(e,u(S,75),y);y&&y.mj()}return!0}else return!1}function RRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(t=new ZJe(n),t.a||a_n(n),h=lDn(n),f=new _w,D=new fXe,O=new P(n.a);O.a0||t.o==Za&&r=t}function zRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(V=e.a,te=0,be=V.length;te0?(p=u(Le(y.c.a,o-1),9),un=Hv(e.b,y,p),D=y.n.b-y.d.d-(p.n.b+p.o.b+p.d.a+un)):D=y.n.b-y.d.d,h=k.Math.min(D,h),o1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,1),8).b-g.b)))));else for(O=new P(n.j);O.ar&&(c=y.a-r,o=oi,i.c.length=0,r=y.a),y.a>=r&&(qn(i.c,l),l.a.b>1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,l.a.b-2),8).b-y.b)))));if(i.c.length!=0&&c>n.o.a/2&&o>n.o.b/2){for(S=new Qu,wu(S,n),Ar(S,(Ie(),Vn)),S.n.a=n.o.a/2,B=new Qu,wu(B,n),Ar(B,bt),B.n.a=n.o.a/2,B.n.b=n.o.b,f=new P(i);f.a=h.b?fc(l,B):fc(l,S)):(h=u(_vn(l.a),8),D=l.a.b==0?$a(l.c):u(Df(l.a),8),D.b>=h.b?Gr(l,B):Gr(l,S)),p=u(C(l,(Oe(),Wc)),78),p&&U2(p,h,!0);n.n.a=r-n.o.a/2}}function HRn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(l=St(e.b,0);l.b!=l.d.c;)if(o=u(jt(l),40),!bn(o.c,PF))for(h=pOn(o,e),n==(vr(),Zc)||n==ru?Tr(h,new A_):Tr(h,new iU),f=h.c.length,i=0;i=0?S=e4(l):S=_O(e4(l)),e.of(D7,S)),h=new Vr,y=!1,e.nf(jp)?(mle(h,u(e.mf(jp),8)),y=!0):cpn(h,o.a/2,o.b/2),S.g){case 4:he(g,ku,(Xs(),Q1)),he(g,uH,(cg(),R3)),g.o.b=o.b,O<0&&(g.o.a=-O),Ar(p,(Ie(),nt)),y||(h.a=o.a),h.a-=o.a;break;case 2:he(g,ku,(Xs(),Mg)),he(g,uH,(cg(),A7)),g.o.b=o.b,O<0&&(g.o.a=-O),Ar(p,(Ie(),Yn)),y||(h.a=0);break;case 1:he(g,xg,(P1(),z3)),g.o.a=o.a,O<0&&(g.o.b=-O),Ar(p,(Ie(),bt)),y||(h.b=o.b),h.b-=o.b;break;case 3:he(g,xg,(P1(),D4)),g.o.a=o.a,O<0&&(g.o.b=-O),Ar(p,(Ie(),Vn)),y||(h.b=0)}if(mle(p.n,h),he(g,jp,h),n==Pg||n==d1||n==to){if(A=0,n==Pg&&e.nf(Vd))switch(S.g){case 1:case 2:A=u(e.mf(Vd),15).a;break;case 3:case 4:A=-u(e.mf(Vd),15).a}else switch(S.g){case 4:case 2:A=c.b,n==d1&&(A/=r.b);break;case 1:case 3:A=c.a,n==d1&&(A/=r.a)}he(g,mp,A)}return he(g,Iu,S),g}function GRn(){Joe();function e(i){var r=this;this.dispatch=function(c){var o=c.data;switch(o.cmd){case"algorithms":var l=hde((En(),new Hr(new ot(Rg.b))));i.postMessage({id:o.id,data:l});break;case"categories":var f=hde((En(),new Hr(new ot(Rg.c))));i.postMessage({id:o.id,data:f});break;case"options":var h=hde((En(),new Hr(new ot(Rg.d))));i.postMessage({id:o.id,data:h});break;case"register":pPn(o.algorithms),i.postMessage({id:o.id});break;case"layout":fPn(o.graph,o.layoutOptions||{},o.options||{}),i.postMessage({id:o.id,data:o.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(o){i.postMessage({id:c.data.id,error:o})}}}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===qZ&&typeof self!==qZ){var t=new e(self);self.onmessage=t.saveDispatch}else typeof M!==qZ&&M.exports&&(Object.defineProperty(N,"__esModule",{value:!0}),M.exports={default:n,Worker:n})}function oZ(e,n,t,i,r,c,o){var l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(O=0,On=0,h=new P(e.b);h.aO&&(c&&(gc(fe,S),gc(un,ye(g.b-1)),Ce(e.d,A),l.c.length=0),Qt=t.b,Ui+=S+n,S=0,p=k.Math.max(p,t.b+t.c+lt)),qn(l.c,f),XJe(f,Qt,Ui),p=k.Math.max(p,Qt+lt+t.c),S=k.Math.max(S,y),Qt+=lt+n,A=f;if(Sr(e.a,l),Ce(e.d,u(Le(l,l.c.length-1),167)),p=k.Math.max(p,i),Dn=Ui+S+t.a,Dnr.d.d+r.d.a?g.f.d=!0:(g.f.d=!0,g.f.a=!0))),i.b!=i.d.c&&(n=t);g&&(c=u(zn(e.f,o.d.i),60),n.bc.d.d+c.d.a?g.f.d=!0:(g.f.d=!0,g.f.a=!0))}for(l=new Xn(Qn(cr(S).a.Jc(),new ee));ht(l);)o=u(rt(l),17),o.a.b!=0&&(n=u(Df(o.a),8),o.d.j==(Ie(),Vn)&&(D=new hS(n,new Ee(n.a,r.d.d),r,o),D.f.a=!0,D.a=o.d,qn(O.c,D)),o.d.j==bt&&(D=new hS(n,new Ee(n.a,r.d.d+r.d.a),r,o),D.f.d=!0,D.a=o.d,qn(O.c,D)))}return O}function YRn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(f=new Te,p=n.length,o=g1e(t),h=0;h=A&&(U>A&&(S.c.length=0,A=U),qn(S.c,o));S.c.length!=0&&(y=u(Le(S,hz(n,S.c.length)),132),Dn.a.Ac(y)!=null,y.s=O++,ybe(y,cn,fe),S.c.length=0)}for(te=e.c.length+1,l=new P(e);l.aOn.s&&(As(t),qo(On.i,i),i.c>0&&(i.a=On,Ce(On.t,i),i.b=De,Ce(De.i,i)))}function YVe(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn;for(O=new xo(n.b),te=new xo(n.b),y=new xo(n.b),un=new xo(n.b),D=new xo(n.b),De=St(n,0);De.b!=De.d.c;)for(be=u(jt(De),12),l=new P(be.g);l.a0,B=be.g.c.length>0,h&&B?qn(y.c,be):h?qn(O.c,be):B&&qn(te.c,be);for(A=new P(O);A.aU.mh()-h.b&&(y=U.mh()-h.b),S>U.nh()-h.d&&(S=U.nh()-h.d),g0){for(V=St(e.f,0);V.b!=V.d.c;)U=u(jt(V),9),U.p+=y-e.e;P0e(e),qs(e.f),Lbe(e,i,S)}else{for(Vt(e.f,S),S.p=i,e.e=k.Math.max(e.e,i),c=new Xn(Qn(cr(S).a.Jc(),new ee));ht(c);)r=u(rt(c),17),!r.c.i.c&&r.c.i.k==(Fn(),Uu)&&(Vt(e.f,r.c.i),r.c.i.p=i-1);e.c=i}else P0e(e),qs(e.f),i=0,ht(new Xn(Qn(cr(S).a.Jc(),new ee)))?(y=0,y=QJe(y,S),i=y+2,Lbe(e,i,S)):(Vt(e.f,S),S.p=0,e.e=k.Math.max(e.e,0),e.b=u(Le(e.d.b,0),25),e.c=0);for(e.f.b==0||P0e(e),e.d.a.c.length=0,B=new Te,h=new P(e.d.b);h.a=48&&n<=57){for(i=n-48;r=48&&n<=57;)if(i=i*10+n-48,i<0)throw R(new Bt(Ht((Lt(),nme))))}else throw R(new Bt(Ht((Lt(),BZe))));if(t=i,n==44){if(r>=e.j)throw R(new Bt(Ht((Lt(),FZe))));if((n=rc(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;)if(t=t*10+n-48,t<0)throw R(new Bt(Ht((Lt(),nme))));if(i>t)throw R(new Bt(Ht((Lt(),JZe))))}else t=-1}if(n!=125)throw R(new Bt(Ht((Lt(),zZe))));e._l(r)?(c=(ai(),ai(),new P2(9,c)),e.d=r+1):(c=(ai(),ai(),new P2(3,c)),e.d=r),c.Mm(i),c.Lm(t),fi(e)}}return c}function tBn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be;for(r=1,S=new Te,i=0;i=u(Le(e.b,i),25).a.c.length/4)continue}if(u(Le(e.b,i),25).a.c.length>n){for(te=new Te,Ce(te,u(Le(e.b,i),25)),o=0;o1)for(A=new Ay((!e.a&&(e.a=new pe($i,e,6,6)),e.a));A.e!=A.i.gc();)WE(A);for(o=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),D=Qt,Qt>be+te?D=be+te:Qtfe+O?B=fe+O:Uibe-te&&Dfe-O&&BQt+lt?un=Qt+lt:beUi+De?cn=Ui+De:feQt-lt&&unUi-De&&cnt&&(y=t-1),S=o0+Ds(n,24)*SN*p-p/2,S<0?S=1:S>i&&(S=i-1),r=(S0(),f=new qk,f),mB(r,y),vB(r,S),Et((!o.a&&(o.a=new mr(kl,o,5)),o.a),r)}function fZ(e,n){KW();var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De;if(V=e.e,g=e.d,r=e.a,V==0)switch(n){case 0:return"0";case 1:return H8;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 B=new j0,B.a+="0E",B.a+=-n,B.a}if(O=g*10+1+7,D=le(Zl,xh,30,O+1,15,1),t=O,g==1)if(c=r[0],c<0){De=Rr(c,Dc);do p=De,De=GO(De,10),D[--t]=48+Rt(ff(p,hc(De,10)))&yr;while(ao(De,0)!=0)}else{De=c;do p=De,De=De/10|0,D[--t]=48+(p-De*10)&yr;while(De!=0)}else{te=le($t,ni,30,g,15,1),fe=g,Wu(r,0,te,0,fe);e:for(;;){for(U=0,l=fe-1;l>=0;l--)be=mc(Xh(U,32),Rr(te[l],Dc)),S=sMn(be),te[l]=Rt(S),U=Rt(Mw(S,32));A=Rt(U),y=t;do D[--t]=48+A%10&yr;while((A=A/10|0)!=0&&t!=0);for(i=9-y+t,o=0;o0;o++)D[--t]=48;for(f=fe-1;te[f]==0;f--)if(f==0)break e;fe=f+1}for(;D[t]==48;)++t}return h=V<0,h&&(D[--t]=45),vh(D,t,O-t)}function eYe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;switch(e.c=n,e.g=new wt,t=(Fb(),new k0(e.c)),i=new IP(t),lde(i),V=Pt(ke(e.c,(UO(),X6e))),f=u(ke(e.c,cce),330),be=u(ke(e.c,uce),427),o=u(ke(e.c,G6e),477),te=u(ke(e.c,rce),428),e.j=ne(re(ke(e.c,Qln))),l=e.a,f.g){case 0:l=e.a;break;case 1:l=e.b;break;case 2:l=e.i;break;case 3:l=e.e;break;case 4:l=e.f;break;default:throw R(new Un(FF+(f.f!=null?f.f:""+f.g)))}if(e.d=new $_e(l,be,o),he(e.d,(t8(),nx),Be(ke(e.c,Vln))),e.d.c=ze(Be(ke(e.c,q6e))),IR(e.c).i==0)return e.d;for(p=new st(IR(e.c));p.e!=p.i.gc();){for(g=u(ft(p),26),S=g.g/2,y=g.f/2,fe=new Ee(g.i+S,g.j+y);so(e.g,fe);)k2(fe,(k.Math.random()-.5)*Mh,(k.Math.random()-.5)*Mh);O=u(ke(g,(Xt(),H7)),140),D=new Z_e(fe,new Lf(fe.a-S-e.j/2-O.b,fe.b-y-e.j/2-O.d,g.g+e.j+(O.b+O.c),g.f+e.j+(O.d+O.a))),Ce(e.d.i,D),ei(e.g,fe,new jc(D,g))}switch(te.g){case 0:if(V==null)e.d.d=u(Le(e.d.i,0),68);else for(U=new P(e.d.i);U.a0?lt+1:1);for(o=new P(fe.g);o.a0?lt+1:1)}e.d[h]==0?Vt(e.f,O):e.a[h]==0&&Vt(e.g,O),++h}for(A=-1,S=1,p=new Te,e.e=u(C(n,(ve(),B4)),234);jl>0;){for(;e.f.b!=0;)Ui=u(nV(e.f),9),e.c[Ui.p]=A--,Wbe(e,Ui),--jl;for(;e.g.b!=0;)Es=u(nV(e.g),9),e.c[Es.p]=S++,Wbe(e,Es),--jl;if(jl>0){for(y=Xr,U=new P(V);U.a=y&&(te>y&&(p.c.length=0,y=te),qn(p.c,O)));g=e.qg(p),e.c[g.p]=S++,Wbe(e,g),--jl}}for(Qt=V.c.length+1,h=0;he.c[eu]&&(Fd(i,!0),he(n,L4,($n(),!0)));e.a=null,e.d=null,e.c=null,qs(e.g),qs(e.f),t.Ug()}function tYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;for(be=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),g=new xs,te=new wt,fe=gKe(be),Ko(te.f,be,fe),y=new wt,i=new xi,A=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!n.d&&(n.d=new In(pr,n,8,5)),n.d),(!n.e&&(n.e=new In(pr,n,7,4)),n.e)])));ht(A);){if(S=u(rt(A),85),(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i!=1)throw R(new Un(XWe+(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i));S!=e&&(D=u(K((!S.a&&(S.a=new pe($i,S,6,6)),S.a),0),170),Ki(i,D,i.c.b,i.c),O=u(bu(Xc(te.f,D)),13),O||(O=gKe(D),Ko(te.f,D,O)),p=t?Nr(new wc(u(Le(fe,fe.c.length-1),8)),u(Le(O,O.c.length-1),8)):Nr(new wc((kn(0,fe.c.length),u(fe.c[0],8))),(kn(0,O.c.length),u(O.c[0],8))),Ko(y.f,D,p))}if(i.b!=0)for(B=u(Le(fe,t?fe.c.length-1:0),8),h=1;h1&&Ki(g,B,g.c.b,g.c),OY(r)));B=U}return g}function iYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(t.Tg(rWe,1),On=u(gs(li(new pn(null,new yn(n,16)),new C_),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),g=u(gs(li(new pn(null,new yn(n,16)),new XEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),A=u(gs(li(new pn(null,new yn(n,16)),new UEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),O=le(RH,$F,40,n.gc(),0,1),o=0;o=0&&cn=0&&!O[S]){O[S]=r,g.ed(l),--l;break}if(S=cn-y,S=0&&!O[S]){O[S]=r,g.ed(l),--l;break}}for(A.gd(new DM),f=O.length-1;f>=0;f--)!O[f]&&!A.dc()&&(O[f]=u(A.Xb(0),40),A.ed(0));for(h=0;hy&&JO((kn(y,n.c.length),u(n.c[y],186)),g),g=null;n.c.length>y&&(kn(y,n.c.length),u(n.c[y],186)).a.c.length==0;)qo(n,(kn(y,n.c.length),n.c[y]));if(!g){--o;continue}if(!ze(Be(u(Le(g.b,0),26).mf((qa(),NI))))&&S_n(n,A,c,g,D,t,y,i)){O=!0;continue}if(D){if(S=A.b,p=g.f,!ze(Be(u(Le(g.b,0),26).mf(NI)))&&qPn(n,A,c,g,t,y,i,r)){if(O=!0,S=e.j){e.a=-1,e.c=1;return}if(n=rc(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j)throw R(new Bt(Ht((Lt(),VF))));e.a=rc(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||rc(e.i,e.d)!=63)break;if(++e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));switch(n=rc(e.i,e.d++),n){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(e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));if(n=rc(e.i,e.d++),n==61)i=16;else if(n==33)i=17;else throw R(new Bt(Ht((Lt(),kZe))));break;case 35:for(;e.d=e.j)throw R(new Bt(Ht((Lt(),VF))));e.a=rc(e.i,e.d++);break;default:i=0}e.c=i}function hBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(t.Tg("Process compaction",1),!!ze(Be(C(n,(Mu(),A4e))))){for(r=u(C(n,Sp),86),S=ne(re(C(n,jre))),$Ln(e,n,r),ARn(n,S/2/2),A=n.b,tg(A,new BEe(r)),h=St(A,0);h.b!=h.d.c;)if(f=u(jt(h),40),!ze(Be(C(f,(Ti(),gb))))){if(i=fDn(f,r),O=cLn(f,n),p=0,y=0,i)switch(D=i.e,r.g){case 2:p=D.a-S-f.f.a,O.e.a-S-f.f.ap&&(p=O.e.a+O.f.a+S),y=p+f.f.a;break;case 4:p=D.b-S-f.f.b,O.e.b-S-f.f.bp&&(p=O.e.b+O.f.b+S),y=p+f.f.b}else if(O)switch(r.g){case 2:p=O.e.a-S-f.f.a,y=p+f.f.a;break;case 1:p=O.e.a+O.f.a+S,y=p+f.f.a;break;case 4:p=O.e.b-S-f.f.b,y=p+f.f.b;break;case 3:p=O.e.b+O.f.b+S,y=p+f.f.b}ue(C(n,kre))===ue((LE(),xI))?(c=p,o=y,l=z1(li(new pn(null,new yn(e.a,16)),new kCe(c,o))),l.a!=null?r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p:(r==(vr(),Zc)||r==Yl?l=z1(li(oBe(new pn(null,new yn(e.a,16))),new zEe(c))):l=z1(li(oBe(new pn(null,new yn(e.a,16))),new FEe(c))),l.a!=null&&(r==Zc||r==ru?f.e.a=ne(re((at(l.a!=null),u(l.a,49)).a)):f.e.b=ne(re((at(l.a!=null),u(l.a,49)).a)))),l.a!=null&&(g=pu(e.a,(at(l.a!=null),l.a),0),g>0&&g!=u(C(f,Lh),15).a&&(he(f,m4e,($n(),!0)),he(f,Lh,ye(g))))):r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p}t.Ug()}}function dBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be;if(t.Tg("Coffman-Graham Layering",1),n.a.c.length==0){t.Ug();return}for(be=u(C(n,(Oe(),tye)),15).a,f=0,o=0,y=new P(n.a);y.a=be||!CEn(B,i))&&(i=GDe(n,g)),Or(B,i),c=new Xn(Qn(cr(B).a.Jc(),new ee));ht(c);)r=u(rt(c),17),!e.a[r.p]&&(O=r.c.i,--e.e[O.p],e.e[O.p]==0&&Iy(S8(S,O),G8));for(h=g.c.length-1;h>=0;--h)Ce(n.b,(kn(h,g.c.length),u(g.c[h],25)));n.a.c.length=0,t.Ug()}function cYe(e){var n,t,i,r,c,o,l,f,h;for(e.b=1,fi(e),n=null,e.c==0&&e.a==94?(fi(e),n=(ai(),ai(),new ul(4)),ho(n,0,b7),l=new ul(4)):l=(ai(),ai(),new ul(4)),r=!0;(h=e.c)!=1;){if(h==0&&e.a==93&&!r){n&&(pS(n,l),l=n);break}if(t=e.a,i=!1,h==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:cm(l,D8(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(cm(l,D8(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(f=Z0e(e,t),!f)throw R(new Bt(Ht((Lt(),Ine))));cm(l,f),i=!0;break;default:t=$be(e)}else if(h==24&&!r){if(n&&(pS(n,l),l=n),c=cYe(e),pS(l,c),e.c!=0||e.a!=93)throw R(new Bt(Ht((Lt(),NZe))));break}if(fi(e),!i){if(h==0){if(t==91)throw R(new Bt(Ht((Lt(),Z2e))));if(t==93)throw R(new Bt(Ht((Lt(),eme))));if(t==45&&!r&&e.a!=93)throw R(new Bt(Ht((Lt(),Dne))))}if(e.c!=0||e.a!=45||t==45&&r)ho(l,t,t);else{if(fi(e),(h=e.c)==1)throw R(new Bt(Ht((Lt(),YF))));if(h==0&&e.a==93)ho(l,t,t),ho(l,45,45);else{if(h==0&&e.a==93||h==24)throw R(new Bt(Ht((Lt(),Dne))));if(o=e.a,h==0){if(o==91)throw R(new Bt(Ht((Lt(),Z2e))));if(o==93)throw R(new Bt(Ht((Lt(),eme))));if(o==45)throw R(new Bt(Ht((Lt(),Dne))))}else h==10&&(o=$be(e));if(fi(e),t>o)throw R(new Bt(Ht((Lt(),_Ze))));ho(l,t,o)}}}r=!1}if(e.c==1)throw R(new Bt(Ht((Lt(),YF))));return g3(l),gS(l),e.b=0,fi(e),l}function uYe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;te=!1;do for(te=!1,c=n?new it(e.a.b).a.gc()-2:1;n?c>=0:cu(C(D,Oi),15).a)&&(V=!1);if(V){for(f=n?c+1:c-1,l=Rae(e.a,ye(f)),o=!1,U=!0,i=!1,g=St(l,0);g.b!=g.d.c;)h=u(jt(g),9),wi(h,Oi)?h.p!=p.p&&(o=o|(n?u(C(h,Oi),15).au(C(p,Oi),15).a),U=!1):!o&&U&&h.k==(Fn(),Uu)&&(i=!0,n?y=u(rt(new Xn(Qn(cr(h).a.Jc(),new ee))),17).c.i:y=u(rt(new Xn(Qn(Ii(h).a.Jc(),new ee))),17).d.i,y==p&&(n?t=u(rt(new Xn(Qn(Ii(h).a.Jc(),new ee))),17).d.i:t=u(rt(new Xn(Qn(cr(h).a.Jc(),new ee))),17).c.i,(n?u(y2(e.a,t),15).a-u(y2(e.a,y),15).a:u(y2(e.a,y),15).a-u(y2(e.a,t),15).a)<=2&&(U=!1)));if(i&&U&&(n?t=u(rt(new Xn(Qn(Ii(p).a.Jc(),new ee))),17).d.i:t=u(rt(new Xn(Qn(cr(p).a.Jc(),new ee))),17).c.i,(n?u(y2(e.a,t),15).a-u(y2(e.a,p),15).a:u(y2(e.a,p),15).a-u(y2(e.a,t),15).a)<=2&&t.k==(Fn(),Wi)&&(U=!1)),o||U){for(O=FUe(e,p,n);O.a.gc()!=0;)A=u(O.a.ec().Jc().Pb(),9),O.a.Ac(A)!=null,ac(O,FUe(e,A,n));--S,te=!0}}}while(te)}function bBn(e){Mt(e.c,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#decimal"])),Mt(e.d,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#integer"])),Mt(e.e,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#boolean"])),Mt(e.f,Ut,F(z(Je,1),Ae,2,6,[sc,"EBoolean",ui,"EBoolean:Object"])),Mt(e.i,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#byte"])),Mt(e.g,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Mt(e.j,Ut,F(z(Je,1),Ae,2,6,[sc,"EByte",ui,"EByte:Object"])),Mt(e.n,Ut,F(z(Je,1),Ae,2,6,[sc,"EChar",ui,"EChar:Object"])),Mt(e.t,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#double"])),Mt(e.u,Ut,F(z(Je,1),Ae,2,6,[sc,"EDouble",ui,"EDouble:Object"])),Mt(e.F,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#float"])),Mt(e.G,Ut,F(z(Je,1),Ae,2,6,[sc,"EFloat",ui,"EFloat:Object"])),Mt(e.I,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#int"])),Mt(e.J,Ut,F(z(Je,1),Ae,2,6,[sc,"EInt",ui,"EInt:Object"])),Mt(e.N,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#long"])),Mt(e.O,Ut,F(z(Je,1),Ae,2,6,[sc,"ELong",ui,"ELong:Object"])),Mt(e.Z,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#short"])),Mt(e.$,Ut,F(z(Je,1),Ae,2,6,[sc,"EShort",ui,"EShort:Object"])),Mt(e._,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#string"]))}function Oe(){Oe=Y,zie=(Xt(),zfn),mye=Ffn,mI=Jfn,Vf=Hfn,X3=X9e,Ng=K9e,Dm=V9e,L7=Y9e,P7=Q9e,Fie=oG,Ig=Zd,Jie=Gfn,Sx=e8e,SH=Q4,pI=(Lge(),Vcn),Im=Ycn,ab=Qcn,_m=Wcn,Run=new Yr(FI,ye(0)),_7=Ucn,pye=Xcn,G4=Kcn,Mye=yun,yye=nun,kye=run,Gie=aun,jye=oun,Eye=lun,xH=Sun,qie=kun,xye=wun,Sye=bun,Aye=mun,uye=Ccn,Pie=Scn,vH=Ecn,$ie=Acn,kp=zcn,Ex=Fcn,_ie=Wrn,V5e=ecn,Hun=q7,Gun=sG,Jun=Hm,Fun=G7,vye=(Zy(),Um),new Yr(W4,vye),hye=new Ew(12),aye=new Yr(f1,hye),U5e=(J1(),K7),W1=new Yr(S9e,U5e),Tm=new Yr(Ps,0),Bun=new Yr(Sce,ye(1)),fH=new Yr(J7,K8),Og=uG,Zi=Wx,D7=c5,Nun=$I,Dh=Mfn,Am=n5,zun=new Yr(xce,($n(),!0)),Mm=RI,Cg=wce,Tg=Lg,EH=wb,Bie=zm,q5e=(vr(),ih),pl=new Yr(_g,q5e),yp=i5,kH=I9e,Om=Fm,$un=Ece,gye=q9e,bye=(l3(),UI),new Yr(z9e,bye),_un=vce,Lun=yce,Pun=kce,Dun=mce,Hie=eun,mH=jcn,wI=kcn,xx=Zcn,ku=bcn,H4=Grn,yx=Hrn,N7=Crn,J5e=Trn,Nie=Drn,gI=Orn,Iie=Frn,oye=Tcn,sye=Ocn,nye=scn,jH=Gcn,Rie=Dcn,Lie=icn,fye=Rcn,K5e=Yrn,Die=Qrn,Oie=PI,lye=Ncn,hH=frn,R5e=lrn,aH=srn,W5e=ucn,Q5e=ccn,Z5e=ocn,I7=r5,Wc=t5,Kd=Nfn,_h=gce,U3=bce,H5e=Lrn,Vd=jce,wx=Ofn,pH=Dfn,jp=J9e,dye=Pfn,Cm=$fn,iye=wcn,rye=mcn,Nm=Y4,Aie=orn,cye=ycn,wH=Xrn,gH=Urn,yH=H7,tye=acn,jx=Lcn,vI=W9e,G5e=qrn,wye=qcn,X5e=Krn,Cun=$rn,Tun=Rrn,Iun=dcn,Oun=Brn,eye=pce,kx=gcn,bH=zrn,l1=Mrn,Cie=Srn,bI=hrn,Mie=drn,dH=xrn,px=arn,Tie=Arn,xm=Ern,vx=jrn,Mun=krn,J4=brn,mx=yrn,F5e=vrn,B5e=grn,z5e=prn,Y5e=rcn}function gBn(e,n,t,i,r,c,o){var l,f,h,g,p,y,S,A;return y=u(i.a,15).a,S=u(i.b,15).a,p=e.b,A=e.c,l=0,g=0,n==(vr(),Zc)||n==ru?(g=fT(FFe(N2(So(new pn(null,new yn(t.b,16)),new D_),new OM))),p.e.b+p.f.b/2>g?(h=++S,l=ne(re(Js(M2(So(new pn(null,new yn(t.b,16)),new SCe(r,h)),new lw))))):(f=++y,l=ne(re(Js(_y(So(new pn(null,new yn(t.b,16)),new xCe(r,f)),new Pk)))))):(g=fT(FFe(N2(So(new pn(null,new yn(t.b,16)),new x_),new R6))),p.e.a+p.f.a/2>g?(h=++S,l=ne(re(Js(M2(So(new pn(null,new yn(t.b,16)),new ECe(r,h)),new NM))))):(f=++y,l=ne(re(Js(_y(So(new pn(null,new yn(t.b,16)),new jCe(r,f)),new IM)))))),n==Zc?(gc(e.a,new Ee(ne(re(C(p,(Ti(),xa))))-r,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a+A.f.a,A.e.b+A.f.b/2))):n==ru?(gc(e.a,new Ee(ne(re(C(p,(Ti(),Yf))))+r,p.e.b+p.f.b/2)),gc(e.a,new Ee(p.e.a+p.f.a+r,l)),gc(e.a,new Ee(A.e.a-r-c,l)),gc(e.a,new Ee(A.e.a-r-c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a,A.e.b+A.f.b/2))):n==Yl?(gc(e.a,new Ee(l,ne(re(C(p,(Ti(),xa))))-r)),gc(e.a,new Ee(l,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r))):(e.a.b==0||(u(Df(e.a),8).b=ne(re(C(p,(Ti(),Yf))))+r*u(o.b,15).a),gc(e.a,new Ee(l,ne(re(C(p,(Ti(),Yf))))+r*u(o.b,15).a)),gc(e.a,new Ee(l,A.e.b-r*u(o.a,15).a-c))),new jc(ye(y),ye(S))}function wBn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S;if(o=!0,p=null,i=null,r=null,n=!1,S=Han,h=null,c=null,l=0,f=IQ(e,l,K8e,V8e),f=0&&bn(e.substr(l,2),"//")?(l+=2,f=IQ(e,l,fA,aA),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f):p!=null&&(l==e.length||(Wn(l,e.length),e.charCodeAt(l)!=47))&&(o=!1,f=ule(e,Xo(35),l),f==-1&&(f=e.length),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f);if(!t&&l0&&rc(g,g.length-1)==58&&(r=g,l=f)),lo?(Ys(e,n,t),1):(Ys(e,t,n),-1)}for(U=e.f,V=0,te=U.length;V0?Ys(e,n,t):Ys(e,t,n),i;if(!wi(n,(ve(),Oi))||!wi(t,Oi))return c=cW(e,n),l=cW(e,t),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)}if(!y&&!A&&(i=sYe(e,n,t),i!=0))return i>0?Ys(e,n,t):Ys(e,t,n),i}return wi(n,(ve(),Oi))&&wi(t,Oi)?(c=Qw(n,t,e.c,u(C(e.c,fb),15).a),l=Qw(t,n,e.c,u(C(e.c,fb),15).a),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)):(Ys(e,t,n),-1)}function oYe(){oYe=Y,lZ(),Wt=new _w,gn(Wt,(Ie(),na),ch),gn(Wt,vf,ch),gn(Wt,ks,ch),gn(Wt,ta,ch),gn(Wt,es,ch),gn(Wt,js,ch),gn(Wt,ta,na),gn(Wt,ch,Ql),gn(Wt,na,Ql),gn(Wt,vf,Ql),gn(Wt,ks,Ql),gn(Wt,Zo,Ql),gn(Wt,ta,Ql),gn(Wt,es,Ql),gn(Wt,js,Ql),gn(Wt,zo,Ql),gn(Wt,ch,vl),gn(Wt,na,vl),gn(Wt,Ql,vl),gn(Wt,vf,vl),gn(Wt,ks,vl),gn(Wt,Zo,vl),gn(Wt,ta,vl),gn(Wt,zo,vl),gn(Wt,yl,vl),gn(Wt,es,vl),gn(Wt,hs,vl),gn(Wt,js,vl),gn(Wt,na,vf),gn(Wt,ks,vf),gn(Wt,ta,vf),gn(Wt,js,vf),gn(Wt,na,ks),gn(Wt,vf,ks),gn(Wt,ta,ks),gn(Wt,ks,ks),gn(Wt,es,ks),gn(Wt,ch,Wl),gn(Wt,na,Wl),gn(Wt,Ql,Wl),gn(Wt,vl,Wl),gn(Wt,vf,Wl),gn(Wt,ks,Wl),gn(Wt,Zo,Wl),gn(Wt,ta,Wl),gn(Wt,yl,Wl),gn(Wt,zo,Wl),gn(Wt,js,Wl),gn(Wt,es,Wl),gn(Wt,mo,Wl),gn(Wt,ch,yl),gn(Wt,na,yl),gn(Wt,Ql,yl),gn(Wt,vf,yl),gn(Wt,ks,yl),gn(Wt,Zo,yl),gn(Wt,ta,yl),gn(Wt,zo,yl),gn(Wt,js,yl),gn(Wt,hs,yl),gn(Wt,mo,yl),gn(Wt,na,zo),gn(Wt,vf,zo),gn(Wt,ks,zo),gn(Wt,ta,zo),gn(Wt,yl,zo),gn(Wt,js,zo),gn(Wt,es,zo),gn(Wt,ch,Wo),gn(Wt,na,Wo),gn(Wt,Ql,Wo),gn(Wt,vf,Wo),gn(Wt,ks,Wo),gn(Wt,Zo,Wo),gn(Wt,ta,Wo),gn(Wt,zo,Wo),gn(Wt,js,Wo),gn(Wt,na,es),gn(Wt,Ql,es),gn(Wt,vl,es),gn(Wt,ks,es),gn(Wt,ch,hs),gn(Wt,na,hs),gn(Wt,vl,hs),gn(Wt,vf,hs),gn(Wt,ks,hs),gn(Wt,Zo,hs),gn(Wt,ta,hs),gn(Wt,ta,mo),gn(Wt,ks,mo),gn(Wt,zo,ch),gn(Wt,zo,vf),gn(Wt,zo,Ql),gn(Wt,Zo,ch),gn(Wt,Zo,na),gn(Wt,Zo,vl)}function pBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;switch(t.Tg("Brandes & Koepf node placement",1),e.a=n,e.c=Y_n(n),i=u(C(n,(Oe(),Rie)),282),S=ze(Be(C(n,jx))),e.d=i==(qO(),eH)&&!S||i==lie,HPn(e,n),be=null,fe=null,B=null,U=null,D=(ll(4,om),new xo(4)),u(C(n,Rie),282).g){case 3:B=new p3(n,e.c.d,(La(),Dg),(gh(),Yd)),qn(D.c,B);break;case 1:U=new p3(n,e.c.d,(La(),Za),(gh(),Yd)),qn(D.c,U);break;case 4:be=new p3(n,e.c.d,(La(),Dg),(gh(),Ep)),qn(D.c,be);break;case 2:fe=new p3(n,e.c.d,(La(),Za),(gh(),Ep)),qn(D.c,fe);break;default:B=new p3(n,e.c.d,(La(),Dg),(gh(),Yd)),U=new p3(n,e.c.d,Za,Yd),be=new p3(n,e.c.d,Dg,Ep),fe=new p3(n,e.c.d,Za,Ep),qn(D.c,be),qn(D.c,fe),qn(D.c,B),qn(D.c,U)}for(r=new wCe(n,e.c),l=new P(D);l.aAW(c))&&(p=c);for(!p&&(p=(kn(0,D.c.length),u(D.c[0],185))),O=new P(n.b);O.a0?(Ys(e,t,n),1):(Ys(e,n,t),-1);if(g&&V)return Ys(e,t,n),1;if(p&&U)return Ys(e,n,t),-1;if(p&&V)return 0}else for(cn=new P(h.j);cn.ap&&(Dn=0,lt+=g+De,g=0),eKe(be,o,Dn,lt),n=k.Math.max(n,Dn+fe.a),g=k.Math.max(g,fe.b),Dn+=fe.a+De;for(te=new wt,t=new wt,cn=new P(e);cn.a=-1900?1:0,t>=4?Kt(e,F(z(Je,1),Ae,2,6,[xYe,AYe])[l]):Kt(e,F(z(Je,1),Ae,2,6,["BC","AD"])[l]);break;case 121:rSn(e,t,i);break;case 77:ZDn(e,t,i);break;case 107:f=r.q.getHours(),f==0?Qh(e,24,t):Qh(e,f,t);break;case 83:gNn(e,t,r);break;case 69:g=i.q.getDay(),t==5?Kt(e,F(z(Je,1),Ae,2,6,["S","M","T","W","T","F","S"])[g]):t==4?Kt(e,F(z(Je,1),Ae,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[g]):Kt(e,F(z(Je,1),Ae,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[g]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Kt(e,F(z(Je,1),Ae,2,6,["AM","PM"])[1]):Kt(e,F(z(Je,1),Ae,2,6,["AM","PM"])[0]);break;case 104:p=r.q.getHours()%12,p==0?Qh(e,12,t):Qh(e,p,t);break;case 75:y=r.q.getHours()%12,Qh(e,y,t);break;case 72:S=r.q.getHours(),Qh(e,S,t);break;case 99:A=i.q.getDay(),t==5?Kt(e,F(z(Je,1),Ae,2,6,["S","M","T","W","T","F","S"])[A]):t==4?Kt(e,F(z(Je,1),Ae,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[A]):t==3?Kt(e,F(z(Je,1),Ae,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[A]):Qh(e,A,1);break;case 76:O=i.q.getMonth(),t==5?Kt(e,F(z(Je,1),Ae,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[O]):t==4?Kt(e,F(z(Je,1),Ae,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ])[O]):t==3?Kt(e,F(z(Je,1),Ae,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[O]):Qh(e,O+1,t);break;case 81:D=i.q.getMonth()/3|0,t<4?Kt(e,F(z(Je,1),Ae,2,6,["Q1","Q2","Q3","Q4"])[D]):Kt(e,F(z(Je,1),Ae,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[D]);break;case 100:B=i.q.getDate(),Qh(e,B,t);break;case 109:h=r.q.getMinutes(),Qh(e,h,t);break;case 115:o=r.q.getSeconds(),Qh(e,o,t);break;case 122:t<4?Kt(e,c.c[0]):Kt(e,c.c[1]);break;case 118:Kt(e,c.b);break;case 90:t<3?Kt(e,mTn(c)):t==3?Kt(e,jTn(c)):Kt(e,ETn(c.a));break;default:return!1}return!0}function _ge(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt;if(JXe(n),f=u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84),g=u(K((!n.c&&(n.c=new In(mt,n,5,8)),n.c),0),84),l=iu(f),h=iu(g),o=(!n.a&&(n.a=new pe($i,n,6,6)),n.a).i==0?null:u(K((!n.a&&(n.a=new pe($i,n,6,6)),n.a),0),170),De=u(zn(e.a,l),9),Dn=u(zn(e.a,h),9),un=null,lt=null,X(f,193)&&(fe=u(zn(e.a,f),246),X(fe,12)?un=u(fe,12):X(fe,9)&&(De=u(fe,9),un=u(Le(De.j,0),12))),X(g,193)&&(On=u(zn(e.a,g),246),X(On,12)?lt=u(On,12):X(On,9)&&(Dn=u(On,9),lt=u(Le(Dn.j,0),12))),!De||!Dn)throw R(new gy("The source or the target of edge "+n+" 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(O=new Dw,Pu(O,n),he(O,(ve(),mi),n),he(O,(Oe(),Wc),null),S=u(C(i,po),22),De==Dn&&S.Ec((Ic(),fx)),un||(be=(Nc(),Io),cn=null,o&&zv(u(C(De,Zi),102))&&(cn=new Ee(o.j,o.k),pPe(cn,I2(n)),GPe(cn,t),B2(h,l)&&(be=ys,pi(cn,De.n))),un=qKe(De,cn,be,i)),lt||(be=(Nc(),ys),Qt=null,o&&zv(u(C(Dn,Zi),102))&&(Qt=new Ee(o.b,o.c),pPe(Qt,I2(n)),GPe(Qt,t)),lt=qKe(Dn,Qt,be,_r(Dn))),fc(O,un),Gr(O,lt),(un.e.c.length>1||un.g.c.length>1||lt.e.c.length>1||lt.g.c.length>1)&&S.Ec((Ic(),lx)),y=new st((!n.n&&(n.n=new pe(Eu,n,1,7)),n.n));y.e!=y.i.gc();)if(p=u(ft(y),157),!ze(Be(ke(p,Og)))&&p.a)switch(D=aQ(p),Ce(O.b,D),u(C(D,_h),279).g){case 1:case 2:S.Ec((Ic(),C7));break;case 0:S.Ec((Ic(),M7)),he(D,_h,(za(),U7))}if(c=u(C(i,yx),301),B=u(C(i,jH),328),r=c==(HE(),cI)||B==(XE(),Zie),o&&(!o.a&&(o.a=new mr(kl,o,5)),o.a).i!=0&&r){for(U=mCn(o),A=new xs,te=St(U,0);te.b!=te.d.c;)V=u(jt(te),8),Vt(A,new wc(V));he(O,Y3e,A)}return O}function kBn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(cn=0,On=0,De=new wt,be=u(Js(M2(So(new pn(null,new yn(e.b,16)),new S_),new Lk)),15).a+1,un=le($t,ni,30,be,15,1),D=le($t,ni,30,be,15,1),O=0;O1)for(l=lt+1;lh.b.e.b*(1-B)+h.c.e.b*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(Df(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.b>V.b&&h.c.e.b>V.b||A<=0&&Qt.bh.b.e.a*(1-B)+h.c.e.a*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(Df(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.a>V.a&&h.c.e.a>V.a||A<=0&&Qt.a=ne(re(C(e,(Ti(),k4e))))&&++On):(S.f&&S.d.e.a<=ne(re(C(e,(Ti(),pre))))&&++cn,S.g&&S.c.e.a+S.c.f.a>=ne(re(C(e,(Ti(),y4e))))&&++On)}else te==0?Y0e(h):te<0&&(++un[lt],++D[Ui],Dn=gBn(h,n,e,new jc(ye(cn),ye(On)),t,i,new jc(ye(D[Ui]),ye(un[lt]))),cn=u(Dn.a,15).a,On=u(Dn.b,15).a)}function jBn(e){e.gb||(e.gb=!0,e.b=Au(e,0),Yi(e.b,18),_i(e.b,19),e.a=Au(e,1),Yi(e.a,1),_i(e.a,2),_i(e.a,3),_i(e.a,4),_i(e.a,5),e.o=Au(e,2),Yi(e.o,8),Yi(e.o,9),_i(e.o,10),_i(e.o,11),_i(e.o,12),_i(e.o,13),_i(e.o,14),_i(e.o,15),_i(e.o,16),_i(e.o,17),_i(e.o,18),_i(e.o,19),_i(e.o,20),_i(e.o,21),_i(e.o,22),_i(e.o,23),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),e.p=Au(e,3),Yi(e.p,2),Yi(e.p,3),Yi(e.p,4),Yi(e.p,5),_i(e.p,6),_i(e.p,7),Yc(e.p),Yc(e.p),e.q=Au(e,4),Yi(e.q,8),e.v=Au(e,5),_i(e.v,9),Yc(e.v),Yc(e.v),Yc(e.v),e.w=Au(e,6),Yi(e.w,2),Yi(e.w,3),Yi(e.w,4),_i(e.w,5),e.B=Au(e,7),_i(e.B,1),Yc(e.B),Yc(e.B),Yc(e.B),e.Q=Au(e,8),_i(e.Q,0),Yc(e.Q),e.R=Au(e,9),Yi(e.R,1),e.S=Au(e,10),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),e.T=Au(e,11),_i(e.T,10),_i(e.T,11),_i(e.T,12),_i(e.T,13),_i(e.T,14),Yc(e.T),Yc(e.T),e.U=Au(e,12),Yi(e.U,2),Yi(e.U,3),_i(e.U,4),_i(e.U,5),_i(e.U,6),_i(e.U,7),Yc(e.U),e.V=Au(e,13),_i(e.V,10),e.W=Au(e,14),Yi(e.W,18),Yi(e.W,19),Yi(e.W,20),_i(e.W,21),_i(e.W,22),_i(e.W,23),e.bb=Au(e,15),Yi(e.bb,10),Yi(e.bb,11),Yi(e.bb,12),Yi(e.bb,13),Yi(e.bb,14),Yi(e.bb,15),Yi(e.bb,16),_i(e.bb,17),Yc(e.bb),Yc(e.bb),e.eb=Au(e,16),Yi(e.eb,2),Yi(e.eb,3),Yi(e.eb,4),Yi(e.eb,5),Yi(e.eb,6),Yi(e.eb,7),_i(e.eb,8),_i(e.eb,9),e.ab=Au(e,17),Yi(e.ab,0),Yi(e.ab,1),e.H=Au(e,18),_i(e.H,0),_i(e.H,1),_i(e.H,2),_i(e.H,3),_i(e.H,4),_i(e.H,5),Yc(e.H),e.db=Au(e,19),_i(e.db,2),e.c=ci(e,20),e.d=ci(e,21),e.e=ci(e,22),e.f=ci(e,23),e.i=ci(e,24),e.g=ci(e,25),e.j=ci(e,26),e.k=ci(e,27),e.n=ci(e,28),e.r=ci(e,29),e.s=ci(e,30),e.t=ci(e,31),e.u=ci(e,32),e.fb=ci(e,33),e.A=ci(e,34),e.C=ci(e,35),e.D=ci(e,36),e.F=ci(e,37),e.G=ci(e,38),e.I=ci(e,39),e.J=ci(e,40),e.L=ci(e,41),e.M=ci(e,42),e.N=ci(e,43),e.O=ci(e,44),e.P=ci(e,45),e.X=ci(e,46),e.Y=ci(e,47),e.Z=ci(e,48),e.$=ci(e,49),e._=ci(e,50),e.cb=ci(e,51),e.K=ci(e,52))}function EBn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A;for(p=St(e.b,0);p.b!=p.d.c;)if(g=u(jt(p),40),!bn(g.c,PF))for(c=u(gs(new pn(null,new yn(PTn(g,e),16)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),n==(vr(),Zc)||n==ru?c.gd(new O_):c.gd(new N_),A=c.gc(),r=0;r0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a+i/5.3,g.e.b+g.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a+i/5.3,g.e.b+g.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a,g.e.b+g.f.b*o))):n==ru?(h=ne(re(C(g,(Ti(),xa)))),g.e.a-i>h?gc(u(c.Xb(r),65).a,new Ee(h-t,g.e.b+g.f.b*o)):u(c.Xb(r),65).a.b>0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(g.e.a-i/5.3,g.e.b+g.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(g.e.a-i/5.3,g.e.b+g.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a,g.e.b+g.f.b*o))):n==Yl?(h=ne(re(C(g,(Ti(),Yf)))),g.e.b+g.f.b+i0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o-i/2,g.e.b+i/5.3+g.f.b)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o+i/2,g.e.b+i/5.3+g.f.b)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,g.e.b+g.f.b))):(h=ne(re(C(g,(Ti(),xa)))),Uze(u(c.Xb(r),65),e)?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,u(Df(u(c.Xb(r),65).a),8).b)):g.e.b-i>h?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,h-t)):u(c.Xb(r),65).a.b>0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o-i/2,g.e.b-i/5.3)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o+i/2,g.e.b-i/5.3)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,g.e.b)))}function fYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;if(o=n,y=t,so(e.a,o)){if(cf(u(zn(e.a,o),47),y))return 1}else ei(e.a,o,new ar);if(so(e.a,y)){if(cf(u(zn(e.a,y),47),o))return-1}else ei(e.a,y,new ar);if(so(e.e,o)){if(cf(u(zn(e.e,o),47),y))return-1}else ei(e.e,o,new ar);if(so(e.e,y)){if(cf(u(zn(e.a,y),47),o))return 1}else ei(e.e,y,new ar);if(o.j!=y.j)return be=hwn(o.j,y.j),be>0?Gl(e,o,y,1):Gl(e,y,o,1),be;if(fe=1,o.e.c.length!=0&&y.e.c.length!=0){if((o.j==(Ie(),Yn)&&y.j==Yn||o.j==Vn&&y.j==Vn||o.j==bt&&y.j==bt)&&(fe=-fe),g=u(Le(o.e,0),17).c,D=u(Le(y.e,0),17).c,f=g.i,A=D.i,f==A)for(V=new P(f.j);V.a0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe);if(i=CFe(u(gs(vV(e.d),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),20),f,A),i!=0)return i>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe);if(e.c&&(be=rHe(e,o,y),be!=0))return be>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)}return o.g.c.length!=0&&y.g.c.length!=0?((o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),p=u(C(o,(ve(),vie)),9),B=u(C(y,vie),9),e.f==(H1(),tre)&&p&&B&&wi(p,Oi)&&wi(B,Oi)?(l=Qw(p,B,e.b,u(C(e.b,fb),15).a),S=Qw(B,p,e.b,u(C(e.b,fb),15).a),l>S?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)):e.c&&(be=rHe(e,o,y),be!=0)?be>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe):(h=0,O=0,wi(u(Le(o.g,0),17),Oi)&&(h=Qw(u(Le(o.g,0),246),u(Le(y.g,0),246),e.b,o.g.c.length+o.e.c.length)),wi(u(Le(y.g,0),17),Oi)&&(O=Qw(u(Le(y.g,0),246),u(Le(o.g,0),246),e.b,y.g.c.length+y.e.c.length)),p&&p==B||e.g&&(e.g._b(p)&&(h=u(e.g.xc(p),15).a),e.g._b(B)&&(O=u(e.g.xc(B),15).a)),h>O?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe))):o.e.c.length!=0&&y.g.c.length!=0?(Gl(e,o,y,fe),1):o.g.c.length!=0&&y.e.c.length!=0?(Gl(e,y,o,fe),-1):wi(o,(ve(),Oi))&&wi(y,Oi)?(c=o.i.j.c.length,l=Qw(o,y,e.b,c),S=Qw(y,o,e.b,c),(o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),l>S?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)):(Gl(e,y,o,fe),-fe)}function ve(){ve=Y;var e,n;mi=new ki(lwe),U3e=new ki("coordinateOrigin"),kie=new ki("processors"),q3e=new Pi("compoundNode",($n(),!1)),aI=new Pi("insideConnections",!1),Y3e=new ki("originalBendpoints"),Q3e=new ki("originalDummyNodePosition"),W3e=new ki("originalLabelEdge"),hx=new ki("representedLabels"),ax=new ki("endLabels"),P4=new ki("endLabel.origin"),R4=new Pi("labelSide",(al(),qI)),F3=new Pi("maxEdgeThickness",0),Xd=new Pi("reversed",!1),B4=new ki(lQe),Sa=new Pi("longEdgeSource",null),wf=new Pi("longEdgeTarget",null),Sm=new Pi("longEdgeHasLabelDummies",!1),hI=new Pi("longEdgeBeforeLabelDummy",!1),uH=new Pi("edgeConstraint",(cg(),iie)),pp=new ki("inLayerLayoutUnit"),xg=new Pi("inLayerConstraint",(P1(),lI)),$4=new Pi("inLayerSuccessorConstraint",new Te),V3e=new Pi("inLayerSuccessorConstraintBetweenNonDummies",!1),vs=new ki("portDummy"),cH=new Pi("crossingHint",ye(0)),po=new Pi("graphProperties",(n=u(fa(fie),10),new Ll(n,u(_f(n,n.length),10),0))),Iu=new Pi("externalPortSide",(Ie(),ju)),K3e=new Pi("externalPortSize",new Vr),wie=new ki("externalPortReplacedDummies"),oH=new ki("externalPortReplacedDummy"),Y1=new Pi("externalPortConnections",(e=u(fa(xc),10),new Ll(e,u(_f(e,e.length),10),0))),mp=new Pi(rQe,0),G3e=new ki("barycenterAssociates"),F4=new ki("TopSideComments"),_4=new ki("BottomSideComments"),rH=new ki("CommentConnectionPort"),mie=new Pi("inputCollect",!1),yie=new Pi("outputCollect",!1),L4=new Pi("cyclic",!1),X3e=new ki("crossHierarchyMap"),Eie=new ki("targetOffset"),new Pi("splineLabelSize",new Vr),H3=new ki("spacings"),sH=new Pi("partitionConstraint",!1),wp=new ki("breakingPoint.info"),n5e=new ki("splines.survivingEdge"),Ag=new ki("splines.route.start"),G3=new ki("splines.edgeChain"),e5e=new ki("originalPortConstraints"),vp=new ki("selfLoopHolder"),O7=new ki("splines.nsPortY"),Oi=new ki("modelOrder"),fb=new ki("modelOrder.maximum"),fI=new ki("modelOrderGroups.cb.number"),vie=new ki("longEdgeTargetNode"),lb=new Pi(LQe,!1),J3=new Pi(LQe,!1),pie=new ki("layerConstraints.hiddenNodes"),Z3e=new ki("layerConstraints.opposidePort"),jie=new ki("targetNode.modelOrder"),z4=new Pi("tarjan.lowlink",ye(oi)),dx=new Pi("tarjan.id",ye(-1)),lH=new Pi("tarjan.onstack",!1),rrn=new Pi("partOfCycle",!1),q3=new ki("medianHeuristic.weight")}function Xt(){Xt=Y;var e,n;V4=new ki(SWe),Jm=new ki(xWe),v9e=(Wh(),lce),Mfn=new an(vpe,v9e),J7=new an(V8,null),Cfn=new ki(D2e),k9e=(ag(),Ci(hce,F(z(dce,1),je,299,0,[ace]))),PI=new an(IF,k9e),$I=new an(BN,($n(),!1)),j9e=(vr(),ih),_g=new an(Jee,j9e),x9e=(J1(),Ace),S9e=new an(RN,x9e),Ifn=new an(N2e,!1),M9e=(F1(),aG),n5=new an(NF,M9e),R9e=new Ew(12),f1=new an(am,R9e),BI=new an(AS,!1),pce=new an(_F,!1),zI=new an(MS,!1),H9e=(Br(),vb),Wx=new an(ZZ,H9e),Y4=new ki(DF),FI=new ki(CN),Sce=new ki(hF),xce=new ki(xS),O9e=new xs,t5=new an(Ope,O9e),Ofn=new an(_pe,!1),Dfn=new an(Lpe,!1),new an(AWe,0),N9e=new yj,H7=new an($pe,N9e),uG=new an(ppe,!1),Bfn=new an(MWe,1),Bm=new ki(CWe),Rm=new ki(TWe),q7=new an(TN,!1),new an(OWe,!0),ye(0),new an(NWe,ye(100)),new an(IWe,!1),ye(0),new an(DWe,ye(4e3)),ye(0),new an(_We,ye(400)),new an(LWe,!1),new an(PWe,!1),new an($We,!0),new an(RWe,!1),y9e=(WB(),Ice),Tfn=new an(I2e,y9e),T9e=(AE(),KI),Lfn=new an(BWe,T9e),C9e=(a8(),JI),_fn=new an(zWe,C9e),zfn=new an(cpe,10),Ffn=new an(upe,10),Jfn=new an(ope,20),Hfn=new an(spe,10),X9e=new an(WZ,2),K9e=new an(Fee,10),V9e=new an(lpe,0),oG=new an(hpe,5),Y9e=new an(fpe,1),Q9e=new an(ape,1),Zd=new an(fm,20),Gfn=new an(dpe,10),e8e=new an(bpe,10),Q4=new ki(gpe),Z9e=new STe,W9e=new an(Rpe,Z9e),$fn=new ki(Gee),B9e=!1,Pfn=new an(Hee,B9e),D9e=new Ew(5),I9e=new an(jpe,D9e),_9e=(em(),n=u(fa($c),10),new Ll(n,u(_f(n,n.length),10),0)),i5=new an(Q8,_9e),F9e=(l3(),mb),z9e=new an(xpe,F9e),vce=new ki(Ape),yce=new ki(Mpe),kce=new ki(Cpe),mce=new ki(Tpe),L9e=(e=u(fa(uA),10),new Ll(e,u(_f(e,e.length),10),0)),Lg=new an(S3,L9e),$9e=rn((_s(),Y7)),wb=new an(k4,$9e),P9e=new Ee(0,0),r5=new an(j4,P9e),zm=new an(Y8,!1),E9e=(za(),U7),gce=new an(Ipe,E9e),bce=new an(dF,!1),ye(1),new an(FWe,null),J9e=new ki(Ppe),jce=new ki(Dpe),U9e=(Ie(),ju),c5=new an(mpe,U9e),Ps=new ki(wpe),G9e=(ps(),rn(yb)),Fm=new an(W8,G9e),Ece=new an(Epe,!1),q9e=new an(Spe,!0),ye(1),Vfn=new an(dne,ye(3)),ye(1),Qfn=new an(_2e,ye(4)),sG=new an(ON,1),lG=new an(bne,null),Hm=new an(NN,150),G7=new an(IN,1.414),W4=new an(rp,null),qfn=new an(L2e,1),RI=new an(ype,!1),wce=new an(kpe,!1),Nfn=new an(Npe,1),A9e=(Az(),Cce),new an(JWe,A9e),Rfn=!0,Yfn=(YR(),Nce),Xfn=(Zy(),Um),Kfn=Um,Ufn=Um}function Ur(){Ur=Y,Fve=new br("DIRECTION_PREPROCESSOR",0),Rve=new br("COMMENT_PREPROCESSOR",1),_3=new br("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),_te=new br("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),u3e=new br("PARTITION_PREPROCESSOR",4),IJ=new br("LABEL_DUMMY_INSERTER",5),JJ=new br("SELF_LOOP_PREPROCESSOR",6),ym=new br("LAYER_CONSTRAINT_PREPROCESSOR",7),r3e=new br("PARTITION_MIDPROCESSOR",8),Vve=new br("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),t3e=new br("NODE_PROMOTION",10),vm=new br("LAYER_CONSTRAINT_POSTPROCESSOR",11),c3e=new br("PARTITION_POSTPROCESSOR",12),Uve=new br("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),o3e=new br("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Ive=new br("BREAKING_POINT_INSERTER",15),PJ=new br("LONG_EDGE_SPLITTER",16),Lte=new br("PORT_SIDE_PROCESSOR",17),OJ=new br("INVERTED_PORT_PROCESSOR",18),BJ=new br("PORT_LIST_SORTER",19),l3e=new br("SORT_BY_INPUT_ORDER_OF_MODEL",20),RJ=new br("NORTH_SOUTH_PORT_PREPROCESSOR",21),Dve=new br("BREAKING_POINT_PROCESSOR",22),i3e=new br(MQe,23),f3e=new br(CQe,24),zJ=new br("SELF_LOOP_PORT_RESTORER",25),Nve=new br("ALTERNATING_LAYER_UNZIPPER",26),s3e=new br("SINGLE_EDGE_GRAPH_WRAPPER",27),NJ=new br("IN_LAYER_CONSTRAINT_PROCESSOR",28),Hve=new br("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),e3e=new br("LABEL_AND_NODE_SIZE_PROCESSOR",30),Zve=new br("INNERMOST_NODE_MARGIN_CALCULATOR",31),HJ=new br("SELF_LOOP_ROUTER",32),Pve=new br("COMMENT_NODE_MARGIN_CALCULATOR",33),TJ=new br("END_LABEL_PREPROCESSOR",34),_J=new br("LABEL_DUMMY_SWITCHER",35),Lve=new br("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),y7=new br("LABEL_SIDE_SELECTOR",37),Qve=new br("HYPEREDGE_DUMMY_MERGER",38),Xve=new br("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),n3e=new br("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),cx=new br("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),Bve=new br("CONSTRAINTS_POSTPROCESSOR",42),$ve=new br("COMMENT_POSTPROCESSOR",43),Wve=new br("HYPERNODE_PROCESSOR",44),Kve=new br("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),LJ=new br("LONG_EDGE_JOINER",46),FJ=new br("SELF_LOOP_POSTPROCESSOR",47),_ve=new br("BREAKING_POINT_REMOVER",48),$J=new br("NORTH_SOUTH_PORT_POSTPROCESSOR",49),Yve=new br("HORIZONTAL_COMPACTOR",50),DJ=new br("LABEL_DUMMY_REMOVER",51),Gve=new br("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),Jve=new br("END_LABEL_SORTER",53),I4=new br("REVERSED_EDGE_RESTORER",54),CJ=new br("END_LABEL_POSTPROCESSOR",55),qve=new br("HIERARCHICAL_NODE_RESIZER",56),zve=new br("DIRECTION_POSTPROCESSOR",57)}function SBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui,Es,eu,jl,a5,o0,ia,id,ef,c6,vA,rd,Ta,s0,zg,Fg,u6,Jg,Hg,cd,ev,T7e,Op,yA,Vce,o6,kA,nv,jA,Yce,zhn;for(T7e=0,Qt=n,eu=0,o0=Qt.length;eu0&&(e.a[Ta.p]=T7e++)}for(kA=0,Ui=t,jl=0,ia=Ui.length;jl0;){for(Ta=(at(u6.b>0),u(u6.a.Xb(u6.c=--u6.b),12)),Fg=0,l=new P(Ta.e);l.a0&&(Ta.j==(Ie(),Vn)?(e.a[Ta.p]=kA,++kA):(e.a[Ta.p]=kA+id+c6,++c6))}kA+=c6}for(zg=new wt,A=new Hh,lt=n,Es=0,a5=lt.length;Esh.b&&(h.b=Jg)):Ta.i.c==ev&&(Jgh.c&&(h.c=Jg));for(X9(O,0,O.length,null),o6=le($t,ni,30,O.length,15,1),i=le($t,ni,30,kA+1,15,1),B=0;B0;)De%2>0&&(r+=Yce[De+1]),De=(De-1)/2|0,++Yce[De];for(cn=le(Con,Nn,370,O.length*2,0,1),te=0;te0&&XT(Es.f),ke(B,lG)!=null&&(!B.a&&(B.a=new pe(Ft,B,10,11)),!!B.a)&&(!B.a&&(B.a=new pe(Ft,B,10,11)),B.a).i>0?(l=u(ke(B,lG),521),Fg=l.Sg(B),jw(B,k.Math.max(B.g,Fg.a+id.b+id.c),k.Math.max(B.f,Fg.b+id.d+id.a))):(!B.a&&(B.a=new pe(Ft,B,10,11)),B.a).i!=0&&(Fg=new Ee(ne(re(ke(B,Hm))),ne(re(ke(B,Hm)))/ne(re(ke(B,G7)))),jw(B,k.Math.max(B.g,Fg.a+id.b+id.c),k.Math.max(B.f,Fg.b+id.d+id.a)));if(ia=u(ke(n,f1),104),S=n.g-(ia.b+ia.c),y=n.f-(ia.d+ia.a),Hg.ah("Available Child Area: ("+S+"|"+y+")"),Ei(n,J7,S/y),BJe(n,r,i.dh(a5)),u(ke(n,W4),281)==pG&&(sZ(n),jw(n,ia.b+ne(re(ke(n,Bm)))+ia.c,ia.d+ne(re(ke(n,Rm)))+ia.a)),Hg.ah("Executed layout algorithm: "+Pt(ke(n,V4))+" on node "+n.k),u(ke(n,W4),281)==Um){if(S<0||y<0)throw R(new yd("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));for(ga(n,Bm)||ga(n,Rm)||sZ(n),O=ne(re(ke(n,Bm))),A=ne(re(ke(n,Rm))),Hg.ah("Desired Child Area: ("+O+"|"+A+")"),c6=S/O,vA=y/A,ef=k.Math.min(c6,k.Math.min(vA,ne(re(ke(n,qfn))))),Ei(n,sG,ef),Hg.ah(n.k+" -- Local Scale Factor (X|Y): ("+c6+"|"+vA+")"),te=u(ke(n,PI),22),c=0,o=0,ef'?":bn(kZe,e)?"'(?<' or '(? toIndex: ",Wge=", toIndex: ",Zge="Index: ",ewe=", Size: ",q8="org.eclipse.elk.alg.common",Yt={51:1},zYe="org.eclipse.elk.alg.common.compaction",FYe="Scanline/EventHandler",r1="org.eclipse.elk.alg.common.compaction.oned",JYe="CNode belongs to another CGroup.",HYe="ISpacingsHandler/1",UZ="The ",XZ=" instance has been finished already.",GYe="The direction ",qYe=" is not supported by the CGraph instance.",UYe="OneDimensionalCompactor",XYe="OneDimensionalCompactor/lambda$0$Type",KYe="Quadruplet",VYe="ScanlineConstraintCalculator",YYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",QYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",WYe="ScanlineConstraintCalculator/Timestamp",ZYe="ScanlineConstraintCalculator/lambda$0$Type",Ah={178:1,48:1},jS="org.eclipse.elk.alg.common.networksimplex",va={171:1,3:1,4:1},eQe="org.eclipse.elk.alg.common.nodespacing",wg="org.eclipse.elk.alg.common.nodespacing.cellsystem",U8="CENTER",nQe={216:1,337:1},nwe={3:1,4:1,5:1,592:1},m4="LEFT",v4="RIGHT",twe="Vertical alignment cannot be null",iwe="BOTTOM",fF="org.eclipse.elk.alg.common.nodespacing.internal",ES="UNDEFINED",Xa=.01,xN="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",tQe="LabelPlacer/lambda$0$Type",iQe="LabelPlacer/lambda$1$Type",rQe="portRatioOrPosition",X8="org.eclipse.elk.alg.common.overlaps",KZ="DOWN",y4="org.eclipse.elk.alg.common.spore",lm={3:1,4:1,5:1,198:1},cQe={3:1,6:1,4:1,5:1,90:1,110:1},VZ="org.eclipse.elk.alg.force",rwe="ComponentsProcessor",uQe="ComponentsProcessor/1",cwe="ElkGraphImporter/lambda$0$Type",ip={214:1},E3="org.eclipse.elk.core",AN="org.eclipse.elk.graph.properties",oQe="IPropertyHolder",MN="org.eclipse.elk.alg.force.graph",sQe="Component Layout",uwe="org.eclipse.elk.alg.force.model",yu="org.eclipse.elk.core.data",aF="org.eclipse.elk.force.model",owe="org.eclipse.elk.force.iterations",swe="org.eclipse.elk.force.repulsivePower",YZ="org.eclipse.elk.force.temperature",Mh=.001,QZ="org.eclipse.elk.force.repulsion",Ka={148:1},SS="org.eclipse.elk.alg.force.options",K8=1.600000023841858,$o="org.eclipse.elk.force",CN="org.eclipse.elk.priority",fm="org.eclipse.elk.spacing.nodeNode",WZ="org.eclipse.elk.spacing.edgeLabel",V8="org.eclipse.elk.aspectRatio",hF="org.eclipse.elk.randomSeed",xS="org.eclipse.elk.separateConnectedComponents",am="org.eclipse.elk.padding",AS="org.eclipse.elk.interactive",ZZ="org.eclipse.elk.portConstraints",dF="org.eclipse.elk.edgeLabels.inline",MS="org.eclipse.elk.omitNodeMicroLayout",Y8="org.eclipse.elk.nodeSize.fixedGraphSize",k4="org.eclipse.elk.nodeSize.options",S3="org.eclipse.elk.nodeSize.constraints",Q8="org.eclipse.elk.nodeLabels.placement",W8="org.eclipse.elk.portLabels.placement",TN="org.eclipse.elk.topdownLayout",ON="org.eclipse.elk.topdown.scaleFactor",NN="org.eclipse.elk.topdown.hierarchicalNodeWidth",IN="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",rp="org.eclipse.elk.topdown.nodeType",lwe="origin",lQe="random",fQe="boundingBox.upLeft",aQe="boundingBox.lowRight",fwe="org.eclipse.elk.stress.fixed",awe="org.eclipse.elk.stress.desiredEdgeLength",hwe="org.eclipse.elk.stress.dimension",dwe="org.eclipse.elk.stress.epsilon",bwe="org.eclipse.elk.stress.iterationLimit",eb="org.eclipse.elk.stress",hQe="ELK Stress",j4="org.eclipse.elk.nodeSize.minimum",bF="org.eclipse.elk.alg.force.stress",dQe="Layered layout",E4="org.eclipse.elk.alg.layered",DN="org.eclipse.elk.alg.layered.compaction.components",CS="org.eclipse.elk.alg.layered.compaction.oned",gF="org.eclipse.elk.alg.layered.compaction.oned.algs",pg="org.eclipse.elk.alg.layered.compaction.recthull",Va="org.eclipse.elk.alg.layered.components",ya="NONE",eee="MODEL_ORDER",qu={3:1,6:1,4:1,10:1,5:1,126:1},bQe={3:1,6:1,4:1,5:1,135:1,90:1,110:1},wF="org.eclipse.elk.alg.layered.compound",Mi={43:1},Zu="org.eclipse.elk.alg.layered.graph",nee=" -> ",gQe="Not supported by LGraph",gwe="Port side is undefined",Z8={3:1,6:1,4:1,5:1,323:1,135:1,90:1,110:1},Hd={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},wQe={3:1,6:1,4:1,5:1,135:1,2004:1,209:1,90:1,110:1},pQe=`([{"' \r +`,mQe=`)]}"' \r +`,vQe="The given string contains parts that cannot be parsed as numbers.",_N="org.eclipse.elk.core.math",yQe={3:1,4:1,140:1,213:1,414:1},kQe={3:1,4:1,104:1,213:1,414:1},Gd="org.eclipse.elk.alg.layered.graph.transform",jQe="ElkGraphImporter",EQe="ElkGraphImporter/lambda$1$Type",SQe="ElkGraphImporter/lambda$2$Type",xQe="ElkGraphImporter/lambda$4$Type",Zn="org.eclipse.elk.alg.layered.intermediate",AQe="Node margin calculation",MQe="ONE_SIDED_GREEDY_SWITCH",CQe="TWO_SIDED_GREEDY_SWITCH",tee="No implementation is available for the layout processor ",iee="IntermediateProcessorStrategy",ree="Node '",TQe="FIRST_SEPARATE",OQe="LAST_SEPARATE",NQe="Odd port side processing",lr="org.eclipse.elk.alg.layered.intermediate.compaction",TS="org.eclipse.elk.alg.layered.intermediate.greedyswitch",c1="org.eclipse.elk.alg.layered.p3order.counting",OS={220:1},S4="org.eclipse.elk.alg.layered.intermediate.loops",gl="org.eclipse.elk.alg.layered.intermediate.loops.ordering",nb="org.eclipse.elk.alg.layered.intermediate.loops.routing",pF="org.eclipse.elk.alg.layered.intermediate.preserveorder",Ch="org.eclipse.elk.alg.layered.intermediate.wrapping",Tu="org.eclipse.elk.alg.layered.options",cee="INTERACTIVE",wwe="GREEDY",IQe="DEPTH_FIRST",DQe="EDGE_LENGTH",_Qe="SELF_LOOPS",LQe="firstTryWithInitialOrder",pwe="org.eclipse.elk.layered.directionCongruency",mwe="org.eclipse.elk.layered.feedbackEdges",mF="org.eclipse.elk.layered.interactiveReferencePoint",vwe="org.eclipse.elk.layered.mergeEdges",ywe="org.eclipse.elk.layered.mergeHierarchyEdges",kwe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",jwe="org.eclipse.elk.layered.portSortingStrategy",Ewe="org.eclipse.elk.layered.thoroughness",Swe="org.eclipse.elk.layered.unnecessaryBendpoints",xwe="org.eclipse.elk.layered.generatePositionAndLayerIds",LN="org.eclipse.elk.layered.cycleBreaking.strategy",PN="org.eclipse.elk.layered.layering.strategy",Awe="org.eclipse.elk.layered.layering.layerConstraint",Mwe="org.eclipse.elk.layered.layering.layerChoiceConstraint",Cwe="org.eclipse.elk.layered.layering.layerId",uee="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",oee="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",see="org.eclipse.elk.layered.layering.nodePromotion.strategy",lee="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",fee="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",NS="org.eclipse.elk.layered.crossingMinimization.strategy",Twe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",aee="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",hee="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Owe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Nwe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Iwe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Dwe="org.eclipse.elk.layered.crossingMinimization.positionId",_we="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",dee="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",vF="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",x3="org.eclipse.elk.layered.nodePlacement.strategy",yF="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",bee="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",gee="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",wee="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",pee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",mee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Lwe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Pwe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",kF="org.eclipse.elk.layered.edgeRouting.splines.mode",jF="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",vee="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",$we="org.eclipse.elk.layered.spacing.baseValue",Rwe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Bwe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",zwe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Fwe="org.eclipse.elk.layered.priority.direction",Jwe="org.eclipse.elk.layered.priority.shortness",Hwe="org.eclipse.elk.layered.priority.straightness",yee="org.eclipse.elk.layered.compaction.connectedComponents",Gwe="org.eclipse.elk.layered.compaction.postCompaction.strategy",qwe="org.eclipse.elk.layered.compaction.postCompaction.constraints",EF="org.eclipse.elk.layered.highDegreeNodes.treatment",kee="org.eclipse.elk.layered.highDegreeNodes.threshold",jee="org.eclipse.elk.layered.highDegreeNodes.treeHeight",X1="org.eclipse.elk.layered.wrapping.strategy",SF="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",xF="org.eclipse.elk.layered.wrapping.correctionFactor",IS="org.eclipse.elk.layered.wrapping.cutting.strategy",Eee="org.eclipse.elk.layered.wrapping.cutting.cuts",See="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",AF="org.eclipse.elk.layered.wrapping.validify.strategy",MF="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",CF="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",TF="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",xee="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Aee="org.eclipse.elk.layered.layerUnzipping.strategy",Mee="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",Cee="org.eclipse.elk.layered.layerUnzipping.layerSplit",Tee="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",Uwe="org.eclipse.elk.layered.edgeLabels.sideSelection",Xwe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",OF="org.eclipse.elk.layered.considerModelOrder.strategy",Kwe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",$N="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Oee="org.eclipse.elk.layered.considerModelOrder.components",Vwe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Nee="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Iee="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Dee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",_ee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",Lee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",Ywe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",Pee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",$ee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",Qwe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",Wwe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",Ree="layering",PQe="layering.minWidth",$Qe="layering.nodePromotion",e7="crossingMinimization",NF="org.eclipse.elk.hierarchyHandling",RQe="crossingMinimization.greedySwitch",BQe="nodePlacement",zQe="nodePlacement.bk",FQe="edgeRouting",RN="org.eclipse.elk.edgeRouting",Ya="spacing",Zwe="priority",epe="compaction",JQe="compaction.postCompaction",HQe="Specifies whether and how post-process compaction is applied.",npe="highDegreeNodes",tpe="wrapping",GQe="wrapping.cutting",qQe="wrapping.validify",ipe="wrapping.multiEdge",Bee="layerUnzipping",zee="edgeLabels",DS="considerModelOrder",n7="considerModelOrder.groupModelOrder",rpe="Group ID of the Node Type",cpe="org.eclipse.elk.spacing.commentComment",upe="org.eclipse.elk.spacing.commentNode",ope="org.eclipse.elk.spacing.componentComponent",spe="org.eclipse.elk.spacing.edgeEdge",Fee="org.eclipse.elk.spacing.edgeNode",lpe="org.eclipse.elk.spacing.labelLabel",fpe="org.eclipse.elk.spacing.labelPortHorizontal",ape="org.eclipse.elk.spacing.labelPortVertical",hpe="org.eclipse.elk.spacing.labelNode",dpe="org.eclipse.elk.spacing.nodeSelfLoop",bpe="org.eclipse.elk.spacing.portPort",gpe="org.eclipse.elk.spacing.individual",wpe="org.eclipse.elk.port.borderOffset",ppe="org.eclipse.elk.noLayout",mpe="org.eclipse.elk.port.side",BN="org.eclipse.elk.debugMode",vpe="org.eclipse.elk.alignment",ype="org.eclipse.elk.insideSelfLoops.activate",kpe="org.eclipse.elk.insideSelfLoops.yo",Jee="org.eclipse.elk.direction",jpe="org.eclipse.elk.nodeLabels.padding",Epe="org.eclipse.elk.portLabels.nextToPortIfPossible",Spe="org.eclipse.elk.portLabels.treatAsGroup",xpe="org.eclipse.elk.portAlignment.default",Ape="org.eclipse.elk.portAlignment.north",Mpe="org.eclipse.elk.portAlignment.south",Cpe="org.eclipse.elk.portAlignment.west",Tpe="org.eclipse.elk.portAlignment.east",IF="org.eclipse.elk.contentAlignment",Ope="org.eclipse.elk.junctionPoints",Npe="org.eclipse.elk.edge.thickness",Ipe="org.eclipse.elk.edgeLabels.placement",Dpe="org.eclipse.elk.port.index",_pe="org.eclipse.elk.commentBox",Lpe="org.eclipse.elk.hypernode",Ppe="org.eclipse.elk.port.anchor",Hee="org.eclipse.elk.partitioning.activate",Gee="org.eclipse.elk.partitioning.partition",DF="org.eclipse.elk.position",$pe="org.eclipse.elk.margins",Rpe="org.eclipse.elk.spacing.portsSurrounding",_F="org.eclipse.elk.interactiveLayout",$u="org.eclipse.elk.core.util",Bpe={3:1,4:1,5:1,590:1},UQe="NETWORK_SIMPLEX",zpe="SIMPLE",oc={95:1,43:1},cp="org.eclipse.elk.alg.layered.p1cycles",XQe="Depth-first cycle removal",KQe="Model order cycle breaking",K1="org.eclipse.elk.alg.layered.p2layers",Fpe={406:1,220:1},VQe={830:1,3:1,4:1},Ro="org.eclipse.elk.alg.layered.p3order",A3=17976931348623157e292,qee=5e-324,Lc="org.eclipse.elk.alg.layered.p4nodes",YQe={3:1,4:1,5:1,838:1},Th=1e-5,tb="org.eclipse.elk.alg.layered.p4nodes.bk",Uee="org.eclipse.elk.alg.layered.p5edges",ka="org.eclipse.elk.alg.layered.p5edges.orthogonal",Xee="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Kee=1e-6,hm="org.eclipse.elk.alg.layered.p5edges.splines",Vee=.09999999999999998,LF=1e-8,QQe=4.71238898038469,WQe=1.5707963267948966,Jpe=3.141592653589793,V1="org.eclipse.elk.alg.mrtree",Yee=.10000000149011612,PF="SUPER_ROOT",_S="org.eclipse.elk.alg.mrtree.graph",Hpe=-17976931348623157e292,go="org.eclipse.elk.alg.mrtree.intermediate",ZQe="Processor compute fanout",$F={3:1,6:1,4:1,5:1,522:1,90:1,110:1},eWe="Set neighbors in level",zN="org.eclipse.elk.alg.mrtree.options",nWe="DESCENDANTS",Gpe="org.eclipse.elk.mrtree.compaction",qpe="org.eclipse.elk.mrtree.edgeEndTextureLength",Upe="org.eclipse.elk.mrtree.treeLevel",Xpe="org.eclipse.elk.mrtree.positionConstraint",Kpe="org.eclipse.elk.mrtree.weighting",Vpe="org.eclipse.elk.mrtree.edgeRoutingMode",Ype="org.eclipse.elk.mrtree.searchOrder",tWe="Position Constraint",Bo="org.eclipse.elk.mrtree",iWe="org.eclipse.elk.tree",rWe="Processor arrange level",t7="org.eclipse.elk.alg.mrtree.p2order",Qs="org.eclipse.elk.alg.mrtree.p4route",Qpe="org.eclipse.elk.alg.radial",mg=6.283185307179586,Wpe="Before",RF="After",Zpe="org.eclipse.elk.alg.radial.intermediate",cWe="COMPACTION",Qee="org.eclipse.elk.alg.radial.intermediate.compaction",uWe={3:1,4:1,5:1,90:1},e2e="org.eclipse.elk.alg.radial.intermediate.optimization",Wee="No implementation is available for the layout option ",LS="org.eclipse.elk.alg.radial.options",oWe="CompactionStrategy",n2e="org.eclipse.elk.radial.centerOnRoot",t2e="org.eclipse.elk.radial.orderId",i2e="org.eclipse.elk.radial.radius",BF="org.eclipse.elk.radial.rotate",Zee="org.eclipse.elk.radial.compactor",ene="org.eclipse.elk.radial.compactionStepSize",r2e="org.eclipse.elk.radial.sorter",c2e="org.eclipse.elk.radial.wedgeCriteria",u2e="org.eclipse.elk.radial.optimizationCriteria",nne="org.eclipse.elk.radial.rotation.targetAngle",tne="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",o2e="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",sWe="Compaction",s2e="rotation",ql="org.eclipse.elk.radial",lWe="org.eclipse.elk.alg.radial.p1position.wedge",l2e="org.eclipse.elk.alg.radial.sorting",fWe=5.497787143782138,aWe=3.9269908169872414,hWe=2.356194490192345,dWe="org.eclipse.elk.alg.rectpacking",PS="org.eclipse.elk.alg.rectpacking.intermediate",ine="org.eclipse.elk.alg.rectpacking.options",f2e="org.eclipse.elk.rectpacking.trybox",a2e="org.eclipse.elk.rectpacking.currentPosition",h2e="org.eclipse.elk.rectpacking.desiredPosition",d2e="org.eclipse.elk.rectpacking.inNewRow",b2e="org.eclipse.elk.rectpacking.orderBySize",g2e="org.eclipse.elk.rectpacking.widthApproximation.strategy",w2e="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",p2e="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",m2e="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",v2e="org.eclipse.elk.rectpacking.packing.strategy",y2e="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",k2e="org.eclipse.elk.rectpacking.packing.compaction.iterations",j2e="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",rne="widthApproximation",bWe="Compaction Strategy",gWe="packing.compaction",ms="org.eclipse.elk.rectpacking",i7="org.eclipse.elk.alg.rectpacking.p1widthapproximation",zF="org.eclipse.elk.alg.rectpacking.p2packing",wWe="No Compaction",E2e="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",FN="org.eclipse.elk.alg.rectpacking.util",FF="No implementation available for ",dm="org.eclipse.elk.alg.spore",bm="org.eclipse.elk.alg.spore.options",up="org.eclipse.elk.sporeCompaction",cne="org.eclipse.elk.underlyingLayoutAlgorithm",S2e="org.eclipse.elk.processingOrder.treeConstruction",x2e="org.eclipse.elk.processingOrder.spanningTreeCostFunction",une="org.eclipse.elk.processingOrder.preferredRoot",one="org.eclipse.elk.processingOrder.rootSelection",sne="org.eclipse.elk.structure.structureExtractionStrategy",A2e="org.eclipse.elk.compaction.compactionStrategy",M2e="org.eclipse.elk.compaction.orthogonal",C2e="org.eclipse.elk.overlapRemoval.maxIterations",T2e="org.eclipse.elk.overlapRemoval.runScanline",lne="processingOrder",pWe="overlapRemoval",r7="org.eclipse.elk.sporeOverlap",mWe="org.eclipse.elk.alg.spore.p1structure",fne="org.eclipse.elk.alg.spore.p2processingorder",ane="org.eclipse.elk.alg.spore.p3execution",vWe="Topdown Layout",yWe="Invalid index: ",c7="org.eclipse.elk.core.alg",M3={342:1},gm={296:1},kWe="Make sure its type is registered with the ",O2e=" utility class.",u7="true",hne="false",jWe="Couldn't clone property '",op=.05,Oo="org.eclipse.elk.core.options",EWe=1.2999999523162842,sp="org.eclipse.elk.box",N2e="org.eclipse.elk.expandNodes",I2e="org.eclipse.elk.box.packingMode",SWe="org.eclipse.elk.algorithm",xWe="org.eclipse.elk.resolvedAlgorithm",D2e="org.eclipse.elk.bendPoints",TBn="org.eclipse.elk.labelManager",AWe="org.eclipse.elk.softwrappingFuzziness",MWe="org.eclipse.elk.scaleFactor",CWe="org.eclipse.elk.childAreaWidth",TWe="org.eclipse.elk.childAreaHeight",OWe="org.eclipse.elk.animate",NWe="org.eclipse.elk.animTimeFactor",IWe="org.eclipse.elk.layoutAncestors",DWe="org.eclipse.elk.maxAnimTime",_We="org.eclipse.elk.minAnimTime",LWe="org.eclipse.elk.progressBar",PWe="org.eclipse.elk.validateGraph",$We="org.eclipse.elk.validateOptions",RWe="org.eclipse.elk.zoomToFit",BWe="org.eclipse.elk.json.shapeCoords",zWe="org.eclipse.elk.json.edgeCoords",OBn="org.eclipse.elk.font.name",FWe="org.eclipse.elk.font.size",dne="org.eclipse.elk.topdown.sizeCategories",_2e="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",bne="org.eclipse.elk.topdown.sizeApproximator",L2e="org.eclipse.elk.topdown.scaleCap",JWe="org.eclipse.elk.edge.type",HWe="partitioning",GWe="nodeLabels",JF="portAlignment",gne="nodeSize",wne="port",P2e="portLabels",o7="topdown",qWe="insideSelfLoops",$2e="INHERIT",s7="org.eclipse.elk.fixed",HF="org.eclipse.elk.random",GF={3:1,35:1,23:1,521:1,288:1},UWe="port must have a parent node to calculate the port side",XWe="The edge needs to have exactly one edge section. Found: ",$S="org.eclipse.elk.core.util.adapters",Ul="org.eclipse.emf.ecore",C3="org.eclipse.elk.graph",KWe="EMapPropertyHolder",VWe="ElkBendPoint",YWe="ElkGraphElement",QWe="ElkConnectableShape",R2e="ElkEdge",WWe="ElkEdgeSection",ZWe="EModelElement",eZe="ENamedElement",B2e="ElkLabel",z2e="ElkNode",F2e="ElkPort",nZe={94:1,93:1},x4="org.eclipse.emf.common.notify.impl",ib="The feature '",RS="' is not a valid changeable feature",tZe="Expecting null",pne="' is not a valid feature",iZe="The feature ID",rZe=" is not a valid feature ID",Ru=32768,cZe={109:1,94:1,93:1,57:1,52:1,100:1},Jn="org.eclipse.emf.ecore.impl",vg="org.eclipse.elk.graph.impl",BS="Recursive containment not allowed for ",l7="The datatype '",lp="' is not a valid classifier",mne="The value '",T3={195:1,3:1,4:1},vne="The class '",f7="http://www.eclipse.org/elk/ElkGraph",J2e="property",zS="value",yne="source",uZe="properties",oZe="identifier",kne="height",jne="width",Ene="parent",Sne="text",xne="children",sZe="hierarchical",H2e="sources",Ane="targets",Mne="sections",qF="bendPoints",G2e="outgoingShape",q2e="incomingShape",U2e="outgoingSections",X2e="incomingSections",yc="org.eclipse.emf.common.util",K2e="Severe implementation error in the Json to ElkGraph importer.",Oh="id",Wr="org.eclipse.elk.graph.json",a7="Unhandled parameter types: ",lZe="startPoint",fZe="An edge must have at least one source and one target (edge id: '",h7="').",aZe="Referenced edge section does not exist: ",hZe=" (edge id: '",V2e="target",dZe="sourcePoint",bZe="targetPoint",UF="group",ui="name",gZe="connectableShape cannot be null",wZe="edge cannot be null",pZe="Passed edge is not 'simple'.",XF="org.eclipse.elk.graph.util",JN="The 'no duplicates' constraint is violated",Cne="targetIndex=",yg=", size=",Tne="sourceIndex=",Nh={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},One={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,585:1},KF="logging",mZe="measureExecutionTime",vZe="parser.parse.1",yZe="parser.parse.2",VF="parser.next.1",Nne="parser.next.2",kZe="parser.next.3",jZe="parser.next.4",kg="parser.factor.1",Y2e="parser.factor.2",EZe="parser.factor.3",SZe="parser.factor.4",xZe="parser.factor.5",AZe="parser.factor.6",MZe="parser.atom.1",CZe="parser.atom.2",TZe="parser.atom.3",Q2e="parser.atom.4",Ine="parser.atom.5",W2e="parser.cc.1",YF="parser.cc.2",OZe="parser.cc.3",NZe="parser.cc.5",Z2e="parser.cc.6",eme="parser.cc.7",Dne="parser.cc.8",IZe="parser.ope.1",DZe="parser.ope.2",_Ze="parser.ope.3",qd="parser.descape.1",LZe="parser.descape.2",PZe="parser.descape.3",$Ze="parser.descape.4",RZe="parser.descape.5",Xl="parser.process.1",BZe="parser.quantifier.1",zZe="parser.quantifier.2",FZe="parser.quantifier.3",JZe="parser.quantifier.4",nme="parser.quantifier.5",HZe="org.eclipse.emf.common.notify",tme={415:1,676:1},GZe={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},HN={373:1,151:1},FS="index=",_ne={3:1,4:1,5:1,129:1},qZe={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},ime={3:1,6:1,4:1,5:1,198:1},UZe={3:1,4:1,5:1,175:1,374:1},qf=1024,XZe=";/?:@&=+$,",KZe="invalid authority: ",VZe="EAnnotation",YZe="ETypedElement",QZe="EStructuralFeature",WZe="EAttribute",ZZe="EClassifier",een="EEnumLiteral",nen="EGenericType",ten="EOperation",ien="EParameter",ren="EReference",cen="ETypeParameter",Ri="org.eclipse.emf.ecore.util",Lne={77:1},rme={3:1,20:1,18:1,16:1,61:1,586:1,77:1,72:1,98:1},uen="org.eclipse.emf.ecore.util.FeatureMap$Entry",as=8192,JS="byte",QF="char",HS="double",GS="float",qS="int",US="long",XS="short",oen="java.lang.Object",O3={3:1,4:1,5:1,255:1},cme={3:1,4:1,5:1,678:1},sen={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},au={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,72:1,98:1},GN="mixed",Ut="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",hf="kind",len={3:1,4:1,5:1,679:1},ume={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,77:1,72:1,98:1},WF={20:1,31:1,56:1,18:1,16:1,61:1,72:1},ZF={50:1,128:1,287:1},eJ={75:1,344:1},nJ="The value of type '",tJ="' must be of type '",N3=1306,df="http://www.eclipse.org/emf/2002/Ecore",iJ=-32768,fp="constraints",sc="baseType",fen="getEStructuralFeature",aen="getFeatureID",KS="feature",hen="getOperationID",ome="operation",den="defaultValue",ben="eTypeParameters",gen="isInstance",wen="getEEnumLiteral",pen="eContainingClass",ii={58:1},men={3:1,4:1,5:1,122:1},ven="org.eclipse.emf.ecore.resource",yen={94:1,93:1,588:1,1996:1},Pne="org.eclipse.emf.ecore.resource.impl",sme="unspecified",qN="simple",rJ="attribute",ken="attributeWildcard",cJ="element",$ne="elementWildcard",ja="collapse",Rne="itemType",uJ="namespace",UN="##targetNamespace",bf="whiteSpace",lme="wildcards",jg="http://www.eclipse.org/emf/2003/XMLType",Bne="##any",d7="uninitialized",XN="The multiplicity constraint is violated",oJ="org.eclipse.emf.ecore.xml.type",jen="ProcessingInstruction",Een="SimpleAnyType",Sen="XMLTypeDocumentRoot",kr="org.eclipse.emf.ecore.xml.type.impl",KN="INF",xen="processing",Aen="ENTITIES_._base",fme="minLength",ame="ENTITY",sJ="NCName",Men="IDREFS_._base",hme="integer",zne="token",Fne="pattern",Cen="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",dme="\\i\\c*",Ten="[\\i-[:]][\\c-[:]]*",Oen="nonPositiveInteger",VN="maxInclusive",bme="NMTOKEN",Nen="NMTOKENS_._base",gme="nonNegativeInteger",YN="minInclusive",Ien="normalizedString",Den="unsignedByte",_en="unsignedInt",Len="18446744073709551615",Pen="unsignedShort",$en="processingInstruction",Ud="org.eclipse.emf.ecore.xml.type.internal",b7=1114111,Ren="Internal Error: shorthands: \\u",VS="xml:isDigit",Jne="xml:isWord",Hne="xml:isSpace",Gne="xml:isNameChar",qne="xml:isInitialNameChar",Ben="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",zen="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",Fen="Private Use",Une="ASSIGNED",Xne="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",wme="UNASSIGNED",g7={3:1,121:1},Jen="org.eclipse.emf.ecore.xml.type.util",lJ={3:1,4:1,5:1,376:1},pme="org.eclipse.xtext.xbase.lib",Hen="Cannot add elements to a Range",Gen="Cannot set elements in a Range",qen="Cannot remove elements from a Range",Uen="user.agent",s,fJ,Kne;k.goog=k.goog||{},k.goog.global=k.goog.global||k,fJ={},m(1,null,{},q),s.Fb=function(n){return kTe(this,n)},s.Gb=function(){return this.Pm},s.Hb=function(){return xw(this)},s.Ib=function(){var n;return Bb(Us(this))+"@"+(n=Ni(this)>>>0,n.toString(16))},s.equals=function(e){return this.Fb(e)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()};var Xen,Ken,Ven;m(298,1,{298:1,2086:1},p1e),s.te=function(n){var t;return t=new p1e,t.i=4,n>1?t.c=Y_e(this,n-1):t.c=this,t},s.ue=function(){return T1(this),this.b},s.ve=function(){return Bb(this)},s.we=function(){return T1(this),this.k},s.xe=function(){return(this.i&4)!=0},s.ye=function(){return(this.i&1)!=0},s.Ib=function(){return Mhe(this)},s.i=0;var Mr=v(Cu,"Object",1),mme=v(Cu,"Class",298);m(2058,1,bN),v(gN,"Optional",2058),m(1160,2058,bN,G),s.Fb=function(n){return n===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(n){return Ot(n),jj(),Vne};var Vne;v(gN,"Absent",1160),m(627,1,{},IX),v(gN,"Joiner",627);var NBn=Gi(gN,"Predicate");m(577,1,{178:1,577:1,3:1,48:1},PC),s.Mb=function(n){return Vze(this,n)},s.Lb=function(n){return Vze(this,n)},s.Fb=function(n){var t;return X(n,577)?(t=u(n,577),dbe(this.a,t.a)):!1},s.Hb=function(){return j1e(this.a)+306654252},s.Ib=function(){return NCn(this.a)},v(gN,"Predicates/AndPredicate",577),m(411,2058,{411:1,3:1},i9),s.Fb=function(n){var t;return X(n,411)?(t=u(n,411),gi(this.a,t.a)):!1},s.Hb=function(){return 1502476572+Ni(this.a)},s.Ib=function(){return gYe+this.a+")"},s.Jb=function(n){return new i9(DR(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},v(gN,"Present",411),m(204,1,R8),s.Nb=function(n){Zr(this,n)},s.Qb=function(){aAe()},v(dn,"UnmodifiableIterator",204),m(2038,204,B8),s.Qb=function(){aAe()},s.Rb=function(n){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(dn,"UnmodifiableListIterator",2038),m(392,2038,B8),s.Ob=function(){return this.b0},s.Pb=function(){if(this.b>=this.c)throw R(new hu);return this.Xb(this.b++)},s.Tb=function(){return this.b},s.Ub=function(){if(this.b<=0)throw R(new hu);return this.Xb(--this.b)},s.Vb=function(){return this.b-1},s.b=0,s.c=0,v(dn,"AbstractIndexedListIterator",392),m(702,204,R8),s.Ob=function(){return PY(this)},s.Pb=function(){return khe(this)},s.e=1,v(dn,"AbstractIterator",702),m(2046,1,{229:1}),s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.Fb=function(n){return rQ(this,n)},s.Hb=function(){return Ni(this.Zb())},s.dc=function(){return this.gc()==0},s.ec=function(){return Dy(this)},s.Ib=function(){return fu(this.Zb())},v(dn,"AbstractMultimap",2046),m(730,2046,bg),s.$b=function(){jB(this)},s._b=function(n){return CAe(this,n)},s.ac=function(){return new y9(this,this.c)},s.ic=function(n){return this.hc()},s.bc=function(){return new Uv(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new Yxe(this)},s.lc=function(){return aW(this.c.vc().Lc(),new Z,64,this.d)},s.cc=function(n){return vi(this,n)},s.fc=function(n){return TO(this,n)},s.gc=function(){return this.d},s.mc=function(n){return En(),new Hr(n)},s.nc=function(){return new Vxe(this)},s.oc=function(){return aW(this.c.Bc().Lc(),new ie,64,this.d)},s.pc=function(n,t){return new iB(this,n,t,null)},s.d=0,v(dn,"AbstractMapBasedMultimap",730),m(1661,730,bg),s.hc=function(){return new xo(this.a)},s.jc=function(){return En(),En(),Sc},s.cc=function(n){return u(vi(this,n),16)},s.fc=function(n){return u(TO(this,n),16)},s.Zb=function(){return By(this)},s.Fb=function(n){return rQ(this,n)},s.qc=function(n){return u(vi(this,n),16)},s.rc=function(n){return u(TO(this,n),16)},s.mc=function(n){return _R(u(n,16))},s.pc=function(n,t){return cPe(this,n,u(t,16),null)},v(dn,"AbstractListMultimap",1661),m(736,1,Fr),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var n;return this.e.Ob()||(n=u(this.c.Pb(),45),this.b=n.jd(),this.a=u(n.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),u(of(this.a),18).dc()&&this.c.Qb(),--this.d.d},v(dn,"AbstractMapBasedMultimap/Itr",736),m(1098,736,Fr,Vxe),s.sc=function(n,t){return t},v(dn,"AbstractMapBasedMultimap/1",1098),m(1099,1,{},ie),s.Kb=function(n){return u(n,18).Lc()},v(dn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1099),m(1100,736,Fr,Yxe),s.sc=function(n,t){return new yw(n,t)},v(dn,"AbstractMapBasedMultimap/2",1100);var vme=Gi(pt,"Map");m(2027,1,np),s.wc=function(n){vO(this,n)},s.$b=function(){this.vc().$b()},s.tc=function(n){return XQ(this,n)},s._b=function(n){return!!a0e(this,n,!1)},s.uc=function(n){var t,i,r;for(i=this.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),r=t.kd(),ue(n)===ue(r)||n!=null&&gi(n,r))return!0;return!1},s.Fb=function(n){var t,i,r;if(n===this)return!0;if(!X(n,92)||(r=u(n,92),this.gc()!=r.gc()))return!1;for(i=r.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),!this.tc(t))return!1;return!0},s.xc=function(n){return bu(a0e(this,n,!1))},s.Hb=function(){return d1e(this.vc())},s.dc=function(){return this.gc()==0},s.ec=function(){return new it(this)},s.yc=function(n,t){throw R(new vd("Put not supported on this map"))},s.zc=function(n){TE(this,n)},s.Ac=function(n){return bu(a0e(this,n,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return bGe(this)},s.Bc=function(){return new ot(this)},v(pt,"AbstractMap",2027),m(2047,2027,np),s.bc=function(){return new ZP(this)},s.vc=function(){return XIe(this)},s.ec=function(){var n;return n=this.g,n||(this.g=this.bc())},s.Bc=function(){var n;return n=this.i,n||(this.i=new vMe(this))},v(dn,"Maps/ViewCachingAbstractMap",2047),m(395,2047,np,y9),s.xc=function(n){return M8n(this,n)},s.Ac=function(n){return Rkn(this,n)},s.$b=function(){this.d==this.e.c?this.e.$b():fR(new jfe(this))},s._b=function(n){return MFe(this.d,n)},s.Dc=function(){return new pP(this)},s.Cc=function(){return this.Dc()},s.Fb=function(n){return this===n||gi(this.d,n)},s.Hb=function(){return Ni(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return fu(this.d)},v(dn,"AbstractMapBasedMultimap/AsMap",395);var Kl=Gi(Cu,"Iterable");m(31,1,um),s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new pn(null,this.Lc())},s.Ec=function(n){throw R(new vd("Add not supported on this collection"))},s.Fc=function(n){return ac(this,n)},s.$b=function(){uae(this)},s.Gc=function(n){return U2(this,n,!1)},s.Hc=function(n){return xO(this,n)},s.dc=function(){return this.gc()==0},s.Kc=function(n){return U2(this,n,!0)},s.Nc=function(){return Ife(this)},s.Oc=function(n){return KE(this,n)},s.Ib=function(){return Ga(this)},v(pt,"AbstractCollection",31);var gf=Gi(pt,"Set");m(Ua,31,fs),s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return TJe(this,n)},s.Hb=function(){return d1e(this)},v(pt,"AbstractSet",Ua),m(2030,Ua,fs),v(dn,"Sets/ImprovedAbstractSet",2030),m(2031,2030,fs),s.$b=function(){this.Pc().$b()},s.Gc=function(n){return fJe(this,n)},s.dc=function(){return this.Pc().dc()},s.Kc=function(n){var t;return this.Gc(n)&&X(n,45)?(t=u(n,45),this.Pc().ec().Kc(t.jd())):!1},s.gc=function(){return this.Pc().gc()},v(dn,"Maps/EntrySet",2031),m(1096,2031,fs,pP),s.Gc=function(n){return B1e(this.a.d.vc(),n)},s.Jc=function(){return new jfe(this.a)},s.Pc=function(){return this.a},s.Kc=function(n){var t;return B1e(this.a.d.vc(),n)?(t=u(of(u(n,45)),45),a9n(this.a.e,t.jd()),!0):!1},s.Lc=function(){return PT(this.a.d.vc().Lc(),new mP(this.a))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1096),m(1097,1,{},mP),s.Kb=function(n){return JPe(this.a,u(n,45))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1097),m(734,1,Fr,jfe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){var n;return n=u(this.b.Pb(),45),this.a=u(n.kd(),18),JPe(this.c,n)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){O9(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",734),m(530,2030,fs,ZP),s.$b=function(){this.b.$b()},s.Gc=function(n){return this.b._b(n)},s.Ic=function(n){Ot(n),this.b.wc(new lj(n))},s.dc=function(){return this.b.dc()},s.Jc=function(){return new Ej(this.b.vc().Jc())},s.Kc=function(n){return this.b._b(n)?(this.b.Ac(n),!0):!1},s.gc=function(){return this.b.gc()},v(dn,"Maps/KeySet",530),m(332,530,fs,Uv),s.$b=function(){var n;fR((n=this.b.vc().Jc(),new Koe(this,n)))},s.Hc=function(n){return this.b.ec().Hc(n)},s.Fb=function(n){return this===n||gi(this.b.ec(),n)},s.Hb=function(){return Ni(this.b.ec())},s.Jc=function(){var n;return n=this.b.vc().Jc(),new Koe(this,n)},s.Kc=function(n){var t,i;return i=0,t=u(this.b.Ac(n),18),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/KeySet",332),m(735,1,Fr,Koe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),45),this.a.jd()},s.Qb=function(){var n;O9(!!this.a),n=u(this.a.kd(),18),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/KeySet/1",735),m(489,395,{92:1,134:1},TT),s.bc=function(){return this.Qc()},s.ec=function(){return this.Sc()},s.Qc=function(){return new iT(this.c,this.Uc())},s.Rc=function(){return this.Uc().Rc()},s.Sc=function(){var n;return n=this.b,n||(this.b=this.Qc())},s.Tc=function(){return this.Uc().Tc()},s.Uc=function(){return u(this.d,134)},v(dn,"AbstractMapBasedMultimap/SortedAsMap",489),m(437,489,Bge,iE),s.bc=function(){return new k9(this.a,u(u(this.d,134),138))},s.Qc=function(){return new k9(this.a,u(u(this.d,134),138))},s.ec=function(){var n;return n=this.b,u(n||(this.b=new k9(this.a,u(u(this.d,134),138))),277)},s.Sc=function(){var n;return n=this.b,u(n||(this.b=new k9(this.a,u(u(this.d,134),138))),277)},s.Uc=function(){return u(u(this.d,134),138)},s.Vc=function(n){return u(u(this.d,134),138).Vc(n)},s.Wc=function(n){return u(u(this.d,134),138).Wc(n)},s.Xc=function(n,t){return new iE(this.a,u(u(this.d,134),138).Xc(n,t))},s.Yc=function(n){return u(u(this.d,134),138).Yc(n)},s.Zc=function(n){return u(u(this.d,134),138).Zc(n)},s.$c=function(n,t){return new iE(this.a,u(u(this.d,134),138).$c(n,t))},v(dn,"AbstractMapBasedMultimap/NavigableAsMap",437),m(488,332,wYe,iT),s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/SortedKeySet",488),m(394,488,zge,k9),v(dn,"AbstractMapBasedMultimap/NavigableKeySet",394),m(539,31,um,iB),s.Ec=function(n){var t,i;return Is(this),i=this.d.dc(),t=this.d.Ec(n),t&&(++this.f.d,i&&DT(this)),t},s.Fc=function(n){var t,i,r;return n.dc()?!1:(r=(Is(this),this.d.gc()),t=this.d.Fc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&DT(this)),t)},s.$b=function(){var n;n=(Is(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,wR(this))},s.Gc=function(n){return Is(this),this.d.Gc(n)},s.Hc=function(n){return Is(this),this.d.Hc(n)},s.Fb=function(n){return n===this?!0:(Is(this),gi(this.d,n))},s.Hb=function(){return Is(this),Ni(this.d)},s.Jc=function(){return Is(this),new ufe(this)},s.Kc=function(n){var t;return Is(this),t=this.d.Kc(n),t&&(--this.f.d,wR(this)),t},s.gc=function(){return lTe(this)},s.Lc=function(){return Is(this),this.d.Lc()},s.Ib=function(){return Is(this),fu(this.d)},v(dn,"AbstractMapBasedMultimap/WrappedCollection",539);var wl=Gi(pt,"List");m(732,539,{20:1,31:1,18:1,16:1},Dfe),s.gd=function(n){tg(this,n)},s.Lc=function(){return Is(this),this.d.Lc()},s._c=function(n,t){var i;Is(this),i=this.d.dc(),u(this.d,16)._c(n,t),++this.a.d,i&&DT(this)},s.ad=function(n,t){var i,r,c;return t.dc()?!1:(c=(Is(this),this.d.gc()),i=u(this.d,16).ad(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&DT(this)),i)},s.Xb=function(n){return Is(this),u(this.d,16).Xb(n)},s.bd=function(n){return Is(this),u(this.d,16).bd(n)},s.cd=function(){return Is(this),new zTe(this)},s.dd=function(n){return Is(this),new u_e(this,n)},s.ed=function(n){var t;return Is(this),t=u(this.d,16).ed(n),--this.a.d,wR(this),t},s.fd=function(n,t){return Is(this),u(this.d,16).fd(n,t)},s.hd=function(n,t){return Is(this),cPe(this.a,this.e,u(this.d,16).hd(n,t),this.b?this.b:this)},v(dn,"AbstractMapBasedMultimap/WrappedList",732),m(1095,732,{20:1,31:1,18:1,16:1,59:1},COe),v(dn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1095),m(619,1,Fr,ufe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return F9(this),this.b.Ob()},s.Pb=function(){return F9(this),this.b.Pb()},s.Qb=function(){aOe(this)},v(dn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",619),m(733,619,e1,zTe,u_e),s.Qb=function(){aOe(this)},s.Rb=function(n){var t;t=lTe(this.a)==0,(F9(this),u(this.b,128)).Rb(n),++this.a.a.d,t&&DT(this.a)},s.Sb=function(){return(F9(this),u(this.b,128)).Sb()},s.Tb=function(){return(F9(this),u(this.b,128)).Tb()},s.Ub=function(){return(F9(this),u(this.b,128)).Ub()},s.Vb=function(){return(F9(this),u(this.b,128)).Vb()},s.Wb=function(n){(F9(this),u(this.b,128)).Wb(n)},v(dn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",733),m(731,539,wYe,Ale),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSortedSet",731),m(1094,731,zge,LTe),v(dn,"AbstractMapBasedMultimap/WrappedNavigableSet",1094),m(1093,539,fs,eNe),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSet",1093),m(1102,1,{},Z),s.Kb=function(n){return k9n(u(n,45))},v(dn,"AbstractMapBasedMultimap/lambda$1$Type",1102),m(1101,1,{},r9),s.Kb=function(n){return new yw(this.a,n)},v(dn,"AbstractMapBasedMultimap/lambda$2$Type",1101);var Eg=Gi(pt,"Map/Entry");m(358,1,dZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),O1(this.jd(),t.jd())&&O1(this.kd(),t.kd())):!1},s.Hb=function(){var n,t;return n=this.jd(),t=this.kd(),(n==null?0:Ni(n))^(t==null?0:Ni(t))},s.ld=function(n){throw R(new _t)},s.Ib=function(){return this.jd()+"="+this.kd()},v(dn,pYe,358),m(Q0,31,um),s.$b=function(){this.md().$b()},s.Gc=function(n){var t;return X(n,45)?(t=u(n,45),H4n(this.md(),t.jd(),t.kd())):!1},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),GLe(this.md(),t.jd(),t.kd())):!1},s.gc=function(){return this.md().d},v(dn,"Multimaps/Entries",Q0),m(737,Q0,um,x1),s.Jc=function(){return this.a.kc()},s.md=function(){return this.a},s.Lc=function(){return this.a.lc()},v(dn,"AbstractMultimap/Entries",737),m(738,737,fs,Moe),s.Lc=function(){return this.a.lc()},s.Fb=function(n){return N0e(this,n)},s.Hb=function(){return KBe(this)},v(dn,"AbstractMultimap/EntrySet",738),m(739,31,um,$C),s.$b=function(){this.a.$b()},s.Gc=function(n){return _kn(this.a,n)},s.Jc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Lc=function(){return this.a.oc()},v(dn,"AbstractMultimap/Values",739),m(2049,31,{833:1,20:1,31:1,18:1}),s.Ic=function(n){Ot(n),Kv(this).Ic(new YU(n))},s.Lc=function(){var n;return n=Kv(this).Lc(),aW(n,new Ne,64|n.wd()&1296,this.a.d)},s.Ec=function(n){return Doe(),!0},s.Fc=function(n){return Ot(this),Ot(n),X(n,540)?Q4n(u(n,833)):!n.dc()&&MY(this,n.Jc())},s.Gc=function(n){var t;return t=u(q2(By(this.a),n),18),(t?t.gc():0)>0},s.Fb=function(n){return COn(this,n)},s.Hb=function(){return Ni(Kv(this))},s.dc=function(){return Kv(this).dc()},s.Kc=function(n){return Oqe(this,n,1)>0},s.Ib=function(){return fu(Kv(this))},v(dn,"AbstractMultiset",2049),m(2051,2030,fs),s.$b=function(){jB(this.a.a)},s.Gc=function(n){var t,i;return X(n,490)?(i=u(n,416),u(i.a.kd(),18).gc()<=0?!1:(t=hLe(this.a,i.a.jd()),t==u(i.a.kd(),18).gc())):!1},s.Kc=function(n){var t,i,r,c;return X(n,490)&&(i=u(n,416),t=i.a.jd(),r=u(i.a.kd(),18).gc(),r!=0)?(c=this.a,ATn(c,t,r)):!1},v(dn,"Multisets/EntrySet",2051),m(1108,2051,fs,sj),s.Jc=function(){return new nAe(XIe(By(this.a.a)).Jc())},s.gc=function(){return By(this.a.a).gc()},v(dn,"AbstractMultiset/EntrySet",1108),m(618,730,bg),s.hc=function(){return this.nd()},s.jc=function(){return this.od()},s.cc=function(n){return this.pd(n)},s.fc=function(n){return this.qd(n)},s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.od=function(){return En(),En(),wJ},s.Fb=function(n){return rQ(this,n)},s.pd=function(n){return u(vi(this,n),22)},s.qd=function(n){return u(TO(this,n),22)},s.mc=function(n){return En(),new g9(u(n,22))},s.pc=function(n,t){return new eNe(this,n,u(t,22))},v(dn,"AbstractSetMultimap",618),m(1689,618,bg),s.hc=function(){return new Ed(this.b)},s.nd=function(){return new Ed(this.b)},s.jc=function(){return Kfe(new Ed(this.b))},s.od=function(){return Kfe(new Ed(this.b))},s.cc=function(n){return u(u(vi(this,n),22),83)},s.pd=function(n){return u(u(vi(this,n),22),83)},s.fc=function(n){return u(u(TO(this,n),22),83)},s.qd=function(n){return u(u(TO(this,n),22),83)},s.mc=function(n){return X(n,277)?Kfe(u(n,277)):(En(),new lle(u(n,83)))},s.Zb=function(){var n;return n=this.f,n||(this.f=X(this.c,138)?new iE(this,u(this.c,138)):X(this.c,134)?new TT(this,u(this.c,134)):new y9(this,this.c))},s.pc=function(n,t){return X(t,277)?new LTe(this,n,u(t,277)):new Ale(this,n,u(t,83))},v(dn,"AbstractSortedSetMultimap",1689),m(1690,1689,bg),s.Zb=function(){var n;return n=this.f,u(u(n||(this.f=X(this.c,138)?new iE(this,u(this.c,138)):X(this.c,134)?new TT(this,u(this.c,134)):new y9(this,this.c)),134),138)},s.ec=function(){var n;return n=this.i,u(u(n||(this.i=X(this.c,138)?new k9(this,u(this.c,138)):X(this.c,134)?new iT(this,u(this.c,134)):new Uv(this,this.c)),83),277)},s.bc=function(){return X(this.c,138)?new k9(this,u(this.c,138)):X(this.c,134)?new iT(this,u(this.c,134)):new Uv(this,this.c)},v(dn,"AbstractSortedKeySortedSetMultimap",1690),m(2071,1,{2008:1}),s.Fb=function(n){return pAn(this,n)},s.Hb=function(){var n;return d1e((n=this.g,n||(this.g=new v0(this))))},s.Ib=function(){var n;return bGe((n=this.f,n||(this.f=new tle(this))))},v(dn,"AbstractTable",2071),m(669,Ua,fs,v0),s.$b=function(){hAe()},s.Gc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(q2(pDe(this.a),M0(t.c.e,t.b)),92),!!i&&B1e(i.vc(),new yw(M0(t.c.c,t.a),qy(t.c,t.b,t.a)))):!1},s.Jc=function(){return Y5n(this.a)},s.Kc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(q2(pDe(this.a),M0(t.c.e,t.b)),92),!!i&&rjn(i.vc(),new yw(M0(t.c.c,t.a),qy(t.c,t.b,t.a)))):!1},s.gc=function(){return EIe(this.a)},s.Lc=function(){return Z4n(this.a)},v(dn,"AbstractTable/CellSet",669),m(1987,31,um,JU),s.$b=function(){hAe()},s.Gc=function(n){return oMn(this.a,n)},s.Jc=function(){return Q5n(this.a)},s.gc=function(){return EIe(this.a)},s.Lc=function(){return $Le(this.a)},v(dn,"AbstractTable/Values",1987),m(1662,1661,bg),v(dn,"ArrayListMultimapGwtSerializationDependencies",1662),m(506,1662,bg,NX,Aae),s.hc=function(){return new xo(this.a)},s.a=0,v(dn,"ArrayListMultimap",506),m(668,2071,{668:1,2008:1,3:1},Tqe),v(dn,"ArrayTable",668),m(1983,392,B8,sOe),s.Xb=function(n){return new m1e(this.a,n)},v(dn,"ArrayTable/1",1983),m(1984,1,{},HU),s.rd=function(n){return new m1e(this.a,n)},v(dn,"ArrayTable/1methodref$getCell$Type",1984),m(2072,1,{687:1}),s.Fb=function(n){var t;return n===this?!0:X(n,468)?(t=u(n,687),O1(M0(this.c.e,this.b),M0(t.c.e,t.b))&&O1(M0(this.c.c,this.a),M0(t.c.c,t.a))&&O1(qy(this.c,this.b,this.a),qy(t.c,t.b,t.a))):!1},s.Hb=function(){return JB(F(z(Mr,1),Nn,1,5,[M0(this.c.e,this.b),M0(this.c.c,this.a),qy(this.c,this.b,this.a)]))},s.Ib=function(){return"("+M0(this.c.e,this.b)+","+M0(this.c.c,this.a)+")="+qy(this.c,this.b,this.a)},v(dn,"Tables/AbstractCell",2072),m(468,2072,{468:1,687:1},m1e),s.a=0,s.b=0,s.d=0,v(dn,"ArrayTable/2",468),m(1986,1,{},ty),s.rd=function(n){return X$e(this.a,n)},v(dn,"ArrayTable/2methodref$getValue$Type",1986),m(1985,392,B8,lOe),s.Xb=function(n){return X$e(this.a,n)},v(dn,"ArrayTable/3",1985),m(2039,2027,np),s.$b=function(){fR(this.kc())},s.vc=function(){return new fj(this)},s.lc=function(){return new YDe(this.kc(),this.gc())},v(dn,"Maps/IteratorBasedAbstractMap",2039),m(826,2039,np),s.$b=function(){throw R(new _t)},s._b=function(n){return TAe(this.c,n)},s.kc=function(){return new fOe(this,this.c.b.c.gc())},s.lc=function(){return rV(this.c.b.c.gc(),16,new vP(this))},s.xc=function(n){var t;return t=u(rE(this.c,n),15),t?this.td(t.a):null},s.dc=function(){return this.c.b.c.dc()},s.ec=function(){return dV(this.c)},s.yc=function(n,t){var i;if(i=u(rE(this.c,n),15),!i)throw R(new Un(this.sd()+" "+n+" not in "+dV(this.c)));return this.ud(i.a,t)},s.Ac=function(n){throw R(new _t)},s.gc=function(){return this.c.b.c.gc()},v(dn,"ArrayTable/ArrayMap",826),m(1982,1,{},vP),s.rd=function(n){return yDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1982),m(1980,358,dZ,iMe),s.jd=function(){return ypn(this.a,this.b)},s.kd=function(){return this.a.td(this.b)},s.ld=function(n){return this.a.ud(this.b,n)},s.b=0,v(dn,"ArrayTable/ArrayMap/1",1980),m(1981,392,B8,fOe),s.Xb=function(n){return yDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/2",1981),m(1979,826,np,sDe),s.sd=function(){return"Column"},s.td=function(n){return qy(this.b,this.a,n)},s.ud=function(n,t){return Tze(this.b,this.a,n,t)},s.a=0,v(dn,"ArrayTable/Row",1979),m(827,826,np,tle),s.td=function(n){return new sDe(this.a,n)},s.yc=function(n,t){return u(t,92),Hbn()},s.ud=function(n,t){return u(t,92),Gbn()},s.sd=function(){return"Row"},v(dn,"ArrayTable/RowMap",827),m(1126,1,bl,rMe),s.yd=function(n){return(this.a.wd()&-262&n)!=0},s.wd=function(){return this.a.wd()&-262},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Nb(new uMe(n,this.b))},s.zd=function(n){return this.a.zd(new cMe(n,this.b))},v(dn,"CollectSpliterators/1",1126),m(1127,1,ct,cMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$0$Type",1127),m(1128,1,ct,uMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$1$Type",1128),m(1123,1,bl,TNe),s.yd=function(n){return((16464|this.b)&n)!=0},s.wd=function(){return 16464|this.b},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Oe(new sMe(n,this.c))},s.zd=function(n){return this.a.Pe(new oMe(n,this.c))},s.b=0,v(dn,"CollectSpliterators/1WithCharacteristics",1123),m(1124,1,wN,oMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1124),m(1125,1,wN,sMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1125),m(1119,1,bl),s.yd=function(n){return(this.a&n)!=0},s.wd=function(){return this.a},s.xd=function(){return this.e&&(this.b=Use(this.b,this.e.xd())),Use(this.b,0)},s.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new lMe(this,n)),this.b=0},s.zd=function(n){for(;;){if(this.e&&this.e.zd(n))return Kj(this.b,pN)&&(this.b=ff(this.b,1)),!0;if(this.e=null,!this.c.zd(new iy(this)))return!1}},s.a=0,s.b=0,v(dn,"CollectSpliterators/FlatMapSpliterator",1119),m(1121,1,ct,iy),s.Ad=function(n){b2n(this.a,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1121),m(1122,1,ct,lMe),s.Ad=function(n){A5n(this.a,this.b,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1122),m(1120,1119,bl,gPe),v(dn,"CollectSpliterators/FlatMapSpliteratorOfObject",1120),m(254,1,bZ),s.Dd=function(n){return this.Cd(u(n,254))},s.Cd=function(n){var t;return n==(SX(),Qne)?1:n==(EX(),Yne)?-1:(t=(rR(),mO(this.a,n.a)),t!=0?t:($n(),X(this,513)==X(n,513)?0:X(this,513)?1:-1))},s.Gd=function(){return this.a},s.Fb=function(n){return $de(this,n)},v(dn,"Cut",254),m(1793,254,bZ,Kxe),s.Cd=function(n){return n==this?0:1},s.Ed=function(n){throw R(new aoe)},s.Fd=function(n){n.a+="+∞)"},s.Gd=function(){throw R(new Uc(vYe))},s.Hb=function(){return Sd(),Sde(this)},s.Hd=function(n){return!1},s.Ib=function(){return"+∞"};var Yne;v(dn,"Cut/AboveAll",1793),m(513,254,{254:1,513:1,3:1,35:1},bOe),s.Ed=function(n){uo((n.a+="(",n),this.a)},s.Fd=function(n){Kb(uo(n,this.a),93)},s.Hb=function(){return~Ni(this.a)},s.Hd=function(n){return rR(),mO(this.a,n)<0},s.Ib=function(){return"/"+this.a+"\\"},v(dn,"Cut/AboveValue",513),m(1792,254,bZ,Xxe),s.Cd=function(n){return n==this?0:-1},s.Ed=function(n){n.a+="(-∞"},s.Fd=function(n){throw R(new aoe)},s.Gd=function(){throw R(new Uc(vYe))},s.Hb=function(){return Sd(),Sde(this)},s.Hd=function(n){return!0},s.Ib=function(){return"-∞"};var Qne;v(dn,"Cut/BelowAll",1792),m(1794,254,bZ,gOe),s.Ed=function(n){uo((n.a+="[",n),this.a)},s.Fd=function(n){Kb(uo(n,this.a),41)},s.Hb=function(){return Ni(this.a)},s.Hd=function(n){return rR(),mO(this.a,n)<=0},s.Ib=function(){return"\\"+this.a+"/"},v(dn,"Cut/BelowValue",1794),m(535,1,n1),s.Ic=function(n){cc(this,n)},s.Ib=function(){return _jn(u(DR(this,"use Optional.orNull() instead of Optional.or(null)"),20).Jc())},v(dn,"FluentIterable",535),m(433,535,n1,Qj),s.Jc=function(){return new Xn(Qn(this.a.Jc(),new ee))},v(dn,"FluentIterable/2",433),m(36,1,{},ee),s.Kb=function(n){return u(n,20).Jc()},s.Fb=function(n){return this===n},v(dn,"FluentIterable/2/0methodref$iterator$Type",36),m(1040,535,n1,TTe),s.Jc=function(){return Kh(this)},v(dn,"FluentIterable/3",1040),m(714,392,B8,fle),s.Xb=function(n){return this.a[n].Jc()},v(dn,"FluentIterable/3/1",714),m(2032,1,{}),s.Ib=function(){return fu(this.Id().b)},v(dn,"ForwardingObject",2032),m(2033,2032,yYe),s.Id=function(){return this.Jd()},s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new pn(null,this.Lc())},s.Ec=function(n){return this.Jd(),DAe()},s.Fc=function(n){return this.Jd(),_Ae()},s.$b=function(){this.Jd(),LAe()},s.Gc=function(n){return this.Jd().Gc(n)},s.Hc=function(n){return this.Jd().Hc(n)},s.dc=function(){return this.Jd().b.dc()},s.Jc=function(){return this.Jd().Jc()},s.Kc=function(n){return this.Jd(),PAe()},s.gc=function(){return this.Jd().b.gc()},s.Nc=function(){return this.Jd().Nc()},s.Oc=function(n){return this.Jd().Oc(n)},v(dn,"ForwardingCollection",2033),m(2040,31,Fge),s.Jc=function(){return this.Md()},s.Ec=function(n){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.Kd=function(){var n;return n=this.c,n||(this.c=this.Ld())},s.$b=function(){throw R(new _t)},s.Gc=function(n){return n!=null&&U2(this,n,!1)},s.Ld=function(){switch(this.gc()){case 0:return lR(),ete;case 1:return new GK(Ot(this.Md().Pb()));default:return new ofe(this,this.Nc())}},s.Kc=function(n){throw R(new _t)},v(dn,"ImmutableCollection",2040),m(1259,2040,Fge,kP),s.Jc=function(){return Uy(new ic(this.a.b.Jc()))},s.Gc=function(n){return n!=null&&Cj(this.a,n)},s.Hc=function(n){return Yoe(this.a,n)},s.dc=function(){return this.a.b.dc()},s.Md=function(){return Uy(new ic(this.a.b.Jc()))},s.gc=function(){return this.a.b.gc()},s.Nc=function(){return this.a.b.Nc()},s.Oc=function(n){return Qoe(this.a,n)},s.Ib=function(){return fu(this.a.b)},v(dn,"ForwardingImmutableCollection",1259),m(311,2040,z8),s.Jc=function(){return this.Md()},s.cd=function(){return this.Nd(0)},s.dd=function(n){return this.Nd(n)},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.hd=function(n,t){return this.Od(n,t)},s._c=function(n,t){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Kd=function(){return this},s.Fb=function(n){return mOn(this,n)},s.Hb=function(){return q7n(this)},s.bd=function(n){return n==null?-1:WSn(this,n)},s.Md=function(){return this.Nd(0)},s.Nd=function(n){return PK(this,n)},s.ed=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},s.Od=function(n,t){var i;return VB((i=new pMe(this),new D0(i,n,t)))},v(dn,"ImmutableList",311),m(2067,311,z8),s.Jc=function(){return Uy(this.Pd().Jc())},s.hd=function(n,t){return VB(this.Pd().hd(n,t))},s.Gc=function(n){return n!=null&&this.Pd().Gc(n)},s.Hc=function(n){return this.Pd().Hc(n)},s.Fb=function(n){return gi(this.Pd(),n)},s.Xb=function(n){return M0(this,n)},s.Hb=function(){return Ni(this.Pd())},s.bd=function(n){return this.Pd().bd(n)},s.dc=function(){return this.Pd().dc()},s.Md=function(){return Uy(this.Pd().Jc())},s.gc=function(){return this.Pd().gc()},s.Od=function(n,t){return VB(this.Pd().hd(n,t))},s.Nc=function(){return this.Pd().Oc(le(Mr,Nn,1,this.Pd().gc(),5,1))},s.Oc=function(n){return this.Pd().Oc(n)},s.Ib=function(){return fu(this.Pd())},v(dn,"ForwardingImmutableList",2067),m(717,1,F8),s.vc=function(){return Gb(this)},s.wc=function(n){vO(this,n)},s.ec=function(){return dV(this)},s.Bc=function(){return this.Td()},s.$b=function(){throw R(new _t)},s._b=function(n){return this.xc(n)!=null},s.uc=function(n){return this.Td().Gc(n)},s.Rd=function(){return new UU(this)},s.Sd=function(){return new XU(this)},s.Fb=function(n){return Lkn(this,n)},s.Hb=function(){return Gb(this).Hb()},s.dc=function(){return this.gc()==0},s.yc=function(n,t){return qbn()},s.Ac=function(n){throw R(new _t)},s.Ib=function(){return nCn(this)},s.Td=function(){return this.e?this.e:this.e=this.Sd()},s.c=null,s.d=null,s.e=null,v(dn,"ImmutableMap",717),m(718,717,F8),s._b=function(n){return TAe(this,n)},s.uc=function(n){return SMe(this.b,n)},s.Qd=function(){return hFe(new yP(this))},s.Rd=function(){return hFe(JDe(this.b))},s.Sd=function(){return new kP(HDe(this.b))},s.Fb=function(n){return AMe(this.b,n)},s.xc=function(n){return rE(this,n)},s.Hb=function(){return Ni(this.b.c)},s.dc=function(){return this.b.c.dc()},s.gc=function(){return this.b.c.gc()},s.Ib=function(){return fu(this.b.c)},v(dn,"ForwardingImmutableMap",718),m(2034,2033,gZ),s.Id=function(){return this.Ud()},s.Jd=function(){return this.Ud()},s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return n===this||this.Ud().Fb(n)},s.Hb=function(){return this.Ud().Hb()},v(dn,"ForwardingSet",2034),m(1055,2034,gZ,yP),s.Id=function(){return B9(this.a.b)},s.Jd=function(){return B9(this.a.b)},s.Gc=function(n){if(X(n,45)&&u(n,45).jd()==null)return!1;try{return xMe(B9(this.a.b),n)}catch(t){if(t=sr(t),X(t,211))return!1;throw R(t)}},s.Ud=function(){return B9(this.a.b)},s.Oc=function(n){var t,i;return t=C_e(B9(this.a.b),n),B9(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=P$(k.Math.abs(i)%60),(AGe(),gnn)[this.q.getDay()]+" "+wnn[this.q.getMonth()]+" "+P$(this.q.getDate())+" "+P$(this.q.getHours())+":"+P$(this.q.getMinutes())+":"+P$(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var dJ=v(pt,"Date",205);m(1977,205,TYe,XHe),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,v("com.google.gwt.i18n.shared.impl","DateRecord",1977),m(2026,1,{}),s.ne=function(){return null},s.oe=function(){return null},s.pe=function(){return null},s.qe=function(){return null},s.re=function(){return null},v(w4,"JSONValue",2026),m(139,2026,{139:1},md,u9),s.Fb=function(n){return X(n,139)?Tae(this.a,u(n,139).a):!1},s.me=function(){return abn},s.Hb=function(){return dae(this.a)},s.ne=function(){return this},s.Ib=function(){var n,t,i;for(i=new il("["),t=0,n=this.a.length;t0&&(i.a+=","),uo(i,R2(this,t));return i.a+="]",i.a},v(w4,"JSONArray",139),m(479,2026,{479:1},o9),s.me=function(){return hbn},s.oe=function(){return this},s.Ib=function(){return $n(),""+this.a},s.a=!1;var inn,rnn;v(w4,"JSONBoolean",479),m(981,63,q1,tAe),v(w4,"JSONException",981),m(1017,2026,{},tt),s.me=function(){return wbn},s.Ib=function(){return Vo};var cnn;v(w4,"JSONNull",1017),m(265,2026,{265:1},Tv),s.Fb=function(n){return X(n,265)?this.a==u(n,265).a:!1},s.me=function(){return dbn},s.Hb=function(){return Ey(this.a)},s.pe=function(){return this},s.Ib=function(){return this.a+""},s.a=0,v(w4,"JSONNumber",265),m(149,2026,{149:1},dy,s9),s.Fb=function(n){return X(n,149)?Tae(this.a,u(n,149).a):!1},s.me=function(){return bbn},s.Hb=function(){return dae(this.a)},s.qe=function(){return this},s.Ib=function(){var n,t,i,r,c,o,l;for(l=new il("{"),n=!0,o=zY(this,le(Je,Ae,2,0,6,1)),i=o,r=0,c=i.length;r=0?":"+this.c:"")+")"},s.c=0;var Pme=v(Cu,"StackTraceElement",324);Ven={3:1,472:1,35:1,2:1};var Je=v(Cu,Jge,2);m(111,418,{472:1},kd,Aj,uf),v(Cu,"StringBuffer",111),m(106,418,{472:1},j0,wy,il),v(Cu,"StringBuilder",106),m(691,99,oF,_oe),v(Cu,"StringIndexOutOfBoundsException",691),m(2107,1,{});var lnn;m(46,63,{3:1,101:1,63:1,80:1,46:1},_t,vd),v(Cu,"UnsupportedOperationException",46),m(247,242,{3:1,35:1,242:1,247:1},IO,Goe),s.Dd=function(n){return AKe(this,u(n,247))},s.se=function(){return Q2(ZKe(this))},s.Fb=function(n){var t;return this===n?!0:X(n,247)?(t=u(n,247),this.e==t.e&&AKe(this,t)==0):!1},s.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=Lu(this.f),this.b=Rt(Rr(n,-1)),this.b=33*this.b+Rt(Rr(Mw(n,32),-1)),this.b=17*this.b+lc(this.e),this.b):(this.b=17*EFe(this.c)+lc(this.e),this.b)},s.Ib=function(){return ZKe(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var fnn,Sg,$me,Rme,Bme,zme,Fme,Jme,ute=v("java.math","BigDecimal",247);m(91,242,{3:1,35:1,242:1,91:1},_1,vLe,Xb,IJe,C0),s.Dd=function(n){return MJe(this,u(n,91))},s.se=function(){return Q2(fZ(this,0))},s.Fb=function(n){return sde(this,n)},s.Hb=function(){return EFe(this)},s.Ib=function(){return fZ(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var ann,bJ,hnn,ote,gJ,WS,I3=v("java.math","BigInteger",91),dnn,bnn,M4,ZS;m(484,2027,np),s.$b=function(){Hu(this)},s._b=function(n){return so(this,n)},s.uc=function(n){return oFe(this,n,this.i)||oFe(this,n,this.f)},s.vc=function(){return new sn(this)},s.xc=function(n){return zn(this,n)},s.yc=function(n,t){return ei(this,n,t)},s.Ac=function(n){return Gy(this,n)},s.gc=function(){return Tj(this)},s.g=0,v(pt,"AbstractHashMap",484),m(306,Ua,fs,sn),s.$b=function(){this.a.$b()},s.Gc=function(n){return VLe(this,n)},s.Jc=function(){return new J2(this.a)},s.Kc=function(n){var t;return VLe(this,n)?(t=u(n,45).jd(),this.a.Ac(t),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractHashMap/EntrySet",306),m(307,1,Fr,J2),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return c3(this)},s.Ob=function(){return this.b},s.Qb=function(){jRe(this)},s.b=!1,s.d=0,v(pt,"AbstractHashMap/EntrySetIterator",307),m(417,1,Fr,qc),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this)},s.Pb=function(){return lae(this)},s.Qb=function(){As(this)},s.b=0,s.c=-1,v(pt,"AbstractList/IteratorImpl",417),m(97,417,e1,qr),s.Qb=function(){As(this)},s.Rb=function(n){E2(this,n)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return at(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(n){v2(this.c!=-1),this.a.fd(this.c,n)},v(pt,"AbstractList/ListIteratorImpl",97),m(258,56,J8,D0),s._c=function(n,t){_2(n,this.b),this.c._c(this.a+n,t),++this.b},s.Xb=function(n){return kn(n,this.b),this.c.Xb(this.a+n)},s.ed=function(n){var t;return kn(n,this.b),t=this.c.ed(this.a+n),--this.b,t},s.fd=function(n,t){return kn(n,this.b),this.c.fd(this.a+n,t)},s.gc=function(){return this.b},s.a=0,s.b=0,v(pt,"AbstractList/SubList",258),m(232,Ua,fs,it),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new gt(n)},s.Kc=function(n){return this.a._b(n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/1",232),m(529,1,Fr,gt),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.jd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/1/1",529),m(230,31,um,ot),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a.uc(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new Hi(n)},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/2",230),m(304,1,Fr,Hi),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.kd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/2/1",304),m(480,1,{480:1,45:1}),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.d,t.jd())&&Ku(this.e,t.kd())):!1},s.jd=function(){return this.d},s.kd=function(){return this.e},s.Hb=function(){return Jv(this.d)^Jv(this.e)},s.ld=function(n){return _le(this,n)},s.Ib=function(){return this.d+"="+this.e},v(pt,"AbstractMap/AbstractEntry",480),m(390,480,{480:1,390:1,45:1},s$),v(pt,"AbstractMap/SimpleEntry",390),m(2044,1,BZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.jd(),t.jd())&&Ku(this.kd(),t.kd())):!1},s.Hb=function(){return Jv(this.jd())^Jv(this.kd())},s.Ib=function(){return this.jd()+"="+this.kd()},v(pt,pYe,2044),m(2052,2027,Bge),s.Vc=function(n){return LX(this.Ce(n))},s.tc=function(n){return HPe(this,n)},s._b=function(n){return Lle(this,n)},s.vc=function(){return new Xi(this)},s.Rc=function(){return lDe(this.Ee())},s.Wc=function(n){return LX(this.Fe(n))},s.xc=function(n){var t;return t=n,bu(this.De(t))},s.Yc=function(n){return LX(this.Ge(n))},s.ec=function(){return new _u(this)},s.Tc=function(){return lDe(this.He())},s.Zc=function(n){return LX(this.Ie(n))},v(pt,"AbstractNavigableMap",2052),m(620,Ua,fs,Xi),s.Gc=function(n){return X(n,45)&&HPe(this.b,u(n,45))},s.Jc=function(){return this.b.Be()},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),this.b.Je(t)):!1},s.gc=function(){return this.b.gc()},v(pt,"AbstractNavigableMap/EntrySet",620),m(1115,Ua,zge,_u),s.Lc=function(){return new a$(this)},s.$b=function(){this.a.$b()},s.Gc=function(n){return Lle(this.a,n)},s.Jc=function(){var n;return n=this.a.vc().b.Be(),new Fke(n)},s.Kc=function(n){return Lle(this.a,n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractNavigableMap/NavigableKeySet",1115),m(1116,1,Fr,Fke),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this.a.a)},s.Pb=function(){var n;return n=LOe(this.a),n.jd()},s.Qb=function(){RNe(this.a)},v(pt,"AbstractNavigableMap/NavigableKeySet/1",1116),m(2065,31,um),s.Ec=function(n){return Iy(S8(this,n),G8),!0},s.Fc=function(n){return Ln(n),RT(n!=this,"Can't add a queue to itself"),ac(this,n)},s.$b=function(){for(;CY(this)!=null;);},v(pt,"AbstractQueue",2065),m(314,31,{4:1,20:1,31:1,18:1},Gv,zLe),s.Ec=function(n){return $ae(this,n),!0},s.$b=function(){Jae(this)},s.Gc=function(n){return xze(new wE(this),n)},s.dc=function(){return xj(this)},s.Jc=function(){return new wE(this)},s.Kc=function(n){return Nyn(new wE(this),n)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Lc=function(){return new yn(this,272)},s.Oc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&ir(n,t,null),n},s.b=0,s.c=0,v(pt,"ArrayDeque",314),m(448,1,Fr,wE),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return GB(this)},s.Qb=function(){xBe(this)},s.a=0,s.b=0,s.c=-1,v(pt,"ArrayDeque/IteratorImpl",448),m(13,56,DYe,Te,xo,bs),s._c=function(n,t){Hb(this,n,t)},s.Ec=function(n){return Ce(this,n)},s.ad=function(n,t){return D1e(this,n,t)},s.Fc=function(n){return Sr(this,n)},s.$b=function(){o2(this.c,0)},s.Gc=function(n){return pu(this,n,0)!=-1},s.Ic=function(n){Ao(this,n)},s.Xb=function(n){return Le(this,n)},s.bd=function(n){return pu(this,n,0)},s.dc=function(){return this.c.length==0},s.Jc=function(){return new P(this)},s.ed=function(n){return Od(this,n)},s.Kc=function(n){return qo(this,n)},s.ae=function(n,t){aLe(this,n,t)},s.fd=function(n,t){return ol(this,n,t)},s.gc=function(){return this.c.length},s.gd=function(n){Tr(this,n)},s.Nc=function(){return cR(this.c)},s.Oc=function(n){return Fa(this,n)};var IBn=v(pt,"ArrayList",13);m(7,1,Fr,P),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return gu(this)},s.Pb=function(){return L(this)},s.Qb=function(){aE(this)},s.a=0,s.b=-1,v(pt,"ArrayList/1",7),m(2074,k.Function,{},wn),s.Ke=function(n,t){return ji(n,t)},m(123,56,_Ye,Su),s.Gc=function(n){return SBe(this,n)!=-1},s.Ic=function(n){var t,i,r,c;for(Ln(n),i=this.a,r=0,c=i.length;r0)throw R(new Un(Yge+n+" greater than "+this.e));return this.f.Re()?__e(this.c,this.b,this.a,n,t):lLe(this.c,n,t)},s.yc=function(n,t){if(!eW(this.c,this.f,n,this.b,this.a,this.e,this.d))throw R(new Un(n+" outside the range "+this.b+" to "+this.e));return Hze(this.c,n,t)},s.Ac=function(n){var t;return t=n,eW(this.c,this.f,t,this.b,this.a,this.e,this.d)?L_e(this.c,t):null},s.Je=function(n){return MR(this,n.jd())&&she(this.c,n)},s.gc=function(){var n,t,i;if(this.f.Re()?this.a?t=p8(this.c,this.b,!0):t=p8(this.c,this.b,!1):t=yhe(this.c),!(t&&MR(this,t.d)&&t))return 0;for(n=0,i=new FY(this.c,this.f,this.b,this.a,this.e,this.d);FX(i.a);i.b=u(lae(i.a),45))++n;return n},s.$c=function(n,t){if(this.f.Re()&&this.c.a.Le(n,this.b)<0)throw R(new Un(Yge+n+$Ye+this.b));return this.f.Se()?__e(this.c,n,t,this.e,this.d):fLe(this.c,n,t)},s.a=!1,s.d=!1,v(pt,"TreeMap/SubMap",622),m(309,23,HZ,l$),s.Re=function(){return!1},s.Se=function(){return!1};var fte,ate,hte,dte,pJ=yt(pt,"TreeMap/SubMapType",309,Ct,o6n,D2n);m(1112,309,HZ,DTe),s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/1",1112,pJ,null,null),m(1113,309,HZ,qTe),s.Re=function(){return!0},s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/2",1113,pJ,null,null),m(1114,309,HZ,_Te),s.Re=function(){return!0},yt(pt,"TreeMap/SubMapType/3",1114,pJ,null,null);var jnn;m(141,Ua,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},pX,ale,Ed,f9),s.Lc=function(){return new a$(this)},s.Ec=function(n){return FT(this,n)},s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){return this.a.ec().Jc()},s.Kc=function(n){return DK(this,n)},s.gc=function(){return this.a.gc()};var RBn=v(pt,"TreeSet",141);m(1052,1,{},Gke),s.Te=function(n,t){return Zpn(this.a,n,t)},v(GZ,"BinaryOperator/lambda$0$Type",1052),m(1053,1,{},qke),s.Te=function(n,t){return e2n(this.a,n,t)},v(GZ,"BinaryOperator/lambda$1$Type",1053),m(935,1,{},Fu),s.Kb=function(n){return n},v(GZ,"Function/lambda$0$Type",935),m(388,1,zt,a9),s.Mb=function(n){return!this.a.Mb(n)},v(GZ,"Predicate/lambda$2$Type",388),m(567,1,{567:1});var Enn=v(kS,"Handler",567);m(2069,1,bN),s.ve=function(){return"DUMMY"},s.Ib=function(){return this.ve()};var Vme;v(kS,"Level",2069),m(1672,2069,bN,Rs),s.ve=function(){return"INFO"},v(kS,"Level/LevelInfo",1672),m(1824,1,{},lxe);var bte;v(kS,"LogManager",1824),m(1866,1,bN,$Ne),s.b=null,v(kS,"LogRecord",1866),m(511,1,{511:1},oY),s.e=!1;var Snn=!1,xnn=!1,Qa=!1,Ann=!1,Mnn=!1;v(kS,"Logger",511),m(819,567,{567:1},Er),v(kS,"SimpleConsoleLogHandler",819),m(130,23,{3:1,35:1,23:1,130:1},GX);var Yme,Yo,Qme,Qo=yt(_c,"Collector/Characteristics",130,Ct,qyn,_2n),Cnn;m(746,1,{},Ffe),v(_c,"CollectorImpl",746),m(1050,1,{},Kr),s.Te=function(n,t){return pjn(u(n,212),u(t,212))},v(_c,"Collectors/10methodref$merge$Type",1050),m(1051,1,{},Dt),s.Kb=function(n){return BLe(u(n,212))},v(_c,"Collectors/11methodref$toString$Type",1051),m(152,1,{},bi),s.Wd=function(n,t){u(n,18).Ec(t)},v(_c,"Collectors/20methodref$add$Type",152),m(154,1,{},zi),s.Ve=function(){return new Te},v(_c,"Collectors/21methodref$ctor$Type",154),m(1049,1,{},cu),s.Wd=function(n,t){L1(u(n,212),u(t,472))},v(_c,"Collectors/9methodref$add$Type",1049),m(1048,1,{},tIe),s.Ve=function(){return new rg(this.a,this.b,this.c)},v(_c,"Collectors/lambda$15$Type",1048),m(153,1,{},Cc),s.Te=function(n,t){return Tgn(u(n,18),u(t,18))},v(_c,"Collectors/lambda$45$Type",153),m(538,1,{}),s.Ye=function(){gE(this)},s.d=!1,v(_c,"TerminatableStream",538),m(768,538,Qge,Mle),s.Ye=function(){gE(this)},v(_c,"DoubleStreamImpl",768),m(1297,724,bl,iIe),s.Pe=function(n){return GSn(this,u(n,189))},s.a=null,v(_c,"DoubleStreamImpl/2",1297),m(1298,1,EN,Uke),s.Ne=function(n){jwn(this.a,n)},v(_c,"DoubleStreamImpl/2/lambda$0$Type",1298),m(1295,1,EN,Xke),s.Ne=function(n){kwn(this.a,n)},v(_c,"DoubleStreamImpl/lambda$0$Type",1295),m(1296,1,EN,Kke),s.Ne=function(n){gJe(this.a,n)},v(_c,"DoubleStreamImpl/lambda$2$Type",1296),m(1351,723,bl,VPe),s.Pe=function(n){return Y4n(this,u(n,202))},s.a=0,s.b=0,s.c=0,v(_c,"IntStream/5",1351),m(793,538,Qge,Cle),s.Ye=function(){gE(this)},s.Ze=function(){return N0(this),this.a},v(_c,"IntStreamImpl",793),m(794,538,Qge,Woe),s.Ye=function(){gE(this)},s.Ze=function(){return N0(this),Wse(),knn},v(_c,"IntStreamImpl/Empty",794),m(1651,1,wN,Vke),s.Bd=function(n){oze(this.a,n)},v(_c,"IntStreamImpl/lambda$4$Type",1651);var BBn=Gi(_c,"Stream");m(28,538,{520:1,677:1,832:1},pn),s.Ye=function(){gE(this)};var C4;v(_c,"StreamImpl",28),m(1072,486,bl,CNe),s.zd=function(n){for(;Y9n(this);){if(this.a.zd(n))return!0;gE(this.b),this.b=null,this.a=null}return!1},v(_c,"StreamImpl/1",1072),m(1073,1,ct,Yke),s.Ad=function(n){Rvn(this.a,u(n,832))},v(_c,"StreamImpl/1/lambda$0$Type",1073),m(1074,1,zt,Qke),s.Mb=function(n){return hr(this.a,n)},v(_c,"StreamImpl/1methodref$add$Type",1074),m(1075,486,bl,o_e),s.zd=function(n){var t;return this.a||(t=new Te,this.b.a.Nb(new Wke(t)),En(),Tr(t,this.c),this.a=new yn(t,16)),VRe(this.a,n)},s.a=null,v(_c,"StreamImpl/5",1075),m(1076,1,ct,Wke),s.Ad=function(n){Ce(this.a,n)},v(_c,"StreamImpl/5/2methodref$add$Type",1076),m(725,486,bl,mhe),s.zd=function(n){for(this.b=!1;!this.b&&this.c.zd(new UMe(this,n)););return this.b},s.b=!1,v(_c,"StreamImpl/FilterSpliterator",725),m(1066,1,ct,UMe),s.Ad=function(n){O3n(this.a,this.b,n)},v(_c,"StreamImpl/FilterSpliterator/lambda$0$Type",1066),m(1061,724,bl,c$e),s.Pe=function(n){return S2n(this,u(n,189))},v(_c,"StreamImpl/MapToDoubleSpliterator",1061),m(1065,1,ct,XMe),s.Ad=function(n){qgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1065),m(1060,723,bl,u$e),s.Pe=function(n){return x2n(this,u(n,202))},v(_c,"StreamImpl/MapToIntSpliterator",1060),m(1064,1,ct,KMe),s.Ad=function(n){Ugn(this.a,this.b,n)},v(_c,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1064),m(722,486,bl,rhe),s.zd=function(n){return ONe(this,n)},v(_c,"StreamImpl/MapToObjSpliterator",722),m(1063,1,ct,VMe),s.Ad=function(n){Xgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1063),m(1062,486,bl,ABe),s.zd=function(n){for(;JX(this.b,0);){if(!this.a.zd(new nf))return!1;this.b=ff(this.b,1)}return this.a.zd(n)},s.b=0,v(_c,"StreamImpl/SkipSpliterator",1062),m(1067,1,ct,nf),s.Ad=function(n){},v(_c,"StreamImpl/SkipSpliterator/lambda$0$Type",1067),m(617,1,ct,Ia),s.Ad=function(n){AP(this,n)},v(_c,"StreamImpl/ValueConsumer",617),m(1068,1,ct,ra),s.Ad=function(n){zb()},v(_c,"StreamImpl/lambda$0$Type",1068),m(1069,1,ct,l0),s.Ad=function(n){zb()},v(_c,"StreamImpl/lambda$1$Type",1069),m(1070,1,{},Zke),s.Te=function(n,t){return N2n(this.a,n,t)},v(_c,"StreamImpl/lambda$4$Type",1070),m(1071,1,ct,YMe),s.Ad=function(n){u2n(this.b,this.a,n)},v(_c,"StreamImpl/lambda$5$Type",1071),m(1077,1,ct,eje),s.Ad=function(n){K7n(this.a,u(n,375))},v(_c,"TerminatableStream/lambda$0$Type",1077),m(2104,1,{}),m(1976,1,{},Cb),v("javaemul.internal","ConsoleLogger",1976);var zBn=0;m(2096,1,{}),m(1800,1,ct,xl),s.Ad=function(n){u(n,321)},v(q8,"BowyerWatsonTriangulation/lambda$0$Type",1800),m(1801,1,ct,nje),s.Ad=function(n){ac(this.a,u(n,321).e)},v(q8,"BowyerWatsonTriangulation/lambda$1$Type",1801),m(1802,1,ct,od),s.Ad=function(n){u(n,177)},v(q8,"BowyerWatsonTriangulation/lambda$2$Type",1802),m(1797,1,Yt,tje),s.Le=function(n,t){return L6n(this.a,u(n,177),u(t,177))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(q8,"NaiveMinST/lambda$0$Type",1797),m(440,1,{},wj),v(q8,"NodeMicroLayout",440),m(177,1,{177:1},vy),s.Fb=function(n){var t;return X(n,177)?(t=u(n,177),Ku(this.a,t.a)&&Ku(this.b,t.b)||Ku(this.a,t.b)&&Ku(this.b,t.a)):!1},s.Hb=function(){return Jv(this.a)+Jv(this.b)};var FBn=v(q8,"TEdge",177);m(321,1,{321:1},age),s.Fb=function(n){var t;return X(n,321)?(t=u(n,321),lB(this,t.a)&&lB(this,t.b)&&lB(this,t.c)):!1},s.Hb=function(){return Jv(this.a)+Jv(this.b)+Jv(this.c)},v(q8,"TTriangle",321),m(225,1,{225:1},R$),v(q8,"Tree",225),m(1183,1,{},Q_e),v(zYe,"Scanline",1183);var Tnn=Gi(zYe,FYe);m(1728,1,{},QRe),v(r1,"CGraph",1728),m(320,1,{320:1},G_e),s.b=0,s.c=0,s.d=0,s.g=0,s.i=0,s.k=Ir,v(r1,"CGroup",320),m(814,1,{},goe),v(r1,"CGroup/CGroupBuilder",814),m(60,1,{60:1},fNe),s.Ib=function(){var n;return this.j?Pt(this.j.Kb(this)):(T1(mJ),mJ.o+"@"+(n=xw(this)>>>0,n.toString(16)))},s.f=0,s.i=Ir;var mJ=v(r1,"CNode",60);m(813,1,{},woe),v(r1,"CNode/CNodeBuilder",813);var Onn;m(1551,1,{},f0),s.df=function(n,t){return 0},s.ef=function(n,t){return 0},v(r1,HYe,1551),m(1830,1,{},sh),s.af=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;for(g=Vi,r=new P(n.a.b);r.ar.d.c||r.d.c==o.d.c&&r.d.b0?n+this.n.d+this.n.a:0},s.gf=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].gf());else if(this.g)c=cde(this,tW(this,null,!0));else for(t=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},s.hf=function(){var n,t,i,r,c;if(this.g)for(n=tW(this,null,!1),i=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=k.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=k.Math.max(r[1],i),ehe(this,No,t.d+n.d+r[0]-(r[1]-i)/2,r)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var wte=0,vJ=0;v(wg,"GridContainerCell",1499),m(461,23,{3:1,35:1,23:1,461:1},UX);var ub,Ih,Uf,$nn=yt(wg,"HorizontalLabelAlignment",461,Ct,o4n,L2n),Rnn;m(318,216,{216:1,318:1},P_e,YRe,T_e),s.ff=function(){return bIe(this)},s.gf=function(){return mfe(this)},s.a=0,s.c=!1;var JBn=v(wg,"LabelCell",318);m(253,337,{216:1,337:1,253:1},UE),s.ff=function(){return eS(this)},s.gf=function(){return nS(this)},s.hf=function(){GW(this)},s.jf=function(){qW(this)},s.b=0,s.c=0,s.d=!1,v(wg,"StripContainerCell",253),m(1655,1,zt,m5),s.Mb=function(n){return zbn(u(n,216))},v(wg,"StripContainerCell/lambda$0$Type",1655),m(1656,1,{},a0),s.We=function(n){return u(n,216).gf()},v(wg,"StripContainerCell/lambda$1$Type",1656),m(1657,1,zt,sd),s.Mb=function(n){return Fbn(u(n,216))},v(wg,"StripContainerCell/lambda$2$Type",1657),m(1658,1,{},Np),s.We=function(n){return u(n,216).ff()},v(wg,"StripContainerCell/lambda$3$Type",1658),m(462,23,{3:1,35:1,23:1,462:1},XX);var Xf,ob,Ea,Bnn=yt(wg,"VerticalLabelAlignment",462,Ct,s4n,P2n),znn;m(787,1,{},Tge),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,s.F=!1,v(fF,"NodeContext",787),m(1497,1,Yt,lh),s.Le=function(n,t){return xTe(u(n,64),u(t,64))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(fF,"NodeContext/0methodref$comparePortSides$Type",1497),m(1498,1,Yt,Ip),s.Le=function(n,t){return SMn(u(n,115),u(t,115))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(fF,"NodeContext/1methodref$comparePortContexts$Type",1498),m(168,23,{3:1,35:1,23:1,168:1},zl);var Fnn,Jnn,Hnn,Gnn,qnn,Unn,Xnn,Knn,Vnn,Ynn,Qnn,Wnn,Znn,etn,ntn,ttn,itn,rtn,ctn,utn,otn,pte,stn=yt(fF,"NodeLabelLocation",168,Ct,DQ,$2n),ltn;m(115,1,{115:1},Uqe),s.a=!1,v(fF,"PortContext",115),m(1502,1,ct,Xg),s.Ad=function(n){zAe(u(n,318))},v(xN,tQe,1502),m(1503,1,zt,Kg),s.Mb=function(n){return!!u(n,115).c},v(xN,iQe,1503),m(1504,1,ct,Vg),s.Ad=function(n){zAe(u(n,115).c)},v(xN,"LabelPlacer/lambda$2$Type",1504);var Zme;m(1501,1,ct,fd),s.Ad=function(n){j2(),vbn(u(n,115))},v(xN,"NodeLabelAndSizeUtilities/lambda$0$Type",1501),m(788,1,ct,Yle),s.Ad=function(n){Dgn(this.b,this.c,this.a,u(n,187))},s.a=!1,s.c=!1,v(xN,"NodeLabelCellCreator/lambda$0$Type",788),m(1500,1,ct,cje),s.Ad=function(n){Ebn(this.a,u(n,187))},v(xN,"PortContextCreator/lambda$0$Type",1500);var yJ;m(1872,1,{},Yg),v(X8,"GreedyRectangleStripOverlapRemover",1872),m(1873,1,Yt,Ob),s.Le=function(n,t){return apn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1873),m(1826,1,{},bxe),s.a=5,s.e=0,v(X8,"RectangleStripOverlapRemover",1826),m(1827,1,Yt,v5),s.Le=function(n,t){return hpn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1827),m(1829,1,Yt,Dp),s.Le=function(n,t){return U3n(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1829),m(409,23,{3:1,35:1,23:1,409:1},f$);var QN,mte,vte,WN,ftn=yt(X8,"RectangleStripOverlapRemover/OverlapRemovalDirection",409,Ct,c6n,R2n),atn;m(226,1,{226:1},aV),v(X8,"RectangleStripOverlapRemover/RectangleNode",226),m(1828,1,ct,uje),s.Ad=function(n){nxn(this.a,u(n,226))},v(X8,"RectangleStripOverlapRemover/lambda$1$Type",1828);var htn=!1,ex,eve;m(1798,1,ct,_p),s.Ad=function(n){eVe(u(n,225))},v(y4,"DepthFirstCompaction/0methodref$compactTree$Type",1798),m(810,1,ct,eoe),s.Ad=function(n){y5n(this.a,u(n,225))},v(y4,"DepthFirstCompaction/lambda$1$Type",810),m(1799,1,ct,FNe),s.Ad=function(n){JEn(this.a,this.b,this.c,u(n,225))},v(y4,"DepthFirstCompaction/lambda$2$Type",1799);var nx,nve;m(68,1,{68:1},Z_e),v(y4,"Node",68),m(1179,1,{},HTe),v(y4,"ScanlineOverlapCheck",1179),m(1180,1,{683:1},S_e),s._e=function(n){Ypn(this,u(n,442))},v(y4,"ScanlineOverlapCheck/OverlapsScanlineHandler",1180),m(1181,1,Yt,uu),s.Le=function(n,t){return Tjn(u(n,68),u(t,68))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(y4,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1181),m(442,1,{442:1},ase),s.a=!1,v(y4,"ScanlineOverlapCheck/Timestamp",442),m(1182,1,Yt,y5),s.Le=function(n,t){return nAn(u(n,442),u(t,442))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(y4,"ScanlineOverlapCheck/lambda$0$Type",1182),m(545,1,{},Qg),v("org.eclipse.elk.alg.common.utils","SVGImage",545),m(748,1,{},ov),v(VZ,rwe,748),m(1164,1,Yt,k5),s.Le=function(n,t){return TTn(u(n,235),u(t,235))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(VZ,uQe,1164),m(1165,1,ct,QMe),s.Ad=function(n){k4n(this.b,this.a,u(n,251))},v(VZ,cwe,1165),m(214,1,ip),v(E3,"AbstractLayoutProvider",214),m(726,214,ip,poe),s.kf=function(n,t){PUe(this,n,t)},v(VZ,"ForceLayoutProvider",726);var HBn=Gi(AN,oQe);m(150,1,{3:1,105:1,150:1},Wg),s.of=function(n,t){return MO(this,n,t)},s.lf=function(){return TIe(this)},s.mf=function(n){return C(this,n)},s.nf=function(n){return wi(this,n)},v(AN,"MapPropertyHolder",150),m(313,150,{3:1,313:1,105:1,150:1}),v(MN,"FParticle",313),m(251,313,{3:1,251:1,313:1,105:1,150:1},bDe),s.Ib=function(){var n;return this.a?(n=pu(this.a.a,this,0),n>=0?"b"+n+"["+iY(this.a)+"]":"b["+iY(this.a)+"]"):"b_"+xw(this)},v(MN,"FBendpoint",251),m(291,150,{3:1,291:1,105:1,150:1},sNe),s.Ib=function(){return iY(this)},v(MN,"FEdge",291),m(235,150,{3:1,235:1,105:1,150:1},eB);var GBn=v(MN,"FGraph",235);m(445,313,{3:1,445:1,313:1,105:1,150:1},wPe),s.Ib=function(){return this.b==null||this.b.length==0?"l["+iY(this.a)+"]":"l_"+this.b},v(MN,"FLabel",445),m(155,313,{3:1,155:1,313:1,105:1,150:1},GTe),s.Ib=function(){return Cae(this)},s.a=0,v(MN,"FNode",155),m(2062,1,{}),s.qf=function(n){cge(this,n)},s.rf=function(){yHe(this)},s.d=0,v(uwe,"AbstractForceModel",2062),m(631,2062,{631:1},lze),s.pf=function(n,t){var i,r,c,o,l;return iVe(this.f,n,t),c=Nr(pc(t.d),n.d),l=k.Math.sqrt(c.a*c.a+c.b*c.b),r=k.Math.max(0,l-bE(n.e)/2-bE(t.e)/2),i=Pqe(this.e,n,t),i>0?o=-$3n(r,this.c)*i:o=Apn(r,this.b)*u(C(n,(Gf(),O4)),15).a,C1(c,o/l),c},s.qf=function(n){cge(this,n),this.a=u(C(n,(Gf(),jJ)),15).a,this.c=ne(re(C(n,EJ))),this.b=ne(re(C(n,kte)))},s.sf=function(n){return n0&&(o-=Pbn(r,this.a)*i),C1(c,o*this.b/l),c},s.qf=function(n){var t,i,r,c,o,l,f;for(cge(this,n),this.b=ne(re(C(n,(Gf(),jte)))),this.c=this.b/u(C(n,jJ),15).a,r=n.e.c.length,o=0,c=0,f=new P(n.e);f.a0},s.a=0,s.b=0,s.c=0,v(uwe,"FruchtermanReingoldModel",632);var T4=Gi(yu,"ILayoutMetaDataProvider");m(844,1,Ka,jC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,aF),""),"Force Model"),"Determines the model for force calculation."),tve),(hg(),Bi)),ive),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,owe),""),"Iterations"),"The number of iterations on the force model."),ye(300)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,swe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,YZ),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Mh),ec),gr),rn(Tn)))),qi(n,YZ,aF,vtn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,QZ),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),ec),gr),rn(Tn)))),qi(n,QZ,aF,wtn),qVe((new rP,n))};var dtn,btn,tve,gtn,wtn,ptn,mtn,vtn;v(SS,"ForceMetaDataProvider",844),m(424,23,{3:1,35:1,23:1,424:1},hse);var yte,kJ,ive=yt(SS,"ForceModelStrategy",424,Ct,pyn,z2n),ytn;m(984,1,Ka,rP),s.tf=function(n){qVe(n)};var ktn,jtn,rve,jJ,cve,Etn,Stn,xtn,Atn,uve,Mtn,ove,sve,Ctn,O4,Ttn,kte,lve,Otn,Ntn,EJ,jte,Itn,Dtn,_tn,fve,Ltn;v(SS,"ForceOptions",984),m(985,1,{},sv),s.uf=function(){var n;return n=new poe,n},s.vf=function(n){},v(SS,"ForceOptions/ForceFactory",985);var ZN,tx,N4,SJ;m(845,1,Ka,cP),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fwe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),($n(),!1)),(hg(),xr)),Qi),rn((kh(),fr))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,awe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[Aa]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),ave),Bi),mve),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dwe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Mh),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),ye(oi)),dc),jr),rn(Tn)))),vVe((new AU,n))};var Ptn,$tn,ave,Rtn,Btn,ztn;v(SS,"StressMetaDataProvider",845),m(988,1,Ka,AU),s.tf=function(n){vVe(n)};var xJ,hve,dve,bve,gve,wve,Ftn,Jtn,Htn,Gtn,pve,qtn;v(SS,"StressOptions",988),m(989,1,{},j5),s.uf=function(){var n;return n=new lNe,n},s.vf=function(n){},v(SS,"StressOptions/StressFactory",989),m(1080,214,ip,lNe),s.kf=function(n,t){var i,r,c,o,l;for(t.Tg(hQe,1),ze(Be(ke(n,(FO(),gve))))?ze(Be(ke(n,pve)))||KT((i=new wj((Fb(),new k0(n))),i)):PUe(new poe,n,t.dh(1)),c=Rze(n),r=OKe(this.a,c),l=r.Jc();l.Ob();)o=u(l.Pb(),235),!(o.e.c.length<=1)&&(WLn(this.b,o),SOn(this.b),Ao(o.d,new E5));c=JVe(r),QVe(c),t.Ug()},v(bF,"StressLayoutProvider",1080),m(1081,1,ct,E5),s.Ad=function(n){bge(u(n,445))},v(bF,"StressLayoutProvider/lambda$0$Type",1081),m(986,1,{},sxe),s.c=0,s.e=0,s.g=0,v(bF,"StressMajorization",986),m(384,23,{3:1,35:1,23:1,384:1},KX);var Ete,Ste,xte,mve=yt(bF,"StressMajorization/Dimension",384,Ct,c4n,F2n),Utn;m(987,1,Yt,oje),s.Le=function(n,t){return p2n(this.a,u(n,155),u(t,155))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(bF,"StressMajorization/lambda$0$Type",987),m(1161,1,{},ELe),v(E4,"ElkLayered",1161),m(1162,1,ct,sje),s.Ad=function(n){hTn(this.a,u(n,37))},v(E4,"ElkLayered/lambda$0$Type",1162),m(1163,1,ct,lje),s.Ad=function(n){E2n(this.a,u(n,37))},v(E4,"ElkLayered/lambda$1$Type",1163),m(1246,1,{},JTe);var Xtn,Ktn,Vtn;v(E4,"GraphConfigurator",1246),m(757,1,ct,noe),s.Ad=function(n){$Ge(this.a,u(n,9))},v(E4,"GraphConfigurator/lambda$0$Type",757),m(758,1,{},w1),s.Kb=function(n){return Qde(),new pn(null,new yn(u(n,25).a,16))},v(E4,"GraphConfigurator/lambda$1$Type",758),m(759,1,ct,toe),s.Ad=function(n){$Ge(this.a,u(n,9))},v(E4,"GraphConfigurator/lambda$2$Type",759),m(1079,214,ip,fxe),s.kf=function(n,t){var i;i=OLn(new wxe,n),ue(ke(n,(Oe(),Am)))===ue((F1(),e0))?Bjn(this.a,i,t):yOn(this.a,i,t),t.Zg()||LVe(new SC,i)},v(E4,"LayeredLayoutProvider",1079),m(363,23,{3:1,35:1,23:1,363:1},aT);var Kf,o1,eo,no,Pc,vve=yt(E4,"LayeredPhases",363,Ct,n9n,J2n),Ytn;m(1683,1,{},TBe),s.i=0;var Qtn;v(DN,"ComponentsToCGraphTransformer",1683);var Wtn;m(1684,1,{},Zs),s.wf=function(n,t){return k.Math.min(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},s.xf=function(n,t){return k.Math.min(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},v(DN,"ComponentsToCGraphTransformer/1",1684),m(82,1,{82:1}),s.i=0,s.k=!0,s.o=Ir;var Ate=v(CS,"CNode",82);m(460,82,{460:1,82:1},ble,Ade),s.Ib=function(){return""},v(DN,"ComponentsToCGraphTransformer/CRectNode",460),m(1652,1,{},Af);var Mte,Cte;v(DN,"OneDimensionalComponentsCompaction",1652),m(1653,1,{},vt),s.Kb=function(n){return $yn(u(n,49))},s.Fb=function(n){return this===n},v(DN,"OneDimensionalComponentsCompaction/lambda$0$Type",1653),m(1654,1,{},kc),s.Kb=function(n){return Gjn(u(n,49))},s.Fb=function(n){return this===n},v(DN,"OneDimensionalComponentsCompaction/lambda$1$Type",1654),m(1686,1,{},ADe),v(CS,"CGraph",1686),m(194,1,{194:1},OQ),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Ir,v(CS,"CGroup",194),m(1685,1,{},tc),s.wf=function(n,t){return k.Math.max(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},s.xf=function(n,t){return k.Math.max(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},v(CS,HYe,1685),m(1687,1,{},Rqe),s.d=!1;var Ztn,Tte=v(CS,UYe,1687);m(1688,1,{},ck),s.Kb=function(n){return nse(),$n(),u(u(n,49).a,82).d.e!=0},s.Fb=function(n){return this===n},v(CS,XYe,1688),m(817,1,{},yfe),s.a=!1,s.b=!1,s.c=!1,s.d=!1,v(CS,KYe,817),m(1868,1,{},zIe),v(gF,VYe,1868);var eI=Gi(pg,FYe);m(1869,1,{377:1},E_e),s._e=function(n){MIn(this,u(n,465))},v(gF,YYe,1869),m(1870,1,Yt,h0),s.Le=function(n,t){return O5n(u(n,82),u(t,82))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(gF,QYe,1870),m(465,1,{465:1},dse),s.a=!1,v(gF,WYe,465),m(1871,1,Yt,Zg),s.Le=function(n,t){return tAn(u(n,465),u(t,465))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(gF,ZYe,1871),m(146,1,{146:1},S9,lfe),s.Fb=function(n){var t;return n==null||qBn!=Us(n)?!1:(t=u(n,146),Ku(this.c,t.c)&&Ku(this.d,t.d))},s.Hb=function(){return JB(F(z(Mr,1),Nn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+To+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var qBn=v(pg,"Point",146);m(408,23,{3:1,35:1,23:1,408:1},h$);var dp,pm,D3,mm,ein=yt(pg,"Point/Quadrant",408,Ct,u6n,B2n),nin;m(1674,1,{},axe),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null;var tin,iin,rin,cin,uin;v(pg,"RectilinearConvexHull",1674),m(569,1,{377:1},lz),s._e=function(n){U9n(this,u(n,146))},s.b=0;var yve;v(pg,"RectilinearConvexHull/MaximalElementsEventHandler",569),m(1676,1,Yt,b6),s.Le=function(n,t){return C5n(re(n),re(t))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1676),m(1675,1,{377:1},LRe),s._e=function(n){HNn(this,u(n,146))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,v(pg,"RectilinearConvexHull/RectangleEventHandler",1675),m(1677,1,Yt,Lp),s.Le=function(n,t){return O4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$0$Type",1677),m(1678,1,Yt,Pp),s.Le=function(n,t){return N4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$1$Type",1678),m(1679,1,Yt,$p),s.Le=function(n,t){return D4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$2$Type",1679),m(1680,1,Yt,Rp),s.Le=function(n,t){return I4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$3$Type",1680),m(1681,1,Yt,Al),s.Le=function(n,t){return BMn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$4$Type",1681),m(1682,1,{},W_e),v(pg,"Scanline",1682),m(2066,1,{}),v(Va,"AbstractGraphPlacer",2066),m(336,1,{336:1},DOe),s.Df=function(n){return this.Ef(n)?(gn(this.b,u(C(n,(ve(),Y1)),22),n),!0):!1},s.Ef=function(n){var t,i,r,c;for(t=u(C(n,(ve(),Y1)),22),c=u(vi(Ai,t),22),r=c.Jc();r.Ob();)if(i=u(r.Pb(),22),!u(vi(this.b,i),16).dc())return!1;return!0};var Ai;v(Va,"ComponentGroup",336),m(766,2066,{},moe),s.Ff=function(n){var t,i;for(i=new P(this.a);i.ai&&(p=0,y+=f+r,f=0),h=o.c,I8(o,p+h.a,y+h.b),aa(h),c=k.Math.max(c,p+g.a),f=k.Math.max(f,g.b),p+=g.a+r;t.f.a=c,t.f.b=y+f},s.Hf=function(n,t){var i,r,c,o,l;if(ue(C(t,(Oe(),px)))===ue((t4(),ix))){for(r=n.Jc();r.Ob();){for(i=u(r.Pb(),37),l=0,o=new P(i.a);o.ai&&!u(C(o,(ve(),Y1)),22).Gc((Ie(),Vn))||h&&u(C(h,(ve(),Y1)),22).Gc((Ie(),nt))||u(C(o,(ve(),Y1)),22).Gc((Ie(),Yn)))&&(S=y,A+=f+r,f=0),g=o.c,u(C(o,(ve(),Y1)),22).Gc((Ie(),Vn))&&(S=c+r),I8(o,S+g.a,A+g.b),c=k.Math.max(c,S+p.a),u(C(o,Y1),22).Gc(bt)&&(y=k.Math.max(y,S+p.a+r)),aa(g),f=k.Math.max(f,p.b),S+=p.a+r,h=o;t.f.a=c,t.f.b=A+f},s.Hf=function(n,t){},v(Va,"ModelOrderRowGraphPlacer",1277),m(1275,1,Yt,DA),s.Le=function(n,t){return U7n(u(n,37),u(t,37))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Va,"SimpleRowGraphPlacer/1",1275);var sin;m(1245,1,Ah,g6),s.Lb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},s.Fb=function(n){return this===n},s.Mb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},v(wF,"CompoundGraphPostprocessor/1",1245),m(1244,1,Mi,pxe),s.If=function(n,t){tHe(this,u(n,37),t)},v(wF,"CompoundGraphPreprocessor",1244),m(444,1,{444:1},HFe),s.c=!1,v(wF,"CompoundGraphPreprocessor/ExternalPort",444),m(250,1,{250:1},eR),s.Ib=function(){return RK(this.c)+":"+Iqe(this.b)},v(wF,"CrossHierarchyEdge",250),m(764,1,Yt,ioe),s.Le=function(n,t){return Cxn(this,u(n,250),u(t,250))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(wF,"CrossHierarchyEdgeComparator",764),m(246,150,{3:1,246:1,105:1,150:1}),s.p=0,v(Zu,"LGraphElement",246),m(17,246,{3:1,17:1,246:1,105:1,150:1},Dw),s.Ib=function(){return Iqe(this)};var v7=v(Zu,"LEdge",17);m(37,246,{3:1,20:1,37:1,246:1,105:1,150:1},Bhe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.b)},s.Ib=function(){return this.b.c.length==0?"G-unlayered"+Ga(this.a):this.a.c.length==0?"G-layered"+Ga(this.b):"G[layerless"+Ga(this.a)+", layers"+Ga(this.b)+"]"};var lin=v(Zu,"LGraph",37),fin;m(655,1,{}),s.Jf=function(){return this.e.n},s.mf=function(n){return C(this.e,n)},s.Kf=function(){return this.e.o},s.Lf=function(){return this.e.p},s.nf=function(n){return wi(this.e,n)},s.Mf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},s.Nf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},s.Of=function(n){this.e.p=n},v(Zu,"LGraphAdapters/AbstractLShapeAdapter",655),m(464,1,{837:1},pj),s.Pf=function(){var n,t;if(!this.b)for(this.b=Gh(this.a.b.c.length),t=new P(this.a.b);t.a0&&vFe((Wn(t-1,n.length),n.charCodeAt(t-1)),mQe);)--t;if(o> ",n),mz(i)),Kt(uo((n.a+="[",n),i.i),"]")),n.a},s.c=!0,s.d=!1;var xve,Ave,Mve,Cve,Tve,Ove,hin=v(Zu,"LPort",12);m(399,1,n1,h9),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.e),new fje(n)},v(Zu,"LPort/1",399),m(1273,1,Fr,fje),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).c},s.Ob=function(){return gu(this.a)},s.Qb=function(){aE(this.a)},v(Zu,"LPort/1/1",1273),m(365,1,n1,oy),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.g),new roe(n)},v(Zu,"LPort/2",365),m(763,1,Fr,roe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).d},s.Ob=function(){return gu(this.a)},s.Qb=function(){aE(this.a)},v(Zu,"LPort/2/1",763),m(1266,1,n1,ZMe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new Ra(this)},v(Zu,"LPort/CombineIter",1266),m(207,1,Fr,Ra),s.Nb=function(n){Zr(this,n)},s.Qb=function(){IAe()},s.Ob=function(){return tE(this)},s.Pb=function(){return gu(this.a)?L(this.a):L(this.b)},v(Zu,"LPort/CombineIter/1",207),m(1267,1,Ah,x5),s.Lb=function(n){return QIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).g.c.length!=0},v(Zu,"LPort/lambda$0$Type",1267),m(1268,1,Ah,d0),s.Lb=function(n){return WIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).e.c.length!=0},v(Zu,"LPort/lambda$1$Type",1268),m(1269,1,Ah,Ph),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},v(Zu,"LPort/lambda$2$Type",1269),m(1270,1,Ah,lk),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),nt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),nt)},v(Zu,"LPort/lambda$3$Type",1270),m(1271,1,Ah,_A),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),bt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),bt)},v(Zu,"LPort/lambda$4$Type",1271),m(1272,1,Ah,A5),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},v(Zu,"LPort/lambda$5$Type",1272),m(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},Xu),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.a)},s.Ib=function(){return"L_"+pu(this.b.b,this,0)+Ga(this.a)},v(Zu,"Layer",25),m(1659,1,{},F$e),s.b=0,v(Zu,"Tarjan",1659),m(1282,1,{},wxe),v(Gd,jQe,1282),m(1286,1,{},fk),s.Kb=function(n){return iu(u(n,84))},v(Gd,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1286),m(1289,1,{},fv),s.Kb=function(n){return iu(u(n,84))},v(Gd,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1289),m(1283,1,ct,aje),s.Ad=function(n){Vqe(this.a,u(n,125))},v(Gd,cwe,1283),m(1284,1,ct,hje),s.Ad=function(n){Vqe(this.a,u(n,125))},v(Gd,EQe,1284),m(1285,1,{},$h),s.Kb=function(n){return new pn(null,new yn(rae(u(n,85)),16))},v(Gd,SQe,1285),m(1287,1,zt,dje),s.Mb=function(n){return vwn(this.a,u(n,26))},v(Gd,xQe,1287),m(1288,1,{},av),s.Kb=function(n){return new pn(null,new yn(x5n(u(n,85)),16))},v(Gd,"ElkGraphImporter/lambda$5$Type",1288),m(1290,1,zt,bje),s.Mb=function(n){return ywn(this.a,u(n,26))},v(Gd,"ElkGraphImporter/lambda$7$Type",1290),m(1291,1,zt,ak),s.Mb=function(n){return z5n(u(n,85))},v(Gd,"ElkGraphImporter/lambda$8$Type",1291),m(1261,1,{},SC);var din;v(Gd,"ElkGraphLayoutTransferrer",1261),m(1262,1,zt,gje),s.Mb=function(n){return a2n(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$0$Type",1262),m(1263,1,ct,wje),s.Ad=function(n){sT(),Ce(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$1$Type",1263),m(1264,1,zt,pje),s.Mb=function(n){return Qpn(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$2$Type",1264),m(1265,1,ct,mje),s.Ad=function(n){sT(),Ce(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$3$Type",1265),m(806,1,{},$le),v(Zn,"BiLinkedHashMultiMap",806),m(1511,1,Mi,w6),s.If=function(n,t){a7n(u(n,37),t)},v(Zn,"CommentNodeMarginCalculator",1511),m(1512,1,{},nw),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"CommentNodeMarginCalculator/lambda$0$Type",1512),m(1513,1,ct,ED),s.Ad=function(n){MLn(u(n,9))},v(Zn,"CommentNodeMarginCalculator/lambda$1$Type",1513),m(1514,1,Mi,LA),s.If=function(n,t){_In(u(n,37),t)},v(Zn,"CommentPostprocessor",1514),m(1515,1,Mi,SD),s.If=function(n,t){eRn(u(n,37),t)},v(Zn,"CommentPreprocessor",1515),m(1516,1,Mi,M5),s.If=function(n,t){XNn(u(n,37),t)},v(Zn,"ConstraintsPostprocessor",1516),m(1517,1,Mi,oq),s.If=function(n,t){P7n(u(n,37),t)},v(Zn,"EdgeAndLayerConstraintEdgeReverser",1517),m(1518,1,Mi,xD),s.If=function(n,t){aEn(u(n,37),t)},v(Zn,"EndLabelPostprocessor",1518),m(1519,1,{},AD),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPostprocessor/lambda$0$Type",1519),m(1520,1,zt,PA),s.Mb=function(n){return V6n(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$1$Type",1520),m(1521,1,ct,sq),s.Ad=function(n){iAn(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$2$Type",1521),m(1522,1,Mi,lq),s.If=function(n,t){BCn(u(n,37),t)},v(Zn,"EndLabelPreprocessor",1522),m(1523,1,{},hk),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPreprocessor/lambda$0$Type",1523),m(1524,1,ct,JNe),s.Ad=function(n){_gn(this.a,this.b,this.c,u(n,9))},s.a=0,s.b=0,s.c=!1,v(Zn,"EndLabelPreprocessor/lambda$1$Type",1524),m(1525,1,zt,tw),s.Mb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),X7))},v(Zn,"EndLabelPreprocessor/lambda$2$Type",1525),m(1526,1,ct,vje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$3$Type",1526),m(1527,1,zt,$A),s.Mb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),Gm))},v(Zn,"EndLabelPreprocessor/lambda$4$Type",1527),m(1528,1,ct,yje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$5$Type",1528),m(1576,1,Mi,MU),s.If=function(n,t){Ajn(u(n,37),t)};var bin;v(Zn,"EndLabelSorter",1576),m(1577,1,Yt,RA),s.Le=function(n,t){return XEn(u(n,455),u(t,455))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"EndLabelSorter/1",1577),m(455,1,{455:1},b_e),v(Zn,"EndLabelSorter/LabelGroup",455),m(1578,1,{},C5),s.Kb=function(n){return oT(),new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelSorter/lambda$0$Type",1578),m(1579,1,zt,T5),s.Mb=function(n){return oT(),u(n,9).k==(Fn(),Wi)},v(Zn,"EndLabelSorter/lambda$1$Type",1579),m(1580,1,ct,MD),s.Ad=function(n){ZMn(u(n,9))},v(Zn,"EndLabelSorter/lambda$2$Type",1580),m(1581,1,zt,BA),s.Mb=function(n){return oT(),ue(C(u(n,70),(Oe(),_h)))===ue((za(),Gm))},v(Zn,"EndLabelSorter/lambda$3$Type",1581),m(1582,1,zt,CD),s.Mb=function(n){return oT(),ue(C(u(n,70),(Oe(),_h)))===ue((za(),X7))},v(Zn,"EndLabelSorter/lambda$4$Type",1582),m(1529,1,Mi,p6),s.If=function(n,t){GLn(this,u(n,37))},s.b=0,s.c=0,v(Zn,"FinalSplineBendpointsCalculator",1529),m(1530,1,{},iw),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"FinalSplineBendpointsCalculator/lambda$0$Type",1530),m(1531,1,{},zA),s.Kb=function(n){return new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Zn,"FinalSplineBendpointsCalculator/lambda$1$Type",1531),m(1532,1,zt,m6),s.Mb=function(n){return!uc(u(n,17))},v(Zn,"FinalSplineBendpointsCalculator/lambda$2$Type",1532),m(1533,1,zt,zp),s.Mb=function(n){return wi(u(n,17),(ve(),Ag))},v(Zn,"FinalSplineBendpointsCalculator/lambda$3$Type",1533),m(1534,1,ct,kje),s.Ad=function(n){WDn(this.a,u(n,132))},v(Zn,"FinalSplineBendpointsCalculator/lambda$4$Type",1534),m(1535,1,ct,FA),s.Ad=function(n){KO(u(n,17).a)},v(Zn,"FinalSplineBendpointsCalculator/lambda$5$Type",1535),m(790,1,Mi,coe),s.If=function(n,t){RPn(this,u(n,37),t)},v(Zn,"GraphTransformer",790),m(502,23,{3:1,35:1,23:1,502:1},bse);var Dte,tI,gin=yt(Zn,"GraphTransformer/Mode",502,Ct,myn,q2n),win;m(1536,1,Mi,dk),s.If=function(n,t){uNn(u(n,37),t)},v(Zn,"HierarchicalNodeResizingProcessor",1536),m(1537,1,Mi,TD),s.If=function(n,t){W8n(u(n,37),t)},v(Zn,"HierarchicalPortConstraintProcessor",1537),m(1538,1,Yt,bk),s.Le=function(n,t){return dSn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortConstraintProcessor/NodeComparator",1538),m(1539,1,Mi,gk),s.If=function(n,t){q_n(u(n,37),t)},v(Zn,"HierarchicalPortDummySizeProcessor",1539),m(1540,1,Mi,OD),s.If=function(n,t){rDn(this,u(n,37),t)},s.a=0,v(Zn,"HierarchicalPortOrthogonalEdgeRouter",1540),m(1541,1,Yt,Rh),s.Le=function(n,t){return dpn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/1",1541),m(1542,1,Yt,hv),s.Le=function(n,t){return Q9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/2",1542),m(1543,1,Mi,wk),s.If=function(n,t){PMn(u(n,37),t)},v(Zn,"HierarchicalPortPositionProcessor",1543),m(1544,1,Mi,EC),s.If=function(n,t){$Rn(this,u(n,37))},s.a=0,s.c=0;var AJ,MJ;v(Zn,"HighDegreeNodeLayeringProcessor",1544),m(566,1,{566:1},v6),s.b=-1,s.d=-1,v(Zn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",566),m(1545,1,{},fq),s.Kb=function(n){return LT(),cr(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1545),m(1546,1,{},JA),s.Kb=function(n){return LT(),Ii(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1546),m(1552,1,Mi,HA),s.If=function(n,t){P_n(this,u(n,37),t)},v(Zn,"HyperedgeDummyMerger",1552),m(791,1,{},efe),s.a=!1,s.b=!1,s.c=!1,v(Zn,"HyperedgeDummyMerger/MergeState",791),m(1553,1,{},y6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"HyperedgeDummyMerger/lambda$0$Type",1553),m(1554,1,{},pk),s.Kb=function(n){return new pn(null,new yn(u(n,9).j,16))},v(Zn,"HyperedgeDummyMerger/lambda$1$Type",1554),m(1555,1,ct,ND),s.Ad=function(n){u(n,12).p=-1},v(Zn,"HyperedgeDummyMerger/lambda$2$Type",1555),m(1556,1,Mi,hq),s.If=function(n,t){L_n(u(n,37),t)},v(Zn,"HypernodesProcessor",1556),m(1557,1,Mi,dq),s.If=function(n,t){G_n(u(n,37),t)},v(Zn,"InLayerConstraintProcessor",1557),m(1558,1,Mi,GA),s.If=function(n,t){A7n(u(n,37),t)},v(Zn,"InnermostNodeMarginCalculator",1558),m(1559,1,Mi,bq),s.If=function(n,t){Y$n(this,u(n,37))},s.a=Ir,s.b=Ir,s.c=Vi,s.d=Vi;var UBn=v(Zn,"InteractiveExternalPortPositioner",1559);m(1560,1,{},gq),s.Kb=function(n){return u(n,17).d.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$0$Type",1560),m(1561,1,{},jje),s.Kb=function(n){return bpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$1$Type",1561),m(1562,1,{},wq),s.Kb=function(n){return u(n,17).c.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$2$Type",1562),m(1563,1,{},Eje),s.Kb=function(n){return gpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$3$Type",1563),m(1564,1,{},Sje),s.Kb=function(n){return l2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$4$Type",1564),m(1565,1,{},xje),s.Kb=function(n){return f2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$5$Type",1565),m(79,23,{3:1,35:1,23:1,79:1,196:1},br),s.bg=function(){switch(this.g){case 15:return new uw;case 22:return new Up;case 48:return new aM;case 29:case 36:return new Sq;case 33:return new w6;case 43:return new LA;case 1:return new SD;case 42:return new M5;case 57:return new coe((Z9(),tI));case 0:return new coe((Z9(),Dte));case 2:return new oq;case 55:return new xD;case 34:return new lq;case 52:return new p6;case 56:return new dk;case 13:return new TD;case 39:return new gk;case 45:return new OD;case 41:return new wk;case 9:return new EC;case 50:return new AOe;case 38:return new HA;case 44:return new hq;case 28:return new dq;case 31:return new GA;case 3:return new bq;case 18:return new aq;case 30:return new pq;case 5:return new CU;case 51:return new yq;case 35:return new n9;case 37:return new xq;case 53:return new MU;case 11:return new DD;case 7:return new TU;case 40:return new Aq;case 46:return new Mq;case 16:return new Cq;case 10:return new CCe;case 49:return new Iq;case 21:return new Dq;case 23:return new GP((og(),Nx));case 8:return new UA;case 12:return new Lq;case 4:return new _D;case 19:return new uP;case 17:return new zD;case 54:return new j6;case 6:return new Jq;case 25:return new vxe;case 26:return new lM;case 47:return new KA;case 32:return new dNe;case 14:return new KD;case 27:return new Yq;case 20:return new x6;case 24:return new GP((og(),DH));default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var Nve,Ive,Dve,_ve,Lve,Pve,$ve,Rve,Bve,zve,Fve,_3,CJ,TJ,Jve,Hve,Gve,qve,Uve,Xve,Kve,cx,Vve,Yve,Qve,Wve,Zve,_te,OJ,NJ,e3e,IJ,DJ,_J,y7,vm,ym,n3e,LJ,PJ,t3e,$J,RJ,i3e,r3e,c3e,u3e,BJ,Lte,I4,zJ,FJ,JJ,HJ,o3e,s3e,l3e,f3e,XBn=yt(Zn,iee,79,Ct,KUe,U2n),pin;m(1566,1,Mi,aq),s.If=function(n,t){X$n(u(n,37),t)},v(Zn,"InvertedPortProcessor",1566),m(1567,1,Mi,pq),s.If=function(n,t){UDn(u(n,37),t)},v(Zn,"LabelAndNodeSizeProcessor",1567),m(1568,1,zt,mq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"LabelAndNodeSizeProcessor/lambda$0$Type",1568),m(1569,1,zt,ID),s.Mb=function(n){return u(n,9).k==(Fn(),wr)},v(Zn,"LabelAndNodeSizeProcessor/lambda$1$Type",1569),m(1570,1,ct,qNe),s.Ad=function(n){Lgn(this.b,this.a,this.c,u(n,9))},s.a=!1,s.c=!1,v(Zn,"LabelAndNodeSizeProcessor/lambda$2$Type",1570),m(1571,1,Mi,CU),s.If=function(n,t){x$n(u(n,37),t)};var min;v(Zn,"LabelDummyInserter",1571),m(1572,1,Ah,vq),s.Lb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),U7))},s.Fb=function(n){return this===n},s.Mb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),U7))},v(Zn,"LabelDummyInserter/1",1572),m(1573,1,Mi,yq),s.If=function(n,t){h$n(u(n,37),t)},v(Zn,"LabelDummyRemover",1573),m(1574,1,zt,kq),s.Mb=function(n){return ze(Be(C(u(n,70),(Oe(),U3))))},v(Zn,"LabelDummyRemover/lambda$0$Type",1574),m(1332,1,Mi,n9),s.If=function(n,t){u$n(this,u(n,37),t)},s.a=null;var Pte;v(Zn,"LabelDummySwitcher",1332),m(294,1,{294:1},GXe),s.c=0,s.d=null,s.f=0,v(Zn,"LabelDummySwitcher/LabelDummyInfo",294),m(1333,1,{},jq),s.Kb=function(n){return Vy(),new pn(null,new yn(u(n,25).a,16))},v(Zn,"LabelDummySwitcher/lambda$0$Type",1333),m(1334,1,zt,qA),s.Mb=function(n){return Vy(),u(n,9).k==(Fn(),Uu)},v(Zn,"LabelDummySwitcher/lambda$1$Type",1334),m(1335,1,{},Aje),s.Kb=function(n){return Wpn(this.a,u(n,9))},v(Zn,"LabelDummySwitcher/lambda$2$Type",1335),m(1336,1,ct,Mje),s.Ad=function(n){e5n(this.a,u(n,294))},v(Zn,"LabelDummySwitcher/lambda$3$Type",1336),m(1337,1,Yt,Eq),s.Le=function(n,t){return T3n(u(n,294),u(t,294))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"LabelDummySwitcher/lambda$4$Type",1337),m(789,1,Mi,Sq),s.If=function(n,t){N9n(u(n,37),t)},v(Zn,"LabelManagementProcessor",789),m(1575,1,Mi,xq),s.If=function(n,t){EIn(u(n,37),t)},v(Zn,"LabelSideSelector",1575),m(1583,1,Mi,DD),s.If=function(n,t){sLn(u(n,37),t)},v(Zn,"LayerConstraintPostprocessor",1583),m(1584,1,Mi,TU),s.If=function(n,t){uOn(u(n,37),t)};var a3e;v(Zn,"LayerConstraintPreprocessor",1584),m(367,23,{3:1,35:1,23:1,367:1},b$);var iI,GJ,qJ,$te,vin=yt(Zn,"LayerConstraintPreprocessor/HiddenNodeConnections",367,Ct,l6n,Cmn),yin;m(1585,1,Mi,Aq),s.If=function(n,t){APn(u(n,37),t)},v(Zn,"LayerSizeAndGraphHeightCalculator",1585),m(1586,1,Mi,Mq),s.If=function(n,t){oNn(u(n,37),t)},v(Zn,"LongEdgeJoiner",1586),m(1587,1,Mi,Cq),s.If=function(n,t){tPn(u(n,37),t)},v(Zn,"LongEdgeSplitter",1587),m(1588,1,Mi,CCe),s.If=function(n,t){B$n(this,u(n,37),t)},s.e=0,s.f=0,s.j=0,s.k=0,s.n=0,s.o=0;var kin,jin;v(Zn,"NodePromotion",1588),m(1589,1,Yt,Tq),s.Le=function(n,t){return Okn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NodePromotion/1",1589),m(1590,1,Yt,Oq),s.Le=function(n,t){return Nkn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NodePromotion/2",1590),m(1591,1,{},Nq),s.Kb=function(n){return u(n,49),W$(),$n(),!0},s.Fb=function(n){return this===n},v(Zn,"NodePromotion/lambda$0$Type",1591),m(1592,1,{},Cje),s.Kb=function(n){return Pyn(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$1$Type",1592),m(1593,1,{},Tje),s.Kb=function(n){return Lyn(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$2$Type",1593),m(1594,1,Mi,Iq),s.If=function(n,t){CRn(u(n,37),t)},v(Zn,"NorthSouthPortPostprocessor",1594),m(1595,1,Mi,Dq),s.If=function(n,t){_Rn(u(n,37),t)},v(Zn,"NorthSouthPortPreprocessor",1595),m(1596,1,Yt,_q),s.Le=function(n,t){return V7n(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NorthSouthPortPreprocessor/lambda$0$Type",1596),m(1597,1,Mi,UA),s.If=function(n,t){x_n(u(n,37),t)},v(Zn,"PartitionMidprocessor",1597),m(1598,1,zt,k6),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionMidprocessor/lambda$0$Type",1598),m(1599,1,ct,Oje),s.Ad=function(n){B5n(this.a,u(n,9))},v(Zn,"PartitionMidprocessor/lambda$1$Type",1599),m(1600,1,Mi,Lq),s.If=function(n,t){CNn(u(n,37),t)},v(Zn,"PartitionPostprocessor",1600),m(1601,1,Mi,_D),s.If=function(n,t){NDn(u(n,37),t)},v(Zn,"PartitionPreprocessor",1601),m(1602,1,zt,LD),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionPreprocessor/lambda$0$Type",1602),m(1603,1,zt,PD),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionPreprocessor/lambda$1$Type",1603),m(1604,1,{},$D),s.Kb=function(n){return new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Zn,"PartitionPreprocessor/lambda$2$Type",1604),m(1605,1,zt,Nje),s.Mb=function(n){return mgn(this.a,u(n,17))},v(Zn,"PartitionPreprocessor/lambda$3$Type",1605),m(1606,1,ct,RD),s.Ad=function(n){skn(u(n,17))},v(Zn,"PartitionPreprocessor/lambda$4$Type",1606),m(1607,1,zt,Ije),s.Mb=function(n){return n5n(this.a,u(n,9))},s.a=0,v(Zn,"PartitionPreprocessor/lambda$5$Type",1607),m(1608,1,Mi,uP),s.If=function(n,t){c_n(u(n,37),t)};var h3e,Ein,Sin,xin,d3e,b3e;v(Zn,"PortListSorter",1608),m(1609,1,{},O5),s.Kb=function(n){return u8(),u(n,12).e},v(Zn,"PortListSorter/lambda$0$Type",1609),m(1610,1,{},Pq),s.Kb=function(n){return u8(),u(n,12).g},v(Zn,"PortListSorter/lambda$1$Type",1610),m(1611,1,Yt,$q),s.Le=function(n,t){return mPe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$2$Type",1611),m(1612,1,Yt,Rq),s.Le=function(n,t){return kxn(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$3$Type",1612),m(1613,1,Yt,BD),s.Le=function(n,t){return wKe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$4$Type",1613),m(1614,1,Mi,zD),s.If=function(n,t){dOn(u(n,37),t)},v(Zn,"PortSideProcessor",1614),m(1615,1,Mi,j6),s.If=function(n,t){pDn(u(n,37),t)},v(Zn,"ReversedEdgeRestorer",1615),m(1620,1,Mi,vxe),s.If=function(n,t){rxn(this,u(n,37),t)},v(Zn,"SelfLoopPortRestorer",1620),m(1621,1,{},E6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPortRestorer/lambda$0$Type",1621),m(1622,1,zt,Bq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPortRestorer/lambda$1$Type",1622),m(1623,1,zt,mk),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopPortRestorer/lambda$2$Type",1623),m(1624,1,{},FD),s.Kb=function(n){return u(C(u(n,9),(ve(),vp)),338)},v(Zn,"SelfLoopPortRestorer/lambda$3$Type",1624),m(1625,1,ct,Dje),s.Ad=function(n){dCn(this.a,u(n,338))},v(Zn,"SelfLoopPortRestorer/lambda$4$Type",1625),m(792,1,ct,XA),s.Ad=function(n){SCn(u(n,107))},v(Zn,"SelfLoopPortRestorer/lambda$5$Type",792),m(1627,1,Mi,KA),s.If=function(n,t){wSn(u(n,37),t)},v(Zn,"SelfLoopPostProcessor",1627),m(1628,1,{},VA),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPostProcessor/lambda$0$Type",1628),m(1629,1,zt,JD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPostProcessor/lambda$1$Type",1629),m(1630,1,zt,HD),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopPostProcessor/lambda$2$Type",1630),m(1631,1,ct,GD),s.Ad=function(n){yAn(u(n,9))},v(Zn,"SelfLoopPostProcessor/lambda$3$Type",1631),m(1632,1,{},zq),s.Kb=function(n){return new pn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPostProcessor/lambda$4$Type",1632),m(1633,1,ct,_je),s.Ad=function(n){i6n(this.a,u(n,341))},v(Zn,"SelfLoopPostProcessor/lambda$5$Type",1633),m(1634,1,zt,Fq),s.Mb=function(n){return!!u(n,107).i},v(Zn,"SelfLoopPostProcessor/lambda$6$Type",1634),m(1635,1,ct,Lje),s.Ad=function(n){Lbn(this.a,u(n,107))},v(Zn,"SelfLoopPostProcessor/lambda$7$Type",1635),m(1616,1,Mi,Jq),s.If=function(n,t){UOn(u(n,37),t)},v(Zn,"SelfLoopPreProcessor",1616),m(1617,1,{},Hq),s.Kb=function(n){return new pn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPreProcessor/lambda$0$Type",1617),m(1618,1,{},Gq),s.Kb=function(n){return u(n,341).a},v(Zn,"SelfLoopPreProcessor/lambda$1$Type",1618),m(1619,1,ct,p1),s.Ad=function(n){$wn(u(n,17))},v(Zn,"SelfLoopPreProcessor/lambda$2$Type",1619),m(1636,1,Mi,dNe),s.If=function(n,t){YMn(this,u(n,37),t)},v(Zn,"SelfLoopRouter",1636),m(1637,1,{},S6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopRouter/lambda$0$Type",1637),m(1638,1,zt,qD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopRouter/lambda$1$Type",1638),m(1639,1,zt,UD),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopRouter/lambda$2$Type",1639),m(1640,1,{},XD),s.Kb=function(n){return u(C(u(n,9),(ve(),vp)),338)},v(Zn,"SelfLoopRouter/lambda$3$Type",1640),m(1641,1,ct,eCe),s.Ad=function(n){D5n(this.a,this.b,u(n,338))},v(Zn,"SelfLoopRouter/lambda$4$Type",1641),m(1642,1,Mi,KD),s.If=function(n,t){fIn(u(n,37),t)},v(Zn,"SemiInteractiveCrossMinProcessor",1642),m(1643,1,zt,YA),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1643),m(1644,1,zt,qq),s.Mb=function(n){return TIe(u(n,9))._b((Oe(),Nm))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1644),m(1645,1,Yt,N5),s.Le=function(n,t){return s7n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1645),m(1646,1,{},QA),s.Te=function(n,t){return R5n(u(n,9),u(t,9))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1646),m(1648,1,Mi,x6),s.If=function(n,t){GPn(u(n,37),t)},v(Zn,"SortByInputModelProcessor",1648),m(1649,1,zt,WA),s.Mb=function(n){return u(n,12).g.c.length!=0},v(Zn,"SortByInputModelProcessor/lambda$0$Type",1649),m(1650,1,ct,Pje),s.Ad=function(n){TCn(this.a,u(n,12))},v(Zn,"SortByInputModelProcessor/lambda$1$Type",1650),m(1729,804,{},JBe),s.bf=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new Te,er(li(new pn(null,new yn(this.c.a.b,16)),new n_),new cCe(this,t)),VO(this,new dv),Ao(t,new I5),t.c.length=0,er(li(new pn(null,new yn(this.c.a.b,16)),new ZA),new Rje(t)),VO(this,new YD),Ao(t,new bv),t.c.length=0,i=FTe(GY(N2(new pn(null,new yn(this.c.a.b,16)),new Bje(this))),new QD),er(new pn(null,new yn(this.c.a.a,16)),new tCe(i,t)),VO(this,new ZD),Ao(t,new Uq),t.c.length=0;break;case 3:r=new Te,VO(this,new VD),c=FTe(GY(N2(new pn(null,new yn(this.c.a.b,16)),new $je(this))),new WD),er(li(new pn(null,new yn(this.c.a.b,16)),new Xq),new rCe(c,r)),VO(this,new Kq),Ao(r,new e_),r.c.length=0;break;default:throw R(new oxe)}},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation",1729),m(1730,1,Ah,VD),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1730),m(1731,1,{},$je),s.We=function(n){return tTn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1731),m(1739,1,cF,nCe),s.be=function(){YE(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1739),m(1741,1,Ah,dv),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1741),m(1742,1,ct,I5),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1742),m(1743,1,zt,ZA),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1743),m(1745,1,ct,Rje),s.Ad=function(n){qjn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1745),m(1744,1,cF,sCe),s.be=function(){YE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1744),m(1746,1,Ah,YD),s.Lb=function(n){return X(u(n,60).g,9)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1746),m(1747,1,ct,bv),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1747),m(1748,1,{},Bje),s.We=function(n){return iTn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1748),m(1749,1,{},QD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1749),m(1732,1,{},WD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1732),m(1751,1,ct,tCe),s.Ad=function(n){k3n(this.a,this.b,u(n,320))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1751),m(1750,1,cF,iCe),s.be=function(){mUe(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1750),m(1752,1,Ah,ZD),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1752),m(1753,1,ct,Uq),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1753),m(1733,1,zt,Xq),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1733),m(1735,1,ct,rCe),s.Ad=function(n){j3n(this.a,this.b,u(n,60))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1735),m(1734,1,cF,lCe),s.be=function(){YE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1734),m(1736,1,Ah,Kq),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1736),m(1737,1,ct,e_),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1737),m(1738,1,zt,n_),s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1738),m(1740,1,ct,cCe),s.Ad=function(n){N8n(this.a,this.b,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1740),m(1547,1,Mi,AOe),s.If=function(n,t){cPn(this,u(n,37),t)};var Ain;v(lr,"HorizontalGraphCompactor",1547),m(1548,1,{},zje),s.df=function(n,t){var i,r,c;return jhe(n,t)||(i=Yv(n),r=Yv(t),i&&i.k==(Fn(),wr)||r&&r.k==(Fn(),wr))?0:(c=u(C(this.a.a,(ve(),H3)),316),mpn(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},s.ef=function(n,t){var i,r,c;return jhe(n,t)?1:(i=Yv(n),r=Yv(t),c=u(C(this.a.a,(ve(),H3)),316),dle(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},v(lr,"HorizontalGraphCompactor/1",1548),m(1549,1,{},eM),s.cf=function(n,t){return Nj(),n.a.i==0},v(lr,"HorizontalGraphCompactor/lambda$0$Type",1549),m(1550,1,{},Fje),s.cf=function(n,t){return F5n(this.a,n,t)},v(lr,"HorizontalGraphCompactor/lambda$1$Type",1550),m(1696,1,{},yRe);var Min,Cin;v(lr,"LGraphToCGraphTransformer",1696),m(1704,1,zt,b0),s.Mb=function(n){return n!=null},v(lr,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1704),m(1697,1,{},vk),s.Kb=function(n){return rl(),fu(C(u(u(n,60).g,9),(ve(),mi)))},v(lr,"LGraphToCGraphTransformer/lambda$0$Type",1697),m(1698,1,{},ad),s.Kb=function(n){return rl(),_Fe(u(u(n,60).g,156))},v(lr,"LGraphToCGraphTransformer/lambda$1$Type",1698),m(1707,1,zt,D5),s.Mb=function(n){return rl(),X(u(n,60).g,9)},v(lr,"LGraphToCGraphTransformer/lambda$10$Type",1707),m(1708,1,ct,nM),s.Ad=function(n){I5n(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$11$Type",1708),m(1709,1,zt,yk),s.Mb=function(n){return rl(),X(u(n,60).g,156)},v(lr,"LGraphToCGraphTransformer/lambda$12$Type",1709),m(1713,1,ct,kk),s.Ad=function(n){fjn(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$13$Type",1713),m(1710,1,ct,Jje),s.Ad=function(n){dwn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$14$Type",1710),m(1711,1,ct,Hje),s.Ad=function(n){gwn(this.a,u(n,119))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$15$Type",1711),m(1712,1,ct,Gje),s.Ad=function(n){bwn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$16$Type",1712),m(1714,1,{},tM),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$17$Type",1714),m(1715,1,zt,gv),s.Mb=function(n){return rl(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$18$Type",1715),m(1716,1,ct,qje),s.Ad=function(n){o8n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$19$Type",1716),m(1700,1,ct,Uje),s.Ad=function(n){P4n(this.a,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$2$Type",1700),m(1717,1,{},t_),s.Kb=function(n){return rl(),new pn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$20$Type",1717),m(1718,1,{},jk),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$21$Type",1718),m(1719,1,{},_5),s.Kb=function(n){return rl(),u(C(u(n,17),(ve(),Ag)),16)},v(lr,"LGraphToCGraphTransformer/lambda$22$Type",1719),m(1720,1,zt,Vq),s.Mb=function(n){return vpn(u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$23$Type",1720),m(1721,1,ct,Xje),s.Ad=function(n){rTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$24$Type",1721),m(1722,1,{},m1),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$25$Type",1722),m(1723,1,zt,iM),s.Mb=function(n){return rl(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$26$Type",1723),m(1725,1,ct,Kje),s.Ad=function(n){e7n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$27$Type",1725),m(1724,1,ct,Vje),s.Ad=function(n){ugn(this.a,u(n,70))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$28$Type",1724),m(1699,1,ct,uCe),s.Ad=function(n){P6n(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$3$Type",1699),m(1701,1,{},rw),s.Kb=function(n){return rl(),new pn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$4$Type",1701),m(1702,1,{},i_),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$5$Type",1702),m(1703,1,{},Ek),s.Kb=function(n){return rl(),u(C(u(n,17),(ve(),Ag)),16)},v(lr,"LGraphToCGraphTransformer/lambda$6$Type",1703),m(1705,1,ct,Yje),s.Ad=function(n){gTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$8$Type",1705),m(1706,1,ct,oCe),s.Ad=function(n){Rwn(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$9$Type",1706),m(1695,1,{},wv),s.af=function(n){var t,i,r,c,o;for(this.a=n,this.d=new wX,this.c=le(Wme,Nn,124,this.a.a.a.c.length,0,1),this.b=0,i=new P(this.a.a.a);i.a=D&&(Ce(o,ye(p)),V=k.Math.max(V,te[p-1]-y),f+=O,B+=te[p-1]-B,y=te[p-1],O=h[p]),O=k.Math.max(O,h[p]),++p;f+=O}A=k.Math.min(1/V,1/t.b/f),A>r&&(r=A,i=o)}return i},s.ng=function(){return!1},v(Ch,"MSDCutIndexHeuristic",803),m(1647,1,Mi,Yq),s.If=function(n,t){lLn(u(n,37),t)},v(Ch,"SingleEdgeGraphWrapper",1647),m(231,23,{3:1,35:1,23:1,231:1},Rj);var P3,E7,S7,jm,ux,$3,x7=yt(Tu,"CenterEdgeLabelPlacementStrategy",231,Ct,D9n,Q2n),zin;m(422,23,{3:1,35:1,23:1,422:1},gse);var w3e,Kte,p3e=yt(Tu,"ConstraintCalculationStrategy",422,Ct,iyn,W2n),Fin;m(301,23,{3:1,35:1,23:1,301:1,188:1,196:1},w$),s.bg=function(){return MUe(this)},s.og=function(){return MUe(this)};var cI,ox,m3e,v3e,y3e=yt(Tu,"CrossingMinimizationStrategy",301,Ct,f6n,Z2n),Jin;m(350,23,{3:1,35:1,23:1,350:1},VX);var k3e,Vte,YJ,j3e=yt(Tu,"CuttingStrategy",350,Ct,Xyn,emn),Hin;m(267,23,{3:1,35:1,23:1,267:1,188:1,196:1},_v),s.bg=function(){return NXe(this)},s.og=function(){return NXe(this)};var Yte,E3e,Qte,Wte,Zte,eie,nie,tie,uI,S3e=yt(Tu,"CycleBreakingStrategy",267,Ct,X8n,nmn),Gin;m(419,23,{3:1,35:1,23:1,419:1},wse);var QJ,x3e,A3e=yt(Tu,"DirectionCongruency",419,Ct,ryn,tmn),qin;m(449,23,{3:1,35:1,23:1,449:1},QX);var A7,iie,R3,Uin=yt(Tu,"EdgeConstraint",449,Ct,Kyn,imn),Xin;m(284,23,{3:1,35:1,23:1,284:1},Fj);var rie,cie,uie,oie,WJ,sie,M3e=yt(Tu,"EdgeLabelSideSelection",284,Ct,_9n,rmn),Kin;m(476,23,{3:1,35:1,23:1,476:1},pse);var ZJ,C3e,T3e=yt(Tu,"EdgeStraighteningStrategy",476,Ct,cyn,cmn),Vin;m(282,23,{3:1,35:1,23:1,282:1},Bj);var lie,O3e,N3e,eH,I3e,D3e,_3e=yt(Tu,"FixedAlignment",282,Ct,L9n,umn),Yin;m(283,23,{3:1,35:1,23:1,283:1},zj);var L3e,P3e,$3e,R3e,sx,B3e,z3e=yt(Tu,"GraphCompactionStrategy",283,Ct,P9n,omn),Qin;m(261,23,{3:1,35:1,23:1,261:1},g2);var M7,nH,C7,Vl,lx,tH,T7,B3,iH,fx,fie=yt(Tu,"GraphProperties",261,Ct,y7n,smn),Win;m(302,23,{3:1,35:1,23:1,302:1},WX);var oI,aie,hie,die=yt(Tu,"GreedySwitchType",302,Ct,Vyn,lmn),Zin;m(329,23,{3:1,35:1,23:1,329:1},ZX);var Em,F3e,sI,bie=yt(Tu,"GroupOrderStrategy",329,Ct,Yyn,fmn),ern;m(315,23,{3:1,35:1,23:1,315:1},eK);var D4,lI,z3,nrn=yt(Tu,"InLayerConstraint",315,Ct,Qyn,amn),trn;m(420,23,{3:1,35:1,23:1,420:1},mse);var gie,J3e,H3e=yt(Tu,"InteractiveReferencePoint",420,Ct,uyn,hmn),irn,G3e,_4,wp,fI,rH,q3e,U3e,cH,X3e,L4,uH,ax,P4,Y1,wie,oH,Iu,K3e,lb,po,pie,mie,aI,xg,pp,$4,V3e,rrn,R4,hI,Sm,Sa,wf,vie,F3,fb,Oi,mi,Y3e,Q3e,W3e,Z3e,e5e,yie,sH,vs,mp,kie,B4,hx,Xd,J3,vp,H3,G3,O7,Ag,n5e,jie,Eie,dx,z4,lH,F4,q3;m(165,23,{3:1,35:1,23:1,165:1},dT);var bx,Q1,gx,Mg,dI,t5e=yt(Tu,"LayerConstraint",165,Ct,c9n,dmn),crn;m(423,23,{3:1,35:1,23:1,423:1},vse);var Sie,xie,i5e=yt(Tu,"LayerUnzippingStrategy",423,Ct,oyn,bmn),urn;m(843,1,Ka,CC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,pwe),""),"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."),w5e),(hg(),Bi)),A3e),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mwe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),($n(),!1)),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mF),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),j5e),Bi),H3e),rn(Tn)))),qi(n,mF,LN,fcn),qi(n,mF,NS,lcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vwe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ywe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(sgn(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kwe),""),"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),xr),Qi),rn(Wd)),F(z(Je,1),Ae,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jwe),""),"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."),D5e),Bi),Gye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ewe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),ye(7)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Swe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xwe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LN),"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)."),g5e),Bi),S3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,PN),Ree),"Node Layering Strategy"),"Strategy for node layering."),x5e),Bi),Iye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Awe),Ree),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),E5e),Bi),t5e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Mwe),Ree),"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."),null),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Cwe),Ree),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,uee),PQe),"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."),ye(4)),dc),jr),rn(Tn)))),qi(n,uee,PN,pcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,oee),PQe),"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."),ye(2)),dc),jr),rn(Tn)))),qi(n,oee,PN,vcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,see),$Qe),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),S5e),Bi),Fye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,lee),$Qe),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),ye(0)),dc),jr),rn(Tn)))),qi(n,lee,see,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fee),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),ye(oi)),dc),jr),rn(Tn)))),qi(n,fee,PN,hcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NS),e7),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),b5e),Bi),y3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Twe),e7),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,aee),e7),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),ec),gr),rn(Tn)))),qi(n,aee,NF,Prn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hee),e7),"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),xr),Qi),rn(Tn)))),qi(n,hee,NS,Jrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Owe),e7),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),K4),Je),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Nwe),e7),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),K4),Je),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Iwe),e7),"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."),null),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Dwe),e7),"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."),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_we),RQe),"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."),ye(40)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dee),RQe),"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."),d5e),Bi),die),rn(Tn)))),qi(n,dee,NS,_rn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vF),"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."),h5e),Bi),die),rn(Tn)))),qi(n,vF,NS,Nrn),qi(n,vF,NF,Irn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,x3),BQe),"Node Placement Strategy"),"Strategy for node placement."),I5e),Bi),Pye),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,yF),BQe),"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."),xr),Qi),rn(Tn)))),qi(n,yF,x3,Pcn),qi(n,yF,x3,$cn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bee),zQe),"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."),T5e),Bi),T3e),rn(Tn)))),qi(n,bee,x3,Icn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,gee),zQe),"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."),O5e),Bi),_3e),rn(Tn)))),qi(n,gee,x3,_cn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,wee),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),ec),gr),rn(Tn)))),qi(n,wee,x3,Bcn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,pee),"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."),Bi),Wie),rn(fr)))),qi(n,pee,x3,Hcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mee),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),N5e),Bi),Wie),rn(Tn)))),qi(n,mee,x3,Jcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lwe),FQe),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),v5e),Bi),Xye),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Pwe),FQe),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),y5e),Bi),Kye),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kF),"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."),k5e),Bi),Yye),rn(Tn)))),qi(n,kF,RN,Zrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jF),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),ec),gr),rn(Tn)))),qi(n,jF,RN,ncn),qi(n,jF,kF,tcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vee),"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),ec),gr),rn(Tn)))),qi(n,vee,RN,Vrn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,$we),Ya),"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."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Rwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Bwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,zwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Fwe),Zwe),"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."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Jwe),Zwe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Hwe),Zwe),"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."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,yee),epe),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),xr),Qi),rn(Tn)))),qi(n,yee,xS,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Gwe),JQe),"Post Compaction Strategy"),HQe),c5e),Bi),z3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,qwe),JQe),"Post Compaction Constraint Calculation"),HQe),r5e),Bi),p3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,EF),npe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kee),npe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),ye(16)),dc),jr),rn(Tn)))),qi(n,kee,EF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jee),npe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),ye(5)),dc),jr),rn(Tn)))),qi(n,jee,EF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,X1),tpe),"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'."),P5e),Bi),e4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,SF),tpe),"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),ec),gr),rn(Tn)))),qi(n,SF,X1,tun),qi(n,SF,X1,iun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xF),tpe),"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),ec),gr),rn(Tn)))),qi(n,xF,X1,cun),qi(n,xF,X1,uun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IS),GQe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),L5e),Bi),j3e),rn(Tn)))),qi(n,IS,X1,hun),qi(n,IS,X1,dun),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Eee),GQe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),nh),wl),rn(Tn)))),qi(n,Eee,IS,sun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,See),"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."),_5e),dc),jr),rn(Tn)))),qi(n,See,IS,fun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AF),qQe),"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."),$5e),Bi),Zye),rn(Tn)))),qi(n,AF,X1,xun),qi(n,AF,X1,Aun),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,MF),qQe),"Valid Indices for Wrapping"),null),nh),wl),rn(Tn)))),qi(n,MF,X1,jun),qi(n,MF,X1,Eun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,CF),ipe),"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),xr),Qi),rn(Tn)))),qi(n,CF,X1,pun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TF),ipe),"Distance Penalty When Improving Cuts"),null),2),ec),gr),rn(Tn)))),qi(n,TF,X1,gun),qi(n,TF,CF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xee),ipe),"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),xr),Qi),rn(Tn)))),qi(n,xee,X1,vun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Aee),Bee),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),C5e),Bi),i5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Mee),Bee),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),xr),Qi),rn(fr)))),qi(n,Mee,Cee,xcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Cee),Bee),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),A5e),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Tee),Bee),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),M5e),xr),Qi),rn(fr)))),qi(n,Tee,Aee,Mcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Uwe),zee),"Edge Label Side Selection"),"Method to decide on edge label sides."),m5e),Bi),M3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Xwe),zee),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),p5e),Bi),x7),Ci(Tn,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,OF),DS),"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."),a5e),Bi),Hye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Kwe),DS),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$N),DS),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Oee),DS),"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."),u5e),Bi),jve),rn(Tn)))),qi(n,Oee,xS,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Vwe),DS),"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."),f5e),Bi),_ye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Nee),DS),"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),ec),gr),rn(Tn)))),qi(n,Nee,OF,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Iee),DS),"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),ec),gr),rn(Tn)))),qi(n,Iee,OF,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Dee),n7),rpe),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),rn(fr)))),qi(n,Dee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_ee),n7),rpe),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd]))))),qi(n,_ee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lee),n7),rpe),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd]))))),qi(n,Lee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ywe),n7),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),o5e),Bi),bie),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Pee),n7),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),dc),jr),rn(Tn)))),qi(n,Pee,LN,wrn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,$ee),n7),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),dc),jr),rn(Tn)))),qi(n,$ee,LN,mrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Qwe),n7),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),l5e),Bi),bie),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Wwe),n7),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),s5e),nh),wl),rn(Tn)))),aYe((new NU,n))};var orn,srn,lrn,r5e,frn,c5e,arn,u5e,hrn,drn,brn,o5e,grn,wrn,prn,mrn,vrn,s5e,yrn,l5e,krn,jrn,Ern,Srn,f5e,xrn,Arn,Mrn,a5e,Crn,Trn,Orn,h5e,Nrn,Irn,Drn,d5e,_rn,Lrn,Prn,$rn,Rrn,Brn,zrn,Frn,Jrn,Hrn,b5e,Grn,g5e,qrn,w5e,Urn,p5e,Xrn,m5e,Krn,Vrn,Yrn,v5e,Qrn,y5e,Wrn,k5e,Zrn,ecn,ncn,tcn,icn,rcn,ccn,ucn,ocn,scn,j5e,lcn,fcn,acn,hcn,dcn,bcn,E5e,gcn,wcn,pcn,mcn,vcn,ycn,kcn,S5e,jcn,x5e,Ecn,A5e,Scn,xcn,Acn,M5e,Mcn,Ccn,C5e,Tcn,Ocn,Ncn,T5e,Icn,Dcn,O5e,_cn,Lcn,Pcn,$cn,Rcn,Bcn,zcn,Fcn,N5e,Jcn,Hcn,Gcn,I5e,qcn,D5e,Ucn,Xcn,Kcn,Vcn,Ycn,Qcn,Wcn,Zcn,eun,nun,tun,iun,run,cun,uun,oun,sun,lun,_5e,fun,aun,L5e,hun,dun,bun,gun,wun,pun,mun,vun,yun,P5e,kun,jun,Eun,Sun,$5e,xun,Aun;v(Tu,"LayeredMetaDataProvider",843),m(982,1,Ka,NU),s.tf=function(n){aYe(n)};var Dh,Aie,fH,wx,aH,R5e,hH,px,bI,Mie,J4,B5e,z5e,F5e,mx,Mun,vx,xm,Cie,dH,Tie,l1,Oie,N7,J5e,gI,Nie,H5e,Cun,Tun,Oun,bH,Iie,yx,H4,Nun,pl,G5e,q5e,gH,U3,_h,wH,W1,U5e,X5e,K5e,Die,_ie,V5e,Kd,Lie,Y5e,Am,Q5e,W5e,Z5e,pH,Mm,Cg,eye,nye,Wc,tye,Iun,ku,kx,iye,rye,cye,wI,mH,vH,Pie,$ie,uye,yH,oye,sye,kH,yp,lye,Rie,jx,fye,kp,Ex,jH,Tg,Bie,I7,EH,Og,aye,hye,dye,Cm,bye,Dun,_un,Lun,Pun,jp,Tm,Zi,Vd,$un,Om,gye,D7,wye,Nm,Run,_7,pye,G4,Bun,zun,pI,zie,mye,mI,Vf,Im,X3,Ng,ab,SH,Dm,Fie,L7,P7,Ig,_m,Jie,vI,Sx,xx,Fun,Jun,Hun,vye,Gun,Hie,yye,kye,jye,Eye,Gie,Sye,xye,Aye,Mye,qie,xH;v(Tu,"LayeredOptions",982),m(983,1,{},Qq),s.uf=function(){var n;return n=new fxe,n},s.vf=function(n){},v(Tu,"LayeredOptions/LayeredFactory",983),m(1345,1,{}),s.a=0;var qun;v($u,"ElkSpacings/AbstractSpacingsBuilder",1345),m(778,1345,{},rde);var AH,Uun;v(Tu,"LayeredSpacings/LayeredSpacingsBuilder",778),m(268,23,{3:1,35:1,23:1,268:1,188:1,196:1},Lv),s.bg=function(){return MXe(this)},s.og=function(){return MXe(this)};var Uie,Xie,Kie,Cye,Tye,Oye,MH,Vie,Nye,Iye=yt(Tu,"LayeringStrategy",268,Ct,K8n,gmn),Xun;m(352,23,{3:1,35:1,23:1,352:1},nK);var Yie,Dye,CH,_ye=yt(Tu,"LongEdgeOrderingStrategy",352,Ct,Wyn,wmn),Kun;m(203,23,{3:1,35:1,23:1,203:1},p$);var K3,V3,TH,Qie,Wie=yt(Tu,"NodeFlexibility",203,Ct,a6n,pmn),Vun;m(328,23,{3:1,35:1,23:1,328:1,188:1,196:1},bT),s.bg=function(){return gUe(this)},s.og=function(){return gUe(this)};var Ax,Zie,ere,Mx,Lye,Pye=yt(Tu,"NodePlacementStrategy",328,Ct,r9n,mmn),Yun;m(243,23,{3:1,35:1,23:1,243:1},w2);var $ye,$7,Cx,yI,Rye,Bye,kI,zye,OH,NH,Fye=yt(Tu,"NodePromotionStrategy",243,Ct,v7n,vmn),Qun;m(269,23,{3:1,35:1,23:1,269:1},m$);var Jye,hb,nre,tre,Hye=yt(Tu,"OrderingStrategy",269,Ct,h6n,ymn),Wun;m(421,23,{3:1,35:1,23:1,421:1},yse);var ire,rre,Gye=yt(Tu,"PortSortingStrategy",421,Ct,syn,kmn),Zun;m(452,23,{3:1,35:1,23:1,452:1},tK);var ys,Io,Tx,eon=yt(Tu,"PortType",452,Ct,Zyn,jmn),non;m(381,23,{3:1,35:1,23:1,381:1},iK);var qye,cre,Uye,Xye=yt(Tu,"SelfLoopDistributionStrategy",381,Ct,e4n,Emn),ton;m(348,23,{3:1,35:1,23:1,348:1},rK);var ure,jI,ore,Kye=yt(Tu,"SelfLoopOrderingStrategy",348,Ct,n4n,Smn),ion;m(316,1,{316:1},lVe),v(Tu,"Spacings",316),m(349,23,{3:1,35:1,23:1,349:1},cK);var sre,Vye,Ox,Yye=yt(Tu,"SplineRoutingMode",349,Ct,t4n,xmn),ron;m(351,23,{3:1,35:1,23:1,351:1},uK);var lre,Qye,Wye,Zye=yt(Tu,"ValidifyStrategy",351,Ct,i4n,Amn),con;m(382,23,{3:1,35:1,23:1,382:1},oK);var Lm,fre,R7,e4e=yt(Tu,"WrappingStrategy",382,Ct,r4n,Mmn),uon;m(1361,1,oc,MC),s.pg=function(n){return u(n,37),oon},s.If=function(n,t){XPn(this,u(n,37),t)};var oon;v(cp,"BFSNodeOrderCycleBreaker",1361),m(1359,1,oc,oP),s.pg=function(n){return u(n,37),son},s.If=function(n,t){JLn(this,u(n,37),t)};var son;v(cp,"DFSNodeOrderCycleBreaker",1359),m(1360,1,ct,GNe),s.Ad=function(n){GDn(this.a,this.c,this.b,u(n,17))},s.b=!1,v(cp,"DFSNodeOrderCycleBreaker/lambda$0$Type",1360),m(1353,1,oc,t9),s.pg=function(n){return u(n,37),lon},s.If=function(n,t){FLn(this,u(n,37),t)};var lon;v(cp,"DepthFirstCycleBreaker",1353),m(779,1,oc,Cfe),s.pg=function(n){return u(n,37),fon},s.If=function(n,t){sBn(this,u(n,37),t)},s.qg=function(n){return u(Le(n,hz(this.e,n.c.length)),9)};var fon;v(cp,"GreedyCycleBreaker",779),m(1356,779,oc,NCe),s.qg=function(n){var t,i,r,c,o,l,f,h,g;for(g=null,r=oi,h=k.Math.max(this.b.a.c.length,u(C(this.b,(ve(),fb)),15).a),t=h*u(C(this.b,fI),15).a,c=new T6,i=ue(C(this.b,(Oe(),J4)))===ue((B0(),Em)),f=new P(n);f.ao&&(r=o,g=l));return g||u(Le(n,hz(this.e,n.c.length)),9)},v(cp,"GreedyModelOrderCycleBreaker",1356),m(505,1,{},T6),s.a=0,s.b=0,v(cp,"GroupModelOrderCalculator",505),m(1354,1,oc,cj),s.pg=function(n){return u(n,37),aon},s.If=function(n,t){bPn(this,u(n,37),t)};var aon;v(cp,"InteractiveCycleBreaker",1354),m(1355,1,oc,rj),s.pg=function(n){return u(n,37),hon},s.If=function(n,t){wPn(u(n,37),t)};var hon;v(cp,"ModelOrderCycleBreaker",1355),m(780,1,oc),s.pg=function(n){return u(n,37),don},s.If=function(n,t){rLn(this,u(n,37),t)},s.rg=function(n,t){var i,r,c,o,l,f,h,g,p,y;for(l=0;lg&&(h=S,y=g),pda(new Xn(Qn(Ii(f).a.Jc(),new ee))))for(c=new Xn(Qn(cr(h).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(cp,"SCCNodeTypeCycleBreaker",1358),m(1357,780,oc,DCe),s.rg=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A;for(l=0;lg&&(h=S,y=g),pda(new Xn(Qn(Ii(f).a.Jc(),new ee))))for(c=new Xn(Qn(cr(h).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(cp,"SCConnectivity",1357),m(1373,1,oc,AC),s.pg=function(n){return u(n,37),bon},s.If=function(n,t){hRn(this,u(n,37),t)};var bon;v(K1,"BreadthFirstModelOrderLayerer",1373),m(1374,1,Yt,dM),s.Le=function(n,t){return QCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"BreadthFirstModelOrderLayerer/lambda$0$Type",1374),m(1364,1,oc,PMe),s.pg=function(n){return u(n,37),gon},s.If=function(n,t){dBn(this,u(n,37),t)};var gon;v(K1,"CoffmanGrahamLayerer",1364),m(1365,1,Yt,cEe),s.Le=function(n,t){return rIn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1365),m(1366,1,Yt,uEe),s.Le=function(n,t){return v3n(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"CoffmanGrahamLayerer/lambda$1$Type",1366),m(1375,1,oc,xC),s.pg=function(n){return u(n,37),won},s.If=function(n,t){ZRn(this,u(n,37),t)},s.c=0,s.e=0;var won;v(K1,"DepthFirstModelOrderLayerer",1375),m(1376,1,Yt,O6),s.Le=function(n,t){return WCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"DepthFirstModelOrderLayerer/lambda$0$Type",1376),m(1367,1,oc,N6),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_te)),o1,ym),eo,vm)},s.If=function(n,t){ERn(u(n,37),t)},v(K1,"InteractiveLayerer",1367),m(564,1,{564:1},mxe),s.a=0,s.c=0,v(K1,"InteractiveLayerer/LayerSpan",564),m(1363,1,oc,lP),s.pg=function(n){return u(n,37),pon},s.If=function(n,t){WNn(this,u(n,37),t)};var pon;v(K1,"LongestPathLayerer",1363),m(1372,1,oc,fP),s.pg=function(n){return u(n,37),mon},s.If=function(n,t){vIn(this,u(n,37),t)};var mon;v(K1,"LongestPathSourceLayerer",1372),m(1370,1,oc,ko),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)},s.If=function(n,t){DRn(this,u(n,37),t)},s.a=0,s.b=0,s.d=0;var n4e,t4e;v(K1,"MinWidthLayerer",1370),m(1371,1,Yt,oEe),s.Le=function(n,t){return z7n(this,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"MinWidthLayerer/MinOutgoingEdgesComparator",1371),m(1362,1,oc,sP),s.pg=function(n){return u(n,37),von},s.If=function(n,t){YPn(this,u(n,37),t)};var von;v(K1,"NetworkSimplexLayerer",1362),m(1368,1,oc,aNe),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)},s.If=function(n,t){L$n(this,u(n,37),t)},s.d=0,s.f=0,s.g=0,s.i=0,s.s=0,s.t=0,s.u=0,v(K1,"StretchWidthLayerer",1368),m(1369,1,Yt,Zq),s.Le=function(n,t){return y9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"StretchWidthLayerer/1",1369),m(406,1,Fpe),s.eg=function(n,t,i,r,c,o){},s.tg=function(n,t,i){return iKe(this,n,t,i)},s.dg=function(){this.g=le(Zm,VQe,30,this.d,15,1),this.f=le(Zm,VQe,30,this.d,15,1)},s.fg=function(n,t){this.e[n]=le($t,ni,30,t[n].length,15,1)},s.gg=function(n,t,i){var r;r=i[n][t],r.p=t,this.e[n][t]=t},s.hg=function(n,t,i,r){u(Le(r[n][t].j,i),12).p=this.d++},s.b=0,s.c=0,s.d=0,v(Ro,"AbstractBarycenterPortDistributor",406),m(1663,1,Yt,sEe),s.Le=function(n,t){return KEn(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Ro,"AbstractBarycenterPortDistributor/lambda$0$Type",1663),m(816,1,OS,Lae),s.eg=function(n,t,i,r,c,o){},s.gg=function(n,t,i){},s.hg=function(n,t,i,r){},s.cg=function(){return!1},s.dg=function(){this.c=this.e.a,this.g=this.f.g},s.fg=function(n,t){t[n][0].c.p=n},s.ig=function(){return!1},s.ug=function(n,t,i,r){i?KHe(this,n):(eGe(this,n,r),yVe(this,n,t)),n.c.length>1&&(ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),N7))))?AUe(n,this.d,u(this,660)):(En(),Tr(n,this.d)),wze(this.e,n))},s.jg=function(n,t,i,r){var c,o,l,f,h,g,p;for(t!=NIe(i,n.length)&&(o=n[t-(i?1:-1)],uhe(this.f,o,i?(Nc(),Io):(Nc(),ys))),c=n[t][0],p=!r||c.k==(Fn(),wr),g=$f(n[t]),this.ug(g,p,!1,i),l=0,h=new P(g);h.a"),n0?GV(this.a,n[t-1],n[t]):!i&&t1&&(ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),N7))))?AUe(n,this.d,this):(En(),Tr(n,this.d)),ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),N7)))||wze(this.e,n))},v(Ro,"ModelOrderBarycenterHeuristic",660),m(1843,1,Yt,wEe),s.Le=function(n,t){return NLn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Ro,"ModelOrderBarycenterHeuristic/lambda$0$Type",1843),m(1383,1,oc,hP),s.pg=function(n){var t;return u(n,37),t=$$(Mon),qt(t,(zr(),eo),(Ur(),BJ)),t},s.If=function(n,t){X5n((u(n,37),t))};var Mon;v(Ro,"NoCrossingMinimizer",1383),m(796,406,Fpe,zoe),s.sg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A;switch(y=this.g,i.g){case 1:{for(c=0,o=0,p=new P(n.j);p.a1&&(c.j==(Ie(),nt)?this.b[n]=!0:c.j==Yn&&n>0&&(this.b[n-1]=!0))},s.f=0,v(c1,"AllCrossingsCounter",1838),m(583,1,{},OB),s.b=0,s.d=0,v(c1,"BinaryIndexedTree",583),m(519,1,{},_T);var i4e,_H;v(c1,"CrossingsCounter",519),m(1912,1,Yt,pEe),s.Le=function(n,t){return l3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$0$Type",1912),m(1913,1,Yt,mEe),s.Le=function(n,t){return f3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$1$Type",1913),m(1914,1,Yt,vEe),s.Le=function(n,t){return a3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$2$Type",1914),m(1915,1,Yt,yEe),s.Le=function(n,t){return h3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$3$Type",1915),m(1916,1,ct,kEe),s.Ad=function(n){i8n(this.a,u(n,12))},v(c1,"CrossingsCounter/lambda$4$Type",1916),m(1917,1,zt,jEe),s.Mb=function(n){return Ygn(this.a,u(n,12))},v(c1,"CrossingsCounter/lambda$5$Type",1917),m(1918,1,ct,EEe),s.Ad=function(n){oTe(this,n)},v(c1,"CrossingsCounter/lambda$6$Type",1918),m(1919,1,ct,hCe),s.Ad=function(n){var t;N9(),_0(this.b,(t=this.a,u(n,12),t))},v(c1,"CrossingsCounter/lambda$7$Type",1919),m(823,1,Ah,pM),s.Lb=function(n){return N9(),wi(u(n,12),(ve(),vs))},s.Fb=function(n){return this===n},s.Mb=function(n){return N9(),wi(u(n,12),(ve(),vs))},v(c1,"CrossingsCounter/lambda$8$Type",823),m(1911,1,{},SEe),v(c1,"HyperedgeCrossingsCounter",1911),m(467,1,{35:1,467:1},hNe),s.Dd=function(n){return $En(this,u(n,467))},s.b=0,s.c=0,s.e=0,s.f=0;var KBn=v(c1,"HyperedgeCrossingsCounter/Hyperedge",467);m(370,1,{35:1,370:1},OR),s.Dd=function(n){return OOn(this,u(n,370))},s.b=0,s.c=0;var Con=v(c1,"HyperedgeCrossingsCounter/HyperedgeCorner",370);m(518,23,{3:1,35:1,23:1,518:1},kse);var Ix,Dx,Ton=yt(c1,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",518,Ct,lyn,Nmn),Oon;m(1385,1,oc,OU),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Non:null},s.If=function(n,t){uAn(this,u(n,37),t)};var Non;v(Lc,"InteractiveNodePlacer",1385),m(1386,1,oc,NC),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Ion:null},s.If=function(n,t){USn(this,u(n,37),t)};var Ion,LH,PH;v(Lc,"LinearSegmentsNodePlacer",1386),m(263,1,{35:1,263:1},voe),s.Dd=function(n){return fgn(this,u(n,263))},s.Fb=function(n){var t;return X(n,263)?(t=u(n,263),this.b==t.b):!1},s.Hb=function(){return this.b},s.Ib=function(){return"ls"+Ga(this.e)},s.a=0,s.b=0,s.c=-1,s.d=-1,s.g=0;var Don=v(Lc,"LinearSegmentsNodePlacer/LinearSegment",263);m(1388,1,oc,FIe),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?_on:null},s.If=function(n,t){eBn(this,u(n,37),t)},s.b=0,s.g=0;var _on;v(Lc,"NetworkSimplexPlacer",1388),m(1407,1,Yt,mv),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Lc,"NetworkSimplexPlacer/0methodref$compare$Type",1407),m(1409,1,Yt,gM),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Lc,"NetworkSimplexPlacer/1methodref$compare$Type",1409),m(644,1,{644:1},dCe);var VBn=v(Lc,"NetworkSimplexPlacer/EdgeRep",644);m(405,1,{405:1},oae),s.b=!1;var YBn=v(Lc,"NetworkSimplexPlacer/NodeRep",405);m(500,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,500:1},Sxe),v(Lc,"NetworkSimplexPlacer/Path",500),m(1389,1,{},xk),s.Kb=function(n){return u(n,17).d.i.k},v(Lc,"NetworkSimplexPlacer/Path/lambda$0$Type",1389),m(1390,1,zt,a_),s.Mb=function(n){return u(n,249)==(Fn(),dr)},v(Lc,"NetworkSimplexPlacer/Path/lambda$1$Type",1390),m(1391,1,{},h_),s.Kb=function(n){return u(n,17).d.i},v(Lc,"NetworkSimplexPlacer/Path/lambda$2$Type",1391),m(1392,1,zt,xEe),s.Mb=function(n){return WOe(aJe(u(n,9)))},v(Lc,"NetworkSimplexPlacer/Path/lambda$3$Type",1392),m(1393,1,zt,J5),s.Mb=function(n){return Yvn(u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$0$Type",1393),m(1394,1,ct,bCe),s.Ad=function(n){Jwn(this.a,this.b,u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$1$Type",1394),m(1403,1,ct,AEe),s.Ad=function(n){pTn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$10$Type",1403),m(1404,1,{},wM),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$11$Type",1404),m(1405,1,ct,MEe),s.Ad=function(n){QIn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$12$Type",1405),m(1406,1,{},Ak),s.Kb=function(n){return cl(),ye(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$13$Type",1406),m(1408,1,{},Mk),s.Kb=function(n){return cl(),ye(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$15$Type",1408),m(1410,1,zt,d_),s.Mb=function(n){return cl(),u(n,405).c.k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$17$Type",1410),m(1411,1,zt,b_),s.Mb=function(n){return cl(),u(n,405).c.j.c.length>1},v(Lc,"NetworkSimplexPlacer/lambda$18$Type",1411),m(1412,1,ct,KDe),s.Ad=function(n){oEn(this.c,this.b,this.d,this.a,u(n,405))},s.c=0,s.d=0,v(Lc,"NetworkSimplexPlacer/lambda$19$Type",1412),m(1395,1,{},vv),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$2$Type",1395),m(1413,1,ct,CEe),s.Ad=function(n){Uwn(this.a,u(n,12))},s.a=0,v(Lc,"NetworkSimplexPlacer/lambda$20$Type",1413),m(1414,1,{},yv),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$21$Type",1414),m(1415,1,ct,TEe),s.Ad=function(n){Wwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$22$Type",1415),m(1416,1,zt,g_),s.Mb=function(n){return WOe(n)},v(Lc,"NetworkSimplexPlacer/lambda$23$Type",1416),m(1417,1,{},H5),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$24$Type",1417),m(1418,1,zt,OEe),s.Mb=function(n){return cwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$25$Type",1418),m(1419,1,ct,gCe),s.Ad=function(n){yCn(this.a,this.b,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$26$Type",1419),m(1420,1,zt,I6),s.Mb=function(n){return cl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$27$Type",1420),m(1421,1,zt,Ck),s.Mb=function(n){return cl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$28$Type",1421),m(1422,1,{},NEe),s.Te=function(n,t){return qwn(this.a,u(n,25),u(t,25))},v(Lc,"NetworkSimplexPlacer/lambda$29$Type",1422),m(1396,1,{},D6),s.Kb=function(n){return cl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Lc,"NetworkSimplexPlacer/lambda$3$Type",1396),m(1397,1,zt,Tk),s.Mb=function(n){return cl(),X4n(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$4$Type",1397),m(1398,1,ct,IEe),s.Ad=function(n){uLn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$5$Type",1398),m(1399,1,{},w_),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$6$Type",1399),m(1400,1,zt,kv),s.Mb=function(n){return cl(),u(n,9).k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$7$Type",1400),m(1401,1,{},p_),s.Kb=function(n){return cl(),new pn(null,new T2(new Xn(Qn(mh(u(n,9)).a.Jc(),new ee))))},v(Lc,"NetworkSimplexPlacer/lambda$8$Type",1401),m(1402,1,zt,Kp),s.Mb=function(n){return cl(),Kvn(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$9$Type",1402),m(1384,1,oc,IC),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Lon:null},s.If=function(n,t){RLn(u(n,37),t)};var Lon;v(Lc,"SimpleNodePlacer",1384),m(185,1,{185:1},p3),s.Ib=function(){var n;return n="",this.c==(gh(),Ep)?n+=v4:this.c==Yd&&(n+=m4),this.o==(La(),Dg)?n+=KZ:this.o==Za?n+="UP":n+="BALANCED",n},v(tb,"BKAlignedLayout",185),m(509,23,{3:1,35:1,23:1,509:1},jse);var Yd,Ep,Pon=yt(tb,"BKAlignedLayout/HDirection",509,Ct,ayn,Imn),$on;m(508,23,{3:1,35:1,23:1,508:1},Ese);var Dg,Za,Ron=yt(tb,"BKAlignedLayout/VDirection",508,Ct,fyn,Dmn),Bon;m(1664,1,{},wCe),v(tb,"BKAligner",1664),m(1667,1,{},$He),v(tb,"BKCompactor",1667),m(652,1,{652:1},mM),s.a=0,v(tb,"BKCompactor/ClassEdge",652),m(456,1,{456:1},yxe),s.a=null,s.b=0,v(tb,"BKCompactor/ClassNode",456),m(1387,1,oc,OCe),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?zon:null},s.If=function(n,t){pBn(this,u(n,37),t)},s.d=!1;var zon;v(tb,"BKNodePlacer",1387),m(1665,1,{},vM),s.d=0,v(tb,"NeighborhoodInformation",1665),m(1666,1,Yt,DEe),s.Le=function(n,t){return m8n(this,u(n,49),u(t,49))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(tb,"NeighborhoodInformation/NeighborComparator",1666),m(809,1,{}),v(tb,"ThresholdStrategy",809),m(1795,809,{},xxe),s.vg=function(n,t,i){return this.a.o==(La(),Za)?Vi:Ir},s.wg=function(){},v(tb,"ThresholdStrategy/NullThresholdStrategy",1795),m(576,1,{576:1},vCe),s.c=!1,s.d=!1,v(tb,"ThresholdStrategy/Postprocessable",576),m(1796,809,{},Axe),s.vg=function(n,t,i){var r,c,o;return c=t==i,r=this.a.a[i.p]==t,c||r?(o=n,this.a.c==(gh(),Ep)?(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))):(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))),o):n},s.wg=function(){for(var n,t,i,r,c;this.d.b!=0;)c=u(D_e(this.d),576),r=vKe(this,c),r.a&&(n=r.a,i=ze(this.a.f[this.a.g[c.b.p].p]),!(!i&&!uc(n)&&n.c.i.c==n.d.i.c)&&(t=kUe(this,c),t||ATe(this.e,c)));for(;this.e.a.c.length!=0;)kUe(this,u(N1e(this.e),576))},v(tb,"ThresholdStrategy/SimpleThresholdStrategy",1796),m(635,1,{635:1,188:1,196:1},Vp),s.bg=function(){return gze(this)},s.og=function(){return gze(this)};var are;v(Uee,"EdgeRouterFactory",635),m(1445,1,oc,LU),s.pg=function(n){return CIn(u(n,37))},s.If=function(n,t){XLn(u(n,37),t)};var Fon,Jon,Hon,Gon,qon,r4e,Uon,Xon;v(Uee,"OrthogonalEdgeRouter",1445),m(1438,1,oc,TCe),s.pg=function(n){return gAn(u(n,37))},s.If=function(n,t){wRn(this,u(n,37),t)};var Kon,Von,Yon,Qon,SI,Won;v(Uee,"PolylineEdgeRouter",1438),m(1439,1,Ah,Yp),s.Lb=function(n){return s1e(u(n,9))},s.Fb=function(n){return this===n},s.Mb=function(n){return s1e(u(n,9))},v(Uee,"PolylineEdgeRouter/1",1439),m(1851,1,zt,_6),s.Mb=function(n){return u(n,133).c==(ba(),db)},v(ka,"HyperEdgeCycleDetector/lambda$0$Type",1851),m(1852,1,{},yM),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$1$Type",1852),m(1853,1,zt,kM),s.Mb=function(n){return u(n,133).c==(ba(),db)},v(ka,"HyperEdgeCycleDetector/lambda$2$Type",1853),m(1854,1,{},L6),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$3$Type",1854),m(1855,1,{},P6),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$4$Type",1855),m(1856,1,{},m_),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$5$Type",1856),m(116,1,{35:1,116:1},EO),s.Dd=function(n){return agn(this,u(n,116))},s.Fb=function(n){var t;return X(n,116)?(t=u(n,116),this.g==t.g):!1},s.Hb=function(){return this.g},s.Ib=function(){var n,t,i,r;for(n=new il("{"),r=new P(this.n);r.a"+this.b+" ("+Cpn(this.c)+")"},s.d=0,v(ka,"HyperEdgeSegmentDependency",133),m(515,23,{3:1,35:1,23:1,515:1},Sse);var db,Pm,Zon=yt(ka,"HyperEdgeSegmentDependency/DependencyType",515,Ct,hyn,_mn),esn;m(1857,1,{},_Ee),v(ka,"HyperEdgeSegmentSplitter",1857),m(1858,1,{},yAe),s.a=0,s.b=0,v(ka,"HyperEdgeSegmentSplitter/AreaRating",1858),m(340,1,{340:1},WK),s.a=0,s.b=0,s.c=0,v(ka,"HyperEdgeSegmentSplitter/FreeArea",340),m(1859,1,Yt,v_),s.Le=function(n,t){return y2n(u(n,116),u(t,116))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(ka,"HyperEdgeSegmentSplitter/lambda$0$Type",1859),m(1860,1,ct,VDe),s.Ad=function(n){$6n(this.a,this.d,this.c,this.b,u(n,116))},s.b=0,v(ka,"HyperEdgeSegmentSplitter/lambda$1$Type",1860),m(1861,1,{},G5),s.Kb=function(n){return new pn(null,new yn(u(n,116).e,16))},v(ka,"HyperEdgeSegmentSplitter/lambda$2$Type",1861),m(1862,1,{},Ok),s.Kb=function(n){return new pn(null,new yn(u(n,116).j,16))},v(ka,"HyperEdgeSegmentSplitter/lambda$3$Type",1862),m(1863,1,{},y_),s.We=function(n){return ne(re(n))},v(ka,"HyperEdgeSegmentSplitter/lambda$4$Type",1863),m(653,1,{},EV),s.a=0,s.b=0,s.c=0,v(ka,"OrthogonalRoutingGenerator",653),m(1668,1,{},jM),s.Kb=function(n){return new pn(null,new yn(u(n,116).e,16))},v(ka,"OrthogonalRoutingGenerator/lambda$0$Type",1668),m(1669,1,{},EM),s.Kb=function(n){return new pn(null,new yn(u(n,116).j,16))},v(ka,"OrthogonalRoutingGenerator/lambda$1$Type",1669),m(661,1,{}),v(Xee,"BaseRoutingDirectionStrategy",661),m(1849,661,{},Mxe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t+n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Ww(this,l,c,r,!1),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1),o=t+S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1)),r=new Ee(D,o),Vt(l.a,r),Ww(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),bt},s.Ag=function(){return Ie(),Vn},v(Xee,"NorthToSouthRoutingStrategy",1849),m(1850,661,{},Cxe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t-n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Ww(this,l,c,r,!1),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1),o=t-S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1)),r=new Ee(D,o),Vt(l.a,r),Ww(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),Vn},s.Ag=function(){return Ie(),bt},v(Xee,"SouthToNorthRoutingStrategy",1850),m(1848,661,{},Txe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t+n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(o,y),Vt(l.a,r),Ww(this,l,c,r,!0),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(o,A),Vt(l.a,r),Ww(this,l,c,r,!0),o=t+S.o*i,c=S,r=new Ee(o,A),Vt(l.a,r),Ww(this,l,c,r,!0)),r=new Ee(o,D),Vt(l.a,r),Ww(this,l,c,r,!0)))},s.yg=function(n){return n.i.n.b+n.n.b+n.a.b},s.zg=function(){return Ie(),nt},s.Ag=function(){return Ie(),Yn},v(Xee,"WestToEastRoutingStrategy",1848),m(812,1,{},hge),s.Ib=function(){return Ga(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,v(hm,"NubSpline",812),m(410,1,{410:1},tXe,N_e),v(hm,"NubSpline/PolarCP",410),m(1440,1,oc,MHe),s.pg=function(n){return tMn(u(n,37))},s.If=function(n,t){PRn(this,u(n,37),t)};var nsn,tsn,isn,rsn,csn;v(hm,"SplineEdgeRouter",1440),m(273,1,{273:1},nB),s.Ib=function(){return this.a+" ->("+this.c+") "+this.b},s.c=0,v(hm,"SplineEdgeRouter/Dependency",273),m(454,23,{3:1,35:1,23:1,454:1},xse);var bb,Y3,usn=yt(hm,"SplineEdgeRouter/SideToProcess",454,Ct,dyn,Lmn),osn;m(1441,1,zt,v1),s.Mb=function(n){return oS(),!u(n,132).o},v(hm,"SplineEdgeRouter/lambda$0$Type",1441),m(1442,1,{},wd),s.Xe=function(n){return oS(),u(n,132).v+1},v(hm,"SplineEdgeRouter/lambda$1$Type",1442),m(1443,1,ct,pCe),s.Ad=function(n){Zvn(this.a,this.b,u(n,49))},v(hm,"SplineEdgeRouter/lambda$2$Type",1443),m(1444,1,ct,mCe),s.Ad=function(n){e3n(this.a,this.b,u(n,49))},v(hm,"SplineEdgeRouter/lambda$3$Type",1444),m(132,1,{35:1,132:1},fqe,mge),s.Dd=function(n){return hgn(this,u(n,132))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,v(hm,"SplineSegment",132),m(457,1,{457:1},Qp),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,v(hm,"SplineSegment/EdgeInformation",457),m(1167,1,{},SM),v(V1,rwe,1167),m(1168,1,Yt,k_),s.Le=function(n,t){return OTn(u(n,120),u(t,120))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(V1,uQe,1168),m(1166,1,{},FAe),v(V1,"MrTree",1166),m(398,23,{3:1,35:1,23:1,398:1,188:1,196:1},y$),s.bg=function(){return Dqe(this)},s.og=function(){return Dqe(this)};var $H,_x,Lx,Px,c4e=yt(V1,"TreeLayoutPhases",398,Ct,g6n,Pmn),ssn;m(1082,214,ip,bNe),s.kf=function(n,t){var i,r,c,o,l,f,h,g;for(ze(Be(ke(n,(Mu(),O4e))))||KT((i=new wj((Fb(),new k0(n))),i)),l=t.dh(Yee),l.Tg("build tGraph",1),f=(h=new tO,Pu(h,n),he(h,(Ti(),Rx),n),g=new wt,h_n(n,h,g),T_n(n,h,g),h),l.Ug(),l=t.dh(Yee),l.Tg("Split graph",1),o=m_n(this.a,f),l.Ug(),c=new P(o);c.a"+Zb(this.c):"e_"+Ni(this)},v(_S,"TEdge",65),m(120,150,{3:1,120:1,105:1,150:1},tO),s.Ib=function(){var n,t,i,r,c;for(c=null,r=St(this.b,0);r.b!=r.d.c;)i=u(jt(r),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` +`;for(t=St(this.a,0);t.b!=t.d.c;)n=u(jt(t),65),c+=(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n))+` +`;return c};var QBn=v(_S,"TGraph",120);m(633,494,{3:1,494:1,633:1,105:1,150:1}),v(_S,"TShape",633),m(40,633,{3:1,494:1,40:1,633:1,105:1,150:1},tQ),s.Ib=function(){return Zb(this)};var RH=v(_S,"TNode",40);m(236,1,n1,A1),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=St(this.a.d,0),new Nv(n)},v(_S,"TNode/2",236),m(334,1,Fr,Nv),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(jt(this.a),65).c},s.Ob=function(){return nT(this.a)},s.Qb=function(){OY(this.a)},v(_S,"TNode/2/1",334),m(1893,1,Mi,vo),s.If=function(n,t){hBn(this,u(n,120),t)},v(go,"CompactionProcessor",1893),m(1894,1,Yt,BEe),s.Le=function(n,t){return R7n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$0$Type",1894),m(1895,1,zt,kCe),s.Mb=function(n){return eyn(this.b,this.a,u(n,49))},s.a=0,s.b=0,v(go,"CompactionProcessor/lambda$1$Type",1895),m(1904,1,Yt,Cl),s.Le=function(n,t){return X3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$10$Type",1904),m(1905,1,Yt,Ik),s.Le=function(n,t){return wpn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$11$Type",1905),m(1906,1,Yt,q5),s.Le=function(n,t){return K3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$12$Type",1906),m(1896,1,zt,zEe),s.Mb=function(n){return tpn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$2$Type",1896),m(1897,1,zt,FEe),s.Mb=function(n){return ipn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$3$Type",1897),m(1898,1,zt,jv),s.Mb=function(n){return u(n,40).c.indexOf(PF)==-1},v(go,"CompactionProcessor/lambda$4$Type",1898),m(1899,1,{},JEe),s.Kb=function(n){return q4n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$5$Type",1899),m(Z0,1,{},HEe),s.Kb=function(n){return c8n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$6$Type",Z0),m(1901,1,Yt,GEe),s.Le=function(n,t){return d9n(this.a,u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$7$Type",1901),m(1902,1,Yt,qEe),s.Le=function(n,t){return b9n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$8$Type",1902),m(1903,1,Yt,Dk),s.Le=function(n,t){return ppn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$9$Type",1903),m(1891,1,Mi,$6),s.If=function(n,t){sDn(u(n,120),t)},v(go,"DirectionProcessor",1891),m(1883,1,Mi,gNe),s.If=function(n,t){C_n(this,u(n,120),t)},v(go,"FanProcessor",1883),m(1251,1,Mi,U5),s.If=function(n,t){jXe(u(n,120),t)},v(go,"GraphBoundsProcessor",1251),m(1252,1,{},eU),s.We=function(n){return u(n,40).e.a},v(go,"GraphBoundsProcessor/lambda$0$Type",1252),m(1253,1,{},Bs),s.We=function(n){return u(n,40).e.b},v(go,"GraphBoundsProcessor/lambda$1$Type",1253),m(1254,1,{},xM),s.We=function(n){return Rgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$2$Type",1254),m(1255,1,{},AM),s.We=function(n){return Bgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$3$Type",1255),m(264,23,{3:1,35:1,23:1,264:1,196:1},kw),s.bg=function(){switch(this.g){case 0:return new Hxe;case 1:return new gNe;case 2:return new Jxe;case 3:return new CM;case 4:return new E_;case 8:return new j_;case 5:return new $6;case 6:return new fh;case 7:return new vo;case 9:return new U5;case 10:return new nl;default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var u4e,o4e,s4e,l4e,f4e,a4e,h4e,d4e,b4e,g4e,hre,WBn=yt(go,iee,264,Ct,bze,$mn),lsn;m(1890,1,Mi,j_),s.If=function(n,t){fRn(u(n,120),t)},v(go,"LevelCoordinatesProcessor",1890),m(1888,1,Mi,E_),s.If=function(n,t){INn(this,u(n,120),t)},s.a=0,v(go,"LevelHeightProcessor",1888),m(1889,1,n1,nU),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),j9(),m7},v(go,"LevelHeightProcessor/1",1889),m(1884,1,Mi,Jxe),s.If=function(n,t){qIn(this,u(n,120),t)},v(go,"LevelProcessor",1884),m(1885,1,zt,MM),s.Mb=function(n){return ze(Be(C(u(n,40),(Ti(),gb))))},v(go,"LevelProcessor/lambda$0$Type",1885),m(1886,1,Mi,CM),s.If=function(n,t){zCn(this,u(n,120),t)},s.a=0,v(go,"NeighborsProcessor",1886),m(1887,1,n1,TM),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),j9(),m7},v(go,"NeighborsProcessor/1",1887),m(1892,1,Mi,fh),s.If=function(n,t){A_n(this,u(n,120),t)},s.a=0,v(go,"NodePositionProcessor",1892),m(1882,1,Mi,Hxe),s.If=function(n,t){aPn(this,u(n,120),t)},v(go,"RootProcessor",1882),m(1907,1,Mi,nl),s.If=function(n,t){CSn(u(n,120),t)},v(go,"Untreeifyer",1907),m(385,23,{3:1,35:1,23:1,385:1},lK);var xI,dre,w4e,p4e=yt(zN,"EdgeRoutingMode",385,Ct,l4n,Rmn),fsn,AI,B7,bre,m4e,v4e,gre,wre,y4e,pre,k4e,mre,$x,vre,BH,zH,Yf,xa,z7,Rx,Bx,Qd,j4e,asn,yre,gb,MI,CI;m(846,1,Ka,OC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Gpe),""),tWe),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),($n(),!1)),(hg(),xr)),Qi),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,qpe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Upe),""),"Tree Level"),"The index for the tree level the node is in"),ye(0)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Xpe),""),tWe),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Kpe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),x4e),Bi),$4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Vpe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),E4e),Bi),p4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ype),""),"Search Order"),"Which search order to use when computing a spanning tree."),S4e),Bi),B4e),rn(Tn)))),UVe((new bP,n))};var hsn,dsn,bsn,E4e,gsn,wsn,S4e,psn,msn,x4e;v(zN,"MrTreeMetaDataProvider",846),m(990,1,Ka,bP),s.tf=function(n){UVe(n)};var vsn,A4e,M4e,Sp,C4e,T4e,kre,ysn,ksn,jsn,Esn,Ssn,xsn,Asn,O4e,N4e,I4e,Msn,Q3,FH,D4e,Csn,_4e,jre,Tsn,Osn,Nsn,L4e,Isn,Lh,P4e;v(zN,"MrTreeOptions",990),m(991,1,{},_k),s.uf=function(){var n;return n=new bNe,n},s.vf=function(n){},v(zN,"MrTreeOptions/MrtreeFactory",991),m(353,23,{3:1,35:1,23:1,353:1},k$);var Ere,JH,Sre,xre,$4e=yt(zN,"OrderWeighting",353,Ct,v6n,Bmn),Dsn;m(425,23,{3:1,35:1,23:1,425:1},Ase);var R4e,Are,B4e=yt(zN,"TreeifyingOrder",425,Ct,byn,zmn),_sn;m(1446,1,oc,DU),s.pg=function(n){return u(n,120),Lsn},s.If=function(n,t){b7n(this,u(n,120),t)};var Lsn;v("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1446),m(1447,1,oc,aP),s.pg=function(n){return u(n,120),Psn},s.If=function(n,t){VIn(this,u(n,120),t)};var Psn;v(t7,"NodeOrderer",1447),m(1454,1,{},tU),s.rd=function(n){return pIe(n)},v(t7,"NodeOrderer/0methodref$lambda$6$Type",1454),m(1448,1,zt,M_),s.Mb=function(n){return Xy(),ze(Be(C(u(n,40),(Ti(),gb))))},v(t7,"NodeOrderer/lambda$0$Type",1448),m(1449,1,zt,C_),s.Mb=function(n){return Xy(),u(C(u(n,40),(Mu(),Q3)),15).a<0},v(t7,"NodeOrderer/lambda$1$Type",1449),m(1450,1,zt,XEe),s.Mb=function(n){return n7n(this.a,u(n,40))},v(t7,"NodeOrderer/lambda$2$Type",1450),m(1451,1,zt,UEe),s.Mb=function(n){return U4n(this.a,u(n,40))},v(t7,"NodeOrderer/lambda$3$Type",1451),m(1452,1,Yt,DM),s.Le=function(n,t){return y8n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(t7,"NodeOrderer/lambda$4$Type",1452),m(1453,1,zt,T_),s.Mb=function(n){return Xy(),u(C(u(n,40),(Ti(),wre)),15).a!=0},v(t7,"NodeOrderer/lambda$5$Type",1453),m(1455,1,oc,_U),s.pg=function(n){return u(n,120),$sn},s.If=function(n,t){n_n(this,u(n,120),t)},s.b=0;var $sn;v("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1455),m(1456,1,oc,TC),s.pg=function(n){return u(n,120),Rsn},s.If=function(n,t){PDn(u(n,120),t)};var Rsn,ZBn=v(Qs,"EdgeRouter",1456);m(1458,1,Yt,Lk),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/0methodref$compare$Type",1458),m(1463,1,{},OM),s.We=function(n){return ne(re(n))},v(Qs,"EdgeRouter/1methodref$doubleValue$Type",1463),m(1465,1,Yt,lw),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/2methodref$compare$Type",1465),m(1467,1,Yt,Pk),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/3methodref$compare$Type",1467),m(1469,1,{},R6),s.We=function(n){return ne(re(n))},v(Qs,"EdgeRouter/4methodref$doubleValue$Type",1469),m(1471,1,Yt,NM),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/5methodref$compare$Type",1471),m(1473,1,Yt,IM),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/6methodref$compare$Type",1473),m(1457,1,{},S_),s.Kb=function(n){return R1(),u(C(u(n,40),(Mu(),Lh)),15)},v(Qs,"EdgeRouter/lambda$0$Type",1457),m(1468,1,{},x_),s.Kb=function(n){return Tpn(u(n,40))},v(Qs,"EdgeRouter/lambda$11$Type",1468),m(1470,1,{},ECe),s.Kb=function(n){return Qvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$13$Type",1470),m(1472,1,{},jCe),s.Kb=function(n){return Ipn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$15$Type",1472),m(1474,1,Yt,A_),s.Le=function(n,t){return uSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$17$Type",1474),m(1475,1,Yt,iU),s.Le=function(n,t){return oSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$18$Type",1475),m(1476,1,Yt,O_),s.Le=function(n,t){return lSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$19$Type",1476),m(1459,1,zt,KEe),s.Mb=function(n){return Tyn(this.a,u(n,40))},s.a=0,v(Qs,"EdgeRouter/lambda$2$Type",1459),m(1477,1,Yt,N_),s.Le=function(n,t){return sSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$20$Type",1477),m(1460,1,Yt,I_),s.Le=function(n,t){return zvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$3$Type",1460),m(1461,1,Yt,_M),s.Le=function(n,t){return Fvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$4$Type",1461),m(1462,1,{},D_),s.Kb=function(n){return Opn(u(n,40))},v(Qs,"EdgeRouter/lambda$5$Type",1462),m(1464,1,{},SCe),s.Kb=function(n){return Wvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$7$Type",1464),m(1466,1,{},xCe),s.Kb=function(n){return Npn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$9$Type",1466),m(662,1,{662:1},wHe),s.e=0,s.f=!1,s.g=!1,v(Qs,"MultiLevelEdgeNodeNodeGap",662),m(1864,1,Yt,__),s.Le=function(n,t){return Jyn(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1864),m(1865,1,Yt,L_),s.Le=function(n,t){return Hyn(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1865);var W3;m(487,23,{3:1,35:1,23:1,487:1,188:1,196:1},Mse),s.bg=function(){return eJe(this)},s.og=function(){return eJe(this)};var HH,Z3,z4e=yt(Qpe,"RadialLayoutPhases",487,Ct,gyn,Fmn),Bsn;m(1083,214,ip,GAe),s.kf=function(n,t){var i,r,c,o,l,f;if(i=WUe(this,n),t.Tg("Radial layout",i.c.length),ze(Be(ke(n,(X0(),Q4e))))||KT((r=new wj((Fb(),new k0(n))),r)),f=cMn(n),Ei(n,(Xv(),W3),f),!f)throw R(new Un("The given graph is not a tree!"));for(c=ne(re(ke(n,UH))),c==0&&(c=Aqe(n)),Ei(n,UH,c),l=new P(WUe(this,n));l.a=3)for(fe=u(K(te,0),26),De=u(K(te,1),26),o=0;o+2=fe.f+De.f+p||De.f>=be.f+fe.f+p){un=!0;break}else++o;else un=!0;if(!un){for(S=te.i,f=new st(te);f.e!=f.i.gc();)l=u(ft(f),26),Ei(l,(Xt(),FI),ye(S)),--S;CKe(n,new hy),t.Ug();return}for(i=(HT(this.a),ha(this.a,(tz(),zx),u(ke(n,C6e),188)),ha(this.a,XH,u(ke(n,j6e),188)),ha(this.a,Rre,u(ke(n,x6e),188)),Hse(this.a,(On=new or,qt(On,zx,(xz(),Fre)),qt(On,XH,zre),ze(Be(ke(n,y6e)))&&qt(On,zx,Jre),ze(Be(ke(n,v6e)))&&qt(On,zx,Bre),On)),lN(this.a,n)),g=1/i.c.length,O=new P(i);O.a0&&jFe((Wn(t-1,n.length),n.charCodeAt(t-1)),mQe);)--t;if(r>=t)throw R(new Un("The given string does not contain any numbers."));if(c=rm((Qr(r,t,n.length),n.substr(r,t-r)),`,|;|\r| +`),c.length!=2)throw R(new Un("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Q2(W2(c[0])),this.b=Q2(W2(c[1]))}catch(o){throw o=sr(o),X(o,131)?(i=o,R(new Un(vQe+i))):R(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var Lr=v(_N,"KVector",8);m(78,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,78:1,414:1},xs,VP,ROe),s.Nc=function(){return Pkn(this)},s.ag=function(n){var t,i,r,c,o,l;r=rm(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),qs(this);try{for(i=0,o=0,c=0,l=0;i0&&(o%2==0?c=Q2(r[i]):l=Q2(r[i]),o>0&&o%2!=0&&Vt(this,new Ee(c,l)),++o),++i}catch(f){throw f=sr(f),X(f,131)?(t=f,R(new Un("The given string does not match the expected format for vectors."+t))):R(f)}},s.Ib=function(){var n,t,i;for(n=new il("("),t=St(this,0);t.b!=t.d.c;)i=u(jt(t),8),Kt(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var a9e=v(_N,"KVectorChain",78);m(256,23,{3:1,35:1,23:1,256:1},Jj);var lce,iG,rG,_I,LI,cG,h9e=yt(Oo,"Alignment",256,Ct,$9n,bvn),yfn;m(975,1,Ka,_C),s.tf=function(n){aKe(n)};var d9e,fce,kfn,b9e,g9e,jfn,w9e,Efn,Sfn,p9e,m9e,xfn;v(Oo,"BoxLayouterOptions",975),m(976,1,{},VM),s.uf=function(){var n;return n=new wL,n},s.vf=function(n){},v(Oo,"BoxLayouterOptions/BoxFactory",976),m(299,23,{3:1,35:1,23:1,299:1},Hj);var Kx,ace,Vx,Yx,Qx,hce,dce=yt(Oo,"ContentAlignment",299,Ct,R9n,gvn),Afn;m(689,1,Ka,DC),s.tf=function(n){en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,SWe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(hg(),K4)),Je),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,xWe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),nh),tzn),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vpe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),v9e),Bi),h9e),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,V8),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,D2e),""),"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."),nh),a9e),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IF),""),"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."),k9e),X4),dce),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,BN),""),"Debug Mode"),"Whether additional debug information shall be generated."),($n(),!1)),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Jee),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),j9e),Bi),Zx),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,RN),""),"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."),x9e),Bi),Mce),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,N2e),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NF),""),"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`."),M9e),Bi),w8e),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,am),""),"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."),R9e),nh),Sve),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AS),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_F),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,MS),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ZZ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),H9e),Bi),v8e),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,DF),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),nh),Lr),Ci(fr,F(z(eh,1),je,160,0,[Wd,Z1]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CN),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,hF),""),"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)."),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,xS),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ope),""),"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."),O9e),nh),a9e),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_pe),""),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lpe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,TBn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),nh),szn),Ci(Tn,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AWe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),ec),gr),rn(Z1)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$pe),""),"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."),N9e),nh),Eve),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ppe),""),"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),xr),Qi),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd,Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,MWe),""),"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),ec),gr),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CWe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,TWe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TN),""),vWe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),xr),Qi),rn(Tn)))),qi(n,TN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,OWe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NWe),""),"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'."),ye(100)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IWe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,DWe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),ye(4e3)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_We),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),ye(400)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LWe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,PWe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$We),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,RWe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,I2e),"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."),y9e),Bi),I8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,BWe),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),T9e),Bi),j8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,zWe),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),C9e),Bi),i8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,cpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,upe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ope),Ya),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,spe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,WZ),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Fee),Ya),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,lpe),Ya),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ape),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fm),Ya),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dpe),Ya),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bpe),Ya),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,gpe),Ya),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),nh),jan),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd,Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Rpe),Ya),"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."),Z9e),nh),Eve),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Gee),HWe),"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)."),dc),jr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,Gee,Hee,Rfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Hee),HWe),"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."),B9e),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jpe),GWe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),D9e),nh),Sve),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Q8),GWe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),_9e),X4),$c),Ci(fr,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xpe),JF),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),F9e),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Ape),JF),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Mpe),JF),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Cpe),JF),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Tpe),JF),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,S3),gne),"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."),L9e),X4),uA),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,k4),gne),"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."),$9e),X4),E8e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,j4),gne),"Node Size Minimum"),"The minimal size to which a node can be reduced."),P9e),nh),Lr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Y8),gne),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ipe),zee),"Edge Label Placement"),"Gives a hint on where to put edge labels."),E9e),Bi),r8e),rn(Z1)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dF),zee),"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),xr),Qi),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,OBn),"font"),"Font Name"),"Font name used for a label."),K4),Je),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,FWe),"font"),"Font Size"),"Font size used for a label."),dc),jr),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Ppe),wne),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),nh),Lr),rn(Wd)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Dpe),wne),"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."),dc),jr),rn(Wd)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mpe),wne),"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."),U9e),Bi),xc),rn(Wd)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,wpe),wne),"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."),ec),gr),rn(Wd)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,W8),P2e),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),G9e),X4),hG),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Epe),P2e),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Spe),P2e),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dne),o7),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),ye(3)),dc),jr),rn(Tn)))),qi(n,dne,bne,Yfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_2e),o7),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),ye(4)),dc),jr),rn(Tn)))),qi(n,_2e,dne,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ON),o7),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),ec),gr),rn(Tn)))),qi(n,ON,rp,Xfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bne),o7),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),nh),izn),rn(fr)))),qi(n,bne,rp,Kfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NN),o7),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,NN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IN),o7),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,IN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,rp),o7),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Bi),x8e),rn(fr)))),qi(n,rp,Y8,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,L2e),o7),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),ec),gr),rn(Tn)))),qi(n,L2e,rp,Ufn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ype),qWe),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kpe),qWe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xr),Qi),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Npe),"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),ec),gr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,JWe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),A9e),Bi),f8e),rn(Aa)))),Dj(n,new zy(Mj(p9(w9(new g0,Rn),"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.'))),Dj(n,new zy(Mj(p9(w9(new g0,"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.`))),Dj(n,new zy(Mj(p9(w9(new g0,$o),"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."))),Dj(n,new zy(Mj(p9(w9(new g0,"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."))),Dj(n,new zy(Mj(p9(w9(new g0,iWe),"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."))),Dj(n,new zy(Mj(p9(w9(new g0,"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."))),Dj(n,new zy(Mj(p9(w9(new g0,ql),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),VXe((new BU,n)),aKe((new _C,n)),kXe((new zU,n))};var V4,Mfn,v9e,J7,Cfn,Tfn,y9e,Rm,Bm,Ofn,PI,k9e,$I,_g,j9e,bce,gce,E9e,S9e,x9e,Nfn,A9e,Ifn,n5,M9e,Dfn,RI,wce,BI,pce,_fn,C9e,Lfn,T9e,t5,O9e,H7,N9e,I9e,D9e,i5,_9e,Lg,L9e,zm,r5,P9e,wb,$9e,uG,zI,f1,R9e,Pfn,B9e,$fn,Rfn,z9e,F9e,mce,vce,yce,kce,J9e,Ps,Wx,H9e,jce,Ece,Fm,G9e,q9e,c5,U9e,Y4,FI,Sce,Jm,Bfn,xce,zfn,Ffn,Jfn,Hfn,X9e,K9e,Q4,V9e,oG,Y9e,Q9e,Zd,Gfn,W9e,Z9e,e8e,G7,Hm,q7,W4,qfn,Ufn,sG,Xfn,lG,Kfn,Vfn,Yfn,Qfn;v(Oo,"CoreOptions",689),m(86,23,{3:1,35:1,23:1,86:1},vT);var th,Zc,ru,ih,Yl,Zx=yt(Oo,"Direction",86,Ct,Q6n,avn),Wfn;m(278,23,{3:1,35:1,23:1,278:1},S$);var fG,JI,n8e,t8e,i8e=yt(Oo,"EdgeCoords",278,Ct,y6n,hvn),Zfn;m(279,23,{3:1,35:1,23:1,279:1},pK);var U7,Gm,X7,r8e=yt(Oo,"EdgeLabelPlacement",279,Ct,p4n,dvn),ean;m(222,23,{3:1,35:1,23:1,222:1},x$);var K7,HI,Z4,Ace,Mce=yt(Oo,"EdgeRouting",222,Ct,k6n,fvn),nan;m(327,23,{3:1,35:1,23:1,327:1},Gj);var c8e,u8e,o8e,s8e,Cce,l8e,f8e=yt(Oo,"EdgeType",327,Ct,F9n,kvn),tan;m(973,1,Ka,BU),s.tf=function(n){VXe(n)};var a8e,h8e,d8e,b8e,ian,g8e,eA;v(Oo,"FixedLayouterOptions",973),m(974,1,{},YM),s.uf=function(){var n;return n=new fw,n},s.vf=function(n){},v(Oo,"FixedLayouterOptions/FixedFactory",974),m(347,23,{3:1,35:1,23:1,347:1},mK);var e0,aG,nA,w8e=yt(Oo,"HierarchyHandling",347,Ct,m4n,jvn),ran,izn=Gi(Oo,"ITopdownSizeApproximator");m(292,23,{3:1,35:1,23:1,292:1},A$);var a1,pb,GI,qI,can=yt(Oo,"LabelSide",292,Ct,j6n,yvn),uan;m(96,23,{3:1,35:1,23:1,96:1},Pv);var ed,Qf,pf,Wf,ml,Zf,mf,h1,ea,$c=yt(Oo,"NodeLabelPlacement",96,Ct,J8n,wvn),oan;m(257,23,{3:1,35:1,23:1,257:1},yT);var p8e,tA,mb,m8e,UI,iA=yt(Oo,"PortAlignment",257,Ct,l9n,pvn),san;m(102,23,{3:1,35:1,23:1,102:1},qj);var Pg,to,d1,V7,rh,vb,v8e=yt(Oo,"PortConstraints",102,Ct,z9n,mvn),lan;m(280,23,{3:1,35:1,23:1,280:1},Uj);var rA,cA,nd,XI,yb,e6,hG=yt(Oo,"PortLabelPlacement",280,Ct,B9n,vvn),fan;m(64,23,{3:1,35:1,23:1,64:1},kT);var nt,Vn,Ql,Wl,Wo,zo,ch,na,ks,hs,mo,js,Zo,es,ta,vl,yl,vf,bt,ju,Yn,xc=yt(Oo,"PortSide",64,Ct,W6n,Avn),aan;m(977,1,Ka,zU),s.tf=function(n){kXe(n)};var han,dan,y8e,ban,gan;v(Oo,"RandomLayouterOptions",977),m(978,1,{},QM),s.uf=function(){var n;return n=new nC,n},s.vf=function(n){},v(Oo,"RandomLayouterOptions/RandomFactory",978),m(300,23,{3:1,35:1,23:1,300:1},vK);var KI,Tce,k8e,j8e=yt(Oo,"ShapeCoords",300,Ct,v4n,Mvn),wan;m(380,23,{3:1,35:1,23:1,380:1},M$);var qm,VI,YI,$g,uA=yt(Oo,"SizeConstraint",380,Ct,S6n,Cvn),pan;m(266,23,{3:1,35:1,23:1,266:1},$v);var QI,dG,Y7,Oce,WI,oA,bG,gG,wG,E8e=yt(Oo,"SizeOptions",266,Ct,V8n,Svn),man;m(281,23,{3:1,35:1,23:1,281:1},yK);var Um,S8e,pG,x8e=yt(Oo,"TopdownNodeTypes",281,Ct,y4n,xvn),van;m(288,23,GF);var A8e,Nce,M8e,C8e,ZI=yt(Oo,"TopdownSizeApproximator",288,Ct,E6n,Evn);m(969,288,GF,jIe),s.Sg=function(n){return cHe(n)},yt(Oo,"TopdownSizeApproximator/1",969,ZI,null,null),m(970,288,GF,rDe),s.Sg=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(t=u(ke(n,(Xt(),Jm)),144),De=(S0(),A=new kj,A),eN(De,n),un=new wt,o=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));o.e!=o.i.gc();)r=u(ft(o),26),V=(S=new kj,S),$z(V,De),eN(V,r),On=cHe(r),jw(V,k.Math.max(r.g,On.a),k.Math.max(r.f,On.b)),Ko(un.f,r,V);for(c=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(ft(c),26),p=new st((!r.e&&(r.e=new In(pr,r,7,4)),r.e));p.e!=p.i.gc();)g=u(ft(p),85),be=u(bu(Xc(un.f,r)),26),fe=u(zn(un,K((!g.c&&(g.c=new In(mt,g,5,8)),g.c),0)),26),te=(y=new Sv,y),Et((!te.b&&(te.b=new In(mt,te,4,7)),te.b),be),Et((!te.c&&(te.c=new In(mt,te,5,8)),te.c),fe),Pz(te,Fi(be)),eN(te,g);D=u(XT(t.f),214);try{D.kf(De,new w0),eae(t.f,D)}catch(Dn){throw Dn=sr(Dn),X(Dn,101)?(O=Dn,R(O)):R(Dn)}return ga(De,Bm)||ga(De,Rm)||sZ(De),h=ne(re(ke(De,Bm))),f=ne(re(ke(De,Rm))),l=h/f,i=ne(re(ke(De,Hm)))*k.Math.sqrt((!De.a&&(De.a=new pe(Ft,De,10,11)),De.a).i),cn=u(ke(De,f1),104),U=cn.b+cn.c+1,B=cn.d+cn.a+1,new Ee(k.Math.max(U,i),k.Math.max(B,i/l))},yt(Oo,"TopdownSizeApproximator/2",970,ZI,null,null),m(971,288,GF,O_e),s.Sg=function(n){var t,i,r,c,o,l;return i=ne(re(ke(n,(Xt(),Hm)))),t=i/ne(re(ke(n,G7))),r=V_n(n),o=u(ke(n,f1),104),c=ne(re(_e(Zd))),Fi(n)&&(c=ne(re(ke(Fi(n),Zd)))),l=C1(new Ee(i,t),r),pi(l,new Ee(-(o.b+o.c)-c,-(o.d+o.a)-c))},yt(Oo,"TopdownSizeApproximator/3",971,ZI,null,null),m(972,288,GF,cDe),s.Sg=function(n){var t,i,r,c,o,l,f,h,g,p;for(l=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));l.e!=l.i.gc();)o=u(ft(l),26),ke(o,(Xt(),lG))!=null&&(!o.a&&(o.a=new pe(Ft,o,10,11)),!!o.a)&&(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i>0?(i=u(ke(o,lG),521),p=i.Sg(o),g=u(ke(o,f1),104),jw(o,k.Math.max(o.g,p.a+g.b+g.c),k.Math.max(o.f,p.b+g.d+g.a))):(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i!=0&&jw(o,ne(re(ke(o,Hm))),ne(re(ke(o,Hm)))/ne(re(ke(o,G7))));t=u(ke(n,(Xt(),Jm)),144),h=u(XT(t.f),214);try{h.kf(n,new w0),eae(t.f,h)}catch(y){throw y=sr(y),X(y,101)?(f=y,R(f)):R(y)}return Ei(n,V4,s7),yPe(n),sZ(n),c=ne(re(ke(n,Bm))),r=ne(re(ke(n,Rm))),new Ee(c,r)},yt(Oo,"TopdownSizeApproximator/4",972,ZI,null,null);var yan;m(345,1,{852:1},hy),s.Tg=function(n,t){return mGe(this,n,t)},s.Ug=function(){GGe(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?_R(this.f):null},s.Xg=function(){return _R(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,Ce(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&R4n(this,(i=new vDe,r=FW(i,n),_$n(i),r),(zB(),Dce))},s.dh=function(n){var t;return this.b?null:(t=x8n(this,this.g),Vt(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&Qhe(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,v($u,"BasicProgressMonitor",345),m(706,214,ip,wL),s.kf=function(n,t){CKe(n,t)},v($u,"BoxLayoutProvider",706),m(965,1,Yt,uSe),s.Le=function(n,t){return _Nn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},s.a=!1,v($u,"BoxLayoutProvider/1",965),m(167,1,{167:1},pB,$Oe),s.Ib=function(){return this.c?Gbe(this.c):Ga(this.b)},v($u,"BoxLayoutProvider/Group",167),m(326,23,{3:1,35:1,23:1,326:1},C$);var T8e,O8e,N8e,Ice,I8e=yt($u,"BoxLayoutProvider/PackingMode",326,Ct,x6n,Tvn),kan;m(966,1,Yt,WM),s.Le=function(n,t){return G5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$0$Type",966),m(967,1,Yt,Hk),s.Le=function(n,t){return _5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$1$Type",967),m(968,1,Yt,ZM),s.Le=function(n,t){return L5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$2$Type",968),m(1338,1,{829:1},pL),s.Lg=function(n,t){return t$(),!X(t,174)||BAe((Qy(),u(n,174)),t)},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1338),m(1339,1,ct,oSe),s.Ad=function(n){$kn(this.a,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1339),m(1340,1,ct,eC),s.Ad=function(n){u(n,105),t$()},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1340),m(1344,1,ct,sSe),s.Ad=function(n){l7n(this.a,u(n,105))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1344),m(1342,1,zt,_Ce),s.Mb=function(n){return vkn(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1342),m(1341,1,zt,LCe),s.Mb=function(n){return Dpn(this.a,this.b,u(n,829))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1341),m(1343,1,ct,PCe),s.Ad=function(n){I3n(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1343),m(930,1,{},mL),s.Kb=function(n){return NTe(n)},s.Fb=function(n){return this===n},v($u,"ElkUtil/lambda$0$Type",930),m(931,1,ct,$Ce),s.Ad=function(n){RTn(this.a,this.b,u(n,85))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$1$Type",931),m(932,1,ct,RCe),s.Ad=function(n){_bn(this.a,this.b,u(n,170))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$2$Type",932),m(933,1,ct,BCe),s.Ad=function(n){Cwn(this.a,this.b,u(n,157))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$3$Type",933),m(934,1,ct,lSe),s.Ad=function(n){n3n(this.a,u(n,372))},v($u,"ElkUtil/lambda$4$Type",934),m(331,1,{35:1,331:1},lbn),s.Dd=function(n){return Zwn(this,u(n,242))},s.Fb=function(n){var t;return X(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return lc(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,v($u,"ExclusiveBounds/ExclusiveLowerBound",331),m(1088,214,ip,fw),s.kf=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn;for(t.Tg("Fixed Layout",1),o=u(ke(n,(Xt(),S9e)),222),y=0,S=0,V=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));V.e!=V.i.gc();){for(B=u(ft(V),26),cn=u(ke(B,(FB(),eA)),8),cn&&(Dl(B,cn.a,cn.b),u(ke(B,h8e),182).Gc((Vs(),qm))&&(A=u(ke(B,b8e),8),A.a>0&&A.b>0&&Zw(B,A.a,A.b,!0,!0))),y=k.Math.max(y,B.i+B.g),S=k.Math.max(S,B.j+B.f),g=new st((!B.n&&(B.n=new pe(Eu,B,1,7)),B.n));g.e!=g.i.gc();)f=u(ft(g),157),cn=u(ke(f,eA),8),cn&&Dl(f,cn.a,cn.b),y=k.Math.max(y,B.i+f.i+f.g),S=k.Math.max(S,B.j+f.j+f.f);for(fe=new st((!B.c&&(B.c=new pe($s,B,9,9)),B.c));fe.e!=fe.i.gc();)for(be=u(ft(fe),125),cn=u(ke(be,eA),8),cn&&Dl(be,cn.a,cn.b),De=B.i+be.i,un=B.j+be.j,y=k.Math.max(y,De+be.g),S=k.Math.max(S,un+be.f),h=new st((!be.n&&(be.n=new pe(Eu,be,1,7)),be.n));h.e!=h.i.gc();)f=u(ft(h),157),cn=u(ke(f,eA),8),cn&&Dl(f,cn.a,cn.b),y=k.Math.max(y,De+f.i+f.g),S=k.Math.max(S,un+f.j+f.f);for(c=new Xn(Qn(K0(B).a.Jc(),new ee));ht(c);)i=u(rt(c),85),p=zVe(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b);for(r=new Xn(Qn(MW(B).a.Jc(),new ee));ht(r);)i=u(rt(r),85),Fi(dW(i))!=n&&(p=zVe(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b))}if(o==(J1(),K7))for(U=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));U.e!=U.i.gc();)for(B=u(ft(U),26),r=new Xn(Qn(K0(B).a.Jc(),new ee));ht(r);)i=u(rt(r),85),l=__n(i),l.b==0?Ei(i,t5,null):Ei(i,t5,l);ze(Be(ke(n,(FB(),d8e))))||(te=u(ke(n,ian),104),D=y+te.b+te.c,O=S+te.d+te.a,Zw(n,D,O,!0,!0)),t.Ug()},v($u,"FixedLayoutProvider",1088),m(379,150,{3:1,414:1,379:1,105:1,150:1},H6,CRe),s.ag=function(n){var t,i,r,c,o,l,f,h,g;if(n)try{for(h=rm(n,";,;"),o=h,l=0,f=o.length;l>16&yr|t^r<<16},s.Jc=function(){return new fSe(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+fu(this.b)+")":this.b==null?"pair("+fu(this.a)+",null)":"pair("+fu(this.a)+","+fu(this.b)+")"},v($u,"Pair",49),m(979,1,Fr,fSe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw R(new hu)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),R(new is)},s.b=!1,s.c=!1,v($u,"Pair/1",979),m(1078,214,ip,nC),s.kf=function(n,t){var i,r,c,o,l;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i==0){t.Ug();return}o=u(ke(n,(wde(),ban)),15),o&&o.a!=0?c=new QR(o.a):c=new yQ,i=eT(re(ke(n,han))),l=eT(re(ke(n,gan))),r=u(ke(n,dan),104),nRn(n,c,i,l,r),t.Ug()},v($u,"RandomLayoutProvider",1078),m(240,1,{240:1},eV),s.Fb=function(n){return Ku(this.a,u(n,240).a)&&Ku(this.b,u(n,240).b)&&Ku(this.c,u(n,240).c)},s.Hb=function(){return JB(F(z(Mr,1),Nn,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+To+this.b+To+this.c+")"},v($u,"Triple",240);var xan;m(550,1,{}),s.Jf=function(){return new Ee(this.f.i,this.f.j)},s.mf=function(n){return M_e(n,(Xt(),Ps))?ke(this.f,Aan):ke(this.f,n)},s.Kf=function(){return new Ee(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return ga(this.f,n)},s.Mf=function(n){Os(this.f,n.a),Ns(this.f,n.b)},s.Nf=function(n){Bw(this.f,n.a),Rw(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var Aan;v($S,"ElkGraphAdapters/AbstractElkGraphElementAdapter",550),m(552,1,{837:1},DP),s.Pf=function(){var n,t;if(!this.b)for(this.b=GR(NV(this.a).i),t=new st(NV(this.a));t.e!=t.i.gc();)n=u(ft(t),157),Ce(this.b,new MX(n));return this.b},s.b=null,v($S,"ElkGraphAdapters/ElkEdgeAdapter",552),m(260,550,{},k0),s.Qf=function(){return xHe(this)},s.a=null,v($S,"ElkGraphAdapters/ElkGraphAdapter",260),m(630,550,{187:1},MX),v($S,"ElkGraphAdapters/ElkLabelAdapter",630),m(551,550,{685:1},X$),s.Pf=function(){return sxn(this)},s.Tf=function(){var n;return n=u(ke(this.f,(Xt(),H7)),140),!n&&(n=new yj),n},s.Vf=function(){return lxn(this)},s.Xf=function(n){var t;t=new QK(n),Ei(this.f,(Xt(),H7),t)},s.Yf=function(n){Ei(this.f,(Xt(),f1),new Wle(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new Te,t=new Xn(Qn(MW(u(this.f,26)).a.Jc(),new ee));ht(t);)n=u(rt(t),85),Ce(this.a,new DP(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new Te,t=new Xn(Qn(K0(u(this.f,26)).a.Jc(),new ee));ht(t);)n=u(rt(t),85),Ce(this.c,new DP(n));return this.c},s.Wf=function(){return IR(u(this.f,26)).i!=0||ze(Be(u(this.f,26).mf((Xt(),RI))))},s.Zf=function(){u8n(this,(Fb(),xan))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,v($S,"ElkGraphAdapters/ElkNodeAdapter",551),m(1249,550,{836:1},aSe),s.Pf=function(){return wxn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=Gh(u(this.f,125).gh().i),t=new st(u(this.f,125).gh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.a,new DP(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=Gh(u(this.f,125).hh().i),t=new st(u(this.f,125).hh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.c,new DP(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((Xt(),c5)),64)},s._f=function(){var n,t,i,r,c,o,l,f;for(r=Pa(u(this.f,125)),i=new st(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(ft(i),85),f=new st((!n.c&&(n.c=new In(mt,n,5,8)),n.c));f.e!=f.i.gc();){if(l=u(ft(f),84),B2(iu(l),r))return!0;if(iu(l)==r&&ze(Be(ke(n,(Xt(),wce)))))return!0}for(t=new st(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(ft(t),85),o=new st((!n.b&&(n.b=new In(mt,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(ft(o),84),B2(iu(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,v($S,"ElkGraphAdapters/ElkPortAdapter",1249),m(1250,1,Yt,yL),s.Le=function(n,t){return ADn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($S,"ElkGraphAdapters/PortComparator",1250);var kb=Gi(Ul,"EObject"),Q7=Gi(C3,KWe),kl=Gi(C3,VWe),eD=Gi(C3,YWe),nD=Gi(C3,"ElkShape"),mt=Gi(C3,QWe),pr=Gi(C3,R2e),$i=Gi(C3,WWe),tD=Gi(Ul,ZWe),sA=Gi(Ul,"EFactory"),Man,_ce=Gi(Ul,eZe),Ma=Gi(Ul,"EPackage"),Pr,Can,Tan,P8e,mG,Oan,$8e,R8e,B8e,b1,Nan,Ian,Eu=Gi(C3,B2e),Ft=Gi(C3,z2e),$s=Gi(C3,F2e);m(93,1,nZe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){hi(this,n)},v(x4,"BasicNotifierImpl",93),m(100,93,cZe),s.Vh=function(){return Fs(this)},s.vh=function(n,t){return n},s.wh=function(){throw R(new _t)},s.xh=function(n){var t;return t=Oc(u(Cn(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw R(new _t)},s.zh=function(n,t,i){return dl(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return xW(this)},s.Ch=function(){throw R(new _t)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=(Lj(),n=gae(Eh(this.Ah())),n==null?Jce:new MT(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():Ji(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return fz(this,n,t,i)},s.Jh=function(n){return U9(this,n)},s.Kh=function(n,t){return aY(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw R(new _t)},s.Nh=function(){return cz(this)},s.Oh=function(n,t,i,r){return i4(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return $R(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return LQ(this,n)},s.Uh=function(n){return J_e(this,n)},s.Wh=function(n){return EVe(this,n)},s.Xh=function(){throw R(new _t)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return cz(this)},s.$h=function(n,t){yW(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=vc(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&((RW(this,this.Mh(),this.Ch()).Bb&Ec)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,l,f,h;if(i=this.Ah(),o=Ji(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(l=v3((ls(),nc),i,n),l){if(Tc(),u(l,69).vk()||(l=Fy(Vc(nc,l))),c=(r=this.Fh(l),u(r>=0?this.Ih(r,!0,!0):Yw(this,l,!0),163)),h=l.Gk(),h>1||h==-1)return u(u(c,219).Ql(n,!1),77)}else throw R(new Un(ib+n.ve()+pne));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):Yw(this,n,!1),77);return f=new nTe(this,n),f},s.ei=function(){return Ehe(this)},s.fi=function(){return(O0(),Bn).S},s.gi=function(){return dt(this.fi())},s.hi=function(n){pW(this,n)},s.Ib=function(){return Jf(this)},v(Jn,"BasicEObjectImpl",100);var Dan;m(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=She(this),t[n]},s.ji=function(n,t){var i;i=She(this),ir(i,n,t)},s.ki=function(n){var t;t=She(this),ir(t,n,null)},s.qh=function(){return u(Kn(this,4),129)},s.rh=function(){throw R(new _t)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw R(new _t)},s.li=function(n){n4(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return Go(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return Lj(),t=gae(Eh((n=u(Kn(this,16),29),n||this.fi()))),t==null?Jce:new MT(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(Kn(this,128),1996)},s.Hh=function(){return u(Kn(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(Kn(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw R(new _t)},s.Yh=function(){return u(Kn(this,64),290)},s._h=function(n){n4(this,16,n)},s.ai=function(n){n4(this,128,n)},s.bi=function(n){n4(this,64,n)},s.ei=function(){return Lo(this)},s.Db=0,v(Jn,"MinimalEObjectImpl",117),m(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},v(Jn,"MinimalEObjectImpl/Container",118),m(2045,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Bde(this,n,t,i)},s.Rh=function(n,t,i){return C0e(this,n,t,i)},s.Th=function(n){return Iae(this,n)},s.$h=function(n,t){x1e(this,n,t)},s.fi=function(){return Gu(),Ian},s.hi=function(n){h1e(this,n)},s.lf=function(){return qJe(this)},s.fh=function(){return!this.o&&(this.o=new os((Gu(),b1),n0,this,0)),this.o},s.mf=function(n){return ke(this,n)},s.nf=function(n){return ga(this,n)},s.of=function(n,t){return Ei(this,n,t)},v(vg,"EMapPropertyHolderImpl",2045),m(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},qk),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return fz(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:mB(this,ne(re(t)));return;case 1:vB(this,ne(re(t)));return}yW(this,n,t)},s.fi=function(){return Gu(),Can},s.hi=function(n){switch(n){case 0:mB(this,0);return;case 1:vB(this,0);return}pW(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (x: ",Iv(n,this.a),n.a+=", y: ",Iv(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,v(vg,"ElkBendPointImpl",559),m(727,2045,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return G1e(this,n,t,i)},s.Ph=function(n,t,i){return lW(this,n,t,i)},s.Rh=function(n,t,i){return KY(this,n,t,i)},s.Th=function(n){return u1e(this,n)},s.$h=function(n,t){r0e(this,n,t)},s.fi=function(){return Gu(),Oan},s.hi=function(n){z1e(this,n)},s.ih=function(){return this.k},s.jh=function(){return NV(this)},s.Ib=function(){return vQ(this)},s.k=null,v(vg,"ElkGraphElementImpl",727),m(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return ide(this,n,t,i)},s.Th=function(n){return fde(this,n)},s.$h=function(n,t){c0e(this,n,t)},s.fi=function(){return Gu(),Nan},s.hi=function(n){gde(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){jw(this,n,t)},s.ph=function(n,t){Dl(this,n,t)},s.Ib=function(){return gW(this)},s.f=0,s.g=0,s.i=0,s.j=0,v(vg,"ElkShapeImpl",728),m(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Dde(this,n,t,i)},s.Ph=function(n,t,i){return Wde(this,n,t,i)},s.Rh=function(n,t,i){return Zde(this,n,t,i)},s.Th=function(n){return k1e(this,n)},s.$h=function(n,t){hbe(this,n,t)},s.fi=function(){return Gu(),Tan},s.hi=function(n){Cde(this,n)},s.gh=function(){return!this.d&&(this.d=new In(pr,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new In(pr,this,7,4)),this.e},v(vg,"ElkConnectableShapeImpl",729),m(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Sv),s.xh=function(n){return Kde(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return I2(this);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new In(mt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new pe($i,this,6,6)),this.a;case 7:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return $n(),!!iS(this);case 9:return $n(),!!Vw(this);case 10:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return G1e(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?Kde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ole(this,u(n,26),i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),Co(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),Co(this.c,n,i);case 6:return!this.a&&(this.a=new pe($i,this,6,6)),Co(this.a,n,i)}return lW(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return Ole(this,null,i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),vc(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),vc(this.c,n,i);case 6:return!this.a&&(this.a=new pe($i,this,6,6)),vc(this.a,n,i)}return KY(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!I2(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return iS(this);case 9:return Vw(this);case 10:return!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return u1e(this,n)},s.$h=function(n,t){switch(n){case 3:Pz(this,u(t,26));return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b),!this.b&&(this.b=new In(mt,this,4,7)),nr(this.b,u(t,18));return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c),!this.c&&(this.c=new In(mt,this,5,8)),nr(this.c,u(t,18));return;case 6:!this.a&&(this.a=new pe($i,this,6,6)),kt(this.a),!this.a&&(this.a=new pe($i,this,6,6)),nr(this.a,u(t,18));return}r0e(this,n,t)},s.fi=function(){return Gu(),P8e},s.hi=function(n){switch(n){case 3:Pz(this,null);return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b);return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c);return;case 6:!this.a&&(this.a=new pe($i,this,6,6)),kt(this.a);return}z1e(this,n)},s.Ib=function(){return GKe(this)},v(vg,"ElkEdgeImpl",271),m(443,2045,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},yo),s.xh=function(n){return Gde(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new mr(kl,this,5)),this.a;case 6:return F_e(this);case 7:return t?zQ(this):this.i;case 8:return t?BQ(this):this.f;case 9:return!this.g&&(this.g=new In($i,this,9,10)),this.g;case 10:return!this.e&&(this.e=new In($i,this,10,9)),this.e;case 11:return this.d}return Bde(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Gde(this,i):this.Cb.Qh(this,-1-c,null,i))),Nle(this,u(n,85),i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),Co(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),Co(this.e,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(Gu(),mG)),t),69),o.uk().xk(this,Lo(this),t-dt((Gu(),mG)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new mr(kl,this,5)),vc(this.a,n,i);case 6:return Nle(this,null,i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),vc(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),vc(this.e,n,i)}return C0e(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!F_e(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Iae(this,n)},s.$h=function(n,t){switch(n){case 1:i3(this,ne(re(t)));return;case 2:r3(this,ne(re(t)));return;case 3:n3(this,ne(re(t)));return;case 4:t3(this,ne(re(t)));return;case 5:!this.a&&(this.a=new mr(kl,this,5)),kt(this.a),!this.a&&(this.a=new mr(kl,this,5)),nr(this.a,u(t,18));return;case 6:HUe(this,u(t,85));return;case 7:AB(this,u(t,84));return;case 8:xB(this,u(t,84));return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g),!this.g&&(this.g=new In($i,this,9,10)),nr(this.g,u(t,18));return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e),!this.e&&(this.e=new In($i,this,10,9)),nr(this.e,u(t,18));return;case 11:Vhe(this,Pt(t));return}x1e(this,n,t)},s.fi=function(){return Gu(),mG},s.hi=function(n){switch(n){case 1:i3(this,0);return;case 2:r3(this,0);return;case 3:n3(this,0);return;case 4:t3(this,0);return;case 5:!this.a&&(this.a=new mr(kl,this,5)),kt(this.a);return;case 6:HUe(this,null);return;case 7:AB(this,null);return;case 8:xB(this,null);return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g);return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e);return;case 11:Vhe(this,null);return}h1e(this,n)},s.Ib=function(){return eUe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,v(vg,"ElkEdgeSectionImpl",443),m(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab):$l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().xk(this,Lo(this),t-dt(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.Wh=function(n){return Oge(this,n)},s.$h=function(n,t){var i;if(n===0){!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.ai=function(n){n4(this,128,n)},s.fi=function(){return jn(),Qan},s.hi=function(n){var t;if(n===0){!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return fS(this,n)},s.Bb=0,v(Jn,"EModelElementImpl",161),m(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},LC),s.oi=function(n,t){return wVe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=sl(n)||(n.Bb&256)!=0)throw R(new Un(vne+n.zb+lp));for(r=tu(n);Vu(r.a).i!=0;){if(i=u(fN(r,0,(t=u(K(Vu(r.a),0),87),o=t.c,X(o,88)?u(o,29):(jn(),Ef))),29),Xw(i))return c=sl(i).ti().pi(i),u(c,52)._h(n),c;r=tu(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new kIe(n):new wfe(n)},s.qi=function(n,t){return ep(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.a}return $l(this,n-dt((jn(),Sb)),Cn((r=u(Kn(this,16),29),r||Sb),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,Ma,i)),R1e(this,u(n,241),i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sb)),t),69),c.uk().xk(this,Lo(this),t-dt((jn(),Sb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 1:return R1e(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Sb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Pl(this,n-dt((jn(),Sb)),Cn((t=u(Kn(this,16),29),t||Sb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:OGe(this,u(t,241));return}Hl(this,n-dt((jn(),Sb)),Cn((i=u(Kn(this,16),29),i||Sb),n),t)},s.fi=function(){return jn(),Sb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:OGe(this,null);return}Jl(this,n-dt((jn(),Sb)),Cn((t=u(Kn(this,16),29),t||Sb),n))};var lA,z8e,_an;v(Jn,"EFactoryImpl",710),m(1018,710,{109:1,2075:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},hU),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return fu(t);default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o,l,f,h;switch(n.G==-1&&(n.G=(t=sl(n),t?Bd(t.si(),n):-1)),n.G){case 4:return o=new tC,o;case 6:return l=new kj,l;case 7:return f=new koe,f;case 8:return r=new Sv,r;case 9:return i=new qk,i;case 10:return c=new yo,c;case 11:return h=new G6,h;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw R(new Un(l7+n.ve()+lp))}},v(vg,"ElkGraphFactoryImpl",1018),m(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(Kn(this,16),29),gae(Eh(n||this.fi()))),t==null?(Lj(),Lj(),Jce):new JOe(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.ve()}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Wan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){Mo(this,n)},s.Ib=function(){return RE(this)},s.zb=null,v(Jn,"ENamedElementImpl",439),m(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},h_e),s.xh=function(n){return FHe(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,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 C2(this,Ca,this)),this.rb;case 6:return!this.vb&&(this.vb=new Ty(Ma,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:K_e(this)}return $l(this,n-dt((jn(),c0)),Cn((r=u(Kn(this,16),29),r||c0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,sA,i)),F1e(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new C2(this,Ca,this)),Co(this.rb,n,i);case 6:return!this.vb&&(this.vb=new Ty(Ma,this,6,7)),Co(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?FHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,7,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),c0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),c0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 4:return F1e(this,null,i);case 5:return!this.rb&&(this.rb=new C2(this,Ca,this)),vc(this.rb,n,i);case 6:return!this.vb&&(this.vb=new Ty(Ma,this,6,7)),vc(this.vb,n,i);case 7:return dl(this,null,7,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),c0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),c0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!K_e(this)}return Pl(this,n-dt((jn(),c0)),Cn((t=u(Kn(this,16),29),t||c0),n))},s.Wh=function(n){var t;return t=GNn(this,n),t||Oge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:IB(this,Pt(t));return;case 3:NB(this,Pt(t));return;case 4:bW(this,u(t,469));return;case 5:!this.rb&&(this.rb=new C2(this,Ca,this)),kt(this.rb),!this.rb&&(this.rb=new C2(this,Ca,this)),nr(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new Ty(Ma,this,6,7)),kt(this.vb),!this.vb&&(this.vb=new Ty(Ma,this,6,7)),nr(this.vb,u(t,18));return}Hl(this,n-dt((jn(),c0)),Cn((i=u(Kn(this,16),29),i||c0),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new st(this.rb);i.e!=i.i.gc();)t=ft(i),X(t,360)&&(u(t,360).w=null);n4(this,64,n)},s.fi=function(){return jn(),c0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:IB(this,null);return;case 3:NB(this,null);return;case 4:bW(this,null);return;case 5:!this.rb&&(this.rb=new C2(this,Ca,this)),kt(this.rb);return;case 6:!this.vb&&(this.vb=new Ty(Ma,this,6,7)),kt(this.vb);return}Jl(this,n-dt((jn(),c0)),Cn((t=u(Kn(this,16),29),t||c0),n))},s.mi=function(){ZQ(this)},s.si=function(){return!this.rb&&(this.rb=new C2(this,Ca,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?RE(this):(n=new uf(RE(this)),n.a+=" (nsURI: ",Bc(n,this.yb),n.a+=", nsPrefix: ",Bc(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,v(Jn,"EPackageImpl",184),m(556,184,{109:1,2077:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},sUe),s.q=!1,s.r=!1;var Lan=!1;v(vg,"ElkGraphPackageImpl",556),m(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},tC),s.xh=function(n){return qde(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return kae(this);case 8:return this.a}return ide(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===7?(this.Cb&&(i=(r=this.Db>>16,r>=0?qde(this,i):this.Cb.Qh(this,-1-r,null,i))),Tfe(this,u(n,174),i)):lW(this,n,t,i)},s.Rh=function(n,t,i){return t==7?Tfe(this,null,i):KY(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!kae(this);case 8:return!bn("",this.a)}return fde(this,n)},s.$h=function(n,t){switch(n){case 7:Cbe(this,u(t,174));return;case 8:Uhe(this,Pt(t));return}c0e(this,n,t)},s.fi=function(){return Gu(),$8e},s.hi=function(n){switch(n){case 7:Cbe(this,null);return;case 8:Uhe(this,"");return}gde(this,n)},s.Ib=function(){return VGe(this)},s.a="",v(vg,"ElkLabelImpl",362),m(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},kj),s.xh=function(n){return Vde(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),this.c;case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),this.a;case 11:return Fi(this);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),this.b;case 13:return $n(),!this.a&&(this.a=new pe(Ft,this,10,11)),this.a.i>0}return Dde(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),Co(this.c,n,i);case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),Co(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Vde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ule(this,u(n,26),i);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),Co(this.b,n,i)}return Wde(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),vc(this.c,n,i);case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),vc(this.a,n,i);case 11:return Ule(this,null,i);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),vc(this.b,n,i)}return Zde(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Fi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new pe(Ft,this,10,11)),this.a.i>0}return k1e(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new pe($s,this,9,9)),kt(this.c),!this.c&&(this.c=new pe($s,this,9,9)),nr(this.c,u(t,18));return;case 10:!this.a&&(this.a=new pe(Ft,this,10,11)),kt(this.a),!this.a&&(this.a=new pe(Ft,this,10,11)),nr(this.a,u(t,18));return;case 11:$z(this,u(t,26));return;case 12:!this.b&&(this.b=new pe(pr,this,12,3)),kt(this.b),!this.b&&(this.b=new pe(pr,this,12,3)),nr(this.b,u(t,18));return}hbe(this,n,t)},s.fi=function(){return Gu(),R8e},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new pe($s,this,9,9)),kt(this.c);return;case 10:!this.a&&(this.a=new pe(Ft,this,10,11)),kt(this.a);return;case 11:$z(this,null);return;case 12:!this.b&&(this.b=new pe(pr,this,12,3)),kt(this.b);return}Cde(this,n)},s.Ib=function(){return Gbe(this)},v(vg,"ElkNodeImpl",206),m(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},koe),s.xh=function(n){return Ude(this,n)},s.Ih=function(n,t,i){return n==9?Pa(this):Dde(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===9?(this.Cb&&(i=(r=this.Db>>16,r>=0?Ude(this,i):this.Cb.Qh(this,-1-r,null,i))),Ile(this,u(n,26),i)):Wde(this,n,t,i)},s.Rh=function(n,t,i){return t==9?Ile(this,null,i):Zde(this,n,t,i)},s.Th=function(n){return n==9?!!Pa(this):k1e(this,n)},s.$h=function(n,t){if(n===9){Ebe(this,u(t,26));return}hbe(this,n,t)},s.fi=function(){return Gu(),B8e},s.hi=function(n){if(n===9){Ebe(this,null);return}Cde(this,n)},s.Ib=function(){return FXe(this)},v(vg,"ElkPortImpl",193);var Pan=Gi(yc,"BasicEMap/Entry");m(1091,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},G6),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return xw(this)},s.Ai=function(n){Jhe(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return fz(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:Jhe(this,u(t,147));return;case 1:Hhe(this,t);return}yW(this,n,t)},s.fi=function(){return Gu(),b1},s.hi=function(n){switch(n){case 0:Jhe(this,null);return;case 1:Hhe(this,null);return}pW(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?Ni(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,Hhe(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new j0,Kt(Kt(Kt(n,this.b?this.b.Og():Vo),nee),nE(this.c)),n.a)},s.a=-1,s.c=null;var n0=v(vg,"ElkPropertyToValueMapEntryImpl",1091);m(980,1,{},Zp),v(Wr,"JsonAdapter",980),m(215,63,q1,ah),v(Wr,"JsonImportException",215),m(850,1,{},iUe),v(Wr,"JsonImporter",850),m(884,1,{},zCe),s.Bi=function(n){QHe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$0$Type",884),m(885,1,{},FCe),s.Bi=function(n){_qe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$1$Type",885),m(893,1,{},hSe),s.Bi=function(n){UDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$10$Type",893),m(895,1,{},JCe),s.Bi=function(n){kqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$11$Type",895),m(896,1,{},HCe),s.Bi=function(n){jqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$12$Type",896),m(902,1,{},t_e),s.Bi=function(n){qGe(this.a,this.b,this.c,this.d,u(n,139))},v(Wr,"JsonImporter/lambda$13$Type",902),m(901,1,{},i_e),s.Bi=function(n){sKe(this.a,this.b,this.c,this.d,u(n,149))},v(Wr,"JsonImporter/lambda$14$Type",901),m(897,1,{},GCe),s.Bi=function(n){mNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$15$Type",897),m(898,1,{},qCe),s.Bi=function(n){vNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$16$Type",898),m(899,1,{},UCe),s.Bi=function(n){IHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$17$Type",899),m(900,1,{},XCe),s.Bi=function(n){DHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$18$Type",900),m(905,1,{},dSe),s.Bi=function(n){PGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$19$Type",905),m(886,1,{},bSe),s.Bi=function(n){GHe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$2$Type",886),m(903,1,{},gSe),s.Bi=function(n){i3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$20$Type",903),m(904,1,{},wSe),s.Bi=function(n){r3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$21$Type",904),m(908,1,{},pSe),s.Bi=function(n){LGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$22$Type",908),m(906,1,{},mSe),s.Bi=function(n){n3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$23$Type",906),m(907,1,{},vSe),s.Bi=function(n){t3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$24$Type",907),m(910,1,{},ySe),s.Bi=function(n){sGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$25$Type",910),m(909,1,{},kSe),s.Bi=function(n){XDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$26$Type",909),m(911,1,ct,KCe),s.Ad=function(n){G9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$27$Type",911),m(912,1,ct,VCe),s.Ad=function(n){q9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$28$Type",912),m(913,1,{},YCe),s.Bi=function(n){pUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$29$Type",913),m(889,1,{},jSe),s.Bi=function(n){tJe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$3$Type",889),m(914,1,{},QCe),s.Bi=function(n){BUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$30$Type",914),m(915,1,{},ESe),s.Bi=function(n){SRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$31$Type",915),m(916,1,{},SSe),s.Bi=function(n){xRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$32$Type",916),m(917,1,{},xSe),s.Bi=function(n){ARe(this.a,re(n))},v(Wr,"JsonImporter/lambda$33$Type",917),m(918,1,{},ASe),s.Bi=function(n){MRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$34$Type",918),m(919,1,{},MSe),s.Bi=function(n){FMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$35$Type",919),m(920,1,{},CSe),s.Bi=function(n){JMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$36$Type",920),m(924,1,{},n_e),v(Wr,"JsonImporter/lambda$37$Type",924),m(921,1,ct,QNe),s.Ad=function(n){p7n(this.a,this.c,this.b,u(n,372))},v(Wr,"JsonImporter/lambda$38$Type",921),m(922,1,ct,WCe),s.Ad=function(n){twn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$39$Type",922),m(887,1,{},TSe),s.Bi=function(n){i3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$4$Type",887),m(923,1,ct,ZCe),s.Ad=function(n){iwn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$40$Type",923),m(925,1,ct,WNe),s.Ad=function(n){m7n(this.a,this.b,this.c,u(n,8))},v(Wr,"JsonImporter/lambda$41$Type",925),m(888,1,{},OSe),s.Bi=function(n){r3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$5$Type",888),m(892,1,{},NSe),s.Bi=function(n){iJe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$6$Type",892),m(890,1,{},ISe),s.Bi=function(n){n3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$7$Type",890),m(891,1,{},DSe),s.Bi=function(n){t3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$8$Type",891),m(894,1,{},_Se),s.Bi=function(n){lGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$9$Type",894),m(944,1,ct,LSe),s.Ad=function(n){$y(this.a,new O2(Pt(n)))},v(Wr,"JsonMetaDataConverter/lambda$0$Type",944),m(945,1,ct,PSe),s.Ad=function(n){V3n(this.a,u(n,244))},v(Wr,"JsonMetaDataConverter/lambda$1$Type",945),m(946,1,ct,$Se),s.Ad=function(n){zyn(this.a,u(n,144))},v(Wr,"JsonMetaDataConverter/lambda$2$Type",946),m(947,1,ct,RSe),s.Ad=function(n){Y3n(this.a,u(n,160))},v(Wr,"JsonMetaDataConverter/lambda$3$Type",947),m(244,23,{3:1,35:1,23:1,244:1},jy);var vG,yG,Lce,kG,jG,EG,Pce,$ce,SG=yt(AN,"GraphFeature",244,Ct,E8n,Nvn),$an;m(11,1,{35:1,147:1},ki,Pi,an,Yr),s.Dd=function(n){return epn(this,u(n,147))},s.Fb=function(n){return M_e(this,n)},s.Rg=function(){return _e(this)},s.Og=function(){return this.b},s.Hb=function(){return _d(this.b)},s.Ib=function(){return this.b},v(AN,"Property",11),m(657,1,Yt,hX),s.Le=function(n,t){return Ljn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(AN,"PropertyHolderComparator",657),m(698,1,Fr,uoe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return V9n(this)},s.Qb=function(){IAe()},s.Ob=function(){return!!this.a},v(XF,"ElkGraphUtil/AncestorIterator",698);var F8e=Gi(yc,"EList");m(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){FE(this,n,t)},s.Ec=function(n){return Et(this,n)},s.ad=function(n,t){return b1e(this,n,t)},s.Fc=function(n){return nr(this,n)},s.Gi=function(){return new My(this)},s.Hi=function(){return new AT(this)},s.Ii=function(n){return pO(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){gY(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return SXe(this,n)},s.Hb=function(){return f1e(this)},s.Qi=function(){return!1},s.Jc=function(){return new st(this)},s.cd=function(){return new Ay(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw R(new S2(n,t));return new yV(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return hB(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return f3(this,n,t)},s.Ib=function(){return ude(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return o8(this,t)},v(yc,"AbstractEList",71),m(67,71,Nh,q6,$w,r1e),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return dHe(this,n)},s.Ei=function(n,t){OO(this,n,t)},s.Fi=function(n){nO(this,n)},s.Yi=function(n){return vhe(this,n)},s.$b=function(){EE(this)},s.Gc=function(n){return E8(this,n)},s.Xb=function(n){return K(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},v(yc,"DelegatingEList",2055),m(2056,2055,GZe),s.Ci=function(n,t){return rge(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){lUe(this,n,t)},s.Fi=function(n){Wqe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){wS(this)},s.Gj=function(n,t,i,r,c){return new x_e(this,n,t,i,r,c)},s.Hj=function(n){hi(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=x0e(this,n,t),this.Hj(this.Gj(7,ye(t),i,n,r)),i):x0e(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=oR(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=oR(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return yKe(this,n,t)},v(x4,"DelegatingNotifyingListImpl",2056),m(151,1,HN),s.lj=function(n){return f0e(this,n)},s.mj=function(){EY(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return cXe(this)},s.hj=function(){return null},s.ij=function(){return Dbe(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,l,f,h,g,p,y;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null))return g=jge(this),h=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,l=n.jj(),this.d=6,y=new $w(2),h<=l?(Et(y,this.n),Et(y,n.ij()),this.g=F(z($t,1),ni,30,15,[this.o=h,l+1])):(Et(y,n.ij()),Et(y,this.n),this.g=F(z($t,1),ni,30,15,[this.o=l,h])),this.n=y,g||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null)){for(g=jge(this),l=n.jj(),p=u(this.g,54),r=le($t,ni,30,p.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{_X(r,this.d);break}}if(XXe(this)&&(r.a+=", touch: true"),r.a+=", position: ",_X(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",Vj(r,this.hj()),r.a+=", feature: ",Vj(r,this.Ij()),r.a+=", oldValue: ",Vj(r,Dbe(this)),r.a+=", newValue: ",this.d==6&&X(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new A2(this),this.a=this.j),cf(this.b,n)):E8(this,n)},s.Wi=function(){return!0},s.a=0,v(yc,"AbstractEList/1",949),m(305,99,oF,S2),v(yc,"AbstractEList/BasicIndexOutOfBoundsException",305),m(42,1,Fr,st),s.Nb=function(n){Zr(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw R(new Il)},s.Wj=function(){return ft(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){WE(this)},s.e=0,s.f=0,s.g=-1,v(yc,"AbstractEList/EIterator",42),m(286,42,e1,Ay,yV),s.Qb=function(){WE(this)},s.Rb=function(n){bJe(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Yj=function(n){bHe(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},v(yc,"AbstractEList/EListIterator",286),m(355,42,Fr,My),s.Wj=function(){return PQ(this)},s.Qb=function(){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEIterator",355),m(391,286,e1,AT,Vle),s.Rb=function(n){throw R(new _t)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEListIterator",391),m(2042,71,qZe),s.Ci=function(n,t){var i,r,c,o,l,f,h,g,p,y,S;if(c=t.gc(),c!=0){for(g=u(Kn(this.a,4),129),p=g==null?0:g.length,S=p+c,r=oQ(this,S),y=p-n,y>0&&Wu(g,n,r,n+c,y),h=t.Jc(),l=0;li)throw R(new S2(n,i));return new zDe(this,n)},s.$b=function(){var n,t;++this.j,n=u(Kn(this.a,4),129),t=n==null?0:n.length,y8(this,null),gY(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c=i)throw R(new S2(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;ii)throw R(new S2(n,i));return new BDe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=EJe(this),c=i==null?0:i.length,n>=c)throw R(new jo(Cne+n+yg+c));if(t>=c)throw R(new jo(Tne+t+yg+c));return r=i[t],n!=t&&(n0&&Wu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(Kn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.lengthr&&ir(n,r,null),n};var Ran;v(yc,"ArrayDelegatingEList",2042),m(1032,42,Fr,XPe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},s.Qb=function(){WE(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EIterator",1032),m(712,286,e1,uDe,BDe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},s.Yj=function(n){bHe(this,n),this.a=u(Kn(this.b.a,4),129)},s.Qb=function(){WE(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EListIterator",712),m(1033,355,Fr,KPe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},v(yc,"ArrayDelegatingEList/NonResolvingEIterator",1033),m(713,391,e1,oDe,zDe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},v(yc,"ArrayDelegatingEList/NonResolvingEListIterator",713),m(605,305,oF,EK),v(yc,"BasicEList/BasicIndexOutOfBoundsException",605),m(699,67,Nh,Dse),s._c=function(n,t){throw R(new _t)},s.Ec=function(n){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.$b=function(){throw R(new _t)},s.Zi=function(n){throw R(new _t)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw R(new _t)},s.Si=function(n,t){throw R(new _t)},s.ed=function(n){throw R(new _t)},s.Kc=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},v(yc,"BasicEList/UnmodifiableEList",699),m(711,1,{3:1,20:1,18:1,16:1,61:1,586:1}),s._c=function(n,t){Hwn(this,n,u(t,45))},s.Ec=function(n){return $pn(this,u(n,45))},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return u(K(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){Gwn(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return W3n(this,n,u(t,45))},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return xO(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=le(J8e,ime,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),dz(this,n);this.e=i}},s.Fb=function(n){return NNe(this,n)},s.Hb=function(){return f1e(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new BSe(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return rO(this)},s.ak=function(n,t,i){return new ZNe(n,t,i)},s.bk=function(){return new jL},s.Kc=function(n){return EBe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new D0(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return ude(this.c)},s.e=0,s.f=0,v(yc,"BasicEMap",711),m(1027,67,Nh,BSe),s.Ki=function(n,t){xbn(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){Abn(this,u(t,136))},s.Pi=function(n,t,i){Epn(this,u(t,136),u(i,136))},s.Mi=function(n,t){pze(this.a)},v(yc,"BasicEMap/1",1027),m(1028,67,Nh,jL),s.$i=function(n){return le(czn,UZe,611,n,0,1)},v(yc,"BasicEMap/2",1028),m(1029,Ua,fs,zSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xQ(this.a,n)},s.Jc=function(){return this.a.f==0?(T9(),cD.a):new SAe(this.a)},s.Kc=function(n){var t;return t=this.a.f,iz(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},v(yc,"BasicEMap/3",1029),m(1030,31,um,FSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xXe(this.a,n)},s.Jc=function(){return this.a.f==0?(T9(),cD.a):new xAe(this.a)},s.gc=function(){return this.a.f},v(yc,"BasicEMap/4",1030),m(1031,Ua,fs,JSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,l,f,h,g;if(this.a.f>0&&X(n,45)&&(this.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Dle(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),g=t.i,l=0;l"+this.c},s.a=0;var czn=v(yc,"BasicEMap/EntryImpl",611);m(534,1,{},X6),v(yc,"BasicEMap/View",534);var cD;m(769,1,{}),s.Fb=function(n){return dbe((En(),Sc),n)},s.Hb=function(){return j1e((En(),Sc))},s.Ib=function(){return Ga((En(),Sc))},v(yc,"ECollections/BasicEmptyUnmodifiableEList",769),m(1302,1,e1,iC),s.Nb=function(n){Zr(this,n)},s.Rb=function(n){throw R(new _t)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw R(new hu)},s.Tb=function(){return 0},s.Ub=function(){throw R(new hu)},s.Vb=function(){return-1},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"ECollections/BasicEmptyUnmodifiableEList/1",1302),m(1300,769,{20:1,18:1,16:1,61:1},Nxe),s._c=function(n,t){XAe()},s.Ec=function(n){return UAe()},s.ad=function(n,t){return KAe()},s.Fc=function(n){return VAe()},s.$b=function(){YAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Rse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return QAe()},s.Si=function(n,t){WAe()},s.ed=function(n){return ZAe()},s.Kc=function(n){return eMe()},s.fd=function(n,t){return nMe()},s.gc=function(){return 0},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.hd=function(n,t){return En(),new D0(Sc,n,t)},s.Nc=function(){return Ife((En(),Sc))},s.Oc=function(n){return En(),KE(Sc,n)},v(yc,"ECollections/EmptyUnmodifiableEList",1300),m(1301,769,{20:1,18:1,16:1,61:1,586:1},Ixe),s._c=function(n,t){XAe()},s.Ec=function(n){return UAe()},s.ad=function(n,t){return KAe()},s.Fc=function(n){return VAe()},s.$b=function(){YAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Rse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return QAe()},s.Si=function(n,t){WAe()},s.ed=function(n){return ZAe()},s.Kc=function(n){return eMe()},s.fd=function(n,t){return nMe()},s.gc=function(){return 0},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.hd=function(n,t){return En(),new D0(Sc,n,t)},s.Nc=function(){return Ife((En(),Sc))},s.Oc=function(n){return En(),KE(Sc,n)},s._j=function(){return En(),En(),u1},v(yc,"ECollections/EmptyUnmodifiableEMap",1301);var G8e=Gi(yc,"Enumerator"),xG;m(290,1,{290:1},DW),s.Fb=function(n){var t;return this===n?!0:X(n,290)?(t=u(n,290),this.f==t.f&&g3n(this.i,t.i)&&uV(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&uV(this.d,t.d)&&uV(this.g,t.g)&&uV(this.e,t.e)&&mSn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return cKe(this)},s.f=0;var Ban=0,zan=0,Fan=0,Jan=0,q8e=0,U8e=0,X8e=0,K8e=0,V8e=0,Han,fA=0,aA=0,Gan=0,qan=0,AG,Y8e;v(yc,"URI",290),m(1090,44,j3,Dxe),s.yc=function(n,t){return u(Kc(this,Pt(n),u(t,290)),290)},v(yc,"URI/URICache",1090),m(492,67,Nh,rC,dR),s.Qi=function(){return!0},v(yc,"UniqueEList",492),m(578,63,q1,fB),v(yc,"WrappedException",578);var Zt=Gi(Ul,VZe),Xm=Gi(Ul,YZe),ns=Gi(Ul,QZe),Km=Gi(Ul,WZe),Ca=Gi(Ul,ZZe),yf=Gi(Ul,"EClass"),zce=Gi(Ul,"EDataType"),Uan;m(1198,44,j3,_xe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(Ul,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1198);var MG=Gi(Ul,"EEnum"),td=Gi(Ul,een),Rc=Gi(Ul,nen),kf=Gi(Ul,ten),jf,xp=Gi(Ul,ien),Vm=Gi(Ul,ren);m(1023,1,{},cC),s.Ib=function(){return"NIL"},v(Ul,"EStructuralFeature/Internal/DynamicValueHolder/1",1023);var Xan;m(1022,44,j3,Lxe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(Ul,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1022);var Fo=Gi(Ul,cen),n6=Gi(Ul,"EValidator/PatternMatcher"),Q8e,W8e,Bn,t0,Ym,jb,Kan,Van,Yan,Eb,i0,Sb,Ap,uh,Qan,Wan,Ef,r0,Zan,c0,Qm,u5,Ac,ehn,nhn,Mp,CG=Gi(Ri,"FeatureMap/Entry");m(533,1,{75:1},O$),s.Jk=function(){return this.a},s.kd=function(){return this.b},v(Jn,"BasicEObjectImpl/1",533),m(1021,1,Lne,nTe),s.Dk=function(n){return aY(this.a,this.b,n)},s.Oj=function(){return J_e(this.a,this.b)},s.Wb=function(n){vae(this.a,this.b,n)},s.Ek=function(){m5n(this.a,this.b)},v(Jn,"BasicEObjectImpl/4",1021),m(2043,1,{114:1}),s.Kk=function(n){this.e=n==0?thn:le(Mr,Nn,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw R(new _t)},s.Nk=function(){throw R(new _t)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw R(new _t)},s.Sk=function(n){throw R(new _t)},s.Tk=function(n){this.d=n};var thn;v(Jn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2043),m(192,2043,{114:1},tl),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},v(Jn,"BasicEObjectImpl/EPropertiesHolderImpl",192),m(501,100,cZe,xv),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new tl),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(O0(),Bn).S},s.i=0,s.j=1,v(Jn,"EObjectImpl",501),m(785,501,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},wfe),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return Ji(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new EL),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=dt(this.d),this.e=n==0?ihn:le(Mr,Nn,1,n,5,1)),this},s.gi=function(){return 0};var ihn;v(Jn,"DynamicEObjectImpl",785),m(1483,785,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},kIe),s.Fb=function(n){return this===n},s.Hb=function(){return xw(this)},s._h=function(n){this.d=n,this.b=tN(n,"key"),this.c=tN(n,zS)},s.yi=function(){var n;return this.a==-1&&(n=SY(this,this.b),this.a=n==null?0:Ni(n)),this.a},s.jd=function(){return SY(this,this.b)},s.kd=function(){return SY(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){vae(this,this.b,n)},s.ld=function(n){var t;return t=SY(this,this.c),vae(this,this.c,n),t},s.a=0,v(Jn,"DynamicEObjectImpl/BasicEMapEntry",1483),m(1484,1,{114:1},EL),s.Kk=function(n){throw R(new _t)},s.ii=function(n){throw R(new _t)},s.ji=function(n,t){throw R(new _t)},s.ki=function(n){throw R(new _t)},s.Lk=function(){throw R(new _t)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw R(new _t)},s.Qk=function(n){throw R(new _t)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},v(Jn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1484),m(504,161,{109:1,94:1,93:1,587:1,158:1,57:1,114:1,52:1,100:1,504:1,161:1,117:1,118:1},_b),s.xh=function(n){return Xde(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b):(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),rO(this.b));case 3:return V_e(this);case 4:return!this.a&&(this.a=new mr(kb,this,4)),this.a;case 5:return!this.c&&(this.c=new qv(kb,this,5)),this.c}return $l(this,n-dt((jn(),t0)),Cn((r=u(Kn(this,16),29),r||t0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?Xde(this,i):this.Cb.Qh(this,-1-c,null,i))),Ofe(this,u(n,158),i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),Y$(this.b,n,i);case 3:return Ofe(this,null,i);case 4:return!this.a&&(this.a=new mr(kb,this,4)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!V_e(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Pl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:t3n(this,Pt(t));return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),DB(this.b,t);return;case 3:XUe(this,u(t,158));return;case 4:!this.a&&(this.a=new mr(kb,this,4)),kt(this.a),!this.a&&(this.a=new mr(kb,this,4)),nr(this.a,u(t,18));return;case 5:!this.c&&(this.c=new qv(kb,this,5)),kt(this.c),!this.c&&(this.c=new qv(kb,this,5)),nr(this.c,u(t,18));return}Hl(this,n-dt((jn(),t0)),Cn((i=u(Kn(this,16),29),i||t0),n),t)},s.fi=function(){return jn(),t0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:qhe(this,null);return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b.c.$b();return;case 3:XUe(this,null);return;case 4:!this.a&&(this.a=new mr(kb,this,4)),kt(this.a);return;case 5:!this.c&&(this.c=new qv(kb,this,5)),kt(this.c);return}Jl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.Ib=function(){return RFe(this)},s.d=null,v(Jn,"EAnnotationImpl",504),m(142,711,rme,os),s.Ei=function(n,t){Mwn(this,n,u(t,45))},s.Uk=function(n,t){return M2n(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return Y$(this,n,t)},s.Dk=function(n){return u(this.c,77).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,77).Oj()},s.ak=function(n,t,i){var r;return r=u(sl(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new soe(this)},s.Wb=function(n){DB(this,n)},s.Ek=function(){u(this.c,77).Ek()},v(Ri,"EcoreEMap",142),m(169,142,rme,Hs),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=le(J8e,ime,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&oi)%o.length,n=o[c],!n&&(n=o[c]=new soe(this)),n.Ec(t);this.d=o}},v(Jn,"EAnnotationImpl/1",169),m(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0)}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),nhn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.Xk(1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){af(this),this.Bb|=1},s.Fk=function(){return af(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return J1e(this,n,t)},s.Xk=function(n){z2(this,n)},s.Ib=function(){return rbe(this)},s.s=0,s.t=1,v(Jn,"ETypedElementImpl",293),m(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return THe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this)}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?THe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,17,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 17:return dl(this,null,17,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this)}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),ehn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.Xk(1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,MB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return T8(this)},s.ok=function(){return D2(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return yz(this)},s.uk=function(){var n,t,i,r,c,o,l,f,h;return this.p||(i=D2(this),(i.i==null&&Eh(i),i.i).length,r=this.sk(),r&&dt(D2(r)),c=af(this),l=c.ik(),n=l?(l.i&1)!=0?l==ts?Qi:l==$t?jr:l==Zm?p7:l==Jr?gr:l==Tp?ap:l==f5?hp:l==ds?A4:QS:l:null,t=T8(this),f=c.gk(),Fjn(this),(this.Bb&Sh)!=0&&((o=e0e((ls(),nc),i))&&o!=this||(o=Fy(Vc(nc,this))))?this.p=new iTe(this,o):this.Hk()?this.$k()?r?(this.Bb&as)!=0?n?this._k()?this.p=new Vb(47,n,this,r):this.p=new Vb(5,n,this,r):this._k()?this.p=new ng(46,this,r):this.p=new ng(4,this,r):n?this._k()?this.p=new Vb(49,n,this,r):this.p=new Vb(7,n,this,r):this._k()?this.p=new ng(48,this,r):this.p=new ng(6,this,r):(this.Bb&as)!=0?n?n==Eg?this.p=new Md(50,Pan,this):this._k()?this.p=new Md(43,n,this):this.p=new Md(1,n,this):this._k()?this.p=new Td(42,this):this.p=new Td(0,this):n?n==Eg?this.p=new Md(41,Pan,this):this._k()?this.p=new Md(45,n,this):this.p=new Md(3,n,this):this._k()?this.p=new Td(44,this):this.p=new Td(2,this):X(c,159)?n==CG?this.p=new Td(40,this):(this.Bb&512)!=0?(this.Bb&as)!=0?n?this.p=new Md(9,n,this):this.p=new Td(8,this):n?this.p=new Md(11,n,this):this.p=new Td(10,this):(this.Bb&as)!=0?n?this.p=new Md(13,n,this):this.p=new Td(12,this):n?this.p=new Md(15,n,this):this.p=new Td(14,this):r?(h=r.t,h>1||h==-1?this._k()?(this.Bb&as)!=0?n?this.p=new Vb(25,n,this,r):this.p=new ng(24,this,r):n?this.p=new Vb(27,n,this,r):this.p=new ng(26,this,r):(this.Bb&as)!=0?n?this.p=new Vb(29,n,this,r):this.p=new ng(28,this,r):n?this.p=new Vb(31,n,this,r):this.p=new ng(30,this,r):this._k()?(this.Bb&as)!=0?n?this.p=new Vb(33,n,this,r):this.p=new ng(32,this,r):n?this.p=new Vb(35,n,this,r):this.p=new ng(34,this,r):(this.Bb&as)!=0?n?this.p=new Vb(37,n,this,r):this.p=new ng(36,this,r):n?this.p=new Vb(39,n,this,r):this.p=new ng(38,this,r)):this._k()?(this.Bb&as)!=0?n?this.p=new Md(17,n,this):this.p=new Td(16,this):n?this.p=new Md(19,n,this):this.p=new Td(18,this):(this.Bb&as)!=0?n?this.p=new Md(21,n,this):this.p=new Td(20,this):n?this.p=new Md(23,n,this):this.p=new Td(22,this):this.Zk()?this._k()?this.p=new UNe(u(c,29),this,r):this.p=new wae(u(c,29),this,r):X(c,159)?n==CG?this.p=new Td(40,this):(this.Bb&as)!=0?n?this.p=new HIe(t,f,this,(MQ(),l==$t?c7e:l==ts?e7e:l==Tp?u7e:l==Zm?r7e:l==Jr?i7e:l==f5?o7e:l==ds?n7e:l==Zl?t7e:Hce)):this.p=new c_e(u(c,159),t,f,this):n?this.p=new JIe(t,f,this,(MQ(),l==$t?c7e:l==ts?e7e:l==Tp?u7e:l==Zm?r7e:l==Jr?i7e:l==f5?o7e:l==ds?n7e:l==Zl?t7e:Hce)):this.p=new r_e(u(c,159),t,f,this):this.$k()?r?(this.Bb&as)!=0?this._k()?this.p=new KNe(u(c,29),this,r):this.p=new nfe(u(c,29),this,r):this._k()?this.p=new XNe(u(c,29),this,r):this.p=new ZK(u(c,29),this,r):(this.Bb&as)!=0?this._k()?this.p=new GOe(u(c,29),this):this.p=new yle(u(c,29),this):this._k()?this.p=new HOe(u(c,29),this):this.p=new BK(u(c,29),this):this._k()?r?(this.Bb&as)!=0?this.p=new VNe(u(c,29),this,r):this.p=new tfe(u(c,29),this,r):(this.Bb&as)!=0?this.p=new qOe(u(c,29),this):this.p=new kle(u(c,29),this):r?(this.Bb&as)!=0?this.p=new YNe(u(c,29),this,r):this.p=new ife(u(c,29),this,r):(this.Bb&as)!=0?this.p=new UOe(u(c,29),this):this.p=new hR(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&qf)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&Sh)!=0},s.vk=function(){return AY(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&as)!=0},s.al=function(n){this.k=n},s.ri=function(n){XV(this,n)},s.Ib=function(){return Gz(this)},s.e=!1,s.n=0,v(Jn,"EStructuralFeatureImpl",451),m(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},vX),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!W0e(this);case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return t?XY(this):o$e(this)}return $l(this,n-dt((jn(),Ym)),Cn((r=u(Kn(this,16),29),r||Ym),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return W0e(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this);case 18:return(this.Bb&Ru)!=0;case 19:return!!o$e(this)}return Pl(this,n-dt((jn(),Ym)),Cn((t=u(Kn(this,16),29),t||Ym),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:NAe(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return;case 18:mQ(this,ze(Be(t)));return}Hl(this,n-dt((jn(),Ym)),Cn((i=u(Kn(this,16),29),i||Ym),n),t)},s.fi=function(){return jn(),Ym},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.b=0,z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,MB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return;case 18:mQ(this,!1);return}Jl(this,n-dt((jn(),Ym)),Cn((t=u(Kn(this,16),29),t||Ym),n))},s.mi=function(){XY(this),z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.Hk=function(){return W0e(this)},s.Wk=function(n,t){return this.b=0,this.a=null,J1e(this,n,t)},s.Xk=function(n){NAe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Gz(this):(n=new uf(Gz(this)),n.a+=" (iD: ",jd(n,(this.Bb&Ru)!=0),n.a+=")",n.a)},s.b=0,v(Jn,"EAttributeImpl",335),m(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return WQ(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xw(this);case 4:return this.gk();case 5:return this.F;case 6:return t?sl(this):H9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:JR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Kan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=sl(this),n?Bd(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return sl(this)},s.cl=function(){return this.v},s.ik=function(){return Xw(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return JW(this,n)},s.dl=function(n){this.v=n},s.el=function(n){YBe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){JR(this,n)},s.Ib=function(){return ZB(this)},s.C=null,s.D=null,s.G=-1,v(Jn,"EClassifierImpl",360),m(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},oj),s.bl=function(n){return d2n(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xw(this);case 4:return null;case 5:return this.F;case 6:return t?sl(this):H9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A;case 8:return $n(),(this.Bb&256)!=0;case 9:return $n(),(this.Bb&512)!=0;case 10:return tu(this);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),this.q;case 12:return m3(this);case 13:return dS(this);case 14:return dS(this),this.r;case 15:return m3(this),this.k;case 16:return F0e(this);case 17:return UW(this);case 18:return Eh(this);case 19:return Lz(this);case 20:return m3(this),this.o;case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),this.s;case 22:return Vu(this);case 23:return IW(this)}return $l(this,n-dt((jn(),jb)),Cn((r=u(Kn(this,16),29),r||jb),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),Co(this.q,n,i);case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),Co(this.s,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),vc(this.q,n,i);case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),vc(this.s,n,i);case 22:return vc(Vu(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Vu(this.u.a).i!=0&&!(this.n&&FQ(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return m3(this).i!=0;case 13:return dS(this).i!=0;case 14:return dS(this),this.r.i!=0;case 15:return m3(this),this.k.i!=0;case 16:return F0e(this).i!=0;case 17:return UW(this).i!=0;case 18:return Eh(this).i!=0;case 19:return Lz(this).i!=0;case 20:return m3(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&FQ(this.n);case 23:return IW(this).i!=0}return Pl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:tN(this,n),t||Oge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:JR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:q1e(this,ze(Be(t)));return;case 9:U1e(this,ze(Be(t)));return;case 10:wS(tu(this)),nr(tu(this),u(t,18));return;case 11:!this.q&&(this.q=new pe(kf,this,11,10)),kt(this.q),!this.q&&(this.q=new pe(kf,this,11,10)),nr(this.q,u(t,18));return;case 21:!this.s&&(this.s=new pe(ns,this,21,17)),kt(this.s),!this.s&&(this.s=new pe(ns,this,21,17)),nr(this.s,u(t,18));return;case 22:kt(Vu(this)),nr(Vu(this),u(t,18));return}Hl(this,n-dt((jn(),jb)),Cn((i=u(Kn(this,16),29),i||jb),n),t)},s.fi=function(){return jn(),jb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:q1e(this,!1);return;case 9:U1e(this,!1);return;case 10:this.u&&wS(this.u);return;case 11:!this.q&&(this.q=new pe(kf,this,11,10)),kt(this.q);return;case 21:!this.s&&(this.s=new pe(ns,this,21,17)),kt(this.s);return;case 22:this.n&&kt(this.n);return}Jl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.mi=function(){var n,t;if(m3(this),dS(this),F0e(this),UW(this),Eh(this),Lz(this),IW(this),EE(Lvn(Ms(this))),this.s)for(n=0,t=this.s.i;n=0;--t)K(this,t);return bde(this,n)},s.Ek=function(){kt(this)},s.Xi=function(n,t){return jBe(this,n,t)},v(Ri,"EcoreEList",623),m(491,623,au,BT),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,v(Ri,"EObjectEList",491),m(81,491,au,mr),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},v(Ri,"EObjectContainmentEList",81),m(543,81,au,F$),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.b,this.b=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,v(Ri,"EObjectContainmentEList/Unsettable",543),m(1130,543,au,GIe),s.Ri=function(n,t){var i,r;return i=u(JE(this,n,t),87),Fs(this.e)&&d9(this,new oO(this.a,7,(jn(),Van),ye(t),(r=i.c,X(r,88)?u(r,29):Ef),n)),i},s.Sj=function(n,t){return vEn(this,u(n,87),t)},s.Tj=function(n,t){return yEn(this,u(n,87),t)},s.Uj=function(n,t,i){return kAn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return pE(this,n,t,i,r,this.i>1);case 5:return pE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new $1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return FQ(this)},s.Ek=function(){kt(this)},v(Jn,"EClassImpl/1",1130),m(1144,1143,tme),s.bj=function(n){var t,i,r,c,o,l,f;if(i=n.ej(),i!=8){if(r=iSn(n),r==0)switch(i){case 1:case 9:{f=n.ij(),f!=null&&(t=Ms(u(f,471)),!t.c&&(t.c=new Nl),hB(t.c,n.hj())),l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29))));break}case 3:{l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29))));break}case 5:{if(l=n.gj(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29)));break}case 4:{f=n.ij(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),hB(t.c,n.hj())));break}case 6:{if(f=n.ij(),f!=null)for(o=u(f,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),hB(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){DXe(this,n)},s.b=63,v(Jn,"ESuperAdapter",1144),m(1145,1144,tme,GSe),s.ol=function(n){Z2(this,n)},v(Jn,"EClassImpl/10",1145),m(1134,699,au),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return dHe(this,n)},s.Ei=function(n,t){OO(this,n,t)},s.Fi=function(n){nO(this,n)},s.Yi=function(n){return vhe(this,n)},s.Vi=function(n,t){return xY(this,n,t)},s.Uk=function(n,t){throw R(new _t)},s.Gi=function(){return new My(this)},s.Hi=function(){return new AT(this)},s.Ii=function(n){return pO(this,n)},s.Vk=function(n,t){throw R(new _t)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw R(new _t)},s.Ek=function(){throw R(new _t)},v(Ri,"EcoreEList/UnmodifiableEList",1134),m(333,1134,au,Bv),s.Wi=function(){return!1},v(Ri,"EcoreEList/UnmodifiableEList/FastCompare",333),m(1137,333,au,Jze),s.bd=function(n){var t,i,r;if(X(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),f=i==this.b&&(this.kl()?r.vh(r.Ch(),u(Cn(Go(this.b),this.Jj()).Fk(),29).ik())==Oc(u(Cn(Go(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!f&&!i&&r.Gh()){for(c=0;c1||r==-1)):!1},s.kl=function(){var n,t,i;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),i=Oc(n),!!i):!1},s.ll=function(){var n,t;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),(n.Bb&Ec)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i=0;--n)fN(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)fN(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){wS(this)},s.Xi=function(n,t){return U$e(this,n,t)},v(Ri,"DelegatingEcoreEList",744),m(1140,744,ume,tNe),s.oj=function(n,t){Jpn(this,n,u(t,29))},s.pj=function(n){Twn(this,u(n,29))},s.vj=function(n){var t,i;return t=u(K(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),Ef)},s.Aj=function(n){var t,i;return t=u(tm(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),Ef)},s.Bj=function(n,t){return VSn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new XSe(this)},s.rj=function(){kt(Vu(this.a))},s.sj=function(n){return BFe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!BFe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(X(n,16)&&(r=u(n,16),r.gc()==Vu(this.a).i)){for(t=r.Jc(),i=new st(this);t.Ob();)if(ue(t.Pb())!==ue(ft(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),r=(c=n.c,X(c,88)?u(c,29):(jn(),Ef)),i=31*i+(r?xw(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new st(Vu(this.a));i.e!=i.i.gc();){if(t=u(ft(i),87),ue(n)===ue((c=t.c,X(c,88)?u(c,29):(jn(),Ef))))return r;++r}return-1},s.yj=function(){return Vu(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return Vu(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=Vu(this.a).i,c=le(Mr,Nn,1,o,5,1),i=0,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),c[i++]=(r=n.c,X(r,88)?u(r,29):(jn(),Ef));return c},s.Ej=function(n){var t,i,r,c,o,l,f;for(f=Vu(this.a).i,n.lengthf&&ir(n,f,null),r=0,i=new st(Vu(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,X(l,88)?u(l,29):(jn(),Ef)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new kd,c.a+="[",n=Vu(this.a),t=0,r=Vu(this.a).i;t>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i);case 9:return!this.a&&(this.a=new pe(td,this,9,5)),Co(this.a,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Eb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Eb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 9:return!this.a&&(this.a=new pe(td,this,9,5)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Eb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Eb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return!!I1e(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),Eb)),Cn((t=u(Kn(this,16),29),t||Eb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:JR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:qB(this,ze(Be(t)));return;case 9:!this.a&&(this.a=new pe(td,this,9,5)),kt(this.a),!this.a&&(this.a=new pe(td,this,9,5)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),Eb)),Cn((i=u(Kn(this,16),29),i||Eb),n),t)},s.fi=function(){return jn(),Eb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:qB(this,!0);return;case 9:!this.a&&(this.a=new pe(td,this,9,5)),kt(this.a);return}Jl(this,n-dt((jn(),Eb)),Cn((t=u(Kn(this,16),29),t||Eb),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?u(this.Cb,675):null}return $l(this,n-dt((jn(),i0)),Cn((r=u(Kn(this,16),29),r||i0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?zHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,5,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 5:return dl(this,null,5,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Pl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:IY(this,u(t,15).a);return;case 3:Hqe(this,u(t,2001));return;case 4:_Y(this,Pt(t));return}Hl(this,n-dt((jn(),i0)),Cn((i=u(Kn(this,16),29),i||i0),n),t)},s.fi=function(){return jn(),i0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:IY(this,0);return;case 3:Hqe(this,null);return;case 4:_Y(this,null);return}Jl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,v(Jn,"EEnumLiteralImpl",568);var uzn=Gi(Jn,"EFactoryImpl/InternalEDateTimeFormat");m(485,1,{2076:1},QC),v(Jn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),m(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},mw),s.zh=function(n,t,i){var r;return i=dl(this,n,t,i),this.e&&X(n,179)&&(r=_z(this,this.e),r!=this.c&&(i=$8(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new mr(Rc,this,1)),this.d;case 2:return t?Uz(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?GQ(this):this.a}return $l(this,n-dt((jn(),Ap)),Cn((r=u(Kn(this,16),29),r||Ap),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return xFe(this,null,i);case 1:return!this.d&&(this.d=new mr(Rc,this,1)),vc(this.d,n,i);case 3:return SFe(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Ap)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Ap)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Pl(this,n-dt((jn(),Ap)),Cn((t=u(Kn(this,16),29),t||Ap),n))},s.$h=function(n,t){var i;switch(n){case 0:cGe(this,u(t,87));return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d),!this.d&&(this.d=new mr(Rc,this,1)),nr(this.d,u(t,18));return;case 3:s0e(this,u(t,87));return;case 4:M0e(this,u(t,834));return;case 5:Y9(this,u(t,143));return}Hl(this,n-dt((jn(),Ap)),Cn((i=u(Kn(this,16),29),i||Ap),n),t)},s.fi=function(){return jn(),Ap},s.hi=function(n){var t;switch(n){case 0:cGe(this,null);return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d);return;case 3:s0e(this,null);return;case 4:M0e(this,null);return;case 5:Y9(this,null);return}Jl(this,n-dt((jn(),Ap)),Cn((t=u(Kn(this,16),29),t||Ap),n))},s.Ib=function(){var n;return n=new il(Jf(this)),n.a+=" (expression: ",QW(this,n),n.a+=")",n.a};var Z8e;v(Jn,"EGenericTypeImpl",248),m(2029,2024,WF),s.Ei=function(n,t){rNe(this,n,t)},s.Uk=function(n,t){return rNe(this,this.gc(),n),t},s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new QSe(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return U2(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=nW(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;U2(this,t,!0),i=this.dd(n),i.Rb(t)},v(Ri,"AbstractSequentialInternalEList",2029),m(482,2029,WF,MT),s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.b==null?(xd(),xd(),uD):this.ql()},s.nj=function(){return new ETe(this.a,this.b)},s.Hi=function(){return this.b==null?(xd(),xd(),uD):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw R(new jo(FS+n+", size=0"));return xd(),xd(),uD}for(i=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=Q7||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(Tc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),X(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?iqe(this,this.p):dqe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return _B(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw R(new hu)},s.Vb=function(){return this.a-1},s.Qb=function(){throw R(new _t)},s.sl=function(){return!1},s.Wb=function(n){throw R(new _t)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var uD;v(Ri,"EContentsEList/FeatureIteratorImpl",287),m(700,287,ZF,vle),s.sl=function(){return!0},v(Ri,"EContentsEList/ResolvingFeatureIteratorImpl",700),m(1147,700,ZF,zOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/1",1147),m(1148,287,ZF,FOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/2",1148),m(39,151,HN,$2,rY,Dr,mY,$1,Pf,Nhe,ALe,Ihe,MLe,Uae,CLe,Lhe,TLe,Xae,OLe,Dhe,NLe,fE,oO,RV,_he,ILe,Kae,DLe),s.Ij=function(){return dhe(this)},s.Pj=function(){var n;return n=dhe(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=dhe(this),n?n.rk():!1},s.b=-1,v(Jn,"ENotificationImpl",39),m(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},yX),s.xh=function(n){return JHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new rs(Fo,this,11)),this.d;case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),this.c;case 13:return!this.a&&(this.a=new NT(this,this)),this.a;case 14:return Ts(this)}return $l(this,n-dt((jn(),r0)),Cn((r=u(Kn(this,16),29),r||r0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?JHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,10,i);case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),Co(this.c,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),r0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),r0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return dl(this,null,10,i);case 11:return!this.d&&(this.d=new rs(Fo,this,11)),vc(this.d,n,i);case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),vc(this.c,n,i);case 14:return vc(Ts(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),r0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),r0)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ts(this.a.a).i!=0&&!(this.b&&JQ(this.b));case 14:return!!this.b&&JQ(this.b)}return Pl(this,n-dt((jn(),r0)),Cn((t=u(Kn(this,16),29),t||r0),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:z2(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d),!this.d&&(this.d=new rs(Fo,this,11)),nr(this.d,u(t,18));return;case 12:!this.c&&(this.c=new pe(xp,this,12,10)),kt(this.c),!this.c&&(this.c=new pe(xp,this,12,10)),nr(this.c,u(t,18));return;case 13:!this.a&&(this.a=new NT(this,this)),wS(this.a),!this.a&&(this.a=new NT(this,this)),nr(this.a,u(t,18));return;case 14:kt(Ts(this)),nr(Ts(this),u(t,18));return}Hl(this,n-dt((jn(),r0)),Cn((i=u(Kn(this,16),29),i||r0),n),t)},s.fi=function(){return jn(),r0},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d);return;case 12:!this.c&&(this.c=new pe(xp,this,12,10)),kt(this.c);return;case 13:this.a&&wS(this.a);return;case 14:this.b&&kt(this.b);return}Jl(this,n-dt((jn(),r0)),Cn((t=u(Kn(this,16),29),t||r0),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nf&&ir(n,f,null),r=0,i=new st(Ts(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,l||(jn(),uh)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new kd,c.a+="[",n=Ts(this.a),t=0,r=Ts(this.a).i;t1);case 5:return pE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new $1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return JQ(this)},s.Ek=function(){kt(this)},v(Jn,"EOperationImpl/2",1331),m(493,1,{1999:1,493:1},tTe),v(Jn,"EPackageImpl/1",493),m(14,81,au,pe),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectContainmentWithInverseEList",14),m(361,14,au,Ty),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Resolving",361),m(312,361,au,C2),s.Li=function(){this.a.tb=null},v(Jn,"EPackageImpl/2",312),m(1243,1,{},Ss),v(Jn,"EPackageImpl/3",1243),m(721,44,j3,joe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},v(Jn,"EPackageRegistryImpl",721),m(503,293,{109:1,94:1,93:1,158:1,197:1,57:1,2078:1,114:1,470:1,52:1,100:1,161:1,503:1,293:1,117:1,118:1},kX),s.xh=function(n){return HHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return $l(this,n-dt((jn(),Qm)),Cn((r=u(Kn(this,16),29),r||Qm),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?HHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,10,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Qm)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Qm)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return dl(this,null,10,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Qm)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Qm)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Pl(this,n-dt((jn(),Qm)),Cn((t=u(Kn(this,16),29),t||Qm),n))},s.fi=function(){return jn(),Qm},v(Jn,"EParameterImpl",503),m(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},Ele),s.Ih=function(n,t,i){var r,c,o,l;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),l=this.t,l>1||l==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return $n(),o=Oc(this),!!(o&&(o.Bb&Ru)!=0);case 20:return $n(),(this.Bb&Ec)!=0;case 21:return t?Oc(this):this.b;case 22:return t?g1e(this):YPe(this);case 23:return!this.a&&(this.a=new qv(Km,this,23)),this.a}return $l(this,n-dt((jn(),u5)),Cn((r=u(Kn(this,16),29),r||u5),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this);case 18:return(this.Bb&Ru)!=0;case 19:return r=Oc(this),!!r&&(r.Bb&Ru)!=0;case 20:return(this.Bb&Ec)==0;case 21:return!!this.b;case 22:return!!YPe(this);case 23:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),u5)),Cn((t=u(Kn(this,16),29),t||u5),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:z2(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return;case 18:Fyn(this,ze(Be(t)));return;case 20:W1e(this,ze(Be(t)));return;case 21:Yhe(this,u(t,19));return;case 23:!this.a&&(this.a=new qv(Km,this,23)),kt(this.a),!this.a&&(this.a=new qv(Km,this,23)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),u5)),Cn((i=u(Kn(this,16),29),i||u5),n),t)},s.fi=function(){return jn(),u5},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,MB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return;case 18:Z1e(this,!1),X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),2);return;case 20:W1e(this,!0);return;case 21:Yhe(this,null);return;case 23:!this.a&&(this.a=new qv(Km,this,23)),kt(this.a);return}Jl(this,n-dt((jn(),u5)),Cn((t=u(Kn(this,16),29),t||u5),n))},s.mi=function(){g1e(this),z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.sk=function(){return Oc(this)},s.Zk=function(){var n;return n=Oc(this),!!n&&(n.Bb&Ru)!=0},s.$k=function(){return(this.Bb&Ru)!=0},s._k=function(){return(this.Bb&Ec)!=0},s.Wk=function(n,t){return this.c=null,J1e(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?Gz(this):(n=new uf(Gz(this)),n.a+=" (containment: ",jd(n,(this.Bb&Ru)!=0),n.a+=", resolveProxies: ",jd(n,(this.Bb&Ec)!=0),n.a+=")",n.a)},v(Jn,"EReferenceImpl",103),m(549,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,549:1,117:1,118:1},Bh),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return xw(this)},s.Ai=function(n){i3n(this,Pt(n))},s.ld=function(n){return Uvn(this,Pt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return $l(this,n-dt((jn(),Ac)),Cn((r=u(Kn(this,16),29),r||Ac),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Pl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.$h=function(n,t){var i;switch(n){case 0:r3n(this,Pt(t));return;case 1:Ghe(this,Pt(t));return}Hl(this,n-dt((jn(),Ac)),Cn((i=u(Kn(this,16),29),i||Ac),n),t)},s.fi=function(){return jn(),Ac},s.hi=function(n){var t;switch(n){case 0:Xhe(this,null);return;case 1:Ghe(this,null);return}Jl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:_d(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (key: ",Bc(n,this.b),n.a+=", value: ",Bc(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var Du=v(Jn,"EStringToStringMapEntryImpl",549),chn=Gi(Ri,"FeatureMap/Entry/Internal");m(562,1,eJ),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:X(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:gi(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),Ni(this.c)^(n==null?0:Ni(n))},s.Ib=function(){var n,t;return n=this.c,t=sl(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},v(Jn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),m(777,562,eJ,Tle),s.wl=function(n){return new Tle(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return T7n(this,n,this.a,t,i)},s.yl=function(n,t,i){return O7n(this,n,this.a,t,i)},v(Jn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",777),m(1304,1,{},iTe),s.wk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(U9(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(U9(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(U9(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(U9(n,this.b),219),r.Wl(this.a).Ek()},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1304),m(89,1,{},Md,Vb,Td,ng),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=tF(this,n)),!c)switch(this.e){case 50:case 41:return u(o,586)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),l==null&&t.ji(i,l=tF(this,n)),o=u(l,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,77).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),77),!c&&t.ji(i,c=tF(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=tF(this,n)),X(c,77)?u(c,77):(r=u(t.ii(i),16),new VSe(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),77),!r&&t.ji(i,r=tF(this,n)),r.Ek()},s.b=0,s.e=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),m(498,1,{}),s.xk=function(n,t,i,r,c){throw R(new _t)},s.yk=function(n,t,i,r,c){throw R(new _t)},s.Bk=function(n,t,i){return new e_e(this,n,t,i)};var g1;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",498),m(1321,1,Lne,e_e),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1321),m(770,498,{},wae),s.wk=function(n,t,i,r,c){return RW(n,n.Mh(),n.Ch())==this.b?this._k()&&r?xW(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,l;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),l=Ji(n.Ah(),this.e),n.zh(r,l,c)},s.yk=function(n,t,i,r,c){var o;return o=Ji(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=Ji(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new b9(nJ+(X(r,57)?o0e(u(r,57).Ah()):Mhe(Us(r)))+tJ+this.a+"'"));if(c=n.Mh(),l=Ji(n.Ah(),this.e),ue(r)!==ue(c)||n.Ch()!=l&&r!=null){if(k8(n,u(r,57)))throw R(new Un(BS+n.Ib()));h=null,c&&(h=(o=n.Ch(),o>=0?n.xh(h):n.Mh().Qh(n,-1-o,null,h))),f=u(r,52),f&&(h=f.Oh(n,Ji(f.Ah(),this.b),null,h)),h=n.zh(f,l,h),h&&h.mj()}else n.sh()&&n.th()&&hi(n,new Dr(n,1,l,r,r))},s.Ck=function(n,t,i){var r,c,o,l;r=n.Mh(),r?(l=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=Ji(n.Ah(),this.e),l=n.zh(null,o,l),l&&l.mj()):n.sh()&&n.th()&&hi(n,new fE(n,1,this.e,null,null))},s._k=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",770),m(1305,770,{},UNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1305),m(560,498,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:ue(o)===ue(g1)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(ue(r)===ue(g1)||!gi(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:ue(o)===ue(g1)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,g1):t.ji(i,null):(this.zl(r),t.ji(i,r)),hi(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,g1):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:ue(c)===ue(g1)?null:c),t.ki(i),hi(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw R(new cxe)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),m(N3,1,{},aw),s.Al=function(n,t,i,r,c){return new fE(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new RV(n,t,i,r,c,o)};var e7e,n7e,t7e,i7e,r7e,c7e,u7e,Hce,o7e;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",N3),m(1322,N3,{},AL),s.Al=function(n,t,i,r,c){return new Kae(n,t,i,ze(Be(r)),ze(Be(c)))},s.Bl=function(n,t,i,r,c,o){return new DLe(n,t,i,ze(Be(r)),ze(Be(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1322),m(1323,N3,{},ML),s.Al=function(n,t,i,r,c){return new Nhe(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new ALe(n,t,i,u(r,221).a,u(c,221).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1323),m(1324,N3,{},CL),s.Al=function(n,t,i,r,c){return new Ihe(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new MLe(n,t,i,u(r,180).a,u(c,180).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1324),m(1325,N3,{},bU),s.Al=function(n,t,i,r,c){return new Uae(n,t,i,ne(re(r)),ne(re(c)))},s.Bl=function(n,t,i,r,c,o){return new CLe(n,t,i,ne(re(r)),ne(re(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1325),m(1326,N3,{},Uk),s.Al=function(n,t,i,r,c){return new Lhe(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new TLe(n,t,i,u(r,164).a,u(c,164).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1326),m(1327,N3,{},zh),s.Al=function(n,t,i,r,c){return new Xae(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new OLe(n,t,i,u(r,15).a,u(c,15).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1327),m(1328,N3,{},p0),s.Al=function(n,t,i,r,c){return new Dhe(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new NLe(n,t,i,u(r,190).a,u(c,190).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1328),m(1329,N3,{},TL),s.Al=function(n,t,i,r,c){return new _he(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new ILe(n,t,i,u(r,191).a,u(c,191).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1329),m(1307,560,{},r_e),s.zl=function(n){if(!this.a.dk(n))throw R(new b9(nJ+Us(n)+tJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1307),m(1308,560,{},JIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1308),m(771,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):ue(o)===ue(g1)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,g1):(this.zl(r),t.ji(i,r)),hi(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,g1):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):ue(c)===ue(g1)&&(c=null),t.ki(i),hi(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",771),m(1309,771,{},c_e),s.zl=function(n){if(!this.a.dk(n))throw R(new b9(nJ+Us(n)+tJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1309),m(1310,771,{},HIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1310),m(402,498,{},hR),s.wk=function(n,t,i,r,c){var o,l,f,h,g;if(g=t.ii(i),this.rk()&&ue(g)===ue(g1))return null;if(this._k()&&r&&g!=null){if(f=u(g,52),f.Sh()&&(h=J0(n,f),f!=h)){if(!JW(this.a,h))throw R(new b9(nJ+Us(h)+tJ+this.a+"'"));t.ji(i,g=h),this.$k()&&(o=u(h,52),l=f.Qh(n,this.b?Ji(f.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,null),!o.Mh()&&(l=o.Oh(n,this.b?Ji(o.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,l)),l&&l.mj()),n.sh()&&n.th()&&hi(n,new fE(n,9,this.e,f,h))}return g}else return g},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),ue(l)===ue(g1)&&(l=null),t.ji(i,r),this.Kj()?ue(l)!==ue(r)&&l!=null&&(o=u(l,52),c=o.Qh(n,Ji(o.Ah(),this.b),null,c)):this.$k()&&l!=null&&(c=u(l,52).Qh(n,-1-Ji(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new E0(4)),c.lj(new fE(n,1,this.e,l,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),ue(o)===ue(g1)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new E0(4)),this.rk()?c.lj(new fE(n,2,this.e,o,null)):c.lj(new fE(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new b9(nJ+(X(r,57)?o0e(u(r,57).Ah()):Mhe(Us(r)))+tJ+this.a+"'"));h=t.ii(i),f=h!=null,this.rk()&&ue(h)===ue(g1)&&(h=null),l=null,this.Kj()?ue(h)!==ue(r)&&(h!=null&&(c=u(h,52),l=c.Qh(n,Ji(c.Ah(),this.b),null,l)),r!=null&&(c=u(r,52),l=c.Oh(n,Ji(c.Ah(),this.b),null,l))):this.$k()&&ue(h)!==ue(r)&&(h!=null&&(l=u(h,52).Qh(n,-1-Ji(n.Ah(),this.e),null,l)),r!=null&&(l=u(r,52).Oh(n,-1-Ji(n.Ah(),this.e),null,l))),r==null&&this.rk()?t.ji(i,g1):t.ji(i,r),n.sh()&&n.th()?(o=new RV(n,1,this.e,h,r,this.rk()&&!f),l?(l.lj(o),l.mj()):hi(n,o)):l&&l.mj()},s.Ck=function(n,t,i){var r,c,o,l,f;f=t.ii(i),l=f!=null,this.rk()&&ue(f)===ue(g1)&&(f=null),o=null,f!=null&&(this.Kj()?(r=u(f,52),o=r.Qh(n,Ji(r.Ah(),this.b),null,o)):this.$k()&&(o=u(f,52).Qh(n,-1-Ji(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new RV(n,this.rk()?2:1,this.e,f,null,l),o?(o.lj(c),o.mj()):hi(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),m(561,402,{},BK),s.$k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),m(1313,561,{},HOe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1313),m(773,561,{},yle),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",773),m(1315,773,{},GOe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1315),m(638,561,{},ZK),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",638),m(1314,638,{},XNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1314),m(774,638,{},nfe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",774),m(1316,774,{},KNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1316),m(639,402,{},kle),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",639),m(1317,639,{},qOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1317),m(775,639,{},tfe),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",775),m(1318,775,{},VNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1318),m(1311,402,{},UOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1311),m(772,402,{},ife),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",772),m(1312,772,{},YNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1312),m(776,562,eJ,Zfe),s.wl=function(n){return new Zfe(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return A9n(this,n,this.b,i)},s.yl=function(n,t,i){return M9n(this,n,this.b,i)},v(Jn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",776),m(1319,1,Lne,VSe),s.Dk=function(n){return this.a},s.Oj=function(){return X(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){X(this.a,98)?u(this.a,98).Ek():this.a.$b()},v(Jn,"EStructuralFeatureImpl/SettingMany",1319),m(1320,562,eJ,jPe),s.vl=function(n){return new JK((Si(),gA),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1320),m(640,562,eJ,JK),s.vl=function(n){return new JK(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",640),m(396,492,Nh,Nl),s.$i=function(n){return le(yf,Nn,29,n,0,1)},s.Wi=function(){return!1},v(Jn,"ESuperAdapter/1",396),m(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,834:1,52:1,100:1,161:1,446:1,117:1,118:1},Xk),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new uE(this,Rc,this)),this.a}return $l(this,n-dt((jn(),Mp)),Cn((r=u(Kn(this,16),29),r||Mp),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.a&&(this.a=new uE(this,Rc,this)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Mp)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Mp)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),Mp)),Cn((t=u(Kn(this,16),29),t||Mp),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:!this.a&&(this.a=new uE(this,Rc,this)),kt(this.a),!this.a&&(this.a=new uE(this,Rc,this)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),Mp)),Cn((i=u(Kn(this,16),29),i||Mp),n),t)},s.fi=function(){return jn(),Mp},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:!this.a&&(this.a=new uE(this,Rc,this)),kt(this.a);return}Jl(this,n-dt((jn(),Mp)),Cn((t=u(Kn(this,16),29),t||Mp),n))},v(Jn,"ETypeParameterImpl",446),m(447,81,au,uE),s.Lj=function(n,t){return mMn(this,u(n,87),t)},s.Mj=function(n,t){return vMn(this,u(n,87),t)},v(Jn,"ETypeParameterImpl/1",447),m(637,44,j3,jX),s.ec=function(){return new _P(this)},v(Jn,"ETypeParameterImpl/2",637),m(557,Ua,fs,_P),s.Ec=function(n){return xNe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),ei(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){Hu(this.a)},s.Gc=function(n){return so(this.a,n)},s.Jc=function(){var n;return n=new J2(new sn(this.a).a),new LP(n)},s.Kc=function(n){return s$e(this,n)},s.gc=function(){return Tj(this.a)},v(Jn,"ETypeParameterImpl/2/1",557),m(558,1,Fr,LP),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(c3(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){jRe(this.a)},v(Jn,"ETypeParameterImpl/2/1/1",558),m(1281,44,j3,Rxe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},s.xc=function(n){var t,i;return t=$r(n)?lo(this,n):bu(Xc(this.f,n)),X(t,835)?(i=u(t,835),t=i.Ik(),ei(this,u(n,241),t),t):t??(n==null?(zX(),ohn):null)},v(Jn,"EValidatorRegistryImpl",1281),m(1303,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2002:1,52:1,100:1,161:1,117:1,118:1},hw),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 25:return R8n(t);case 27:return Z9n(t);case 28:return e8n(t);case 29:return t==null?null:KTe(lA[0],u(t,205));case 41:return t==null?"":Bb(u(t,298));case 42:return fu(t);case 50:return Pt(t);default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;switch(n.G==-1&&(n.G=(S=sl(n),S?Bd(S.si(),n):-1)),n.G){case 0:return i=new vX,i;case 1:return t=new _b,t;case 2:return r=new oj,r;case 4:return c=new RP,c;case 5:return o=new $xe,o;case 6:return l=new exe,l;case 7:return f=new LC,f;case 10:return g=new xv,g;case 11:return p=new yX,p;case 12:return y=new h_e,y;case 13:return A=new kX,A;case 14:return O=new Ele,O;case 17:return D=new Bh,D;case 18:return h=new mw,h;case 19:return B=new Xk,B;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new Goe(t);case 21:return t==null?null:new C0(t);case 23:case 22:return t==null?null:PEn(t);case 26:case 24:return t==null?null:dO(hl(t,-128,127)<<24>>24);case 25:return IOn(t);case 27:return mxn(t);case 28:return vxn(t);case 29:return RMn(t);case 32:case 31:return t==null?null:Q2(t);case 38:case 37:return t==null?null:new doe(t);case 40:case 39:return t==null?null:ye(hl(t,Xr,oi));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:K2(nF(t));case 49:case 48:return t==null?null:f8(hl(t,iJ,32767)<<16>>16);case 50:return t;default:throw R(new Un(l7+n.ve()+lp))}},v(Jn,"EcoreFactoryImpl",1303),m(548,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2e3:1,52:1,100:1,161:1,184:1,548:1,117:1,118:1,680:1},$De),s.gb=!1,s.hb=!1;var s7e,uhn=!1;v(Jn,"EcorePackageImpl",548),m(1199,1,{835:1},Av),s.Ik=function(){return pOe(),shn},v(Jn,"EcorePackageImpl/1",1199),m(1208,1,ii,dw),s.dk=function(n){return X(n,158)},s.ek=function(n){return le(tD,Nn,158,n,0,1)},v(Jn,"EcorePackageImpl/10",1208),m(1209,1,ii,oC),s.dk=function(n){return X(n,197)},s.ek=function(n){return le(_ce,Nn,197,n,0,1)},v(Jn,"EcorePackageImpl/11",1209),m(1210,1,ii,sC),s.dk=function(n){return X(n,57)},s.ek=function(n){return le(kb,Nn,57,n,0,1)},v(Jn,"EcorePackageImpl/12",1210),m(1211,1,ii,m0),s.dk=function(n){return X(n,403)},s.ek=function(n){return le(kf,cme,62,n,0,1)},v(Jn,"EcorePackageImpl/13",1211),m(1212,1,ii,OL),s.dk=function(n){return X(n,241)},s.ek=function(n){return le(Ma,Nn,241,n,0,1)},v(Jn,"EcorePackageImpl/14",1212),m(1213,1,ii,K5),s.dk=function(n){return X(n,503)},s.ek=function(n){return le(xp,Nn,2078,n,0,1)},v(Jn,"EcorePackageImpl/15",1213),m(1214,1,ii,V6),s.dk=function(n){return X(n,103)},s.ek=function(n){return le(Vm,O3,19,n,0,1)},v(Jn,"EcorePackageImpl/16",1214),m(1215,1,ii,Y6),s.dk=function(n){return X(n,179)},s.ek=function(n){return le(ns,O3,179,n,0,1)},v(Jn,"EcorePackageImpl/17",1215),m(1216,1,ii,V5),s.dk=function(n){return X(n,470)},s.ek=function(n){return le(Xm,Nn,470,n,0,1)},v(Jn,"EcorePackageImpl/18",1216),m(1217,1,ii,NL),s.dk=function(n){return X(n,549)},s.ek=function(n){return le(Du,UZe,549,n,0,1)},v(Jn,"EcorePackageImpl/19",1217),m(1200,1,ii,IL),s.dk=function(n){return X(n,335)},s.ek=function(n){return le(Km,O3,38,n,0,1)},v(Jn,"EcorePackageImpl/2",1200),m(1218,1,ii,Q6),s.dk=function(n){return X(n,248)},s.ek=function(n){return le(Rc,len,87,n,0,1)},v(Jn,"EcorePackageImpl/20",1218),m(1219,1,ii,DL),s.dk=function(n){return X(n,446)},s.ek=function(n){return le(Fo,Nn,834,n,0,1)},v(Jn,"EcorePackageImpl/21",1219),m(1220,1,ii,Kk),s.dk=function(n){return p2(n)},s.ek=function(n){return le(Qi,Ae,473,n,8,1)},v(Jn,"EcorePackageImpl/22",1220),m(1221,1,ii,_L),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(Jn,"EcorePackageImpl/23",1221),m(1222,1,ii,gU),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(A4,Ae,221,n,0,1)},v(Jn,"EcorePackageImpl/24",1222),m(1223,1,ii,wU),s.dk=function(n){return X(n,180)},s.ek=function(n){return le(QS,Ae,180,n,0,1)},v(Jn,"EcorePackageImpl/25",1223),m(1224,1,ii,Ju),s.dk=function(n){return X(n,205)},s.ek=function(n){return le(dJ,Ae,205,n,0,1)},v(Jn,"EcorePackageImpl/26",1224),m(1225,1,ii,Do),s.dk=function(n){return!1},s.ek=function(n){return le(A7e,Nn,2174,n,0,1)},v(Jn,"EcorePackageImpl/27",1225),m(1226,1,ii,Hc),s.dk=function(n){return m2(n)},s.ek=function(n){return le(gr,Ae,346,n,7,1)},v(Jn,"EcorePackageImpl/28",1226),m(1227,1,ii,nu),s.dk=function(n){return X(n,61)},s.ek=function(n){return le(F8e,lm,61,n,0,1)},v(Jn,"EcorePackageImpl/29",1227),m(1201,1,ii,io),s.dk=function(n){return X(n,504)},s.ek=function(n){return le(Zt,{3:1,4:1,5:1,1995:1},587,n,0,1)},v(Jn,"EcorePackageImpl/3",1201),m(1228,1,ii,k1),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(G8e,Nn,2001,n,0,1)},v(Jn,"EcorePackageImpl/30",1228),m(1229,1,ii,e2),s.dk=function(n){return X(n,163)},s.ek=function(n){return le(d7e,lm,163,n,0,1)},v(Jn,"EcorePackageImpl/31",1229),m(1230,1,ii,Y5),s.dk=function(n){return X(n,75)},s.ek=function(n){return le(CG,men,75,n,0,1)},v(Jn,"EcorePackageImpl/32",1230),m(1231,1,ii,lC),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(p7,Ae,164,n,0,1)},v(Jn,"EcorePackageImpl/33",1231),m(1232,1,ii,bw),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(Jn,"EcorePackageImpl/34",1232),m(1233,1,ii,zs),s.dk=function(n){return X(n,298)},s.ek=function(n){return le(mme,Nn,298,n,0,1)},v(Jn,"EcorePackageImpl/35",1233),m(1234,1,ii,n2),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Ae,190,n,0,1)},v(Jn,"EcorePackageImpl/36",1234),m(1235,1,ii,Mv),s.dk=function(n){return X(n,92)},s.ek=function(n){return le(vme,Nn,92,n,0,1)},v(Jn,"EcorePackageImpl/37",1235),m(1236,1,ii,fC),s.dk=function(n){return X(n,588)},s.ek=function(n){return le(l7e,Nn,588,n,0,1)},v(Jn,"EcorePackageImpl/38",1236),m(1237,1,ii,j1),s.dk=function(n){return!1},s.ek=function(n){return le(M7e,Nn,2175,n,0,1)},v(Jn,"EcorePackageImpl/39",1237),m(1202,1,ii,Q5),s.dk=function(n){return X(n,88)},s.ek=function(n){return le(yf,Nn,29,n,0,1)},v(Jn,"EcorePackageImpl/4",1202),m(1238,1,ii,W6),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Ae,191,n,0,1)},v(Jn,"EcorePackageImpl/40",1238),m(1239,1,ii,Fh),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(Jn,"EcorePackageImpl/41",1239),m(1240,1,ii,aC),s.dk=function(n){return X(n,585)},s.ek=function(n){return le(H8e,Nn,585,n,0,1)},v(Jn,"EcorePackageImpl/42",1240),m(1241,1,ii,Vk),s.dk=function(n){return!1},s.ek=function(n){return le(C7e,Ae,2176,n,0,1)},v(Jn,"EcorePackageImpl/43",1241),m(1242,1,ii,LL),s.dk=function(n){return X(n,45)},s.ek=function(n){return le(Eg,rF,45,n,0,1)},v(Jn,"EcorePackageImpl/44",1242),m(1203,1,ii,Yk),s.dk=function(n){return X(n,143)},s.ek=function(n){return le(Ca,Nn,143,n,0,1)},v(Jn,"EcorePackageImpl/5",1203),m(1204,1,ii,Qk),s.dk=function(n){return X(n,159)},s.ek=function(n){return le(zce,Nn,159,n,0,1)},v(Jn,"EcorePackageImpl/6",1204),m(1205,1,ii,t2),s.dk=function(n){return X(n,459)},s.ek=function(n){return le(MG,Nn,675,n,0,1)},v(Jn,"EcorePackageImpl/7",1205),m(1206,1,ii,tf),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(td,Nn,684,n,0,1)},v(Jn,"EcorePackageImpl/8",1206),m(1207,1,ii,i2),s.dk=function(n){return X(n,469)},s.ek=function(n){return le(sA,Nn,469,n,0,1)},v(Jn,"EcorePackageImpl/9",1207),m(1019,2042,qZe,sAe),s.Ki=function(n,t){gjn(this,u(t,415))},s.Oi=function(n,t){aqe(this,n,u(t,415))},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1019),m(1020,151,HN,MDe),s.hj=function(){return this.a.a},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1020),m(1047,1046,{},RTe),v("org.eclipse.emf.ecore.plugin","EcorePlugin",1047);var l7e=Gi(ven,"Resource");m(786,1485,yen),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new dX(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Wn(0,n.length),n.charCodeAt(0)==47){for(o=new xo(4),c=1,t=1;t0&&(n=(Qr(0,i,n.length),n.substr(0,i))));return xTn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return Bb(this.Pm)+"@"+(n=Ni(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,v(Pne,"ResourceImpl",786),m(1486,786,yen,YSe),v(Pne,"BinaryResourceImpl",1486),m(1159,697,One),s._i=function(n){return X(n,57)?tyn(this,u(n,57)):X(n,588)?new st(u(n,588).Cl()):ue(n)===ue(this.f)?u(n,18).Jc():(T9(),cD.a)},s.Ob=function(){return nbe(this)},s.a=!1,v(Ri,"EcoreUtil/ContentTreeIterator",1159),m(1487,1159,One,iDe),s._i=function(n){return ue(n)===ue(this.f)?u(n,16).Jc():new rPe(u(n,57))},v(Pne,"ResourceImpl/5",1487),m(647,2054,sen,dX),s.Gc=function(n){return this.i<=4?E8(this,n):X(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):gY(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return le(kb,Nn,57,n,0,1)},s.Wi=function(){return!1},v(Pne,"ResourceImpl/ContentsEList",647),m(953,2024,J8,QSe),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},v(Ri,"AbstractSequentialInternalEList/1",953);var f7e,a7e,nc,h7e;m(625,1,{},uIe);var TG,OG;v(Ri,"BasicExtendedMetaData",625),m(1150,1,{},rTe),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&KC(this,NMn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return En(),En(),Sc},s.ve=function(){return this.c==d7&&oX(this,DJe(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=d7,v(Ri,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1150),m(1151,1,{},LLe),s.Hl=function(){return this.a==(q9(),TG)&&NP(this,gDn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(q9(),TG)&&l9(this,wDn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&lX(this,Z_n(this.f,this.b)),this.d},s.ve=function(){return this.e==d7&&YC(this,DJe(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&d(this,WAn(this.f,this.b)),this.g},s.e=d7,s.g=-2,v(Ri,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1151),m(1149,1,{},cTe),s.b=!1,s.c=!1,v(Ri,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1149),m(1152,1,{},PLe),s.c=-2,s.e=d7,s.f=d7,v(Ri,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1152),m(581,623,au,iR),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,v(Ri,"EDataTypeEList",581);var d7e=Gi(Ri,"FeatureMap");m(76,581,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},tr),s._c=function(n,t){PNn(this,n,u(t,75))},s.Ec=function(n){return ZOn(this,u(n,75))},s.Fi=function(n){Q3n(this,u(n,75))},s.Lj=function(n,t){return C2n(this,u(n,75),t)},s.Mj=function(n,t){return Xle(this,u(n,75),t)},s.Ri=function(n,t){return u_n(this,n,t)},s.Ui=function(n,t){return KPn(this,n,u(t,75))},s.fd=function(n,t){return kIn(this,n,u(t,75))},s.Sj=function(n,t){return T2n(this,u(n,75),t)},s.Tj=function(n,t){return DNe(this,u(n,75),t)},s.Uj=function(n,t,i){return FAn(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return oW(this,n,u(t,75))},s.Ml=function(n,t){return Vbe(this,n,t)},s.ad=function(n,t){var i,r,c,o,l,f,h,g,p;for(g=new $w(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),G1(this.e,o))(!o.Qi()||!XR(this,o,r.kd())&&!E8(g,r))&&Et(g,r);else{for(p=Po(this.e.Ah(),o),i=u(this.g,122),l=!0,f=0;f=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},v(Ri,"BasicFeatureMap/FeatureEIterator",412),m(666,412,e1,SK),s.sl=function(){return!0},v(Ri,"BasicFeatureMap/ResolvingFeatureEIterator",666),m(951,482,WF,WTe),s.nj=function(){return this},v(Ri,"EContentsEList/1",951),m(952,482,WF,ETe),s.sl=function(){return!1},v(Ri,"EContentsEList/2",952),m(950,287,ZF,ZTe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},v(Ri,"EContentsEList/FeatureIteratorImpl/1",950),m(824,581,au,nle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EDataTypeEList/Unsettable",824),m(1920,581,au,cOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList",1920),m(1921,824,au,uOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList/Unsettable",1921),m(145,81,au,rs),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Resolving",145),m(1153,543,au,rOe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Unsettable/Resolving",1153),m(753,14,au,zle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectContainmentWithInverseEList/Unsettable",753),m(1187,753,au,yNe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1187),m(745,491,au,ele),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectEList/Unsettable",745),m(339,491,au,qv),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectResolvingEList",339),m(1825,745,au,oOe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectResolvingEList/Unsettable",1825),m(1488,1,{},W5);var ohn;v(Ri,"EObjectValidator",1488),m(547,491,au,jR),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectWithInverseEList",547),m(1190,547,au,kNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/ManyInverse",1190),m(626,547,au,qK),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectWithInverseEList/Unsettable",626),m(1189,626,au,jNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/Unsettable/ManyInverse",1189),m(754,547,au,Fle),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList",754),m(33,754,au,In),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/ManyInverse",33),m(755,626,au,Jle),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList/Unsettable",755),m(1188,755,au,ENe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1188),m(1154,623,au),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&Q0)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&qf)!=0},s.dk=function(n){return this.d?aPe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;kt(this),(this.b&2)!=0&&(Fs(this.e)?(n=(this.b&1)!=0,this.b&=-2,d9(this,new Pf(this.e,2,Ji(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,v(Ri,"EcoreEList/Generic",1154),m(1155,1154,au,w_e),s.Jk=function(){return this.a},v(Ri,"EcoreEList/Dynamic",1155),m(752,67,Nh,soe),s.$i=function(n){return wO(this.a.a,n)},v(Ri,"EcoreEMap/1",752),m(751,81,au,$fe),s.Ki=function(n,t){dz(this.b,u(t,136))},s.Mi=function(n,t){pze(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){wQ(this.b,u(t,136))},s.Pi=function(n,t,i){wQ(this.b,u(i,136)),ue(i)===ue(t)&&u(i,136).zi(Awn(u(t,136).jd())),dz(this.b,u(t,136))},v(Ri,"EcoreEMap/DelegateEObjectContainmentEList",751),m(1185,142,rme,CBe),v(Ri,"EcoreEMap/Unsettable",1185),m(1186,751,au,SNe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1186),m(1158,223,j3,vDe),s.a=!1,s.b=!1,v(Ri,"EcoreUtil/Copier",1158),m(747,1,Fr,rPe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return mJe(this)},s.Pb=function(){var n;return mJe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},v(Ri,"EcoreUtil/ProperContentIterator",747),m(1489,1488,{},FU);var shn;v(Ri,"EcoreValidator",1489);var lhn;Gi(Ri,"FeatureMapUtil/Validator"),m(1258,1,{2003:1},gw),s.$l=function(n){return!0},v(Ri,"FeatureMapUtil/1",1258),m(760,1,{2003:1},Cge),s.$l=function(n){var t;return this.c==n?!0:(t=Be(zn(this.a,n)),t==null?kDn(this,n)?(ZPe(this.a,n,($n(),w7)),!0):(ZPe(this.a,n,($n(),cb)),!1):t==($n(),w7))},s.e=!1;var Gce;v(Ri,"FeatureMapUtil/BasicValidator",760),m(761,44,j3,Qse),v(Ri,"FeatureMapUtil/BasicValidator/Cache",761),m(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,72:1,98:1},jT),s._c=function(n,t){uXe(this.c,this.b,n,t)},s.Ec=function(n){return Vbe(this.c,this.b,n)},s.ad=function(n,t){return zLn(this.c,this.b,n,t)},s.Fc=function(n){return Zj(this,n)},s.Ei=function(n,t){A8n(this.c,this.b,n,t)},s.Uk=function(n,t){return Fbe(this.c,this.b,n,t)},s.Yi=function(n){return Yz(this.c,this.b,n,!1)},s.Gi=function(){return ITe(this.c,this.b)},s.Hi=function(){return mwn(this.c,this.b)},s.Ii=function(n){return C9n(this.c,this.b,n)},s.Vk=function(n,t){return iNe(this,n,t)},s.$b=function(){fy(this)},s.Gc=function(n){return XR(this.c,this.b,n)},s.Hc=function(n){return M7n(this.c,this.b,n)},s.Xb=function(n){return Yz(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return R6n(this.c,this.b,n)},s.dc=function(){return N$(this)},s.Oj=function(){return!LO(this.c,this.b)},s.Jc=function(){return f8n(this.c,this.b)},s.cd=function(){return a8n(this.c,this.b)},s.dd=function(n){return Ijn(this.c,this.b,n)},s.Ri=function(n,t){return EKe(this.c,this.b,n,t)},s.Si=function(n,t){I9n(this.c,this.b,n,t)},s.ed=function(n){return YGe(this.c,this.b,n)},s.Kc=function(n){return qDn(this.c,this.b,n)},s.fd=function(n,t){return IKe(this.c,this.b,n,t)},s.Wb=function(n){Nz(this.c,this.b),Zj(this,u(n,16))},s.gc=function(){return Djn(this.c,this.b)},s.Nc=function(){return B4n(this.c,this.b)},s.Oc=function(n){return B6n(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new kd,t.a+="[",n=ITe(this.c,this.b);uQ(n);)Bc(t,nE(az(n))),uQ(n)&&(t.a+=To);return t.a+="]",t.a},s.Ek=function(){Nz(this.c,this.b)},v(Ri,"FeatureMapUtil/FeatureEList",495),m(634,39,HN,cY),s.fj=function(n){return zE(this,n)},s.kj=function(n){var t,i,r,c,o,l,f;switch(this.d){case 1:case 2:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.d=5,t=new $w(2),Et(t,this.g),Et(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.d=6,f=new $w(2),Et(f,this.n),Et(f,n.ij()),this.n=f,l=F(z($t,1),ni,30,15,[this.o,n.jj()]),this.g=l,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),l=u(this.g,54),r=le($t,ni,30,l.length+1,15,1),Wu(l,0,r,0,l.length),r[l.length]=n.jj(),this.g=r,!0;break}}break}}return!1},v(Ri,"FeatureMapUtil/FeatureENotificationImpl",634),m(553,495,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},sR),s.Ml=function(n,t){return Vbe(this.c,n,t)},s.Nl=function(n,t,i){return Fbe(this.c,n,t,i)},s.Ol=function(n,t,i){return wge(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return sN(this.c,n,t)},s.Rl=function(n){return u(Yz(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(Yz(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!LO(this.c,n)},s.Vl=function(n,t){Qz(this.c,n,t)},s.Wl=function(n){return PBe(this.c,n)},s.Xl=function(n){pHe(this.c,n)},v(Ri,"FeatureMapUtil/FeatureFeatureMap",553),m(1257,1,Lne,sTe),s.Dk=function(n){return Yz(this.b,this.a,-1,n)},s.Oj=function(){return!LO(this.b,this.a)},s.Wb=function(n){Qz(this.b,this.a,n)},s.Ek=function(){Nz(this.b,this.a)},v(Ri,"FeatureMapUtil/FeatureValue",1257);var t6,qce,Uce,i6,fhn,oD=Gi(oJ,"AnyType");m(670,63,q1,TX),v(oJ,"InvalidDatatypeValueException",670);var NG=Gi(oJ,jen),sD=Gi(oJ,Een),b7e=Gi(oJ,Sen),ahn,Bu,g7e,Bg,hhn,dhn,bhn,ghn,whn,phn,mhn,vhn,yhn,khn,jhn,o5,Ehn,s5,dA,Shn,Cp,lD,fD,xhn,bA,gA;m(828,501,{109:1,94:1,93:1,57:1,52:1,100:1,841:1},Eoe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b)}return $l(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new tr(this,0)),cN(this.c,n,i);case 1:return(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new tr(this,2)),cN(this.b,n,i)}return r=u(Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),t),69),r.uk().yk(this,Ehe(this),t-dt(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Pl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),JT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),JT(this.b,t);return}Hl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),g7e},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return}Jl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (mixed: ",Vj(n,this.c),n.a+=", anyAttribute: ",Vj(n,this.b),n.a+=")",n.a)},v(kr,"AnyTypeImpl",828),m(671,501,{109:1,94:1,93:1,57:1,52:1,100:1,2081:1,671:1},pU),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return $l(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Pl(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:T(this,Pt(t));return;case 1:Q(this,Pt(t));return}Hl(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),o5},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}Jl(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (data: ",Bc(n,this.a),n.a+=", target: ",Bc(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,v(kr,"ProcessingInstructionImpl",671),m(672,828,{109:1,94:1,93:1,57:1,52:1,100:1,841:1,2082:1,672:1},Bxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b);case 3:return!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0));case 4:return Gle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0))));case 5:return this.a}return $l(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0))!=null;case 4:return Gle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0))))!=null;case 5:return!!this.a}return Pl(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),JT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),JT(this.b,t);return;case 3:Nae(this,Pt(t));return;case 4:Nae(this,Hle(this.a,t));return;case 5:I(this,u(t,159));return}Hl(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),s5},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return;case 3:!this.c&&(this.c=new tr(this,0)),Qz(this.c,(Si(),dA),null);return;case 4:Nae(this,Hle(this.a,null));return;case 5:this.a=null;return}Jl(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},v(kr,"SimpleAnyTypeImpl",672),m(673,501,{109:1,94:1,93:1,57:1,52:1,100:1,2083:1,673:1},zxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new tr(this,0)),this.a):(!this.a&&(this.a=new tr(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b):(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),rO(this.b));case 2:return i?(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c):(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),rO(this.c));case 3:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),lD));case 4:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),fD));case 5:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),bA));case 6:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),gA))}return $l(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new tr(this,0)),cN(this.a,n,i);case 1:return!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),Y$(this.b,n,i);case 2:return!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),Y$(this.c,n,i);case 5:return!this.a&&(this.a=new tr(this,0)),iNe(fo(this.a,(Si(),bA)),n,i)}return r=u(Cn((this.j&2)==0?(Si(),Cp):(!this.k&&(this.k=new tl),this.k).Lk(),t),69),r.uk().yk(this,Ehe(this),t-dt((Si(),Cp)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),lD)));case 4:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),fD)));case 5:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),bA)));case 6:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),gA)))}return Pl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),JT(this.a,t);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),DB(this.b,t);return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),DB(this.c,t);return;case 3:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),lD))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,lD),u(t,18));return;case 4:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),fD))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,fD),u(t,18));return;case 5:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),bA))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,bA),u(t,18));return;case 6:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),gA))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,gA),u(t,18));return}Hl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),Cp},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),kt(this.a);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),lD)));return;case 4:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),fD)));return;case 5:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),bA)));return;case 6:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),gA)));return}Jl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (mixed: ",Vj(n,this.a),n.a+=")",n.a)},v(kr,"XMLTypeDocumentRootImpl",673),m(1990,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2084:1},hC),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Pt(t);case 6:return Xpn(u(t,195));case 12:case 47:case 49:case 11:return wVe(this,n,t);case 13:return t==null?null:ULn(u(t,247));case 15:case 14:return t==null?null:F3n(ne(re(t)));case 17:return uGe((Si(),t));case 18:return uGe(t);case 21:case 20:return t==null?null:J3n(u(t,164).a);case 27:return Upn(u(t,195));case 30:return mHe((Si(),u(t,16)));case 31:return mHe(u(t,16));case 40:return qpn((Si(),t));case 42:return oGe((Si(),t));case 43:return oGe(t);case 59:case 48:return Gpn((Si(),t));default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=sl(n),i?Bd(i.si(),n):-1)),n.G){case 0:return t=new Eoe,t;case 1:return r=new pU,r;case 2:return c=new Bxe,c;case 3:return o=new zxe,o;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return fSn(t);case 8:case 7:return t==null?null:KAn(t);case 9:return t==null?null:dO(hl((r=bo(t,!0),r.length>0&&(Wn(0,r.length),r.charCodeAt(0)==43)?(Wn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:dO(hl((c=bo(t,!0),c.length>0&&(Wn(0,c.length),c.charCodeAt(0)==43)?(Wn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Pt(ep(this,(Si(),bhn),t));case 12:return Pt(ep(this,(Si(),ghn),t));case 13:return t==null?null:new Goe(bo(t,!0));case 15:case 14:return tNn(t);case 16:return Pt(ep(this,(Si(),whn),t));case 17:return yJe((Si(),t));case 18:return yJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return bo(t,!0);case 21:case 20:return hNn(t);case 22:return Pt(ep(this,(Si(),phn),t));case 23:return Pt(ep(this,(Si(),mhn),t));case 24:return Pt(ep(this,(Si(),vhn),t));case 25:return Pt(ep(this,(Si(),yhn),t));case 26:return Pt(ep(this,(Si(),khn),t));case 27:return nSn(t);case 30:return kJe((Si(),t));case 31:return kJe(t);case 32:return t==null?null:ye(hl((p=bo(t,!0),p.length>0&&(Wn(0,p.length),p.charCodeAt(0)==43)?(Wn(1,p.length+1),p.substr(1)):p),Xr,oi));case 33:return t==null?null:new C0((y=bo(t,!0),y.length>0&&(Wn(0,y.length),y.charCodeAt(0)==43)?(Wn(1,y.length+1),y.substr(1)):y));case 34:return t==null?null:ye(hl((S=bo(t,!0),S.length>0&&(Wn(0,S.length),S.charCodeAt(0)==43)?(Wn(1,S.length+1),S.substr(1)):S),Xr,oi));case 36:return t==null?null:K2(nF((A=bo(t,!0),A.length>0&&(Wn(0,A.length),A.charCodeAt(0)==43)?(Wn(1,A.length+1),A.substr(1)):A)));case 37:return t==null?null:K2(nF((O=bo(t,!0),O.length>0&&(Wn(0,O.length),O.charCodeAt(0)==43)?(Wn(1,O.length+1),O.substr(1)):O)));case 40:return QSn((Si(),t));case 42:return jJe((Si(),t));case 43:return jJe(t);case 44:return t==null?null:new C0((D=bo(t,!0),D.length>0&&(Wn(0,D.length),D.charCodeAt(0)==43)?(Wn(1,D.length+1),D.substr(1)):D));case 45:return t==null?null:new C0((B=bo(t,!0),B.length>0&&(Wn(0,B.length),B.charCodeAt(0)==43)?(Wn(1,B.length+1),B.substr(1)):B));case 46:return bo(t,!1);case 47:return Pt(ep(this,(Si(),jhn),t));case 59:case 48:return YSn((Si(),t));case 49:return Pt(ep(this,(Si(),Ehn),t));case 50:return t==null?null:f8(hl((U=bo(t,!0),U.length>0&&(Wn(0,U.length),U.charCodeAt(0)==43)?(Wn(1,U.length+1),U.substr(1)):U),iJ,32767)<<16>>16);case 51:return t==null?null:f8(hl((o=bo(t,!0),o.length>0&&(Wn(0,o.length),o.charCodeAt(0)==43)?(Wn(1,o.length+1),o.substr(1)):o),iJ,32767)<<16>>16);case 53:return Pt(ep(this,(Si(),Shn),t));case 55:return t==null?null:f8(hl((l=bo(t,!0),l.length>0&&(Wn(0,l.length),l.charCodeAt(0)==43)?(Wn(1,l.length+1),l.substr(1)):l),iJ,32767)<<16>>16);case 56:return t==null?null:f8(hl((f=bo(t,!0),f.length>0&&(Wn(0,f.length),f.charCodeAt(0)==43)?(Wn(1,f.length+1),f.substr(1)):f),iJ,32767)<<16>>16);case 57:return t==null?null:K2(nF((h=bo(t,!0),h.length>0&&(Wn(0,h.length),h.charCodeAt(0)==43)?(Wn(1,h.length+1),h.substr(1)):h)));case 58:return t==null?null:K2(nF((g=bo(t,!0),g.length>0&&(Wn(0,g.length),g.charCodeAt(0)==43)?(Wn(1,g.length+1),g.substr(1)):g)));case 60:return t==null?null:ye(hl((i=bo(t,!0),i.length>0&&(Wn(0,i.length),i.charCodeAt(0)==43)?(Wn(1,i.length+1),i.substr(1)):i),Xr,oi));case 61:return t==null?null:ye(hl(bo(t,!0),Xr,oi));default:throw R(new Un(l7+n.ve()+lp))}};var Ahn,w7e,Mhn,p7e;v(kr,"XMLTypeFactoryImpl",1990),m(582,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2006:1,582:1},PDe),s.N=!1,s.O=!1;var Chn=!1;v(kr,"XMLTypePackageImpl",582),m(1923,1,{835:1},dC),s.Ik=function(){return uge(),$hn},v(kr,"XMLTypePackageImpl/1",1923),m(1932,1,ii,PL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/10",1932),m(1933,1,ii,Z6),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/11",1933),m(1934,1,ii,bC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/12",1934),m(1935,1,ii,E1),s.dk=function(n){return m2(n)},s.ek=function(n){return le(gr,Ae,346,n,7,1)},v(kr,"XMLTypePackageImpl/13",1935),m(1936,1,ii,$L),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/14",1936),m(1937,1,ii,Jh),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/15",1937),m(1938,1,ii,RL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/16",1938),m(1939,1,ii,BL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/17",1939),m(1940,1,ii,r2),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(p7,Ae,164,n,0,1)},v(kr,"XMLTypePackageImpl/18",1940),m(1941,1,ii,Wk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/19",1941),m(1924,1,ii,gC),s.dk=function(n){return X(n,841)},s.ek=function(n){return le(oD,Nn,841,n,0,1)},v(kr,"XMLTypePackageImpl/2",1924),m(1942,1,ii,Z5),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/20",1942),m(1943,1,ii,zL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/21",1943),m(1944,1,ii,FL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/22",1944),m(1945,1,ii,JL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/23",1945),m(1946,1,ii,HL),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(kr,"XMLTypePackageImpl/24",1946),m(1947,1,ii,Zk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/25",1947),m(1948,1,ii,wC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/26",1948),m(1949,1,ii,mU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/27",1949),m(1950,1,ii,vU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/28",1950),m(1951,1,ii,yU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/29",1951),m(1925,1,ii,GL),s.dk=function(n){return X(n,671)},s.ek=function(n){return le(NG,Nn,2081,n,0,1)},v(kr,"XMLTypePackageImpl/3",1925),m(1952,1,ii,qL),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(kr,"XMLTypePackageImpl/30",1952),m(1953,1,ii,ey),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/31",1953),m(1954,1,ii,ej),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Ae,190,n,0,1)},v(kr,"XMLTypePackageImpl/32",1954),m(1955,1,ii,UL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/33",1955),m(1956,1,ii,XL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/34",1956),m(1957,1,ii,KL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/35",1957),m(1958,1,ii,VL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/36",1958),m(1959,1,ii,YL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/37",1959),m(1960,1,ii,QL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/38",1960),m(1961,1,ii,nj),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/39",1961),m(1926,1,ii,WL),s.dk=function(n){return X(n,672)},s.ek=function(n){return le(sD,Nn,2082,n,0,1)},v(kr,"XMLTypePackageImpl/4",1926),m(1962,1,ii,ZL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/40",1962),m(1963,1,ii,ro),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/41",1963),m(1964,1,ii,pC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/42",1964),m(1965,1,ii,kU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/43",1965),m(1966,1,ii,eP),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/44",1966),m(1967,1,ii,jU),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Ae,191,n,0,1)},v(kr,"XMLTypePackageImpl/45",1967),m(1968,1,ii,EU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/46",1968),m(1969,1,ii,SU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/47",1969),m(1970,1,ii,tj),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/48",1970),m(1971,1,ii,ny),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Ae,191,n,0,1)},v(kr,"XMLTypePackageImpl/49",1971),m(1927,1,ii,mC),s.dk=function(n){return X(n,673)},s.ek=function(n){return le(b7e,Nn,2083,n,0,1)},v(kr,"XMLTypePackageImpl/5",1927),m(1972,1,ii,ij),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Ae,190,n,0,1)},v(kr,"XMLTypePackageImpl/50",1972),m(1973,1,ii,vC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/51",1973),m(1974,1,ii,c2),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(kr,"XMLTypePackageImpl/52",1974),m(1928,1,ii,Lb),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/6",1928),m(1929,1,ii,e9),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(kr,"XMLTypePackageImpl/7",1929),m(1930,1,ii,xU),s.dk=function(n){return p2(n)},s.ek=function(n){return le(Qi,Ae,473,n,8,1)},v(kr,"XMLTypePackageImpl/8",1930),m(1931,1,ii,nP),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(A4,Ae,221,n,0,1)},v(kr,"XMLTypePackageImpl/9",1931);var oh,u0,wA,IG,J;m(53,63,q1,Bt),v(Ud,"RegEx/ParseException",53),m(820,1,{},yC),s._l=function(n){return ni*16)throw R(new Bt(Ht((Lt(),LZe))));i=i*16+c}while(!0);if(this.a!=125)throw R(new Bt(Ht((Lt(),PZe))));if(i>b7)throw R(new Bt(Ht((Lt(),$Ze))));n=i}else{if(c=0,this.c!=0||(c=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(i=c,fi(this),this.c!=0||(c=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));i=i*16+c,n=i}break;case 117:if(r=0,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));t=t*16+r,n=t;break;case 118:if(fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,t>b7)throw R(new Bt(Ht((Lt(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw R(new Bt(Ht((Lt(),RZe))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?Y0("Nd",!0):(ai(),DG);break;case 68:i=(this.e&32)==32?Y0("Nd",!1):(ai(),E7e);break;case 119:i=(this.e&32)==32?Y0("IsWord",!0):(ai(),ek);break;case 87:i=(this.e&32)==32?Y0("IsWord",!1):(ai(),x7e);break;case 115:i=(this.e&32)==32?Y0("IsSpace",!0):(ai(),r6);break;case 83:i=(this.e&32)==32?Y0("IsSpace",!1):(ai(),S7e);break;default:throw R(new du((t=n,Ren+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,l,f,h,g,p,y,S;for(this.b=1,fi(this),t=null,this.c==0&&this.a==94?(fi(this),n?p=(ai(),ai(),new ul(5)):(t=(ai(),ai(),new ul(4)),ho(t,0,b7),p=new ul(4))):p=(ai(),ai(),new ul(4)),c=!0;(S=this.c)!=1&&!(S==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,S==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:cm(p,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(p,i),i<0&&(r=!0);break;case 112:case 80:if(y=Z0e(this,i),!y)throw R(new Bt(Ht((Lt(),Ine))));cm(p,y),r=!0;break;default:i=this.am()}else if(S==20){if(l=A9(this.i,58,this.d),l<0)throw R(new Bt(Ht((Lt(),W2e))));if(f=!0,rc(this.i,this.d)==94&&(++this.d,f=!1),o=sf(this.i,this.d,l),h=H$e(o,f,(this.e&512)==512),!h)throw R(new Bt(Ht((Lt(),OZe))));if(cm(p,h),r=!0,l+1>=this.j||rc(this.i,l+1)!=93)throw R(new Bt(Ht((Lt(),W2e))));this.d=l+2}if(fi(this),!r)if(this.c!=0||this.a!=45)ho(p,i,i);else{if(fi(this),(S=this.c)==1)throw R(new Bt(Ht((Lt(),YF))));S==0&&this.a==93?(ho(p,i,i),ho(p,45,45)):(g=this.a,S==10&&(g=this.am()),fi(this),ho(p,i,g))}(this.e&qf)==qf&&this.c==0&&this.a==44&&fi(this)}if(this.c==1)throw R(new Bt(Ht((Lt(),YF))));return t&&(pS(t,p),p=t),g3(p),gS(p),this.b=0,fi(this),p},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(fi(this),this.c!=9)throw R(new Bt(Ht((Lt(),IZe))));if(t=this.cm(!1),r==4)cm(i,t);else if(n==45)pS(i,t);else if(n==38)hVe(i,t);else throw R(new du("ASSERT"))}else throw R(new Bt(Ht((Lt(),DZe))));return fi(this),i},s.em=function(){var n,t;return n=this.a-48,t=(ai(),ai(),new JV(12,null,n)),!this.g&&(this.g=new zP),BP(this.g,new loe(n)),fi(this),t},s.fm=function(){return fi(this),ai(),Nhn},s.gm=function(){return fi(this),ai(),Ohn},s.hm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.im=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.jm=function(){return fi(this),xkn()},s.km=function(){return fi(this),ai(),Dhn},s.lm=function(){return fi(this),ai(),Lhn},s.mm=function(){var n;if(this.d>=this.j||((n=rc(this.i,this.d++))&65504)!=64)throw R(new Bt(Ht((Lt(),MZe))));return fi(this),ai(),ai(),new Uh(0,n-64)},s.nm=function(){return fi(this),K_n()},s.om=function(){return fi(this),ai(),Phn},s.pm=function(){var n;return n=(ai(),ai(),new Uh(0,105)),fi(this),n},s.qm=function(){return fi(this),ai(),_hn},s.rm=function(){return fi(this),ai(),Ihn},s.sm=function(n,t){return this.am()},s.tm=function(){return fi(this),ai(),k7e},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw R(new Bt(Ht((Lt(),SZe))));if(r=-1,t=null,n=rc(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new zP),BP(this.g,new loe(r)),++this.d,rc(this.i,this.d)!=41)throw R(new Bt(Ht((Lt(),kg))));++this.d}else switch(n==63&&--this.d,fi(this),t=Ige(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw R(new Bt(Ht((Lt(),kg))));break;default:throw R(new Bt(Ht((Lt(),xZe))))}if(fi(this),c=qw(this),i=null,c.e==2){if(c.Nm()!=2)throw R(new Bt(Ht((Lt(),AZe))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),ai(),ai(),new _Re(r,t,c,i)},s.vm=function(){return fi(this),ai(),j7e},s.wm=function(){var n;if(fi(this),n=ER(24,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.xm=function(){var n;if(fi(this),n=ER(20,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.ym=function(){var n;if(fi(this),n=ER(22,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j)throw R(new Bt(Ht((Lt(),Y2e))));if(t==45){for(++this.d;this.d=this.j)throw R(new Bt(Ht((Lt(),Y2e))))}if(t==58){if(++this.d,fi(this),r=kDe(qw(this),n,i),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));fi(this)}else if(t==41)++this.d,fi(this),r=kDe(qw(this),n,i);else throw R(new Bt(Ht((Lt(),EZe))));return r},s.Am=function(){var n;if(fi(this),n=ER(21,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Bm=function(){var n;if(fi(this),n=ER(23,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Cm=function(){var n,t;if(fi(this),n=this.f++,t=pV(qw(this),n),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),t},s.Dm=function(){var n;if(fi(this),n=pV(qw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Em=function(n){return fi(this),this.c==5?(fi(this),gR(n,(ai(),ai(),new P2(9,n)))):gR(n,(ai(),ai(),new P2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new Wj(2)),this.c==5?(fi(this),dg(t,mA),dg(t,n)):(dg(t,n),dg(t,mA)),t},s.Gm=function(n){return fi(this),this.c==5?(fi(this),ai(),ai(),new P2(9,n)):(ai(),ai(),new P2(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,v(Ud,"RegEx/RegexParser",820),m(1910,820,{},Fxe),s._l=function(n){return!1},s.am=function(){return $be(this)},s.bm=function(n){return D8(n)},s.cm=function(n){return cYe(this)},s.dm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.em=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.fm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.gm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.hm=function(){return fi(this),D8(67)},s.im=function(){return fi(this),D8(73)},s.jm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.km=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.lm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.mm=function(){return fi(this),D8(99)},s.nm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.om=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.pm=function(){return fi(this),D8(105)},s.qm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.rm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.sm=function(n,t){return cm(n,D8(t)),-1},s.tm=function(){return fi(this),ai(),ai(),new Uh(0,94)},s.um=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.vm=function(){return fi(this),ai(),ai(),new Uh(0,36)},s.wm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.xm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.ym=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.zm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Am=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Bm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Cm=function(){var n;if(fi(this),n=pV(qw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Dm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Em=function(n){return fi(this),gR(n,(ai(),ai(),new P2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new Wj(2)),dg(t,n),dg(t,mA),t},s.Gm=function(n){return fi(this),ai(),ai(),new P2(3,n)};var l5=null,W7=null;v(Ud,"RegEx/ParserForXMLSchema",1910),m(121,1,g7,pw),s.Hm=function(n){throw R(new du("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var m7e,Z7,pA,Thn,v7e,Wm=null,DG,Xce=null,y7e,mA,Kce=null,k7e,j7e,E7e,S7e,x7e,Ohn,r6,Nhn,Ihn,Dhn,_hn,ek,Lhn,Phn,ozn=v(Ud,"RegEx/Token",121);m(137,121,{3:1,137:1,121:1},ul),s.Om=function(n){var t,i,r;if(this.e==4)if(this==y7e)i=".";else if(this==DG)i="\\d";else if(this==ek)i="\\w";else if(this==r6)i="\\s";else{for(r=new kd,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,oN(this.b[t])):(Bc(r,oN(this.b[t])),r.a+="-",Bc(r,oN(this.b[t+1])));r.a+="]",i=r.a}else if(this==E7e)i="\\D";else if(this==x7e)i="\\W";else if(this==S7e)i="\\S";else{for(r=new kd,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,oN(this.b[t])):(Bc(r,oN(this.b[t])),r.a+="-",Bc(r,oN(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,v(Ud,"RegEx/RangeToken",137),m(580,1,{580:1},loe),s.a=0,v(Ud,"RegEx/RegexParser/ReferencePosition",580),m(579,1,{3:1,579:1},EMe),s.Fb=function(n){var t;return n==null||!X(n,579)?!1:(t=u(n,579),bn(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return _d(this.b+"/"+Obe(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,v(Ud,"RegEx/RegularExpression",579),m(228,121,g7,Uh),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;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:r="\\"+HK(this.a&yr);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=Ec?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+sf(i,i.length-6,i.length)):r=""+HK(this.a&yr)}break;case 8:this==k7e||this==j7e?r=""+HK(this.a&yr):r="\\"+HK(this.a&yr);break;default:r=null}return r},s.a=0,v(Ud,"RegEx/Token/CharToken",228),m(322,121,g7,P2),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw R(new du("Token#toString(): CLOSURE "+this.c+To+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw R(new du("Token#toString(): NONGREEDYCLOSURE "+this.c+To+this.b));return t},s.b=0,s.c=0,v(Ud,"RegEx/Token/ClosureToken",322),m(821,121,g7,Jfe),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},v(Ud,"RegEx/Token/ConcatToken",821),m(1908,121,g7,_Re),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw R(new du("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,v(Ud,"RegEx/Token/ConditionToken",1908),m(1909,121,g7,mLe),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":Obe(this.a))+(this.c==0?"":Obe(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,v(Ud,"RegEx/Token/ModifierToken",1909),m(822,121,g7,Wfe),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?"+this.a.Om(n)+")"}return t},s.b=0,v(Ud,"RegEx/Token/ParenToken",822),m(517,121,{3:1,121:1,517:1},JV),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:JOn(this.b)},s.a=0,v(Ud,"RegEx/Token/StringToken",517),m(466,121,g7,Wj),s.Hm=function(n){dg(this,n)},s.Jm=function(n){return u(Tw(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Tw(this.a,0),121),i=u(Tw(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new kd,r=0;r=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw R(new vd(qen))},s.a=0,s.b=0,v(pme,"ExclusiveRange/RangeIterator",259);var Zl=R9(QF,"C"),$t=R9(qS,"I"),ts=R9(d4,"Z"),Tp=R9(US,"J"),ds=R9(JS,"B"),Jr=R9(HS,"D"),Zm=R9(GS,"F"),f5=R9(XS,"S"),szn=Gi("org.eclipse.elk.core.labels","ILabelManager"),A7e=Gi(yc,"DiagnosticChain"),M7e=Gi(ven,"ResourceSet"),C7e=v(yc,"InvocationTargetException",null),Rhn=(UP(),Z6n),Bhn=Bhn=IAn;Y8n(jbn),h7n("permProps",[[["locale","default"],[Uen,"gecko1_8"]],[["locale","default"],[Uen,"safari"]]]),Bhn(null,"elk",null)}).call(this)}).call(this,typeof Fhn<"u"?Fhn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(x,M,N){function $(me){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},$(me)}function k(me,Pe,ae){return Object.defineProperty(me,"prototype",{writable:!1}),me}function H(me,Pe){if(!(me instanceof Pe))throw new TypeError("Cannot call a class as a function")}function q(me,Pe,ae){return Pe=Z(Pe),G(me,W()?Reflect.construct(Pe,ae||[],Z(me).constructor):Pe.apply(me,ae))}function G(me,Pe){if(Pe&&($(Pe)=="object"||typeof Pe=="function"))return Pe;if(Pe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ie(me)}function ie(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function W(){try{var me=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W=function(){return!!me})()}function Z(me){return Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},Z(me)}function se(me,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");me.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:me,writable:!0,configurable:!0}}),Object.defineProperty(me,"prototype",{writable:!1}),Pe&&oe(me,Pe)}function oe(me,Pe){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ae,Ne){return ae.__proto__=Ne,ae},oe(me,Pe)}var ee=x("./elk-api.js").default,Me=(function(me){function Pe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};H(this,Pe);var Ne=Object.assign({},ae),Ue=!1;try{x.resolve("web-worker"),Ue=!0}catch{}if(ae.workerUrl)if(Ue){var ln=x("web-worker");Ne.workerFactory=function(xn){return new ln(xn)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +Consider installing the package or pass your own 'workerFactory' to ELK's constructor. +... Falling back to non-web worker version.`);if(!Ne.workerFactory){var on=x("./elk-worker.min.js"),An=on.Worker;Ne.workerFactory=function(xn){return new An(xn)}}return q(this,Pe,[Ne])}return se(Pe,me),k(Pe)})(ee);Object.defineProperty(M.exports,"__esModule",{value:!0}),M.exports=Me,Me.default=Me},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(x,M,N){var $=typeof Worker<"u"?Worker:void 0;M.exports=$},{}]},{},[3])(3)})})(Z7e)),Z7e.exports}var hKn=aKn();const dKn=yke(hKn);function ubn(b){if(b.detailMode==="overview")return 190;const E=Math.max(b.applicationId.length,b.modelName.length,...b.inputs.map(x=>x.name.length),...b.outputs.map(x=>x.name.length));return Math.max(310,Math.min(540,235+E*7))}const bKn=new dKn;async function gKn(b,E,x){const M={id:"root",layoutOptions:wKn(x),children:b.map(k=>({id:k.id,width:pKn(k.data),height:mKn(k.data),ports:k.data.nodeKind==="application"?[...obn(k.data).map((H,q)=>sue(H.id,"WEST",q)),...sbn(k.data).map((H,q)=>sue(H.id,"EAST",q))]:[...(k.data.inputPortIds??[]).map((H,q)=>sue(H,"WEST",q)),...(k.data.outputPortIds??[]).map((H,q)=>sue(H,"EAST",q))],layoutOptions:{"org.eclipse.elk.portConstraints":"FIXED_ORDER"}})),edges:E.map(k=>({id:k.id,sources:[k.sourceHandle??k.source],targets:[k.targetHandle??k.target]}))},N=await bKn.layout(M),$=new Map((N.children??[]).map(k=>[k.id,{x:k.x??0,y:k.y??0}]));return b.map(k=>({...k,position:$.get(k.id)??k.position}))}function wKn(b){return{"elk.algorithm":b==="topology"?"mrtree":"layered","elk.direction":b==="topology"?"DOWN":"RIGHT","elk.spacing.nodeNode":b==="overview"?"24":b==="compact"?"32":"56","elk.layered.spacing.nodeNodeBetweenLayers":b==="overview"?"48":b==="compact"?"60":"110","elk.layered.nodePlacement.strategy":"BRANDES_KOEPF","elk.layered.crossingMinimization.semiInteractive":"true","elk.edgeRouting":"ORTHOGONAL"}}function sue(b,E,x){return{id:b,width:9,height:9,layoutOptions:{"org.eclipse.elk.port.side":E,"org.eclipse.elk.port.index":String(x)}}}function pKn(b){return b.nodeKind==="application"?ubn(b):240}function mKn(b){if(b.nodeKind!=="application")return 112;if(b.detailMode==="overview")return 108;const E=Math.max(b.inputs.length,b.outputs.length),x=Math.max(b.environmentInputs.length,b.environmentOutputs.length);return Math.max(178,142+E*27+(x>0?32+x*27:0))}function obn(b){return[...b.inputs,...b.environmentInputs]}function sbn(b){return[...b.outputs,...b.environmentOutputs]}function vKn({data:b,selected:E}){const x=b.detailMode==="overview",M=new Set(b.requiredInputPortIds),N=new Set(b.candidatePortIds),$=new Set(b.previousTimeStepPortIds),k=new Set(b.cycleBreakInputPortIds),H=jKn(b);return _.jsxs("section",{className:`model-node application-node ${x?"overview-node":""} ${b.cyclic?"cyclic":""} ${E?"selected":""}`,"data-testid":`application-node-${b.applicationId}`,style:{width:ubn(b)},children:[x&&_.jsx(kKn,{inputs:obn(b),outputs:sbn(b)}),_.jsxs("header",{className:"node-header",children:[_.jsxs("div",{children:[_.jsx("div",{className:"process",children:b.name||b.applicationId}),_.jsx("div",{className:"model-type",children:b.modelName})]}),_.jsx(tbn,{size:18})]}),x?_.jsxs("div",{className:"overview-node-summary",children:[_.jsxs("span",{children:[b.targetCount," targets"]}),_.jsxs("span",{children:[b.inputs.length," in"]}),_.jsxs("span",{children:[b.outputs.length," out"]})]}):_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"node-meta",children:[_.jsxs("span",{className:"meta-chip",title:b.selector.julia,children:[_.jsx(IXn,{size:13})," ",H]}),_.jsxs("span",{className:"meta-chip",title:b.cadence.julia,children:[_.jsx(LXn,{size:13})," ",EKn(b)]})]}),_.jsxs("div",{className:"target-summary",children:[_.jsx("strong",{children:b.targetCount})," concrete target",b.targetCount===1?"":"s"]}),_.jsxs("div",{className:"ports-grid",children:[_.jsx(lue,{title:"Inputs",side:"input",ports:b.inputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:b.cycleBreakMode,application:b,onCandidateClick:b.onCandidateClick,onPortClick:b.onPortClick,onCycleBreak:b.onCycleBreak}),_.jsx(lue,{title:"Outputs",side:"output",ports:b.outputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:b.cycleBreakMode,application:b,onCandidateClick:b.onCandidateClick,onPortClick:b.onPortClick,onCycleBreak:b.onCycleBreak})]}),(b.environmentInputs.length>0||b.environmentOutputs.length>0)&&_.jsxs("div",{className:"ports-grid environment-ports",children:[_.jsx(lue,{title:"Environment inputs",side:"input",ports:b.environmentInputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:b,onPortClick:b.onPortClick}),_.jsx(lue,{title:"Environment outputs",side:"output",ports:b.environmentOutputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:b,onPortClick:b.onPortClick})]})]})]})}function yKn({data:b,selected:E}){return _.jsxs("section",{className:`entity-node ${b.nodeKind} ${E?"selected":""}`,"data-testid":`${b.nodeKind}-node`,children:[(b.inputPortIds?.length?b.inputPortIds:[void 0]).map((x,M)=>_.jsx(w5,{id:x,type:"target",position:ur.Left,style:{top:`${Nue(M,b.inputPortIds?.length??1)}%`}},x??"target")),_.jsxs("header",{children:[_.jsx("strong",{children:b.title}),_.jsx("span",{children:b.subtitle})]}),_.jsx("div",{className:"badges",children:b.badges.map(x=>_.jsx("span",{className:"meta-chip",children:x},x))}),(b.outputPortIds?.length?b.outputPortIds:[void 0]).map((x,M)=>_.jsx(w5,{id:x,type:"source",position:ur.Right,style:{top:`${Nue(M,b.outputPortIds?.length??1)}%`}},x??"source"))]})}function lue({title:b,side:E,ports:x,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:H,application:q,onCandidateClick:G,onPortClick:ie,onCycleBreak:W}){return _.jsxs("div",{className:`port-column ${E}`,children:[_.jsx("div",{className:"port-title",children:b}),x.map(Z=>_.jsxs("div",{className:`port ${M.has(Z.id)?"required-input":""} ${$.has(Z.id)?"previous":""}`,"data-testid":`port-${E}-${Z.name}`,title:`${Z.name}: ${Z.defaultJulia}`,onClick:se=>{se.stopPropagation(),ie?.(Z)},children:[E==="input"&&_.jsx(w5,{id:Z.id,type:"target",position:ur.Left}),_.jsx("span",{children:Z.name}),N.has(Z.id)&&_.jsx("button",{className:"port-candidate-button nodrag nopan",type:"button",title:E==="input"?"Models that compute this variable":"Models that consume this variable","aria-label":E==="input"?`Models that compute ${Z.name}`:`Models that consume ${Z.name}`,onClick:se=>{se.stopPropagation();const oe=se.currentTarget.getBoundingClientRect();G?.(Z,{x:oe.right,y:oe.top+oe.height/2})},children:_.jsx(MA,{size:11})}),E==="input"&&H&&k.has(Z.id)&&_.jsx("button",{className:"cycle-port-break nodrag nopan",type:"button",title:`Read ${Z.name} from the previous accepted timestep`,"aria-label":`Break cycle at ${q.applicationId}.${Z.name}`,"data-testid":`cycle-break-${q.applicationId}-${Z.name}`,onClick:se=>{se.stopPropagation(),W?.(q,Z)},children:_.jsx(ibn,{size:12})}),$.has(Z.id)&&_.jsx("small",{className:"previous-label",children:"t-1"}),E==="output"&&_.jsx(w5,{id:Z.id,type:"source",position:ur.Right})]},Z.id))]})}function kKn({inputs:b,outputs:E}){return _.jsxs(_.Fragment,{children:[b.map((x,M)=>_.jsx(w5,{id:x.id,type:"target",position:ur.Left,style:{top:`${Nue(M,b.length)}%`}},x.id)),E.map((x,M)=>_.jsx(w5,{id:x.id,type:"source",position:ur.Right,style:{top:`${Nue(M,E.length)}%`}},x.id))]})}function Nue(b,E){return E<=1?52:28+b/(E-1)*48}function jKn(b){const E=[...b.targetInstances,...b.targetScales,...b.targetKinds];return E.length>0?E.slice(0,2).join(" / "):b.selector.type}function EKn(b){return b.cadence.mode==="default"?"default rate":b.cadence.mode==="period"?`${b.cadence.value} ${b.cadence.unit}`:b.cadence.julia}function SKn({id:b,sourceX:E,sourceY:x,targetX:M,targetY:N,sourcePosition:$=ur.Right,targetPosition:k=ur.Left,markerEnd:H,style:q,data:G}){const[ie,W,Z]=Cue({sourceX:E,sourceY:x,targetX:M,targetY:N,sourcePosition:$,targetPosition:k,borderRadius:14,offset:24}),se=xKn(G);return _.jsxs(_.Fragment,{children:[_.jsx(uq,{id:b,path:ie,markerEnd:H,style:q,interactionWidth:18}),se&&_.jsx(WUn,{children:_.jsx("div",{className:`edge-chip ${G?.kind??""} ${G?.cycle?"cycle":""}`,style:{transform:`translate(-50%, -50%) translate(${W}px, ${Z-12}px)`},children:se})})]})}function xKn(b){return b?b.kind==="manual_call"?b.call||"call":b.kind==="initializer"?b.call||"initializer":b.kind==="object_topology"||b.kind==="application_target"?"":b.sourceVariable&&b.targetVariable?b.sourceVariable===b.targetVariable?b.sourceVariable:`${b.sourceVariable} → ${b.targetVariable}`:b.kind.replaceAll("_"," "):""}const eke=zke("source","degree_days","ToyDegreeDaysCumulModel",[],["TT_cu"]),fue=zke("lai","lai_dynamic","ToyLAIModel",["TT_cu"],["LAI"]),nke=zke("light","light_interception","Beer",["LAI"],["aPPFD"]),odn={schemaVersion:2,level:"applications",metadata:{title:"PlantSimEngine Model Graph",modelRevision:0,objectCount:1,instanceCount:0,applicationCount:3,executionCount:3,bindingCount:2,callCount:0,unresolvedInitializationCount:1,cyclic:!1,strictlyCompiled:!0,sceneEnvironmentId:null},objects:[{id:"object:plant",objectId:"plant",scale:"Plant",kind:"plant",species:null,name:"plant",instance:null,parent:null,children:[],hasGeometry:!1,hasStatus:!0}],templates:[],instances:[],applications:[eke,fue,nke],executions:[eke,fue,nke].map(b=>({id:`execution:${b.applicationId}:plant`,applicationId:b.applicationId,applicationNodeId:b.id,objectId:"plant",objectNodeId:"object:plant",modelType:b.modelType,modelParameters:{},overridden:!1})),edges:[ldn(eke,"TT_cu",fue,"TT_cu"),ldn(fue,"LAI",nke,"LAI")],modelLibrary:[],environments:[],initialization:[{applicationId:"source",objectId:"plant",variable:"TT",role:"input",disposition:"unresolved",value:"-Inf",valueJulia:"-Inf",expectedType:"Float64",declaredType:"Float64",originalType:null,transformedType:null,effectiveType:null,statusTransformApplied:!1,statusTransformChanged:!1,typeMappingApplied:!1,typeMappingChanged:!1,typeMappingRule:null,sourceApplicationIds:[],sourceObjectIds:[],sourceVariable:null,origin:"missing",previousTimeStep:!1}],diagnostics:[],cycles:[],availableActions:["inspect"]};function zke(b,E,x,M,N){return{id:`application:${b}`,applicationId:b,owner:{scope:"global",applicationId:b,instance:null,templateId:null},name:b,process:E,modelType:x,modelName:x,module:"PlantSimEngine.Examples",package:"PlantSimEngine",modelParameters:{},selector:{type:"One",multiplicity:"one",criteria:{scale:"Plant"},julia:"One(scale=:Plant)"},targetIds:["plant"],targetCount:1,targetScales:["Plant"],targetKinds:["plant"],targetSpecies:[],targetInstances:[],cadence:{mode:"default",value:null,unit:null,julia:"nothing"},clock:null,inputs:M.map($=>sdn(b,"input",$)),outputs:N.map($=>sdn(b,"output",$)),environmentInputs:[],environmentOutputs:[],inputBindings:{},callBindings:{},environment:null,environmentBindings:{},environmentWindow:{mode:"default",value:null,unit:null,julia:"nothing"},outputRouting:{},updates:[],modelStorage:"shared_application",objectOverrides:[]}}function sdn(b,E,x){return{id:`application:${b}:${E}:${x}`,name:x,role:E,default:"-Inf",defaultJulia:"-Inf",expectedType:"Float64"}}function ldn(b,E,x,M){return{id:`binding:${b.applicationId}:${E}:${x.applicationId}:${M}`,source:b.id,target:x.id,sourcePort:`application:${b.applicationId}:output:${E}`,targetPort:`application:${x.applicationId}:input:${M}`,sourceVariable:E,targetVariable:M,sourceApplicationId:b.applicationId,targetApplicationId:x.applicationId,kind:"inferred_same_object",cycle:!1,projection:"applications"}}const AKn={application:vKn,entity:yKn},MKn={modelEdge:SKn};function CKn(){const[b,E]=Re.useState(ike),[x,M]=Re.useState(()=>ike().level),[N,$]=Re.useState(()=>ike().metadata.applicationCount>24?"overview":"detail"),[k,H]=Re.useState(""),[q,G]=Re.useState(null),[ie,W]=Re.useState(null),[Z,se]=Re.useState(null),[oe,ee]=Re.useState(null),[Me,me]=Re.useState(!1),[Pe,ae]=Re.useState(!1),[Ne,Ue]=Re.useState(!1),[ln,on]=Re.useState(!1),[An,xn]=Re.useState(!1),[tt,mn]=Re.useState(""),[vn,Y]=Re.useState(null),[Fe,wn]=Re.useState(null),[xe,Ge]=Re.useState([]),[fn,$e]=Re.useState(null),[Mn,ge]=Re.useState(!1),[tn,Hn]=Re.useState(!1),[ut,Jt]=Re.useState(!1),[di,Gt]=Re.useState(null),[At,si]=Re.useState(null),[Kr,Er]=Re.useState(null),[Dt,bi]=Re.useState(!1),[zi,cu]=Re.useState(null),[Fu,Rs]=Re.useState(!1),[ra,nf]=Re.useState(null),[Ia,Cc]=Re.useState(null),[l0,Cb]=Re.useState(null),[xl,od]=Re.useState(null),[f0,sh]=Re.useState(null),[sd,m5]=Re.useState(!1),[a0,Np]=Re.useState(null),[h6,Tb,ca]=ZUn([]),[ld,xf,d6]=eXn([]),lh=Re.useMemo(KKn,[]),Ip=Re.useMemo(()=>new Map(b.applications.map(vt=>[vt.applicationId,vt])),[b.applications]),Xg=Re.useMemo(()=>new Set(b.initialization.filter(vt=>vt.role==="input"&&vt.disposition==="unresolved").map(vt=>tke(vt.applicationId,"input",vt.variable))),[b.initialization]),Kg=Re.useMemo(()=>new Set(b.initialization.filter(vt=>vt.role==="input"&&vt.previousTimeStep).map(vt=>tke(vt.applicationId,"input",vt.variable))),[b.initialization]),Vg=Re.useMemo(()=>new Set(b.cycles.flatMap(vt=>vt.applicationIds)),[b.cycles]),fd=Re.useMemo(()=>new Set(b.cycles.flatMap(vt=>vt.breakCandidates.map(kc=>tke(kc.applicationId,"input",kc.input)))),[b.cycles]),Yg=Re.useMemo(()=>_Kn(b),[b]),Ob=Re.useMemo(()=>oe?LKn(b.modelLibrary,oe.port):[],[oe,b.modelLibrary]),v5=Re.useMemo(()=>oe?$Kn(b.applications,oe):[],[oe,b.applications]),Dp=Re.useMemo(()=>{const vt=new Map;for(const kc of b.applications)for(const tc of[...kc.inputs,...kc.outputs])vt.set(tc.id,{application:kc,port:tc});return vt},[b.applications]),_p=Re.useMemo(()=>ie?new Set(ie.objectIds.map(Ab)):null,[ie]);Re.useEffect(()=>{if(!lh?.websocketUrl)return;const vt=new WebSocket(lh.websocketUrl);return $e(vt),vt.addEventListener("open",()=>{ge(!0),Gt(null)}),vt.addEventListener("close",()=>{ge(!1),Gt("Editor connection closed.")}),vt.addEventListener("message",kc=>{const tc=JSON.parse(kc.data);tc.graph&&E(tc.graph),typeof tc.modelCode=="string"&&mn(tc.modelCode),Y(tc.autosavePath??null),wn(tc.savePath??null),Ge(tc.recentPaths??[]),tc.selectorPreview&&sh(tc.selectorPreview),tc.targetPreview&&Er(tc.targetPreview),tc.instancePreview&&cu(tc.instancePreview),tc.ok===!1&&(sh(null),Er(null),cu(null)),Hn(!!tc.canUndo),Jt(!!tc.canRedo),Gt(tc.ok===!1?tc.diagnostics?.[0]||"The edit failed.":null)}),()=>vt.close()},[lh?.websocketUrl]),Re.useEffect(()=>{b.metadata.cyclic||(m5(!1),Np(null))},[b.metadata.cyclic]);const uu=Re.useCallback(vt=>{if(!fn||fn.readyState!==WebSocket.OPEN){Gt("This action requires an interactive Julia editor session.");return}fn.send(JSON.stringify(vt))},[fn]),y5=Re.useCallback((vt,kc,tc)=>{G(vt),se(kc),ee({application:vt,port:kc,x:tc.x,y:tc.y})},[]);Re.useEffect(()=>{const vt=TKn({graph:b,view:x,detailMode:N,query:k,scopedObjectIds:_p,unresolvedPortIds:Xg,previousPortIds:Kg,candidatePortIds:Yg,cyclicApplications:Vg,cycleBreakPortIds:fd,cycleBreakMode:sd,openCandidates:y5,onPortClick:se,onCycleBreak:(h0,Zg)=>Np({application:h0,port:Zg})}),kc=new Set(vt.map(h0=>h0.id)),tc=OKn(b,x).filter(h0=>kc.has(h0.source)&&kc.has(h0.target));gKn(vt,tc,x==="topology"?"topology":N==="overview"?"overview":"data_flow").then(Tb),xf(tc)},[Yg,sd,fd,Vg,N,b,y5,Kg,k,_p,xf,Tb,Xg,x]);const Qg=Re.useCallback((vt,kc)=>{if(kc.data.nodeKind==="application")G(Ip.get(kc.data.applicationId)??null);else if(G(kc.data.detail),kc.data.nodeKind==="object"){const tc=kc.data.detail;W({label:`subtree ${tc.name||Oa(tc.objectId)}`,objectIds:IKn(b.objects,tc.objectId)})}else if(kc.data.nodeKind==="instance"){const tc=kc.data.detail;W({label:`instance ${tc.name}`,objectIds:tc.objectIds})}else kc.data.nodeKind==="model"&&W(null);se(null)},[Ip,b.objects]),ov=Re.useCallback(vt=>{oe&&(Er(null),si({mode:"add",initialModelType:vt.type,suggestedSelector:XKn(oe.application)}),Mn||Gt(`${vt.name} matches ${oe.port.name}. Start an interactive Julia editor session to add it to the composite model.`),ee(null))},[oe,Mn]),k5=Re.useCallback(vt=>{if(!Mn){Gt("Adding or updating an application requires an interactive Julia editor session."),si(null);return}uu({action:"edit",kind:vt.applicationRef?"update_application":"add_application",...vt}),si(null)},[Mn,uu]),Wg=Re.useCallback(vt=>{if(!Mn){Gt("Adding a template instance requires an interactive Julia editor session.");return}uu({action:"edit",kind:"add_instance",...vt}),bi(!1),cu(null)},[Mn,uu]),sv=Re.useCallback(vt=>{if(!Mn){Gt("Creating a binding requires an interactive Julia editor session."),od(null);return}uu({action:"edit",kind:"set_input_binding",...vt}),od(null)},[Mn,uu]),j5=Re.useCallback(vt=>{if(!Mn){Gt("Adding or updating an object requires an interactive Julia editor session."),nf(null);return}uu({action:"edit",kind:ra?.mode==="update"?"update_object":"add_object",objectId:vt.objectId,configuration:vt.configuration}),nf(null)},[Mn,ra?.mode,uu]),E5=Re.useCallback(vt=>{if(!Mn){Gt("Creating an override requires an interactive Julia editor session."),Cc(null);return}uu({action:"edit",kind:vt.scope==="instance"?"set_instance_override":"set_object_override",...vt}),Cc(null)},[Mn,uu]),w1=Re.useCallback(vt=>{if(!Mn){Gt("Removing an override requires an interactive Julia editor session.");return}uu({action:"edit",kind:vt.scope==="instance"?"remove_instance_override":"remove_object_override",...vt}),Cc(null)},[Mn,uu]),Zs=Re.useCallback(vt=>{if(!vt.sourceHandle||!vt.targetHandle)return;const kc=Dp.get(vt.sourceHandle),tc=Dp.get(vt.targetHandle);if(!kc||!tc||kc.port.role!=="output"||tc.port.role!=="input"){Gt("Connect an application output to an application input.");return}od({sourceApplication:kc.application,sourcePort:kc.port,targetApplication:tc.application,targetPort:tc.port}),sh(null)},[Dp]),Af=Re.useMemo(()=>{if(!q)return b.initialization;if("applicationId"in q)return b.initialization.filter(vt=>vt.applicationId===q.applicationId);if("objectId"in q)return b.initialization.filter(vt=>Ab(vt.objectId)===Ab(q.objectId));if("objectIds"in q){const vt=new Set(q.objectIds.map(Ab));return b.initialization.filter(kc=>vt.has(Ab(kc.objectId)))}return b.initialization},[b.initialization,q]);return _.jsxs("main",{className:"model-editor-shell","data-testid":"model-graph-viewer",children:[_.jsxs("header",{className:"model-toolbar",children:[_.jsxs("div",{className:"model-brand",children:[_.jsx("span",{className:"brand-mark"}),_.jsxs("div",{children:[_.jsx("small",{children:"PLANTSIMENGINE"}),_.jsx("strong",{children:"Model Graph"})]})]}),_.jsxs("div",{className:"model-search",children:[_.jsx(HXn,{size:17}),_.jsx("input",{value:k,onChange:vt=>H(vt.target.value),placeholder:"Search application, object, or variable"}),k&&_.jsx("button",{"aria-label":"Clear search",onClick:()=>H(""),children:_.jsx(qg,{size:15})})]}),_.jsxs("div",{className:"model-counts",children:[_.jsxs("span",{children:[b.metadata.applicationCount," applications"]}),_.jsxs("span",{children:[b.metadata.objectCount," objects"]}),b.metadata.unresolvedInitializationCount>0&&_.jsxs("button",{className:"count-warning",onClick:()=>ae(!0),children:[_.jsx(_Xn,{size:14})," ",b.metadata.unresolvedInitializationCount," init"]}),b.diagnostics.length>0&&_.jsxs("button",{className:"count-error",onClick:()=>me(!0),children:[_.jsx(vke,{size:14})," ",b.diagnostics.length]})]}),_.jsxs("nav",{className:"view-tabs","aria-label":"Graph projection",children:[_.jsxs("button",{className:x==="applications"?"active":"",onClick:()=>M("applications"),children:[_.jsx(tbn,{size:15})," Applications"]}),_.jsxs("button",{className:x==="topology"?"active":"",onClick:()=>M("topology"),children:[_.jsx(RXn,{size:15})," Objects"]}),_.jsxs("button",{className:x==="resolved"?"active":"",onClick:()=>M("resolved"),children:[_.jsx(BXn,{size:15})," Executions"]})]}),_.jsxs("div",{className:"model-actions",children:[lh&&_.jsxs("button",{"data-testid":"open-model",onClick:()=>on(!0),children:[_.jsx($Xn,{size:15})," Open"]}),lh&&_.jsxs("button",{"data-testid":"save-model",onClick:()=>xn(!0),children:[_.jsx(JXn,{size:15})," ",Fe?"Saved":"Save"]}),x!=="topology"&&_.jsx("button",{className:N==="overview"?"overview-cta":"",onClick:()=>$(vt=>vt==="overview"?"detail":"overview"),children:N==="overview"?"Overview Mode - Show Detailed View":"Show Overview"}),lh&&_.jsxs("button",{"data-testid":"add-application",onClick:()=>{Er(null),si({mode:"add"})},children:[_.jsx(MA,{size:15})," Add application"]}),lh&&_.jsxs("button",{"data-testid":"add-object",onClick:()=>nf({mode:"add"}),children:[_.jsx(MA,{size:15})," Add object"]}),lh&&b.templates.length>0&&_.jsxs("button",{"data-testid":"add-instance",onClick:()=>{cu(null),bi(!0)},children:[_.jsx(MA,{size:15})," Add instance"]}),lh&&_.jsx("button",{"data-testid":"configure-environment",onClick:()=>Rs(!0),children:"Environment"}),lh&&_.jsx("button",{disabled:!tn,onClick:()=>uu({action:"undo"}),"aria-label":"Undo",children:_.jsx(GXn,{size:15})}),lh&&_.jsx("button",{disabled:!ut,onClick:()=>uu({action:"redo"}),"aria-label":"Redo",children:_.jsx(zXn,{size:15})}),_.jsxs("button",{onClick:()=>Ue(!0),children:[_.jsx(PXn,{size:15})," Model code"]})]})]}),b.metadata.cyclic&&_.jsxs("section",{className:"cycle-callout","data-testid":"cycle-callout",children:[_.jsx(vke,{size:19}),_.jsxs("div",{children:[_.jsx("strong",{children:"Current-step dependency cycle"}),_.jsx("span",{children:"Select a cycle input to read its previous accepted timestep value."})]}),_.jsx("button",{className:sd?"active":"",onClick:()=>{M("applications"),$("detail"),m5(vt=>!vt)},"data-testid":"choose-cycle-break",children:sd?"Cancel break selection":"Choose a break point in graph"})]}),di&&_.jsxs("div",{className:"editor-feedback",children:[di,_.jsx("button",{onClick:()=>Gt(null),children:_.jsx(qg,{size:14})})]}),ie&&_.jsxs("section",{className:"graph-scope-filter","data-testid":"graph-scope-filter",children:[_.jsxs("span",{children:["Showing ",x==="resolved"?"executions":x==="applications"?"applications":"topology"," for ",_.jsx("strong",{children:ie.label})," (",ie.objectIds.length," objects)"]}),x==="topology"&&_.jsx("button",{onClick:()=>M("applications"),children:"Show related applications"}),_.jsxs("button",{"aria-label":"Clear graph scope",onClick:()=>W(null),children:[_.jsx(qg,{size:14})," Clear"]})]}),_.jsxs("section",{className:"model-workspace",children:[_.jsx("div",{className:"flow-wrap",children:_.jsxs(YUn,{nodes:h6,edges:ld,nodeTypes:AKn,edgeTypes:MKn,onNodesChange:ca,onEdgesChange:d6,onConnect:Zs,onNodeClick:Qg,onEdgeClick:(vt,kc)=>G(kc.data??null),fitView:!0,minZoom:.05,maxZoom:2,children:[_.jsx(cXn,{color:"#d8cdbc",gap:22,size:1}),_.jsx(hXn,{}),_.jsx(xXn,{pannable:!0,zoomable:!0})]})}),_.jsx(BKn,{selection:q,port:Z,initialization:Af,interactive:Mn,onEditApplication:vt=>{Er(null),si({mode:"update",application:vt})},onRemoveApplication:vt=>uu({action:"edit",kind:"remove_application",applicationRef:vt.owner}),onConfigureApplication:vt=>Cb(vt.applicationId),onOverrideApplication:Cc,onRemoveInstance:vt=>uu({action:"edit",kind:"remove_instance",name:vt.name}),onEditObject:vt=>nf({mode:"update",object:vt}),onRemoveObject:vt=>uu({action:"edit",kind:"remove_object",objectId:vt.objectId,recursive:!0})})]}),oe&&(Ob.length>0||v5.length>0)&&_.jsx(PKn,{candidate:oe,models:Ob,applications:v5,onSelectModel:ov,onSelectApplication:vt=>{od(RKn(oe,vt)),sh(null),ee(null)},onClose:()=>ee(null)}),Me&&_.jsx(zKn,{graph:b,onClose:()=>me(!1),sendCommand:uu,interactive:Mn}),Pe&&_.jsx(FKn,{graph:b,onClose:()=>ae(!1),sendCommand:uu,interactive:Mn}),Ne&&_.jsx(HKn,{code:tt,onClose:()=>Ue(!1)}),ln&&_.jsx(ddn,{mode:"open",recentPaths:xe,currentPath:Fe,autosavePath:vn,onSubmit:vt=>{uu({action:"open_model_code",path:vt}),on(!1)},onClose:()=>on(!1)}),An&&_.jsx(ddn,{mode:"save",recentPaths:xe,currentPath:Fe,autosavePath:vn,onSubmit:vt=>{uu({action:"save_model_code",path:vt}),xn(!1)},onClose:()=>xn(!1)}),At&&_.jsx(qXn,{mode:At.mode,models:b.modelLibrary,objects:b.objects,application:At.application,initialModelType:At.initialModelType,suggestedSelector:At.suggestedSelector,nameReadOnly:At.application?.owner.scope==="template",preview:Kr,onPreview:vt=>{Er(null),uu({action:"preview_application_targets",selector:vt,applicationRef:At.application?.owner})},onSubmit:k5,onClose:()=>{si(null),Er(null)}}),xl&&_.jsx(eKn,{endpoints:xl,objects:b.objects,preview:f0,onPreview:vt=>{sh(null),uu({action:"preview_input_binding",...vt})},onSubmit:sv,onClose:()=>{od(null),sh(null)}}),ra&&_.jsx(lKn,{mode:ra.mode,objects:b.objects,object:ra.object,onSubmit:j5,onClose:()=>nf(null)}),Dt&&_.jsx(oKn,{templates:b.templates,instances:b.instances,objects:b.objects,preview:zi,onPreview:vt=>{cu(null),uu({action:"preview_instance",...vt})},onSubmit:Wg,onClose:()=>{bi(!1),cu(null)}}),Fu&&_.jsx(uKn,{environments:b.environments,activeId:b.metadata.sceneEnvironmentId,onSubmit:vt=>{uu({action:"edit",kind:"set_model_environment",environmentId:vt}),Rs(!1)},onClose:()=>Rs(!1)}),Ia&&_.jsx(fKn,{application:Ia,models:b.modelLibrary,instances:b.instances,onSubmit:E5,onRemove:w1,onClose:()=>Cc(null)}),l0&&Ip.get(l0)&&_.jsx(YXn,{application:Ip.get(l0),applications:b.applications,environments:b.environments,models:b.modelLibrary,onCommand:uu,onClose:()=>Cb(null)}),a0&&_.jsx(GKn,{selection:a0,initialization:b.initialization,onSubmit:(vt,kc)=>{uu({action:"edit",kind:"break_cycle",applicationRef:a0.application.owner,input:a0.port.name,initializeMissing:vt,initialValue:kc}),Np(null)},onClose:()=>Np(null)})]})}function TKn({graph:b,view:E,detailMode:x,query:M,scopedObjectIds:N,unresolvedPortIds:$,previousPortIds:k,candidatePortIds:H,cyclicApplications:q,cycleBreakPortIds:G,cycleBreakMode:ie,openCandidates:W,onPortClick:Z,onCycleBreak:se}){const oe=Me=>!M||JSON.stringify(Me).toLowerCase().includes(M.toLowerCase());if(E==="topology"){const Me={entity:"model",objectCount:b.metadata.objectCount,instanceCount:b.metadata.instanceCount,applicationCount:b.metadata.applicationCount},me={id:"model:root",type:"entity",position:{x:0,y:0},data:{nodeKind:"model",title:b.metadata.title||"Composite model",subtitle:"model root",badges:[`${b.metadata.instanceCount} instances`,`${b.metadata.objectCount} objects`],detail:Me}},Pe=b.templates.filter(oe).map(Ue=>({id:`template:${Ue.id}`,type:"entity",position:{x:0,y:0},data:{nodeKind:"template",title:Ue.name,subtitle:Ue.source==="catalog"?"template preset":"model-local template",badges:[`${Ue.applications.length} applications`,`${Ue.mountedInstances.length} mounts`],detail:Ue}})),ae=b.instances.filter(oe).map(Ue=>({id:Ue.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"instance",title:Ue.name,subtitle:[Ue.kind,Ue.species].filter(Boolean).join(" · ")||"object instance",badges:[`${Ue.objectIds.length} objects`,`${Ue.applicationIds.length} applications`,`${Ue.instanceOverrides.length+Ue.objectOverrides.length} overrides`],detail:Ue}})),Ne=b.objects.filter(oe).map(Ue=>({id:Ue.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"object",title:Ue.name||Oa(Ue.objectId),subtitle:[Ue.kind,Ue.scale,Ue.instance].filter(Boolean).join(" · "),badges:[Ue.species,Ue.hasStatus?"status":null,Ue.hasGeometry?"geometry":null].filter(Boolean),detail:Ue}}));return[me,...Pe,...ae,...Ne]}if(E==="resolved"){const Me=new Map(b.applications.map(Pe=>[Pe.applicationId,Pe]));return[...b.executions.filter(Pe=>!N||N.has(Ab(Pe.objectId))).filter(oe).map(Pe=>{const ae=Me.get(Pe.applicationId);return{id:Pe.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"execution",title:Pe.applicationId,subtitle:`object ${Oa(Pe.objectId)}`,badges:[UKn(Pe.modelType),Pe.overridden?"override":"shared"],inputPortIds:[...ae?.inputs??[],...ae?.environmentInputs??[]].map(Ne=>Ne.id),outputPortIds:[...ae?.outputs??[],...ae?.environmentOutputs??[]].map(Ne=>Ne.id),detail:Pe}}}),...fdn(b,"resolved")]}return[...b.applications.filter(Me=>!N||Me.targetIds.some(me=>N.has(Ab(me)))).filter(oe).map(Me=>({id:Me.id,type:"application",position:{x:0,y:0},data:{...Me,nodeKind:"application",detailMode:x,cyclic:q.has(Me.applicationId),requiredInputPortIds:Me.inputs.filter(me=>$.has(me.id)).map(me=>me.id),candidatePortIds:[...Me.inputs,...Me.outputs].filter(me=>H.has(me.id)).map(me=>me.id),previousTimeStepPortIds:Me.inputs.filter(me=>k.has(me.id)).map(me=>me.id),cycleBreakInputPortIds:Me.inputs.filter(me=>G.has(me.id)).map(me=>me.id),cycleBreakMode:ie,onCandidateClick:(me,Pe)=>W(Me,me,Pe),onPortClick:Z,onCycleBreak:se}})),...fdn(b,"applications")]}function fdn(b,E){const x=b.edges.filter(N=>N.kind==="environment_binding"&&N.projection===E);return[...new Set(x.flatMap(N=>[N.source,N.target]).filter(N=>N.startsWith("environment:")))].map(N=>{const $=N.slice(12),k=b.environments.find(G=>G.id===N),H=adn(x.filter(G=>G.target===N).map(G=>G.targetPort).filter(Boolean)),q=adn(x.filter(G=>G.source===N).map(G=>G.sourcePort).filter(Boolean));return{id:N,type:"entity",position:{x:0,y:0},data:{nodeKind:"environment",title:k?.name||$,subtitle:k?.active?"active scene environment":"environment backend",badges:[`${q.length} inputs`,`${H.length} outputs`],inputPortIds:H,outputPortIds:q,detail:k||{provider:$}}}})}function adn(b){return[...new Set(b)]}function OKn(b,E){return(E==="topology"?[...b.edges,...NKn(b)]:b.edges).filter(M=>DKn(M,E)).map(M=>({id:M.id,source:M.source,target:M.target,sourceHandle:M.sourcePort||void 0,targetHandle:M.targetPort||void 0,type:"modelEdge",data:M,markerEnd:{type:VG.ArrowClosed,color:hdn(M),width:16,height:16},style:{stroke:hdn(M),strokeWidth:M.cycle?4:["manual_call","initializer"].includes(M.kind)?2.5:1.8,strokeDasharray:M.kind==="previous_timestep"?"7 5":M.kind==="manual_call"?"3 4":M.kind==="initializer"?"8 3":void 0}}))}function NKn(b){const E=[],x=new Set(b.instances.flatMap(M=>M.objectIds.map(Ab)));for(const M of b.templates)E.push({id:`topology:model:template:${M.id}`,source:"model:root",target:`template:${M.id}`,kind:"object_topology",projection:"topology",cycle:!1});for(const M of b.instances){const N=b.objects.find($=>Ab($.objectId)===Ab(M.rootId));N&&E.push({id:`topology:${M.id}:${N.id}`,source:M.id,target:N.id,kind:"object_topology",projection:"topology",cycle:!1})}for(const M of b.objects)M.parent===null&&!x.has(Ab(M.objectId))&&E.push({id:`topology:model:${M.id}`,source:"model:root",target:M.id,kind:"object_topology",projection:"topology",cycle:!1});return E}function IKn(b,E){const x=new Map,M=new Map(b.map(H=>[H.id,H]));for(const H of b){if(H.parent===null)continue;const q=M.get(String(H.parent));if(!q)continue;const G=Ab(q.objectId);x.set(G,[...x.get(G)??[],H.objectId])}const N=[],$=[E],k=new Set;for(;$.length>0;){const H=$.pop(),q=Ab(H);k.has(q)||(k.add(q),N.push(H),$.push(...x.get(q)??[]))}return N}function Ab(b){return Ws(b)}function DKn(b,E){const x=b.projection;return E==="topology"?b.kind==="object_topology"||b.kind==="template_mount":E==="resolved"?x==="resolved":x==="applications"||!x&&!["object_topology","application_target"].includes(b.kind)}function hdn(b){return b.cycle?"#cf4937":b.kind==="previous_timestep"?"#317b62":b.kind==="manual_call"?"#be6a54":b.kind==="initializer"?"#7768ae":b.kind==="object_topology"?"#7b7167":b.kind==="environment_binding"?"#367b8b":"#a59687"}function _Kn(b){const E=new Set;for(const x of b.applications){for(const M of x.inputs)(b.applications.some($=>$.applicationId!==x.applicationId&&$.outputs.some(k=>k.name===M.name))||b.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.outputs,M.name)))&&E.add(M.id);for(const M of x.outputs)(b.applications.some($=>$.applicationId!==x.applicationId&&$.inputs.some(k=>k.name===M.name))||b.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.inputs,M.name)))&&E.add(M.id)}return E}function LKn(b,E){const x=E.role==="input"?"outputs":"inputs";return b.filter(M=>Object.prototype.hasOwnProperty.call(M[x],E.name)).sort((M,N)=>`${M.package}.${M.name}`.localeCompare(`${N.package}.${N.name}`))}function PKn({candidate:b,models:E,applications:x,onSelectModel:M,onSelectApplication:N,onClose:$}){const k=b.port.role==="input"?`Models that compute ${b.port.name}`:`Models that consume ${b.port.name}`;return _.jsxs("section",{className:"candidate-popover",style:{left:Math.min(b.x+8,window.innerWidth-390),top:Math.min(b.y-20,window.innerHeight-480)},children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:k}),_.jsx("span",{children:"Exact declared variable-name matches"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:15})})]}),_.jsxs("div",{className:"candidate-list",children:[x.length>0&&_.jsx("div",{className:"candidate-section-label",children:"Existing applications"}),x.map(H=>_.jsxs("button",{className:"candidate-card existing",onClick:()=>N(H),children:[_.jsx("strong",{children:H.name||H.applicationId}),_.jsx("span",{children:H.modelName}),_.jsxs("small",{children:[H.targetCount," target",H.targetCount===1?"":"s"]}),_.jsx("div",{children:"Connect without adding another application"})]},H.applicationId)),E.length>0&&_.jsx("div",{className:"candidate-section-label",children:"Available models"}),E.map(H=>_.jsxs("button",{className:"candidate-card",onClick:()=>M(H),children:[_.jsx("strong",{children:H.name}),_.jsx("span",{children:H.process}),_.jsx("small",{children:H.package||H.module}),_.jsxs("div",{children:[Object.keys(H.inputs).length," inputs · ",Object.keys(H.outputs).length," outputs"]})]},H.type))]})]})}function $Kn(b,E){return b.filter(x=>x.applicationId!==E.application.applicationId).filter(x=>(E.port.role==="input"?x.outputs:x.inputs).some(N=>N.name===E.port.name)).sort((x,M)=>x.applicationId.localeCompare(M.applicationId))}function RKn(b,E){if(b.port.role==="input"){const M=E.outputs.find(N=>N.name===b.port.name);if(!M)throw new Error(`Application ${E.applicationId} does not output ${b.port.name}.`);return{sourceApplication:E,sourcePort:M,targetApplication:b.application,targetPort:b.port}}const x=E.inputs.find(M=>M.name===b.port.name);if(!x)throw new Error(`Application ${E.applicationId} does not input ${b.port.name}.`);return{sourceApplication:b.application,sourcePort:b.port,targetApplication:E,targetPort:x}}function BKn({selection:b,port:E,initialization:x,interactive:M,onEditApplication:N,onConfigureApplication:$,onRemoveApplication:k,onOverrideApplication:H,onRemoveInstance:q,onEditObject:G,onRemoveObject:ie}){const W=b&&"applicationId"in b&&"selector"in b?b:null,Z=b&&"objectId"in b&&!("applicationId"in b)?b:null,se=b&&"templateId"in b&&"objectIds"in b?b:null;return _.jsxs("aside",{className:"model-inspector",children:[_.jsxs("header",{children:[_.jsx("strong",{children:"Inspector"}),b&&_.jsx("span",{children:qKn(b)})]}),!b&&_.jsxs("div",{className:"empty-inspector",children:[_.jsx(DXn,{size:28}),_.jsx("p",{children:"Select an application, object, execution, or relationship."})]}),b&&_.jsx("pre",{children:JSON.stringify(b,null,2)}),W&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{onClick:()=>N(W),children:W.owner.scope==="template"?"Edit shared template":"Edit application"}),_.jsx("button",{"data-testid":"configure-application",onClick:()=>$(W),children:"Configure coupling"}),W.owner.scope==="template"&&_.jsx("button",{onClick:()=>H(W),children:"Create override"}),_.jsx("button",{className:"danger",onClick:()=>k(W),children:W.owner.scope==="template"?"Remove from shared template":"Remove application"})]}),se&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{className:"danger",onClick:()=>q(se),children:"Unmount instance"}),_.jsx("small",{children:"The object subtree is retained."})]}),Z&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{onClick:()=>G(Z),children:"Edit object"}),_.jsx("button",{className:"danger",onClick:()=>ie(Z),children:"Remove object and descendants"})]}),E&&_.jsxs("section",{children:[_.jsx("h4",{children:"Selected variable"}),_.jsx("code",{children:E.name}),_.jsx("p",{children:E.expectedType})]}),b&&x.length>0&&_.jsxs("section",{className:"inspector-initialization",children:[_.jsx("h4",{children:"Initialization"}),x.slice(0,8).map(oe=>_.jsxs("div",{children:[_.jsx("code",{children:oe.variable}),_.jsx("span",{className:oe.disposition==="unresolved"?"unresolved":"",children:oe.disposition})]},`${oe.applicationId}:${oe.objectId}:${oe.variable}`))]})]})}function zKn({graph:b,onClose:E,sendCommand:x,interactive:M}){return _.jsxs(Hue,{title:"Diagnostics and cycles",onClose:E,children:[b.diagnostics.map(N=>_.jsxs("article",{className:"diagnostic-card",children:[_.jsx("strong",{children:N.code}),_.jsx("p",{children:N.message}),N.suggestions.map($=>_.jsx("small",{children:$},$))]},`${N.code}:${N.message}`)),b.cycles.map(N=>_.jsxs("article",{className:"cycle-card",children:[_.jsx("strong",{children:N.applicationIds.join(" → ")}),_.jsx("p",{children:"Choose an input to read from the previous timestep."}),N.breakCandidates.map($=>{const k=b.applications.find(H=>H.applicationId===$.applicationId)?.owner;return _.jsxs("button",{disabled:!M||!k,onClick:()=>k&&x({action:"edit",kind:"mark_previous_timestep",applicationRef:k,input:$.input}),children:[$.applicationId,".",$.input]},`${$.applicationId}:${$.objectId}:${$.input}`)})]},N.id)),b.diagnostics.length===0&&b.cycles.length===0&&_.jsx("p",{children:"No diagnostics."})]})}function FKn({graph:b,onClose:E,sendCommand:x,interactive:M}){const N=b.initialization.filter(k=>k.disposition==="unresolved"),$=new Map;for(const k of N){const H=`${k.applicationId}:${k.variable}`;$.set(H,[...$.get(H)||[],k])}return _.jsxs(Hue,{title:"Initialization",onClose:E,children:[[...$.entries()].map(([k,H])=>_.jsx(JKn,{rows:H,interactive:M,sendCommand:x},k)),N.length===0&&_.jsx("p",{children:"No unresolved initial values."})]})}function JKn({rows:b,interactive:E,sendCommand:x}){const[M,N]=Re.useState("float"),[$,k]=Re.useState(""),H=b[0],q={type:M,value:$};return _.jsxs("article",{className:"initialization-group",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:H.variable}),_.jsx("span",{children:H.applicationId})]}),_.jsxs("small",{children:[b.length," object",b.length===1?"":"s"," · expected ",H.expectedType]})]}),_.jsx("p",{children:"Required because the input has no producer, environment source, status value, or usable temporal initialization."}),E&&_.jsxs("div",{className:"initialization-value",children:[_.jsxs("label",{children:["Type",_.jsxs("select",{value:M,onChange:G=>N(G.target.value),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]})]}),_.jsxs("label",{children:["Value",_.jsx("input",{value:$,onChange:G=>k(G.target.value)})]}),_.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_statuses",objectIds:b.map(G=>G.objectId),variable:H.variable,value:q}),children:"Set all targets"})]}),_.jsx("div",{className:"initialization-object-list",children:b.map(G=>_.jsxs("div",{children:[_.jsxs("span",{children:["Object ",Oa(G.objectId)]}),_.jsx("code",{children:G.origin}),E&&_.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_status",objectId:G.objectId,variable:G.variable,value:q}),children:"Set this object"})]},Ab(G.objectId)))})]})}function HKn({code:b,onClose:E}){return _.jsx(Hue,{title:"Model code",onClose:E,children:_.jsx("pre",{className:"model-code",children:b||"Model code is available from an interactive editor session."})})}function ddn({mode:b,recentPaths:E,currentPath:x,autosavePath:M,onSubmit:N,onClose:$}){const[k,H]=Re.useState(x||"");return _.jsx(Hue,{title:b==="open"?"Open Model":"Save Model",onClose:$,children:_.jsxs("div",{className:"model-file-dialog",children:[_.jsx("p",{children:b==="open"?"Open a Julia script whose final binding is `model = CompositeModel(...)`. Future edits will be saved back to that file.":"After the first save, every successful graph edit automatically rewrites this Julia script."}),_.jsxs("label",{children:["Julia file path",_.jsxs("div",{className:"model-path-input",children:[_.jsx("input",{value:k,onChange:q=>H(q.target.value),placeholder:"/absolute/path/to/model.jl",autoFocus:!0}),_.jsx("button",{className:"primary",disabled:!k.trim(),onClick:()=>N(k.trim()),children:b==="open"?"Open":"Save"})]})]}),b==="open"&&E.length>0&&_.jsxs("section",{children:[_.jsx("strong",{children:"Recent models"}),_.jsx("div",{className:"recent-model-list",children:E.map(q=>_.jsxs("button",{onClick:()=>N(q),children:[_.jsx("span",{children:q.split("/").at(-1)}),_.jsx("small",{children:q})]},q))})]}),b==="open"&&M&&_.jsxs("section",{children:[_.jsx("strong",{children:"Recovery autosave"}),_.jsx("button",{className:"recovery-path",onClick:()=>N(M),children:M})]}),_.jsx("small",{children:"Use Git to version saved composite-model scripts and review scientific configuration changes."})]})})}function GKn({selection:b,initialization:E,onSubmit:x,onClose:M}){const N=E.filter(G=>G.applicationId===b.application.applicationId&&G.variable===b.port.name&&G.disposition!=="supplied"),[$,k]=Re.useState("float"),[H,q]=Re.useState("");return _.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:_.jsxs("section",{className:"overlay-panel cycle-break-dialog",onMouseDown:G=>G.stopPropagation(),"data-testid":"cycle-break-dialog",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Break the current-step cycle"}),_.jsxs("span",{children:[b.application.applicationId,".",b.port.name]})]}),_.jsx("button",{onClick:M,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsx("p",{children:"This changes the application input to read its value from the previous accepted timestep. The model is disconnected from the current value during each run step."}),_.jsxs("div",{className:"cycle-impact",children:[_.jsx("strong",{children:"Application-wide change"}),_.jsxs("span",{children:["It affects all ",b.application.targetCount," targets selected by this application."]})]}),N.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Required initial value"}),_.jsxs("p",{children:[N.length," target",N.length===1?"":"s"," need a value before the first timestep."]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Value type",_.jsxs("select",{value:$,onChange:G=>k(G.target.value),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]})]}),_.jsxs("label",{children:["Initial value",_.jsx("input",{value:H,onChange:G=>q(G.target.value),autoFocus:!0})]})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:M,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:N.length>0&&!H.trim(),onClick:()=>x(N.length>0,N.length>0?{type:$,value:H}:null),"data-testid":"confirm-cycle-break",children:[_.jsx(ibn,{size:15})," Use previous timestep"]})]})]})})}function Hue({title:b,onClose:E,children:x}){return _.jsx("div",{className:"overlay-backdrop",onMouseDown:E,children:_.jsxs("section",{className:"overlay-panel",onMouseDown:M=>M.stopPropagation(),children:[_.jsxs("header",{children:[_.jsx("strong",{children:b}),_.jsx("button",{onClick:E,children:_.jsx(qg,{size:17})})]}),_.jsx("div",{className:"overlay-content",children:x})]})})}function qKn(b){return"applicationId"in b?b.applicationId:"objectId"in b?Oa(b.objectId):"objectIds"in b?b.name:"entity"in b?"Composite model":"provider"in b?b.provider:"name"in b?b.name:b.kind.replaceAll("_"," ")}function UKn(b){return b.split(".").at(-1)||b}function XKn(b){const E={selectors:[]};return b.targetInstances.length===0&&b.targetScales.length===1&&(E.scale=b.targetScales[0]),b.targetKinds.length===1&&(E.kind=b.targetKinds[0]),b.targetSpecies.length===1&&(E.species=b.targetSpecies[0]),{type:b.targetCount===1?"One":"Many",multiplicity:b.targetCount===1?"one":"many",criteria:E,julia:""}}function tke(b,E,x){return`application:${b}:${E}:${x}`}function ike(){const b=document.getElementById("pse-model-graph-data");if(!b?.textContent)return odn;try{return JSON.parse(b.textContent)}catch{return odn}}function KKn(){const b=document.getElementById("pse-editor-config");if(!b?.textContent)return null;try{return JSON.parse(b.textContent)}catch{return null}}class VKn extends Re.Component{state={error:null};static getDerivedStateFromError(E){return{error:E}}componentDidCatch(E,x){console.error("PlantSimEngine model graph frontend failed",E,x)}render(){return this.state.error?_.jsxs("main",{className:"frontend-error","data-testid":"frontend-error",children:[_.jsx(vke,{size:28}),_.jsx("h1",{children:"The graph view could not be rendered"}),_.jsx("p",{children:this.state.error.message}),_.jsxs("button",{onClick:()=>window.location.reload(),children:[_.jsx(FXn,{size:15})," Reload graph"]})]}):this.props.children}}mzn.createRoot(document.getElementById("root")).render(_.jsx(Re.StrictMode,{children:_.jsx(VKn,{children:_.jsx(CKn,{})})})); diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 8ec2c947c..3f790974b 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -4,7 +4,7 @@ PlantSimEngine Dependency Graph - + diff --git a/frontend/e2e/graph-editor.spec.ts b/frontend/e2e/graph-editor.spec.ts index dc645f5cd..44ef57718 100644 --- a/frontend/e2e/graph-editor.spec.ts +++ b/frontend/e2e/graph-editor.spec.ts @@ -27,11 +27,12 @@ test.describe.serial("PlantSimEngine model graph editor", () => { await page.getByTestId("object-id").fill("leaf"); await page.locator(".object-form label", { hasText: "Scale" }).getByRole("textbox").fill("Leaf"); await page.locator(".object-form label", { hasText: "Kind" }).getByRole("textbox").fill("organ"); - await page.locator(".object-form label", { hasText: "Name" }).getByRole("textbox").fill("leaf"); await page.getByTestId("object-submit").click(); state = await waitForState(request, server.url, (value) => value.graph.metadata.objectCount === 1); expect(state.graph.objects[0].scale).toBe("Leaf"); + expect(state.graph.objects[0].name).toBeNull(); + expect(state.graph.objects[0].objectId).toBe("leaf"); }); test("adds and updates an application", async ({ page, request }) => { @@ -183,15 +184,15 @@ test.describe.serial("PlantSimEngine model graph editor", () => { test("mounts one template twice, configures an override and environment, then reopens with undo and redo", async ({ page, request }, testInfo) => { await page.goto(server.url); - await addObject(page, "plant_a", "Plant", "plant", "plant_a"); - await addObject(page, "plant_b", "Plant", "plant", "plant_b"); + await addObject(page, "plant_a", "Plant", "plant", "Coffee plant"); + await addObject(page, "plant_b", "Plant", "plant", "Coffee plant"); await waitForState(request, server.url, (value) => value.graph.objects.some((object) => object.objectId === "plant_b")); for (const plant of ["plant_a", "plant_b"]) { await page.getByTestId("add-instance").click(); await page.getByTestId("instance-template").selectOption("catalog:plant"); await page.getByTestId("instance-name").fill(plant); - await page.getByTestId("instance-root").selectOption(plant); + await page.getByTestId("instance-root").selectOption(JSON.stringify(plant)); await page.getByTestId("instance-preview-button").click(); await expect(page.getByTestId("instance-preview")).toContainText("1 claimed object"); await page.getByTestId("instance-submit").click(); @@ -199,6 +200,7 @@ test.describe.serial("PlantSimEngine model graph editor", () => { } let state = await getState(request, server.url); + expect(state.graph.objects.filter((object) => object.name === "Coffee plant").map((object) => object.objectId).sort()).toEqual(["plant_a", "plant_b"]); expect(findApplication(state, "plant_a__template_source").targetIds).toEqual(["plant_a"]); expect(findApplication(state, "plant_b__template_source").targetIds).toEqual(["plant_b"]); @@ -259,7 +261,7 @@ async function addObject(page: Page, id: string, scale: string, kind: string, na await page.getByTestId("object-id").fill(id); await page.locator(".object-form label", { hasText: "Scale" }).getByRole("textbox").fill(scale); await page.locator(".object-form label", { hasText: "Kind" }).getByRole("textbox").fill(kind); - await page.locator(".object-form label", { hasText: "Name" }).getByRole("textbox").fill(name); + await page.getByLabel("Display name (optional)").fill(name); await page.getByTestId("object-submit").click(); } diff --git a/frontend/src/App.test.ts b/frontend/src/App.test.ts index 9a32749a9..661ae3ddf 100644 --- a/frontend/src/App.test.ts +++ b/frontend/src/App.test.ts @@ -41,6 +41,13 @@ describe("selector suggestions", () => { }); describe("object topology scoping", () => { + it("keeps equally printed numeric and text roots separate", () => { + const numeric = { ...object("42", null), id: "numeric-root", objectId: 42 }; + const textual = { ...object("42", null), id: "text-root" }; + const leaf = { ...object("leaf", "numeric-root"), name: "Same label" }; + expect(objectSubtreeIds([numeric, textual, leaf], 42)).toEqual([42, "leaf"]); + expect(objectSubtreeIds([numeric, textual, leaf], "42")).toEqual(["42"]); + }); it("includes the selected object and all descendants", () => { const objects: ObjectGraphNode[] = [ object("plant", null), diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 46ffbdbd3..fe8982a7c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,3 +1,4 @@ +import { objectChoiceValue, objectIdLabel } from "./ObjectChoice"; import { useCallback, useEffect, useMemo, useState } from "react"; import { Background, @@ -231,7 +232,7 @@ export default function App() { if (node.data.nodeKind === "object") { const object = node.data.detail as ObjectGraphNode; setScopeFilter({ - label: `subtree ${object.name || String(object.objectId)}`, + label: `subtree ${object.name || objectIdLabel(object.objectId)}`, objectIds: objectSubtreeIds(graph.objects, object.objectId), }); } else if (node.data.nodeKind === "instance") { @@ -352,7 +353,7 @@ export default function App() { const activeInitialization = useMemo(() => { if (!selected) return graph.initialization; if ("applicationId" in selected) return graph.initialization.filter((row) => row.applicationId === selected.applicationId); - if ("objectId" in selected) return graph.initialization.filter((row) => String(row.objectId) === String(selected.objectId)); + if ("objectId" in selected) return graph.initialization.filter((row) => objectKey(row.objectId) === objectKey(selected.objectId)); if ("objectIds" in selected) { const ids = new Set(selected.objectIds.map(objectKey)); return graph.initialization.filter((row) => ids.has(objectKey(row.objectId))); @@ -639,7 +640,7 @@ function buildNodes({ position: { x: 0, y: 0 }, data: { nodeKind: "object", - title: object.name || String(object.objectId), + title: object.name || objectIdLabel(object.objectId), subtitle: [object.kind, object.scale, object.instance].filter(Boolean).join(" · "), badges: [object.species, object.hasStatus ? "status" : null, object.hasGeometry ? "geometry" : null].filter(Boolean) as string[], detail: object, @@ -660,7 +661,7 @@ function buildNodes({ data: { nodeKind: "execution", title: execution.applicationId, - subtitle: `object ${String(execution.objectId)}`, + subtitle: `object ${objectIdLabel(execution.objectId)}`, badges: [shortType(execution.modelType), execution.overridden ? "override" : "shared"], inputPortIds: [...(application?.inputs ?? []), ...(application?.environmentInputs ?? [])].map((port) => port.id), outputPortIds: [...(application?.outputs ?? []), ...(application?.environmentOutputs ?? [])].map((port) => port.id), @@ -756,10 +757,12 @@ function topologyContainerEdges(graph: ModelGraphView): ModelGraphEdge[] { }); } for (const instance of graph.instances) { + const root = graph.objects.find((object) => objectKey(object.objectId) === objectKey(instance.rootId)); + if (!root) continue; edges.push({ - id: `topology:${instance.id}:object:${String(instance.rootId)}`, + id: `topology:${instance.id}:${root.id}`, source: instance.id, - target: `object:${String(instance.rootId)}`, + target: root.id, kind: "object_topology", projection: "topology", cycle: false, @@ -782,9 +785,12 @@ function topologyContainerEdges(graph: ModelGraphView): ModelGraphEdge[] { export function objectSubtreeIds(objects: ObjectGraphNode[], rootId: unknown): unknown[] { const children = new Map(); + const objectsByNodeId = new Map(objects.map((object) => [object.id, object])); for (const object of objects) { if (object.parent === null) continue; - const key = objectKey(object.parent); + const parent = objectsByNodeId.get(String(object.parent)); + if (!parent) continue; + const key = objectKey(parent.objectId); children.set(key, [...(children.get(key) ?? []), object.objectId]); } const result: unknown[] = []; @@ -802,8 +808,7 @@ export function objectSubtreeIds(objects: ObjectGraphNode[], rootId: unknown): u } function objectKey(value: unknown) { - const text = String(value); - return text.startsWith("object:") ? text.slice("object:".length) : text; + return objectChoiceValue(value); } function edgeProjectionMatches(edge: ModelGraphEdge, view: GraphViewMode) { @@ -963,7 +968,7 @@ function InitializationGroup({ rows, interactive, sendCommand }: { rows: ModelGr
{first.variable}{first.applicationId}
{rows.length} object{rows.length === 1 ? "" : "s"} · expected {first.expectedType}

Required because the input has no producer, environment source, status value, or usable temporal initialization.

{interactive &&
} -
{rows.map((row) =>
Object {String(row.objectId)}{row.origin}{interactive && }
)}
+
{rows.map((row) =>
Object {objectIdLabel(row.objectId)}{row.origin}{interactive && }
)}
; } @@ -1021,7 +1026,7 @@ function Overlay({ title, onClose, children }: { title: string; onClose: () => v function selectionLabel(selection: Exclude) { if ("applicationId" in selection) return selection.applicationId; - if ("objectId" in selection) return String(selection.objectId); + if ("objectId" in selection) return objectIdLabel(selection.objectId); if ("objectIds" in selection) return selection.name; if ("entity" in selection) return "Composite model"; if ("provider" in selection) return selection.provider; diff --git a/frontend/src/ApplicationForm.tsx b/frontend/src/ApplicationForm.tsx index c4ae97009..bd28b1354 100644 --- a/frontend/src/ApplicationForm.tsx +++ b/frontend/src/ApplicationForm.tsx @@ -1,5 +1,6 @@ import { useMemo, useState } from "react"; import { Check, Eye, X } from "lucide-react"; +import { ObjectChoice, objectChoiceValue, objectChoiceId, objectIdLabel, scopeObjectId } from "./ObjectChoice"; import type { ApplicationGraphNode, ApplicationOwner, ModelConstructorField, ModelDescriptor, ObjectGraphNode, PeriodDescriptor, SelectorDescriptor, TargetPreview } from "./types"; export type ApplicationFormValue = { @@ -47,13 +48,13 @@ export function ApplicationForm({ const [scale, setScale] = useState(stringCriterion(initialSelector, "scale")); const [kind, setKind] = useState(stringCriterion(initialSelector, "kind")); const [species, setSpecies] = useState(stringCriterion(initialSelector, "species")); - const [objectName, setObjectName] = useState(stringCriterion(initialSelector, "name")); + const [objectId, setObjectId] = useState(objectChoiceValue(initialSelector.criteria.id)); const initialWithin = structuredCriterion(initialSelector, "within"); const mountedLocalScope = application?.owner.scope === "template" && initialWithin?.type === "Scope" && String(initialWithin.name || "") === application.owner.instance; const [scope, setScope] = useState(initialWithin?.type === "Scope" && !mountedLocalScope ? "named_scope" : initialWithin?.type === "SceneScope" ? "scene" : "local"); - const [scopeName, setScopeName] = useState(initialWithin?.type === "Scope" && !mountedLocalScope ? String(initialWithin.name || "") : ""); + const [scopeName, setScopeName] = useState(initialWithin?.type === "Scope" && !mountedLocalScope ? objectChoiceValue(scopeObjectId(initialWithin, objects)) : ""); const [cadenceMode, setCadenceMode] = useState<"default" | "period">(application?.cadence.mode === "period" ? "period" : "default"); const [periodValue, setPeriodValue] = useState(String(application?.cadence.value ?? 1)); const [periodUnit, setPeriodUnit] = useState(application?.cadence.unit || "Hour"); @@ -69,23 +70,22 @@ export function ApplicationForm({ scales: unique(objects.map((object) => object.scale)), kinds: unique(objects.map((object) => object.kind)), species: unique(objects.map((object) => object.species)), - names: unique(objects.map((object) => object.name)), }), [objects]); const targetSummary = useMemo(() => { - const clauses = [scale && `scale ${scale}`, kind && `kind ${kind}`, species && `species ${species}`, objectName && `name ${objectName}`].filter(Boolean); + const clauses = [scale && `scale ${scale}`, kind && `kind ${kind}`, species && `species ${species}`, objectId && `ID ${objectIdLabel(objectChoiceId(objectId))}`].filter(Boolean); const base = clauses.length ? clauses.join(", ") : "matching objects"; - return scope === "scene" ? `${base} in the whole scene` : scope === "named_scope" ? `${base} below ${scopeName || "the named root"}` : `${base} in the local instance scope`; - }, [kind, objectName, scale, scope, scopeName, species]); + return scope === "scene" ? `${base} in the whole scene` : scope === "named_scope" ? `${base} below ${scopeName ? objectIdLabel(objectChoiceId(scopeName)) : "the selected root"}` : `${base} in the local instance scope`; + }, [kind, objectId, scale, scope, scopeName, species]); const selector = (): SelectorDescriptor => { const criteria: Record = { selectors: [] }; - if (scope === "named_scope" && scopeName) criteria.within = { type: "Scope", name: scopeName }; + if (scope === "named_scope" && scopeName) criteria.within = { type: "Scope", id: objectChoiceId(scopeName) }; if (scope === "scene") criteria.within = { type: "SceneScope" }; if (scale) criteria.scale = scale; if (kind) criteria.kind = kind; if (species) criteria.species = species; - if (objectName) criteria.name = objectName; + if (objectId) criteria.id = objectChoiceId(objectId); return { type: selectorType(multiplicity), multiplicity, criteria, julia: "" }; }; @@ -115,16 +115,16 @@ export function ApplicationForm({
Target selector
- - {scope === "named_scope" && } + + {scope === "named_scope" && } - +

Julia will resolve {multiplicity.replace("_", " ")} target from {targetSummary}.

- {preview &&
{preview.count} target object{preview.count === 1 ? "" : "s"}{preview.objectIds.map(String).join(", ") || "No targets"}{preview.groups.map((group) =>
{group.instance}{group.objectIds.map(String).join(", ") || "No targets"}
)}
} + {preview &&
{preview.count} target object{preview.count === 1 ? "" : "s"}{preview.objectIds.map(objectIdLabel).join(", ") || "No targets"}{preview.groups.map((group) =>
{group.instance}{group.objectIds.map(objectIdLabel).join(", ") || "No targets"}
)}
}
Cadence
{cadenceMode === "period" && <>}
diff --git a/frontend/src/BindingForm.tsx b/frontend/src/BindingForm.tsx index e490161f8..1711dc4a5 100644 --- a/frontend/src/BindingForm.tsx +++ b/frontend/src/BindingForm.tsx @@ -1,4 +1,5 @@ import { useState } from "react"; +import { ObjectChoice, objectChoiceId, objectChoiceValue } from "./ObjectChoice"; import { Eye, Link2, X } from "lucide-react"; import type { ApplicationGraphNode, ApplicationOwner, GraphPort, ObjectGraphNode, PeriodDescriptor, SelectorDescriptor, SelectorPreview } from "./types"; @@ -34,7 +35,7 @@ export function BindingForm({ endpoints, objects, preview, onPreview, onSubmit, const [scale, setScale] = useState(onlyOrEmpty(endpoints.sourceApplication.targetScales)); const [kind, setKind] = useState(onlyOrEmpty(endpoints.sourceApplication.targetKinds)); const [species, setSpecies] = useState(onlyOrEmpty(endpoints.sourceApplication.targetSpecies)); - const [sourceName, setSourceName] = useState(""); + const [sourceId, setSourceId] = useState(""); const [sourceFilter, setSourceFilter] = useState<"application" | "process">("application"); const [policy, setPolicy] = useState("automatic"); const [windowValue, setWindowValue] = useState(""); @@ -42,7 +43,6 @@ export function BindingForm({ endpoints, objects, preview, onPreview, onSubmit, const scales = unique(objects.map((object) => object.scale)); const kinds = unique(objects.map((object) => object.kind)); const speciesOptions = unique(objects.map((object) => object.species)); - const names = unique(objects.map((object) => object.name)); const value = (): BindingFormValue => { const criteria: Record = { @@ -58,7 +58,7 @@ export function BindingForm({ endpoints, objects, preview, onPreview, onSubmit, if (scale) criteria.scale = scale; if (kind) criteria.kind = kind; if (species) criteria.species = species; - if (sourceName) criteria.name = sourceName; + if (sourceId) criteria.id = objectChoiceId(sourceId); if (policy !== "automatic") criteria.policy = { type: policyType(policy) }; if (windowValue.trim()) { const window = bindingWindowDescriptor(windowValue, windowUnit); @@ -78,15 +78,15 @@ export function BindingForm({ endpoints, objects, preview, onPreview, onSubmit,
Producer{endpoints.sourceApplication.applicationId}{endpoints.sourcePort.name}
Consumer{endpoints.targetApplication.applicationId}{endpoints.targetPort.name}
Source object selector
- + {scope === "ancestor" && } - {scope === "named_scope" && } + {scope === "named_scope" && } - + @@ -107,7 +107,7 @@ function Criterion({ label, value, options, onChange }: { label: string; value: return ; } -function sameValues(left: unknown[], right: unknown[]) { return left.length === right.length && left.every((value) => right.some((other) => String(other) === String(value))); } +function sameValues(left: unknown[], right: unknown[]) { return left.length === right.length && left.every((value) => right.some((other) => objectChoiceValue(other) === objectChoiceValue(value))); } function onlyOrEmpty(values: string[]) { return values.length === 1 ? values[0] : ""; } function selectorType(value: SelectorDescriptor["multiplicity"]) { return value === "one" ? "One" : value === "optional_one" ? "OptionalOne" : "Many"; } function unique(values: Array) { return [...new Set(values.filter((value): value is string => Boolean(value)))].sort(); } @@ -119,7 +119,7 @@ function scopeDescriptor(scope: string, name: string, scale: string) { if (scope === "subtree") return { type: "Subtree" }; if (scope === "self_plant") return { type: "SelfPlant" }; if (scope === "ancestor") return { type: "Ancestor", scale: scale || null }; - if (scope === "named_scope" && name) return { type: "Scope", name }; + if (scope === "named_scope" && name) return { type: "Scope", id: objectChoiceId(name) }; return null; } diff --git a/frontend/src/InstanceForm.tsx b/frontend/src/InstanceForm.tsx index 4231d69a1..cefb61096 100644 --- a/frontend/src/InstanceForm.tsx +++ b/frontend/src/InstanceForm.tsx @@ -1,4 +1,5 @@ import { Check, Eye, X } from "lucide-react"; +import { objectChoiceValue, objectChoiceId, objectChoiceLabel, objectIdLabel } from "./ObjectChoice"; import { useMemo, useState } from "react"; import type { InstanceDescriptor, InstancePreview, ObjectGraphNode, TemplateDescriptor } from "./types"; @@ -9,11 +10,11 @@ export type InstanceFormValue = { rootObject?: { objectId: string; configuration: { - parent: string | null; + parent: unknown; scale: string | null; kind: string | null; species: string | null; - name: string; + name: string | null; }; }; }; @@ -39,7 +40,7 @@ export function InstanceForm({ const [name, setName] = useState(""); const [rootMode, setRootMode] = useState<"existing" | "new">("existing"); const roots = useMemo(() => unclaimedInstanceRoots(objects, instances), [instances, objects]); - const [rootId, setRootId] = useState(String(roots[0]?.objectId ?? "")); + const [rootId, setRootId] = useState(objectChoiceValue(roots[0]?.objectId)); const [newId, setNewId] = useState(""); const [parent, setParent] = useState(""); const [scale, setScale] = useState(""); @@ -49,18 +50,18 @@ export function InstanceForm({ const value = (): InstanceFormValue => rootMode === "existing" ? { name: name.trim(), templateId, - rootId, + rootId: objectChoiceId(rootId), } : { name: name.trim(), templateId, rootObject: { objectId: newId.trim(), configuration: { - parent: parent || null, + parent: objectChoiceId(parent), scale: scale.trim() || null, kind: kind.trim() || null, species: species.trim() || null, - name: name.trim(), + name: null, }, }, }; @@ -78,14 +79,14 @@ export function InstanceForm({
- {rootMode === "existing" ? :
+ {rootMode === "existing" ? :
- +
} - {preview &&
{preview.objectIds.length} claimed object{preview.objectIds.length === 1 ? "" : "s"}{preview.objectIds.map(String).join(", ")}{preview.applications.map((application) =>
{application.applicationId}{application.targetIds.length} resolved target{application.targetIds.length === 1 ? "" : "s"}
)}{preview.diagnostics.map((diagnostic) =>

{diagnostic}

)}
} + {preview &&
{preview.objectIds.length} claimed object{preview.objectIds.length === 1 ? "" : "s"}{preview.objectIds.map(objectIdLabel).join(", ")}{preview.applications.map((application) =>
{application.applicationId}{application.targetIds.length} resolved target{application.targetIds.length === 1 ? "" : "s"}
)}{preview.diagnostics.map((diagnostic) =>

{diagnostic}

)}
}
@@ -93,6 +94,6 @@ export function InstanceForm({ } export function unclaimedInstanceRoots(objects: ObjectGraphNode[], instances: InstanceDescriptor[]) { - const claimed = new Set(instances.flatMap((instance) => instance.objectIds.map(String))); - return objects.filter((object) => !claimed.has(String(object.objectId))); + const claimed = new Set(instances.flatMap((instance) => instance.objectIds.map(objectChoiceValue))); + return objects.filter((object) => !claimed.has(objectChoiceValue(object.objectId))); } diff --git a/frontend/src/ObjectChoice.test.ts b/frontend/src/ObjectChoice.test.ts new file mode 100644 index 000000000..ef8a9a5a6 --- /dev/null +++ b/frontend/src/ObjectChoice.test.ts @@ -0,0 +1,40 @@ +import { describe, expect, it } from "vitest"; +import { objectChoiceId, objectChoiceLabel, objectChoiceValue, objectIdLabel, scopeObjectId } from "./ObjectChoice"; +import { unclaimedInstanceRoots } from "./InstanceForm"; +import type { InstanceDescriptor, ObjectGraphNode } from "./types"; + +function object(id: unknown, name: string | null = null): ObjectGraphNode { + return { id: `object:${JSON.stringify(id)}`, objectId: id, name, scale: null, kind: null, species: null, instance: null, parent: null, children: [], hasGeometry: false, hasStatus: false }; +} + +describe("object identity in editor choices", () => { + it("distinguishes numeric IDs from text IDs across form submission", () => { + expect(objectChoiceValue(42)).not.toBe(objectChoiceValue("42")); + expect(objectChoiceId(objectChoiceValue(42))).toBe(42); + expect(objectChoiceId(objectChoiceValue("42"))).toBe("42"); + expect(objectChoiceId("")).toBeNull(); + const objects = [object(42), object("42")]; + expect(unclaimedInstanceRoots(objects, [{ objectIds: [42] }] as InstanceDescriptor[])).toEqual([objects[1]]); + }); + + it("shows the ID beside duplicate display labels, and uses the ID for unnamed objects", () => { + expect(objectChoiceLabel(object(42, "Coffee plant"))).toBe("Coffee plant · ID: 42"); + expect(objectChoiceLabel(object(73, "Coffee plant"))).toBe("Coffee plant · ID: 73"); + expect(objectChoiceLabel(object(42))).toBe("42"); + }); + + it("finds an instance root independently of its display name", () => { + const root = { ...object(42, "Coffee plant"), instance: "coffee_a" }; + const leaf = { ...object(73), instance: "coffee_a", parent: root.id }; + expect(scopeObjectId({ type: "Scope", name: "coffee_a" }, [leaf, root])).toBe(42); + expect(scopeObjectId({ type: "Scope", id: "42" }, [root])).toBe("42"); + }); + + it("preserves tagged compound IDs regardless of JSON property order", () => { + const id = { type: "ObjectId", value: { type: "Tuple", items: [{ type: "Symbol", value: "leaf" }, 42] } }; + const reordered = { value: { items: [{ value: "leaf", type: "Symbol" }, 42], type: "Tuple" }, type: "ObjectId" }; + expect(objectChoiceValue(id)).toBe(objectChoiceValue(reordered)); + expect(objectChoiceId(objectChoiceValue(id))).toEqual(id); + expect(objectIdLabel(id)).toBe("(:leaf, 42)"); + }); +}); diff --git a/frontend/src/ObjectChoice.tsx b/frontend/src/ObjectChoice.tsx new file mode 100644 index 000000000..e7d1ab225 --- /dev/null +++ b/frontend/src/ObjectChoice.tsx @@ -0,0 +1,58 @@ +import type { ObjectGraphNode } from "./types"; + +// A select element stores strings; retain the original ID type in its value. +export function objectChoiceValue(id: unknown): string { + return id === null || id === undefined ? "" : JSON.stringify(canonicalValue(id)); +} + +function canonicalValue(value: unknown): unknown { + if (Array.isArray(value)) return value.map(canonicalValue); + if (value && typeof value === "object") return Object.fromEntries( + Object.entries(value).sort(([left], [right]) => left.localeCompare(right)).map(([key, item]) => [key, canonicalValue(item)]), + ); + return value; +} + +export function objectChoiceId(value: string): unknown { + return value ? JSON.parse(value) : null; +} + +export function objectChoiceLabel(object: ObjectGraphNode): string { + const id = objectIdLabel(object.objectId); + return object.name && object.name !== id ? `${object.name} · ID: ${id}` : id; +} + +export function objectIdLabel(id: unknown): string { + if (!id || typeof id !== "object") return String(id); + const value = id as Record; + if (value.type === "Tuple" && Array.isArray(value.items)) return `(${value.items.map(objectIdLabel).join(", ")})`; + if (value.type === "NamedTuple" && Array.isArray(value.items) && Array.isArray(value.names)) { + const names = value.names; + return `(${value.items.map((item, index) => `${names[index]}=${objectIdLabel(item)}`).join(", ")})`; + } + if (value.type === "Pair") return `${objectIdLabel(value.first)} => ${objectIdLabel(value.second)}`; + if (value.type === "Symbol") return `:${String(value.value)}`; + if ("value" in value) return objectIdLabel(value.value); + return String(value.repr ?? JSON.stringify(id)); +} + +export function scopeObjectId(scope: Record | null, objects: ObjectGraphNode[]): unknown { + if (!scope || scope.type !== "Scope") return null; + if ("id" in scope) return scope.id; + const root = objects.find((object) => object.instance === scope.name && + !objects.some((parent) => parent.id === object.parent && parent.instance === scope.name)); + return root?.objectId ?? scope.name; +} + +export function ObjectChoice({ label, value, objects, onChange, emptyLabel = "Any" }: { + label: string; + value: string; + objects: ObjectGraphNode[]; + onChange: (value: string) => void; + emptyLabel?: string; +}) { + return ; +} diff --git a/frontend/src/ObjectForm.tsx b/frontend/src/ObjectForm.tsx index ec6693f46..5615c6fb5 100644 --- a/frontend/src/ObjectForm.tsx +++ b/frontend/src/ObjectForm.tsx @@ -1,11 +1,12 @@ import { Check, X } from "lucide-react"; +import { objectChoiceValue, objectChoiceId, objectChoiceLabel, objectIdLabel } from "./ObjectChoice"; import { useMemo, useState } from "react"; import type { ObjectGraphNode } from "./types"; export type ObjectFormValue = { - objectId: string; + objectId: unknown; configuration: { - parent: string | null; + parent: unknown; scale: string | null; kind: string | null; species: string | null; @@ -26,21 +27,21 @@ export function ObjectForm({ onSubmit: (value: ObjectFormValue) => void; onClose: () => void; }) { - const [objectId, setObjectId] = useState(String(object?.objectId ?? "")); - const [parent, setParent] = useState(parentObjectId(object?.parent)); + const [objectId, setObjectId] = useState(objectIdLabel(object?.objectId ?? "")); + const [parent, setParent] = useState(objectChoiceValue(objects.find((item) => item.id === object?.parent)?.objectId)); const [scale, setScale] = useState(object?.scale || ""); const [kind, setKind] = useState(object?.kind || ""); const [species, setSpecies] = useState(object?.species || ""); const [name, setName] = useState(object?.name || ""); const parentOptions = useMemo( - () => objects.filter((item) => String(item.objectId) !== objectId), - [objectId, objects], + () => objects.filter((item) => objectChoiceValue(item.objectId) !== objectChoiceValue(mode === "update" ? object?.objectId : objectId)), + [mode, object, objectId, objects], ); const submit = () => onSubmit({ - objectId: objectId.trim(), + objectId: mode === "update" ? object!.objectId : objectId.trim(), configuration: { - parent: parent || null, + parent: objectChoiceId(parent), scale: scale.trim() || null, kind: kind.trim() || null, species: species.trim() || null, @@ -50,24 +51,18 @@ export function ObjectForm({ return
event.stopPropagation()} data-testid="object-form"> -
{mode === "add" ? "Add scene object" : `Update object ${String(object?.objectId)}`}Objects define the concrete entities and topology targeted by applications
+
{mode === "add" ? "Add scene object" : `Update object ${objectIdLabel(object?.objectId)}`}Objects define the concrete entities and topology targeted by applications
- +
- +
; } - -function parentObjectId(parent: unknown | null | undefined) { - if (parent === null || parent === undefined || parent === "") return ""; - const value = String(parent); - return value.startsWith("object:") ? value.slice("object:".length) : value; -} diff --git a/frontend/src/OverrideForm.tsx b/frontend/src/OverrideForm.tsx index 2693182c4..80c95f334 100644 --- a/frontend/src/OverrideForm.tsx +++ b/frontend/src/OverrideForm.tsx @@ -1,3 +1,4 @@ +import { objectChoiceValue, objectChoiceId, objectIdLabel } from "./ObjectChoice"; import { Check, Trash2, X } from "lucide-react"; import { useMemo, useState } from "react"; import { modelDescriptorForApplication, ParameterFields, parameterDefaults } from "./ApplicationForm"; @@ -35,7 +36,7 @@ export function OverrideForm({ const [scope, setScope] = useState<"instance" | "object">("instance"); const [instanceName, setInstanceName] = useState(application.targetInstances[0] || instances[0]?.name || ""); const instance = instances.find((item) => item.name === instanceName); - const objectIds = (instance?.objectIds || []).filter((id) => application.targetIds.some((target) => String(target) === String(id))); + const objectIds = (instance?.objectIds || []).filter((id) => application.targetIds.some((target) => objectChoiceValue(target) === objectChoiceValue(id))); const [objectId, setObjectId] = useState(objectIds[0] ?? ""); const [modelType, setModelType] = useState(initialModel?.type || application.modelType); const model = matchingModels.find((item) => item.type === modelType) || initialModel; @@ -44,7 +45,7 @@ export function OverrideForm({ const hasInstanceOverride = Boolean(instance?.instanceOverrides.includes(baseApplicationId)); const hasObjectOverride = Boolean(instance?.objectOverrides.some((entry) => { const record = entry as Record; - return String(record.object ?? record.objectId ?? "") === String(objectId) && + return objectChoiceValue(record.object ?? record.objectId) === objectChoiceValue(objectId) && String(record.application ?? record.applicationId ?? "") === baseApplicationId; })); const canRemove = scope === "instance" ? hasInstanceOverride : hasObjectOverride; @@ -66,15 +67,15 @@ export function OverrideForm({ - {scope === "object" && } + {scope === "object" && } {model && model.constructor.fields.length > 0 &&
Model parameters
} -
{scope === "instance" ? `Override ${instanceName}` : `Override object ${String(objectId)}`}Julia validates that the replacement keeps the same process and declared variable contract.
+
{scope === "instance" ? `Override ${instanceName}` : `Override object ${objectIdLabel(objectId)}`}Julia validates that the replacement keeps the same process and declared variable contract.
{canRemove && }
diff --git a/skills/plantsimengine/assets/coupling-patterns.jl b/skills/plantsimengine/assets/coupling-patterns.jl index 7d4bb1ea4..b35212a53 100644 --- a/skills/plantsimengine/assets/coupling-patterns.jl +++ b/skills/plantsimengine/assets/coupling-patterns.jl @@ -166,14 +166,14 @@ function coupling_scenario(::Type{T}=Float32) where {T<:Real} :leaf_1; scale=:Leaf, kind=:leaf, - name=:first_leaf, + name="First leaf", parent=:plant, ), Object( :leaf_2; scale=:Leaf, kind=:leaf, - name=:second_leaf, + name="Second leaf", parent=:plant, ); applications=( @@ -189,7 +189,7 @@ function coupling_scenario(::Type{T}=Float32) where {T<:Real} inputs=( selected_signal=One( scale=:Leaf, - name=:first_leaf, + id=:leaf_1, within=Subtree(), application=:leaf_source, var=:leaf_signal, diff --git a/skills/plantsimengine/references/scenario-coupling.md b/skills/plantsimengine/references/scenario-coupling.md index 310e20a54..60ea931e8 100644 --- a/skills/plantsimengine/references/scenario-coupling.md +++ b/skills/plantsimengine/references/scenario-coupling.md @@ -35,9 +35,21 @@ model = CompositeModel( ) ``` -`scale`, `kind`, `species`, and `name` are scenario labels, not a prescribed -botanical ontology. Object ids are stable runtime identities. Topology alone -does not determine execution order; compiled input, call, and writer edges do. +Object IDs are unique, stable runtime identities. `Object(:leaf_1)` needs no +other labels. An optional `name="Sunlit leaf"` is display text; it need not be +unique and does not affect selection. The graph viewer shows the ID when the +name is omitted. Use `One(id=:leaf_1)` for an individual object, preserving +numeric or other typed IDs when present. + +`scale`, `kind`, and `species` are optional group labels, not a prescribed +botanical ontology. Add them when a model selects those groups. Topology +alone does not determine execution order; compiled input, call, and writer +edges do. + +`ModelSpec.name` identifies an application. Omit it when the process occurs +once, or give each separate application of the same process a distinct name. +`ObjectInstance.name` identifies an instance and prefixes its applications; +it does not rename the root object or change its ID. ## Choose multiplicity and scope deliberately @@ -50,8 +62,10 @@ does not determine execution order; compiled input, call, and writer edges do. - `Subtree()`: the consumer and its descendants. - `SelfPlant()`: the containing plant/root scope. - `SceneScope()`: the complete scene. -- `Ancestor(...)`, `Scope(name)`, and `Relation(...)`: explicit topology or - named-scope relationships. +- `Ancestor(...)` and `Relation(...)`: explicit topology relationships. +- `Scope(:instance_name)`: the instance's root and descendants. +- `Scope(ObjectId(root_id))`: a root selected by its typed object ID and its + descendants. Object display names never define a scope. `Self()` never means “this model” or “this plant” unless the current target object is itself that object. diff --git a/src/composite_model/compilation.jl b/src/composite_model/compilation.jl index 7fe76e7b5..f93f1f52c 100644 --- a/src/composite_model/compilation.jl +++ b/src/composite_model/compilation.jl @@ -262,12 +262,12 @@ struct CompiledApplicationSchedule{E,A,P,G} end """Reverse candidate index for compiled selector matchers.""" -struct SelectorCandidateIndex{W,S,K,SP,N,A,R,L,C} +struct SelectorCandidateIndex{W,S,K,SP,I,A,R,L,C} wildcard::W by_scale::S by_kind::K by_species::SP - by_name::N + by_id::I by_scope_anchor::A scope_roots::R template_label_values::L @@ -280,13 +280,13 @@ function _selector_candidate_index(; application_targets::Bool=false) Dict{Symbol,Vector{Int}}(), Dict{Symbol,Vector{Int}}(), Dict{Symbol,Vector{Int}}(), - Dict{Symbol,Vector{Int}}(), + Dict{ObjectId,Vector{Int}}(), Dict{ - Union{ObjectId,Tuple{ObjectId,Symbol,Symbol}}, + Union{ObjectId,Tuple{ObjectId,Symbol,Union{Symbol,ObjectId}}}, Vector{Int}, }(), Set{ObjectId}(), - Dict{Symbol,Set{Symbol}}(), + Dict{Symbol,Set{Union{Symbol,ObjectId}}}(), application_targets ? Dict{Any,Any}() : nothing, ) end @@ -298,7 +298,7 @@ function _freeze_selector_candidate_index(index::SelectorCandidateIndex) freeze(index.by_scale), freeze(index.by_kind), freeze(index.by_species), - freeze(index.by_name), + freeze(index.by_id), freeze(index.by_scope_anchor), Set(index.scope_roots), Dict( @@ -384,7 +384,7 @@ function _selector_candidate_destination( if !isnothing(anchor) anchor_id = ObjectId(anchor) for (label, value) in ( - (:name, matcher.name), + (:id, matcher.id), (:scale, matcher.scale), (:kind, matcher.kind), (:species, matcher.species), @@ -400,7 +400,7 @@ function _selector_candidate_destination( return (index.by_scope_anchor, (anchor_id,)) end for (groups, value) in ( - (index.by_name, matcher.name), + (index.by_id, matcher.id), (index.by_scale, matcher.scale), (index.by_kind, matcher.kind), (index.by_species, matcher.species), @@ -422,11 +422,11 @@ function _index_selector_candidate!( tracks_application_targets = !isnothing(index.application_target_templates) if tracks_application_targets - for label in (:scale, :kind, :species, :name) + for label in (:scale, :kind, :species, :id) value = getproperty(matcher, label) isnothing(value) && continue union!( - get!(index.template_label_values, label, Set{Symbol}()), + get!(index.template_label_values, label, Set{Union{Symbol,ObjectId}}()), _selector_candidate_values(value), ) end @@ -464,7 +464,7 @@ function _union_selector_candidates!( union!(candidates, index.wildcard) object = _model_object(model, object_id) for (groups, value) in ( - (index.by_name, object.name), + (index.by_id, object.id), (index.by_scale, object.scale), (index.by_kind, object.kind), (index.by_species, object.species), @@ -474,7 +474,7 @@ function _union_selector_candidates!( for anchor in _object_ancestor_ids(model.registry, object_id) union!(candidates, get(index.by_scope_anchor, anchor, ())) for (label, value) in ( - (:name, object.name), + (:id, object.id), (:scale, object.scale), (:kind, object.kind), (:species, object.species), @@ -1932,7 +1932,7 @@ function _application_target_template_key( _application_target_template_label(index, :scale, object.scale), _application_target_template_label(index, :kind, object.kind), _application_target_template_label(index, :species, object.species), - _application_target_template_label(index, :name, object.name), + _application_target_template_label(index, :id, object.id), scope_roots, ) end @@ -2192,7 +2192,7 @@ function _many_binding_scope_anchor( elseif scope isa SelfPlant return (:plant, _ancestor_id(model, consumer_id; scale=:Plant)) elseif scope isa Scope - return (:scope, scope.name) + return (:scope, _named_scope_root_id(model, scope)) elseif scope isa Ancestor return ( :ancestor, @@ -4816,7 +4816,7 @@ end function _model_application_hint_scale(model::CompositeModel, target_ids::Vector{ObjectId}) isempty(target_ids) && return :Scene scales = unique!([_model_object(model, object_id).scale for object_id in target_ids]) - length(scales) == 1 && return only(scales) + length(scales) == 1 && return something(only(scales), :Default) return :Mixed end @@ -6560,7 +6560,7 @@ _selector_constraint_values(value) = # Object-level multiplicity and writer ambiguity are still validated when # concrete targets exist. function _selector_labels_may_overlap(left, right) - for key in (:scale, :kind, :species, :name) + for key in (:scale, :kind, :species, :id) left_values = _selector_constraint_values( _criteria_value(criteria(left), key), ) @@ -7108,7 +7108,7 @@ function _push_model_input_binding!( ) else _validate_policy_instance( - _model_object(model, consumer_id).scale, + something(_model_object(model, consumer_id).scale, :Default), application.process, input_sym, policy, diff --git a/src/composite_model/registry_topology.jl b/src/composite_model/registry_topology.jl index b0a0849e9..3dc6c1fde 100644 --- a/src/composite_model/registry_topology.jl +++ b/src/composite_model/registry_topology.jl @@ -31,9 +31,10 @@ ObjectId(id::AbstractString) = ObjectId(Symbol(id)) status=nothing, applications=()) One simulated entity, such as a canopy, plant, leaf, or soil volume. `id` is -its stable [`ObjectId`](@ref). Labels such as `scale`, `kind`, and `name` let -selectors choose where models run; parent and child IDs describe topology. -The scenario chooses these labels and relationships. +its stable [`ObjectId`](@ref). Select one object with `id=...`, or a group with +labels such as `scale`, `kind`, and `species`. Parent and child IDs describe +topology. The optional `name` is display text: it need not be unique and never +changes which object a selector matches. Displays use the ID when no name is given. Supply initial model values with [`Status`](@ref). Models can share fixed parameters while each object owns its changing state. `geometry` may hold @@ -49,7 +50,7 @@ mutable struct Object scale::Union{Nothing,Symbol} kind::Union{Nothing,Symbol} species::Union{Nothing,Symbol} - name::Union{Nothing,Symbol} + name::Union{Nothing,String} parent::Union{Nothing,ObjectId} children::Vector{ObjectId} geometry::Any @@ -198,7 +199,7 @@ function Object( _maybe_symbol(scale), _maybe_symbol(kind), _maybe_symbol(species), - _maybe_symbol(name), + isnothing(name) ? nothing : String(name), isnothing(parent) ? nothing : ObjectId(parent), ObjectId[ObjectId(child) for child in children], geometry, @@ -213,7 +214,6 @@ mutable struct ObjectRegistry by_scale::Dict{Symbol,Set{ObjectId}} by_kind::Dict{Symbol,Set{ObjectId}} by_species::Dict{Symbol,Set{ObjectId}} - by_name::Dict{Symbol,ObjectId} ancestor_ids_by_object::Dict{ObjectId,Vector{ObjectId}} end @@ -223,7 +223,6 @@ ObjectRegistry() = ObjectRegistry( Dict{Symbol,Set{ObjectId}}(), Dict{Symbol,Set{ObjectId}}(), Dict{Symbol,Set{ObjectId}}(), - Dict{Symbol,ObjectId}(), Dict{ObjectId,Vector{ObjectId}}(), ) @@ -305,7 +304,7 @@ struct LifecycleObjectSnapshot{G} scale::Union{Nothing,Symbol} kind::Union{Nothing,Symbol} species::Union{Nothing,Symbol} - name::Union{Nothing,Symbol} + name::Union{Nothing,String} parent::Union{Nothing,ObjectId} children::Tuple ancestors::Tuple @@ -468,13 +467,6 @@ function _prepare_object_instances!(objects, instances) isnothing(object.kind) && (object.kind = instance.template.kind) isnothing(object.species) && (object.species = instance.template.species) end - root = objects_by_id[root_id] - if !isnothing(root.name) && root.name != instance.name - error( - "Object instance `$(instance.name)` root `$(root_id.value)` already has the conflicting name `$(root.name)`." - ) - end - root.name = instance.name instance_ids[instance.name] = ids end length(instance_ids) == length(instances) || error("Object instance names must be unique within a model.") @@ -598,7 +590,7 @@ end Build an executable composite model from a reusable template mounted on one concrete object subtree. `root` may be the owned root `Object`, or its id when the root is included in `objects`. When `name` is omitted, it is inferred from -the root object's name or id. +the root object's ID. Its display name is kept unchanged. This constructor is syntax lowering for an [`ObjectInstance`](@ref) passed to the regular [`CompositeModel`](@ref) constructor. Use explicit @@ -620,12 +612,10 @@ function CompositeModel( ) inferred_name = if !isnothing(name) Symbol(name) - elseif root isa Object && !isnothing(root.name) - root.name elseif root isa Object - Symbol(root.id.value) + Symbol(string(root.id.value)) else - Symbol(ObjectId(root).value) + Symbol(string(ObjectId(root).value)) end instance = ObjectInstance( inferred_name, @@ -648,7 +638,7 @@ end """ CompositeModel(model::AbstractModel, models::AbstractModel...; status=NamedTuple(), id=:scene, scale=:Scene, kind=nothing, - name=id, environment=nothing, timestep=nothing, + name=nothing, environment=nothing, timestep=nothing, type_promotion=nothing, status_transform=nothing) Construct a concise one-object simulation. This is syntax lowering only: it @@ -668,13 +658,12 @@ function CompositeModel( id=:scene, scale=:Scene, kind=nothing, - name=id, + name=nothing, environment=nothing, timestep=nothing, type_promotion=nothing, status_transform=nothing, ) - object_name = isnothing(name) ? nothing : Symbol(string(name)) object_status = if status isa Status || isnothing(status) status elseif status isa Union{NamedTuple,AbstractDict,Base.Pairs} @@ -685,7 +674,7 @@ function CompositeModel( "`AbstractDict`, `Base.Pairs`, or `nothing`, got `$(typeof(status))`." ) end - selector = isnothing(object_name) ? One(scale=scale) : One(name=object_name) + selector = One(id=id) applications = map((model, models...)) do application_model ModelSpec(application_model; on=selector, every=timestep) end @@ -694,7 +683,7 @@ function CompositeModel( id; scale=scale, kind=kind, - name=object_name, + name=name, status=object_status, ); applications=applications, @@ -966,15 +955,6 @@ function _index_object!(registry::ObjectRegistry, object::Object) _push_index!(registry.by_scale, object.scale, object.id) _push_index!(registry.by_kind, object.kind, object.id) _push_index!(registry.by_species, object.species, object.id) - if !isnothing(object.name) - existing = get(registry.by_name, object.name, nothing) - if !isnothing(existing) && existing != object.id - error( - "CompositeModel object name `$(object.name)` is already used by object `$(existing.value)`." - ) - end - registry.by_name[object.name] = object.id - end object.status isa Status && (registry.object_ids_by_status[_status_identity(object.status)] = object.id) return nothing @@ -984,9 +964,6 @@ function _deindex_object!(registry::ObjectRegistry, object::Object) _delete_index!(registry.by_scale, object.scale, object.id) _delete_index!(registry.by_kind, object.kind, object.id) _delete_index!(registry.by_species, object.species, object.id) - if !isnothing(object.name) && get(registry.by_name, object.name, nothing) == object.id - delete!(registry.by_name, object.name) - end if object.status isa Status && get( registry.object_ids_by_status, @@ -1315,12 +1292,6 @@ function _register_object_without_lifecycle!( if !isnothing(parent_id) && !haskey(registry.objects, parent_id) error("No model object with id `$(parent_id.value)`.") end - if !isnothing(object.name) - existing = get(registry.by_name, object.name, nothing) - isnothing(existing) || error( - "CompositeModel object name `$(object.name)` is already used by object `$(existing.value)`." - ) - end source_status = object.status _validate_status_source_identity_available!(model, source_status, object.id) object.status = status_values_materialized ? @@ -1826,19 +1797,16 @@ function refresh_environment_bindings!(model::CompositeModel, compiled=refresh_b return model.environment_binding_cache end -function object_ids(model::CompositeModel; scale=nothing, kind=nothing, species=nothing, name=nothing) - registry = model.registry - sets = Set{ObjectId}[] - isnothing(scale) || push!(sets, copy(get(registry.by_scale, Symbol(scale), Set{ObjectId}()))) - isnothing(kind) || push!(sets, copy(get(registry.by_kind, Symbol(kind), Set{ObjectId}()))) - isnothing(species) || push!(sets, copy(get(registry.by_species, Symbol(species), Set{ObjectId}()))) - if !isnothing(name) - id = get(registry.by_name, Symbol(name), nothing) - push!(sets, isnothing(id) ? Set{ObjectId}() : Set([id])) - end - isempty(sets) && return sort!(collect(keys(registry.objects)); by=id -> string(id.value)) - ids = reduce(intersect, sets) - return sort!(collect(ids); by=id -> string(id.value)) +function object_ids(model::CompositeModel; scale=nothing, kind=nothing, species=nothing, id=nothing) + ids = _indexed_object_ids( + model; + scale=_maybe_symbol_collection(scale), + kind=_maybe_symbol_collection(kind), + species=_maybe_symbol_collection(species), + id=_normalize_object_id_criterion(id), + ) + isnothing(ids) && (ids = collect(keys(model.registry.objects))) + return sort!(ids; by=id -> string(id.value)) end model_objects(model::CompositeModel; kwargs...) = [_model_object(model, id) for id in object_ids(model; kwargs...)] @@ -1981,27 +1949,39 @@ function explain_scopes(model::CompositeModel) n_objects=length(descendant_ids), ), ) - object_scope_name = object.id.value isa Symbol ? object.id.value : Symbol(string(object.id.value)) - scope_names = Symbol[object_scope_name] - isnothing(object.name) || push!(scope_names, object.name) - unique!(scope_names) - for scope_name in scope_names - push!( - rows, - ( - scope_type=:named_scope, - selector=Scope(scope_name), - context=nothing, - root_id=object.id.value, - scale=object.scale, - kind=object.kind, - species=object.species, - name=scope_name, - object_ids=descendant_ids, - n_objects=length(descendant_ids), - ), - ) - end + push!( + rows, + ( + scope_type=:object_scope, + selector=Scope(object.id), + context=nothing, + root_id=object.id.value, + scale=object.scale, + kind=object.kind, + species=object.species, + name=object.name, + object_ids=descendant_ids, + n_objects=length(descendant_ids), + ), + ) + end + for instance in model.instances + root_id = _instance_root_id(instance) + haskey(model.registry.objects, root_id) || continue + root = _model_object(model, root_id) + ids = _object_id_values(_descendant_ids(model, root_id)) + push!(rows, ( + scope_type=:instance_scope, + selector=Scope(instance.name), + context=nothing, + root_id=root_id.value, + scale=root.scale, + kind=root.kind, + species=root.species, + name=instance.name, + object_ids=ids, + n_objects=length(ids), + )) end append!(rows, _label_scope_rows(model, :scale, :scale, model.registry.by_scale)) append!(rows, _label_scope_rows(model, :kind, :kind, model.registry.by_kind)) diff --git a/src/composite_model/scenario_dsl.jl b/src/composite_model/scenario_dsl.jl index 048c51eb2..8bc52a891 100644 --- a/src/composite_model/scenario_dsl.jl +++ b/src/composite_model/scenario_dsl.jl @@ -5,12 +5,12 @@ Return the normalized, structured diagnostic address for an object selector. The address preserves scope, object labels, producer/callee routing, temporal policy/window, live-status ordering, and multiplicity. """ -struct ObjectAddress{SC,K,SP,S,N,P,A,V,R,POL,W,FS,AF,M} +struct ObjectAddress{SC,K,SP,S,I,P,A,V,R,POL,W,FS,AF,M} scope::SC kind::K species::SP scale::S - name::N + id::I process::P application::A var::V @@ -28,7 +28,7 @@ function ObjectAddress(selector::AbstractObjectMultiplicity) kind = _criteria_value(c, :kind) species = _criteria_value(c, :species) scale = _criteria_value(c, :scale) - name = haskey(c, :name) ? c.name : nothing + id = haskey(c, :id) ? c.id : nothing process = haskey(c, :process) ? c.process : nothing application = haskey(c, :application) ? c.application : nothing var = haskey(c, :var) ? c.var : nothing @@ -42,7 +42,7 @@ function ObjectAddress(selector::AbstractObjectMultiplicity) kind, species, scale, - name, + id, process, application, var, diff --git a/src/composite_model/selectors.jl b/src/composite_model/selectors.jl index 5ac2d45df..b4cf774b6 100644 --- a/src/composite_model/selectors.jl +++ b/src/composite_model/selectors.jl @@ -15,10 +15,18 @@ struct Ancestor <: AbstractObjectSelector end Ancestor(; scale=nothing) = Ancestor(_maybe_symbol(scale)) -struct Scope <: AbstractObjectSelector - name::Symbol +""" + Scope(root) + +Select the subtree rooted at an object ID or at an `ObjectInstance` name. +A symbolic root first identifies an instance, then an object ID. Use +`Scope(ObjectId(id))` to select an object explicitly when the two identifiers +coincide. Object display names do not define scopes. +""" +struct Scope{R} <: AbstractObjectSelector + root::R end -Scope(name::Union{Symbol,AbstractString}) = Scope(Symbol(name)) +Scope(root::AbstractString) = Scope(Symbol(root)) struct Relation <: AbstractObjectSelector relation::Symbol @@ -39,7 +47,7 @@ const _OBJECT_SELECTOR_KEYWORD_FIELDS = ( :kind, :species, :scale, - :name, + :id, :relation, :process, :application, @@ -49,12 +57,12 @@ const _OBJECT_SELECTOR_KEYWORD_FIELDS = ( :from_status, :after, ) -const _OBJECT_LABEL_SYMBOL_FIELDS = (:kind, :species, :scale, :name) +const _OBJECT_LABEL_SYMBOL_FIELDS = (:kind, :species, :scale) const _OBJECT_ROUTING_SYMBOL_FIELDS = (:process, :var, :application) const _OBJECT_SELECTOR_POSITIONAL_TYPES = Union{SceneScope,Self,Subtree,SelfPlant,Ancestor,Scope,Relation} -const _OBJECT_SELECTOR_FIELDS = (:within, :kind, :species, :scale, :name, :relation) -const _APPLICATION_TARGET_SELECTOR_FIELDS = (:within, :kind, :species, :scale, :name) +const _OBJECT_SELECTOR_FIELDS = (:within, :kind, :species, :scale, :id, :relation) +const _APPLICATION_TARGET_SELECTOR_FIELDS = (:within, :kind, :species, :scale, :id) const _INPUT_SELECTOR_FIELDS = ( _OBJECT_SELECTOR_FIELDS..., :process, @@ -96,7 +104,14 @@ function _maybe_symbol_collection(value) return _maybe_symbol(value) end +function _normalize_object_id_criterion(value) + isnothing(value) && return nothing + value isa Union{Tuple,AbstractVector} && return Tuple(ObjectId(id) for id in value) + return ObjectId(value) +end + function _normalize_object_selector_value(key::Symbol, value) + key == :id && return _normalize_object_id_criterion(value) key == :within && begin value isa Union{SceneScope,Self,Subtree,SelfPlant,Ancestor,Scope} || error( "Selector keyword `within` must be a topology scope such as `Self()`, ", @@ -170,8 +185,8 @@ multiplicity(::OptionalOne) = :optional_one multiplicity(::Many) = :many """A named topology scope resolved once while the scenario plan is compiled.""" -struct CompiledNamedScope{I<:ObjectId} - name::Symbol +struct CompiledNamedScope{R,I<:ObjectId} + reference::R root_id::I end @@ -179,13 +194,13 @@ end Normalized selector criteria used by lifecycle membership checks without reinterpreting the authored selector at every structural refresh. """ -struct CompiledSelectorMatcher{S,R,SC,K,SP,N} +struct CompiledSelectorMatcher{S,R,SC,K,SP,I} scope::S relation::R scale::SC kind::K species::SP - name::N + id::I defaults_to_context::Bool end @@ -710,28 +725,33 @@ function _criteria_scope(criteria) end function _named_scope_root_id(model::CompositeModel, scope::Scope) - root_id = get(model.registry.by_name, scope.name, nothing) - if isnothing(root_id) - candidate = ObjectId(scope.name) - root_id = haskey(model.registry.objects, candidate) ? candidate : nothing - end - if isnothing(root_id) - available = sort!(unique(Symbol[ - keys(model.registry.by_name)..., - (id.value for id in keys(model.registry.objects))..., - ]); by=string) - suggestions = _near_symbol_matches(scope.name, available) - error( - "No named scope or object `$(scope.name)` found in the model registry. ", - "available=$(available), suggestions=$(suggestions).", - ) + if scope.root isa Symbol + for instance in model.instances + instance.name == scope.root || continue + root_id = _instance_root_id(instance) + haskey(model.registry.objects, root_id) || error( + "Object instance `$(instance.name)` has no current root object `$(root_id.value)`.", + ) + return root_id + end end - return root_id + root_id = ObjectId(scope.root) + haskey(model.registry.objects, root_id) && return root_id + available_ids = [id.value for id in object_ids(model)] + available_instances = sort!(Symbol[instance.name for instance in model.instances]; by=string) + symbolic_ids = Symbol[id for id in available_ids if id isa Symbol] + suggestions = root_id.value isa Symbol ? + _near_symbol_matches(root_id.value, unique!([available_instances; symbolic_ids])) : Symbol[] + error( + "No instance or object ID `$(root_id.value)` found in the model registry. ", + "available_ids=$(available_ids), available_instances=$(available_instances), ", + "suggestions=$(suggestions).", + ) end _compile_selector_scope(::CompositeModel, scope) = scope _compile_selector_scope(model::CompositeModel, scope::Scope) = - CompiledNamedScope(scope.name, _named_scope_root_id(model, scope)) + CompiledNamedScope(scope.root, _named_scope_root_id(model, scope)) _compile_selector_relation(::Nothing) = nothing _compile_selector_relation(relation::Symbol) = Val(relation) @@ -746,20 +766,20 @@ function _compile_selector_matcher( scale = _criteria_value(criteria_, :scale) kind = _criteria_value(criteria_, :kind) species = _criteria_value(criteria_, :species) - name = haskey(criteria_, :name) ? criteria_.name : nothing + id = _criteria_value(criteria_, :id) defaults_to_context = isnothing(scope) && isnothing(relation) && isnothing(scale) && isnothing(kind) && isnothing(species) && - isnothing(name) + isnothing(id) return CompiledSelectorMatcher( scope, _compile_selector_relation(relation), scale, kind, species, - name, + id, defaults_to_context, ) end @@ -819,7 +839,7 @@ function _registry_selector_ids(index, requested) return ids end -function _indexed_object_ids(model::CompositeModel; scale=nothing, kind=nothing, species=nothing, name=nothing) +function _indexed_object_ids(model::CompositeModel; scale=nothing, kind=nothing, species=nothing, id=nothing) candidate_sets = Set{ObjectId}[] for ids in ( _registry_selector_ids(model.registry.by_scale, scale), @@ -828,16 +848,12 @@ function _indexed_object_ids(model::CompositeModel; scale=nothing, kind=nothing, ) isnothing(ids) || push!(candidate_sets, ids) end - if !isnothing(name) - names = name isa Tuple ? name : (name,) - push!( - candidate_sets, - Set{ObjectId}( - id for candidate_name in names - for id in (get(model.registry.by_name, Symbol(candidate_name), nothing),) - if !isnothing(id) - ), - ) + if !isnothing(id) + requested_ids = id isa Tuple ? id : (id,) + push!(candidate_sets, Set{ObjectId}( + candidate for candidate in requested_ids + if haskey(model.registry.objects, candidate) + )) end isempty(candidate_sets) && return nothing sort!(candidate_sets; by=length) @@ -996,18 +1012,18 @@ function _available_selector_labels(model::CompositeModel, candidate_ids) scales = Symbol[] kinds = Symbol[] species = Symbol[] - names = Symbol[] + ids = ObjectId[] for object in objects isnothing(object.scale) || push!(scales, object.scale) isnothing(object.kind) || push!(kinds, object.kind) isnothing(object.species) || push!(species, object.species) - isnothing(object.name) || push!(names, object.name) + push!(ids, object.id) end return ( scales=sort!(unique!(scales); by=string), kinds=sort!(unique!(kinds); by=string), species=sort!(unique!(species); by=string), - names=sort!(unique!(names); by=string), + ids=[id.value for id in _sort_object_ids!(unique!(ids))], ) end @@ -1020,14 +1036,13 @@ function _selector_resolution_error( scale=nothing, kind=nothing, species=nothing, - name=nothing, + id=nothing, ) available = _available_selector_labels(model, candidate_ids) suggestions = ( scale=_near_symbol_matches(scale, available.scales), kind=_near_symbol_matches(kind, available.kinds), species=_near_symbol_matches(species, available.species), - name=_near_symbol_matches(name, available.names), ) expected = selector isa One ? "exactly one" : "zero or one" context_id = _object_id_from_context(context) @@ -1035,16 +1050,16 @@ function _selector_resolution_error( "Expected $(expected) object for selector `$(selector)`, got $(length(matched_ids)). ", "context=$(isnothing(context_id) ? nothing : context_id.value), ", "matched_ids=$([id.value for id in matched_ids]), ", - "requested=(scale=$(scale), kind=$(kind), species=$(species), name=$(name)), ", + "requested=(scale=$(scale), kind=$(kind), species=$(species), id=$(id)), ", "available=$(available), suggestions=$(suggestions)." ) end -function _matches_object_criteria(object::Object; scale=nothing, kind=nothing, species=nothing, name=nothing) +function _matches_object_criteria(object::Object; scale=nothing, kind=nothing, species=nothing, id=nothing) _object_matches_selector_value(object.scale, scale) || return false _object_matches_selector_value(object.kind, kind) || return false _object_matches_selector_value(object.species, species) || return false - _object_matches_selector_value(object.name, name) || return false + _object_matches_selector_value(object.id, id) || return false return true end @@ -1067,7 +1082,7 @@ function _selector_matches_object_id( scale=matcher.scale, kind=matcher.kind, species=matcher.species, - name=matcher.name, + id=matcher.id, ) || return false scope = isnothing(matcher.scope) ? default_scope : matcher.scope if isnothing(matcher.relation) @@ -1202,7 +1217,7 @@ function _resolve_object_ids( scale = matcher.scale kind = matcher.kind species = matcher.species - name = matcher.name + requested_id = matcher.id if default_to_context && matcher.defaults_to_context && @@ -1213,7 +1228,7 @@ function _resolve_object_ids( has_indexed_criteria = !isnothing(scale) || !isnothing(kind) || !isnothing(species) || - !isnothing(name) + !isnothing(requested_id) scope_candidate_ids = if isnothing(relation) && has_indexed_criteria if scope isa Self _scope_object_ids(model, scope, context) @@ -1239,7 +1254,7 @@ function _resolve_object_ids( scale=scale, kind=kind, species=species, - name=name, + id=requested_id, ) else nothing @@ -1288,7 +1303,7 @@ function _resolve_object_ids( scale=scale, kind=kind, species=species, - name=name, + id=requested_id, ) ] _sort_object_ids!(ids) @@ -1324,7 +1339,7 @@ function _resolve_object_ids( scale=scale, kind=kind, species=species, - name=name, + id=requested_id, ) elseif selector isa OptionalOne && length(ids) > 1 _selector_resolution_error( @@ -1336,7 +1351,7 @@ function _resolve_object_ids( scale=scale, kind=kind, species=species, - name=name, + id=requested_id, ) end return ids diff --git a/src/scenario_source.jl b/src/scenario_source.jl index 18f055cde..f10d9ba9c 100644 --- a/src/scenario_source.jl +++ b/src/scenario_source.jl @@ -238,12 +238,11 @@ end function _scenario_source_object_code(environment_catalog, object) keywords = String[ - "scale=$(repr(object.scale))", - "kind=$(repr(object.kind))", - "species=$(repr(object.species))", - "name=$(repr(object.name))", - "parent=$(isnothing(object.parent) ? "nothing" : repr(object.parent.value))", + "$(key)=$(repr(getfield(object, key)))" + for key in (:scale, :kind, :species, :name) + if !isnothing(getfield(object, key)) ] + isnothing(object.parent) || push!(keywords, "parent=$(repr(object.parent.value))") if object.status isa Status values = join( ( diff --git a/src/visualization/model_graph_editor_api.jl b/src/visualization/model_graph_editor_api.jl index 6a00faae5..ed45ffd20 100644 --- a/src/visualization/model_graph_editor_api.jl +++ b/src/visualization/model_graph_editor_api.jl @@ -738,7 +738,7 @@ function _model_edit_unmount_selector( for (key_, value_) in selector_criteria key = Symbol(key_) value = value_ - key == :within && value isa Scope && value.name == instance.name && continue + key == :within && value isa Scope && value.root == instance.name && continue if key == :application && startswith(string(value), prefix) value = Symbol(chopprefix(string(value), prefix)) end @@ -935,18 +935,6 @@ function _apply_model_graph_edit!(model::CompositeModel, edit::SetModelObjectMet allowed = Set((:scale, :kind, :species, :name, :geometry, :parent)) unknown = setdiff(Set(Symbol.(keys(edit.configuration))), allowed) isempty(unknown) || error("Unsupported object metadata fields: $(sort!(collect(unknown); by=string)).") - if haskey(edit.configuration, :name) - instance = findfirst( - item -> _instance_root_id(item) == object.id, - model.instances, - ) - if !isnothing(instance) - required_name = model.instances[instance].name - edit.configuration.name == required_name || error( - "Instance root `$(object.id.value)` must keep the instance name `$(required_name)`.", - ) - end - end _deindex_object!(model.registry, object) for (key_, value) in pairs(edit.configuration) key = Symbol(key_) @@ -954,6 +942,8 @@ function _apply_model_graph_edit!(model::CompositeModel, edit::SetModelObjectMet continue elseif key == :geometry object.geometry = value + elseif key == :name + object.name = isnothing(value) ? nothing : String(value) else setfield!(object, key, isnothing(value) ? nothing : Symbol(value)) end @@ -1126,10 +1116,6 @@ function _apply_model_graph_edit!(model::CompositeModel, edit::AddModelInstance) haskey(model.registry.objects, edit.root_id) || error( "Object instance `$(edit.name)` refers to missing root `$(edit.root_id.value)`.", ) - root = _model_object(model, edit.root_id) - !isnothing(root.name) && root.name != edit.name && error( - "Instance name `$(edit.name)` conflicts with root name `$(root.name)`.", - ) instance = ObjectInstance(edit.name, edit.template; root=edit.root_id) return _model_edit_rebuild_instances(model, (model.instances..., instance)) end diff --git a/src/visualization/model_graph_view.jl b/src/visualization/model_graph_view.jl index 5354bde7e..07aaf0a83 100644 --- a/src/visualization/model_graph_view.jl +++ b/src/visualization/model_graph_view.jl @@ -557,10 +557,14 @@ end _model_graph_object_id(value) = value isa ObjectId ? value.value : value _model_graph_application_node_id(id) = string("application:", id) -_model_graph_object_node_id(id) = string("object:", _model_graph_object_id(id)) +function _model_graph_object_id_key(id) + value = ObjectId(id).value + return repr((typeof(value), value)) +end +_model_graph_object_node_id(id) = string("object:", _model_graph_object_id_key(id)) _model_graph_instance_node_id(name) = string("instance:", name) _model_graph_execution_node_id(application_id, object_id) = - string("execution:", application_id, ":", _model_graph_object_id(object_id)) + string("execution:", repr(application_id), ":", _model_graph_object_id_key(object_id)) _model_graph_port_id(application_id, role, variable) = string(_model_graph_application_node_id(application_id), ":", role, ":", variable) @@ -646,6 +650,53 @@ function _model_graph_period_dict(period) ) end +# Object identities use a separate codec from parameters and display metadata. +# Bare JSON arrays mean a collection of IDs in selectors, so a tuple-valued +# scalar ID needs a tagged wrapper. Nested symbols and strings remain distinct. +function _model_graph_typed_id_value(value) + value isa Symbol && return Dict("type" => "Symbol", "value" => string(value)) + value isa AbstractString && return String(value) + value isa Bool && return value + if value isa Int && -(2^53 - 1) <= value <= 2^53 - 1 + return value + end + if value isa Union{Integer,Float16,Float32,Float64} + return Dict("type" => string(typeof(value)), "value" => string(value)) + end + value isa Char && return Dict("type" => "Char", "value" => string(value)) + value isa ObjectId && return Dict("type" => "ObjectId", "value" => _model_graph_typed_id_value(value.value)) + if value isa NamedTuple + return Dict( + "type" => "NamedTuple", + "names" => string.(keys(value)), + "items" => [_model_graph_typed_id_value(item) for item in value], + ) + end + value isa Tuple && return Dict("type" => "Tuple", "items" => [_model_graph_typed_id_value(item) for item in value]) + value isa Pair && return Dict( + "type" => "Pair", + "first" => _model_graph_typed_id_value(first(value)), + "second" => _model_graph_typed_id_value(last(value)), + ) + # Custom IDs can still be inspected, but cannot be reconstructed by a + # browser command without a user-defined codec or evaluating Julia code. + return Dict("type" => "Opaque", "juliaType" => string(typeof(value)), "value" => repr(value)) +end + +function _model_graph_object_id_value(id) + value = ObjectId(id).value + value isa Symbol && return string(value) + value isa Bool && return value + value isa Int && -(2^53 - 1) <= value <= 2^53 - 1 && return value + return Dict("type" => "ObjectId", "value" => _model_graph_typed_id_value(value)) +end + +function _model_graph_selector_id_value(value) + isnothing(value) && return nothing + value isa Tuple && return [_model_graph_object_id_value(id) for id in value] + return _model_graph_object_id_value(value) +end + function _model_graph_json_value(value) value === nothing && return nothing value === missing && return nothing @@ -682,7 +733,13 @@ end function _model_graph_selector_atom(selector::AbstractObjectSelector) descriptor = Dict{String,Any}("type" => string(nameof(typeof(selector)))) selector isa Ancestor && (descriptor["scale"] = _model_graph_json_value(selector.scale)) - selector isa Scope && (descriptor["name"] = string(selector.name)) + if selector isa Scope + if selector.root isa Symbol + descriptor["name"] = string(selector.root) + else + descriptor["id"] = _model_graph_object_id_value(selector.root) + end + end selector isa Relation && (descriptor["relation"] = string(selector.relation)) return descriptor end @@ -708,6 +765,8 @@ function _model_graph_selector_criteria(selector::AbstractObjectMultiplicity) [_model_graph_selector_atom(item) for item in value] elseif key == :within && value isa AbstractObjectSelector _model_graph_selector_atom(value) + elseif key == :id + _model_graph_selector_id_value(value) elseif key == :policy _model_graph_policy_dict(value) elseif key == :window @@ -834,7 +893,7 @@ function _model_graph_application_dict( "package" => _model_package_name(parentmodule(typeof(process_model))), "modelParameters" => _model_graph_model_parameters(process_model), "selector" => _model_graph_selector_dict(application.applies_to), - "targetIds" => [_model_graph_json_value(id.value) for id in application.target_ids], + "targetIds" => [_model_graph_object_id_value(id.value) for id in application.target_ids], "targetCount" => length(application.target_ids), "targetScales" => sort!(unique!(String[string(object.scale) for object in target_objects if !isnothing(object.scale)])), "targetKinds" => sort!(unique!(String[string(object.kind) for object in target_objects if !isnothing(object.kind)])), @@ -887,7 +946,7 @@ function _model_graph_application_dict( "modelStorage" => isnothing(application.model_overrides) ? "shared_application" : "per_object_override", "objectOverrides" => isnothing(application.model_overrides) ? Any[] : [ Dict( - "objectId" => _model_graph_json_value(object_id.value), + "objectId" => _model_graph_object_id_value(object_id.value), "modelType" => string(typeof(override)), "parameters" => _model_graph_model_parameters(override), ) @@ -900,7 +959,7 @@ function _model_graph_object_dict(row) id = row.id return Dict{String,Any}( "id" => _model_graph_object_node_id(id), - "objectId" => _model_graph_json_value(id), + "objectId" => _model_graph_object_id_value(id), "scale" => _model_graph_json_value(row.scale), "kind" => _model_graph_json_value(row.kind), "species" => _model_graph_json_value(row.species), @@ -994,15 +1053,15 @@ function _model_graph_instance_dict(model, row, template_catalog) "id" => _model_graph_instance_node_id(row.name), "name" => string(row.name), "templateId" => _model_graph_template_id(model, instance.template, template_catalog), - "rootId" => _model_graph_json_value(row.root_id), + "rootId" => _model_graph_object_id_value(row.root_id), "kind" => _model_graph_json_value(row.kind), "species" => _model_graph_json_value(row.species), - "objectIds" => [_model_graph_json_value(id) for id in row.object_ids], + "objectIds" => [_model_graph_object_id_value(id) for id in row.object_ids], "applicationIds" => string.(row.application_ids), "instanceOverrides" => string.(row.instance_overrides), "objectOverrides" => Dict{String,Any}[ Dict( - "objectId" => _model_graph_json_value(override.object_id), + "objectId" => _model_graph_object_id_value(override.object_id), "applicationId" => _model_graph_json_value(override.application), "modelType" => string(override.model_type), ) @@ -1054,7 +1113,7 @@ function _model_graph_execution_dict(application, object_id) "id" => _model_graph_execution_node_id(application.id, object_id), "applicationId" => string(application.id), "applicationNodeId" => _model_graph_application_node_id(application.id), - "objectId" => _model_graph_json_value(object_id.value), + "objectId" => _model_graph_object_id_value(object_id.value), "objectNodeId" => _model_graph_object_node_id(object_id), "modelType" => string(typeof(model)), "modelParameters" => _model_graph_model_parameters(model), @@ -1119,9 +1178,9 @@ function _model_graph_binding_edges(report, level) binding.source_var, ) edge_id = string( - "binding:", source_application_id, ":", source_id.value, + "binding:", source_application_id, ":", _model_graph_object_id_key(source_id), ":", binding.source_var, ":", binding.application_id, - ":", binding.consumer_id.value, ":", binding.input, + ":", _model_graph_object_id_key(binding.consumer_id), ":", binding.input, ) edges[edge_id] = Dict{String,Any}( "id" => edge_id, @@ -1136,11 +1195,11 @@ function _model_graph_binding_edges(report, level) "targetVariable" => string(binding.input), "sourceApplicationId" => string(source_application_id), "targetApplicationId" => string(binding.application_id), - "sourceObjectIds" => [_model_graph_json_value(source_id.value)], + "sourceObjectIds" => [_model_graph_object_id_value(source_id.value)], "sourceExecutionObjectIds" => [ - _model_graph_json_value(execution_source_id.value), + _model_graph_object_id_value(execution_source_id.value), ], - "targetObjectIds" => [_model_graph_json_value(binding.consumer_id.value)], + "targetObjectIds" => [_model_graph_object_id_value(binding.consumer_id.value)], "kind" => previous ? "previous_timestep" : string(binding.origin == :inferred ? :inferred_same_object : :value_binding), "projection" => "resolved", "origin" => string(binding.origin), @@ -1177,8 +1236,8 @@ function _model_graph_binding_edges(report, level) "cycle" => !previous && get(cycle_memberships, source_application_id, 0) == get(cycle_memberships, binding.application_id, -1), ) end - append!(edge["sourceObjectIds"], [_model_graph_json_value(id.value) for id in source_ids]) - push!(edge["targetObjectIds"], _model_graph_json_value(binding.consumer_id.value)) + append!(edge["sourceObjectIds"], [_model_graph_object_id_value(id.value) for id in source_ids]) + push!(edge["targetObjectIds"], _model_graph_object_id_value(binding.consumer_id.value)) unique!(edge["sourceObjectIds"]) unique!(edge["targetObjectIds"]) end @@ -1239,8 +1298,8 @@ function _model_graph_call_edges(report, level) ) for (callee_application_id, callee_object_id) in resolved_pairs edge_id = string( - "call:", binding.application_id, ":", binding.consumer_id.value, - ":", binding.call, ":", callee_application_id, ":", callee_object_id.value, + "call:", binding.application_id, ":", _model_graph_object_id_key(binding.consumer_id), + ":", binding.call, ":", callee_application_id, ":", _model_graph_object_id_key(callee_object_id), ) edges[edge_id] = Dict{String,Any}( "id" => edge_id, @@ -1384,7 +1443,7 @@ function _model_graph_environment_edges(report, level, environment_catalog) target_id = level == :resolved ? _model_graph_execution_node_id(binding.application_id, binding.object_id) : _model_graph_application_node_id(binding.application_id) - object_suffix = level == :resolved ? string(":", binding.object_id.value) : "" + object_suffix = level == :resolved ? string(":", _model_graph_object_id_key(binding.object_id)) : "" for (target_variable, source_variable) in zip(binding.required_inputs, binding.source_inputs) edge_id = string( "environment-input:", provider, ":", source_variable, ":", @@ -1412,7 +1471,7 @@ function _model_graph_environment_edges(report, level, environment_catalog) "cycle" => false, ) end - push!(edge["targetObjectIds"], _model_graph_json_value(binding.object_id.value)) + push!(edge["targetObjectIds"], _model_graph_object_id_value(binding.object_id.value)) unique!(edge["targetObjectIds"]) end for variable in binding.produced_outputs @@ -1443,7 +1502,7 @@ function _model_graph_environment_edges(report, level, environment_catalog) "cycle" => false, ) end - push!(edge["sourceObjectIds"], _model_graph_json_value(binding.object_id.value)) + push!(edge["sourceObjectIds"], _model_graph_object_id_value(binding.object_id.value)) unique!(edge["sourceObjectIds"]) end end @@ -1466,7 +1525,7 @@ function _model_graph_structure_edges(model, applications, template_catalog) for object in values(model.registry.objects) if !isnothing(object.parent) push!(edges, Dict{String,Any}( - "id" => string("topology:", object.parent.value, ":", object.id.value), + "id" => string("topology:", _model_graph_object_id_key(object.parent), ":", _model_graph_object_id_key(object.id)), "source" => _model_graph_object_node_id(object.parent), "target" => _model_graph_object_node_id(object.id), "kind" => "object_topology", @@ -1478,7 +1537,7 @@ function _model_graph_structure_edges(model, applications, template_catalog) for application in applications for object_id in application.target_ids push!(edges, Dict{String,Any}( - "id" => string("target:", application.id, ":", object_id.value), + "id" => string("target:", application.id, ":", _model_graph_object_id_key(object_id)), "source" => _model_graph_application_node_id(application.id), "target" => _model_graph_object_node_id(object_id), "kind" => "application_target", @@ -1497,7 +1556,7 @@ function _model_graph_diagnostic_dict(diagnostic::ModelGraphDiagnostic) "message" => diagnostic.message, "phase" => string(diagnostic.phase), "applicationIds" => string.(diagnostic.application_ids), - "objectIds" => _model_graph_json_value(diagnostic.object_ids), + "objectIds" => [_model_graph_object_id_value(id) for id in diagnostic.object_ids], "variable" => isnothing(diagnostic.variable) ? nothing : string(diagnostic.variable), "suggestions" => diagnostic.suggestions, ) @@ -1623,7 +1682,7 @@ function _model_graph_add_status_conversion!(rows, report) by_key = Dict( ( string(explanation.application_id), - _model_graph_json_value(explanation.object_id), + _model_graph_object_id_value(explanation.object_id), string(explanation.role), string(explanation.variable), ) => explanation @@ -1680,7 +1739,7 @@ function _model_graph_initialization_row( ) row = Dict{String,Any}( "applicationId" => string(application_id), - "objectId" => _model_graph_json_value(object_id.value), + "objectId" => _model_graph_object_id_value(object_id.value), "variable" => string(variable), "role" => string(role), "disposition" => string(disposition), @@ -1688,7 +1747,7 @@ function _model_graph_initialization_row( "valueJulia" => isnothing(value) ? nothing : repr(value), "expectedType" => string(expected_type), "sourceApplicationIds" => isnothing(binding) ? String[] : string.(binding.source_application_ids), - "sourceObjectIds" => isnothing(binding) ? Any[] : [_model_graph_json_value(id.value) for id in binding.source_ids], + "sourceObjectIds" => isnothing(binding) ? Any[] : [_model_graph_object_id_value(id.value) for id in binding.source_ids], "sourceVariable" => isnothing(binding) ? nothing : string(binding.source_var), "origin" => isnothing(binding) ? string( @@ -1722,10 +1781,10 @@ function _model_graph_cycle_dict(report, component, index) any(source -> source in members, binding.source_application_ids) || continue push!(break_candidates, Dict{String,Any}( "applicationId" => string(binding.application_id), - "objectId" => _model_graph_json_value(binding.consumer_id.value), + "objectId" => _model_graph_object_id_value(binding.consumer_id.value), "input" => string(binding.input), "sourceApplicationIds" => string.(binding.source_application_ids), - "sourceObjectIds" => [_model_graph_json_value(id.value) for id in binding.source_ids], + "sourceObjectIds" => [_model_graph_object_id_value(id.value) for id in binding.source_ids], "sourceVariable" => string(binding.source_var), "selector" => _model_graph_selector_dict(binding.selector), )) @@ -2037,7 +2096,16 @@ function _model_graph_standalone_html(view::ModelGraphView) :root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#2d2722;background:#f4efe6}*{box-sizing:border-box}body{margin:0}.shell{height:100vh;display:grid;grid-template-rows:auto 1fr}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 18px;background:#fffaf2;border-bottom:1px solid #dccfbd}.brand{font-weight:800;font-size:19px;margin-right:auto}.toolbar button,.toolbar input{border:1px solid #cdbfaa;background:#fffaf2;border-radius:6px;padding:8px 10px;color:inherit}.toolbar button.active{border-color:#1f7a5a;color:#155b43;background:#e9f4ed}.content{display:grid;grid-template-columns:1fr 300px;min-height:0}.canvas{position:relative;overflow:auto;padding:24px}.grid{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;z-index:2}.card{position:relative;background:#fffaf2;border:1px solid #ddcfbc;border-radius:7px;box-shadow:0 5px 18px #4a3e3020;padding:14px;min-height:150px;cursor:pointer}.card.cycle{border:2px solid #c94c3d}.card h3{margin:0 0 3px;font-size:16px}.muted{color:#776d64;font-size:12px}.badges{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.badge{border:1px solid #d6c8b5;border-radius:999px;padding:2px 7px;font-size:11px}.ports{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ports strong{font-size:10px;color:#776d64;text-transform:uppercase}.port{font-family:ui-monospace,monospace;font-size:11px;padding:3px 0}.inspector{overflow:auto;border-left:1px solid #dccfbd;background:#fffaf2;padding:18px}.inspector pre{white-space:pre-wrap;font-size:11px}.diagnostic{border-left:3px solid #c94c3d;padding:8px;margin:8px 0;background:#fff1eb}.empty{padding:60px;text-align:center;color:#776d64}@media(max-width:760px){.content{grid-template-columns:1fr}.inspector{display:none}.toolbar input{width:100%}} """ js = raw""" -const data=JSON.parse(document.getElementById('pse-model-graph-data').textContent);const root=document.getElementById('root');let mode=data.level||'applications';let query='';let selected=null;const esc=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));function cards(){if(mode==='topology')return data.objects.map(o=>({...o,title:o.name||String(o.objectId),subtitle:[o.kind,o.scale,o.instance].filter(Boolean).join(' · '),inputs:[],outputs:[]}));if(mode==='resolved')return data.executions.map(e=>({...e,title:e.applicationId+' @ '+e.objectId,subtitle:e.modelType,inputs:[],outputs:[]}));return data.applications.map(a=>({...a,title:a.name||a.applicationId,subtitle:a.modelType}));}function render(){const items=cards().filter(item=>JSON.stringify(item).toLowerCase().includes(query.toLowerCase()));root.innerHTML=`
PlantSimEngine CompositeModel Graph
${items.length?`
${items.map(item=>{const appId=item.applicationId;const cyclic=data.cycles.some(c=>c.applicationIds.includes(appId));return `

${esc(item.title)}

${esc(item.subtitle)}
${item.targetCount!==undefined?`
${item.targetCount} targets${(item.targetScales||[]).map(v=>`${esc(v)}`).join('')}
Inputs${(item.inputs||[]).map(p=>`
${esc(p.name)}
`).join('')}
Outputs${(item.outputs||[]).map(p=>`
${esc(p.name)}
`).join('')}
`:''}
`}).join('')}
`:'
No matching graph items.
'}
`;root.querySelectorAll('[data-mode]').forEach(button=>button.onclick=()=>{mode=button.dataset.mode;selected=null;render()});root.querySelector('#search').oninput=event=>{query=event.target.value;render()};root.querySelectorAll('.card').forEach(card=>card.onclick=()=>{selected=cards().find(item=>item.id===card.dataset.id);render()});}render(); +function objectIdLabel(id) { + if (id === null || typeof id !== 'object') return String(id ?? ''); + if (id.type === 'Tuple') return '(' + id.items.map(objectIdLabel).join(', ') + ')'; + if (id.type === 'NamedTuple') return '(' + id.names.map((name, i) => name + '=' + objectIdLabel(id.items[i])).join(', ') + ')'; + if (id.type === 'Pair') return objectIdLabel(id.first) + ' => ' + objectIdLabel(id.second); + if (id.type === 'Symbol') return ':' + String(id.value); + if ('value' in id) return objectIdLabel(id.value); + return JSON.stringify(id); +} +const data=JSON.parse(document.getElementById('pse-model-graph-data').textContent);const root=document.getElementById('root');let mode=data.level||'applications';let query='';let selected=null;const esc=v=>String(v??'').replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));function cards(){if(mode==='topology')return data.objects.map(o=>({...o,title:o.name||objectIdLabel(o.objectId),subtitle:[o.kind,o.scale,o.instance].filter(Boolean).join(' · '),inputs:[],outputs:[]}));if(mode==='resolved')return data.executions.map(e=>({...e,title:e.applicationId+' @ '+objectIdLabel(e.objectId),subtitle:e.modelType,inputs:[],outputs:[]}));return data.applications.map(a=>({...a,title:a.name||a.applicationId,subtitle:a.modelType}));}function render(){const items=cards().filter(item=>JSON.stringify(item).toLowerCase().includes(query.toLowerCase()));root.innerHTML=`
PlantSimEngine CompositeModel Graph
${items.length?`
${items.map(item=>{const appId=item.applicationId;const cyclic=data.cycles.some(c=>c.applicationIds.includes(appId));return `

${esc(item.title)}

${esc(item.subtitle)}
${item.targetCount!==undefined?`
${item.targetCount} targets${(item.targetScales||[]).map(v=>`${esc(v)}`).join('')}
Inputs${(item.inputs||[]).map(p=>`
${esc(p.name)}
`).join('')}
Outputs${(item.outputs||[]).map(p=>`
${esc(p.name)}
`).join('')}
`:''}
`}).join('')}
`:'
No matching graph items.
'}
`;root.querySelectorAll('[data-mode]').forEach(button=>button.onclick=()=>{mode=button.dataset.mode;selected=null;render()});root.querySelector('#search').oninput=event=>{query=event.target.value;render()};root.querySelectorAll('.card').forEach(card=>card.onclick=()=>{selected=cards().find(item=>item.id===card.dataset.id);render()});}render(); """ return _model_graph_html_document(view, css, js) end diff --git a/test/test-maespa-model-example.jl b/test/test-maespa-model-example.jl index 21ee2c23f..66b1a23eb 100644 --- a/test/test-maespa-model-example.jl +++ b/test/test-maespa-model-example.jl @@ -222,8 +222,8 @@ include("../examples/maespa_model_example.jl") @test all(st -> isfinite(st.λE), leaf_statuses) @test any(st -> abs(st.Tₗ - scene_status.canopy_tair) > 1.0e-6, leaf_statuses) - plant_a_status = only(model_objects(model; name=:plant_A)).status - plant_b_status = only(model_objects(model; name=:plant_B)).status + plant_a_status = only(model_objects(model; id=:plant_A)).status + plant_b_status = only(model_objects(model; id=:plant_B)).status @test plant_a_status.daily_growth > 0.0 @test plant_b_status.daily_growth > 0.0 @test plant_a_status.daily_growth != plant_b_status.daily_growth diff --git a/test/test-model-api-stabilization.jl b/test/test-model-api-stabilization.jl index c7b7973cd..e9c1e1bbd 100644 --- a/test/test-model-api-stabilization.jl +++ b/test/test-model-api-stabilization.jl @@ -172,8 +172,8 @@ end explicit_scene = CompositeModel( Object(:scene; scale=:Scene, kind=:scene, name=:scene, status=Status(supplied=2.0)); applications=( - ModelSpec(StabilizationSourceModel(); on=One(name=:scene)), - ModelSpec(StabilizationConsumerModel(); on=One(name=:scene)), + ModelSpec(StabilizationSourceModel(); on=One(id=:scene)), + ModelSpec(StabilizationConsumerModel(); on=One(id=:scene)), ), ) concise_applications = explain_applications(model) @@ -1251,7 +1251,7 @@ function stabilization_relation_candidate_scene() ModelSpec( StabilizationSafeLaggedSumModel(); name=:sibling_sum, - on=One(name=:leaf_a), + on=One(id=:leaf_a), inputs=( :previous_signals => Many( Relation(:siblings); @@ -1862,7 +1862,7 @@ end @test_throws "immutable ObjectInstance root" remove_object!(model, :plant) @test_throws "immutable ObjectInstance root" remove_object!(model, :branch) @test object_ids(model) == ObjectId.([:branch, :leaf, :outside, :plant, :world]) - @test only(model_objects(model; name=:plant_instance)).id == ObjectId(:plant) + @test only(model_objects(model; id=:plant)).id == ObjectId(:plant) @test_throws "immutable ObjectInstance root" reparent_object!(model, :plant, :outside) @test_throws "immutable ObjectInstance root" reparent_object!(model, :branch, :outside) diff --git a/test/test-model-configuration-errors.jl b/test/test-model-configuration-errors.jl index 6b6d8264a..3e3c9d203 100644 --- a/test/test-model-configuration-errors.jl +++ b/test/test-model-configuration-errors.jl @@ -71,9 +71,9 @@ end Object(:source; scale=:Leaf, name=:source), Object(:consumer; scale=:Leaf, name=:consumer); applications=( - ModelSpec(ConfigurationProbeModel(); name=:source, on=One(name=:source)), - ModelSpec(ConfigurationConsumerModel(); name=:consumer, on=One(name=:consumer), inputs=(:value => One( - name=:source, + ModelSpec(ConfigurationProbeModel(); name=:source, on=One(id=:source)), + ModelSpec(ConfigurationConsumerModel(); name=:consumer, on=One(id=:consumer), inputs=(:value => One( + id=:source, within=SceneScope(), policy=:latest, ))), diff --git a/test/test-model-graph-editor-extension.jl b/test/test-model-graph-editor-extension.jl index c4ff6e9f1..1d354f360 100644 --- a/test/test-model-graph-editor-extension.jl +++ b/test/test-model-graph-editor-extension.jl @@ -71,7 +71,7 @@ editor_template_ref(instance, application_id) = Dict( model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status(driver=1.0)); applications=( - ModelSpec(EditorSourceModel(); name=:source, on=One(name=:leaf)), + ModelSpec(EditorSourceModel(); name=:source, on=One(id=:leaf)), ), ) session = edit_graph(model; port=0, open_browser=false, autosave=false) @@ -94,7 +94,7 @@ editor_template_ref(instance, application_id) = Dict( @test static_view.status == 200 @test occursin("pse-model-graph-data", String(static_view.body)) - consumer_spec = ModelSpec(EditorConsumerModel(); name=:consumer, on=One(name=:leaf)) + consumer_spec = ModelSpec(EditorConsumerModel(); name=:consumer, on=One(id=:leaf)) apply_edit!(session, AddModelApplication(consumer_spec)) @test length(current_model(session).applications) == 2 @test !isempty(session.history) @@ -458,7 +458,7 @@ end "parameters" => Dict(), "selector" => Dict( "multiplicity" => "one", - "criteria" => Dict("selectors" => Any[], "name" => "leaf"), + "criteria" => Dict("selectors" => Any[], "id" => "leaf"), ), "cadence" => Dict("mode" => "period", "value" => 2, "unit" => "Hour"), )) @@ -575,7 +575,7 @@ end "parameters" => Dict(), "selector" => Dict( "multiplicity" => "one", - "criteria" => Dict("selectors" => Any[], "name" => "leaf"), + "criteria" => Dict("selectors" => Any[], "id" => "leaf"), ), "cadence" => Dict("mode" => "default"), )) @@ -712,7 +712,7 @@ end scale=:Leaf, status=Status(driver=1.0), applications=( - ModelSpec(EditorSourceModel(); name=:local_source, on=One(name=:local_leaf)), + ModelSpec(EditorSourceModel(); name=:local_source, on=One(id=:local_leaf)), ), )) local_session = edit_graph(local_model; port=0, open_browser=false, autosave=false) @@ -868,3 +868,50 @@ end @test registered_closure.status.ordinary isa Float32 @test registered_closure.status.special isa Float32 end + +@testset "JSON selectors preserve typed object IDs and separate instance names" begin + editor_extension = Base.get_extension(PlantSimEngine, :PlantSimEngineGraphEditorExt) + model = CompositeModel(Object(42), Object("42")) + for raw_id in (42, "42") + selector = editor_extension._selector_from_payload(Dict( + "multiplicity" => "one", + "criteria" => Dict( + "selectors" => Any[], + "id" => raw_id, + ), + )) + @test resolve_object_ids(model, selector) == [ObjectId(raw_id)] + scope = editor_extension._selector_atom_from_payload(Dict("type" => "Scope", "id" => raw_id)) + @test resolve_object_ids(model, One(within=scope)) == [ObjectId(raw_id)] + end + instance_scope = editor_extension._selector_atom_from_payload(Dict("type" => "Scope", "name" => "plant")) + @test instance_scope.root == :plant +end + +@testset "JSON selector round-trips distinguish compound IDs from ID collections" begin + editor_extension = Base.get_extension(PlantSimEngine, :PlantSimEngineGraphEditorExt) + compound = ObjectId((:plant, 42, :leaf, 1)) + nested = ObjectId((:plant, (:segment, 2), "tip")) + model = CompositeModel( + Object(42), + Object("42"), + Object(compound), + Object(nested; parent=compound), + ) + cases = ( + (One(id=42), Set([ObjectId(42)])), + (One(id="42"), Set([ObjectId("42")])), + (One(id=compound), Set([compound])), + (One(id=nested), Set([nested])), + (Many(id=(42, "42", compound)), Set([ObjectId(42), ObjectId("42"), compound])), + (Many(within=Scope(compound)), Set([compound, nested])), + (One(within=Scope(nested)), Set([nested])), + ) + for (selector, expected) in cases + # Go through actual JSON so tuple/number handling cannot rely on Julia's + # in-memory payload types surviving a browser round trip. + payload = JSON.parse(JSON.json(PlantSimEngine._model_graph_selector_dict(selector))) + restored = editor_extension._selector_from_payload(payload) + @test Set(resolve_object_ids(model, restored)) == expected + end +end diff --git a/test/test-model-graph-view.jl b/test/test-model-graph-view.jl index 00899c85d..14f66d80c 100644 --- a/test/test-model-graph-view.jl +++ b/test/test-model-graph-view.jl @@ -133,7 +133,7 @@ end kind=:plant, species=:oil_palm, scale=:Leaf, - name=:leaf_1, + id=:leaf_1, process=:energy_balance, application=:sunlit_energy, var=:temperature, @@ -150,7 +150,7 @@ end "kind", "species", "scale", - "name", + "id", "process", "application", "var", @@ -173,8 +173,8 @@ end model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, kind=:organ, status=Status(driver=1.0)); applications=( - ModelSpec(ModelGraphSourceModel(); name=:source, on=One(name=:leaf)), - ModelSpec(ModelGraphConsumerModel(); name=:consumer, on=One(name=:leaf)), + ModelSpec(ModelGraphSourceModel(); name=:source, on=One(id=:leaf)), + ModelSpec(ModelGraphConsumerModel(); name=:consumer, on=One(id=:leaf)), ), ) @@ -320,7 +320,10 @@ end if get(edge, "projection", nothing) == "resolved" && get(edge, "targetApplicationId", nothing) == "consumer" ) - @test resolved_binding["source"] == "execution:second_writer:scene" + @test resolved_binding["source"] == only( + execution["id"] for execution in resolved.executions + if execution["applicationId"] == "second_writer" && execution["objectId"] == "scene" + ) @test resolved_binding["sourceObjectIds"] == ["leaf"] @test resolved_binding["sourceExecutionObjectIds"] == ["scene"] @test resolved_binding["source"] in @@ -523,8 +526,8 @@ end cyclic_scene = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status()); applications=( - ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(name=:leaf)), - ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(name=:leaf)), + ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(id=:leaf)), + ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(id=:leaf)), ), ) report = PlantSimEngine.compile_model_report(cyclic_scene) @@ -543,8 +546,8 @@ end broken_scene = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status(y=0.0)); applications=( - ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(name=:leaf), inputs=(PreviousTimeStep(:y) => One(within=Self(), var=:y))), - ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(name=:leaf)), + ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(id=:leaf), inputs=(PreviousTimeStep(:y) => One(within=Self(), var=:y))), + ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(id=:leaf)), ), ) broken_view = model_graph_view(broken_scene) @@ -556,7 +559,7 @@ end model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status()); applications=( - ModelSpec(ModelGraphConsumerModel(); name=:consumer, on=One(name=:leaf)), + ModelSpec(ModelGraphConsumerModel(); name=:consumer, on=One(id=:leaf)), ), ) view = model_graph_view(model) @@ -575,7 +578,7 @@ end ModelSpec( ModelGraphGenericTypeModel(); name=:generic, - on=One(name=:leaf), + on=One(id=:leaf), ), ), type_promotion=Dict(Float64 => Float32), @@ -605,7 +608,7 @@ end @testset "CompositeModel graph edits are transactional" begin model = CompositeModel(Object(:leaf; name=:leaf, scale=:Leaf, status=Status(driver=1.0))) - source_spec = ModelSpec(ModelGraphSourceModel(); name=:source, on=One(name=:leaf)) + source_spec = ModelSpec(ModelGraphSourceModel(); name=:source, on=One(id=:leaf)) with_source = apply_model_graph_edit(model, AddModelApplication(source_spec)) @test isempty(model.applications) @test length(with_source.applications) == 1 @@ -641,8 +644,8 @@ end model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status(y=0.0)); applications=( - ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(name=:leaf)), - ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(name=:leaf)), + ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(id=:leaf)), + ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(id=:leaf)), ), ) @test model_graph_view(model).metadata["cyclic"] @@ -664,8 +667,8 @@ end initialized_scene = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status()); applications=( - ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(name=:leaf)), - ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(name=:leaf)), + ModelSpec(ModelGraphCycleAModel(); name=:cycle_a, on=One(id=:leaf)), + ModelSpec(ModelGraphCycleBModel(); name=:cycle_b, on=One(id=:leaf)), ), ) lagged_without_initial_value = apply_model_graph_edit( @@ -690,7 +693,7 @@ end model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, kind=:organ, status=Status(driver=1.0)); applications=( - ModelSpec(ModelGraphSourceModel(); name=:source, on=One(name=:leaf)), + ModelSpec(ModelGraphSourceModel(); name=:source, on=One(id=:leaf)), ), ) @@ -722,8 +725,8 @@ end ordered_writers = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status(driver=1.0)); applications=( - ModelSpec(ModelGraphSourceModel(1.0); name=:first_writer, on=One(name=:leaf)), - ModelSpec(ModelGraphSourceModel(2.0); name=:second_writer, on=One(name=:leaf), updates=Updates(:signal; after=:first_writer)), + ModelSpec(ModelGraphSourceModel(1.0); name=:first_writer, on=One(id=:leaf)), + ModelSpec(ModelGraphSourceModel(2.0); name=:second_writer, on=One(id=:leaf), updates=Updates(:signal; after=:first_writer)), ), ) update_edge = only( @@ -737,7 +740,7 @@ end environment_scene = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf); applications=( - ModelSpec(ModelGraphEnvironmentModel(); name=:environment_user, on=One(name=:leaf), environment=Environment(provider=:forcing, sink=:canopy)), + ModelSpec(ModelGraphEnvironmentModel(); name=:environment_user, on=One(id=:leaf), environment=Environment(provider=:forcing, sink=:canopy)), ), ) environment_edges = [ @@ -763,7 +766,7 @@ end SetModelObjectMetadata(:leaf; scale=:Organ, kind=:leaf, species=:test, name=:leaf_1), ) object = only(model_objects(metadata)) - @test (object.scale, object.kind, object.species, object.name) == (:Organ, :leaf, :test, :leaf_1) + @test (object.scale, object.kind, object.species, object.name) == (:Organ, :leaf, :test, "leaf_1") @test object_ids(metadata; scale=:Organ) == [ObjectId(:leaf)] @test isempty(object_ids(metadata; scale=:Leaf)) @@ -777,21 +780,21 @@ end Object(:source_object; name=:source_object, scale=:Leaf, status=Status(driver=1.0)), Object(:consumer_object; name=:consumer_object, scale=:Plant); applications=( - ModelSpec(ModelGraphSourceModel(); name=:source, on=One(name=:source_object)), - ModelSpec(ModelGraphConsumerModel(); name=:consumer, on=One(name=:consumer_object)), + ModelSpec(ModelGraphSourceModel(); name=:source, on=One(id=:source_object)), + ModelSpec(ModelGraphConsumerModel(); name=:consumer, on=One(id=:consumer_object)), ), ) configured = apply_model_graph_edit( model, - SetModelApplicationTargets(model_graph_global(:consumer), OptionalOne(name=:consumer_object)), + SetModelApplicationTargets(model_graph_global(:consumer), OptionalOne(id=:consumer_object)), ) configured = apply_model_graph_edit( configured, SetModelInputBinding( model_graph_global(:consumer), :signal, - One(name=:source_object, application=:source, var=:signal), + One(id=:source_object, application=:source, var=:signal), ), ) configured = apply_model_graph_edit( @@ -799,7 +802,7 @@ end SetModelCallBinding( model_graph_global(:consumer), :source_call, - One(name=:source_object, application=:source), + One(id=:source_object, application=:source), ), ) configured = apply_model_graph_edit( @@ -885,7 +888,7 @@ end ModelSpec( ModelGraphDistributedWriterModel(); name=:creator, - on=One(name=:plant), + on=One(id=:plant), ), ), ) @@ -997,7 +1000,7 @@ end objects=(Object(:leaf; scale=:Leaf, parent=:plant, status=Status(driver=1.0)),), ); applications=( - ModelSpec(ModelGraphSourceModel(); name=:source, on=One(name=:leaf)), + ModelSpec(ModelGraphSourceModel(); name=:source, on=One(id=:leaf)), ), ) renamed = apply_model_graph_edit( @@ -1186,10 +1189,14 @@ end mounted, RemoveModelObject(:plant), ) - @test_throws "must keep the instance name" apply_model_graph_edit( + renamed = apply_model_graph_edit( mounted, - SetModelObjectMetadata(:plant; name=:renamed_root), + SetModelObjectMetadata(:plant; name="Renamed plant"), ) + @test model_object(renamed, :plant).name == "Renamed plant" + @test only(renamed.instances).name == :plant + @test only(model_graph_view(renamed).applications)["targetIds"] == ["leaf"] + @test model_object(mounted, :plant).name == "plant" @test_throws Exception apply_model_graph_edit( mounted, @@ -1209,7 +1216,7 @@ end @testset "CompositeModel graph replaces scene environment transactionally" begin model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status(driver=1.0)); - applications=(ModelSpec(ModelGraphSourceModel(); name=:source, on=One(name=:leaf)),), + applications=(ModelSpec(ModelGraphSourceModel(); name=:source, on=One(id=:leaf)),), environment=ModelGraphWeatherBackend(), ) changed = apply_model_graph_edit( @@ -1221,3 +1228,64 @@ end @test length(changed.applications) == 1 @test length(model_objects(changed)) == 1 end + +@testset "graph labels can change without changing model or instance identities" begin + template = CompositeModelTemplate(( + ModelSpec(ModelGraphSourceModel(); name=:source, on=Many(scale=:Leaf)), + )) + model = CompositeModel( + ObjectInstance( + :first_plant, + template; + root=Object(10; scale=:Plant, name="First plant"), + objects=(Object(11; scale=:Leaf, parent=10, status=Status(driver=1.0)),), + ), + ObjectInstance( + :second_plant, + template; + root=Object(20; scale=:Plant, name="Plant"), + objects=(Object(21; scale=:Leaf, parent=20, status=Status(driver=2.0)),), + ), + ) + before = model_graph_view(model) + renamed = apply_model_graph_edit(model, SetModelObjectMetadata(10; name="Plant")) + after = model_graph_view(renamed) + @test model_object(renamed, 10).name == model_object(renamed, 20).name == "Plant" + @test model_object(model, 10).name == "First plant" + @test [instance["name"] for instance in after.instances] == + [instance["name"] for instance in before.instances] + @test Dict(application["applicationId"] => application["targetIds"] for application in after.applications) == + Dict("first_plant__source" => [11], "second_plant__source" => [21]) + @test Dict(application["applicationId"] => application["targetIds"] for application in after.applications) == + Dict(application["applicationId"] => application["targetIds"] for application in before.applications) + + code = PlantSimEngine.Authoring.scenario_source(renamed) + restored = Base.include_string(Main, code, "graph_label_identity_roundtrip.jl") + @test object_ids(restored) == object_ids(model) + @test model_object(restored, 10).name == model_object(restored, 20).name == "Plant" + @test isnothing(model_object(restored, 11).name) + @test Dict(application["applicationId"] => application["targetIds"] for application in model_graph_view(restored).applications) == + Dict(application["applicationId"] => application["targetIds"] for application in after.applications) +end + +@testset "graph node identities distinguish numeric and symbolic object IDs" begin + model = CompositeModel( + Object(42; name="Leaf", scale=:Leaf, status=Status(driver=1.0)), + Object("42"; name="Leaf", scale=:Leaf, status=Status(driver=2.0)); + applications=(ModelSpec(ModelGraphSourceModel(); name=:source, on=Many(scale=:Leaf)),), + ) + view = model_graph_view(model; level=:resolved) + @test length(view.objects) == 2 + @test length(unique(object["id"] for object in view.objects)) == 2 + @test length(view.executions) == 2 + @test length(unique(execution["id"] for execution in view.executions)) == 2 + for raw_id in (42, "42") + object = only(object for object in view.objects if object["objectId"] == raw_id) + execution = only(execution for execution in view.executions if execution["objectId"] == raw_id) + @test execution["objectNodeId"] == object["id"] + @test execution["applicationId"] == "source" + end + target_edges = filter(edge -> edge["kind"] == "application_target", view.edges) + @test length(unique(edge["id"] for edge in target_edges)) == 2 + @test Set(edge["target"] for edge in target_edges) == Set(object["id"] for object in view.objects) +end diff --git a/test/test-model-hard-calls.jl b/test/test-model-hard-calls.jl index 11ae6de1d..0ccbb1d2f 100644 --- a/test/test-model-hard-calls.jl +++ b/test/test-model-hard-calls.jl @@ -214,9 +214,9 @@ end Object(:middle; scale=:Plant, name=:middle, parent=:scene), Object(:leaf; scale=:Leaf, name=:leaf, parent=:middle); applications=( - ModelSpec(NestedCallRootModel(); name=:root, on=One(name=:scene), calls=(:middle => One(name=:middle, within=Subtree(), application=:middle)), every=Hour(1)), - ModelSpec(NestedCallMiddleModel(); name=:middle, on=One(name=:middle), calls=(:leaf => One(name=:leaf, within=Subtree(), application=:leaf)), every=Hour(1)), - ModelSpec(NestedCallLeafModel(); name=:leaf, on=One(name=:leaf), every=Hour(1)), + ModelSpec(NestedCallRootModel(); name=:root, on=One(id=:scene), calls=(:middle => One(id=:middle, within=Subtree(), application=:middle)), every=Hour(1)), + ModelSpec(NestedCallMiddleModel(); name=:middle, on=One(id=:middle), calls=(:leaf => One(id=:leaf, within=Subtree(), application=:leaf)), every=Hour(1)), + ModelSpec(NestedCallLeafModel(); name=:leaf, on=One(id=:leaf), every=Hour(1)), ), environment=(duration=Hour(1),), ) @@ -274,10 +274,10 @@ end ModelSpec( NestedManyRootModel(); name=:root, - on=One(name=:scene), + on=One(id=:scene), calls=( :middle => One( - name=:middle, + id=:middle, within=Subtree(), application=:middle, ), @@ -286,7 +286,7 @@ end ModelSpec( NestedManyMiddleModel(); name=:middle, - on=One(name=:middle), + on=One(id=:middle), calls=( :leaves => Many( scale=:Leaf, @@ -298,10 +298,10 @@ end ModelSpec( NestedCallMiddleModel(); name=:unrelated_middle, - on=One(name=:unrelated_middle), + on=One(id=:unrelated_middle), calls=( :leaf => One( - name=:unrelated_leaf, + id=:unrelated_leaf, within=Subtree(), application=:leaf, ), @@ -317,7 +317,7 @@ end ) simulation = run!(model; outputs=:none, performance=true) - root = only(model_objects(model; name=:scene)).status + root = only(model_objects(model; id=:scene)).status scenario_plan = simulation.compiled.scenario_plan @test root.ncalls == 1 @test root.total == 1.0 @@ -357,10 +357,10 @@ end ModelSpec( NestedCallRootModel(); name=:root, - on=One(name=:scene), + on=One(id=:scene), calls=( :middle => One( - name=:middle, + id=:middle, application=:middle, ), ), @@ -368,10 +368,10 @@ end ModelSpec( NestedCallMiddleModel(); name=:middle, - on=One(name=:middle), + on=One(id=:middle), calls=( :leaf => One( - name=:scene, + id=:scene, application=:root, ), ), @@ -390,9 +390,9 @@ end Object(:leaf_b; scale=:Leaf, name=:leaf_b, parent=:scene), Object(:leaf_a; scale=:Leaf, name=:leaf_a, parent=:scene); applications=( - ModelSpec(CallReturnShapeModel(); name=:controller, on=One(name=:scene), calls=(:one => One(name=:leaf_a, application=:leaf_calls), + ModelSpec(CallReturnShapeModel(); name=:controller, on=One(id=:scene), calls=(:one => One(id=:leaf_a, application=:leaf_calls), :optional => OptionalOne( - name=:missing, + id=:missing, application=:leaf_calls, ), :many => Many(scale=:Leaf, application=:leaf_calls),)), @@ -586,7 +586,7 @@ end Object(:leaf_b; scale=:Leaf, parent=:scene), Object(:leaf_a; scale=:Leaf, parent=:scene); applications=( - ModelSpec(ManyCallControllerModel(); name=:controller, on=One(name=:scene), calls=(:children => Many( + ModelSpec(ManyCallControllerModel(); name=:controller, on=One(id=:scene), calls=(:children => Many( scale=:Leaf, within=SceneScope(), application=:leaf_calls, @@ -770,7 +770,7 @@ end ModelSpec( ManyCallControllerModel(); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -845,7 +845,7 @@ end on=Many(scale=:Plant), calls=( :children => Many( - name=:shared_leaf, + id=:shared_leaf, within=SceneScope(), application=:leaf_calls, ), @@ -854,7 +854,7 @@ end ModelSpec( NestedCallLeafModel(); name=:leaf_calls, - on=Many(name=:shared_leaf), + on=Many(id=:shared_leaf), ), ), environment=(duration=Hour(1),), @@ -926,7 +926,7 @@ end ModelSpec( ManyCallControllerModel(); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -1016,7 +1016,7 @@ end ModelSpec( SelectiveManyCallControllerModel(selected_leaf_ids); name=:selective_controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -1089,7 +1089,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:leaf_keep,)); name=:selective_controller, - on=One(name=:plant_a), + on=One(id=:plant_a), calls=( :children => Many( scale=:Leaf, @@ -1142,8 +1142,12 @@ end edge["projection"] == "resolved" ] @test length(call_edges) == 1 - @test only(call_edges)["target"] == - "execution:selective_leaf_calls:leaf_keep" + target_execution = only( + execution for execution in resolved_view.executions + if execution["id"] == only(call_edges)["target"] + ) + @test target_execution["applicationId"] == "selective_leaf_calls" + @test target_execution["objectId"] == "leaf_keep" @test !PlantSimEngine._compiled_call_membership_is_observed(call_binding) @test get( Advanced.runtime_performance(simulation).counts, @@ -1229,7 +1233,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:leaf_keep,)); name=:slow_selective_controller, - on=One(name=:plant_a), + on=One(id=:plant_a), calls=( :children => Many( scale=:Leaf, @@ -1292,7 +1296,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:leaf_keep,)); name=:prebarrier_controller, - on=One(name=:plant_a), + on=One(id=:plant_a), calls=( :children => Many( scale=:Leaf, @@ -1340,7 +1344,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:leaf_keep,)); name=:detached_controller, - on=One(name=:plant_a), + on=One(id=:plant_a), calls=( :children => Many( scale=:Leaf, @@ -1399,7 +1403,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:leaf_keep,)); name=:environment_controller, - on=One(name=:plant_a), + on=One(id=:plant_a), calls=( :children => Many( scale=:Leaf, @@ -1453,7 +1457,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:callable_leaf,)); name=:selective_controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -1488,8 +1492,12 @@ end edge["projection"] == "resolved" ] @test length(call_edges) == 1 - @test only(call_edges)["target"] == - "execution:selective_leaf_calls:callable_leaf" + target_execution = only( + execution for execution in resolved_view.executions + if execution["id"] == only(call_edges)["target"] + ) + @test target_execution["applicationId"] == "selective_leaf_calls" + @test target_execution["objectId"] == "callable_leaf" @test !any( edge -> occursin("uncallable_leaf", edge["target"]), call_edges, @@ -1522,7 +1530,7 @@ end ModelSpec( SelectiveManyCallControllerModel((:existing_leaf,)); name=:singular_controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => One( scale=:Leaf, @@ -1575,7 +1583,7 @@ end ModelSpec( ManyCallControllerModel(); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -1627,7 +1635,7 @@ end ModelSpec( ManyCallControllerModel(); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -1679,7 +1687,7 @@ end Object(:plant_b; scale=:Plant, name=:plant_b, parent=:scene), Object(:leaf; scale=:Leaf, parent=:plant_b); applications=( - ModelSpec(ManyCallControllerModel(); name=:controller, on=One(name=:plant_a), calls=(:children => Many( + ModelSpec(ManyCallControllerModel(); name=:controller, on=One(id=:plant_a), calls=(:children => Many( scale=:Leaf, within=Subtree(), application=:leaf_calls, @@ -1693,7 +1701,7 @@ end scenario_plan = simulation.compiled.scenario_plan application_children = simulation.compiled.application_children application_order = simulation.compiled.application_order - controller = only(model_objects(model; name=:plant_a)).status + controller = only(model_objects(model; id=:plant_a)).status schedule = Dict(row.application_id => row for row in explain_schedule(simulation.compiled)) @test schedule[:leaf_calls].manual_call_only @test !schedule[:leaf_calls].root_scheduled @@ -1747,8 +1755,8 @@ end Object(:scene; scale=:Scene, name=:scene), Object(:leaf; scale=:Leaf, name=:leaf, parent=:scene); applications=( - ModelSpec(ManyCallControllerModel(); name=:controller, on=One(name=:scene), calls=(:children => One(name=:leaf, application=:leaf_calls)), every=Day(1)), - ModelSpec(NestedCallLeafModel(); name=:leaf_calls, on=One(name=:leaf), every=Hour(1)), + ModelSpec(ManyCallControllerModel(); name=:controller, on=One(id=:scene), calls=(:children => One(id=:leaf, application=:leaf_calls)), every=Day(1)), + ModelSpec(NestedCallLeafModel(); name=:leaf_calls, on=One(id=:leaf), every=Hour(1)), ), environment=(duration=Hour(1),), ) @@ -1760,7 +1768,7 @@ end ModelSpec( ManyCallControllerModel(); name=:controller, - on=One(name=:scene), + on=One(id=:scene), calls=( :children => Many( scale=:Leaf, @@ -1786,8 +1794,8 @@ end Object(:scene; scale=:Scene, name=:scene), Object(:leaf; scale=:Leaf, name=:leaf, parent=:scene); applications=( - ModelSpec(ManyCallControllerModel(); name=:controller, on=One(name=:scene), calls=(:children => One(name=:leaf, application=:leaf_calls)), every=Day(1)), - ModelSpec(NestedCallLeafModel(); name=:leaf_calls, on=One(name=:leaf)), + ModelSpec(ManyCallControllerModel(); name=:controller, on=One(id=:scene), calls=(:children => One(id=:leaf, application=:leaf_calls)), every=Day(1)), + ModelSpec(NestedCallLeafModel(); name=:leaf_calls, on=One(id=:leaf)), ), environment=(duration=Hour(1),), ) diff --git a/test/test-model-initializers.jl b/test/test-model-initializers.jl index 041ab90f0..caf42a4f8 100644 --- a/test/test-model-initializers.jl +++ b/test/test-model-initializers.jl @@ -882,7 +882,7 @@ end on=One(scale=:Scene), outputs_to=( plants=OutputTo( - Many(name=:plant_a, within=SceneScope()); + Many(id=:plant_a, within=SceneScope()); vars=(incident_par=Default(0.0),), ), ), @@ -893,7 +893,7 @@ end on=One(scale=:Scene), outputs_to=( plants=OutputTo( - Many(name=:plant_b, within=SceneScope()); + Many(id=:plant_b, within=SceneScope()); vars=(incident_par=Default(0.0),), ), ), diff --git a/test/test-model-multirate-integration.jl b/test/test-model-multirate-integration.jl index 714d5b6ec..8b08468c2 100644 --- a/test/test-model-multirate-integration.jl +++ b/test/test-model-multirate-integration.jl @@ -171,7 +171,7 @@ end name=Symbol(:cadence_, cadence), on=One( scale=:ScheduleSlot, - name=object_names[index], + id=object_names[index], ), every=Hour(cadence), ) diff --git a/test/test-model-object-id.jl b/test/test-model-object-id.jl index 4a4620b09..64c91be49 100644 --- a/test/test-model-object-id.jl +++ b/test/test-model-object-id.jl @@ -369,3 +369,171 @@ end @test isnothing(model_status(canonical_mtg, mtg_leaf_a)) @test source_node(canonical_mtg, mtg_leaf_b) === mtg_leaf_b end + +PlantSimEngine.@process "identity_signal" verbose = false + +struct IdentitySignalModel{T} <: AbstractIdentity_SignalModel + increment::T +end + +PlantSimEngine.inputs_(::IdentitySignalModel) = NamedTuple() +PlantSimEngine.outputs_(::IdentitySignalModel) = (signal=0.0,) +function PlantSimEngine.run!(model::IdentitySignalModel, status, environment, constants, context) + status.signal += model.increment + return nothing +end + +PlantSimEngine.@process "identity_total" verbose = false + +struct IdentityTotalModel <: AbstractIdentity_TotalModel end + +PlantSimEngine.inputs_(::IdentityTotalModel) = (signals=Default([0.0]),) +PlantSimEngine.outputs_(::IdentityTotalModel) = (total=0.0,) +function PlantSimEngine.run!(::IdentityTotalModel, status, environment, constants, context) + status.total = sum(status.signals) + return nothing +end + +@testset "objects need only an identity to run" begin + object = Object(17) + @test object.id == ObjectId(17) + @test isnothing(object.name) + @test isnothing(object.scale) + @test isnothing(object.kind) + @test isnothing(object.species) + + model = CompositeModel( + object; + applications=(ModelSpec(IdentitySignalModel(2.0); on=One(id=17)),), + ) + simulation = run!(model; steps=1, outputs=:all) + @test final_state(simulation).signal == 2.0 + @test only(explain_applications(simulation.compiled)).application_id == :identity_signal + @test haskey(outputs(simulation), (:identity_signal, ObjectId(17), :signal)) + + thin = CompositeModel(IdentitySignalModel(3.0); id=17, scale=nothing) + @test isnothing(model_object(thin, 17).name) + @test final_state(run!(thin; steps=1)).signal == 3.0 + @test isnothing(model_object(CompositeModel(IdentitySignalModel(1.0)), :scene).name) +end + +@testset "object labels do not participate in identity or selection" begin + compound = ObjectId((:plant, 1, :leaf, 2)) + model = CompositeModel( + Object(101; name="Upper leaf", scale=:Leaf), + Object("101"; name="Upper leaf", scale=:Leaf), + Object(compound; name=:upper_leaf, scale=:Leaf, parent=101), + ) + @test model_object(model, 101).name == "Upper leaf" + @test model_object(model, "101").name == "Upper leaf" + @test model_object(model, compound).name == "upper_leaf" + @test object_ids(model; id=101) == [ObjectId(101)] + @test object_ids(model; id="101") == [ObjectId(Symbol("101"))] + @test object_ids(model; id=compound) == [compound] + @test object_ids(model; id=101, scale=:Plant) == ObjectId[] + @test resolve_object_ids(model, One(id=101)) == [ObjectId(101)] + @test resolve_object_ids(model, One(id="101")) == [ObjectId(Symbol("101"))] + @test resolve_object_ids(model, One(id=compound)) == [compound] + @test Set(resolve_object_ids(model, Many(id=(101, compound)))) == Set([ObjectId(101), compound]) + @test Set(object_ids(model; id=[101, compound])) == Set([ObjectId(101), compound]) + @test resolve_object_ids(model, OptionalOne(id=999)) == ObjectId[] + @test_throws ErrorException resolve_object_ids(model, One(id=999)) + @test resolve_object_ids(model, Many(within=Scope(101))) == [compound, ObjectId(101)] + @test resolve_object_ids(model, One(within=Scope(compound))) == [compound] + @test_throws ErrorException resolve_object_ids(model, One(within=Scope(:upper_leaf))) + @test_throws "Unsupported object selector keyword" One(name=:upper_leaf) + @test_throws MethodError object_ids(model; name="Upper leaf") + @test_throws ErrorException register_object!(model, Object(101; name="Another leaf")) + + registered = register_object!(model, Object(102; name="Upper leaf", scale=:Leaf)) + @test registered.id == ObjectId(102) + @test resolve_object_ids(model, One(id=102)) == [registered.id] +end + +@testset "renaming a display label leaves value connections and output identities intact" begin + model = CompositeModel( + Object(1; name="Plant"), + Object(2; name="Plant"); + applications=( + ModelSpec(IdentitySignalModel(2.0); name=:source, on=One(id=1)), + ModelSpec( + IdentityTotalModel(); + name=:consumer, + on=One(id=2), + inputs=(signals=Many(id=1, within=SceneScope(), application=:source, var=:signal),), + ), + ), + ) + simulation = run!(model; steps=1, outputs=:all) + @test model_status(model, 2).total == 2.0 + binding = only(explain_bindings(simulation.compiled)) + @test binding.source_ids == [1] + @test binding.source_application_ids == [:source] + + model_object(model, 1).name = "Renamed source" + model_object(model, 2).name = nothing + continue!(simulation; steps=1) + @test model_status(model, 2).total == 4.0 + @test only(explain_bindings(simulation.compiled)).source_ids == [1] + @test last.(outputs(simulation)[(:consumer, ObjectId(2), :total)]) == [2.0, 4.0] +end + +@testset "instance scopes use root IDs across display changes and growth" begin + template = CompositeModelTemplate(( + ModelSpec(IdentitySignalModel(1.0); name=:source, on=Many(scale=:Leaf)), + ModelSpec( + IdentityTotalModel(); + name=:total, + on=One(scale=:Plant), + inputs=(signals=Many(scale=:Leaf, within=SelfPlant(), var=:signal),), + ), + ); kind=:plant) + model = CompositeModel( + ObjectInstance( + :first, + template; + root=Object(100; scale=:Plant, name="Plant"), + objects=(Object(101; scale=:Leaf, name="Leaf", parent=100),), + ), + ObjectInstance( + :second, + template; + root=Object(200; scale=:Plant, name="Plant"), + objects=(Object(201; scale=:Leaf, name="Leaf", parent=200),), + overrides=(source=IdentitySignalModel(3.0),), + ), + # A symbolic object ID may coincide with a separate instance identity. + Object(:first; name="Plant"), + ) + @test model_object(model, 100).name == "Plant" + @test model_object(model, 200).name == "Plant" + @test resolve_object_ids(model, Many(within=Scope(:first))) == ObjectId.([100, 101]) + @test resolve_object_ids(model, One(within=Scope(ObjectId(:first)))) == [ObjectId(:first)] + @test resolve_object_ids(model, Many(within=SelfPlant()); context=101) == ObjectId.([100, 101]) + instance_scopes = filter(row -> row.scope_type == :instance_scope, explain_scopes(model)) + @test only(row for row in instance_scopes if row.name == :first).root_id == 100 + @test only(row for row in instance_scopes if row.name == :second).root_id == 200 + + simulation = run!(model; steps=1, outputs=:all) + @test model_status(model, 100).total == 1.0 + @test model_status(model, 200).total == 3.0 + @test Set(row.application_id for row in explain_applications(simulation.compiled)) == + Set([:first__source, :first__total, :second__source, :second__total]) + + model_object(model, 100).name = "Renamed plant" + register_object!(model, Object(102; scale=:Leaf, name="Leaf"); parent=100) + continue!(simulation; steps=1) + @test model_status(model, 100).total == 3.0 + @test model_status(model, 200).total == 6.0 + @test resolve_object_ids(model, Many(scale=:Leaf, within=Scope(:first))) == ObjectId.([101, 102]) + @test resolve_object_ids(model, Many(scale=:Leaf, within=Scope(:second))) == [ObjectId(201)] + @test only(row for row in explain_objects(model) if row.id == 102).instance == :first + @test haskey(outputs(simulation), (:first__source, ObjectId(102), :signal)) + @test !haskey(outputs(simulation), (:second__source, ObjectId(102), :signal)) + + remove_object!(model, 102) + continue!(simulation; steps=1) + @test model_status(model, 100).total == 3.0 + @test model_status(model, 200).total == 9.0 + @test last.(outputs(simulation)[(:first__source, ObjectId(102), :signal)]) == [1.0] +end diff --git a/test/test-model-status-type-runtime.jl b/test/test-model-status-type-runtime.jl index 8420e056d..3e40d5dd0 100644 --- a/test/test-model-status-type-runtime.jl +++ b/test/test-model-status-type-runtime.jl @@ -248,13 +248,13 @@ end on=One(scale=:Scene), inputs=( one_value=One( - name=:leaf_a, + id=:leaf_a, within=SceneScope(), var=:signal, from_status=true, ), optional_value=OptionalOne( - name=:leaf_b, + id=:leaf_b, within=SceneScope(), var=:signal, from_status=true, @@ -328,7 +328,7 @@ end on=One(scale=:Scene), calls=( callee=One( - name=:call_leaf, + id=:call_leaf, application=:status_type_runtime_callee, ), ), diff --git a/test/test-unified-model-object-api.jl b/test/test-unified-model-object-api.jl index 717e63b21..7f74d42d7 100644 --- a/test/test-unified-model-object-api.jl +++ b/test/test-unified-model-object-api.jl @@ -1307,13 +1307,13 @@ end @test ObjectId(:axis_1) in only(model_objects(model; scale=:Plant)).children reparent_object!(model, :leaf_2, :axis_1) - @test only(model_objects(model; name=nothing, scale=:Axis)).children == [ObjectId(:leaf_2)] + @test only(model_objects(model; scale=:Axis)).children == [ObjectId(:leaf_2)] @test ObjectId(:leaf_2) ∉ only(model_objects(model; scale=:Plant)).children removed_axis = remove_object!(model, :axis_1) @test removed_axis.id == ObjectId(:axis_1) @test object_ids(model; scale=:Axis) == ObjectId[] - @test object_ids(model; name=:leaf_2) == ObjectId[] + @test object_ids(model; id=:leaf_2) == ObjectId[] object_rows = explain_objects(model) @test length(object_rows) == 3 @@ -1338,10 +1338,12 @@ end plant_1_scope = only(row for row in scope_rows if row.scope_type == :object_subtree && row.root_id == :plant_1) @test plant_1_scope.selector isa Subtree @test plant_1_scope.object_ids == [:axis_1, :leaf_1, :leaf_2, :plant_1] - palm_2_scope = only(row for row in scope_rows if row.scope_type == :named_scope && row.name == :palm_2) - @test palm_2_scope.selector isa Scope - @test palm_2_scope.root_id == :plant_2 - @test palm_2_scope.object_ids == [:leaf_3, :plant_2] + plant_2_scope = only(row for row in scope_rows if row.scope_type == :object_scope && row.root_id == :plant_2) + @test plant_2_scope.selector isa Scope + @test plant_2_scope.name == "palm_2" + @test plant_2_scope.object_ids == [:leaf_3, :plant_2] + @test resolve_object_ids(selector_scene, Many(within=plant_2_scope.selector)) == + ObjectId.([:leaf_3, :plant_2]) leaf_label_scope = only(row for row in scope_rows if row.scope_type == :scale && row.scale == :Leaf) @test leaf_label_scope.selector == (:scale => :Leaf) @test leaf_label_scope.object_ids == [:leaf_1, :leaf_2, :leaf_3] @@ -1361,7 +1363,7 @@ end [ObjectId(:leaf_1), ObjectId(:leaf_2)] @test resolve_object_ids(selector_scene, Many(scale=:Leaf, within=Ancestor(scale=:Axis)); context=:leaf_2) == [ObjectId(:leaf_2)] - @test resolve_object_ids(selector_scene, Many(scale=:Leaf, within=Scope(:palm_2))) == + @test resolve_object_ids(selector_scene, Many(scale=:Leaf, within=Scope(ObjectId(:plant_2)))) == [ObjectId(:leaf_3)] @test resolve_object_ids(selector_scene, One(Relation(:parent)); context=:leaf_2) == [ObjectId(:axis_1)] @@ -1408,13 +1410,14 @@ end One(scale=:Leaf, var=:leaf_area), ) scope_selector_error = try - resolve_object_ids(selector_scene, Many(scale=:Leaf, within=Scope(:palm_3))) + resolve_object_ids(selector_scene, Many(scale=:Leaf, within=Scope(:plant_3))) nothing catch error sprint(showerror, error) end - @test contains(scope_selector_error, "available=[:axis_1") - @test contains(scope_selector_error, "suggestions=[:palm_1, :palm_2]") + @test contains(scope_selector_error, "available_ids=") + @test contains(scope_selector_error, ":axis_1") + @test contains(scope_selector_error, "suggestions=[:plant_1, :plant_2]") @test_throws ErrorException resolve_object_ids(selector_scene, Many(scale=:Leaf, within=Subtree())) @test resolve_object_ids(selector_scene, Many(scale=:Leaf); context=:plant_1) == [ObjectId(:leaf_1), ObjectId(:leaf_2), ObjectId(:leaf_3)] @@ -1527,7 +1530,7 @@ end ) @test length(template_scene.applications) == 8 @test plant_template.parameters === shared_template_parameters - @test only(model_objects(template_scene; name=:palm_1)).id == ObjectId(:templated_plant_1) + @test only(model_objects(template_scene; id=:templated_plant_1)).id == ObjectId(:templated_plant_1) @test object_ids(template_scene; species=:oil_palm) == [ ObjectId(:templated_leaf_1), ObjectId(:templated_leaf_1_exception), @@ -1589,10 +1592,10 @@ end @test only(row for row in explain_objects(template_scene) if row.id == :templated_leaf_1).instance == :palm_1 run!(template_scene; steps=1) - @test only(model_objects(template_scene; name=:palm_1)).status.signal_total == 4.0 - @test only(model_objects(template_scene; name=:palm_2)).status.signal_total == 2.0 - @test only(model_objects(template_scene; name=:palm_3)).status.signal_total == 1.0 - @test only(model_objects(template_scene; name=:palm_4)).status.signal_total == 1.0 + @test only(model_objects(template_scene; id=:templated_plant_1)).status.signal_total == 4.0 + @test only(model_objects(template_scene; id=:templated_plant_2)).status.signal_total == 2.0 + @test only(model_objects(template_scene; id=:templated_plant_3)).status.signal_total == 1.0 + @test only(model_objects(template_scene; id=:templated_plant_4)).status.signal_total == 1.0 registered_template_leaf = register_object!( template_scene, Object(:templated_leaf_new; scale=:Leaf, status=Status(signal=0.0)); From 1e9b09d46a35a4d3d45816b5bc87d19d3114322e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vezy?= Date: Mon, 7 Sep 2026 17:56:57 +0100 Subject: [PATCH 5/6] Reviewing docs still ongoing part 2 --- docs/src/guides/multiscale/value_coupling.md | 29 ++++++++++++++++---- docs/src/journeys/users/several_plants.md | 1 - 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/docs/src/guides/multiscale/value_coupling.md b/docs/src/guides/multiscale/value_coupling.md index a8f7125d2..ae2e15b36 100644 --- a/docs/src/guides/multiscale/value_coupling.md +++ b/docs/src/guides/multiscale/value_coupling.md @@ -20,6 +20,21 @@ diagnostics. Use `Diagnostics.input_value` to read the values, `Diagnostics.input_carrier` to inspect their container, and `Diagnostics.explain_bindings` to see where they come from. +!!! note "Reading the model examples" + The examples below show code inside a model. A model stores its parameters + in a Julia `struct`, declares its variables with `inputs_` and `outputs_`, + and implements its calculation as a method of `PlantSimEngine.run!`. + PlantSimEngine calls that method for each object selected by `ModelSpec`. + + Inside the method, `model` provides the parameters and `status` holds the + current object's inputs and outputs. `environment` provides environmental + data, `constants` supplies shared constants, and `context` gives access to + connected objects and other runtime operations. + + The first example shows only this method: `MyModel` stands for your own + model type. [Implement a basic model](@ref) walks through the complete + definition and tests. + ## Keep identities aligned with values If a model only needs to sum or multiply the values in a `Many` input, use @@ -28,12 +43,10 @@ other object each value belongs to, call `bound_input` using `context`, the information PlantSimEngine passes to each `run!` call: ```julia -function PlantSimEngine.run!(model, status, environment, constants, context) +function PlantSimEngine.run!(model::MyModel, status, environment, constants, context) irradiance = bound_input(context, :irradiance) - @inbounds for index in eachindex(irradiance) - object_id = object_ids(irradiance)[index] - value = irradiance[index] + for (object_id, value) in zip(object_ids(irradiance), irradiance) # Use object_id and value as one aligned pair. end return nothing @@ -46,6 +59,11 @@ without copying either. Its values are the same ones available through organ on the plant. Use `irradiance[ObjectId(:leaf_12)]` to read that leaf's value, or an integer index to read a position in the collection. +Iterating over `irradiance` alone yields values. `zip(object_ids(irradiance), +irradiance)` pairs each object ID with its value as the loop runs, without +building a new collection. `pairs(irradiance)` uses integer positions as +keys, so it does not provide object IDs. + Call `bound_input` each time the model runs. PlantSimEngine may replace the collection after an object is added, removed, or moved to a different parent, so do not store it in your model for later calls. @@ -157,8 +175,7 @@ applications = ( PlantSimEngine knows that `:scene_light` supplies `:absorbed_par` for each selected leaf and that `:leaf_assimilation` needs it. It connects the two and runs the light calculation first, even though the assimilation model appears -first in the tuple. You do not need an extra model to copy the light values -or an `after=:scene_light` instruction to set their order. +first in the tuple. ## Rules for assigning results diff --git a/docs/src/journeys/users/several_plants.md b/docs/src/journeys/users/several_plants.md index 6b1e5d0e8..ca00abf45 100644 --- a/docs/src/journeys/users/several_plants.md +++ b/docs/src/journeys/users/several_plants.md @@ -34,7 +34,6 @@ two amounts: If both demands are zero, both models put all available carbon into reserves. -These are teaching rules, not calibrated models of particular species. All amounts are grams of elemental carbon (g C) per plant. The example does not convert carbon into dry biomass or subtract respiration losses, and neither rule withdraws carbon from reserves. From bb3ceea306fb0bc0fb3a569f36c0d96aa929327c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vezy?= Date: Mon, 7 Sep 2026 22:19:17 +0100 Subject: [PATCH 6/6] Declare distributed outputs in model schemas --- AGENTS.md | 6 + CHANGELOG.md | 12 + .../test-distributed-output-benchmark.jl | 42 +- docs/src/API/API_public.md | 22 +- docs/src/API/public_symbols.md | 7 +- docs/src/guides/multiscale/value_coupling.md | 93 ++++- docs/src/model_traits.md | 22 +- ext/PlantSimEngineGraphEditorExt.jl | 17 +- frontend/dist/.vite/manifest.json | 2 +- .../{index-BsNfDYBn.js => index-DirYs3LY.js} | 40 +- frontend/dist/index.html | 2 +- frontend/src/App.test.ts | 6 +- frontend/src/App.tsx | 2 +- frontend/src/ApplicationConfigurationForm.tsx | 3 + frontend/src/ModelNode.tsx | 4 +- .../src/OutputDestinationsFields.test.tsx | 55 +++ frontend/src/OutputDestinationsFields.tsx | 105 +++++ frontend/src/layout.test.ts | 1 + frontend/src/sampleModelGraph.ts | 3 +- frontend/src/types.ts | 13 +- skills/plantsimengine/SKILL.md | 5 +- .../plantsimengine/assets/lifecycle-output.jl | 12 +- .../references/dynamic-models.md | 40 +- .../references/model-authoring.md | 8 +- src/ModelSpec.jl | 153 ++++--- src/PlantSimEngine.jl | 6 +- src/authoring.jl | 30 +- src/authoring_interface.jl | 23 +- src/composite_model/compilation.jl | 92 +++-- src/composite_model/output_targets.jl | 26 +- src/composite_model/runtime_outputs.jl | 157 +++++--- src/composite_model/source_compilation.jl | 2 +- src/output_schema.jl | 53 +++ src/processes/models_inputs_outputs.jl | 15 +- src/scenario_source.jl | 12 + src/variable_contracts.jl | 24 +- src/visualization/model_graph_editor_api.jl | 23 +- src/visualization/model_graph_view.jl | 79 +++- test/test-authoring-api.jl | 126 ++++++ test/test-model-api-stabilization.jl | 2 + test/test-model-contract.jl | 21 +- test/test-model-distributed-output-runtime.jl | 78 ++-- test/test-model-graph-editor-extension.jl | 46 +++ test/test-model-graph-view.jl | 115 +++++- test/test-model-initializers.jl | 34 +- ...t-model-output-destination-declarations.jl | 377 ++++++++++++------ test/test-model-output-targets-api.jl | 246 ++++++++++-- test/test-model-source-compilation.jl | 10 +- test/test-model-status-type-runtime.jl | 7 +- 49 files changed, 1752 insertions(+), 527 deletions(-) rename frontend/dist/assets/{index-BsNfDYBn.js => index-DirYs3LY.js} (52%) create mode 100644 frontend/src/OutputDestinationsFields.test.tsx create mode 100644 frontend/src/OutputDestinationsFields.tsx create mode 100644 src/output_schema.jl diff --git a/AGENTS.md b/AGENTS.md index 3d67e40f5..354bd4798 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,6 +10,8 @@ API. - `@process` defines the abstract process type. - `process(model)` identifies the process. - `inputs_(model)` and `outputs_(model)` declare status variables. +- In `outputs_`, `Distributed(Default(value))` or `Distributed(Required(T))` + declares an output on selected destination objects. Ordinary values stay local. - `environment_inputs_(model)` and `environment_outputs_(model)` declare environment variables. - `dep(model)` optionally returns model-author defaults using `Input(...)` and @@ -48,6 +50,10 @@ ModelSpec(model; name=:application, on=selector, inputs=(...), calls=(...), ever - `on` selects where the model runs. - `inputs` declares value dependencies. +- `outputs_to` is a tuple of anonymous `OutputTo(selector; vars=...)` entries. + One entry can omit `vars` to bind all distributed outputs; several entries + must explicitly partition their names. Kernels request columns with + `output_targets(context, (:variable,))`. - `calls` declares manually executable hard dependencies. - `Updates(:x; after=:producer)` orders intentional duplicate writers. - `output_routing=(x=:stream_only,)` excludes an output from canonical diff --git a/CHANGELOG.md b/CHANGELOG.md index 239a5dfdc..083084af9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## Unreleased + +- Declare outputs written to selected objects inside `outputs_` with + `Distributed(Default(value))` or `Distributed(Required(T))`. These variables + are now visible when inspecting a model before building a scenario. +- `outputs_to` now takes an anonymous tuple of `OutputTo` entries. One entry + can omit `vars` to bind all distributed outputs; multiple entries must + explicitly partition variable names. Defaults and types belong to the model. +- Request destination columns with `output_targets(context, (:x, :y))`. + Missing, duplicate, and incompatible destination declarations fail before + initialization. Named output groups and schemas in `OutputTo.vars` were removed. + ## v0.15.0 ### Summary diff --git a/benchmark/test-distributed-output-benchmark.jl b/benchmark/test-distributed-output-benchmark.jl index 8c519ef49..29eb44048 100644 --- a/benchmark/test-distributed-output-benchmark.jl +++ b/benchmark/test-distributed-output-benchmark.jl @@ -9,8 +9,12 @@ struct DistributedOutputBenchmarkBoundInputModel <: AbstractDistributed_Output_Benchmark_Bound_InputModel end struct DistributedOutputBenchmarkStatusInputModel <: AbstractDistributed_Output_Benchmark_Status_InputModel end -struct DistributedOutputBenchmarkSceneWriterModel <: - AbstractDistributed_Output_Benchmark_Scene_WriterModel end +struct DistributedOutputBenchmarkSceneWriterModel{D} <: + AbstractDistributed_Output_Benchmark_Scene_WriterModel + declarations::D +end +DistributedOutputBenchmarkSceneWriterModel() = + DistributedOutputBenchmarkSceneWriterModel(NamedTuple()) struct DistributedOutputBenchmarkAssignmentModel{T,I,C,M} <: AbstractDistributed_Output_Benchmark_AssignmentModel table::T @@ -49,9 +53,12 @@ PlantSimEngine.outputs_(::DistributedOutputBenchmarkStatusInputModel) = ( total=0.0, ) PlantSimEngine.inputs_(::DistributedOutputBenchmarkSceneWriterModel) = NamedTuple() -PlantSimEngine.outputs_(::DistributedOutputBenchmarkSceneWriterModel) = NamedTuple() +PlantSimEngine.outputs_(model::DistributedOutputBenchmarkSceneWriterModel) = model.declarations PlantSimEngine.inputs_(::DistributedOutputBenchmarkAssignmentModel) = NamedTuple() -PlantSimEngine.outputs_(::DistributedOutputBenchmarkAssignmentModel) = NamedTuple() +PlantSimEngine.outputs_(model::DistributedOutputBenchmarkAssignmentModel) = + NamedTuple{keys(model.columns)}(map(values(model.columns)) do column + Distributed(Default(zero(eltype(column)))) + end) function PlantSimEngine.run!( ::DistributedOutputBenchmarkSceneWriterModel, status, @@ -69,7 +76,7 @@ function PlantSimEngine.run!( constants, context, ) - targets = PlantSimEngine.output_targets(context, :leaves) + targets = PlantSimEngine.output_targets(context, keys(model.columns)) benchmark_assign_outputs_api!(model.mode, targets, model) return nothing end @@ -448,9 +455,6 @@ function setup_distributed_output_public_assignment_benchmark( data.column_values.rank : reverse(data.column_values.rank) table = ncolumns == 1 ? base_table : (; base_table..., rank) - output_variables = ncolumns == 1 ? - (incident_par=Default(0.0),) : - (incident_par=Default(0.0), rank=Default(0)) objects = Object[Object(:scene; scale=:Scene)] sizehint!(objects, nobjects + 1) for (index, object_id) in enumerate(data.object_ids) @@ -481,9 +485,8 @@ function setup_distributed_output_public_assignment_benchmark( name=:scene_assignment, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( - Many(scale=:Leaf, within=SceneScope()); - vars=output_variables, + OutputTo( + Many(scale=:Leaf, within=SceneScope()), ), ), ), @@ -503,9 +506,6 @@ function setup_distributed_output_wide_assignment_benchmark( columns = NamedTuple{names}( ntuple(index -> fill(Float64(index), nobjects), ncolumns), ) - output_variables = NamedTuple{names}( - ntuple(_ -> Default(0.0), ncolumns), - ) objects = Object[Object(:scene; scale=:Scene)] sizehint!(objects, nobjects + 1) for object_id in data.object_ids @@ -532,9 +532,8 @@ function setup_distributed_output_wide_assignment_benchmark( name=:scene_wide_assignment, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( - Many(scale=:Leaf, within=SceneScope()); - vars=output_variables, + OutputTo( + Many(scale=:Leaf, within=SceneScope()), ), ), ), @@ -625,13 +624,14 @@ function setup_distributed_output_compilation_benchmark( end application = if distributed ModelSpec( - DistributedOutputBenchmarkSceneWriterModel(); + DistributedOutputBenchmarkSceneWriterModel(( + incident_par=Distributed(Default(0.0)), + )); name=:scene_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( - Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + OutputTo( + Many(scale=:Leaf, within=SceneScope()), ), ), ) diff --git a/docs/src/API/API_public.md b/docs/src/API/API_public.md index 9662cab0c..2a4bc65fe 100644 --- a/docs/src/API/API_public.md +++ b/docs/src/API/API_public.md @@ -53,15 +53,19 @@ time-based inputs can instead read saved results. values, without copying them. - `ModelSpec(...; calls=...)` declares models that this model can run from inside its own calculation. -- `ModelSpec(...; outputs_to=(name=OutputTo(selector; vars=...),))` - declares variables that this application writes into other selected objects' - statuses. Each variable uses `Required(T)` or `Default(value)`. Before - initializing the statuses, PlantSimEngine finds the destination objects and - checks that competing applications do not write the same value. -- `output_targets(context, :name)` returns an [`OutputTargets`](@ref) view - for one named `outputs_to` group. Read or write a variable's destination - values through `targets.columns.`. `object_ids(targets)` returns - their identifiers in the same order; those identifiers are read-only. +- `outputs_(model)` declares local output values and distributed outputs + wrapped as `Distributed(Default(value))` or `Distributed(Required(T))`. +- `ModelSpec(...; outputs_to=(OutputTo(selector; vars=(:x, :y)),))` + binds declared distributed outputs to selected objects. One `OutputTo` may + omit `vars` to select all distributed variables. Multiple declarations + require explicit variable tuples, with each distributed variable bound + exactly once. Types and defaults come from the model's `outputs_`. + Destinations, storage, and writer ownership are checked before initialization. +- `output_targets(context, (:x, :y))` returns an [`OutputTargets`](@ref) view + with exactly the requested columns. Combined variables must have identical + ordered destination IDs, including when bound by separate declarations. + Read or write values through `targets.columns.`. + `object_ids(targets)` returns their read-only identifiers in the same order. - `assign_outputs!(targets, table; id=:object_id)` assigns a Tables.jl-compatible result to objects using their identifiers. The `assign_outputs!(targets, ids, columns)` overload accepts an ID vector and a diff --git a/docs/src/API/public_symbols.md b/docs/src/API/public_symbols.md index ed9b60022..5756a900d 100644 --- a/docs/src/API/public_symbols.md +++ b/docs/src/API/public_symbols.md @@ -20,7 +20,7 @@ explains the functions and their requirements in detail. - Building a simulation: `CompositeModel`, `Object`, `ObjectId`, `CompositeModelTemplate`, `ObjectInstance`, `Override`. -- Configuring model applications: `ModelSpec`, `OutputTo`, `Environment`, and `Updates`. +- Configuring model applications: `ModelSpec`, `Distributed`, `OutputTo`, `Environment`, and `Updates`. - Inspecting application settings: `application_name`, `applies_to`, `value_inputs`, `model_calls`, `outputs_to`, `environment_config`, `output_routing`, `updates`. @@ -110,7 +110,7 @@ model definitions and connections; they do not prove scientific validity. ## Model-author contract - Model identity: `AbstractModel`, `@process`, `process`. -- Declaring variables and initial values: `Status`, `Required`, `Default`, +- Declaring variables and initial values: `Status`, `Required`, `Default`, `Distributed`, `VariableContract`, `variable_contracts`, `init_variables`, `dep`. - Inspecting inputs and outputs: `inputs`, `outputs`, `variables`, `environment_inputs`, `environment_outputs`, @@ -157,6 +157,9 @@ are not imported by `using PlantSimEngine`. `GraphEditor.AddModelApplication`, `GraphEditor.apply_model_graph_edit`, `GraphEditor.edit_graph`, `GraphEditor.current_model`, `GraphEditor.undo!`, and `GraphEditor.redo!`. +- Editing distributed output destinations: + `GraphEditor.SetModelOutputDestinations(application, destinations)` replaces + the anonymous `OutputTo` tuple and preserves omitted versus explicit `vars`. ## Evaluation namespace diff --git a/docs/src/guides/multiscale/value_coupling.md b/docs/src/guides/multiscale/value_coupling.md index ae2e15b36..e990bf18a 100644 --- a/docs/src/guides/multiscale/value_coupling.md +++ b/docs/src/guides/multiscale/value_coupling.md @@ -72,9 +72,15 @@ so do not store it in your model for later calls. Some models run once for a scene or plant but compute one value per organ. For example, a light model may calculate illumination for the whole scene -and then store each leaf's irradiance on that leaf. Declare these -destinations with `outputs_to`, and use object IDs to assign each result to -the right leaf: +and then store each leaf's irradiance on that leaf. Declare the output +variables in the model with `Distributed`, select their destinations in the +scenario with `outputs_to`, and use object IDs to assign each result to the +right leaf. + +The following is a wrapper skeleton for a solver you supply. Its names and +zero defaults illustrate the API; they do not define radiation units or a +light calculation. Complete its status inputs, environment inputs, and +scientific contracts for the chosen solver before using it: ```julia PlantSimEngine.@process "scene light" verbose = false @@ -84,7 +90,11 @@ struct SceneLightModel{F} <: AbstractScene_LightModel end PlantSimEngine.inputs_(::SceneLightModel) = NamedTuple() -PlantSimEngine.outputs_(::SceneLightModel) = NamedTuple() +PlantSimEngine.outputs_(::SceneLightModel) = ( + incident_par=Distributed(Default(0.0)), + absorbed_par=Distributed(Default(0.0)), +) +# Declare environment_inputs_ and variable_contracts_ for your solver. function PlantSimEngine.run!( model::SceneLightModel, @@ -93,7 +103,7 @@ function PlantSimEngine.run!( constants, context, ) - targets = output_targets(context, :leaves) + targets = output_targets(context, (:incident_par, :absorbed_par)) result = model.solve( runtime_model(context), environment, @@ -118,17 +128,54 @@ light_application = ModelSpec( name=:scene_light, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( - Many(scale=:Leaf, within=SceneScope()); - vars=( - incident_par=Default(0.0), - absorbed_par=Default(0.0), - ), - ), + OutputTo(Many(scale=:Leaf, within=SceneScope())), ), ) ``` +A single `OutputTo` with omitted `vars` binds all the model's `Distributed` +outputs, in declaration order. It is equivalent to: + +```julia +OutputTo( + Many(scale=:Leaf, within=SceneScope()); + vars=(:incident_par, :absorbed_par), +) +``` + +Ordinary outputs, such as `intercepted_total=0.0`, remain on the scene's +status. This also applies to local arrays, tuples, and other structured +values: only `Distributed(...)` changes the destination. The wrappers +are declarations and are never stored in object status. A destination +selector may also include the execution object itself, for example to store +a plant total alongside organ values. That object receives the variable +because it is a selected destination; the declaration adds no implicit local +field. + +If you supply several `OutputTo` entries, each must give an explicit, +nonempty tuple of variable names. Every distributed variable must occur +exactly once; missing, duplicate, unknown, or local variable names are +errors before destination initialization. A single declaration cannot infer +variables from a model with no distributed outputs. A valid `Many` selector +may currently match no objects and acquire destinations as the plant grows. + +`Distributed(Default(value))` can initialize a missing destination field. +`Distributed(Required(T))` requires each destination to have a compatible +field already. Neither declaration makes the output optional. A consumer's +`Required(T)` input does not provide an initial value. Existing competing +writers still need explicit `Updates` ordering. Distributed outputs write +canonical destination status, so routing a distributed variable with, for +example, `output_routing=(incident_par=:stream_only,)` is rejected. + +A kernel can request a subset, such as `output_targets(context, (:absorbed_par,))`. +A combined request exposes exactly the named columns, in the requested order, +and requires identical ordered object IDs for all of them. This also works +when separate `OutputTo` entries select the same objects. Different destination +sets cause an error at lookup, before the solver runs in the wrapper above. +Use separate views only when the calculation supports separate destination +sets. Compilation validates variable bindings; it cannot infer arbitrary +combined-view requests inside a kernel. + Inside `run!`, `targets.columns.incident_par` and `targets.columns.absorbed_par` give direct access to the selected leaves' values. `object_ids(targets)` lists their IDs in the same order; this list @@ -136,6 +183,26 @@ cannot be modified. Write directly by position only if your calculation already uses that exact order. For a separate result table with its own IDs, use `assign_outputs!` to match the rows to leaves. +### Declare the solver's inputs and environment + +The empty `inputs_` above means this skeleton declares no status inputs. +If the solver reads areas, optical properties, or other model values, declare +those inputs and bind cross-object values explicitly, for example with +`Many`. Access to `runtime_model(context)` does not replace those declarations. + +Likewise, declare every environmental variable the solver reads in +`environment_inputs_`. The unspecified `solve_light` callback determines +these requirements; this example does not assume weather fields, solar +position inputs, units, or equations. Keep `environment_outputs_` empty when +the solver only writes object status. Declare environment outputs and use +`commit_environment!` only when it commits accepted changes to an environment +backend. Distributed status writes and environment commits are separate +operations. + +Use `variable_contracts_` with the output variable names to specify units, +basis, time meaning, aggregation, and extent. Selectors only choose objects; +they do not establish these scientific properties. + ## Consume those values normally The receiving leaf model remains an ordinary PlantSimEngine model: @@ -195,7 +262,7 @@ the same rules: |---|---| | One row for every current destination | Required | | Unknown, duplicate, extra, or missing IDs | Rejected before any destination value changes | -| Every variable declared by `OutputTo` | Required | +| Every variable requested in the target view | Required | | Additional columns such as solver metadata | Ignored | | Result columns sharing memory with destination columns | Rejected, except assigning a column to itself in exactly the same order | diff --git a/docs/src/model_traits.md b/docs/src/model_traits.md index a6adddaa5..b9dd2b237 100644 --- a/docs/src/model_traits.md +++ b/docs/src/model_traits.md @@ -29,8 +29,12 @@ Choose a type that fits the calculation; it need not always be `Float64`. model provides one. Each object gets its own copy. For example, changing a default array on one leaf does not change the array on another leaf. -The values in `outputs_` are the outputs' starting values. In this example, -`assimilation` starts at `0.0` before the model first runs. +Ordinary values in `outputs_` are local outputs' starting values. In this +example, `assimilation` starts at `0.0` before the model first runs. Wrap an +output as `Distributed(Default(value))` or `Distributed(Required(T))` when +it belongs on destination objects selected by `ModelSpec(...; outputs_to=...)`. +`outputs(model)` lists both local and distributed output names; the model can +be inspected without a scenario. See [coupling values across objects](guides/multiscale/value_coupling.md). PlantSimEngine uses these declarations to prepare each object's values, connect models, and find missing inputs. Writing a plain number in `inputs_` @@ -38,8 +42,9 @@ is rejected: it would not say whether the model needs a supplied value or can use a default. Use `init_variables(model)` to inspect only values PlantSimEngine can -initialize by itself: `Default` input values and output initial values. -Required inputs are intentionally omitted. +initialize on an execution object: `Default` input values and local output +initial values. Required inputs and distributed outputs are omitted; their +destination storage is checked when the scenario is compiled. Before running a scenario, `Diagnostics.explain_initialization(model)` classifies inputs as `:required`, `:defaulted`, `:supplied`, or `:producer_bound`. A @@ -82,8 +87,11 @@ stored. Your equations still receive numbers or arrays, including compatible types that carry units, uncertainty, or derivatives. Use `variable_contracts(model)` to inspect the validated declarations. Contract -keys must occur in one of the model's declared status or environment traits, or -in the compiled application's distributed `outputs_to` declaration. +keys must occur in one of the model's declared status or environment traits. +Distributed outputs are declared in `outputs_` with `Distributed(Default(value))` +or `Distributed(Required(T))`, so their contracts are inspectable without a +scenario. `outputs_to` selects their destinations and does not declare their +schema. | Value or operation | Declaration | Where it comes from or goes | |---|---|---| @@ -92,7 +100,7 @@ in the compiled application's distributed `outputs_to` declaration. | Constant | the `constants` argument | Values supplied for the simulation, such as physical constants | | Manual model call | `dep` plus `ModelSpec(...; calls=...)` | Another model that this model decides when to run | | Output on the current object | `outputs_` | The object on which this model runs | -| Outputs on other objects | `ModelSpec(...; outputs_to=...)` | Selected objects, such as leaves receiving a scene light calculation | +| Outputs on other objects | `Distributed(...)` in `outputs_`, bound by `ModelSpec(...; outputs_to=...)` | Selected objects, such as leaves receiving a scene light calculation | ## Manual Dependencies diff --git a/ext/PlantSimEngineGraphEditorExt.jl b/ext/PlantSimEngineGraphEditorExt.jl index fdb4b9114..27fa18ce6 100644 --- a/ext/PlantSimEngineGraphEditorExt.jl +++ b/ext/PlantSimEngineGraphEditorExt.jl @@ -548,7 +548,7 @@ function _edit_from_command(session, command) "set_application_cadence", "set_application_environment", "set_output_routing", "set_update_ordering", "set_instance_override", "remove_instance_override", "set_object_override", "remove_object_override", "update_application", - "replace_application_model", + "replace_application_model", "set_output_destinations", ) ? _application_ref_from_command(command) : nothing kind == "remove_application" && return PlantSimEngine.GraphEditor.RemoveModelApplication(application) kind == "mark_previous_timestep" && return PlantSimEngine.GraphEditor.MarkModelPreviousTimeStep( @@ -613,6 +613,21 @@ function _edit_from_command(session, command) Symbol(command["output"]), Symbol(command["route"]), ) + if kind == "set_output_destinations" + payload = command["destinations"] + payload isa AbstractVector || error("Output destinations must be an array.") + destinations = Tuple(map(payload) do destination + vars = get(destination, "vars", nothing) + isnothing(vars) || (vars isa AbstractVector && all(value -> value isa AbstractString, vars)) || + error("Output destination vars must be null or an array of variable names.") + PlantSimEngine.OutputTo( + _selector_for_application(session, application, destination["selector"]); + vars=isnothing(vars) ? nothing : Tuple(Symbol.(vars)), + coverage=Symbol(get(destination, "coverage", "exact")), + ) + end) + return PlantSimEngine.GraphEditor.SetModelOutputDestinations(application, destinations) + end kind == "set_update_ordering" && return PlantSimEngine.GraphEditor.SetModelUpdateOrdering( application, _updates_from_payload(application, get(command, "updates", Any[])), diff --git a/frontend/dist/.vite/manifest.json b/frontend/dist/.vite/manifest.json index b04be629b..86856bdf2 100644 --- a/frontend/dist/.vite/manifest.json +++ b/frontend/dist/.vite/manifest.json @@ -1,6 +1,6 @@ { "index.html": { - "file": "assets/index-BsNfDYBn.js", + "file": "assets/index-DirYs3LY.js", "name": "index", "src": "index.html", "isEntry": true, diff --git a/frontend/dist/assets/index-BsNfDYBn.js b/frontend/dist/assets/index-DirYs3LY.js similarity index 52% rename from frontend/dist/assets/index-BsNfDYBn.js rename to frontend/dist/assets/index-DirYs3LY.js index e5fd68a27..60d07771d 100644 --- a/frontend/dist/assets/index-BsNfDYBn.js +++ b/frontend/dist/assets/index-DirYs3LY.js @@ -1,26 +1,26 @@ -(function(){const E=document.createElement("link").relList;if(E&&E.supports&&E.supports("modulepreload"))return;for(const N of document.querySelectorAll('link[rel="modulepreload"]'))M(N);new MutationObserver(N=>{for(const $ of N)if($.type==="childList")for(const k of $.addedNodes)k.tagName==="LINK"&&k.rel==="modulepreload"&&M(k)}).observe(document,{childList:!0,subtree:!0});function x(N){const $={};return N.integrity&&($.integrity=N.integrity),N.referrerPolicy&&($.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?$.credentials="include":N.crossOrigin==="anonymous"?$.credentials="omit":$.credentials="same-origin",$}function M(N){if(N.ep)return;N.ep=!0;const $=x(N);fetch(N.href,$)}})();var Fhn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yke(b){return b&&b.__esModule&&Object.prototype.hasOwnProperty.call(b,"default")?b.default:b}var O7e={exports:{}},_G={};var Jhn;function lzn(){if(Jhn)return _G;Jhn=1;var b=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function x(M,N,$){var k=null;if($!==void 0&&(k=""+$),N.key!==void 0&&(k=""+N.key),"key"in N){$={};for(var H in N)H!=="key"&&($[H]=N[H])}else $=N;return N=$.ref,{$$typeof:b,type:M,key:k,ref:N!==void 0?N:null,props:$}}return _G.Fragment=E,_G.jsx=x,_G.jsxs=x,_G}var Hhn;function fzn(){return Hhn||(Hhn=1,O7e.exports=lzn()),O7e.exports}var _=fzn(),N7e={exports:{}},Mc={};var Ghn;function azn(){if(Ghn)return Mc;Ghn=1;var b=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),k=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Z=Symbol.iterator;function se(ge){return ge===null||typeof ge!="object"?null:(ge=Z&&ge[Z]||ge["@@iterator"],typeof ge=="function"?ge:null)}var oe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ee=Object.assign,Me={};function me(ge,tn,Hn){this.props=ge,this.context=tn,this.refs=Me,this.updater=Hn||oe}me.prototype.isReactComponent={},me.prototype.setState=function(ge,tn){if(typeof ge!="object"&&typeof ge!="function"&&ge!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ge,tn,"setState")},me.prototype.forceUpdate=function(ge){this.updater.enqueueForceUpdate(this,ge,"forceUpdate")};function Pe(){}Pe.prototype=me.prototype;function ae(ge,tn,Hn){this.props=ge,this.context=tn,this.refs=Me,this.updater=Hn||oe}var Ne=ae.prototype=new Pe;Ne.constructor=ae,ee(Ne,me.prototype),Ne.isPureReactComponent=!0;var Ue=Array.isArray;function ln(){}var on={H:null,A:null,T:null,S:null},An=Object.prototype.hasOwnProperty;function xn(ge,tn,Hn){var ut=Hn.ref;return{$$typeof:b,type:ge,key:tn,ref:ut!==void 0?ut:null,props:Hn}}function tt(ge,tn){return xn(ge.type,tn,ge.props)}function mn(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===b}function vn(ge){var tn={"=":"=0",":":"=2"};return"$"+ge.replace(/[=:]/g,function(Hn){return tn[Hn]})}var Y=/\/+/g;function Fe(ge,tn){return typeof ge=="object"&&ge!==null&&ge.key!=null?vn(""+ge.key):tn.toString(36)}function wn(ge){switch(ge.status){case"fulfilled":return ge.value;case"rejected":throw ge.reason;default:switch(typeof ge.status=="string"?ge.then(ln,ln):(ge.status="pending",ge.then(function(tn){ge.status==="pending"&&(ge.status="fulfilled",ge.value=tn)},function(tn){ge.status==="pending"&&(ge.status="rejected",ge.reason=tn)})),ge.status){case"fulfilled":return ge.value;case"rejected":throw ge.reason}}throw ge}function xe(ge,tn,Hn,ut,Jt){var di=typeof ge;(di==="undefined"||di==="boolean")&&(ge=null);var Gt=!1;if(ge===null)Gt=!0;else switch(di){case"bigint":case"string":case"number":Gt=!0;break;case"object":switch(ge.$$typeof){case b:case E:Gt=!0;break;case ie:return Gt=ge._init,xe(Gt(ge._payload),tn,Hn,ut,Jt)}}if(Gt)return Jt=Jt(ge),Gt=ut===""?"."+Fe(ge,0):ut,Ue(Jt)?(Hn="",Gt!=null&&(Hn=Gt.replace(Y,"$&/")+"/"),xe(Jt,tn,Hn,"",function(Kr){return Kr})):Jt!=null&&(mn(Jt)&&(Jt=tt(Jt,Hn+(Jt.key==null||ge&&ge.key===Jt.key?"":(""+Jt.key).replace(Y,"$&/")+"/")+Gt)),tn.push(Jt)),1;Gt=0;var At=ut===""?".":ut+":";if(Ue(ge))for(var si=0;si>>1,Mn=xe[$e];if(0>>1;$eN(Hn,fn))utN(Jt,Hn)?(xe[$e]=Jt,xe[ut]=fn,$e=ut):(xe[$e]=Hn,xe[tn]=fn,$e=tn);else if(utN(Jt,fn))xe[$e]=Jt,xe[ut]=fn,$e=ut;else break e}}return Ge}function N(xe,Ge){var fn=xe.sortIndex-Ge.sortIndex;return fn!==0?fn:xe.id-Ge.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var $=performance;b.unstable_now=function(){return $.now()}}else{var k=Date,H=k.now();b.unstable_now=function(){return k.now()-H}}var q=[],G=[],ie=1,W=null,Z=3,se=!1,oe=!1,ee=!1,Me=!1,me=typeof setTimeout=="function"?setTimeout:null,Pe=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function Ne(xe){for(var Ge=x(G);Ge!==null;){if(Ge.callback===null)M(G);else if(Ge.startTime<=xe)M(G),Ge.sortIndex=Ge.expirationTime,E(q,Ge);else break;Ge=x(G)}}function Ue(xe){if(ee=!1,Ne(xe),!oe)if(x(q)!==null)oe=!0,ln||(ln=!0,vn());else{var Ge=x(G);Ge!==null&&wn(Ue,Ge.startTime-xe)}}var ln=!1,on=-1,An=5,xn=-1;function tt(){return Me?!0:!(b.unstable_now()-xnxe&&tt());){var $e=W.callback;if(typeof $e=="function"){W.callback=null,Z=W.priorityLevel;var Mn=$e(W.expirationTime<=xe);if(xe=b.unstable_now(),typeof Mn=="function"){W.callback=Mn,Ne(xe),Ge=!0;break n}W===x(q)&&M(q),Ne(xe)}else M(q);W=x(q)}if(W!==null)Ge=!0;else{var ge=x(G);ge!==null&&wn(Ue,ge.startTime-xe),Ge=!1}}break e}finally{W=null,Z=fn,se=!1}Ge=void 0}}finally{Ge?vn():ln=!1}}}var vn;if(typeof ae=="function")vn=function(){ae(mn)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,Fe=Y.port2;Y.port1.onmessage=mn,vn=function(){Fe.postMessage(null)}}else vn=function(){me(mn,0)};function wn(xe,Ge){on=me(function(){xe(b.unstable_now())},Ge)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(xe){xe.callback=null},b.unstable_forceFrameRate=function(xe){0>xe||125$e?(xe.sortIndex=fn,E(G,xe),x(q)===null&&xe===x(G)&&(ee?(Pe(on),on=-1):ee=!0,wn(Ue,fn-$e))):(xe.sortIndex=Mn,E(q,xe),oe||se||(oe=!0,ln||(ln=!0,vn()))),xe},b.unstable_shouldYield=tt,b.unstable_wrapCallback=function(xe){var Ge=Z;return function(){var fn=Z;Z=Ge;try{return xe.apply(this,arguments)}finally{Z=fn}}}})(_7e)),_7e}var Xhn;function bzn(){return Xhn||(Xhn=1,D7e.exports=dzn()),D7e.exports}var L7e={exports:{}},ud={};var Khn;function gzn(){if(Khn)return ud;Khn=1;var b=ZG();function E(q){var G="https://react.dev/errors/"+q;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(E){console.error(E)}}return b(),L7e.exports=gzn(),L7e.exports}var Yhn;function wzn(){if(Yhn)return LG;Yhn=1;var b=bzn(),E=ZG(),x=bdn();function M(a){var d="https://react.dev/errors/"+a;if(1Mn||(a.current=$e[Mn],$e[Mn]=null,Mn--)}function Hn(a,d){Mn++,$e[Mn]=a.current,a.current=d}var ut=ge(null),Jt=ge(null),di=ge(null),Gt=ge(null);function At(a,d){switch(Hn(di,d),Hn(Jt,a),Hn(ut,null),d.nodeType){case 9:case 11:a=(a=d.documentElement)&&(a=a.namespaceURI)?hP(a):0;break;default:if(a=d.tagName,d=d.namespaceURI)d=hP(d),a=dP(d,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}tn(ut),Hn(ut,a)}function si(){tn(ut),tn(Jt),tn(di)}function Kr(a){a.memoizedState!==null&&Hn(Gt,a);var d=ut.current,w=dP(d,a.type);d!==w&&(Hn(Jt,a),Hn(ut,w))}function Er(a){Jt.current===a&&(tn(ut),tn(Jt)),Gt.current===a&&(tn(Gt),cy._currentValue=fn)}var Dt,bi;function zi(a){if(Dt===void 0)try{throw Error()}catch(w){var d=w.stack.trim().match(/\n( *(at )?)/);Dt=d&&d[1]||"",bi=-1{for(const $ of N)if($.type==="childList")for(const k of $.addedNodes)k.tagName==="LINK"&&k.rel==="modulepreload"&&M(k)}).observe(document,{childList:!0,subtree:!0});function x(N){const $={};return N.integrity&&($.integrity=N.integrity),N.referrerPolicy&&($.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?$.credentials="include":N.crossOrigin==="anonymous"?$.credentials="omit":$.credentials="same-origin",$}function M(N){if(N.ep)return;N.ep=!0;const $=x(N);fetch(N.href,$)}})();var Fhn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yke(b){return b&&b.__esModule&&Object.prototype.hasOwnProperty.call(b,"default")?b.default:b}var O7e={exports:{}},LG={};var Jhn;function fzn(){if(Jhn)return LG;Jhn=1;var b=Symbol.for("react.transitional.element"),j=Symbol.for("react.fragment");function x(M,N,$){var k=null;if($!==void 0&&(k=""+$),N.key!==void 0&&(k=""+N.key),"key"in N){$={};for(var J in N)J!=="key"&&($[J]=N[J])}else $=N;return N=$.ref,{$$typeof:b,type:M,key:k,ref:N!==void 0?N:null,props:$}}return LG.Fragment=j,LG.jsx=x,LG.jsxs=x,LG}var Hhn;function azn(){return Hhn||(Hhn=1,O7e.exports=fzn()),O7e.exports}var I=azn(),N7e={exports:{}},Mc={};var Ghn;function hzn(){if(Ghn)return Mc;Ghn=1;var b=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),k=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),Q=Symbol.for("react.activity"),ee=Symbol.iterator;function se(ge){return ge===null||typeof ge!="object"?null:(ge=ee&&ge[ee]||ge["@@iterator"],typeof ge=="function"?ge:null)}var ce={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ne=Object.assign,Se={};function me(ge,tn,Hn){this.props=ge,this.context=tn,this.refs=Se,this.updater=Hn||ce}me.prototype.isReactComponent={},me.prototype.setState=function(ge,tn){if(typeof ge!="object"&&typeof ge!="function"&&ge!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ge,tn,"setState")},me.prototype.forceUpdate=function(ge){this.updater.enqueueForceUpdate(this,ge,"forceUpdate")};function Pe(){}Pe.prototype=me.prototype;function ae(ge,tn,Hn){this.props=ge,this.context=tn,this.refs=Se,this.updater=Hn||ce}var Ne=ae.prototype=new Pe;Ne.constructor=ae,ne(Ne,me.prototype),Ne.isPureReactComponent=!0;var Ue=Array.isArray;function ln(){}var on={H:null,A:null,T:null,S:null},An=Object.prototype.hasOwnProperty;function xn(ge,tn,Hn){var ut=Hn.ref;return{$$typeof:b,type:ge,key:tn,ref:ut!==void 0?ut:null,props:Hn}}function tt(ge,tn){return xn(ge.type,tn,ge.props)}function mn(ge){return typeof ge=="object"&&ge!==null&&ge.$$typeof===b}function vn(ge){var tn={"=":"=0",":":"=2"};return"$"+ge.replace(/[=:]/g,function(Hn){return tn[Hn]})}var Y=/\/+/g;function Fe(ge,tn){return typeof ge=="object"&&ge!==null&&ge.key!=null?vn(""+ge.key):tn.toString(36)}function wn(ge){switch(ge.status){case"fulfilled":return ge.value;case"rejected":throw ge.reason;default:switch(typeof ge.status=="string"?ge.then(ln,ln):(ge.status="pending",ge.then(function(tn){ge.status==="pending"&&(ge.status="fulfilled",ge.value=tn)},function(tn){ge.status==="pending"&&(ge.status="rejected",ge.reason=tn)})),ge.status){case"fulfilled":return ge.value;case"rejected":throw ge.reason}}throw ge}function Ae(ge,tn,Hn,ut,Jt){var di=typeof ge;(di==="undefined"||di==="boolean")&&(ge=null);var Gt=!1;if(ge===null)Gt=!0;else switch(di){case"bigint":case"string":case"number":Gt=!0;break;case"object":switch(ge.$$typeof){case b:case j:Gt=!0;break;case Z:return Gt=ge._init,Ae(Gt(ge._payload),tn,Hn,ut,Jt)}}if(Gt)return Jt=Jt(ge),Gt=ut===""?"."+Fe(ge,0):ut,Ue(Jt)?(Hn="",Gt!=null&&(Hn=Gt.replace(Y,"$&/")+"/"),Ae(Jt,tn,Hn,"",function(Kr){return Kr})):Jt!=null&&(mn(Jt)&&(Jt=tt(Jt,Hn+(Jt.key==null||ge&&ge.key===Jt.key?"":(""+Jt.key).replace(Y,"$&/")+"/")+Gt)),tn.push(Jt)),1;Gt=0;var At=ut===""?".":ut+":";if(Ue(ge))for(var si=0;si>>1,Mn=Ae[$e];if(0>>1;$eN(Hn,fn))utN(Jt,Hn)?(Ae[$e]=Jt,Ae[ut]=fn,$e=ut):(Ae[$e]=Hn,Ae[tn]=fn,$e=tn);else if(utN(Jt,fn))Ae[$e]=Jt,Ae[ut]=fn,$e=ut;else break e}}return Ge}function N(Ae,Ge){var fn=Ae.sortIndex-Ge.sortIndex;return fn!==0?fn:Ae.id-Ge.id}if(b.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var $=performance;b.unstable_now=function(){return $.now()}}else{var k=Date,J=k.now();b.unstable_now=function(){return k.now()-J}}var q=[],G=[],Z=1,Q=null,ee=3,se=!1,ce=!1,ne=!1,Se=!1,me=typeof setTimeout=="function"?setTimeout:null,Pe=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function Ne(Ae){for(var Ge=x(G);Ge!==null;){if(Ge.callback===null)M(G);else if(Ge.startTime<=Ae)M(G),Ge.sortIndex=Ge.expirationTime,j(q,Ge);else break;Ge=x(G)}}function Ue(Ae){if(ne=!1,Ne(Ae),!ce)if(x(q)!==null)ce=!0,ln||(ln=!0,vn());else{var Ge=x(G);Ge!==null&&wn(Ue,Ge.startTime-Ae)}}var ln=!1,on=-1,An=5,xn=-1;function tt(){return Se?!0:!(b.unstable_now()-xnAe&&tt());){var $e=Q.callback;if(typeof $e=="function"){Q.callback=null,ee=Q.priorityLevel;var Mn=$e(Q.expirationTime<=Ae);if(Ae=b.unstable_now(),typeof Mn=="function"){Q.callback=Mn,Ne(Ae),Ge=!0;break n}Q===x(q)&&M(q),Ne(Ae)}else M(q);Q=x(q)}if(Q!==null)Ge=!0;else{var ge=x(G);ge!==null&&wn(Ue,ge.startTime-Ae),Ge=!1}}break e}finally{Q=null,ee=fn,se=!1}Ge=void 0}}finally{Ge?vn():ln=!1}}}var vn;if(typeof ae=="function")vn=function(){ae(mn)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,Fe=Y.port2;Y.port1.onmessage=mn,vn=function(){Fe.postMessage(null)}}else vn=function(){me(mn,0)};function wn(Ae,Ge){on=me(function(){Ae(b.unstable_now())},Ge)}b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(Ae){Ae.callback=null},b.unstable_forceFrameRate=function(Ae){0>Ae||125$e?(Ae.sortIndex=fn,j(G,Ae),x(q)===null&&Ae===x(G)&&(ne?(Pe(on),on=-1):ne=!0,wn(Ue,fn-$e))):(Ae.sortIndex=Mn,j(q,Ae),ce||se||(ce=!0,ln||(ln=!0,vn()))),Ae},b.unstable_shouldYield=tt,b.unstable_wrapCallback=function(Ae){var Ge=ee;return function(){var fn=ee;ee=Ge;try{return Ae.apply(this,arguments)}finally{ee=fn}}}})(_7e)),_7e}var Xhn;function gzn(){return Xhn||(Xhn=1,D7e.exports=bzn()),D7e.exports}var L7e={exports:{}},ud={};var Khn;function wzn(){if(Khn)return ud;Khn=1;var b=ZG();function j(q){var G="https://react.dev/errors/"+q;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(j){console.error(j)}}return b(),L7e.exports=wzn(),L7e.exports}var Yhn;function pzn(){if(Yhn)return PG;Yhn=1;var b=gzn(),j=ZG(),x=gdn();function M(a){var d="https://react.dev/errors/"+a;if(1Mn||(a.current=$e[Mn],$e[Mn]=null,Mn--)}function Hn(a,d){Mn++,$e[Mn]=a.current,a.current=d}var ut=ge(null),Jt=ge(null),di=ge(null),Gt=ge(null);function At(a,d){switch(Hn(di,d),Hn(Jt,a),Hn(ut,null),d.nodeType){case 9:case 11:a=(a=d.documentElement)&&(a=a.namespaceURI)?dP(a):0;break;default:if(a=d.tagName,d=d.namespaceURI)d=dP(d),a=bP(d,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}tn(ut),Hn(ut,a)}function si(){tn(ut),tn(Jt),tn(di)}function Kr(a){a.memoizedState!==null&&Hn(Gt,a);var d=ut.current,w=bP(d,a.type);d!==w&&(Hn(Jt,a),Hn(ut,w))}function Er(a){Jt.current===a&&(tn(ut),tn(Jt)),Gt.current===a&&(tn(Gt),c5._currentValue=fn)}var Dt,bi;function zi(a){if(Dt===void 0)try{throw Error()}catch(w){var d=w.stack.trim().match(/\n( *(at )?)/);Dt=d&&d[1]||"",bi=-1)":-1T||nn[j]!==Pn[T]){var it=` -`+nn[j].replace(" at new "," at ");return a.displayName&&it.includes("")&&(it=it.replace("",a.displayName)),it}while(1<=j&&0<=T);break}}}finally{cu=!1,Error.prepareStackTrace=w}return(w=a?a.displayName||a.name:"")?zi(w):""}function Rs(a,d){switch(a.tag){case 26:case 27:case 5:return zi(a.type);case 16:return zi("Lazy");case 13:return a.child!==d&&d!==null?zi("Suspense Fallback"):zi("Suspense");case 19:return zi("SuspenseList");case 0:case 15:return Fu(a.type,!1);case 11:return Fu(a.type.render,!1);case 1:return Fu(a.type,!0);case 31:return zi("Activity");default:return""}}function ra(a){try{var d="",w=null;do d+=Rs(a,w),w=a,a=a.return;while(a);return d}catch(j){return` -Error generating stack: `+j.message+` -`+j.stack}}var nf=Object.prototype.hasOwnProperty,Ia=b.unstable_scheduleCallback,Cc=b.unstable_cancelCallback,l0=b.unstable_shouldYield,Cb=b.unstable_requestPaint,xl=b.unstable_now,od=b.unstable_getCurrentPriorityLevel,f0=b.unstable_ImmediatePriority,sh=b.unstable_UserBlockingPriority,sd=b.unstable_NormalPriority,m5=b.unstable_LowPriority,a0=b.unstable_IdlePriority,Np=b.log,h6=b.unstable_setDisableYieldValue,Tb=null,ca=null;function ld(a){if(typeof Np=="function"&&h6(a),ca&&typeof ca.setStrictMode=="function")try{ca.setStrictMode(Tb,a)}catch{}}var xf=Math.clz32?Math.clz32:Ip,d6=Math.log,lh=Math.LN2;function Ip(a){return a>>>=0,a===0?32:31-(d6(a)/lh|0)|0}var Xg=256,Kg=262144,Vg=4194304;function fd(a){var d=a&42;if(d!==0)return d;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Yg(a,d,w){var j=a.pendingLanes;if(j===0)return 0;var T=0,I=a.suspendedLanes,Q=a.pingedLanes;a=a.warmLanes;var de=j&134217727;return de!==0?(j=de&~I,j!==0?T=fd(j):(Q&=de,Q!==0?T=fd(Q):w||(w=de&~a,w!==0&&(T=fd(w))))):(de=j&~I,de!==0?T=fd(de):Q!==0?T=fd(Q):w||(w=j&~a,w!==0&&(T=fd(w)))),T===0?0:d!==0&&d!==T&&(d&I)===0&&(I=T&-T,w=d&-d,I>=w||I===32&&(w&4194048)!==0)?d:T}function Ob(a,d){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&d)===0}function v5(a,d){switch(a){case 1:case 2:case 4:case 8:case 64:return d+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dp(){var a=Vg;return Vg<<=1,(Vg&62914560)===0&&(Vg=4194304),a}function _p(a){for(var d=[],w=0;31>w;w++)d.push(a);return d}function uu(a,d){a.pendingLanes|=d,d!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function y5(a,d,w,j,T,I){var Q=a.pendingLanes;a.pendingLanes=w,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=w,a.entangledLanes&=w,a.errorRecoveryDisabledLanes&=w,a.shellSuspendCounter=0;var de=a.entanglements,nn=a.expirationTimes,Pn=a.hiddenUpdates;for(w=Q&~w;0"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var LA=/[\n"\\]/g;function $h(a){return a.replace(LA,function(d){return"\\"+d.charCodeAt(0).toString(16)+" "})}function av(a,d,w,j,T,I,Q,de){a.name="",Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"?a.type=Q:a.removeAttribute("type"),d!=null?Q==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+Ph(d)):a.value!==""+Ph(d)&&(a.value=""+Ph(d)):Q!=="submit"&&Q!=="reset"||a.removeAttribute("value"),d!=null?w6(a,Q,Ph(d)):w!=null?w6(a,Q,Ph(w)):j!=null&&a.removeAttribute("value"),T==null&&I!=null&&(a.defaultChecked=!!I),T!=null&&(a.checked=T&&typeof T!="function"&&typeof T!="symbol"),de!=null&&typeof de!="function"&&typeof de!="symbol"&&typeof de!="boolean"?a.name=""+Ph(de):a.removeAttribute("name")}function ak(a,d,w,j,T,I,Q,de){if(I!=null&&typeof I!="function"&&typeof I!="symbol"&&typeof I!="boolean"&&(a.type=I),d!=null||w!=null){if(!(I!=="submit"&&I!=="reset"||d!=null)){A5(a);return}w=w!=null?""+Ph(w):"",d=d!=null?""+Ph(d):w,de||d===a.value||(a.value=d),a.defaultValue=d}j=j??T,j=typeof j!="function"&&typeof j!="symbol"&&!!j,a.checked=de?a.checked:!!j,a.defaultChecked=!!j,Q!=null&&typeof Q!="function"&&typeof Q!="symbol"&&typeof Q!="boolean"&&(a.name=Q),A5(a)}function w6(a,d,w){d==="number"&&fv(a.ownerDocument)===a||a.defaultValue===""+w||(a.defaultValue=""+w)}function nw(a,d,w,j){if(a=a.options,d){d={};for(var T=0;T"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zA=!1;if(iw)try{var m6={};Object.defineProperty(m6,"passive",{get:function(){zA=!0}}),window.addEventListener("test",m6,m6),window.removeEventListener("test",m6,m6)}catch{zA=!1}var zp=null,FA=null,dk=null;function TD(){if(dk)return dk;var a,d=FA,w=d.length,j,T="value"in zp?zp.value:zp.textContent,I=T.length;for(a=0;a=k6),LD=" ",PD=!1;function $D(a,d){switch(a){case"keyup":return _q.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function RD(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var O5=!1;function Pq(a,d){switch(a){case"compositionend":return RD(d);case"keypress":return d.which!==32?null:(PD=!0,LD);case"textInput":return a=d.data,a===LD&&PD?null:a;default:return null}}function $q(a,d){if(O5)return a==="compositionend"||!UA&&$D(a,d)?(a=TD(),dk=FA=zp=null,O5=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:w,offset:d-a};a=j}e:{for(;w;){if(w.nextSibling){w=w.nextSibling;break e}w=w.parentNode}w=void 0}w=qD(w)}}function XD(a,d){return a&&d?a===d?!0:a&&a.nodeType===3?!1:d&&d.nodeType===3?XD(a,d.parentNode):"contains"in a?a.contains(d):a.compareDocumentPosition?!!(a.compareDocumentPosition(d)&16):!1:!1}function KD(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var d=fv(a.document);d instanceof a.HTMLIFrameElement;){try{var w=typeof d.contentWindow.location.href=="string"}catch{w=!1}if(w)a=d.contentWindow;else break;d=fv(a.document)}return d}function YA(a){var d=a&&a.nodeName&&a.nodeName.toLowerCase();return d&&(d==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||d==="textarea"||a.contentEditable==="true")}var qq=iw&&"documentMode"in document&&11>=document.documentMode,N5=null,QA=null,x6=null,WA=!1;function VD(a,d,w){var j=w.window===w?w.document:w.nodeType===9?w:w.ownerDocument;WA||N5==null||N5!==fv(j)||(j=N5,"selectionStart"in j&&YA(j)?j={start:j.selectionStart,end:j.selectionEnd}:(j=(j.ownerDocument&&j.ownerDocument.defaultView||window).getSelection(),j={anchorNode:j.anchorNode,anchorOffset:j.anchorOffset,focusNode:j.focusNode,focusOffset:j.focusOffset}),x6&&S6(x6,j)||(x6=j,j=cj(QA,"onSelect"),0>=Q,T-=Q,Nb=1<<32-xf(d)+T|w<Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var qc=Gn(Sn,Xi,_n[Hr],ot);if(qc===null){Xi===null&&(Xi=ic);break}a&&Xi&&qc.alternate===null&&d(Sn,Xi),sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc,Xi=ic}if(Hr===_n.length)return w(Sn,Xi),ou&&cw(Sn,Hr),Hi;if(Xi===null){for(;Hr<_n.length;Hr++)Xi=gt(Sn,_n[Hr],ot),Xi!==null&&(sn=I(Xi,sn,Hr),_u===null?Hi=Xi:_u.sibling=Xi,_u=Xi);return ou&&cw(Sn,Hr),Hi}for(Xi=j(Xi);Hr<_n.length;Hr++)ic=et(Xi,Sn,Hr,_n[Hr],ot),ic!==null&&(a&&ic.alternate!==null&&Xi.delete(ic.key===null?Hr:ic.key),sn=I(ic,sn,Hr),_u===null?Hi=ic:_u.sibling=ic,_u=ic);return a&&Xi.forEach(function(xt){return d(Sn,xt)}),ou&&cw(Sn,Hr),Hi}function Cr(Sn,sn,_n,ot){if(_n==null)throw Error(M(151));for(var Hi=null,_u=null,Xi=sn,Hr=sn=0,ic=null,qc=_n.next();Xi!==null&&!qc.done;Hr++,qc=_n.next()){Xi.index>Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var xt=Gn(Sn,Xi,qc.value,ot);if(xt===null){Xi===null&&(Xi=ic);break}a&&Xi&&xt.alternate===null&&d(Sn,Xi),sn=I(xt,sn,Hr),_u===null?Hi=xt:_u.sibling=xt,_u=xt,Xi=ic}if(qc.done)return w(Sn,Xi),ou&&cw(Sn,Hr),Hi;if(Xi===null){for(;!qc.done;Hr++,qc=_n.next())qc=gt(Sn,qc.value,ot),qc!==null&&(sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return ou&&cw(Sn,Hr),Hi}for(Xi=j(Xi);!qc.done;Hr++,qc=_n.next())qc=et(Xi,Sn,Hr,qc.value,ot),qc!==null&&(a&&qc.alternate!==null&&Xi.delete(qc.key===null?Hr:qc.key),sn=I(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return a&&Xi.forEach(function(fX){return d(Sn,fX)}),ou&&cw(Sn,Hr),Hi}function co(Sn,sn,_n,ot){if(typeof _n=="object"&&_n!==null&&_n.type===ee&&_n.key===null&&(_n=_n.props.children),typeof _n=="object"&&_n!==null){switch(_n.$$typeof){case se:e:{for(var Hi=_n.key;sn!==null;){if(sn.key===Hi){if(Hi=_n.type,Hi===ee){if(sn.tag===7){w(Sn,sn.sibling),ot=T(sn,_n.props.children),ot.return=Sn,Sn=ot;break e}}else if(sn.elementType===Hi||typeof Hi=="object"&&Hi!==null&&Hi.$$typeof===An&&vv(Hi)===sn.type){w(Sn,sn.sibling),ot=T(sn,_n.props),D6(ot,_n),ot.return=Sn,Sn=ot;break e}w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}_n.type===ee?(ot=wv(_n.props.children,Sn.mode,ot,_n.key),ot.return=Sn,Sn=ot):(ot=Ek(_n.type,_n.key,_n.props,null,Sn.mode,ot),D6(ot,_n),ot.return=Sn,Sn=ot)}return Q(Sn);case oe:e:{for(Hi=_n.key;sn!==null;){if(sn.key===Hi)if(sn.tag===4&&sn.stateNode.containerInfo===_n.containerInfo&&sn.stateNode.implementation===_n.implementation){w(Sn,sn.sibling),ot=T(sn,_n.children||[]),ot.return=Sn,Sn=ot;break e}else{w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}ot=cM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot}return Q(Sn);case An:return _n=vv(_n),co(Sn,sn,_n,ot)}if(wn(_n))return Di(Sn,sn,_n,ot);if(vn(_n)){if(Hi=vn(_n),typeof Hi!="function")throw Error(M(150));return _n=Hi.call(_n),Cr(Sn,sn,_n,ot)}if(typeof _n.then=="function")return co(Sn,sn,Ck(_n),ot);if(_n.$$typeof===ae)return co(Sn,sn,C6(Sn,_n),ot);Tk(Sn,_n)}return typeof _n=="string"&&_n!==""||typeof _n=="number"||typeof _n=="bigint"?(_n=""+_n,sn!==null&&sn.tag===6?(w(Sn,sn.sibling),ot=T(sn,_n),ot.return=Sn,Sn=ot):(w(Sn,sn),ot=rM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot),Q(Sn)):w(Sn,sn)}return function(Sn,sn,_n,ot){try{I6=0;var Hi=co(Sn,sn,_n,ot);return H5=null,Hi}catch(Xi){if(Xi===J5||Xi===Ak)throw Xi;var _u=m1(29,Xi,null,Sn.mode);return _u.lanes=ot,_u.return=Sn,_u}}}var kv=w_(!0),p_=w_(!1),Kp=!1;function mM(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vM(a,d){a=a.updateQueue,d.updateQueue===a&&(d.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Vp(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Yp(a,d,w){var j=a.updateQueue;if(j===null)return null;if(j=j.shared,(Ju&2)!==0){var T=j.pending;return T===null?d.next=d:(d.next=T.next,T.next=d),j.pending=d,d=jk(a),t_(a,null,w),d}return kk(a,j,d,w),jk(a)}function _6(a,d,w){if(d=d.updateQueue,d!==null&&(d=d.shared,(w&4194048)!==0)){var j=d.lanes;j&=a.pendingLanes,w|=j,d.lanes=w,ov(a,w)}}function yM(a,d){var w=a.updateQueue,j=a.alternate;if(j!==null&&(j=j.updateQueue,w===j)){var T=null,I=null;if(w=w.firstBaseUpdate,w!==null){do{var Q={lane:w.lane,tag:w.tag,payload:w.payload,callback:null,next:null};I===null?T=I=Q:I=I.next=Q,w=w.next}while(w!==null);I===null?T=I=d:I=I.next=d}else T=I=d;w={baseState:j.baseState,firstBaseUpdate:T,lastBaseUpdate:I,shared:j.shared,callbacks:j.callbacks},a.updateQueue=w;return}a=w.lastBaseUpdate,a===null?w.firstBaseUpdate=d:a.next=d,w.lastBaseUpdate=d}var kM=!1;function L6(){if(kM){var a=F5;if(a!==null)throw a}}function P6(a,d,w,j){kM=!1;var T=a.updateQueue;Kp=!1;var I=T.firstBaseUpdate,Q=T.lastBaseUpdate,de=T.shared.pending;if(de!==null){T.shared.pending=null;var nn=de,Pn=nn.next;nn.next=null,Q===null?I=Pn:Q.next=Pn,Q=nn;var it=a.alternate;it!==null&&(it=it.updateQueue,de=it.lastBaseUpdate,de!==Q&&(de===null?it.firstBaseUpdate=Pn:de.next=Pn,it.lastBaseUpdate=nn))}if(I!==null){var gt=T.baseState;Q=0,it=Pn=nn=null,de=I;do{var Gn=de.lane&-536870913,et=Gn!==de.lane;if(et?(nu&Gn)===Gn:(j&Gn)===Gn){Gn!==0&&Gn===z5&&(kM=!0),it!==null&&(it=it.next={lane:0,tag:de.tag,payload:de.payload,callback:null,next:null});e:{var Di=a,Cr=de;Gn=d;var co=w;switch(Cr.tag){case 1:if(Di=Cr.payload,typeof Di=="function"){gt=Di.call(co,gt,Gn);break e}gt=Di;break e;case 3:Di.flags=Di.flags&-65537|128;case 0:if(Di=Cr.payload,Gn=typeof Di=="function"?Di.call(co,gt,Gn):Di,Gn==null)break e;gt=W({},gt,Gn);break e;case 2:Kp=!0}}Gn=de.callback,Gn!==null&&(a.flags|=64,et&&(a.flags|=8192),et=T.callbacks,et===null?T.callbacks=[Gn]:et.push(Gn))}else et={lane:Gn,tag:de.tag,payload:de.payload,callback:de.callback,next:null},it===null?(Pn=it=et,nn=gt):it=it.next=et,Q|=Gn;if(de=de.next,de===null){if(de=T.shared.pending,de===null)break;et=de,de=et.next,et.next=null,T.lastBaseUpdate=et,T.shared.pending=null}}while(!0);it===null&&(nn=gt),T.baseState=nn,T.firstBaseUpdate=Pn,T.lastBaseUpdate=it,I===null&&(T.shared.lanes=0),n2|=Q,a.lanes=Q,a.memoizedState=gt}}function m_(a,d){if(typeof a!="function")throw Error(M(191,a));a.call(d)}function v_(a,d){var w=a.callbacks;if(w!==null)for(a.callbacks=null,a=0;aI?I:8;var Q=xe.T,de={};xe.T=de,zM(a,!1,d,w);try{var nn=T(),Pn=xe.S;if(Pn!==null&&Pn(de,nn),nn!==null&&typeof nn=="object"&&typeof nn.then=="function"){var it=Zq(nn,j);z6(a,d,it,E1(a))}else z6(a,d,j,E1(a))}catch(gt){z6(a,d,{then:function(){},status:"rejected",reason:gt},E1())}finally{Ge.p=I,Q!==null&&de.types!==null&&(Q.types=de.types),xe.T=Q}}function RM(){}function B6(a,d,w,j){if(a.tag!==5)throw Error(M(476));var T=Y_(a).queue;V_(a,T,d,fn,w===null?RM:function(){return Bk(a),w(j)})}function Y_(a){var d=a.memoizedState;if(d!==null)return d;d={memoizedState:fn,baseState:fn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lw,lastRenderedState:fn},next:null};var w={};return d.next={memoizedState:w,baseState:w,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lw,lastRenderedState:w},next:null},a.memoizedState=d,a=a.alternate,a!==null&&(a.memoizedState=d),d}function Bk(a){var d=Y_(a);d.next===null&&(d=a.alternate.memoizedState),z6(a,d.next.queue,{},E1())}function BM(){return oa(cy)}function Q_(){return nl().memoizedState}function W_(){return nl().memoizedState}function uU(a){for(var d=a.return;d!==null;){switch(d.tag){case 24:case 3:var w=E1();a=Vp(w);var j=Yp(d,a,w);j!==null&&(Jh(j,d,w),_6(j,d,w)),d={cache:dM()},a.payload=d;return}d=d.return}}function oU(a,d,w){var j=E1();w={lane:j,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null},zk(a)?eL(d,w):(w=tM(a,d,w,j),w!==null&&(Jh(w,a,j),FM(w,d,j)))}function Z_(a,d,w){var j=E1();z6(a,d,w,j)}function z6(a,d,w,j){var T={lane:j,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null};if(zk(a))eL(d,T);else{var I=a.alternate;if(a.lanes===0&&(I===null||I.lanes===0)&&(I=d.lastRenderedReducer,I!==null))try{var Q=d.lastRenderedState,de=I(Q,w);if(T.hasEagerState=!0,T.eagerState=de,p1(de,Q))return kk(a,d,T,0),Do===null&&yk(),!1}catch{}if(w=tM(a,d,T,j),w!==null)return Jh(w,a,j),FM(w,d,j),!0}return!1}function zM(a,d,w,j){if(j={lane:2,revertLane:jC(),gesture:null,action:j,hasEagerState:!1,eagerState:null,next:null},zk(a)){if(d)throw Error(M(479))}else d=tM(a,w,j,2),d!==null&&Jh(d,a,2)}function zk(a){var d=a.alternate;return a===bc||d!==null&&d===bc}function eL(a,d){q5=Ik=!0;var w=a.pending;w===null?d.next=d:(d.next=w.next,w.next=d),a.pending=d}function FM(a,d,w){if((w&4194048)!==0){var j=d.lanes;j&=a.pendingLanes,w|=j,d.lanes=w,ov(a,w)}}var F6={readContext:oa,use:Lk,useCallback:Bs,useContext:Bs,useEffect:Bs,useImperativeHandle:Bs,useLayoutEffect:Bs,useInsertionEffect:Bs,useMemo:Bs,useReducer:Bs,useRef:Bs,useState:Bs,useDebugValue:Bs,useDeferredValue:Bs,useTransition:Bs,useSyncExternalStore:Bs,useId:Bs,useHostTransitionStatus:Bs,useFormState:Bs,useActionState:Bs,useOptimistic:Bs,useMemoCache:Bs,useCacheRefresh:Bs};F6.useEffectEvent=Bs;var sU={readContext:oa,use:Lk,useCallback:function(a,d){return fh().memoizedState=[a,d===void 0?null:d],a},useContext:oa,useEffect:z_,useImperativeHandle:function(a,d,w){w=w!=null?w.concat([a]):null,$k(4194308,4,G_.bind(null,d,a),w)},useLayoutEffect:function(a,d){return $k(4194308,4,a,d)},useInsertionEffect:function(a,d){$k(4,2,a,d)},useMemo:function(a,d){var w=fh();d=d===void 0?null:d;var j=a();if(jv){ld(!0);try{a()}finally{ld(!1)}}return w.memoizedState=[j,d],j},useReducer:function(a,d,w){var j=fh();if(w!==void 0){var T=w(d);if(jv){ld(!0);try{w(d)}finally{ld(!1)}}}else T=d;return j.memoizedState=j.baseState=T,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:T},j.queue=a,a=a.dispatch=oU.bind(null,bc,a),[j.memoizedState,a]},useRef:function(a){var d=fh();return a={current:a},d.memoizedState=a},useState:function(a){a=DM(a);var d=a.queue,w=Z_.bind(null,bc,d);return d.dispatch=w,[a.memoizedState,w]},useDebugValue:PM,useDeferredValue:function(a,d){var w=fh();return $M(w,a,d)},useTransition:function(){var a=DM(!1);return a=V_.bind(null,bc,a.queue,!0,!1),fh().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,d,w){var j=bc,T=fh();if(ou){if(w===void 0)throw Error(M(407));w=w()}else{if(w=d(),Do===null)throw Error(M(349));(nu&127)!==0||x_(j,d,w)}T.memoizedState=w;var I={value:w,getSnapshot:d};return T.queue=I,z_(tU.bind(null,j,I,a),[a]),j.flags|=2048,X5(9,{destroy:void 0},A_.bind(null,j,I,w,d),null),w},useId:function(){var a=fh(),d=Do.identifierPrefix;if(ou){var w=Ib,j=Nb;w=(j&~(1<<32-xf(j)-1)).toString(32)+w,d="_"+d+"R_"+w,w=Dk++,0<\/script>",I=I.removeChild(I.firstChild);break;case"select":I=typeof j.is=="string"?Q.createElement("select",{is:j.is}):Q.createElement("select"),j.multiple?I.multiple=!0:j.size&&(I.size=j.size);break;default:I=typeof j.is=="string"?Q.createElement(T,{is:j.is}):Q.createElement(T)}}I[Zs]=d,I[Af]=j;e:for(Q=d.child;Q!==null;){if(Q.tag===5||Q.tag===6)I.appendChild(Q.stateNode);else if(Q.tag!==4&&Q.tag!==27&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===d)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===d)break e;Q=Q.return}Q.sibling.return=Q.return,Q=Q.sibling}d.stateNode=I;e:switch(la(I,T,j),T){case"button":case"input":case"select":case"textarea":j=!!j.autoFocus;break e;case"img":j=!0;break e;default:j=!1}j&&w0(d)}}return yo(d),nC(d,d.type,a===null?null:a.memoizedProps,d.pendingProps,w),null;case 6:if(a&&d.stateNode!=null)a.memoizedProps!==j&&w0(d);else{if(typeof j!="string"&&d.stateNode===null)throw Error(M(166));if(a=di.current,$5(d)){if(a=d.stateNode,w=d.memoizedProps,j=null,T=ua,T!==null)switch(T.tag){case 27:case 5:j=T.memoizedProps}a[Zs]=d,a=!!(a.nodeValue===w||j!==null&&j.suppressHydrationWarning===!0||fP(a.nodeValue,w)),a||Hp(d,!0)}else a=uj(a).createTextNode(j),a[Zs]=d,d.stateNode=a}return yo(d),null;case 31:if(w=d.memoizedState,a===null||a.memoizedState!==null){if(j=$5(d),w!==null){if(a===null){if(!j)throw Error(M(318));if(a=d.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(M(557));a[Zs]=d}else pv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),a=!1}else w=R5(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=w),a=!0;if(!a)return d.flags&256?(y1(d),d):(y1(d),null);if((d.flags&128)!==0)throw Error(M(558))}return yo(d),null;case 13:if(j=d.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(T=$5(d),j!==null&&j.dehydrated!==null){if(a===null){if(!T)throw Error(M(318));if(T=d.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(M(317));T[Zs]=d}else pv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),T=!1}else T=R5(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=T),T=!0;if(!T)return d.flags&256?(y1(d),d):(y1(d),null)}return y1(d),(d.flags&128)!==0?(d.lanes=w,d):(w=j!==null,a=a!==null&&a.memoizedState!==null,w&&(j=d.child,T=null,j.alternate!==null&&j.alternate.memoizedState!==null&&j.alternate.memoizedState.cachePool!==null&&(T=j.alternate.memoizedState.cachePool.pool),I=null,j.memoizedState!==null&&j.memoizedState.cachePool!==null&&(I=j.memoizedState.cachePool.pool),I!==T&&(j.flags|=2048)),w!==a&&w&&(d.child.flags|=8192),Gk(d,d.updateQueue),yo(d),null);case 4:return si(),a===null&&AC(d.stateNode.containerInfo),yo(d),null;case 10:return ow(d.type),yo(d),null;case 19:if(tn(el),j=d.memoizedState,j===null)return yo(d),null;if(T=(d.flags&128)!==0,I=j.rendering,I===null)if(T)Sv(j,!1);else{if(zs!==0||a!==null&&(a.flags&128)!==0)for(a=d.child;a!==null;){if(I=Nk(a),I!==null){for(d.flags|=128,Sv(j,!1),a=I.updateQueue,d.updateQueue=a,Gk(d,a),d.subtreeFlags=0,a=w,w=d.child;w!==null;)i_(w,a),w=w.sibling;return Hn(el,el.current&1|2),ou&&cw(d,j.treeForkCount),d.child}a=a.sibling}j.tail!==null&&xl()>Yk&&(d.flags|=128,T=!0,Sv(j,!1),d.lanes=4194304)}else{if(!T)if(a=Nk(I),a!==null){if(d.flags|=128,T=!0,a=a.updateQueue,d.updateQueue=a,Gk(d,a),Sv(j,!0),j.tail===null&&j.tailMode==="hidden"&&!I.alternate&&!ou)return yo(d),null}else 2*xl()-j.renderingStartTime>Yk&&w!==536870912&&(d.flags|=128,T=!0,Sv(j,!1),d.lanes=4194304);j.isBackwards?(I.sibling=d.child,d.child=I):(a=j.last,a!==null?a.sibling=I:d.child=I,j.last=I)}return j.tail!==null?(a=j.tail,j.rendering=a,j.tail=a.sibling,j.renderingStartTime=xl(),a.sibling=null,w=el.current,Hn(el,T?w&1|2:w&1),ou&&cw(d,j.treeForkCount),a):(yo(d),null);case 22:case 23:return y1(d),EM(),j=d.memoizedState!==null,a!==null?a.memoizedState!==null!==j&&(d.flags|=8192):j&&(d.flags|=8192),j?(w&536870912)!==0&&(d.flags&128)===0&&(yo(d),d.subtreeFlags&6&&(d.flags|=8192)):yo(d),w=d.updateQueue,w!==null&&Gk(d,w.retryQueue),w=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(w=a.memoizedState.cachePool.pool),j=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(j=d.memoizedState.cachePool.pool),j!==w&&(d.flags|=2048),a!==null&&tn(mv),null;case 24:return w=null,a!==null&&(w=a.memoizedState.cache),d.memoizedState.cache!==w&&(d.flags|=2048),ow(Ml),yo(d),null;case 25:return null;case 30:return null}throw Error(M(156,d.tag))}function hU(a,d){switch(oM(d),d.tag){case 1:return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 3:return ow(Ml),si(),a=d.flags,(a&65536)!==0&&(a&128)===0?(d.flags=a&-65537|128,d):null;case 26:case 27:case 5:return Er(d),null;case 31:if(d.memoizedState!==null){if(y1(d),d.alternate===null)throw Error(M(340));pv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 13:if(y1(d),a=d.memoizedState,a!==null&&a.dehydrated!==null){if(d.alternate===null)throw Error(M(340));pv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 19:return tn(el),null;case 4:return si(),null;case 10:return ow(d.type),null;case 22:case 23:return y1(d),EM(),a!==null&&tn(mv),a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 24:return ow(Ml),null;case 25:return null;default:return null}}function tC(a,d){switch(oM(d),d.tag){case 3:ow(Ml),si();break;case 26:case 27:case 5:Er(d);break;case 4:si();break;case 31:d.memoizedState!==null&&y1(d);break;case 13:y1(d);break;case 19:tn(el);break;case 10:ow(d.type);break;case 22:case 23:y1(d),EM(),a!==null&&tn(mv);break;case 24:ow(Ml)}}function G6(a,d){try{var w=d.updateQueue,j=w!==null?w.lastEffect:null;if(j!==null){var T=j.next;w=T;do{if((w.tag&a)===a){j=void 0;var I=w.create,Q=w.inst;j=I(),Q.destroy=j}w=w.next}while(w!==T)}}catch(de){ro(d,d.return,de)}}function Zp(a,d,w){try{var j=d.updateQueue,T=j!==null?j.lastEffect:null;if(T!==null){var I=T.next;j=I;do{if((j.tag&a)===a){var Q=j.inst,de=Q.destroy;if(de!==void 0){Q.destroy=void 0,T=d;var nn=w,Pn=de;try{Pn()}catch(it){ro(T,nn,it)}}}j=j.next}while(j!==I)}}catch(it){ro(d,d.return,it)}}function q6(a){var d=a.updateQueue;if(d!==null){var w=a.stateNode;try{v_(d,w)}catch(j){ro(a,a.return,j)}}}function kL(a,d,w){w.props=Ev(a.type,a.memoizedProps),w.state=a.memoizedState;try{w.componentWillUnmount()}catch(j){ro(a,d,j)}}function U6(a,d){try{var w=a.ref;if(w!==null){switch(a.tag){case 26:case 27:case 5:var j=a.stateNode;break;case 30:j=a.stateNode;break;default:j=a.stateNode}typeof w=="function"?a.refCleanup=w(j):w.current=j}}catch(T){ro(a,d,T)}}function Db(a,d){var w=a.ref,j=a.refCleanup;if(w!==null)if(typeof j=="function")try{j()}catch(T){ro(a,d,T)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof w=="function")try{w(null)}catch(T){ro(a,d,T)}else w.current=null}function X6(a){var d=a.type,w=a.memoizedProps,j=a.stateNode;try{e:switch(d){case"button":case"input":case"select":case"textarea":w.autoFocus&&j.focus();break e;case"img":w.src?j.src=w.src:w.srcSet&&(j.srcset=w.srcSet)}}catch(T){ro(a,a.return,T)}}function iC(a,d,w){try{var j=a.stateNode;DU(j,a.type,w,d),j[Af]=d}catch(T){ro(a,a.return,T)}}function jL(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&u2(a.type)||a.tag===4}function rC(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||jL(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&u2(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function cC(a,d,w){var j=a.tag;if(j===5||j===6)a=a.stateNode,d?(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).insertBefore(a,d):(d=w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,d.appendChild(a),w=w._reactRootContainer,w!=null||d.onclick!==null||(d.onclick=tw));else if(j!==4&&(j===27&&u2(a.type)&&(w=a.stateNode,d=null),a=a.child,a!==null))for(cC(a,d,w),a=a.sibling;a!==null;)cC(a,d,w),a=a.sibling}function xv(a,d,w){var j=a.tag;if(j===5||j===6)a=a.stateNode,d?w.insertBefore(a,d):w.appendChild(a);else if(j!==4&&(j===27&&u2(a.type)&&(w=a.stateNode),a=a.child,a!==null))for(xv(a,d,w),a=a.sibling;a!==null;)xv(a,d,w),a=a.sibling}function EL(a){var d=a.stateNode,w=a.memoizedProps;try{for(var j=a.type,T=d.attributes;T.length;)d.removeAttributeNode(T[0]);la(d,j,w),d[Zs]=a,d[Af]=w}catch(I){ro(a,a.return,I)}}var _b=!1,Ol=!1,K6=!1,uC=typeof WeakSet=="function"?WeakSet:Set,Mf=null;function dU(a,d){if(a=a.containerInfo,TC=Cf,a=KD(a),YA(a)){if("selectionStart"in a)var w={start:a.selectionStart,end:a.selectionEnd};else e:{w=(w=a.ownerDocument)&&w.defaultView||window;var j=w.getSelection&&w.getSelection();if(j&&j.rangeCount!==0){w=j.anchorNode;var T=j.anchorOffset,I=j.focusNode;j=j.focusOffset;try{w.nodeType,I.nodeType}catch{w=null;break e}var Q=0,de=-1,nn=-1,Pn=0,it=0,gt=a,Gn=null;n:for(;;){for(var et;gt!==w||T!==0&>.nodeType!==3||(de=Q+T),gt!==I||j!==0&>.nodeType!==3||(nn=Q+j),gt.nodeType===3&&(Q+=gt.nodeValue.length),(et=gt.firstChild)!==null;)Gn=gt,gt=et;for(;;){if(gt===a)break n;if(Gn===w&&++Pn===T&&(de=Q),Gn===I&&++it===j&&(nn=Q),(et=gt.nextSibling)!==null)break;gt=Gn,Gn=gt.parentNode}gt=et}w=de===-1||nn===-1?null:{start:de,end:nn}}else w=null}w=w||{start:0,end:0}}else w=null;for(OC={focusedElem:a,selectionRange:w},Cf=!1,Mf=d;Mf!==null;)if(d=Mf,a=d.child,(d.subtreeFlags&1028)!==0&&a!==null)a.return=d,Mf=a;else for(;Mf!==null;){switch(d=Mf,I=d.alternate,a=d.flags,d.tag){case 0:if((a&4)!==0&&(a=d.updateQueue,a=a!==null?a.events:null,a!==null))for(w=0;w title"))),la(I,j,w),I[Zs]=a,Al(I),j=I;break e;case"link":var Q=EP("link","href",T).get(j+(w.href||""));if(Q){for(var de=0;deco&&(Q=co,co=Cr,Cr=Q);var Sn=UD(de,Cr),sn=UD(de,co);if(Sn&&sn&&(et.rangeCount!==1||et.anchorNode!==Sn.node||et.anchorOffset!==Sn.offset||et.focusNode!==sn.node||et.focusOffset!==sn.offset)){var _n=gt.createRange();_n.setStart(Sn.node,Sn.offset),et.removeAllRanges(),Cr>co?(et.addRange(_n),et.extend(sn.node,sn.offset)):(_n.setEnd(sn.node,sn.offset),et.addRange(_n))}}}}for(gt=[],et=de;et=et.parentNode;)et.nodeType===1&>.push({element:et,left:et.scrollLeft,top:et.scrollTop});for(typeof de.focus=="function"&&de.focus(),de=0;dew?32:w,xe.T=null,w=dC,dC=null;var I=i2,Q=gw;if(tf=0,W5=i2=null,gw=0,(Ju&6)!==0)throw Error(M(331));var de=Ju;if(Ju|=4,DL(I.current),OL(I,I.current,Q,w),Ju=de,e9(0,!1),ca&&typeof ca.onPostCommitFiberRoot=="function")try{ca.onPostCommitFiberRoot(Tb,I)}catch{}return!0}finally{Ge.p=T,xe.T=j,QL(a,d)}}function ZL(a,d,w){d=hd(w,d),d=UM(a.stateNode,d,2),a=Yp(a,d,2),a!==null&&(uu(a,2),Lb(a))}function ro(a,d,w){if(a.tag===3)ZL(a,a,w);else for(;d!==null;){if(d.tag===3){ZL(d,a,w);break}else if(d.tag===1){var j=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof j.componentDidCatch=="function"&&(t2===null||!t2.has(j))){a=hd(w,a),w=uL(2),j=Yp(d,w,2),j!==null&&(oL(w,j,d,a),uu(j,2),Lb(j));break}}d=d.return}}function pC(a,d,w){var j=a.pingCache;if(j===null){j=a.pingCache=new wU;var T=new Set;j.set(d,T)}else T=j.get(d),T===void 0&&(T=new Set,j.set(d,T));T.has(w)||(lC=!0,T.add(w),a=kU.bind(null,a,d,w),d.then(a,a))}function kU(a,d,w){var j=a.pingCache;j!==null&&j.delete(d),a.pingedLanes|=a.suspendedLanes&w,a.warmLanes&=~w,Do===a&&(nu&w)===w&&(zs===4||zs===3&&(nu&62914560)===nu&&300>xl()-Vk?(Ju&2)===0&&Z5(a,0):fC|=w,Q5===nu&&(Q5=0)),Lb(a)}function eP(a,d){d===0&&(d=Dp()),a=gv(a,d),a!==null&&(uu(a,d),Lb(a))}function jU(a){var d=a.memoizedState,w=0;d!==null&&(w=d.retryLane),eP(a,w)}function EU(a,d){var w=0;switch(a.tag){case 31:case 13:var j=a.stateNode,T=a.memoizedState;T!==null&&(w=T.retryLane);break;case 19:j=a.stateNode;break;case 22:j=a.stateNode._retryCache;break;default:throw Error(M(314))}j!==null&&j.delete(d),eP(a,w)}function SU(a,d){return Ia(a,d)}var tj=null,ny=null,mC=!1,ij=!1,vC=!1,c2=0;function Lb(a){a!==ny&&a.next===null&&(ny===null?tj=ny=a:ny=ny.next=a),ij=!0,mC||(mC=!0,kC())}function e9(a,d){if(!vC&&ij){vC=!0;do for(var w=!1,j=tj;j!==null;){if(a!==0){var T=j.pendingLanes;if(T===0)var I=0;else{var Q=j.suspendedLanes,de=j.pingedLanes;I=(1<<31-xf(42|a)+1)-1,I&=T&~(Q&~de),I=I&201326741?I&201326741|1:I?I|2:0}I!==0&&(w=!0,iP(j,I))}else I=nu,I=Yg(j,j===Do?I:0,j.cancelPendingCommit!==null||j.timeoutHandle!==-1),(I&3)===0||Ob(j,I)||(w=!0,iP(j,I));j=j.next}while(w);vC=!1}}function xU(){nP()}function nP(){ij=mC=!1;var a=0;c2!==0&&LU()&&(a=c2);for(var d=xl(),w=null,j=tj;j!==null;){var T=j.next,I=yC(j,d);I===0?(j.next=null,w===null?tj=T:w.next=T,T===null&&(ny=w)):(w=j,(a!==0||(I&3)!==0)&&(ij=!0)),j=T}tf!==0&&tf!==5||e9(a),c2!==0&&(c2=0)}function yC(a,d){for(var w=a.suspendedLanes,j=a.pingedLanes,T=a.expirationTimes,I=a.pendingLanes&-62914561;0de)break;var it=nn.transferSize,gt=nn.initiatorType;it&&aP(gt)&&(nn=nn.responseEnd,Q+=it*(nn"u"?null:document;function vP(a,d,w){var j=ty;if(j&&typeof d=="string"&&d){var T=$h(d);T='link[rel="'+a+'"][href="'+T+'"]',typeof w=="string"&&(T+='[crossorigin="'+w+'"]'),$C.has(T)||($C.add(T),a={rel:a,crossOrigin:w,href:d},j.querySelector(T)===null&&(d=j.createElement("link"),la(d,"link",a),Al(d),j.head.appendChild(d)))}}function GU(a){v0.D(a),vP("dns-prefetch",a,null)}function qU(a,d){v0.C(a,d),vP("preconnect",a,d)}function RC(a,d,w){v0.L(a,d,w);var j=ty;if(j&&a&&d){var T='link[rel="preload"][as="'+$h(d)+'"]';d==="image"&&w&&w.imageSrcSet?(T+='[imagesrcset="'+$h(w.imageSrcSet)+'"]',typeof w.imageSizes=="string"&&(T+='[imagesizes="'+$h(w.imageSizes)+'"]')):T+='[href="'+$h(a)+'"]';var I=T;switch(d){case"style":I=iy(a);break;case"script":I=ry(a)}x1.has(I)||(a=W({rel:"preload",href:d==="image"&&w&&w.imageSrcSet?void 0:a,as:d},w),x1.set(I,a),j.querySelector(T)!==null||d==="style"&&j.querySelector(Cv(I))||d==="script"&&j.querySelector(c9(I))||(d=j.createElement("link"),la(d,"link",a),Al(d),j.head.appendChild(d)))}}function UU(a,d){v0.m(a,d);var w=ty;if(w&&a){var j=d&&typeof d.as=="string"?d.as:"script",T='link[rel="modulepreload"][as="'+$h(j)+'"][href="'+$h(a)+'"]',I=T;switch(j){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":I=ry(a)}if(!x1.has(I)&&(a=W({rel:"modulepreload",href:a},d),x1.set(I,a),w.querySelector(T)===null)){switch(j){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(w.querySelector(c9(I)))return}j=w.createElement("link"),la(j,"link",a),Al(j),w.head.appendChild(j)}}}function XU(a,d,w){v0.S(a,d,w);var j=ty;if(j&&a){var T=Rp(j).hoistableStyles,I=iy(a);d=d||"default";var Q=T.get(I);if(!Q){var de={loading:0,preload:null};if(Q=j.querySelector(Cv(I)))de.loading=5;else{a=W({rel:"stylesheet",href:a,"data-precedence":d},w),(w=x1.get(I))&&FC(a,w);var nn=Q=j.createElement("link");Al(nn),la(nn,"link",a),nn._p=new Promise(function(Pn,it){nn.onload=Pn,nn.onerror=it}),nn.addEventListener("load",function(){de.loading|=1}),nn.addEventListener("error",function(){de.loading|=2}),de.loading|=4,lj(Q,d,j)}Q={type:"stylesheet",instance:Q,count:1,state:de},T.set(I,Q)}}}function KU(a,d){v0.X(a,d);var w=ty;if(w&&a){var j=Rp(w).hoistableScripts,T=ry(a),I=j.get(T);I||(I=w.querySelector(c9(T)),I||(a=W({src:a,async:!0},d),(d=x1.get(T))&&JC(a,d),I=w.createElement("script"),Al(I),la(I,"link",a),w.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},j.set(T,I))}}function BC(a,d){v0.M(a,d);var w=ty;if(w&&a){var j=Rp(w).hoistableScripts,T=ry(a),I=j.get(T);I||(I=w.querySelector(c9(T)),I||(a=W({src:a,async:!0,type:"module"},d),(d=x1.get(T))&&JC(a,d),I=w.createElement("script"),Al(I),la(I,"link",a),w.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},j.set(T,I))}}function yP(a,d,w,j){var T=(T=di.current)?sj(T):null;if(!T)throw Error(M(446));switch(a){case"meta":case"title":return null;case"style":return typeof w.precedence=="string"&&typeof w.href=="string"?(d=iy(w.href),w=Rp(T).hoistableStyles,j=w.get(d),j||(j={type:"style",instance:null,count:0,state:null},w.set(d,j)),j):{type:"void",instance:null,count:0,state:null};case"link":if(w.rel==="stylesheet"&&typeof w.href=="string"&&typeof w.precedence=="string"){a=iy(w.href);var I=Rp(T).hoistableStyles,Q=I.get(a);if(Q||(T=T.ownerDocument||T,Q={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},I.set(a,Q),(I=T.querySelector(Cv(a)))&&!I._p&&(Q.instance=I,Q.state.loading=5),x1.has(a)||(w={rel:"preload",as:"style",href:w.href,crossOrigin:w.crossOrigin,integrity:w.integrity,media:w.media,hrefLang:w.hrefLang,referrerPolicy:w.referrerPolicy},x1.set(a,w),I||zC(T,a,w,Q.state))),d&&j===null)throw Error(M(528,""));return Q}if(d&&j!==null)throw Error(M(529,""));return null;case"script":return d=w.async,w=w.src,typeof w=="string"&&d&&typeof d!="function"&&typeof d!="symbol"?(d=ry(w),w=Rp(T).hoistableScripts,j=w.get(d),j||(j={type:"script",instance:null,count:0,state:null},w.set(d,j)),j):{type:"void",instance:null,count:0,state:null};default:throw Error(M(444,a))}}function iy(a){return'href="'+$h(a)+'"'}function Cv(a){return'link[rel="stylesheet"]['+a+"]"}function kP(a){return W({},a,{"data-precedence":a.precedence,precedence:null})}function zC(a,d,w,j){a.querySelector('link[rel="preload"][as="style"]['+d+"]")?j.loading=1:(d=a.createElement("link"),j.preload=d,d.addEventListener("load",function(){return j.loading|=1}),d.addEventListener("error",function(){return j.loading|=2}),la(d,"link",w),Al(d),a.head.appendChild(d))}function ry(a){return'[src="'+$h(a)+'"]'}function c9(a){return"script[async]"+a}function jP(a,d,w){if(d.count++,d.instance===null)switch(d.type){case"style":var j=a.querySelector('style[data-href~="'+$h(w.href)+'"]');if(j)return d.instance=j,Al(j),j;var T=W({},w,{"data-href":w.href,"data-precedence":w.precedence,href:null,precedence:null});return j=(a.ownerDocument||a).createElement("style"),Al(j),la(j,"style",T),lj(j,w.precedence,a),d.instance=j;case"stylesheet":T=iy(w.href);var I=a.querySelector(Cv(T));if(I)return d.state.loading|=4,d.instance=I,Al(I),I;j=kP(w),(T=x1.get(T))&&FC(j,T),I=(a.ownerDocument||a).createElement("link"),Al(I);var Q=I;return Q._p=new Promise(function(de,nn){Q.onload=de,Q.onerror=nn}),la(I,"link",j),d.state.loading|=4,lj(I,w.precedence,a),d.instance=I;case"script":return I=ry(w.src),(T=a.querySelector(c9(I)))?(d.instance=T,Al(T),T):(j=w,(T=x1.get(I))&&(j=W({},w),JC(j,T)),a=a.ownerDocument||a,T=a.createElement("script"),Al(T),la(T,"link",j),a.head.appendChild(T),d.instance=T);case"void":return null;default:throw Error(M(443,d.type))}else d.type==="stylesheet"&&(d.state.loading&4)===0&&(j=d.instance,d.state.loading|=4,lj(j,w.precedence,a));return d.instance}function lj(a,d,w){for(var j=w.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),T=j.length?j[j.length-1]:null,I=T,Q=0;Q title"):null)}function VU(a,d,w){if(w===1||d.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof d.precedence!="string"||typeof d.href!="string"||d.href==="")break;return!0;case"link":if(typeof d.rel!="string"||typeof d.href!="string"||d.href===""||d.onLoad||d.onError)break;return d.rel==="stylesheet"?(a=d.disabled,typeof d.precedence=="string"&&a==null):!0;case"script":if(d.async&&typeof d.async!="function"&&typeof d.async!="symbol"&&!d.onLoad&&!d.onError&&d.src&&typeof d.src=="string")return!0}return!1}function xP(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function YU(a,d,w,j){if(w.type==="stylesheet"&&(typeof j.media!="string"||matchMedia(j.media).matches!==!1)&&(w.state.loading&4)===0){if(w.instance===null){var T=iy(j.href),I=d.querySelector(Cv(T));if(I){d=I._p,d!==null&&typeof d=="object"&&typeof d.then=="function"&&(a.count++,a=u9.bind(a),d.then(a,a)),w.state.loading|=4,w.instance=I,Al(I);return}I=d.ownerDocument||d,j=kP(j),(T=x1.get(T))&&FC(j,T),I=I.createElement("link"),Al(I);var Q=I;Q._p=new Promise(function(de,nn){Q.onload=de,Q.onerror=nn}),la(I,"link",j),w.instance=I}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(w,d),(d=w.state.preload)&&(w.state.loading&3)===0&&(a.count++,w=u9.bind(a),d.addEventListener("load",w),d.addEventListener("error",w))}}var HC=0;function QU(a,d){return a.stylesheets&&a.count===0&&Tv(a,a.stylesheets),0HC?50:800)+d);return a.unsuspend=w,function(){a.unsuspend=null,clearTimeout(j),clearTimeout(T)}}:null}function u9(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tv(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var o9=null;function Tv(a,d){a.stylesheets=null,a.unsuspend!==null&&(a.count++,o9=new Map,d.forEach(s9,a),o9=null,u9.call(a))}function s9(a,d){if(!(d.state.loading&4)){var w=o9.get(a);if(w)var j=w.get(null);else{w=new Map,o9.set(a,w);for(var T=a.querySelectorAll("link[data-precedence],style[data-precedence]"),I=0;I"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(E){console.error(E)}}return b(),I7e.exports=wzn(),I7e.exports}var mzn=pzn();function Ws(b){return b==null?"":JSON.stringify(rke(b))}function rke(b){return Array.isArray(b)?b.map(rke):b&&typeof b=="object"?Object.fromEntries(Object.entries(b).sort(([E],[x])=>E.localeCompare(x)).map(([E,x])=>[E,rke(x)])):b}function d5(b){return b?JSON.parse(b):null}function pue(b){const E=Oa(b.objectId);return b.name&&b.name!==E?`${b.name} · ID: ${E}`:E}function Oa(b){if(!b||typeof b!="object")return String(b);const E=b;if(E.type==="Tuple"&&Array.isArray(E.items))return`(${E.items.map(Oa).join(", ")})`;if(E.type==="NamedTuple"&&Array.isArray(E.items)&&Array.isArray(E.names)){const x=E.names;return`(${E.items.map((M,N)=>`${x[N]}=${Oa(M)}`).join(", ")})`}return E.type==="Pair"?`${Oa(E.first)} => ${Oa(E.second)}`:E.type==="Symbol"?`:${String(E.value)}`:"value"in E?Oa(E.value):String(E.repr??JSON.stringify(b))}function vzn(b,E){return!b||b.type!=="Scope"?null:"id"in b?b.id:E.find(M=>M.instance===b.name&&!E.some(N=>N.id===M.parent&&N.instance===b.name))?.objectId??b.name}function mue({label:b,value:E,objects:x,onChange:M,emptyLabel:N="Any"}){return _.jsxs("label",{children:[b,_.jsxs("select",{value:E,onChange:$=>M($.target.value),children:[_.jsx("option",{value:"",children:N}),x.map($=>_.jsx("option",{value:Ws($.objectId),children:pue($)},Ws($.objectId)))]})]})}function Na(b){if(typeof b=="string"||typeof b=="number")return""+b;let E="";if(Array.isArray(b))for(let x=0,M;x{}};function Iue(){for(var b=0,E=arguments.length,x={},M;b=0&&(M=x.slice(N+1),x=x.slice(0,N)),x&&!E.hasOwnProperty(x))throw new Error("unknown type: "+x);return{type:x,name:M}})}aue.prototype=Iue.prototype={constructor:aue,on:function(b,E){var x=this._,M=kzn(b+"",x),N,$=-1,k=M.length;if(arguments.length<2){for(;++$0)for(var x=new Array(N),M=0,N,$;M=0&&(E=b.slice(0,x))!=="xmlns"&&(b=b.slice(x+1)),Zhn.hasOwnProperty(E)?{space:Zhn[E],local:b}:b}function Ezn(b){return function(){var E=this.ownerDocument,x=this.namespaceURI;return x===cke&&E.documentElement.namespaceURI===cke?E.createElement(b):E.createElementNS(x,b)}}function Szn(b){return function(){return this.ownerDocument.createElementNS(b.space,b.local)}}function gdn(b){var E=Due(b);return(E.local?Szn:Ezn)(E)}function xzn(){}function kke(b){return b==null?xzn:function(){return this.querySelector(b)}}function Azn(b){typeof b!="function"&&(b=kke(b));for(var E=this._groups,x=E.length,M=new Array(x),N=0;N=ae&&(ae=Pe+1);!(Ue=Me[ae])&&++ae=0;)(k=M[N])&&($&&k.compareDocumentPosition($)^4&&$.parentNode.insertBefore(k,$),$=k);return this}function Qzn(b){b||(b=Wzn);function E(W,Z){return W&&Z?b(W.__data__,Z.__data__):!W-!Z}for(var x=this._groups,M=x.length,N=new Array(M),$=0;$E?1:b>=E?0:NaN}function Zzn(){var b=arguments[0];return arguments[0]=this,b.apply(null,arguments),this}function eFn(){return Array.from(this)}function nFn(){for(var b=this._groups,E=0,x=b.length;E1?this.each((E==null?hFn:typeof E=="function"?bFn:dFn)(b,E,x??"")):wD(this.node(),b)}function wD(b,E){return b.style.getPropertyValue(E)||ydn(b).getComputedStyle(b,null).getPropertyValue(E)}function wFn(b){return function(){delete this[b]}}function pFn(b,E){return function(){this[b]=E}}function mFn(b,E){return function(){var x=E.apply(this,arguments);x==null?delete this[b]:this[b]=x}}function vFn(b,E){return arguments.length>1?this.each((E==null?wFn:typeof E=="function"?mFn:pFn)(b,E)):this.node()[b]}function kdn(b){return b.trim().split(/^|\s+/)}function jke(b){return b.classList||new jdn(b)}function jdn(b){this._node=b,this._names=kdn(b.getAttribute("class")||"")}jdn.prototype={add:function(b){var E=this._names.indexOf(b);E<0&&(this._names.push(b),this._node.setAttribute("class",this._names.join(" ")))},remove:function(b){var E=this._names.indexOf(b);E>=0&&(this._names.splice(E,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(b){return this._names.indexOf(b)>=0}};function Edn(b,E){for(var x=jke(b),M=-1,N=E.length;++M=0&&(x=E.slice(M+1),E=E.slice(0,M)),{type:E,name:x}})}function XFn(b){return function(){var E=this.__on;if(E){for(var x=0,M=-1,N=E.length,$;x()=>b;function uke(b,{sourceEvent:E,subject:x,target:M,identifier:N,active:$,x:k,y:H,dx:q,dy:G,dispatch:ie}){Object.defineProperties(this,{type:{value:b,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},subject:{value:x,enumerable:!0,configurable:!0},target:{value:M,enumerable:!0,configurable:!0},identifier:{value:N,enumerable:!0,configurable:!0},active:{value:$,enumerable:!0,configurable:!0},x:{value:k,enumerable:!0,configurable:!0},y:{value:H,enumerable:!0,configurable:!0},dx:{value:q,enumerable:!0,configurable:!0},dy:{value:G,enumerable:!0,configurable:!0},_:{value:ie}})}uke.prototype.on=function(){var b=this._.on.apply(this._,arguments);return b===this._?this:b};function iJn(b){return!b.ctrlKey&&!b.button}function rJn(){return this.parentNode}function cJn(b,E){return E??{x:b.x,y:b.y}}function uJn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Tdn(){var b=iJn,E=rJn,x=cJn,M=uJn,N={},$=Iue("start","drag","end"),k=0,H,q,G,ie,W=0;function Z(Ne){Ne.on("mousedown.drag",se).filter(M).on("touchstart.drag",Me).on("touchmove.drag",me,tJn).on("touchend.drag touchcancel.drag",Pe).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function se(Ne,Ue){if(!(ie||!b.call(this,Ne,Ue))){var ln=ae(this,E.call(this,Ne,Ue),Ne,Ue,"mouse");ln&&(Gg(Ne.view).on("mousemove.drag",oe,HG).on("mouseup.drag",ee,HG),Mdn(Ne.view),P7e(Ne),G=!1,H=Ne.clientX,q=Ne.clientY,ln("start",Ne))}}function oe(Ne){if(bD(Ne),!G){var Ue=Ne.clientX-H,ln=Ne.clientY-q;G=Ue*Ue+ln*ln>W}N.mouse("drag",Ne)}function ee(Ne){Gg(Ne.view).on("mousemove.drag mouseup.drag",null),Cdn(Ne.view,G),bD(Ne),N.mouse("end",Ne)}function Me(Ne,Ue){if(b.call(this,Ne,Ue)){var ln=Ne.changedTouches,on=E.call(this,Ne,Ue),An=ln.length,xn,tt;for(xn=0;xn>8&15|E>>4&240,E>>4&15|E&240,(E&15)<<4|E&15,1):x===8?Wce(E>>24&255,E>>16&255,E>>8&255,(E&255)/255):x===4?Wce(E>>12&15|E>>8&240,E>>8&15|E>>4&240,E>>4&15|E&240,((E&15)<<4|E&15)/255):null):(E=sJn.exec(b))?new Mb(E[1],E[2],E[3],1):(E=lJn.exec(b))?new Mb(E[1]*255/100,E[2]*255/100,E[3]*255/100,1):(E=fJn.exec(b))?Wce(E[1],E[2],E[3],E[4]):(E=aJn.exec(b))?Wce(E[1]*255/100,E[2]*255/100,E[3]*255/100,E[4]):(E=hJn.exec(b))?u1n(E[1],E[2]/100,E[3]/100,1):(E=dJn.exec(b))?u1n(E[1],E[2]/100,E[3]/100,E[4]):e1n.hasOwnProperty(b)?i1n(e1n[b]):b==="transparent"?new Mb(NaN,NaN,NaN,0):null}function i1n(b){return new Mb(b>>16&255,b>>8&255,b&255,1)}function Wce(b,E,x,M){return M<=0&&(b=E=x=NaN),new Mb(b,E,x,M)}function wJn(b){return b instanceof nq||(b=CA(b)),b?(b=b.rgb(),new Mb(b.r,b.g,b.b,b.opacity)):new Mb}function oke(b,E,x,M){return arguments.length===1?wJn(b):new Mb(b,E,x,M??1)}function Mb(b,E,x,M){this.r=+b,this.g=+E,this.b=+x,this.opacity=+M}Eke(Mb,oke,Odn(nq,{brighter(b){return b=b==null?yue:Math.pow(yue,b),new Mb(this.r*b,this.g*b,this.b*b,this.opacity)},darker(b){return b=b==null?GG:Math.pow(GG,b),new Mb(this.r*b,this.g*b,this.b*b,this.opacity)},rgb(){return this},clamp(){return new Mb(xA(this.r),xA(this.g),xA(this.b),kue(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:r1n,formatHex:r1n,formatHex8:pJn,formatRgb:c1n,toString:c1n}));function r1n(){return`#${SA(this.r)}${SA(this.g)}${SA(this.b)}`}function pJn(){return`#${SA(this.r)}${SA(this.g)}${SA(this.b)}${SA((isNaN(this.opacity)?1:this.opacity)*255)}`}function c1n(){const b=kue(this.opacity);return`${b===1?"rgb(":"rgba("}${xA(this.r)}, ${xA(this.g)}, ${xA(this.b)}${b===1?")":`, ${b})`}`}function kue(b){return isNaN(b)?1:Math.max(0,Math.min(1,b))}function xA(b){return Math.max(0,Math.min(255,Math.round(b)||0))}function SA(b){return b=xA(b),(b<16?"0":"")+b.toString(16)}function u1n(b,E,x,M){return M<=0?b=E=x=NaN:x<=0||x>=1?b=E=NaN:E<=0&&(b=NaN),new iv(b,E,x,M)}function Ndn(b){if(b instanceof iv)return new iv(b.h,b.s,b.l,b.opacity);if(b instanceof nq||(b=CA(b)),!b)return new iv;if(b instanceof iv)return b;b=b.rgb();var E=b.r/255,x=b.g/255,M=b.b/255,N=Math.min(E,x,M),$=Math.max(E,x,M),k=NaN,H=$-N,q=($+N)/2;return H?(E===$?k=(x-M)/H+(x0&&q<1?0:k,new iv(k,H,q,b.opacity)}function mJn(b,E,x,M){return arguments.length===1?Ndn(b):new iv(b,E,x,M??1)}function iv(b,E,x,M){this.h=+b,this.s=+E,this.l=+x,this.opacity=+M}Eke(iv,mJn,Odn(nq,{brighter(b){return b=b==null?yue:Math.pow(yue,b),new iv(this.h,this.s,this.l*b,this.opacity)},darker(b){return b=b==null?GG:Math.pow(GG,b),new iv(this.h,this.s,this.l*b,this.opacity)},rgb(){var b=this.h%360+(this.h<0)*360,E=isNaN(b)||isNaN(this.s)?0:this.s,x=this.l,M=x+(x<.5?x:1-x)*E,N=2*x-M;return new Mb($7e(b>=240?b-240:b+120,N,M),$7e(b,N,M),$7e(b<120?b+240:b-120,N,M),this.opacity)},clamp(){return new iv(o1n(this.h),Zce(this.s),Zce(this.l),kue(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 b=kue(this.opacity);return`${b===1?"hsl(":"hsla("}${o1n(this.h)}, ${Zce(this.s)*100}%, ${Zce(this.l)*100}%${b===1?")":`, ${b})`}`}}));function o1n(b){return b=(b||0)%360,b<0?b+360:b}function Zce(b){return Math.max(0,Math.min(1,b||0))}function $7e(b,E,x){return(b<60?E+(x-E)*b/60:b<180?x:b<240?E+(x-E)*(240-b)/60:E)*255}const Ske=b=>()=>b;function vJn(b,E){return function(x){return b+x*E}}function yJn(b,E,x){return b=Math.pow(b,x),E=Math.pow(E,x)-b,x=1/x,function(M){return Math.pow(b+M*E,x)}}function kJn(b){return(b=+b)==1?Idn:function(E,x){return x-E?yJn(E,x,b):Ske(isNaN(E)?x:E)}}function Idn(b,E){var x=E-b;return x?vJn(b,x):Ske(isNaN(b)?E:b)}const jue=(function b(E){var x=kJn(E);function M(N,$){var k=x((N=oke(N)).r,($=oke($)).r),H=x(N.g,$.g),q=x(N.b,$.b),G=Idn(N.opacity,$.opacity);return function(ie){return N.r=k(ie),N.g=H(ie),N.b=q(ie),N.opacity=G(ie),N+""}}return M.gamma=b,M})(1);function jJn(b,E){E||(E=[]);var x=b?Math.min(E.length,b.length):0,M=E.slice(),N;return function($){for(N=0;Nx&&($=E.slice(x,$),H[k]?H[k]+=$:H[++k]=$),(M=M[0])===(N=N[0])?H[k]?H[k]+=N:H[++k]=N:(H[++k]=null,q.push({i:k,x:h5(M,N)})),x=R7e.lastIndex;return x180?ie+=360:ie-G>180&&(G+=360),Z.push({i:W.push(N(W)+"rotate(",null,M)-2,x:h5(G,ie)})):ie&&W.push(N(W)+"rotate("+ie+M)}function H(G,ie,W,Z){G!==ie?Z.push({i:W.push(N(W)+"skewX(",null,M)-2,x:h5(G,ie)}):ie&&W.push(N(W)+"skewX("+ie+M)}function q(G,ie,W,Z,se,oe){if(G!==W||ie!==Z){var ee=se.push(N(se)+"scale(",null,",",null,")");oe.push({i:ee-4,x:h5(G,W)},{i:ee-2,x:h5(ie,Z)})}else(W!==1||Z!==1)&&se.push(N(se)+"scale("+W+","+Z+")")}return function(G,ie){var W=[],Z=[];return G=b(G),ie=b(ie),$(G.translateX,G.translateY,ie.translateX,ie.translateY,W,Z),k(G.rotate,ie.rotate,W,Z),H(G.skewX,ie.skewX,W,Z),q(G.scaleX,G.scaleY,ie.scaleX,ie.scaleY,W,Z),G=ie=null,function(se){for(var oe=-1,ee=Z.length,Me;++oe=0&&b._call.call(void 0,E),b=b._next;--pD}function f1n(){TA=(Sue=UG.now())+_ue,pD=RG=0;try{$Jn()}finally{pD=0,BJn(),TA=0}}function RJn(){var b=UG.now(),E=b-Sue;E>Pdn&&(_ue-=E,Sue=b)}function BJn(){for(var b,E=Eue,x,M=1/0;E;)E._call?(M>E._time&&(M=E._time),b=E,E=E._next):(x=E._next,E._next=null,E=b?b._next=x:Eue=x);BG=b,fke(M)}function fke(b){if(!pD){RG&&(RG=clearTimeout(RG));var E=b-TA;E>24?(b<1/0&&(RG=setTimeout(f1n,b-UG.now()-_ue)),PG&&(PG=clearInterval(PG))):(PG||(Sue=UG.now(),PG=setInterval(RJn,Pdn)),pD=1,$dn(f1n))}}function a1n(b,E,x){var M=new xue;return E=E==null?0:+E,M.restart(N=>{M.stop(),b(N+E)},E,x),M}var zJn=Iue("start","end","cancel","interrupt"),FJn=[],Bdn=0,h1n=1,ake=2,due=3,d1n=4,hke=5,bue=6;function Lue(b,E,x,M,N,$){var k=b.__transition;if(!k)b.__transition={};else if(x in k)return;JJn(b,x,{name:E,index:M,group:N,on:zJn,tween:FJn,time:$.time,delay:$.delay,duration:$.duration,ease:$.ease,timer:null,state:Bdn})}function Ake(b,E){var x=uv(b,E);if(x.state>Bdn)throw new Error("too late; already scheduled");return x}function p5(b,E){var x=uv(b,E);if(x.state>due)throw new Error("too late; already running");return x}function uv(b,E){var x=b.__transition;if(!x||!(x=x[E]))throw new Error("transition not found");return x}function JJn(b,E,x){var M=b.__transition,N;M[E]=x,x.timer=Rdn($,0,x.time);function $(G){x.state=h1n,x.timer.restart(k,x.delay,x.time),x.delay<=G&&k(G-x.delay)}function k(G){var ie,W,Z,se;if(x.state!==h1n)return q();for(ie in M)if(se=M[ie],se.name===x.name){if(se.state===due)return a1n(k);se.state===d1n?(se.state=bue,se.timer.stop(),se.on.call("interrupt",b,b.__data__,se.index,se.group),delete M[ie]):+ieake&&M.state=0&&(E=E.slice(0,x)),!E||E==="start"})}function mHn(b,E,x){var M,N,$=pHn(E)?Ake:p5;return function(){var k=$(this,b),H=k.on;H!==M&&(N=(M=H).copy()).on(E,x),k.on=N}}function vHn(b,E){var x=this._id;return arguments.length<2?uv(this.node(),x).on.on(b):this.each(mHn(x,b,E))}function yHn(b){return function(){var E=this.parentNode;for(var x in this.__transition)if(+x!==b)return;E&&E.removeChild(this)}}function kHn(){return this.on("end.remove",yHn(this._id))}function jHn(b){var E=this._name,x=this._id;typeof b!="function"&&(b=kke(b));for(var M=this._groups,N=M.length,$=new Array(N),k=0;k()=>b;function XHn(b,{sourceEvent:E,target:x,transform:M,dispatch:N}){Object.defineProperties(this,{type:{value:b,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},transform:{value:M,enumerable:!0,configurable:!0},_:{value:N}})}function l6(b,E,x){this.k=b,this.x=E,this.y=x}l6.prototype={constructor:l6,scale:function(b){return b===1?this:new l6(this.k*b,this.x,this.y)},translate:function(b,E){return b===0&E===0?this:new l6(this.k,this.x+this.k*b,this.y+this.k*E)},apply:function(b){return[b[0]*this.k+this.x,b[1]*this.k+this.y]},applyX:function(b){return b*this.k+this.x},applyY:function(b){return b*this.k+this.y},invert:function(b){return[(b[0]-this.x)/this.k,(b[1]-this.y)/this.k]},invertX:function(b){return(b-this.x)/this.k},invertY:function(b){return(b-this.y)/this.k},rescaleX:function(b){return b.copy().domain(b.range().map(this.invertX,this).map(b.invert,b))},rescaleY:function(b){return b.copy().domain(b.range().map(this.invertY,this).map(b.invert,b))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Pue=new l6(1,0,0);Hdn.prototype=l6.prototype;function Hdn(b){for(;!b.__zoom;)if(!(b=b.parentNode))return Pue;return b.__zoom}function B7e(b){b.stopImmediatePropagation()}function $G(b){b.preventDefault(),b.stopImmediatePropagation()}function KHn(b){return(!b.ctrlKey||b.type==="wheel")&&!b.button}function VHn(){var b=this;return b instanceof SVGElement?(b=b.ownerSVGElement||b,b.hasAttribute("viewBox")?(b=b.viewBox.baseVal,[[b.x,b.y],[b.x+b.width,b.y+b.height]]):[[0,0],[b.width.baseVal.value,b.height.baseVal.value]]):[[0,0],[b.clientWidth,b.clientHeight]]}function b1n(){return this.__zoom||Pue}function YHn(b){return-b.deltaY*(b.deltaMode===1?.05:b.deltaMode?1:.002)*(b.ctrlKey?10:1)}function QHn(){return navigator.maxTouchPoints||"ontouchstart"in this}function WHn(b,E,x){var M=b.invertX(E[0][0])-x[0][0],N=b.invertX(E[1][0])-x[1][0],$=b.invertY(E[0][1])-x[0][1],k=b.invertY(E[1][1])-x[1][1];return b.translate(N>M?(M+N)/2:Math.min(0,M)||Math.max(0,N),k>$?($+k)/2:Math.min(0,$)||Math.max(0,k))}function Gdn(){var b=KHn,E=VHn,x=WHn,M=YHn,N=QHn,$=[0,1/0],k=[[-1/0,-1/0],[1/0,1/0]],H=250,q=hue,G=Iue("start","zoom","end"),ie,W,Z,se=500,oe=150,ee=0,Me=10;function me(Fe){Fe.property("__zoom",b1n).on("wheel.zoom",An,{passive:!1}).on("mousedown.zoom",xn).on("dblclick.zoom",tt).filter(N).on("touchstart.zoom",mn).on("touchmove.zoom",vn).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}me.transform=function(Fe,wn,xe,Ge){var fn=Fe.selection?Fe.selection():Fe;fn.property("__zoom",b1n),Fe!==fn?Ue(Fe,wn,xe,Ge):fn.interrupt().each(function(){ln(this,arguments).event(Ge).start().zoom(null,typeof wn=="function"?wn.apply(this,arguments):wn).end()})},me.scaleBy=function(Fe,wn,xe,Ge){me.scaleTo(Fe,function(){var fn=this.__zoom.k,$e=typeof wn=="function"?wn.apply(this,arguments):wn;return fn*$e},xe,Ge)},me.scaleTo=function(Fe,wn,xe,Ge){me.transform(Fe,function(){var fn=E.apply(this,arguments),$e=this.__zoom,Mn=xe==null?Ne(fn):typeof xe=="function"?xe.apply(this,arguments):xe,ge=$e.invert(Mn),tn=typeof wn=="function"?wn.apply(this,arguments):wn;return x(ae(Pe($e,tn),Mn,ge),fn,k)},xe,Ge)},me.translateBy=function(Fe,wn,xe,Ge){me.transform(Fe,function(){return x(this.__zoom.translate(typeof wn=="function"?wn.apply(this,arguments):wn,typeof xe=="function"?xe.apply(this,arguments):xe),E.apply(this,arguments),k)},null,Ge)},me.translateTo=function(Fe,wn,xe,Ge,fn){me.transform(Fe,function(){var $e=E.apply(this,arguments),Mn=this.__zoom,ge=Ge==null?Ne($e):typeof Ge=="function"?Ge.apply(this,arguments):Ge;return x(Pue.translate(ge[0],ge[1]).scale(Mn.k).translate(typeof wn=="function"?-wn.apply(this,arguments):-wn,typeof xe=="function"?-xe.apply(this,arguments):-xe),$e,k)},Ge,fn)};function Pe(Fe,wn){return wn=Math.max($[0],Math.min($[1],wn)),wn===Fe.k?Fe:new l6(wn,Fe.x,Fe.y)}function ae(Fe,wn,xe){var Ge=wn[0]-xe[0]*Fe.k,fn=wn[1]-xe[1]*Fe.k;return Ge===Fe.x&&fn===Fe.y?Fe:new l6(Fe.k,Ge,fn)}function Ne(Fe){return[(+Fe[0][0]+ +Fe[1][0])/2,(+Fe[0][1]+ +Fe[1][1])/2]}function Ue(Fe,wn,xe,Ge){Fe.on("start.zoom",function(){ln(this,arguments).event(Ge).start()}).on("interrupt.zoom end.zoom",function(){ln(this,arguments).event(Ge).end()}).tween("zoom",function(){var fn=this,$e=arguments,Mn=ln(fn,$e).event(Ge),ge=E.apply(fn,$e),tn=xe==null?Ne(ge):typeof xe=="function"?xe.apply(fn,$e):xe,Hn=Math.max(ge[1][0]-ge[0][0],ge[1][1]-ge[0][1]),ut=fn.__zoom,Jt=typeof wn=="function"?wn.apply(fn,$e):wn,di=q(ut.invert(tn).concat(Hn/ut.k),Jt.invert(tn).concat(Hn/Jt.k));return function(Gt){if(Gt===1)Gt=Jt;else{var At=di(Gt),si=Hn/At[2];Gt=new l6(si,tn[0]-At[0]*si,tn[1]-At[1]*si)}Mn.zoom(null,Gt)}})}function ln(Fe,wn,xe){return!xe&&Fe.__zooming||new on(Fe,wn)}function on(Fe,wn){this.that=Fe,this.args=wn,this.active=0,this.sourceEvent=null,this.extent=E.apply(Fe,wn),this.taps=0}on.prototype={event:function(Fe){return Fe&&(this.sourceEvent=Fe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Fe,wn){return this.mouse&&Fe!=="mouse"&&(this.mouse[1]=wn.invert(this.mouse[0])),this.touch0&&Fe!=="touch"&&(this.touch0[1]=wn.invert(this.touch0[0])),this.touch1&&Fe!=="touch"&&(this.touch1[1]=wn.invert(this.touch1[0])),this.that.__zoom=wn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Fe){var wn=Gg(this.that).datum();G.call(Fe,this.that,new XHn(Fe,{sourceEvent:this.sourceEvent,target:me,transform:this.that.__zoom,dispatch:G}),wn)}};function An(Fe,...wn){if(!b.apply(this,arguments))return;var xe=ln(this,wn).event(Fe),Ge=this.__zoom,fn=Math.max($[0],Math.min($[1],Ge.k*Math.pow(2,M.apply(this,arguments)))),$e=tv(Fe);if(xe.wheel)(xe.mouse[0][0]!==$e[0]||xe.mouse[0][1]!==$e[1])&&(xe.mouse[1]=Ge.invert(xe.mouse[0]=$e)),clearTimeout(xe.wheel);else{if(Ge.k===fn)return;xe.mouse=[$e,Ge.invert($e)],gue(this),xe.start()}$G(Fe),xe.wheel=setTimeout(Mn,oe),xe.zoom("mouse",x(ae(Pe(Ge,fn),xe.mouse[0],xe.mouse[1]),xe.extent,k));function Mn(){xe.wheel=null,xe.end()}}function xn(Fe,...wn){if(Z||!b.apply(this,arguments))return;var xe=Fe.currentTarget,Ge=ln(this,wn,!0).event(Fe),fn=Gg(Fe.view).on("mousemove.zoom",tn,!0).on("mouseup.zoom",Hn,!0),$e=tv(Fe,xe),Mn=Fe.clientX,ge=Fe.clientY;Mdn(Fe.view),B7e(Fe),Ge.mouse=[$e,this.__zoom.invert($e)],gue(this),Ge.start();function tn(ut){if($G(ut),!Ge.moved){var Jt=ut.clientX-Mn,di=ut.clientY-ge;Ge.moved=Jt*Jt+di*di>ee}Ge.event(ut).zoom("mouse",x(ae(Ge.that.__zoom,Ge.mouse[0]=tv(ut,xe),Ge.mouse[1]),Ge.extent,k))}function Hn(ut){fn.on("mousemove.zoom mouseup.zoom",null),Cdn(ut.view,Ge.moved),$G(ut),Ge.event(ut).end()}}function tt(Fe,...wn){if(b.apply(this,arguments)){var xe=this.__zoom,Ge=tv(Fe.changedTouches?Fe.changedTouches[0]:Fe,this),fn=xe.invert(Ge),$e=xe.k*(Fe.shiftKey?.5:2),Mn=x(ae(Pe(xe,$e),Ge,fn),E.apply(this,wn),k);$G(Fe),H>0?Gg(this).transition().duration(H).call(Ue,Mn,Ge,Fe):Gg(this).call(me.transform,Mn,Ge,Fe)}}function mn(Fe,...wn){if(b.apply(this,arguments)){var xe=Fe.touches,Ge=xe.length,fn=ln(this,wn,Fe.changedTouches.length===Ge).event(Fe),$e,Mn,ge,tn;for(B7e(Fe),Mn=0;Mn"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:b=>`Node type "${b}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:b=>`The old edge with id=${b} does not exist.`,error009:b=>`Marker type "${b}" doesn't exist.`,error008:(b,{id:E,sourceHandle:x,targetHandle:M})=>`Couldn't create edge for ${b} handle id: "${b==="source"?x:M}", edge id: ${E}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:b=>`Edge type "${b}" not found. Using fallback type "default".`,error012:b=>`Node with id "${b}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(b="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${b}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},XG=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],qdn=["Enter"," ","Escape"],Udn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:b,x:E,y:x})=>`Moved selected node ${b}. New position, x: ${E}, y: ${x}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var mD;(function(b){b.Strict="strict",b.Loose="loose"})(mD||(mD={}));var AA;(function(b){b.Free="free",b.Vertical="vertical",b.Horizontal="horizontal"})(AA||(AA={}));var KG;(function(b){b.Partial="partial",b.Full="full"})(KG||(KG={}));const Xdn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var ik;(function(b){b.Bezier="default",b.Straight="straight",b.Step="step",b.SmoothStep="smoothstep",b.SimpleBezier="simplebezier"})(ik||(ik={}));var VG;(function(b){b.Arrow="arrow",b.ArrowClosed="arrowclosed"})(VG||(VG={}));var ur;(function(b){b.Left="left",b.Top="top",b.Right="right",b.Bottom="bottom"})(ur||(ur={}));const g1n={[ur.Left]:ur.Right,[ur.Right]:ur.Left,[ur.Top]:ur.Bottom,[ur.Bottom]:ur.Top};function Kdn(b){return b===null?null:b?"valid":"invalid"}const Vdn=b=>"id"in b&&"source"in b&&"target"in b,ZHn=b=>"id"in b&&"position"in b&&!("source"in b)&&!("target"in b),Cke=b=>"id"in b&&"internals"in b&&!("source"in b)&&!("target"in b),tq=(b,E=[0,0])=>{const{width:x,height:M}=a6(b),N=b.origin??E,$=x*N[0],k=M*N[1];return{x:b.position.x-$,y:b.position.y-k}},eGn=(b,E={nodeOrigin:[0,0]})=>{if(b.length===0)return{x:0,y:0,width:0,height:0};const x=b.reduce((M,N)=>{const $=typeof N=="string";let k=!E.nodeLookup&&!$?N:void 0;E.nodeLookup&&(k=$?E.nodeLookup.get(N):Cke(N)?N:E.nodeLookup.get(N.id));const H=k?Aue(k,E.nodeOrigin):{x:0,y:0,x2:0,y2:0};return $ue(M,H)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Rue(x)},iq=(b,E={})=>{let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},M=!1;return b.forEach(N=>{(E.filter===void 0||E.filter(N))&&(x=$ue(x,Aue(N)),M=!0)}),M?Rue(x):{x:0,y:0,width:0,height:0}},Tke=(b,E,[x,M,N]=[0,0,1],$=!1,k=!1)=>{const H={...cq(E,[x,M,N]),width:E.width/N,height:E.height/N},q=[];for(const G of b.values()){const{measured:ie,selectable:W=!0,hidden:Z=!1}=G;if(k&&!W||Z)continue;const se=ie.width??G.width??G.initialWidth??null,oe=ie.height??G.height??G.initialHeight??null,ee=YG(H,yD(G)),Me=(se??0)*(oe??0),me=$&&ee>0;(!G.internals.handleBounds||me||ee>=Me||G.dragging)&&q.push(G)}return q},nGn=(b,E)=>{const x=new Set;return b.forEach(M=>{x.add(M.id)}),E.filter(M=>x.has(M.source)||x.has(M.target))};function tGn(b,E){const x=new Map,M=E?.nodes?new Set(E.nodes.map(N=>N.id)):null;return b.forEach(N=>{N.measured.width&&N.measured.height&&(E?.includeHiddenNodes||!N.hidden)&&(!M||M.has(N.id))&&x.set(N.id,N)}),x}async function iGn({nodes:b,width:E,height:x,panZoom:M,minZoom:N,maxZoom:$},k){if(b.size===0)return Promise.resolve(!0);const H=tGn(b,k),q=iq(H),G=Oke(q,E,x,k?.minZoom??N,k?.maxZoom??$,k?.padding??.1);return await M.setViewport(G,{duration:k?.duration,ease:k?.ease,interpolate:k?.interpolate}),Promise.resolve(!0)}function Ydn({nodeId:b,nextPosition:E,nodeLookup:x,nodeOrigin:M=[0,0],nodeExtent:N,onError:$}){const k=x.get(b),H=k.parentId?x.get(k.parentId):void 0,{x:q,y:G}=H?H.internals.positionAbsolute:{x:0,y:0},ie=k.origin??M;let W=k.extent||N;if(k.extent==="parent"&&!k.expandParent)if(!H)$?.("005",g5.error005());else{const se=H.measured.width,oe=H.measured.height;se&&oe&&(W=[[q,G],[q+se,G+oe]])}else H&&kD(k.extent)&&(W=[[k.extent[0][0]+q,k.extent[0][1]+G],[k.extent[1][0]+q,k.extent[1][1]+G]]);const Z=kD(W)?OA(E,W,k.measured):E;return(k.measured.width===void 0||k.measured.height===void 0)&&$?.("015",g5.error015()),{position:{x:Z.x-q+(k.measured.width??0)*ie[0],y:Z.y-G+(k.measured.height??0)*ie[1]},positionAbsolute:Z}}async function rGn({nodesToRemove:b=[],edgesToRemove:E=[],nodes:x,edges:M,onBeforeDelete:N}){const $=new Set(b.map(Z=>Z.id)),k=[];for(const Z of x){if(Z.deletable===!1)continue;const se=$.has(Z.id),oe=!se&&Z.parentId&&k.find(ee=>ee.id===Z.parentId);(se||oe)&&k.push(Z)}const H=new Set(E.map(Z=>Z.id)),q=M.filter(Z=>Z.deletable!==!1),ie=nGn(k,q);for(const Z of q)H.has(Z.id)&&!ie.find(oe=>oe.id===Z.id)&&ie.push(Z);if(!N)return{edges:ie,nodes:k};const W=await N({nodes:k,edges:ie});return typeof W=="boolean"?W?{edges:ie,nodes:k}:{edges:[],nodes:[]}:W}const vD=(b,E=0,x=1)=>Math.min(Math.max(b,E),x),OA=(b={x:0,y:0},E,x)=>({x:vD(b.x,E[0][0],E[1][0]-(x?.width??0)),y:vD(b.y,E[0][1],E[1][1]-(x?.height??0))});function Qdn(b,E,x){const{width:M,height:N}=a6(x),{x:$,y:k}=x.internals.positionAbsolute;return OA(b,[[$,k],[$+M,k+N]],E)}const w1n=(b,E,x)=>bx?-vD(Math.abs(b-x),1,E)/E:0,Wdn=(b,E,x=15,M=40)=>{const N=w1n(b.x,M,E.width-M)*x,$=w1n(b.y,M,E.height-M)*x;return[N,$]},$ue=(b,E)=>({x:Math.min(b.x,E.x),y:Math.min(b.y,E.y),x2:Math.max(b.x2,E.x2),y2:Math.max(b.y2,E.y2)}),dke=({x:b,y:E,width:x,height:M})=>({x:b,y:E,x2:b+x,y2:E+M}),Rue=({x:b,y:E,x2:x,y2:M})=>({x:b,y:E,width:x-b,height:M-E}),yD=(b,E=[0,0])=>{const{x,y:M}=Cke(b)?b.internals.positionAbsolute:tq(b,E);return{x,y:M,width:b.measured?.width??b.width??b.initialWidth??0,height:b.measured?.height??b.height??b.initialHeight??0}},Aue=(b,E=[0,0])=>{const{x,y:M}=Cke(b)?b.internals.positionAbsolute:tq(b,E);return{x,y:M,x2:x+(b.measured?.width??b.width??b.initialWidth??0),y2:M+(b.measured?.height??b.height??b.initialHeight??0)}},Zdn=(b,E)=>Rue($ue(dke(b),dke(E))),YG=(b,E)=>{const x=Math.max(0,Math.min(b.x+b.width,E.x+E.width)-Math.max(b.x,E.x)),M=Math.max(0,Math.min(b.y+b.height,E.y+E.height)-Math.max(b.y,E.y));return Math.ceil(x*M)},p1n=b=>rv(b.width)&&rv(b.height)&&rv(b.x)&&rv(b.y),rv=b=>!isNaN(b)&&isFinite(b),cGn=(b,E)=>{},rq=(b,E=[1,1])=>({x:E[0]*Math.round(b.x/E[0]),y:E[1]*Math.round(b.y/E[1])}),cq=({x:b,y:E},[x,M,N],$=!1,k=[1,1])=>{const H={x:(b-x)/N,y:(E-M)/N};return $?rq(H,k):H},Mue=({x:b,y:E},[x,M,N])=>({x:b*N+x,y:E*N+M});function aD(b,E){if(typeof b=="number")return Math.floor((E-E/(1+b))*.5);if(typeof b=="string"&&b.endsWith("px")){const x=parseFloat(b);if(!Number.isNaN(x))return Math.floor(x)}if(typeof b=="string"&&b.endsWith("%")){const x=parseFloat(b);if(!Number.isNaN(x))return Math.floor(E*x*.01)}return console.error(`[React Flow] The padding value "${b}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function uGn(b,E,x){if(typeof b=="string"||typeof b=="number"){const M=aD(b,x),N=aD(b,E);return{top:M,right:N,bottom:M,left:N,x:N*2,y:M*2}}if(typeof b=="object"){const M=aD(b.top??b.y??0,x),N=aD(b.bottom??b.y??0,x),$=aD(b.left??b.x??0,E),k=aD(b.right??b.x??0,E);return{top:M,right:k,bottom:N,left:$,x:$+k,y:M+N}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function oGn(b,E,x,M,N,$){const{x:k,y:H}=Mue(b,[E,x,M]),{x:q,y:G}=Mue({x:b.x+b.width,y:b.y+b.height},[E,x,M]),ie=N-q,W=$-G;return{left:Math.floor(k),top:Math.floor(H),right:Math.floor(ie),bottom:Math.floor(W)}}const Oke=(b,E,x,M,N,$)=>{const k=uGn($,E,x),H=(E-k.x)/b.width,q=(x-k.y)/b.height,G=Math.min(H,q),ie=vD(G,M,N),W=b.x+b.width/2,Z=b.y+b.height/2,se=E/2-W*ie,oe=x/2-Z*ie,ee=oGn(b,se,oe,ie,E,x),Me={left:Math.min(ee.left-k.left,0),top:Math.min(ee.top-k.top,0),right:Math.min(ee.right-k.right,0),bottom:Math.min(ee.bottom-k.bottom,0)};return{x:se-Me.left+Me.right,y:oe-Me.top+Me.bottom,zoom:ie}},QG=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function kD(b){return b!=null&&b!=="parent"}function a6(b){return{width:b.measured?.width??b.width??b.initialWidth??0,height:b.measured?.height??b.height??b.initialHeight??0}}function e0n(b){return(b.measured?.width??b.width??b.initialWidth)!==void 0&&(b.measured?.height??b.height??b.initialHeight)!==void 0}function n0n(b,E={width:0,height:0},x,M,N){const $={...b},k=M.get(x);if(k){const H=k.origin||N;$.x+=k.internals.positionAbsolute.x-(E.width??0)*H[0],$.y+=k.internals.positionAbsolute.y-(E.height??0)*H[1]}return $}function m1n(b,E){if(b.size!==E.size)return!1;for(const x of b)if(!E.has(x))return!1;return!0}function sGn(){let b,E;return{promise:new Promise((M,N)=>{b=M,E=N}),resolve:b,reject:E}}function lGn(b){return{...Udn,...b||{}}}function JG(b,{snapGrid:E=[0,0],snapToGrid:x=!1,transform:M,containerBounds:N}){const{x:$,y:k}=cv(b),H=cq({x:$-(N?.left??0),y:k-(N?.top??0)},M),{x:q,y:G}=x?rq(H,E):H;return{xSnapped:q,ySnapped:G,...H}}const Nke=b=>({width:b.offsetWidth,height:b.offsetHeight}),t0n=b=>b?.getRootNode?.()||window?.document,fGn=["INPUT","SELECT","TEXTAREA"];function i0n(b){const E=b.composedPath?.()?.[0]||b.target;return E?.nodeType!==1?!1:fGn.includes(E.nodeName)||E.hasAttribute("contenteditable")||!!E.closest(".nokey")}const r0n=b=>"clientX"in b,cv=(b,E)=>{const x=r0n(b),M=x?b.clientX:b.touches?.[0].clientX,N=x?b.clientY:b.touches?.[0].clientY;return{x:M-(E?.left??0),y:N-(E?.top??0)}},v1n=(b,E,x,M,N)=>{const $=E.querySelectorAll(`.${b}`);return!$||!$.length?null:Array.from($).map(k=>{const H=k.getBoundingClientRect();return{id:k.getAttribute("data-handleid"),type:b,nodeId:N,position:k.getAttribute("data-handlepos"),x:(H.left-x.left)/M,y:(H.top-x.top)/M,...Nke(k)}})};function c0n({sourceX:b,sourceY:E,targetX:x,targetY:M,sourceControlX:N,sourceControlY:$,targetControlX:k,targetControlY:H}){const q=b*.125+N*.375+k*.375+x*.125,G=E*.125+$*.375+H*.375+M*.125,ie=Math.abs(q-b),W=Math.abs(G-E);return[q,G,ie,W]}function tue(b,E){return b>=0?.5*b:E*25*Math.sqrt(-b)}function y1n({pos:b,x1:E,y1:x,x2:M,y2:N,c:$}){switch(b){case ur.Left:return[E-tue(E-M,$),x];case ur.Right:return[E+tue(M-E,$),x];case ur.Top:return[E,x-tue(x-N,$)];case ur.Bottom:return[E,x+tue(N-x,$)]}}function u0n({sourceX:b,sourceY:E,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top,curvature:k=.25}){const[H,q]=y1n({pos:x,x1:b,y1:E,x2:M,y2:N,c:k}),[G,ie]=y1n({pos:$,x1:M,y1:N,x2:b,y2:E,c:k}),[W,Z,se,oe]=c0n({sourceX:b,sourceY:E,targetX:M,targetY:N,sourceControlX:H,sourceControlY:q,targetControlX:G,targetControlY:ie});return[`M${b},${E} C${H},${q} ${G},${ie} ${M},${N}`,W,Z,se,oe]}function o0n({sourceX:b,sourceY:E,targetX:x,targetY:M}){const N=Math.abs(x-b)/2,$=x0}const dGn=({source:b,sourceHandle:E,target:x,targetHandle:M})=>`xy-edge__${b}${E||""}-${x}${M||""}`,bGn=(b,E)=>E.some(x=>x.source===b.source&&x.target===b.target&&(x.sourceHandle===b.sourceHandle||!x.sourceHandle&&!b.sourceHandle)&&(x.targetHandle===b.targetHandle||!x.targetHandle&&!b.targetHandle)),gGn=(b,E,x={})=>{if(!b.source||!b.target)return E;const M=x.getEdgeId||dGn;let N;return Vdn(b)?N={...b}:N={...b,id:M(b)},bGn(N,E)?E:(N.sourceHandle===null&&delete N.sourceHandle,N.targetHandle===null&&delete N.targetHandle,E.concat(N))};function s0n({sourceX:b,sourceY:E,targetX:x,targetY:M}){const[N,$,k,H]=o0n({sourceX:b,sourceY:E,targetX:x,targetY:M});return[`M ${b},${E}L ${x},${M}`,N,$,k,H]}const k1n={[ur.Left]:{x:-1,y:0},[ur.Right]:{x:1,y:0},[ur.Top]:{x:0,y:-1},[ur.Bottom]:{x:0,y:1}},wGn=({source:b,sourcePosition:E=ur.Bottom,target:x})=>E===ur.Left||E===ur.Right?b.xMath.sqrt(Math.pow(E.x-b.x,2)+Math.pow(E.y-b.y,2));function pGn({source:b,sourcePosition:E=ur.Bottom,target:x,targetPosition:M=ur.Top,center:N,offset:$,stepPosition:k}){const H=k1n[E],q=k1n[M],G={x:b.x+H.x*$,y:b.y+H.y*$},ie={x:x.x+q.x*$,y:x.y+q.y*$},W=wGn({source:G,sourcePosition:E,target:ie}),Z=W.x!==0?"x":"y",se=W[Z];let oe=[],ee,Me;const me={x:0,y:0},Pe={x:0,y:0},[,,ae,Ne]=o0n({sourceX:b.x,sourceY:b.y,targetX:x.x,targetY:x.y});if(H[Z]*q[Z]===-1){Z==="x"?(ee=N.x??G.x+(ie.x-G.x)*k,Me=N.y??(G.y+ie.y)/2):(ee=N.x??(G.x+ie.x)/2,Me=N.y??G.y+(ie.y-G.y)*k);const An=[{x:ee,y:G.y},{x:ee,y:ie.y}],xn=[{x:G.x,y:Me},{x:ie.x,y:Me}];H[Z]===se?oe=Z==="x"?An:xn:oe=Z==="x"?xn:An}else{const An=[{x:G.x,y:ie.y}],xn=[{x:ie.x,y:G.y}];if(Z==="x"?oe=H.x===se?xn:An:oe=H.y===se?An:xn,E===M){const Fe=Math.abs(b[Z]-x[Z]);if(Fe<=$){const wn=Math.min($-1,$-Fe);H[Z]===se?me[Z]=(G[Z]>b[Z]?-1:1)*wn:Pe[Z]=(ie[Z]>x[Z]?-1:1)*wn}}if(E!==M){const Fe=Z==="x"?"y":"x",wn=H[Z]===q[Fe],xe=G[Fe]>ie[Fe],Ge=G[Fe]=Y?(ee=(tt.x+mn.x)/2,Me=oe[0].y):(ee=oe[0].x,Me=(tt.y+mn.y)/2)}const Ue={x:G.x+me.x,y:G.y+me.y},ln={x:ie.x+Pe.x,y:ie.y+Pe.y};return[[b,...Ue.x!==oe[0].x||Ue.y!==oe[0].y?[Ue]:[],...oe,...ln.x!==oe[oe.length-1].x||ln.y!==oe[oe.length-1].y?[ln]:[],x],ee,Me,ae,Ne]}function mGn(b,E,x,M){const N=Math.min(j1n(b,E)/2,j1n(E,x)/2,M),{x:$,y:k}=E;if(b.x===$&&$===x.x||b.y===k&&k===x.y)return`L${$} ${k}`;if(b.y===k){const G=b.xx.id===E):b[0])||null}function bke(b,E){return b?typeof b=="string"?b:`${E?`${E}__`:""}${Object.keys(b).sort().map(M=>`${M}=${b[M]}`).join("&")}`:""}function yGn(b,{id:E,defaultColor:x,defaultMarkerStart:M,defaultMarkerEnd:N}){const $=new Set;return b.reduce((k,H)=>([H.markerStart||M,H.markerEnd||N].forEach(q=>{if(q&&typeof q=="object"){const G=bke(q,E);$.has(G)||(k.push({id:G,color:q.color||x,...q}),$.add(G))}}),k),[]).sort((k,H)=>k.id.localeCompare(H.id))}const l0n=1e3,kGn=10,Ike={nodeOrigin:[0,0],nodeExtent:XG,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},jGn={...Ike,checkEquality:!0};function Dke(b,E){const x={...b};for(const M in E)E[M]!==void 0&&(x[M]=E[M]);return x}function EGn(b,E,x){const M=Dke(Ike,x);for(const N of b.values())if(N.parentId)Lke(N,b,E,M);else{const $=tq(N,M.nodeOrigin),k=kD(N.extent)?N.extent:M.nodeExtent,H=OA($,k,a6(N));N.internals.positionAbsolute=H}}function SGn(b,E){if(!b.handles)return b.measured?E?.internals.handleBounds:void 0;const x=[],M=[];for(const N of b.handles){const $={id:N.id,width:N.width??1,height:N.height??1,nodeId:b.id,x:N.x,y:N.y,position:N.position,type:N.type};N.type==="source"?x.push($):N.type==="target"&&M.push($)}return{source:x,target:M}}function _ke(b){return b==="manual"}function gke(b,E,x,M={}){const N=Dke(jGn,M),$={i:0},k=new Map(E),H=N?.elevateNodesOnSelect&&!_ke(N.zIndexMode)?l0n:0;let q=b.length>0,G=!1;E.clear(),x.clear();for(const ie of b){let W=k.get(ie.id);if(N.checkEquality&&ie===W?.internals.userNode)E.set(ie.id,W);else{const Z=tq(ie,N.nodeOrigin),se=kD(ie.extent)?ie.extent:N.nodeExtent,oe=OA(Z,se,a6(ie));W={...N.defaults,...ie,measured:{width:ie.measured?.width,height:ie.measured?.height},internals:{positionAbsolute:oe,handleBounds:SGn(ie,W),z:f0n(ie,H,N.zIndexMode),userNode:ie}},E.set(ie.id,W)}(W.measured===void 0||W.measured.width===void 0||W.measured.height===void 0)&&!W.hidden&&(q=!1),ie.parentId&&Lke(W,E,x,M,$),G||=ie.selected??!1}return{nodesInitialized:q,hasSelectedNodes:G}}function xGn(b,E){if(!b.parentId)return;const x=E.get(b.parentId);x?x.set(b.id,b):E.set(b.parentId,new Map([[b.id,b]]))}function Lke(b,E,x,M,N){const{elevateNodesOnSelect:$,nodeOrigin:k,nodeExtent:H,zIndexMode:q}=Dke(Ike,M),G=b.parentId,ie=E.get(G);if(!ie){console.warn(`Parent node ${G} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}xGn(b,x),N&&!ie.parentId&&ie.internals.rootParentIndex===void 0&&q==="auto"&&(ie.internals.rootParentIndex=++N.i,ie.internals.z=ie.internals.z+N.i*kGn),N&&ie.internals.rootParentIndex!==void 0&&(N.i=ie.internals.rootParentIndex);const W=$&&!_ke(q)?l0n:0,{x:Z,y:se,z:oe}=AGn(b,ie,k,H,W,q),{positionAbsolute:ee}=b.internals,Me=Z!==ee.x||se!==ee.y;(Me||oe!==b.internals.z)&&E.set(b.id,{...b,internals:{...b.internals,positionAbsolute:Me?{x:Z,y:se}:ee,z:oe}})}function f0n(b,E,x){const M=rv(b.zIndex)?b.zIndex:0;return _ke(x)?M:M+(b.selected?E:0)}function AGn(b,E,x,M,N,$){const{x:k,y:H}=E.internals.positionAbsolute,q=a6(b),G=tq(b,x),ie=kD(b.extent)?OA(G,b.extent,q):G;let W=OA({x:k+ie.x,y:H+ie.y},M,q);b.extent==="parent"&&(W=Qdn(W,q,E));const Z=f0n(b,N,$),se=E.internals.z??0;return{x:W.x,y:W.y,z:se>=Z?se+1:Z}}function Pke(b,E,x,M=[0,0]){const N=[],$=new Map;for(const k of b){const H=E.get(k.parentId);if(!H)continue;const q=$.get(k.parentId)?.expandedRect??yD(H),G=Zdn(q,k.rect);$.set(k.parentId,{expandedRect:G,parent:H})}return $.size>0&&$.forEach(({expandedRect:k,parent:H},q)=>{const G=H.internals.positionAbsolute,ie=a6(H),W=H.origin??M,Z=k.x0||se>0||Me||me)&&(N.push({id:q,type:"position",position:{x:H.position.x-Z+Me,y:H.position.y-se+me}}),x.get(q)?.forEach(Pe=>{b.some(ae=>ae.id===Pe.id)||N.push({id:Pe.id,type:"position",position:{x:Pe.position.x+Z,y:Pe.position.y+se}})})),(ie.width0){const se=Pke(Z,E,x,N);G.push(...se)}return{changes:G,updatedInternals:q}}async function CGn({delta:b,panZoom:E,transform:x,translateExtent:M,width:N,height:$}){if(!E||!b.x&&!b.y)return Promise.resolve(!1);const k=await E.setViewportConstrained({x:x[0]+b.x,y:x[1]+b.y,zoom:x[2]},[[0,0],[N,$]],M),H=!!k&&(k.x!==x[0]||k.y!==x[1]||k.k!==x[2]);return Promise.resolve(H)}function A1n(b,E,x,M,N,$){let k=N;const H=M.get(k)||new Map;M.set(k,H.set(x,E)),k=`${N}-${b}`;const q=M.get(k)||new Map;if(M.set(k,q.set(x,E)),$){k=`${N}-${b}-${$}`;const G=M.get(k)||new Map;M.set(k,G.set(x,E))}}function a0n(b,E,x){b.clear(),E.clear();for(const M of x){const{source:N,target:$,sourceHandle:k=null,targetHandle:H=null}=M,q={edgeId:M.id,source:N,target:$,sourceHandle:k,targetHandle:H},G=`${N}-${k}--${$}-${H}`,ie=`${$}-${H}--${N}-${k}`;A1n("source",q,ie,b,N,k),A1n("target",q,G,b,$,H),E.set(M.id,M)}}function h0n(b,E){if(!b.parentId)return!1;const x=E.get(b.parentId);return x?x.selected?!0:h0n(x,E):!1}function M1n(b,E,x){let M=b;do{if(M?.matches?.(E))return!0;if(M===x)return!1;M=M?.parentElement}while(M);return!1}function TGn(b,E,x,M){const N=new Map;for(const[$,k]of b)if((k.selected||k.id===M)&&(!k.parentId||!h0n(k,b))&&(k.draggable||E&&typeof k.draggable>"u")){const H=b.get($);H&&N.set($,{id:$,position:H.position||{x:0,y:0},distance:{x:x.x-H.internals.positionAbsolute.x,y:x.y-H.internals.positionAbsolute.y},extent:H.extent,parentId:H.parentId,origin:H.origin,expandParent:H.expandParent,internals:{positionAbsolute:H.internals.positionAbsolute||{x:0,y:0}},measured:{width:H.measured.width??0,height:H.measured.height??0}})}return N}function z7e({nodeId:b,dragItems:E,nodeLookup:x,dragging:M=!0}){const N=[];for(const[k,H]of E){const q=x.get(k)?.internals.userNode;q&&N.push({...q,position:H.position,dragging:M})}if(!b)return[N[0],N];const $=x.get(b)?.internals.userNode;return[$?{...$,position:E.get(b)?.position||$.position,dragging:M}:N[0],N]}function OGn({dragItems:b,snapGrid:E,x,y:M}){const N=b.values().next().value;if(!N)return null;const $={x:x-N.distance.x,y:M-N.distance.y},k=rq($,E);return{x:k.x-$.x,y:k.y-$.y}}function NGn({onNodeMouseDown:b,getStoreItems:E,onDragStart:x,onDrag:M,onDragStop:N}){let $={x:null,y:null},k=0,H=new Map,q=!1,G={x:0,y:0},ie=null,W=!1,Z=null,se=!1,oe=!1,ee=null;function Me({noDragClassName:Pe,handleSelector:ae,domNode:Ne,isSelectable:Ue,nodeId:ln,nodeClickDistance:on=0}){Z=Gg(Ne);function An({x:vn,y:Y}){const{nodeLookup:Fe,nodeExtent:wn,snapGrid:xe,snapToGrid:Ge,nodeOrigin:fn,onNodeDrag:$e,onSelectionDrag:Mn,onError:ge,updateNodePositions:tn}=E();$={x:vn,y:Y};let Hn=!1;const ut=H.size>1,Jt=ut&&wn?dke(iq(H)):null,di=ut&&Ge?OGn({dragItems:H,snapGrid:xe,x:vn,y:Y}):null;for(const[Gt,At]of H){if(!Fe.has(Gt))continue;let si={x:vn-At.distance.x,y:Y-At.distance.y};Ge&&(si=di?{x:Math.round(si.x+di.x),y:Math.round(si.y+di.y)}:rq(si,xe));let Kr=null;if(ut&&wn&&!At.extent&&Jt){const{positionAbsolute:bi}=At.internals,zi=bi.x-Jt.x+wn[0][0],cu=bi.x+At.measured.width-Jt.x2+wn[1][0],Fu=bi.y-Jt.y+wn[0][1],Rs=bi.y+At.measured.height-Jt.y2+wn[1][1];Kr=[[zi,Fu],[cu,Rs]]}const{position:Er,positionAbsolute:Dt}=Ydn({nodeId:Gt,nextPosition:si,nodeLookup:Fe,nodeExtent:Kr||wn,nodeOrigin:fn,onError:ge});Hn=Hn||At.position.x!==Er.x||At.position.y!==Er.y,At.position=Er,At.internals.positionAbsolute=Dt}if(oe=oe||Hn,!!Hn&&(tn(H,!0),ee&&(M||$e||!ln&&Mn))){const[Gt,At]=z7e({nodeId:ln,dragItems:H,nodeLookup:Fe});M?.(ee,H,Gt,At),$e?.(ee,Gt,At),ln||Mn?.(ee,At)}}async function xn(){if(!ie)return;const{transform:vn,panBy:Y,autoPanSpeed:Fe,autoPanOnNodeDrag:wn}=E();if(!wn){q=!1,cancelAnimationFrame(k);return}const[xe,Ge]=Wdn(G,ie,Fe);(xe!==0||Ge!==0)&&($.x=($.x??0)-xe/vn[2],$.y=($.y??0)-Ge/vn[2],await Y({x:xe,y:Ge})&&An($)),k=requestAnimationFrame(xn)}function tt(vn){const{nodeLookup:Y,multiSelectionActive:Fe,nodesDraggable:wn,transform:xe,snapGrid:Ge,snapToGrid:fn,selectNodesOnDrag:$e,onNodeDragStart:Mn,onSelectionDragStart:ge,unselectNodesAndEdges:tn}=E();W=!0,(!$e||!Ue)&&!Fe&&ln&&(Y.get(ln)?.selected||tn()),Ue&&$e&&ln&&b?.(ln);const Hn=JG(vn.sourceEvent,{transform:xe,snapGrid:Ge,snapToGrid:fn,containerBounds:ie});if($=Hn,H=TGn(Y,wn,Hn,ln),H.size>0&&(x||Mn||!ln&&ge)){const[ut,Jt]=z7e({nodeId:ln,dragItems:H,nodeLookup:Y});x?.(vn.sourceEvent,H,ut,Jt),Mn?.(vn.sourceEvent,ut,Jt),ln||ge?.(vn.sourceEvent,Jt)}}const mn=Tdn().clickDistance(on).on("start",vn=>{const{domNode:Y,nodeDragThreshold:Fe,transform:wn,snapGrid:xe,snapToGrid:Ge}=E();ie=Y?.getBoundingClientRect()||null,se=!1,oe=!1,ee=vn.sourceEvent,Fe===0&&tt(vn),$=JG(vn.sourceEvent,{transform:wn,snapGrid:xe,snapToGrid:Ge,containerBounds:ie}),G=cv(vn.sourceEvent,ie)}).on("drag",vn=>{const{autoPanOnNodeDrag:Y,transform:Fe,snapGrid:wn,snapToGrid:xe,nodeDragThreshold:Ge,nodeLookup:fn}=E(),$e=JG(vn.sourceEvent,{transform:Fe,snapGrid:wn,snapToGrid:xe,containerBounds:ie});if(ee=vn.sourceEvent,(vn.sourceEvent.type==="touchmove"&&vn.sourceEvent.touches.length>1||ln&&!fn.has(ln))&&(se=!0),!se){if(!q&&Y&&W&&(q=!0,xn()),!W){const Mn=cv(vn.sourceEvent,ie),ge=Mn.x-G.x,tn=Mn.y-G.y;Math.sqrt(ge*ge+tn*tn)>Ge&&tt(vn)}($.x!==$e.xSnapped||$.y!==$e.ySnapped)&&H&&W&&(G=cv(vn.sourceEvent,ie),An($e))}}).on("end",vn=>{if(!(!W||se)&&(q=!1,W=!1,cancelAnimationFrame(k),H.size>0)){const{nodeLookup:Y,updateNodePositions:Fe,onNodeDragStop:wn,onSelectionDragStop:xe}=E();if(oe&&(Fe(H,!1),oe=!1),N||wn||!ln&&xe){const[Ge,fn]=z7e({nodeId:ln,dragItems:H,nodeLookup:Y,dragging:!1});N?.(vn.sourceEvent,H,Ge,fn),wn?.(vn.sourceEvent,Ge,fn),ln||xe?.(vn.sourceEvent,fn)}}}).filter(vn=>{const Y=vn.target;return!vn.button&&(!Pe||!M1n(Y,`.${Pe}`,Ne))&&(!ae||M1n(Y,ae,Ne))});Z.call(mn)}function me(){Z?.on(".drag",null)}return{update:Me,destroy:me}}function IGn(b,E,x){const M=[],N={x:b.x-x,y:b.y-x,width:x*2,height:x*2};for(const $ of E.values())YG(N,yD($))>0&&M.push($);return M}const DGn=250;function _Gn(b,E,x,M){let N=[],$=1/0;const k=IGn(b,x,E+DGn);for(const H of k){const q=[...H.internals.handleBounds?.source??[],...H.internals.handleBounds?.target??[]];for(const G of q){if(M.nodeId===G.nodeId&&M.type===G.type&&M.id===G.id)continue;const{x:ie,y:W}=NA(H,G,G.position,!0),Z=Math.sqrt(Math.pow(ie-b.x,2)+Math.pow(W-b.y,2));Z>E||(Z<$?(N=[{...G,x:ie,y:W}],$=Z):Z===$&&N.push({...G,x:ie,y:W}))}}if(!N.length)return null;if(N.length>1){const H=M.type==="source"?"target":"source";return N.find(q=>q.type===H)??N[0]}return N[0]}function d0n(b,E,x,M,N,$=!1){const k=M.get(b);if(!k)return null;const H=N==="strict"?k.internals.handleBounds?.[E]:[...k.internals.handleBounds?.source??[],...k.internals.handleBounds?.target??[]],q=(x?H?.find(G=>G.id===x):H?.[0])??null;return q&&$?{...q,...NA(k,q,q.position,!0)}:q}function b0n(b,E){return b||(E?.classList.contains("target")?"target":E?.classList.contains("source")?"source":null)}function LGn(b,E){let x=null;return E?x=!0:b&&!E&&(x=!1),x}const g0n=()=>!0;function PGn(b,{connectionMode:E,connectionRadius:x,handleId:M,nodeId:N,edgeUpdaterType:$,isTarget:k,domNode:H,nodeLookup:q,lib:G,autoPanOnConnect:ie,flowId:W,panBy:Z,cancelConnection:se,onConnectStart:oe,onConnect:ee,onConnectEnd:Me,isValidConnection:me=g0n,onReconnectEnd:Pe,updateConnection:ae,getTransform:Ne,getFromHandle:Ue,autoPanSpeed:ln,dragThreshold:on=1,handleDomNode:An}){const xn=t0n(b.target);let tt=0,mn;const{x:vn,y:Y}=cv(b),Fe=b0n($,An),wn=H?.getBoundingClientRect();let xe=!1;if(!wn||!Fe)return;const Ge=d0n(N,Fe,M,q,E);if(!Ge)return;let fn=cv(b,wn),$e=!1,Mn=null,ge=!1,tn=null;function Hn(){if(!ie||!wn)return;const[Er,Dt]=Wdn(fn,wn,ln);Z({x:Er,y:Dt}),tt=requestAnimationFrame(Hn)}const ut={...Ge,nodeId:N,type:Fe,position:Ge.position},Jt=q.get(N);let Gt={inProgress:!0,isValid:null,from:NA(Jt,ut,ur.Left,!0),fromHandle:ut,fromPosition:ut.position,fromNode:Jt,to:fn,toHandle:null,toPosition:g1n[ut.position],toNode:null,pointer:fn};function At(){xe=!0,ae(Gt),oe?.(b,{nodeId:N,handleId:M,handleType:Fe})}on===0&&At();function si(Er){if(!xe){const{x:Rs,y:ra}=cv(Er),nf=Rs-vn,Ia=ra-Y;if(!(nf*nf+Ia*Ia>on*on))return;At()}if(!Ue()||!ut){Kr(Er);return}const Dt=Ne();fn=cv(Er,wn),mn=_Gn(cq(fn,Dt,!1,[1,1]),x,q,ut),$e||(Hn(),$e=!0);const bi=w0n(Er,{handle:mn,connectionMode:E,fromNodeId:N,fromHandleId:M,fromType:k?"target":"source",isValidConnection:me,doc:xn,lib:G,flowId:W,nodeLookup:q});tn=bi.handleDomNode,Mn=bi.connection,ge=LGn(!!mn,bi.isValid);const zi=q.get(N),cu=zi?NA(zi,ut,ur.Left,!0):Gt.from,Fu={...Gt,from:cu,isValid:ge,to:bi.toHandle&&ge?Mue({x:bi.toHandle.x,y:bi.toHandle.y},Dt):fn,toHandle:bi.toHandle,toPosition:ge&&bi.toHandle?bi.toHandle.position:g1n[ut.position],toNode:bi.toHandle?q.get(bi.toHandle.nodeId):null,pointer:fn};ae(Fu),Gt=Fu}function Kr(Er){if(!("touches"in Er&&Er.touches.length>0)){if(xe){(mn||tn)&&Mn&&ge&&ee?.(Mn);const{inProgress:Dt,...bi}=Gt,zi={...bi,toPosition:Gt.toHandle?Gt.toPosition:null};Me?.(Er,zi),$&&Pe?.(Er,zi)}se(),cancelAnimationFrame(tt),$e=!1,ge=!1,Mn=null,tn=null,xn.removeEventListener("mousemove",si),xn.removeEventListener("mouseup",Kr),xn.removeEventListener("touchmove",si),xn.removeEventListener("touchend",Kr)}}xn.addEventListener("mousemove",si),xn.addEventListener("mouseup",Kr),xn.addEventListener("touchmove",si),xn.addEventListener("touchend",Kr)}function w0n(b,{handle:E,connectionMode:x,fromNodeId:M,fromHandleId:N,fromType:$,doc:k,lib:H,flowId:q,isValidConnection:G=g0n,nodeLookup:ie}){const W=$==="target",Z=E?k.querySelector(`.${H}-flow__handle[data-id="${q}-${E?.nodeId}-${E?.id}-${E?.type}"]`):null,{x:se,y:oe}=cv(b),ee=k.elementFromPoint(se,oe),Me=ee?.classList.contains(`${H}-flow__handle`)?ee:Z,me={handleDomNode:Me,isValid:!1,connection:null,toHandle:null};if(Me){const Pe=b0n(void 0,Me),ae=Me.getAttribute("data-nodeid"),Ne=Me.getAttribute("data-handleid"),Ue=Me.classList.contains("connectable"),ln=Me.classList.contains("connectableend");if(!ae||!Pe)return me;const on={source:W?ae:M,sourceHandle:W?Ne:N,target:W?M:ae,targetHandle:W?N:Ne};me.connection=on;const xn=Ue&&ln&&(x===mD.Strict?W&&Pe==="source"||!W&&Pe==="target":ae!==M||Ne!==N);me.isValid=xn&&G(on),me.toHandle=d0n(ae,Pe,Ne,ie,x,!0)}return me}const wke={onPointerDown:PGn,isValid:w0n};function $Gn({domNode:b,panZoom:E,getTransform:x,getViewScale:M}){const N=Gg(b);function $({translateExtent:H,width:q,height:G,zoomStep:ie=1,pannable:W=!0,zoomable:Z=!0,inversePan:se=!1}){const oe=ae=>{if(ae.sourceEvent.type!=="wheel"||!E)return;const Ne=x(),Ue=ae.sourceEvent.ctrlKey&&QG()?10:1,ln=-ae.sourceEvent.deltaY*(ae.sourceEvent.deltaMode===1?.05:ae.sourceEvent.deltaMode?1:.002)*ie,on=Ne[2]*Math.pow(2,ln*Ue);E.scaleTo(on)};let ee=[0,0];const Me=ae=>{(ae.sourceEvent.type==="mousedown"||ae.sourceEvent.type==="touchstart")&&(ee=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY])},me=ae=>{const Ne=x();if(ae.sourceEvent.type!=="mousemove"&&ae.sourceEvent.type!=="touchmove"||!E)return;const Ue=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY],ln=[Ue[0]-ee[0],Ue[1]-ee[1]];ee=Ue;const on=M()*Math.max(Ne[2],Math.log(Ne[2]))*(se?-1:1),An={x:Ne[0]-ln[0]*on,y:Ne[1]-ln[1]*on},xn=[[0,0],[q,G]];E.setViewportConstrained({x:An.x,y:An.y,zoom:Ne[2]},xn,H)},Pe=Gdn().on("start",Me).on("zoom",W?me:null).on("zoom.wheel",Z?oe:null);N.call(Pe,{})}function k(){N.on("zoom",null)}return{update:$,destroy:k,pointer:tv}}const Bue=b=>({x:b.x,y:b.y,zoom:b.k}),F7e=({x:b,y:E,zoom:x})=>Pue.translate(b,E).scale(x),hD=(b,E)=>b.target.closest(`.${E}`),p0n=(b,E)=>E===2&&Array.isArray(b)&&b.includes(2),RGn=b=>((b*=2)<=1?b*b*b:(b-=2)*b*b+2)/2,J7e=(b,E=0,x=RGn,M=()=>{})=>{const N=typeof E=="number"&&E>0;return N||M(),N?b.transition().duration(E).ease(x).on("end",M):b},m0n=b=>{const E=b.ctrlKey&&QG()?10:1;return-b.deltaY*(b.deltaMode===1?.05:b.deltaMode?1:.002)*E};function BGn({zoomPanValues:b,noWheelClassName:E,d3Selection:x,d3Zoom:M,panOnScrollMode:N,panOnScrollSpeed:$,zoomOnPinch:k,onPanZoomStart:H,onPanZoom:q,onPanZoomEnd:G}){return ie=>{if(hD(ie,E))return ie.ctrlKey&&ie.preventDefault(),!1;ie.preventDefault(),ie.stopImmediatePropagation();const W=x.property("__zoom").k||1;if(ie.ctrlKey&&k){const Me=tv(ie),me=m0n(ie),Pe=W*Math.pow(2,me);M.scaleTo(x,Pe,Me,ie);return}const Z=ie.deltaMode===1?20:1;let se=N===AA.Vertical?0:ie.deltaX*Z,oe=N===AA.Horizontal?0:ie.deltaY*Z;!QG()&&ie.shiftKey&&N!==AA.Vertical&&(se=ie.deltaY*Z,oe=0),M.translateBy(x,-(se/W)*$,-(oe/W)*$,{internal:!0});const ee=Bue(x.property("__zoom"));clearTimeout(b.panScrollTimeout),b.isPanScrolling?(q?.(ie,ee),b.panScrollTimeout=setTimeout(()=>{G?.(ie,ee),b.isPanScrolling=!1},150)):(b.isPanScrolling=!0,H?.(ie,ee))}}function zGn({noWheelClassName:b,preventScrolling:E,d3ZoomHandler:x}){return function(M,N){const $=M.type==="wheel",k=!E&&$&&!M.ctrlKey,H=hD(M,b);if(M.ctrlKey&&$&&H&&M.preventDefault(),k||H)return null;M.preventDefault(),x.call(this,M,N)}}function FGn({zoomPanValues:b,onDraggingChange:E,onPanZoomStart:x}){return M=>{if(M.sourceEvent?.internal)return;const N=Bue(M.transform);b.mouseButton=M.sourceEvent?.button||0,b.isZoomingOrPanning=!0,b.prevViewport=N,M.sourceEvent?.type==="mousedown"&&E(!0),x&&x?.(M.sourceEvent,N)}}function JGn({zoomPanValues:b,panOnDrag:E,onPaneContextMenu:x,onTransformChange:M,onPanZoom:N}){return $=>{b.usedRightMouseButton=!!(x&&p0n(E,b.mouseButton??0)),$.sourceEvent?.sync||M([$.transform.x,$.transform.y,$.transform.k]),N&&!$.sourceEvent?.internal&&N?.($.sourceEvent,Bue($.transform))}}function HGn({zoomPanValues:b,panOnDrag:E,panOnScroll:x,onDraggingChange:M,onPanZoomEnd:N,onPaneContextMenu:$}){return k=>{if(!k.sourceEvent?.internal&&(b.isZoomingOrPanning=!1,$&&p0n(E,b.mouseButton??0)&&!b.usedRightMouseButton&&k.sourceEvent&&$(k.sourceEvent),b.usedRightMouseButton=!1,M(!1),N)){const H=Bue(k.transform);b.prevViewport=H,clearTimeout(b.timerId),b.timerId=setTimeout(()=>{N?.(k.sourceEvent,H)},x?150:0)}}}function GGn({zoomActivationKeyPressed:b,zoomOnScroll:E,zoomOnPinch:x,panOnDrag:M,panOnScroll:N,zoomOnDoubleClick:$,userSelectionActive:k,noWheelClassName:H,noPanClassName:q,lib:G,connectionInProgress:ie}){return W=>{const Z=b||E,se=x&&W.ctrlKey,oe=W.type==="wheel";if(W.button===1&&W.type==="mousedown"&&(hD(W,`${G}-flow__node`)||hD(W,`${G}-flow__edge`)))return!0;if(!M&&!Z&&!N&&!$&&!x||k||ie&&!oe||hD(W,H)&&oe||hD(W,q)&&(!oe||N&&oe&&!b)||!x&&W.ctrlKey&&oe)return!1;if(!x&&W.type==="touchstart"&&W.touches?.length>1)return W.preventDefault(),!1;if(!Z&&!N&&!se&&oe||!M&&(W.type==="mousedown"||W.type==="touchstart")||Array.isArray(M)&&!M.includes(W.button)&&W.type==="mousedown")return!1;const ee=Array.isArray(M)&&M.includes(W.button)||!W.button||W.button<=1;return(!W.ctrlKey||oe)&&ee}}function qGn({domNode:b,minZoom:E,maxZoom:x,translateExtent:M,viewport:N,onPanZoom:$,onPanZoomStart:k,onPanZoomEnd:H,onDraggingChange:q}){const G={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},ie=b.getBoundingClientRect(),W=Gdn().scaleExtent([E,x]).translateExtent(M),Z=Gg(b).call(W);Pe({x:N.x,y:N.y,zoom:vD(N.zoom,E,x)},[[0,0],[ie.width,ie.height]],M);const se=Z.on("wheel.zoom"),oe=Z.on("dblclick.zoom");W.wheelDelta(m0n);function ee(mn,vn){return Z?new Promise(Y=>{W?.interpolate(vn?.interpolate==="linear"?FG:hue).transform(J7e(Z,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function Me({noWheelClassName:mn,noPanClassName:vn,onPaneContextMenu:Y,userSelectionActive:Fe,panOnScroll:wn,panOnDrag:xe,panOnScrollMode:Ge,panOnScrollSpeed:fn,preventScrolling:$e,zoomOnPinch:Mn,zoomOnScroll:ge,zoomOnDoubleClick:tn,zoomActivationKeyPressed:Hn,lib:ut,onTransformChange:Jt,connectionInProgress:di,paneClickDistance:Gt,selectionOnDrag:At}){Fe&&!G.isZoomingOrPanning&&me();const si=wn&&!Hn&&!Fe;W.clickDistance(At?1/0:!rv(Gt)||Gt<0?0:Gt);const Kr=si?BGn({zoomPanValues:G,noWheelClassName:mn,d3Selection:Z,d3Zoom:W,panOnScrollMode:Ge,panOnScrollSpeed:fn,zoomOnPinch:Mn,onPanZoomStart:k,onPanZoom:$,onPanZoomEnd:H}):zGn({noWheelClassName:mn,preventScrolling:$e,d3ZoomHandler:se});if(Z.on("wheel.zoom",Kr,{passive:!1}),!Fe){const Dt=FGn({zoomPanValues:G,onDraggingChange:q,onPanZoomStart:k});W.on("start",Dt);const bi=JGn({zoomPanValues:G,panOnDrag:xe,onPaneContextMenu:!!Y,onPanZoom:$,onTransformChange:Jt});W.on("zoom",bi);const zi=HGn({zoomPanValues:G,panOnDrag:xe,panOnScroll:wn,onPaneContextMenu:Y,onPanZoomEnd:H,onDraggingChange:q});W.on("end",zi)}const Er=GGn({zoomActivationKeyPressed:Hn,panOnDrag:xe,zoomOnScroll:ge,panOnScroll:wn,zoomOnDoubleClick:tn,zoomOnPinch:Mn,userSelectionActive:Fe,noPanClassName:vn,noWheelClassName:mn,lib:ut,connectionInProgress:di});W.filter(Er),tn?Z.on("dblclick.zoom",oe):Z.on("dblclick.zoom",null)}function me(){W.on("zoom",null)}async function Pe(mn,vn,Y){const Fe=F7e(mn),wn=W?.constrain()(Fe,vn,Y);return wn&&await ee(wn),new Promise(xe=>xe(wn))}async function ae(mn,vn){const Y=F7e(mn);return await ee(Y,vn),new Promise(Fe=>Fe(Y))}function Ne(mn){if(Z){const vn=F7e(mn),Y=Z.property("__zoom");(Y.k!==mn.zoom||Y.x!==mn.x||Y.y!==mn.y)&&W?.transform(Z,vn,null,{sync:!0})}}function Ue(){const mn=Z?Hdn(Z.node()):{x:0,y:0,k:1};return{x:mn.x,y:mn.y,zoom:mn.k}}function ln(mn,vn){return Z?new Promise(Y=>{W?.interpolate(vn?.interpolate==="linear"?FG:hue).scaleTo(J7e(Z,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function on(mn,vn){return Z?new Promise(Y=>{W?.interpolate(vn?.interpolate==="linear"?FG:hue).scaleBy(J7e(Z,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function An(mn){W?.scaleExtent(mn)}function xn(mn){W?.translateExtent(mn)}function tt(mn){const vn=!rv(mn)||mn<0?0:mn;W?.clickDistance(vn)}return{update:Me,destroy:me,setViewport:ae,setViewportConstrained:Pe,getViewport:Ue,scaleTo:ln,scaleBy:on,setScaleExtent:An,setTranslateExtent:xn,syncViewport:Ne,setClickDistance:tt}}var jD;(function(b){b.Line="line",b.Handle="handle"})(jD||(jD={}));function UGn({width:b,prevWidth:E,height:x,prevHeight:M,affectsX:N,affectsY:$}){const k=b-E,H=x-M,q=[k>0?1:k<0?-1:0,H>0?1:H<0?-1:0];return k&&N&&(q[0]=q[0]*-1),H&&$&&(q[1]=q[1]*-1),q}function C1n(b){const E=b.includes("right")||b.includes("left"),x=b.includes("bottom")||b.includes("top"),M=b.includes("left"),N=b.includes("top");return{isHorizontal:E,isVertical:x,affectsX:M,affectsY:N}}function nk(b,E){return Math.max(0,E-b)}function tk(b,E){return Math.max(0,b-E)}function iue(b,E,x){return Math.max(0,E-b,b-x)}function T1n(b,E){return b?!E:E}function XGn(b,E,x,M,N,$,k,H){let{affectsX:q,affectsY:G}=E;const{isHorizontal:ie,isVertical:W}=E,Z=ie&&W,{xSnapped:se,ySnapped:oe}=x,{minWidth:ee,maxWidth:Me,minHeight:me,maxHeight:Pe}=M,{x:ae,y:Ne,width:Ue,height:ln,aspectRatio:on}=b;let An=Math.floor(ie?se-b.pointerX:0),xn=Math.floor(W?oe-b.pointerY:0);const tt=Ue+(q?-An:An),mn=ln+(G?-xn:xn),vn=-$[0]*Ue,Y=-$[1]*ln;let Fe=iue(tt,ee,Me),wn=iue(mn,me,Pe);if(k){let fn=0,$e=0;q&&An<0?fn=nk(ae+An+vn,k[0][0]):!q&&An>0&&(fn=tk(ae+tt+vn,k[1][0])),G&&xn<0?$e=nk(Ne+xn+Y,k[0][1]):!G&&xn>0&&($e=tk(Ne+mn+Y,k[1][1])),Fe=Math.max(Fe,fn),wn=Math.max(wn,$e)}if(H){let fn=0,$e=0;q&&An>0?fn=tk(ae+An,H[0][0]):!q&&An<0&&(fn=nk(ae+tt,H[1][0])),G&&xn>0?$e=tk(Ne+xn,H[0][1]):!G&&xn<0&&($e=nk(Ne+mn,H[1][1])),Fe=Math.max(Fe,fn),wn=Math.max(wn,$e)}if(N){if(ie){const fn=iue(tt/on,me,Pe)*on;if(Fe=Math.max(Fe,fn),k){let $e=0;!q&&!G||q&&!G&&Z?$e=tk(Ne+Y+tt/on,k[1][1])*on:$e=nk(Ne+Y+(q?An:-An)/on,k[0][1])*on,Fe=Math.max(Fe,$e)}if(H){let $e=0;!q&&!G||q&&!G&&Z?$e=nk(Ne+tt/on,H[1][1])*on:$e=tk(Ne+(q?An:-An)/on,H[0][1])*on,Fe=Math.max(Fe,$e)}}if(W){const fn=iue(mn*on,ee,Me)/on;if(wn=Math.max(wn,fn),k){let $e=0;!q&&!G||G&&!q&&Z?$e=tk(ae+mn*on+vn,k[1][0])/on:$e=nk(ae+(G?xn:-xn)*on+vn,k[0][0])/on,wn=Math.max(wn,$e)}if(H){let $e=0;!q&&!G||G&&!q&&Z?$e=nk(ae+mn*on,H[1][0])/on:$e=tk(ae+(G?xn:-xn)*on,H[0][0])/on,wn=Math.max(wn,$e)}}}xn=xn+(xn<0?wn:-wn),An=An+(An<0?Fe:-Fe),N&&(Z?tt>mn*on?xn=(T1n(q,G)?-An:An)/on:An=(T1n(q,G)?-xn:xn)*on:ie?(xn=An/on,G=q):(An=xn*on,q=G));const xe=q?ae+An:ae,Ge=G?Ne+xn:Ne;return{width:Ue+(q?-An:An),height:ln+(G?-xn:xn),x:$[0]*An*(q?-1:1)+xe,y:$[1]*xn*(G?-1:1)+Ge}}const v0n={width:0,height:0,x:0,y:0},KGn={...v0n,pointerX:0,pointerY:0,aspectRatio:1};function VGn(b){return[[0,0],[b.measured.width,b.measured.height]]}function YGn(b,E,x){const M=E.position.x+b.position.x,N=E.position.y+b.position.y,$=b.measured.width??0,k=b.measured.height??0,H=x[0]*$,q=x[1]*k;return[[M-H,N-q],[M+$-H,N+k-q]]}function QGn({domNode:b,nodeId:E,getStoreItems:x,onChange:M,onEnd:N}){const $=Gg(b);let k={controlDirection:C1n("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function H({controlPosition:G,boundaries:ie,keepAspectRatio:W,resizeDirection:Z,onResizeStart:se,onResize:oe,onResizeEnd:ee,shouldResize:Me}){let me={...v0n},Pe={...KGn};k={boundaries:ie,resizeDirection:Z,keepAspectRatio:W,controlDirection:C1n(G)};let ae,Ne=null,Ue=[],ln,on,An,xn=!1;const tt=Tdn().on("start",mn=>{const{nodeLookup:vn,transform:Y,snapGrid:Fe,snapToGrid:wn,nodeOrigin:xe,paneDomNode:Ge}=x();if(ae=vn.get(E),!ae)return;Ne=Ge?.getBoundingClientRect()??null;const{xSnapped:fn,ySnapped:$e}=JG(mn.sourceEvent,{transform:Y,snapGrid:Fe,snapToGrid:wn,containerBounds:Ne});me={width:ae.measured.width??0,height:ae.measured.height??0,x:ae.position.x??0,y:ae.position.y??0},Pe={...me,pointerX:fn,pointerY:$e,aspectRatio:me.width/me.height},ln=void 0,ae.parentId&&(ae.extent==="parent"||ae.expandParent)&&(ln=vn.get(ae.parentId),on=ln&&ae.extent==="parent"?VGn(ln):void 0),Ue=[],An=void 0;for(const[Mn,ge]of vn)if(ge.parentId===E&&(Ue.push({id:Mn,position:{...ge.position},extent:ge.extent}),ge.extent==="parent"||ge.expandParent)){const tn=YGn(ge,ae,ge.origin??xe);An?An=[[Math.min(tn[0][0],An[0][0]),Math.min(tn[0][1],An[0][1])],[Math.max(tn[1][0],An[1][0]),Math.max(tn[1][1],An[1][1])]]:An=tn}se?.(mn,{...me})}).on("drag",mn=>{const{transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn}=x(),xe=JG(mn.sourceEvent,{transform:vn,snapGrid:Y,snapToGrid:Fe,containerBounds:Ne}),Ge=[];if(!ae)return;const{x:fn,y:$e,width:Mn,height:ge}=me,tn={},Hn=ae.origin??wn,{width:ut,height:Jt,x:di,y:Gt}=XGn(Pe,k.controlDirection,xe,k.boundaries,k.keepAspectRatio,Hn,on,An),At=ut!==Mn,si=Jt!==ge,Kr=di!==fn&&At,Er=Gt!==$e&&si;if(!Kr&&!Er&&!At&&!si)return;if((Kr||Er||Hn[0]===1||Hn[1]===1)&&(tn.x=Kr?di:me.x,tn.y=Er?Gt:me.y,me.x=tn.x,me.y=tn.y,Ue.length>0)){const cu=di-fn,Fu=Gt-$e;for(const Rs of Ue)Rs.position={x:Rs.position.x-cu+Hn[0]*(ut-Mn),y:Rs.position.y-Fu+Hn[1]*(Jt-ge)},Ge.push(Rs)}if((At||si)&&(tn.width=At&&(!k.resizeDirection||k.resizeDirection==="horizontal")?ut:me.width,tn.height=si&&(!k.resizeDirection||k.resizeDirection==="vertical")?Jt:me.height,me.width=tn.width,me.height=tn.height),ln&&ae.expandParent){const cu=Hn[0]*(tn.width??0);tn.x&&tn.x{xn&&(ee?.(mn,{...me}),N?.({...me}),xn=!1)});$.call(tt)}function q(){$.on(".drag",null)}return{update:H,destroy:q}}var H7e={exports:{}},G7e={},q7e={exports:{}},U7e={};var O1n;function WGn(){if(O1n)return U7e;O1n=1;var b=ZG();function E(W,Z){return W===Z&&(W!==0||1/W===1/Z)||W!==W&&Z!==Z}var x=typeof Object.is=="function"?Object.is:E,M=b.useState,N=b.useEffect,$=b.useLayoutEffect,k=b.useDebugValue;function H(W,Z){var se=Z(),oe=M({inst:{value:se,getSnapshot:Z}}),ee=oe[0].inst,Me=oe[1];return $(function(){ee.value=se,ee.getSnapshot=Z,q(ee)&&Me({inst:ee})},[W,se,Z]),N(function(){return q(ee)&&Me({inst:ee}),W(function(){q(ee)&&Me({inst:ee})})},[W]),k(se),se}function q(W){var Z=W.getSnapshot;W=W.value;try{var se=Z();return!x(W,se)}catch{return!0}}function G(W,Z){return Z()}var ie=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?G:H;return U7e.useSyncExternalStore=b.useSyncExternalStore!==void 0?b.useSyncExternalStore:ie,U7e}var N1n;function ZGn(){return N1n||(N1n=1,q7e.exports=WGn()),q7e.exports}var I1n;function eqn(){if(I1n)return G7e;I1n=1;var b=ZG(),E=ZGn();function x(G,ie){return G===ie&&(G!==0||1/G===1/ie)||G!==G&&ie!==ie}var M=typeof Object.is=="function"?Object.is:x,N=E.useSyncExternalStore,$=b.useRef,k=b.useEffect,H=b.useMemo,q=b.useDebugValue;return G7e.useSyncExternalStoreWithSelector=function(G,ie,W,Z,se){var oe=$(null);if(oe.current===null){var ee={hasValue:!1,value:null};oe.current=ee}else ee=oe.current;oe=H(function(){function me(ln){if(!Pe){if(Pe=!0,ae=ln,ln=Z(ln),se!==void 0&&ee.hasValue){var on=ee.value;if(se(on,ln))return Ne=on}return Ne=ln}if(on=Ne,M(ae,ln))return on;var An=Z(ln);return se!==void 0&&se(on,An)?(ae=ln,on):(ae=ln,Ne=An)}var Pe=!1,ae,Ne,Ue=W===void 0?null:W;return[function(){return me(ie())},Ue===null?void 0:function(){return me(Ue())}]},[ie,W,Z,se]);var Me=N(G,oe[0],oe[1]);return k(function(){ee.hasValue=!0,ee.value=Me},[Me]),q(Me),Me},G7e}var D1n;function nqn(){return D1n||(D1n=1,H7e.exports=eqn()),H7e.exports}var tqn=nqn();const iqn=yke(tqn),rqn={},_1n=b=>{let E;const x=new Set,M=(ie,W)=>{const Z=typeof ie=="function"?ie(E):ie;if(!Object.is(Z,E)){const se=E;E=W??(typeof Z!="object"||Z===null)?Z:Object.assign({},E,Z),x.forEach(oe=>oe(E,se))}},N=()=>E,q={setState:M,getState:N,getInitialState:()=>G,subscribe:ie=>(x.add(ie),()=>x.delete(ie)),destroy:()=>{(rqn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),x.clear()}},G=E=b(M,N,q);return q},cqn=b=>b?_1n(b):_1n,{useDebugValue:uqn}=hzn,{useSyncExternalStoreWithSelector:oqn}=iqn,sqn=b=>b;function y0n(b,E=sqn,x){const M=oqn(b.subscribe,b.getState,b.getServerState||b.getInitialState,E,x);return uqn(M),M}const L1n=(b,E)=>{const x=cqn(b),M=(N,$=E)=>y0n(x,N,$);return Object.assign(M,x),M},lqn=(b,E)=>b?L1n(b,E):L1n;function El(b,E){if(Object.is(b,E))return!0;if(typeof b!="object"||b===null||typeof E!="object"||E===null)return!1;if(b instanceof Map&&E instanceof Map){if(b.size!==E.size)return!1;for(const[M,N]of b)if(!Object.is(N,E.get(M)))return!1;return!0}if(b instanceof Set&&E instanceof Set){if(b.size!==E.size)return!1;for(const M of b)if(!E.has(M))return!1;return!0}const x=Object.keys(b);if(x.length!==Object.keys(E).length)return!1;for(const M of x)if(!Object.prototype.hasOwnProperty.call(E,M)||!Object.is(b[M],E[M]))return!1;return!0}var fqn=bdn();const zue=Re.createContext(null),aqn=zue.Provider,k0n=g5.error001();function zu(b,E){const x=Re.useContext(zue);if(x===null)throw new Error(k0n);return y0n(x,b,E)}function Sl(){const b=Re.useContext(zue);if(b===null)throw new Error(k0n);return Re.useMemo(()=>({getState:b.getState,setState:b.setState,subscribe:b.subscribe}),[b])}const P1n={display:"none"},hqn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},j0n="react-flow__node-desc",E0n="react-flow__edge-desc",dqn="react-flow__aria-live",bqn=b=>b.ariaLiveMessage,gqn=b=>b.ariaLabelConfig;function wqn({rfId:b}){const E=zu(bqn);return _.jsx("div",{id:`${dqn}-${b}`,"aria-live":"assertive","aria-atomic":"true",style:hqn,children:E})}function pqn({rfId:b,disableKeyboardA11y:E}){const x=zu(gqn);return _.jsxs(_.Fragment,{children:[_.jsx("div",{id:`${j0n}-${b}`,style:P1n,children:E?x["node.a11yDescription.default"]:x["node.a11yDescription.keyboardDisabled"]}),_.jsx("div",{id:`${E0n}-${b}`,style:P1n,children:x["edge.a11yDescription.default"]}),!E&&_.jsx(wqn,{rfId:b})]})}const Fue=Re.forwardRef(({position:b="top-left",children:E,className:x,style:M,...N},$)=>{const k=`${b}`.split("-");return _.jsx("div",{className:Na(["react-flow__panel",x,...k]),style:M,ref:$,...N,children:E})});Fue.displayName="Panel";function mqn({proOptions:b,position:E="bottom-right"}){return b?.hideAttribution?null:_.jsx(Fue,{position:E,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:_.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const vqn=b=>{const E=[],x=[];for(const[,M]of b.nodeLookup)M.selected&&E.push(M.internals.userNode);for(const[,M]of b.edgeLookup)M.selected&&x.push(M);return{selectedNodes:E,selectedEdges:x}},rue=b=>b.id;function yqn(b,E){return El(b.selectedNodes.map(rue),E.selectedNodes.map(rue))&&El(b.selectedEdges.map(rue),E.selectedEdges.map(rue))}function kqn({onSelectionChange:b}){const E=Sl(),{selectedNodes:x,selectedEdges:M}=zu(vqn,yqn);return Re.useEffect(()=>{const N={nodes:x,edges:M};b?.(N),E.getState().onSelectionChangeHandlers.forEach($=>$(N))},[x,M,b]),null}const jqn=b=>!!b.onSelectionChangeHandlers;function Eqn({onSelectionChange:b}){const E=zu(jqn);return b||E?_.jsx(kqn,{onSelectionChange:b}):null}const pke=typeof window<"u"?Re.useLayoutEffect:Re.useEffect,S0n=[0,0],Sqn={x:0,y:0,zoom:1},xqn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],$1n=[...xqn,"rfId"],Aqn=b=>({setNodes:b.setNodes,setEdges:b.setEdges,setMinZoom:b.setMinZoom,setMaxZoom:b.setMaxZoom,setTranslateExtent:b.setTranslateExtent,setNodeExtent:b.setNodeExtent,reset:b.reset,setDefaultNodesAndEdges:b.setDefaultNodesAndEdges}),R1n={translateExtent:XG,nodeOrigin:S0n,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function Mqn(b){const{setNodes:E,setEdges:x,setMinZoom:M,setMaxZoom:N,setTranslateExtent:$,setNodeExtent:k,reset:H,setDefaultNodesAndEdges:q}=zu(Aqn,El),G=Sl();pke(()=>(q(b.defaultNodes,b.defaultEdges),()=>{ie.current=R1n,H()}),[]);const ie=Re.useRef(R1n);return pke(()=>{for(const W of $1n){const Z=b[W],se=ie.current[W];Z!==se&&(typeof b[W]>"u"||(W==="nodes"?E(Z):W==="edges"?x(Z):W==="minZoom"?M(Z):W==="maxZoom"?N(Z):W==="translateExtent"?$(Z):W==="nodeExtent"?k(Z):W==="ariaLabelConfig"?G.setState({ariaLabelConfig:lGn(Z)}):W==="fitView"?G.setState({fitViewQueued:Z}):W==="fitViewOptions"?G.setState({fitViewOptions:Z}):G.setState({[W]:Z})))}ie.current=b},$1n.map(W=>b[W])),null}function B1n(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function Cqn(b){const[E,x]=Re.useState(b==="system"?null:b);return Re.useEffect(()=>{if(b!=="system"){x(b);return}const M=B1n(),N=()=>x(M?.matches?"dark":"light");return N(),M?.addEventListener("change",N),()=>{M?.removeEventListener("change",N)}},[b]),E!==null?E:B1n()?.matches?"dark":"light"}const z1n=typeof document<"u"?document:null;function WG(b=null,E={target:z1n,actInsideInputWithModifier:!0}){const[x,M]=Re.useState(!1),N=Re.useRef(!1),$=Re.useRef(new Set([])),[k,H]=Re.useMemo(()=>{if(b!==null){const G=(Array.isArray(b)?b:[b]).filter(W=>typeof W=="string").map(W=>W.replace("+",` +`);for(T=E=0;ET||nn[E]!==Pn[T]){var it=` +`+nn[E].replace(" at new "," at ");return a.displayName&&it.includes("")&&(it=it.replace("",a.displayName)),it}while(1<=E&&0<=T);break}}}finally{cu=!1,Error.prepareStackTrace=w}return(w=a?a.displayName||a.name:"")?zi(w):""}function Rs(a,d){switch(a.tag){case 26:case 27:case 5:return zi(a.type);case 16:return zi("Lazy");case 13:return a.child!==d&&d!==null?zi("Suspense Fallback"):zi("Suspense");case 19:return zi("SuspenseList");case 0:case 15:return Fu(a.type,!1);case 11:return Fu(a.type.render,!1);case 1:return Fu(a.type,!0);case 31:return zi("Activity");default:return""}}function ra(a){try{var d="",w=null;do d+=Rs(a,w),w=a,a=a.return;while(a);return d}catch(E){return` +Error generating stack: `+E.message+` +`+E.stack}}var nf=Object.prototype.hasOwnProperty,Ia=b.unstable_scheduleCallback,Cc=b.unstable_cancelCallback,l0=b.unstable_shouldYield,Cb=b.unstable_requestPaint,xl=b.unstable_now,od=b.unstable_getCurrentPriorityLevel,f0=b.unstable_ImmediatePriority,sh=b.unstable_UserBlockingPriority,sd=b.unstable_NormalPriority,my=b.unstable_LowPriority,a0=b.unstable_IdlePriority,Np=b.log,h6=b.unstable_setDisableYieldValue,Tb=null,ca=null;function ld(a){if(typeof Np=="function"&&h6(a),ca&&typeof ca.setStrictMode=="function")try{ca.setStrictMode(Tb,a)}catch{}}var xf=Math.clz32?Math.clz32:Ip,d6=Math.log,lh=Math.LN2;function Ip(a){return a>>>=0,a===0?32:31-(d6(a)/lh|0)|0}var Xg=256,Kg=262144,Vg=4194304;function fd(a){var d=a&42;if(d!==0)return d;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Yg(a,d,w){var E=a.pendingLanes;if(E===0)return 0;var T=0,D=a.suspendedLanes,W=a.pingedLanes;a=a.warmLanes;var de=E&134217727;return de!==0?(E=de&~D,E!==0?T=fd(E):(W&=de,W!==0?T=fd(W):w||(w=de&~a,w!==0&&(T=fd(w))))):(de=E&~D,de!==0?T=fd(de):W!==0?T=fd(W):w||(w=E&~a,w!==0&&(T=fd(w)))),T===0?0:d!==0&&d!==T&&(d&D)===0&&(D=T&-T,w=d&-d,D>=w||D===32&&(w&4194048)!==0)?d:T}function Ob(a,d){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&d)===0}function vy(a,d){switch(a){case 1:case 2:case 4:case 8:case 64:return d+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return d+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dp(){var a=Vg;return Vg<<=1,(Vg&62914560)===0&&(Vg=4194304),a}function _p(a){for(var d=[],w=0;31>w;w++)d.push(a);return d}function uu(a,d){a.pendingLanes|=d,d!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function yy(a,d,w,E,T,D){var W=a.pendingLanes;a.pendingLanes=w,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=w,a.entangledLanes&=w,a.errorRecoveryDisabledLanes&=w,a.shellSuspendCounter=0;var de=a.entanglements,nn=a.expirationTimes,Pn=a.hiddenUpdates;for(w=W&~w;0"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var LA=/[\n"\\]/g;function $h(a){return a.replace(LA,function(d){return"\\"+d.charCodeAt(0).toString(16)+" "})}function av(a,d,w,E,T,D,W,de){a.name="",W!=null&&typeof W!="function"&&typeof W!="symbol"&&typeof W!="boolean"?a.type=W:a.removeAttribute("type"),d!=null?W==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+Ph(d)):a.value!==""+Ph(d)&&(a.value=""+Ph(d)):W!=="submit"&&W!=="reset"||a.removeAttribute("value"),d!=null?w6(a,W,Ph(d)):w!=null?w6(a,W,Ph(w)):E!=null&&a.removeAttribute("value"),T==null&&D!=null&&(a.defaultChecked=!!D),T!=null&&(a.checked=T&&typeof T!="function"&&typeof T!="symbol"),de!=null&&typeof de!="function"&&typeof de!="symbol"&&typeof de!="boolean"?a.name=""+Ph(de):a.removeAttribute("name")}function dk(a,d,w,E,T,D,W,de){if(D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(a.type=D),d!=null||w!=null){if(!(D!=="submit"&&D!=="reset"||d!=null)){Ay(a);return}w=w!=null?""+Ph(w):"",d=d!=null?""+Ph(d):w,de||d===a.value||(a.value=d),a.defaultValue=d}E=E??T,E=typeof E!="function"&&typeof E!="symbol"&&!!E,a.checked=de?a.checked:!!E,a.defaultChecked=!!E,W!=null&&typeof W!="function"&&typeof W!="symbol"&&typeof W!="boolean"&&(a.name=W),Ay(a)}function w6(a,d,w){d==="number"&&fv(a.ownerDocument)===a||a.defaultValue===""+w||(a.defaultValue=""+w)}function nw(a,d,w,E){if(a=a.options,d){d={};for(var T=0;T"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zA=!1;if(iw)try{var m6={};Object.defineProperty(m6,"passive",{get:function(){zA=!0}}),window.addEventListener("test",m6,m6),window.removeEventListener("test",m6,m6)}catch{zA=!1}var zp=null,FA=null,gk=null;function OD(){if(gk)return gk;var a,d=FA,w=d.length,E,T="value"in zp?zp.value:zp.textContent,D=T.length;for(a=0;a=k6),PD=" ",$D=!1;function RD(a,d){switch(a){case"keyup":return _q.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function BD(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Oy=!1;function Pq(a,d){switch(a){case"compositionend":return BD(d);case"keypress":return d.which!==32?null:($D=!0,PD);case"textInput":return a=d.data,a===PD&&$D?null:a;default:return null}}function $q(a,d){if(Oy)return a==="compositionend"||!UA&&RD(a,d)?(a=OD(),gk=FA=zp=null,Oy=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:w,offset:d-a};a=E}e:{for(;w;){if(w.nextSibling){w=w.nextSibling;break e}w=w.parentNode}w=void 0}w=UD(w)}}function KD(a,d){return a&&d?a===d?!0:a&&a.nodeType===3?!1:d&&d.nodeType===3?KD(a,d.parentNode):"contains"in a?a.contains(d):a.compareDocumentPosition?!!(a.compareDocumentPosition(d)&16):!1:!1}function VD(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var d=fv(a.document);d instanceof a.HTMLIFrameElement;){try{var w=typeof d.contentWindow.location.href=="string"}catch{w=!1}if(w)a=d.contentWindow;else break;d=fv(a.document)}return d}function YA(a){var d=a&&a.nodeName&&a.nodeName.toLowerCase();return d&&(d==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||d==="textarea"||a.contentEditable==="true")}var qq=iw&&"documentMode"in document&&11>=document.documentMode,Ny=null,QA=null,x6=null,WA=!1;function YD(a,d,w){var E=w.window===w?w.document:w.nodeType===9?w:w.ownerDocument;WA||Ny==null||Ny!==fv(E)||(E=Ny,"selectionStart"in E&&YA(E)?E={start:E.selectionStart,end:E.selectionEnd}:(E=(E.ownerDocument&&E.ownerDocument.defaultView||window).getSelection(),E={anchorNode:E.anchorNode,anchorOffset:E.anchorOffset,focusNode:E.focusNode,focusOffset:E.focusOffset}),x6&&S6(x6,E)||(x6=E,E=oj(QA,"onSelect"),0>=W,T-=W,Nb=1<<32-xf(d)+T|w<Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var qc=Gn(Sn,Xi,_n[Hr],ot);if(qc===null){Xi===null&&(Xi=ic);break}a&&Xi&&qc.alternate===null&&d(Sn,Xi),sn=D(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc,Xi=ic}if(Hr===_n.length)return w(Sn,Xi),ou&&cw(Sn,Hr),Hi;if(Xi===null){for(;Hr<_n.length;Hr++)Xi=gt(Sn,_n[Hr],ot),Xi!==null&&(sn=D(Xi,sn,Hr),_u===null?Hi=Xi:_u.sibling=Xi,_u=Xi);return ou&&cw(Sn,Hr),Hi}for(Xi=E(Xi);Hr<_n.length;Hr++)ic=et(Xi,Sn,Hr,_n[Hr],ot),ic!==null&&(a&&ic.alternate!==null&&Xi.delete(ic.key===null?Hr:ic.key),sn=D(ic,sn,Hr),_u===null?Hi=ic:_u.sibling=ic,_u=ic);return a&&Xi.forEach(function(xt){return d(Sn,xt)}),ou&&cw(Sn,Hr),Hi}function Cr(Sn,sn,_n,ot){if(_n==null)throw Error(M(151));for(var Hi=null,_u=null,Xi=sn,Hr=sn=0,ic=null,qc=_n.next();Xi!==null&&!qc.done;Hr++,qc=_n.next()){Xi.index>Hr?(ic=Xi,Xi=null):ic=Xi.sibling;var xt=Gn(Sn,Xi,qc.value,ot);if(xt===null){Xi===null&&(Xi=ic);break}a&&Xi&&xt.alternate===null&&d(Sn,Xi),sn=D(xt,sn,Hr),_u===null?Hi=xt:_u.sibling=xt,_u=xt,Xi=ic}if(qc.done)return w(Sn,Xi),ou&&cw(Sn,Hr),Hi;if(Xi===null){for(;!qc.done;Hr++,qc=_n.next())qc=gt(Sn,qc.value,ot),qc!==null&&(sn=D(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return ou&&cw(Sn,Hr),Hi}for(Xi=E(Xi);!qc.done;Hr++,qc=_n.next())qc=et(Xi,Sn,Hr,qc.value,ot),qc!==null&&(a&&qc.alternate!==null&&Xi.delete(qc.key===null?Hr:qc.key),sn=D(qc,sn,Hr),_u===null?Hi=qc:_u.sibling=qc,_u=qc);return a&&Xi.forEach(function(fX){return d(Sn,fX)}),ou&&cw(Sn,Hr),Hi}function co(Sn,sn,_n,ot){if(typeof _n=="object"&&_n!==null&&_n.type===ne&&_n.key===null&&(_n=_n.props.children),typeof _n=="object"&&_n!==null){switch(_n.$$typeof){case se:e:{for(var Hi=_n.key;sn!==null;){if(sn.key===Hi){if(Hi=_n.type,Hi===ne){if(sn.tag===7){w(Sn,sn.sibling),ot=T(sn,_n.props.children),ot.return=Sn,Sn=ot;break e}}else if(sn.elementType===Hi||typeof Hi=="object"&&Hi!==null&&Hi.$$typeof===An&&vv(Hi)===sn.type){w(Sn,sn.sibling),ot=T(sn,_n.props),D6(ot,_n),ot.return=Sn,Sn=ot;break e}w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}_n.type===ne?(ot=wv(_n.props.children,Sn.mode,ot,_n.key),ot.return=Sn,Sn=ot):(ot=xk(_n.type,_n.key,_n.props,null,Sn.mode,ot),D6(ot,_n),ot.return=Sn,Sn=ot)}return W(Sn);case ce:e:{for(Hi=_n.key;sn!==null;){if(sn.key===Hi)if(sn.tag===4&&sn.stateNode.containerInfo===_n.containerInfo&&sn.stateNode.implementation===_n.implementation){w(Sn,sn.sibling),ot=T(sn,_n.children||[]),ot.return=Sn,Sn=ot;break e}else{w(Sn,sn);break}else d(Sn,sn);sn=sn.sibling}ot=cM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot}return W(Sn);case An:return _n=vv(_n),co(Sn,sn,_n,ot)}if(wn(_n))return Di(Sn,sn,_n,ot);if(vn(_n)){if(Hi=vn(_n),typeof Hi!="function")throw Error(M(150));return _n=Hi.call(_n),Cr(Sn,sn,_n,ot)}if(typeof _n.then=="function")return co(Sn,sn,Ok(_n),ot);if(_n.$$typeof===ae)return co(Sn,sn,C6(Sn,_n),ot);Nk(Sn,_n)}return typeof _n=="string"&&_n!==""||typeof _n=="number"||typeof _n=="bigint"?(_n=""+_n,sn!==null&&sn.tag===6?(w(Sn,sn.sibling),ot=T(sn,_n),ot.return=Sn,Sn=ot):(w(Sn,sn),ot=rM(_n,Sn.mode,ot),ot.return=Sn,Sn=ot),W(Sn)):w(Sn,sn)}return function(Sn,sn,_n,ot){try{I6=0;var Hi=co(Sn,sn,_n,ot);return Hy=null,Hi}catch(Xi){if(Xi===Jy||Xi===Ck)throw Xi;var _u=m1(29,Xi,null,Sn.mode);return _u.lanes=ot,_u.return=Sn,_u}}}var kv=p_(!0),m_=p_(!1),Kp=!1;function mM(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vM(a,d){a=a.updateQueue,d.updateQueue===a&&(d.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Vp(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Yp(a,d,w){var E=a.updateQueue;if(E===null)return null;if(E=E.shared,(Ju&2)!==0){var T=E.pending;return T===null?d.next=d:(d.next=T.next,T.next=d),E.pending=d,d=Sk(a),i_(a,null,w),d}return Ek(a,E,d,w),Sk(a)}function _6(a,d,w){if(d=d.updateQueue,d!==null&&(d=d.shared,(w&4194048)!==0)){var E=d.lanes;E&=a.pendingLanes,w|=E,d.lanes=w,ov(a,w)}}function yM(a,d){var w=a.updateQueue,E=a.alternate;if(E!==null&&(E=E.updateQueue,w===E)){var T=null,D=null;if(w=w.firstBaseUpdate,w!==null){do{var W={lane:w.lane,tag:w.tag,payload:w.payload,callback:null,next:null};D===null?T=D=W:D=D.next=W,w=w.next}while(w!==null);D===null?T=D=d:D=D.next=d}else T=D=d;w={baseState:E.baseState,firstBaseUpdate:T,lastBaseUpdate:D,shared:E.shared,callbacks:E.callbacks},a.updateQueue=w;return}a=w.lastBaseUpdate,a===null?w.firstBaseUpdate=d:a.next=d,w.lastBaseUpdate=d}var kM=!1;function L6(){if(kM){var a=Fy;if(a!==null)throw a}}function P6(a,d,w,E){kM=!1;var T=a.updateQueue;Kp=!1;var D=T.firstBaseUpdate,W=T.lastBaseUpdate,de=T.shared.pending;if(de!==null){T.shared.pending=null;var nn=de,Pn=nn.next;nn.next=null,W===null?D=Pn:W.next=Pn,W=nn;var it=a.alternate;it!==null&&(it=it.updateQueue,de=it.lastBaseUpdate,de!==W&&(de===null?it.firstBaseUpdate=Pn:de.next=Pn,it.lastBaseUpdate=nn))}if(D!==null){var gt=T.baseState;W=0,it=Pn=nn=null,de=D;do{var Gn=de.lane&-536870913,et=Gn!==de.lane;if(et?(nu&Gn)===Gn:(E&Gn)===Gn){Gn!==0&&Gn===zy&&(kM=!0),it!==null&&(it=it.next={lane:0,tag:de.tag,payload:de.payload,callback:null,next:null});e:{var Di=a,Cr=de;Gn=d;var co=w;switch(Cr.tag){case 1:if(Di=Cr.payload,typeof Di=="function"){gt=Di.call(co,gt,Gn);break e}gt=Di;break e;case 3:Di.flags=Di.flags&-65537|128;case 0:if(Di=Cr.payload,Gn=typeof Di=="function"?Di.call(co,gt,Gn):Di,Gn==null)break e;gt=Q({},gt,Gn);break e;case 2:Kp=!0}}Gn=de.callback,Gn!==null&&(a.flags|=64,et&&(a.flags|=8192),et=T.callbacks,et===null?T.callbacks=[Gn]:et.push(Gn))}else et={lane:Gn,tag:de.tag,payload:de.payload,callback:de.callback,next:null},it===null?(Pn=it=et,nn=gt):it=it.next=et,W|=Gn;if(de=de.next,de===null){if(de=T.shared.pending,de===null)break;et=de,de=et.next,et.next=null,T.lastBaseUpdate=et,T.shared.pending=null}}while(!0);it===null&&(nn=gt),T.baseState=nn,T.firstBaseUpdate=Pn,T.lastBaseUpdate=it,D===null&&(T.shared.lanes=0),n2|=W,a.lanes=W,a.memoizedState=gt}}function v_(a,d){if(typeof a!="function")throw Error(M(191,a));a.call(d)}function y_(a,d){var w=a.callbacks;if(w!==null)for(a.callbacks=null,a=0;aD?D:8;var W=Ae.T,de={};Ae.T=de,zM(a,!1,d,w);try{var nn=T(),Pn=Ae.S;if(Pn!==null&&Pn(de,nn),nn!==null&&typeof nn=="object"&&typeof nn.then=="function"){var it=Zq(nn,E);z6(a,d,it,E1(a))}else z6(a,d,E,E1(a))}catch(gt){z6(a,d,{then:function(){},status:"rejected",reason:gt},E1())}finally{Ge.p=D,W!==null&&de.types!==null&&(W.types=de.types),Ae.T=W}}function RM(){}function B6(a,d,w,E){if(a.tag!==5)throw Error(M(476));var T=Q_(a).queue;Y_(a,T,d,fn,w===null?RM:function(){return Fk(a),w(E)})}function Q_(a){var d=a.memoizedState;if(d!==null)return d;d={memoizedState:fn,baseState:fn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lw,lastRenderedState:fn},next:null};var w={};return d.next={memoizedState:w,baseState:w,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lw,lastRenderedState:w},next:null},a.memoizedState=d,a=a.alternate,a!==null&&(a.memoizedState=d),d}function Fk(a){var d=Q_(a);d.next===null&&(d=a.alternate.memoizedState),z6(a,d.next.queue,{},E1())}function BM(){return oa(c5)}function W_(){return nl().memoizedState}function Z_(){return nl().memoizedState}function uU(a){for(var d=a.return;d!==null;){switch(d.tag){case 24:case 3:var w=E1();a=Vp(w);var E=Yp(d,a,w);E!==null&&(Jh(E,d,w),_6(E,d,w)),d={cache:dM()},a.payload=d;return}d=d.return}}function oU(a,d,w){var E=E1();w={lane:E,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null},Jk(a)?nL(d,w):(w=tM(a,d,w,E),w!==null&&(Jh(w,a,E),FM(w,d,E)))}function eL(a,d,w){var E=E1();z6(a,d,w,E)}function z6(a,d,w,E){var T={lane:E,revertLane:0,gesture:null,action:w,hasEagerState:!1,eagerState:null,next:null};if(Jk(a))nL(d,T);else{var D=a.alternate;if(a.lanes===0&&(D===null||D.lanes===0)&&(D=d.lastRenderedReducer,D!==null))try{var W=d.lastRenderedState,de=D(W,w);if(T.hasEagerState=!0,T.eagerState=de,p1(de,W))return Ek(a,d,T,0),Do===null&&jk(),!1}catch{}if(w=tM(a,d,T,E),w!==null)return Jh(w,a,E),FM(w,d,E),!0}return!1}function zM(a,d,w,E){if(E={lane:2,revertLane:jC(),gesture:null,action:E,hasEagerState:!1,eagerState:null,next:null},Jk(a)){if(d)throw Error(M(479))}else d=tM(a,w,E,2),d!==null&&Jh(d,a,2)}function Jk(a){var d=a.alternate;return a===bc||d!==null&&d===bc}function nL(a,d){qy=_k=!0;var w=a.pending;w===null?d.next=d:(d.next=w.next,w.next=d),a.pending=d}function FM(a,d,w){if((w&4194048)!==0){var E=d.lanes;E&=a.pendingLanes,w|=E,d.lanes=w,ov(a,w)}}var F6={readContext:oa,use:$k,useCallback:Bs,useContext:Bs,useEffect:Bs,useImperativeHandle:Bs,useLayoutEffect:Bs,useInsertionEffect:Bs,useMemo:Bs,useReducer:Bs,useRef:Bs,useState:Bs,useDebugValue:Bs,useDeferredValue:Bs,useTransition:Bs,useSyncExternalStore:Bs,useId:Bs,useHostTransitionStatus:Bs,useFormState:Bs,useActionState:Bs,useOptimistic:Bs,useMemoCache:Bs,useCacheRefresh:Bs};F6.useEffectEvent=Bs;var sU={readContext:oa,use:$k,useCallback:function(a,d){return fh().memoizedState=[a,d===void 0?null:d],a},useContext:oa,useEffect:F_,useImperativeHandle:function(a,d,w){w=w!=null?w.concat([a]):null,Bk(4194308,4,q_.bind(null,d,a),w)},useLayoutEffect:function(a,d){return Bk(4194308,4,a,d)},useInsertionEffect:function(a,d){Bk(4,2,a,d)},useMemo:function(a,d){var w=fh();d=d===void 0?null:d;var E=a();if(jv){ld(!0);try{a()}finally{ld(!1)}}return w.memoizedState=[E,d],E},useReducer:function(a,d,w){var E=fh();if(w!==void 0){var T=w(d);if(jv){ld(!0);try{w(d)}finally{ld(!1)}}}else T=d;return E.memoizedState=E.baseState=T,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:T},E.queue=a,a=a.dispatch=oU.bind(null,bc,a),[E.memoizedState,a]},useRef:function(a){var d=fh();return a={current:a},d.memoizedState=a},useState:function(a){a=DM(a);var d=a.queue,w=eL.bind(null,bc,d);return d.dispatch=w,[a.memoizedState,w]},useDebugValue:PM,useDeferredValue:function(a,d){var w=fh();return $M(w,a,d)},useTransition:function(){var a=DM(!1);return a=Y_.bind(null,bc,a.queue,!0,!1),fh().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,d,w){var E=bc,T=fh();if(ou){if(w===void 0)throw Error(M(407));w=w()}else{if(w=d(),Do===null)throw Error(M(349));(nu&127)!==0||A_(E,d,w)}T.memoizedState=w;var D={value:w,getSnapshot:d};return T.queue=D,F_(tU.bind(null,E,D,a),[a]),E.flags|=2048,Xy(9,{destroy:void 0},M_.bind(null,E,D,w,d),null),w},useId:function(){var a=fh(),d=Do.identifierPrefix;if(ou){var w=Ib,E=Nb;w=(E&~(1<<32-xf(E)-1)).toString(32)+w,d="_"+d+"R_"+w,w=Lk++,0<\/script>",D=D.removeChild(D.firstChild);break;case"select":D=typeof E.is=="string"?W.createElement("select",{is:E.is}):W.createElement("select"),E.multiple?D.multiple=!0:E.size&&(D.size=E.size);break;default:D=typeof E.is=="string"?W.createElement(T,{is:E.is}):W.createElement(T)}}D[Zs]=d,D[Af]=E;e:for(W=d.child;W!==null;){if(W.tag===5||W.tag===6)D.appendChild(W.stateNode);else if(W.tag!==4&&W.tag!==27&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===d)break e;for(;W.sibling===null;){if(W.return===null||W.return===d)break e;W=W.return}W.sibling.return=W.return,W=W.sibling}d.stateNode=D;e:switch(la(D,T,E),T){case"button":case"input":case"select":case"textarea":E=!!E.autoFocus;break e;case"img":E=!0;break e;default:E=!1}E&&w0(d)}}return yo(d),nC(d,d.type,a===null?null:a.memoizedProps,d.pendingProps,w),null;case 6:if(a&&d.stateNode!=null)a.memoizedProps!==E&&w0(d);else{if(typeof E!="string"&&d.stateNode===null)throw Error(M(166));if(a=di.current,$y(d)){if(a=d.stateNode,w=d.memoizedProps,E=null,T=ua,T!==null)switch(T.tag){case 27:case 5:E=T.memoizedProps}a[Zs]=d,a=!!(a.nodeValue===w||E!==null&&E.suppressHydrationWarning===!0||aP(a.nodeValue,w)),a||Hp(d,!0)}else a=sj(a).createTextNode(E),a[Zs]=d,d.stateNode=a}return yo(d),null;case 31:if(w=d.memoizedState,a===null||a.memoizedState!==null){if(E=$y(d),w!==null){if(a===null){if(!E)throw Error(M(318));if(a=d.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(M(557));a[Zs]=d}else pv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),a=!1}else w=Ry(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=w),a=!0;if(!a)return d.flags&256?(y1(d),d):(y1(d),null);if((d.flags&128)!==0)throw Error(M(558))}return yo(d),null;case 13:if(E=d.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(T=$y(d),E!==null&&E.dehydrated!==null){if(a===null){if(!T)throw Error(M(318));if(T=d.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(M(317));T[Zs]=d}else pv(),(d.flags&128)===0&&(d.memoizedState=null),d.flags|=4;yo(d),T=!1}else T=Ry(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=T),T=!0;if(!T)return d.flags&256?(y1(d),d):(y1(d),null)}return y1(d),(d.flags&128)!==0?(d.lanes=w,d):(w=E!==null,a=a!==null&&a.memoizedState!==null,w&&(E=d.child,T=null,E.alternate!==null&&E.alternate.memoizedState!==null&&E.alternate.memoizedState.cachePool!==null&&(T=E.alternate.memoizedState.cachePool.pool),D=null,E.memoizedState!==null&&E.memoizedState.cachePool!==null&&(D=E.memoizedState.cachePool.pool),D!==T&&(E.flags|=2048)),w!==a&&w&&(d.child.flags|=8192),Uk(d,d.updateQueue),yo(d),null);case 4:return si(),a===null&&AC(d.stateNode.containerInfo),yo(d),null;case 10:return ow(d.type),yo(d),null;case 19:if(tn(el),E=d.memoizedState,E===null)return yo(d),null;if(T=(d.flags&128)!==0,D=E.rendering,D===null)if(T)Sv(E,!1);else{if(zs!==0||a!==null&&(a.flags&128)!==0)for(a=d.child;a!==null;){if(D=Dk(a),D!==null){for(d.flags|=128,Sv(E,!1),a=D.updateQueue,d.updateQueue=a,Uk(d,a),d.subtreeFlags=0,a=w,w=d.child;w!==null;)r_(w,a),w=w.sibling;return Hn(el,el.current&1|2),ou&&cw(d,E.treeForkCount),d.child}a=a.sibling}E.tail!==null&&xl()>Wk&&(d.flags|=128,T=!0,Sv(E,!1),d.lanes=4194304)}else{if(!T)if(a=Dk(D),a!==null){if(d.flags|=128,T=!0,a=a.updateQueue,d.updateQueue=a,Uk(d,a),Sv(E,!0),E.tail===null&&E.tailMode==="hidden"&&!D.alternate&&!ou)return yo(d),null}else 2*xl()-E.renderingStartTime>Wk&&w!==536870912&&(d.flags|=128,T=!0,Sv(E,!1),d.lanes=4194304);E.isBackwards?(D.sibling=d.child,d.child=D):(a=E.last,a!==null?a.sibling=D:d.child=D,E.last=D)}return E.tail!==null?(a=E.tail,E.rendering=a,E.tail=a.sibling,E.renderingStartTime=xl(),a.sibling=null,w=el.current,Hn(el,T?w&1|2:w&1),ou&&cw(d,E.treeForkCount),a):(yo(d),null);case 22:case 23:return y1(d),EM(),E=d.memoizedState!==null,a!==null?a.memoizedState!==null!==E&&(d.flags|=8192):E&&(d.flags|=8192),E?(w&536870912)!==0&&(d.flags&128)===0&&(yo(d),d.subtreeFlags&6&&(d.flags|=8192)):yo(d),w=d.updateQueue,w!==null&&Uk(d,w.retryQueue),w=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(w=a.memoizedState.cachePool.pool),E=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(E=d.memoizedState.cachePool.pool),E!==w&&(d.flags|=2048),a!==null&&tn(mv),null;case 24:return w=null,a!==null&&(w=a.memoizedState.cache),d.memoizedState.cache!==w&&(d.flags|=2048),ow(Ml),yo(d),null;case 25:return null;case 30:return null}throw Error(M(156,d.tag))}function hU(a,d){switch(oM(d),d.tag){case 1:return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 3:return ow(Ml),si(),a=d.flags,(a&65536)!==0&&(a&128)===0?(d.flags=a&-65537|128,d):null;case 26:case 27:case 5:return Er(d),null;case 31:if(d.memoizedState!==null){if(y1(d),d.alternate===null)throw Error(M(340));pv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 13:if(y1(d),a=d.memoizedState,a!==null&&a.dehydrated!==null){if(d.alternate===null)throw Error(M(340));pv()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 19:return tn(el),null;case 4:return si(),null;case 10:return ow(d.type),null;case 22:case 23:return y1(d),EM(),a!==null&&tn(mv),a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 24:return ow(Ml),null;case 25:return null;default:return null}}function tC(a,d){switch(oM(d),d.tag){case 3:ow(Ml),si();break;case 26:case 27:case 5:Er(d);break;case 4:si();break;case 31:d.memoizedState!==null&&y1(d);break;case 13:y1(d);break;case 19:tn(el);break;case 10:ow(d.type);break;case 22:case 23:y1(d),EM(),a!==null&&tn(mv);break;case 24:ow(Ml)}}function G6(a,d){try{var w=d.updateQueue,E=w!==null?w.lastEffect:null;if(E!==null){var T=E.next;w=T;do{if((w.tag&a)===a){E=void 0;var D=w.create,W=w.inst;E=D(),W.destroy=E}w=w.next}while(w!==T)}}catch(de){ro(d,d.return,de)}}function Zp(a,d,w){try{var E=d.updateQueue,T=E!==null?E.lastEffect:null;if(T!==null){var D=T.next;E=D;do{if((E.tag&a)===a){var W=E.inst,de=W.destroy;if(de!==void 0){W.destroy=void 0,T=d;var nn=w,Pn=de;try{Pn()}catch(it){ro(T,nn,it)}}}E=E.next}while(E!==D)}}catch(it){ro(d,d.return,it)}}function q6(a){var d=a.updateQueue;if(d!==null){var w=a.stateNode;try{y_(d,w)}catch(E){ro(a,a.return,E)}}}function jL(a,d,w){w.props=Ev(a.type,a.memoizedProps),w.state=a.memoizedState;try{w.componentWillUnmount()}catch(E){ro(a,d,E)}}function U6(a,d){try{var w=a.ref;if(w!==null){switch(a.tag){case 26:case 27:case 5:var E=a.stateNode;break;case 30:E=a.stateNode;break;default:E=a.stateNode}typeof w=="function"?a.refCleanup=w(E):w.current=E}}catch(T){ro(a,d,T)}}function Db(a,d){var w=a.ref,E=a.refCleanup;if(w!==null)if(typeof E=="function")try{E()}catch(T){ro(a,d,T)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof w=="function")try{w(null)}catch(T){ro(a,d,T)}else w.current=null}function X6(a){var d=a.type,w=a.memoizedProps,E=a.stateNode;try{e:switch(d){case"button":case"input":case"select":case"textarea":w.autoFocus&&E.focus();break e;case"img":w.src?E.src=w.src:w.srcSet&&(E.srcset=w.srcSet)}}catch(T){ro(a,a.return,T)}}function iC(a,d,w){try{var E=a.stateNode;DU(E,a.type,w,d),E[Af]=d}catch(T){ro(a,a.return,T)}}function EL(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&u2(a.type)||a.tag===4}function rC(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||EL(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&u2(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function cC(a,d,w){var E=a.tag;if(E===5||E===6)a=a.stateNode,d?(w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w).insertBefore(a,d):(d=w.nodeType===9?w.body:w.nodeName==="HTML"?w.ownerDocument.body:w,d.appendChild(a),w=w._reactRootContainer,w!=null||d.onclick!==null||(d.onclick=tw));else if(E!==4&&(E===27&&u2(a.type)&&(w=a.stateNode,d=null),a=a.child,a!==null))for(cC(a,d,w),a=a.sibling;a!==null;)cC(a,d,w),a=a.sibling}function xv(a,d,w){var E=a.tag;if(E===5||E===6)a=a.stateNode,d?w.insertBefore(a,d):w.appendChild(a);else if(E!==4&&(E===27&&u2(a.type)&&(w=a.stateNode),a=a.child,a!==null))for(xv(a,d,w),a=a.sibling;a!==null;)xv(a,d,w),a=a.sibling}function SL(a){var d=a.stateNode,w=a.memoizedProps;try{for(var E=a.type,T=d.attributes;T.length;)d.removeAttributeNode(T[0]);la(d,E,w),d[Zs]=a,d[Af]=w}catch(D){ro(a,a.return,D)}}var _b=!1,Ol=!1,K6=!1,uC=typeof WeakSet=="function"?WeakSet:Set,Mf=null;function dU(a,d){if(a=a.containerInfo,TC=Cf,a=VD(a),YA(a)){if("selectionStart"in a)var w={start:a.selectionStart,end:a.selectionEnd};else e:{w=(w=a.ownerDocument)&&w.defaultView||window;var E=w.getSelection&&w.getSelection();if(E&&E.rangeCount!==0){w=E.anchorNode;var T=E.anchorOffset,D=E.focusNode;E=E.focusOffset;try{w.nodeType,D.nodeType}catch{w=null;break e}var W=0,de=-1,nn=-1,Pn=0,it=0,gt=a,Gn=null;n:for(;;){for(var et;gt!==w||T!==0&>.nodeType!==3||(de=W+T),gt!==D||E!==0&>.nodeType!==3||(nn=W+E),gt.nodeType===3&&(W+=gt.nodeValue.length),(et=gt.firstChild)!==null;)Gn=gt,gt=et;for(;;){if(gt===a)break n;if(Gn===w&&++Pn===T&&(de=W),Gn===D&&++it===E&&(nn=W),(et=gt.nextSibling)!==null)break;gt=Gn,Gn=gt.parentNode}gt=et}w=de===-1||nn===-1?null:{start:de,end:nn}}else w=null}w=w||{start:0,end:0}}else w=null;for(OC={focusedElem:a,selectionRange:w},Cf=!1,Mf=d;Mf!==null;)if(d=Mf,a=d.child,(d.subtreeFlags&1028)!==0&&a!==null)a.return=d,Mf=a;else for(;Mf!==null;){switch(d=Mf,D=d.alternate,a=d.flags,d.tag){case 0:if((a&4)!==0&&(a=d.updateQueue,a=a!==null?a.events:null,a!==null))for(w=0;w title"))),la(D,E,w),D[Zs]=a,Al(D),E=D;break e;case"link":var W=SP("link","href",T).get(E+(w.href||""));if(W){for(var de=0;deco&&(W=co,co=Cr,Cr=W);var Sn=XD(de,Cr),sn=XD(de,co);if(Sn&&sn&&(et.rangeCount!==1||et.anchorNode!==Sn.node||et.anchorOffset!==Sn.offset||et.focusNode!==sn.node||et.focusOffset!==sn.offset)){var _n=gt.createRange();_n.setStart(Sn.node,Sn.offset),et.removeAllRanges(),Cr>co?(et.addRange(_n),et.extend(sn.node,sn.offset)):(_n.setEnd(sn.node,sn.offset),et.addRange(_n))}}}}for(gt=[],et=de;et=et.parentNode;)et.nodeType===1&>.push({element:et,left:et.scrollLeft,top:et.scrollTop});for(typeof de.focus=="function"&&de.focus(),de=0;dew?32:w,Ae.T=null,w=dC,dC=null;var D=i2,W=gw;if(tf=0,Wy=i2=null,gw=0,(Ju&6)!==0)throw Error(M(331));var de=Ju;if(Ju|=4,_L(D.current),NL(D,D.current,W,w),Ju=de,e9(0,!1),ca&&typeof ca.onPostCommitFiberRoot=="function")try{ca.onPostCommitFiberRoot(Tb,D)}catch{}return!0}finally{Ge.p=T,Ae.T=E,WL(a,d)}}function eP(a,d,w){d=hd(w,d),d=UM(a.stateNode,d,2),a=Yp(a,d,2),a!==null&&(uu(a,2),Lb(a))}function ro(a,d,w){if(a.tag===3)eP(a,a,w);else for(;d!==null;){if(d.tag===3){eP(d,a,w);break}else if(d.tag===1){var E=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof E.componentDidCatch=="function"&&(t2===null||!t2.has(E))){a=hd(w,a),w=oL(2),E=Yp(d,w,2),E!==null&&(sL(w,E,d,a),uu(E,2),Lb(E));break}}d=d.return}}function pC(a,d,w){var E=a.pingCache;if(E===null){E=a.pingCache=new wU;var T=new Set;E.set(d,T)}else T=E.get(d),T===void 0&&(T=new Set,E.set(d,T));T.has(w)||(lC=!0,T.add(w),a=kU.bind(null,a,d,w),d.then(a,a))}function kU(a,d,w){var E=a.pingCache;E!==null&&E.delete(d),a.pingedLanes|=a.suspendedLanes&w,a.warmLanes&=~w,Do===a&&(nu&w)===w&&(zs===4||zs===3&&(nu&62914560)===nu&&300>xl()-Qk?(Ju&2)===0&&Zy(a,0):fC|=w,Qy===nu&&(Qy=0)),Lb(a)}function nP(a,d){d===0&&(d=Dp()),a=gv(a,d),a!==null&&(uu(a,d),Lb(a))}function jU(a){var d=a.memoizedState,w=0;d!==null&&(w=d.retryLane),nP(a,w)}function EU(a,d){var w=0;switch(a.tag){case 31:case 13:var E=a.stateNode,T=a.memoizedState;T!==null&&(w=T.retryLane);break;case 19:E=a.stateNode;break;case 22:E=a.stateNode._retryCache;break;default:throw Error(M(314))}E!==null&&E.delete(d),nP(a,w)}function SU(a,d){return Ia(a,d)}var rj=null,n5=null,mC=!1,cj=!1,vC=!1,c2=0;function Lb(a){a!==n5&&a.next===null&&(n5===null?rj=n5=a:n5=n5.next=a),cj=!0,mC||(mC=!0,kC())}function e9(a,d){if(!vC&&cj){vC=!0;do for(var w=!1,E=rj;E!==null;){if(a!==0){var T=E.pendingLanes;if(T===0)var D=0;else{var W=E.suspendedLanes,de=E.pingedLanes;D=(1<<31-xf(42|a)+1)-1,D&=T&~(W&~de),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(w=!0,rP(E,D))}else D=nu,D=Yg(E,E===Do?D:0,E.cancelPendingCommit!==null||E.timeoutHandle!==-1),(D&3)===0||Ob(E,D)||(w=!0,rP(E,D));E=E.next}while(w);vC=!1}}function xU(){tP()}function tP(){cj=mC=!1;var a=0;c2!==0&&LU()&&(a=c2);for(var d=xl(),w=null,E=rj;E!==null;){var T=E.next,D=yC(E,d);D===0?(E.next=null,w===null?rj=T:w.next=T,T===null&&(n5=w)):(w=E,(a!==0||(D&3)!==0)&&(cj=!0)),E=T}tf!==0&&tf!==5||e9(a),c2!==0&&(c2=0)}function yC(a,d){for(var w=a.suspendedLanes,E=a.pingedLanes,T=a.expirationTimes,D=a.pendingLanes&-62914561;0de)break;var it=nn.transferSize,gt=nn.initiatorType;it&&hP(gt)&&(nn=nn.responseEnd,W+=it*(nn"u"?null:document;function yP(a,d,w){var E=t5;if(E&&typeof d=="string"&&d){var T=$h(d);T='link[rel="'+a+'"][href="'+T+'"]',typeof w=="string"&&(T+='[crossorigin="'+w+'"]'),$C.has(T)||($C.add(T),a={rel:a,crossOrigin:w,href:d},E.querySelector(T)===null&&(d=E.createElement("link"),la(d,"link",a),Al(d),E.head.appendChild(d)))}}function GU(a){v0.D(a),yP("dns-prefetch",a,null)}function qU(a,d){v0.C(a,d),yP("preconnect",a,d)}function RC(a,d,w){v0.L(a,d,w);var E=t5;if(E&&a&&d){var T='link[rel="preload"][as="'+$h(d)+'"]';d==="image"&&w&&w.imageSrcSet?(T+='[imagesrcset="'+$h(w.imageSrcSet)+'"]',typeof w.imageSizes=="string"&&(T+='[imagesizes="'+$h(w.imageSizes)+'"]')):T+='[href="'+$h(a)+'"]';var D=T;switch(d){case"style":D=i5(a);break;case"script":D=r5(a)}x1.has(D)||(a=Q({rel:"preload",href:d==="image"&&w&&w.imageSrcSet?void 0:a,as:d},w),x1.set(D,a),E.querySelector(T)!==null||d==="style"&&E.querySelector(Cv(D))||d==="script"&&E.querySelector(c9(D))||(d=E.createElement("link"),la(d,"link",a),Al(d),E.head.appendChild(d)))}}function UU(a,d){v0.m(a,d);var w=t5;if(w&&a){var E=d&&typeof d.as=="string"?d.as:"script",T='link[rel="modulepreload"][as="'+$h(E)+'"][href="'+$h(a)+'"]',D=T;switch(E){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":D=r5(a)}if(!x1.has(D)&&(a=Q({rel:"modulepreload",href:a},d),x1.set(D,a),w.querySelector(T)===null)){switch(E){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(w.querySelector(c9(D)))return}E=w.createElement("link"),la(E,"link",a),Al(E),w.head.appendChild(E)}}}function XU(a,d,w){v0.S(a,d,w);var E=t5;if(E&&a){var T=Rp(E).hoistableStyles,D=i5(a);d=d||"default";var W=T.get(D);if(!W){var de={loading:0,preload:null};if(W=E.querySelector(Cv(D)))de.loading=5;else{a=Q({rel:"stylesheet",href:a,"data-precedence":d},w),(w=x1.get(D))&&FC(a,w);var nn=W=E.createElement("link");Al(nn),la(nn,"link",a),nn._p=new Promise(function(Pn,it){nn.onload=Pn,nn.onerror=it}),nn.addEventListener("load",function(){de.loading|=1}),nn.addEventListener("error",function(){de.loading|=2}),de.loading|=4,aj(W,d,E)}W={type:"stylesheet",instance:W,count:1,state:de},T.set(D,W)}}}function KU(a,d){v0.X(a,d);var w=t5;if(w&&a){var E=Rp(w).hoistableScripts,T=r5(a),D=E.get(T);D||(D=w.querySelector(c9(T)),D||(a=Q({src:a,async:!0},d),(d=x1.get(T))&&JC(a,d),D=w.createElement("script"),Al(D),la(D,"link",a),w.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},E.set(T,D))}}function BC(a,d){v0.M(a,d);var w=t5;if(w&&a){var E=Rp(w).hoistableScripts,T=r5(a),D=E.get(T);D||(D=w.querySelector(c9(T)),D||(a=Q({src:a,async:!0,type:"module"},d),(d=x1.get(T))&&JC(a,d),D=w.createElement("script"),Al(D),la(D,"link",a),w.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},E.set(T,D))}}function kP(a,d,w,E){var T=(T=di.current)?fj(T):null;if(!T)throw Error(M(446));switch(a){case"meta":case"title":return null;case"style":return typeof w.precedence=="string"&&typeof w.href=="string"?(d=i5(w.href),w=Rp(T).hoistableStyles,E=w.get(d),E||(E={type:"style",instance:null,count:0,state:null},w.set(d,E)),E):{type:"void",instance:null,count:0,state:null};case"link":if(w.rel==="stylesheet"&&typeof w.href=="string"&&typeof w.precedence=="string"){a=i5(w.href);var D=Rp(T).hoistableStyles,W=D.get(a);if(W||(T=T.ownerDocument||T,W={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},D.set(a,W),(D=T.querySelector(Cv(a)))&&!D._p&&(W.instance=D,W.state.loading=5),x1.has(a)||(w={rel:"preload",as:"style",href:w.href,crossOrigin:w.crossOrigin,integrity:w.integrity,media:w.media,hrefLang:w.hrefLang,referrerPolicy:w.referrerPolicy},x1.set(a,w),D||zC(T,a,w,W.state))),d&&E===null)throw Error(M(528,""));return W}if(d&&E!==null)throw Error(M(529,""));return null;case"script":return d=w.async,w=w.src,typeof w=="string"&&d&&typeof d!="function"&&typeof d!="symbol"?(d=r5(w),w=Rp(T).hoistableScripts,E=w.get(d),E||(E={type:"script",instance:null,count:0,state:null},w.set(d,E)),E):{type:"void",instance:null,count:0,state:null};default:throw Error(M(444,a))}}function i5(a){return'href="'+$h(a)+'"'}function Cv(a){return'link[rel="stylesheet"]['+a+"]"}function jP(a){return Q({},a,{"data-precedence":a.precedence,precedence:null})}function zC(a,d,w,E){a.querySelector('link[rel="preload"][as="style"]['+d+"]")?E.loading=1:(d=a.createElement("link"),E.preload=d,d.addEventListener("load",function(){return E.loading|=1}),d.addEventListener("error",function(){return E.loading|=2}),la(d,"link",w),Al(d),a.head.appendChild(d))}function r5(a){return'[src="'+$h(a)+'"]'}function c9(a){return"script[async]"+a}function EP(a,d,w){if(d.count++,d.instance===null)switch(d.type){case"style":var E=a.querySelector('style[data-href~="'+$h(w.href)+'"]');if(E)return d.instance=E,Al(E),E;var T=Q({},w,{"data-href":w.href,"data-precedence":w.precedence,href:null,precedence:null});return E=(a.ownerDocument||a).createElement("style"),Al(E),la(E,"style",T),aj(E,w.precedence,a),d.instance=E;case"stylesheet":T=i5(w.href);var D=a.querySelector(Cv(T));if(D)return d.state.loading|=4,d.instance=D,Al(D),D;E=jP(w),(T=x1.get(T))&&FC(E,T),D=(a.ownerDocument||a).createElement("link"),Al(D);var W=D;return W._p=new Promise(function(de,nn){W.onload=de,W.onerror=nn}),la(D,"link",E),d.state.loading|=4,aj(D,w.precedence,a),d.instance=D;case"script":return D=r5(w.src),(T=a.querySelector(c9(D)))?(d.instance=T,Al(T),T):(E=w,(T=x1.get(D))&&(E=Q({},w),JC(E,T)),a=a.ownerDocument||a,T=a.createElement("script"),Al(T),la(T,"link",E),a.head.appendChild(T),d.instance=T);case"void":return null;default:throw Error(M(443,d.type))}else d.type==="stylesheet"&&(d.state.loading&4)===0&&(E=d.instance,d.state.loading|=4,aj(E,w.precedence,a));return d.instance}function aj(a,d,w){for(var E=w.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),T=E.length?E[E.length-1]:null,D=T,W=0;W title"):null)}function VU(a,d,w){if(w===1||d.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof d.precedence!="string"||typeof d.href!="string"||d.href==="")break;return!0;case"link":if(typeof d.rel!="string"||typeof d.href!="string"||d.href===""||d.onLoad||d.onError)break;return d.rel==="stylesheet"?(a=d.disabled,typeof d.precedence=="string"&&a==null):!0;case"script":if(d.async&&typeof d.async!="function"&&typeof d.async!="symbol"&&!d.onLoad&&!d.onError&&d.src&&typeof d.src=="string")return!0}return!1}function AP(a){return!(a.type==="stylesheet"&&(a.state.loading&3)===0)}function YU(a,d,w,E){if(w.type==="stylesheet"&&(typeof E.media!="string"||matchMedia(E.media).matches!==!1)&&(w.state.loading&4)===0){if(w.instance===null){var T=i5(E.href),D=d.querySelector(Cv(T));if(D){d=D._p,d!==null&&typeof d=="object"&&typeof d.then=="function"&&(a.count++,a=u9.bind(a),d.then(a,a)),w.state.loading|=4,w.instance=D,Al(D);return}D=d.ownerDocument||d,E=jP(E),(T=x1.get(T))&&FC(E,T),D=D.createElement("link"),Al(D);var W=D;W._p=new Promise(function(de,nn){W.onload=de,W.onerror=nn}),la(D,"link",E),w.instance=D}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(w,d),(d=w.state.preload)&&(w.state.loading&3)===0&&(a.count++,w=u9.bind(a),d.addEventListener("load",w),d.addEventListener("error",w))}}var HC=0;function QU(a,d){return a.stylesheets&&a.count===0&&Tv(a,a.stylesheets),0HC?50:800)+d);return a.unsuspend=w,function(){a.unsuspend=null,clearTimeout(E),clearTimeout(T)}}:null}function u9(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Tv(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var o9=null;function Tv(a,d){a.stylesheets=null,a.unsuspend!==null&&(a.count++,o9=new Map,d.forEach(s9,a),o9=null,u9.call(a))}function s9(a,d){if(!(d.state.loading&4)){var w=o9.get(a);if(w)var E=w.get(null);else{w=new Map,o9.set(a,w);for(var T=a.querySelectorAll("link[data-precedence],style[data-precedence]"),D=0;D"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(b)}catch(j){console.error(j)}}return b(),I7e.exports=pzn(),I7e.exports}var vzn=mzn();function Ws(b){return b==null?"":JSON.stringify(rke(b))}function rke(b){return Array.isArray(b)?b.map(rke):b&&typeof b=="object"?Object.fromEntries(Object.entries(b).sort(([j],[x])=>j.localeCompare(x)).map(([j,x])=>[j,rke(x)])):b}function dy(b){return b?JSON.parse(b):null}function pue(b){const j=Oa(b.objectId);return b.name&&b.name!==j?`${b.name} · ID: ${j}`:j}function Oa(b){if(!b||typeof b!="object")return String(b);const j=b;if(j.type==="Tuple"&&Array.isArray(j.items))return`(${j.items.map(Oa).join(", ")})`;if(j.type==="NamedTuple"&&Array.isArray(j.items)&&Array.isArray(j.names)){const x=j.names;return`(${j.items.map((M,N)=>`${x[N]}=${Oa(M)}`).join(", ")})`}return j.type==="Pair"?`${Oa(j.first)} => ${Oa(j.second)}`:j.type==="Symbol"?`:${String(j.value)}`:"value"in j?Oa(j.value):String(j.repr??JSON.stringify(b))}function yzn(b,j){return!b||b.type!=="Scope"?null:"id"in b?b.id:j.find(M=>M.instance===b.name&&!j.some(N=>N.id===M.parent&&N.instance===b.name))?.objectId??b.name}function mue({label:b,value:j,objects:x,onChange:M,emptyLabel:N="Any"}){return I.jsxs("label",{children:[b,I.jsxs("select",{value:j,onChange:$=>M($.target.value),children:[I.jsx("option",{value:"",children:N}),x.map($=>I.jsx("option",{value:Ws($.objectId),children:pue($)},Ws($.objectId)))]})]})}function Na(b){if(typeof b=="string"||typeof b=="number")return""+b;let j="";if(Array.isArray(b))for(let x=0,M;x{}};function Iue(){for(var b=0,j=arguments.length,x={},M;b=0&&(M=x.slice(N+1),x=x.slice(0,N)),x&&!j.hasOwnProperty(x))throw new Error("unknown type: "+x);return{type:x,name:M}})}aue.prototype=Iue.prototype={constructor:aue,on:function(b,j){var x=this._,M=jzn(b+"",x),N,$=-1,k=M.length;if(arguments.length<2){for(;++$0)for(var x=new Array(N),M=0,N,$;M=0&&(j=b.slice(0,x))!=="xmlns"&&(b=b.slice(x+1)),Zhn.hasOwnProperty(j)?{space:Zhn[j],local:b}:b}function Szn(b){return function(){var j=this.ownerDocument,x=this.namespaceURI;return x===cke&&j.documentElement.namespaceURI===cke?j.createElement(b):j.createElementNS(x,b)}}function xzn(b){return function(){return this.ownerDocument.createElementNS(b.space,b.local)}}function wdn(b){var j=Due(b);return(j.local?xzn:Szn)(j)}function Azn(){}function kke(b){return b==null?Azn:function(){return this.querySelector(b)}}function Mzn(b){typeof b!="function"&&(b=kke(b));for(var j=this._groups,x=j.length,M=new Array(x),N=0;N=ae&&(ae=Pe+1);!(Ue=Se[ae])&&++ae=0;)(k=M[N])&&($&&k.compareDocumentPosition($)^4&&$.parentNode.insertBefore(k,$),$=k);return this}function Wzn(b){b||(b=Zzn);function j(Q,ee){return Q&&ee?b(Q.__data__,ee.__data__):!Q-!ee}for(var x=this._groups,M=x.length,N=new Array(M),$=0;$j?1:b>=j?0:NaN}function eFn(){var b=arguments[0];return arguments[0]=this,b.apply(null,arguments),this}function nFn(){return Array.from(this)}function tFn(){for(var b=this._groups,j=0,x=b.length;j1?this.each((j==null?dFn:typeof j=="function"?gFn:bFn)(b,j,x??"")):pD(this.node(),b)}function pD(b,j){return b.style.getPropertyValue(j)||kdn(b).getComputedStyle(b,null).getPropertyValue(j)}function pFn(b){return function(){delete this[b]}}function mFn(b,j){return function(){this[b]=j}}function vFn(b,j){return function(){var x=j.apply(this,arguments);x==null?delete this[b]:this[b]=x}}function yFn(b,j){return arguments.length>1?this.each((j==null?pFn:typeof j=="function"?vFn:mFn)(b,j)):this.node()[b]}function jdn(b){return b.trim().split(/^|\s+/)}function jke(b){return b.classList||new Edn(b)}function Edn(b){this._node=b,this._names=jdn(b.getAttribute("class")||"")}Edn.prototype={add:function(b){var j=this._names.indexOf(b);j<0&&(this._names.push(b),this._node.setAttribute("class",this._names.join(" ")))},remove:function(b){var j=this._names.indexOf(b);j>=0&&(this._names.splice(j,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(b){return this._names.indexOf(b)>=0}};function Sdn(b,j){for(var x=jke(b),M=-1,N=j.length;++M=0&&(x=j.slice(M+1),j=j.slice(0,M)),{type:j,name:x}})}function KFn(b){return function(){var j=this.__on;if(j){for(var x=0,M=-1,N=j.length,$;x()=>b;function uke(b,{sourceEvent:j,subject:x,target:M,identifier:N,active:$,x:k,y:J,dx:q,dy:G,dispatch:Z}){Object.defineProperties(this,{type:{value:b,enumerable:!0,configurable:!0},sourceEvent:{value:j,enumerable:!0,configurable:!0},subject:{value:x,enumerable:!0,configurable:!0},target:{value:M,enumerable:!0,configurable:!0},identifier:{value:N,enumerable:!0,configurable:!0},active:{value:$,enumerable:!0,configurable:!0},x:{value:k,enumerable:!0,configurable:!0},y:{value:J,enumerable:!0,configurable:!0},dx:{value:q,enumerable:!0,configurable:!0},dy:{value:G,enumerable:!0,configurable:!0},_:{value:Z}})}uke.prototype.on=function(){var b=this._.on.apply(this._,arguments);return b===this._?this:b};function rJn(b){return!b.ctrlKey&&!b.button}function cJn(){return this.parentNode}function uJn(b,j){return j??{x:b.x,y:b.y}}function oJn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Odn(){var b=rJn,j=cJn,x=uJn,M=oJn,N={},$=Iue("start","drag","end"),k=0,J,q,G,Z,Q=0;function ee(Ne){Ne.on("mousedown.drag",se).filter(M).on("touchstart.drag",Se).on("touchmove.drag",me,iJn).on("touchend.drag touchcancel.drag",Pe).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function se(Ne,Ue){if(!(Z||!b.call(this,Ne,Ue))){var ln=ae(this,j.call(this,Ne,Ue),Ne,Ue,"mouse");ln&&(Gg(Ne.view).on("mousemove.drag",ce,HG).on("mouseup.drag",ne,HG),Cdn(Ne.view),P7e(Ne),G=!1,J=Ne.clientX,q=Ne.clientY,ln("start",Ne))}}function ce(Ne){if(gD(Ne),!G){var Ue=Ne.clientX-J,ln=Ne.clientY-q;G=Ue*Ue+ln*ln>Q}N.mouse("drag",Ne)}function ne(Ne){Gg(Ne.view).on("mousemove.drag mouseup.drag",null),Tdn(Ne.view,G),gD(Ne),N.mouse("end",Ne)}function Se(Ne,Ue){if(b.call(this,Ne,Ue)){var ln=Ne.changedTouches,on=j.call(this,Ne,Ue),An=ln.length,xn,tt;for(xn=0;xn>8&15|j>>4&240,j>>4&15|j&240,(j&15)<<4|j&15,1):x===8?Wce(j>>24&255,j>>16&255,j>>8&255,(j&255)/255):x===4?Wce(j>>12&15|j>>8&240,j>>8&15|j>>4&240,j>>4&15|j&240,((j&15)<<4|j&15)/255):null):(j=lJn.exec(b))?new Mb(j[1],j[2],j[3],1):(j=fJn.exec(b))?new Mb(j[1]*255/100,j[2]*255/100,j[3]*255/100,1):(j=aJn.exec(b))?Wce(j[1],j[2],j[3],j[4]):(j=hJn.exec(b))?Wce(j[1]*255/100,j[2]*255/100,j[3]*255/100,j[4]):(j=dJn.exec(b))?u1n(j[1],j[2]/100,j[3]/100,1):(j=bJn.exec(b))?u1n(j[1],j[2]/100,j[3]/100,j[4]):e1n.hasOwnProperty(b)?i1n(e1n[b]):b==="transparent"?new Mb(NaN,NaN,NaN,0):null}function i1n(b){return new Mb(b>>16&255,b>>8&255,b&255,1)}function Wce(b,j,x,M){return M<=0&&(b=j=x=NaN),new Mb(b,j,x,M)}function pJn(b){return b instanceof nq||(b=TA(b)),b?(b=b.rgb(),new Mb(b.r,b.g,b.b,b.opacity)):new Mb}function oke(b,j,x,M){return arguments.length===1?pJn(b):new Mb(b,j,x,M??1)}function Mb(b,j,x,M){this.r=+b,this.g=+j,this.b=+x,this.opacity=+M}Eke(Mb,oke,Ndn(nq,{brighter(b){return b=b==null?yue:Math.pow(yue,b),new Mb(this.r*b,this.g*b,this.b*b,this.opacity)},darker(b){return b=b==null?GG:Math.pow(GG,b),new Mb(this.r*b,this.g*b,this.b*b,this.opacity)},rgb(){return this},clamp(){return new Mb(MA(this.r),MA(this.g),MA(this.b),kue(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:r1n,formatHex:r1n,formatHex8:mJn,formatRgb:c1n,toString:c1n}));function r1n(){return`#${AA(this.r)}${AA(this.g)}${AA(this.b)}`}function mJn(){return`#${AA(this.r)}${AA(this.g)}${AA(this.b)}${AA((isNaN(this.opacity)?1:this.opacity)*255)}`}function c1n(){const b=kue(this.opacity);return`${b===1?"rgb(":"rgba("}${MA(this.r)}, ${MA(this.g)}, ${MA(this.b)}${b===1?")":`, ${b})`}`}function kue(b){return isNaN(b)?1:Math.max(0,Math.min(1,b))}function MA(b){return Math.max(0,Math.min(255,Math.round(b)||0))}function AA(b){return b=MA(b),(b<16?"0":"")+b.toString(16)}function u1n(b,j,x,M){return M<=0?b=j=x=NaN:x<=0||x>=1?b=j=NaN:j<=0&&(b=NaN),new iv(b,j,x,M)}function Idn(b){if(b instanceof iv)return new iv(b.h,b.s,b.l,b.opacity);if(b instanceof nq||(b=TA(b)),!b)return new iv;if(b instanceof iv)return b;b=b.rgb();var j=b.r/255,x=b.g/255,M=b.b/255,N=Math.min(j,x,M),$=Math.max(j,x,M),k=NaN,J=$-N,q=($+N)/2;return J?(j===$?k=(x-M)/J+(x0&&q<1?0:k,new iv(k,J,q,b.opacity)}function vJn(b,j,x,M){return arguments.length===1?Idn(b):new iv(b,j,x,M??1)}function iv(b,j,x,M){this.h=+b,this.s=+j,this.l=+x,this.opacity=+M}Eke(iv,vJn,Ndn(nq,{brighter(b){return b=b==null?yue:Math.pow(yue,b),new iv(this.h,this.s,this.l*b,this.opacity)},darker(b){return b=b==null?GG:Math.pow(GG,b),new iv(this.h,this.s,this.l*b,this.opacity)},rgb(){var b=this.h%360+(this.h<0)*360,j=isNaN(b)||isNaN(this.s)?0:this.s,x=this.l,M=x+(x<.5?x:1-x)*j,N=2*x-M;return new Mb($7e(b>=240?b-240:b+120,N,M),$7e(b,N,M),$7e(b<120?b+240:b-120,N,M),this.opacity)},clamp(){return new iv(o1n(this.h),Zce(this.s),Zce(this.l),kue(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 b=kue(this.opacity);return`${b===1?"hsl(":"hsla("}${o1n(this.h)}, ${Zce(this.s)*100}%, ${Zce(this.l)*100}%${b===1?")":`, ${b})`}`}}));function o1n(b){return b=(b||0)%360,b<0?b+360:b}function Zce(b){return Math.max(0,Math.min(1,b||0))}function $7e(b,j,x){return(b<60?j+(x-j)*b/60:b<180?x:b<240?j+(x-j)*(240-b)/60:j)*255}const Ske=b=>()=>b;function yJn(b,j){return function(x){return b+x*j}}function kJn(b,j,x){return b=Math.pow(b,x),j=Math.pow(j,x)-b,x=1/x,function(M){return Math.pow(b+M*j,x)}}function jJn(b){return(b=+b)==1?Ddn:function(j,x){return x-j?kJn(j,x,b):Ske(isNaN(j)?x:j)}}function Ddn(b,j){var x=j-b;return x?yJn(b,x):Ske(isNaN(b)?j:b)}const jue=(function b(j){var x=jJn(j);function M(N,$){var k=x((N=oke(N)).r,($=oke($)).r),J=x(N.g,$.g),q=x(N.b,$.b),G=Ddn(N.opacity,$.opacity);return function(Z){return N.r=k(Z),N.g=J(Z),N.b=q(Z),N.opacity=G(Z),N+""}}return M.gamma=b,M})(1);function EJn(b,j){j||(j=[]);var x=b?Math.min(j.length,b.length):0,M=j.slice(),N;return function($){for(N=0;Nx&&($=j.slice(x,$),J[k]?J[k]+=$:J[++k]=$),(M=M[0])===(N=N[0])?J[k]?J[k]+=N:J[++k]=N:(J[++k]=null,q.push({i:k,x:hy(M,N)})),x=R7e.lastIndex;return x180?Z+=360:Z-G>180&&(G+=360),ee.push({i:Q.push(N(Q)+"rotate(",null,M)-2,x:hy(G,Z)})):Z&&Q.push(N(Q)+"rotate("+Z+M)}function J(G,Z,Q,ee){G!==Z?ee.push({i:Q.push(N(Q)+"skewX(",null,M)-2,x:hy(G,Z)}):Z&&Q.push(N(Q)+"skewX("+Z+M)}function q(G,Z,Q,ee,se,ce){if(G!==Q||Z!==ee){var ne=se.push(N(se)+"scale(",null,",",null,")");ce.push({i:ne-4,x:hy(G,Q)},{i:ne-2,x:hy(Z,ee)})}else(Q!==1||ee!==1)&&se.push(N(se)+"scale("+Q+","+ee+")")}return function(G,Z){var Q=[],ee=[];return G=b(G),Z=b(Z),$(G.translateX,G.translateY,Z.translateX,Z.translateY,Q,ee),k(G.rotate,Z.rotate,Q,ee),J(G.skewX,Z.skewX,Q,ee),q(G.scaleX,G.scaleY,Z.scaleX,Z.scaleY,Q,ee),G=Z=null,function(se){for(var ce=-1,ne=ee.length,Se;++ce=0&&b._call.call(void 0,j),b=b._next;--mD}function f1n(){OA=(Sue=UG.now())+_ue,mD=BG=0;try{RJn()}finally{mD=0,zJn(),OA=0}}function BJn(){var b=UG.now(),j=b-Sue;j>$dn&&(_ue-=j,Sue=b)}function zJn(){for(var b,j=Eue,x,M=1/0;j;)j._call?(M>j._time&&(M=j._time),b=j,j=j._next):(x=j._next,j._next=null,j=b?b._next=x:Eue=x);zG=b,fke(M)}function fke(b){if(!mD){BG&&(BG=clearTimeout(BG));var j=b-OA;j>24?(b<1/0&&(BG=setTimeout(f1n,b-UG.now()-_ue)),$G&&($G=clearInterval($G))):($G||(Sue=UG.now(),$G=setInterval(BJn,$dn)),mD=1,Rdn(f1n))}}function a1n(b,j,x){var M=new xue;return j=j==null?0:+j,M.restart(N=>{M.stop(),b(N+j)},j,x),M}var FJn=Iue("start","end","cancel","interrupt"),JJn=[],zdn=0,h1n=1,ake=2,due=3,d1n=4,hke=5,bue=6;function Lue(b,j,x,M,N,$){var k=b.__transition;if(!k)b.__transition={};else if(x in k)return;HJn(b,x,{name:j,index:M,group:N,on:FJn,tween:JJn,time:$.time,delay:$.delay,duration:$.duration,ease:$.ease,timer:null,state:zdn})}function Ake(b,j){var x=uv(b,j);if(x.state>zdn)throw new Error("too late; already scheduled");return x}function py(b,j){var x=uv(b,j);if(x.state>due)throw new Error("too late; already running");return x}function uv(b,j){var x=b.__transition;if(!x||!(x=x[j]))throw new Error("transition not found");return x}function HJn(b,j,x){var M=b.__transition,N;M[j]=x,x.timer=Bdn($,0,x.time);function $(G){x.state=h1n,x.timer.restart(k,x.delay,x.time),x.delay<=G&&k(G-x.delay)}function k(G){var Z,Q,ee,se;if(x.state!==h1n)return q();for(Z in M)if(se=M[Z],se.name===x.name){if(se.state===due)return a1n(k);se.state===d1n?(se.state=bue,se.timer.stop(),se.on.call("interrupt",b,b.__data__,se.index,se.group),delete M[Z]):+Zake&&M.state=0&&(j=j.slice(0,x)),!j||j==="start"})}function vHn(b,j,x){var M,N,$=mHn(j)?Ake:py;return function(){var k=$(this,b),J=k.on;J!==M&&(N=(M=J).copy()).on(j,x),k.on=N}}function yHn(b,j){var x=this._id;return arguments.length<2?uv(this.node(),x).on.on(b):this.each(vHn(x,b,j))}function kHn(b){return function(){var j=this.parentNode;for(var x in this.__transition)if(+x!==b)return;j&&j.removeChild(this)}}function jHn(){return this.on("end.remove",kHn(this._id))}function EHn(b){var j=this._name,x=this._id;typeof b!="function"&&(b=kke(b));for(var M=this._groups,N=M.length,$=new Array(N),k=0;k()=>b;function KHn(b,{sourceEvent:j,target:x,transform:M,dispatch:N}){Object.defineProperties(this,{type:{value:b,enumerable:!0,configurable:!0},sourceEvent:{value:j,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},transform:{value:M,enumerable:!0,configurable:!0},_:{value:N}})}function l6(b,j,x){this.k=b,this.x=j,this.y=x}l6.prototype={constructor:l6,scale:function(b){return b===1?this:new l6(this.k*b,this.x,this.y)},translate:function(b,j){return b===0&j===0?this:new l6(this.k,this.x+this.k*b,this.y+this.k*j)},apply:function(b){return[b[0]*this.k+this.x,b[1]*this.k+this.y]},applyX:function(b){return b*this.k+this.x},applyY:function(b){return b*this.k+this.y},invert:function(b){return[(b[0]-this.x)/this.k,(b[1]-this.y)/this.k]},invertX:function(b){return(b-this.x)/this.k},invertY:function(b){return(b-this.y)/this.k},rescaleX:function(b){return b.copy().domain(b.range().map(this.invertX,this).map(b.invert,b))},rescaleY:function(b){return b.copy().domain(b.range().map(this.invertY,this).map(b.invert,b))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Pue=new l6(1,0,0);Gdn.prototype=l6.prototype;function Gdn(b){for(;!b.__zoom;)if(!(b=b.parentNode))return Pue;return b.__zoom}function B7e(b){b.stopImmediatePropagation()}function RG(b){b.preventDefault(),b.stopImmediatePropagation()}function VHn(b){return(!b.ctrlKey||b.type==="wheel")&&!b.button}function YHn(){var b=this;return b instanceof SVGElement?(b=b.ownerSVGElement||b,b.hasAttribute("viewBox")?(b=b.viewBox.baseVal,[[b.x,b.y],[b.x+b.width,b.y+b.height]]):[[0,0],[b.width.baseVal.value,b.height.baseVal.value]]):[[0,0],[b.clientWidth,b.clientHeight]]}function b1n(){return this.__zoom||Pue}function QHn(b){return-b.deltaY*(b.deltaMode===1?.05:b.deltaMode?1:.002)*(b.ctrlKey?10:1)}function WHn(){return navigator.maxTouchPoints||"ontouchstart"in this}function ZHn(b,j,x){var M=b.invertX(j[0][0])-x[0][0],N=b.invertX(j[1][0])-x[1][0],$=b.invertY(j[0][1])-x[0][1],k=b.invertY(j[1][1])-x[1][1];return b.translate(N>M?(M+N)/2:Math.min(0,M)||Math.max(0,N),k>$?($+k)/2:Math.min(0,$)||Math.max(0,k))}function qdn(){var b=VHn,j=YHn,x=ZHn,M=QHn,N=WHn,$=[0,1/0],k=[[-1/0,-1/0],[1/0,1/0]],J=250,q=hue,G=Iue("start","zoom","end"),Z,Q,ee,se=500,ce=150,ne=0,Se=10;function me(Fe){Fe.property("__zoom",b1n).on("wheel.zoom",An,{passive:!1}).on("mousedown.zoom",xn).on("dblclick.zoom",tt).filter(N).on("touchstart.zoom",mn).on("touchmove.zoom",vn).on("touchend.zoom touchcancel.zoom",Y).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}me.transform=function(Fe,wn,Ae,Ge){var fn=Fe.selection?Fe.selection():Fe;fn.property("__zoom",b1n),Fe!==fn?Ue(Fe,wn,Ae,Ge):fn.interrupt().each(function(){ln(this,arguments).event(Ge).start().zoom(null,typeof wn=="function"?wn.apply(this,arguments):wn).end()})},me.scaleBy=function(Fe,wn,Ae,Ge){me.scaleTo(Fe,function(){var fn=this.__zoom.k,$e=typeof wn=="function"?wn.apply(this,arguments):wn;return fn*$e},Ae,Ge)},me.scaleTo=function(Fe,wn,Ae,Ge){me.transform(Fe,function(){var fn=j.apply(this,arguments),$e=this.__zoom,Mn=Ae==null?Ne(fn):typeof Ae=="function"?Ae.apply(this,arguments):Ae,ge=$e.invert(Mn),tn=typeof wn=="function"?wn.apply(this,arguments):wn;return x(ae(Pe($e,tn),Mn,ge),fn,k)},Ae,Ge)},me.translateBy=function(Fe,wn,Ae,Ge){me.transform(Fe,function(){return x(this.__zoom.translate(typeof wn=="function"?wn.apply(this,arguments):wn,typeof Ae=="function"?Ae.apply(this,arguments):Ae),j.apply(this,arguments),k)},null,Ge)},me.translateTo=function(Fe,wn,Ae,Ge,fn){me.transform(Fe,function(){var $e=j.apply(this,arguments),Mn=this.__zoom,ge=Ge==null?Ne($e):typeof Ge=="function"?Ge.apply(this,arguments):Ge;return x(Pue.translate(ge[0],ge[1]).scale(Mn.k).translate(typeof wn=="function"?-wn.apply(this,arguments):-wn,typeof Ae=="function"?-Ae.apply(this,arguments):-Ae),$e,k)},Ge,fn)};function Pe(Fe,wn){return wn=Math.max($[0],Math.min($[1],wn)),wn===Fe.k?Fe:new l6(wn,Fe.x,Fe.y)}function ae(Fe,wn,Ae){var Ge=wn[0]-Ae[0]*Fe.k,fn=wn[1]-Ae[1]*Fe.k;return Ge===Fe.x&&fn===Fe.y?Fe:new l6(Fe.k,Ge,fn)}function Ne(Fe){return[(+Fe[0][0]+ +Fe[1][0])/2,(+Fe[0][1]+ +Fe[1][1])/2]}function Ue(Fe,wn,Ae,Ge){Fe.on("start.zoom",function(){ln(this,arguments).event(Ge).start()}).on("interrupt.zoom end.zoom",function(){ln(this,arguments).event(Ge).end()}).tween("zoom",function(){var fn=this,$e=arguments,Mn=ln(fn,$e).event(Ge),ge=j.apply(fn,$e),tn=Ae==null?Ne(ge):typeof Ae=="function"?Ae.apply(fn,$e):Ae,Hn=Math.max(ge[1][0]-ge[0][0],ge[1][1]-ge[0][1]),ut=fn.__zoom,Jt=typeof wn=="function"?wn.apply(fn,$e):wn,di=q(ut.invert(tn).concat(Hn/ut.k),Jt.invert(tn).concat(Hn/Jt.k));return function(Gt){if(Gt===1)Gt=Jt;else{var At=di(Gt),si=Hn/At[2];Gt=new l6(si,tn[0]-At[0]*si,tn[1]-At[1]*si)}Mn.zoom(null,Gt)}})}function ln(Fe,wn,Ae){return!Ae&&Fe.__zooming||new on(Fe,wn)}function on(Fe,wn){this.that=Fe,this.args=wn,this.active=0,this.sourceEvent=null,this.extent=j.apply(Fe,wn),this.taps=0}on.prototype={event:function(Fe){return Fe&&(this.sourceEvent=Fe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Fe,wn){return this.mouse&&Fe!=="mouse"&&(this.mouse[1]=wn.invert(this.mouse[0])),this.touch0&&Fe!=="touch"&&(this.touch0[1]=wn.invert(this.touch0[0])),this.touch1&&Fe!=="touch"&&(this.touch1[1]=wn.invert(this.touch1[0])),this.that.__zoom=wn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Fe){var wn=Gg(this.that).datum();G.call(Fe,this.that,new KHn(Fe,{sourceEvent:this.sourceEvent,target:me,transform:this.that.__zoom,dispatch:G}),wn)}};function An(Fe,...wn){if(!b.apply(this,arguments))return;var Ae=ln(this,wn).event(Fe),Ge=this.__zoom,fn=Math.max($[0],Math.min($[1],Ge.k*Math.pow(2,M.apply(this,arguments)))),$e=tv(Fe);if(Ae.wheel)(Ae.mouse[0][0]!==$e[0]||Ae.mouse[0][1]!==$e[1])&&(Ae.mouse[1]=Ge.invert(Ae.mouse[0]=$e)),clearTimeout(Ae.wheel);else{if(Ge.k===fn)return;Ae.mouse=[$e,Ge.invert($e)],gue(this),Ae.start()}RG(Fe),Ae.wheel=setTimeout(Mn,ce),Ae.zoom("mouse",x(ae(Pe(Ge,fn),Ae.mouse[0],Ae.mouse[1]),Ae.extent,k));function Mn(){Ae.wheel=null,Ae.end()}}function xn(Fe,...wn){if(ee||!b.apply(this,arguments))return;var Ae=Fe.currentTarget,Ge=ln(this,wn,!0).event(Fe),fn=Gg(Fe.view).on("mousemove.zoom",tn,!0).on("mouseup.zoom",Hn,!0),$e=tv(Fe,Ae),Mn=Fe.clientX,ge=Fe.clientY;Cdn(Fe.view),B7e(Fe),Ge.mouse=[$e,this.__zoom.invert($e)],gue(this),Ge.start();function tn(ut){if(RG(ut),!Ge.moved){var Jt=ut.clientX-Mn,di=ut.clientY-ge;Ge.moved=Jt*Jt+di*di>ne}Ge.event(ut).zoom("mouse",x(ae(Ge.that.__zoom,Ge.mouse[0]=tv(ut,Ae),Ge.mouse[1]),Ge.extent,k))}function Hn(ut){fn.on("mousemove.zoom mouseup.zoom",null),Tdn(ut.view,Ge.moved),RG(ut),Ge.event(ut).end()}}function tt(Fe,...wn){if(b.apply(this,arguments)){var Ae=this.__zoom,Ge=tv(Fe.changedTouches?Fe.changedTouches[0]:Fe,this),fn=Ae.invert(Ge),$e=Ae.k*(Fe.shiftKey?.5:2),Mn=x(ae(Pe(Ae,$e),Ge,fn),j.apply(this,wn),k);RG(Fe),J>0?Gg(this).transition().duration(J).call(Ue,Mn,Ge,Fe):Gg(this).call(me.transform,Mn,Ge,Fe)}}function mn(Fe,...wn){if(b.apply(this,arguments)){var Ae=Fe.touches,Ge=Ae.length,fn=ln(this,wn,Fe.changedTouches.length===Ge).event(Fe),$e,Mn,ge,tn;for(B7e(Fe),Mn=0;Mn"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:b=>`Node type "${b}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:b=>`The old edge with id=${b} does not exist.`,error009:b=>`Marker type "${b}" doesn't exist.`,error008:(b,{id:j,sourceHandle:x,targetHandle:M})=>`Couldn't create edge for ${b} handle id: "${b==="source"?x:M}", edge id: ${j}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:b=>`Edge type "${b}" not found. Using fallback type "default".`,error012:b=>`Node with id "${b}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(b="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${b}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},XG=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],Udn=["Enter"," ","Escape"],Xdn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:b,x:j,y:x})=>`Moved selected node ${b}. New position, x: ${j}, y: ${x}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var vD;(function(b){b.Strict="strict",b.Loose="loose"})(vD||(vD={}));var CA;(function(b){b.Free="free",b.Vertical="vertical",b.Horizontal="horizontal"})(CA||(CA={}));var KG;(function(b){b.Partial="partial",b.Full="full"})(KG||(KG={}));const Kdn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var ik;(function(b){b.Bezier="default",b.Straight="straight",b.Step="step",b.SmoothStep="smoothstep",b.SimpleBezier="simplebezier"})(ik||(ik={}));var VG;(function(b){b.Arrow="arrow",b.ArrowClosed="arrowclosed"})(VG||(VG={}));var ur;(function(b){b.Left="left",b.Top="top",b.Right="right",b.Bottom="bottom"})(ur||(ur={}));const g1n={[ur.Left]:ur.Right,[ur.Right]:ur.Left,[ur.Top]:ur.Bottom,[ur.Bottom]:ur.Top};function Vdn(b){return b===null?null:b?"valid":"invalid"}const Ydn=b=>"id"in b&&"source"in b&&"target"in b,eGn=b=>"id"in b&&"position"in b&&!("source"in b)&&!("target"in b),Cke=b=>"id"in b&&"internals"in b&&!("source"in b)&&!("target"in b),tq=(b,j=[0,0])=>{const{width:x,height:M}=a6(b),N=b.origin??j,$=x*N[0],k=M*N[1];return{x:b.position.x-$,y:b.position.y-k}},nGn=(b,j={nodeOrigin:[0,0]})=>{if(b.length===0)return{x:0,y:0,width:0,height:0};const x=b.reduce((M,N)=>{const $=typeof N=="string";let k=!j.nodeLookup&&!$?N:void 0;j.nodeLookup&&(k=$?j.nodeLookup.get(N):Cke(N)?N:j.nodeLookup.get(N.id));const J=k?Aue(k,j.nodeOrigin):{x:0,y:0,x2:0,y2:0};return $ue(M,J)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Rue(x)},iq=(b,j={})=>{let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},M=!1;return b.forEach(N=>{(j.filter===void 0||j.filter(N))&&(x=$ue(x,Aue(N)),M=!0)}),M?Rue(x):{x:0,y:0,width:0,height:0}},Tke=(b,j,[x,M,N]=[0,0,1],$=!1,k=!1)=>{const J={...cq(j,[x,M,N]),width:j.width/N,height:j.height/N},q=[];for(const G of b.values()){const{measured:Z,selectable:Q=!0,hidden:ee=!1}=G;if(k&&!Q||ee)continue;const se=Z.width??G.width??G.initialWidth??null,ce=Z.height??G.height??G.initialHeight??null,ne=YG(J,kD(G)),Se=(se??0)*(ce??0),me=$&&ne>0;(!G.internals.handleBounds||me||ne>=Se||G.dragging)&&q.push(G)}return q},tGn=(b,j)=>{const x=new Set;return b.forEach(M=>{x.add(M.id)}),j.filter(M=>x.has(M.source)||x.has(M.target))};function iGn(b,j){const x=new Map,M=j?.nodes?new Set(j.nodes.map(N=>N.id)):null;return b.forEach(N=>{N.measured.width&&N.measured.height&&(j?.includeHiddenNodes||!N.hidden)&&(!M||M.has(N.id))&&x.set(N.id,N)}),x}async function rGn({nodes:b,width:j,height:x,panZoom:M,minZoom:N,maxZoom:$},k){if(b.size===0)return Promise.resolve(!0);const J=iGn(b,k),q=iq(J),G=Oke(q,j,x,k?.minZoom??N,k?.maxZoom??$,k?.padding??.1);return await M.setViewport(G,{duration:k?.duration,ease:k?.ease,interpolate:k?.interpolate}),Promise.resolve(!0)}function Qdn({nodeId:b,nextPosition:j,nodeLookup:x,nodeOrigin:M=[0,0],nodeExtent:N,onError:$}){const k=x.get(b),J=k.parentId?x.get(k.parentId):void 0,{x:q,y:G}=J?J.internals.positionAbsolute:{x:0,y:0},Z=k.origin??M;let Q=k.extent||N;if(k.extent==="parent"&&!k.expandParent)if(!J)$?.("005",gy.error005());else{const se=J.measured.width,ce=J.measured.height;se&&ce&&(Q=[[q,G],[q+se,G+ce]])}else J&&jD(k.extent)&&(Q=[[k.extent[0][0]+q,k.extent[0][1]+G],[k.extent[1][0]+q,k.extent[1][1]+G]]);const ee=jD(Q)?NA(j,Q,k.measured):j;return(k.measured.width===void 0||k.measured.height===void 0)&&$?.("015",gy.error015()),{position:{x:ee.x-q+(k.measured.width??0)*Z[0],y:ee.y-G+(k.measured.height??0)*Z[1]},positionAbsolute:ee}}async function cGn({nodesToRemove:b=[],edgesToRemove:j=[],nodes:x,edges:M,onBeforeDelete:N}){const $=new Set(b.map(ee=>ee.id)),k=[];for(const ee of x){if(ee.deletable===!1)continue;const se=$.has(ee.id),ce=!se&&ee.parentId&&k.find(ne=>ne.id===ee.parentId);(se||ce)&&k.push(ee)}const J=new Set(j.map(ee=>ee.id)),q=M.filter(ee=>ee.deletable!==!1),Z=tGn(k,q);for(const ee of q)J.has(ee.id)&&!Z.find(ce=>ce.id===ee.id)&&Z.push(ee);if(!N)return{edges:Z,nodes:k};const Q=await N({nodes:k,edges:Z});return typeof Q=="boolean"?Q?{edges:Z,nodes:k}:{edges:[],nodes:[]}:Q}const yD=(b,j=0,x=1)=>Math.min(Math.max(b,j),x),NA=(b={x:0,y:0},j,x)=>({x:yD(b.x,j[0][0],j[1][0]-(x?.width??0)),y:yD(b.y,j[0][1],j[1][1]-(x?.height??0))});function Wdn(b,j,x){const{width:M,height:N}=a6(x),{x:$,y:k}=x.internals.positionAbsolute;return NA(b,[[$,k],[$+M,k+N]],j)}const w1n=(b,j,x)=>bx?-yD(Math.abs(b-x),1,j)/j:0,Zdn=(b,j,x=15,M=40)=>{const N=w1n(b.x,M,j.width-M)*x,$=w1n(b.y,M,j.height-M)*x;return[N,$]},$ue=(b,j)=>({x:Math.min(b.x,j.x),y:Math.min(b.y,j.y),x2:Math.max(b.x2,j.x2),y2:Math.max(b.y2,j.y2)}),dke=({x:b,y:j,width:x,height:M})=>({x:b,y:j,x2:b+x,y2:j+M}),Rue=({x:b,y:j,x2:x,y2:M})=>({x:b,y:j,width:x-b,height:M-j}),kD=(b,j=[0,0])=>{const{x,y:M}=Cke(b)?b.internals.positionAbsolute:tq(b,j);return{x,y:M,width:b.measured?.width??b.width??b.initialWidth??0,height:b.measured?.height??b.height??b.initialHeight??0}},Aue=(b,j=[0,0])=>{const{x,y:M}=Cke(b)?b.internals.positionAbsolute:tq(b,j);return{x,y:M,x2:x+(b.measured?.width??b.width??b.initialWidth??0),y2:M+(b.measured?.height??b.height??b.initialHeight??0)}},e0n=(b,j)=>Rue($ue(dke(b),dke(j))),YG=(b,j)=>{const x=Math.max(0,Math.min(b.x+b.width,j.x+j.width)-Math.max(b.x,j.x)),M=Math.max(0,Math.min(b.y+b.height,j.y+j.height)-Math.max(b.y,j.y));return Math.ceil(x*M)},p1n=b=>rv(b.width)&&rv(b.height)&&rv(b.x)&&rv(b.y),rv=b=>!isNaN(b)&&isFinite(b),uGn=(b,j)=>{},rq=(b,j=[1,1])=>({x:j[0]*Math.round(b.x/j[0]),y:j[1]*Math.round(b.y/j[1])}),cq=({x:b,y:j},[x,M,N],$=!1,k=[1,1])=>{const J={x:(b-x)/N,y:(j-M)/N};return $?rq(J,k):J},Mue=({x:b,y:j},[x,M,N])=>({x:b*N+x,y:j*N+M});function aD(b,j){if(typeof b=="number")return Math.floor((j-j/(1+b))*.5);if(typeof b=="string"&&b.endsWith("px")){const x=parseFloat(b);if(!Number.isNaN(x))return Math.floor(x)}if(typeof b=="string"&&b.endsWith("%")){const x=parseFloat(b);if(!Number.isNaN(x))return Math.floor(j*x*.01)}return console.error(`[React Flow] The padding value "${b}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function oGn(b,j,x){if(typeof b=="string"||typeof b=="number"){const M=aD(b,x),N=aD(b,j);return{top:M,right:N,bottom:M,left:N,x:N*2,y:M*2}}if(typeof b=="object"){const M=aD(b.top??b.y??0,x),N=aD(b.bottom??b.y??0,x),$=aD(b.left??b.x??0,j),k=aD(b.right??b.x??0,j);return{top:M,right:k,bottom:N,left:$,x:$+k,y:M+N}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function sGn(b,j,x,M,N,$){const{x:k,y:J}=Mue(b,[j,x,M]),{x:q,y:G}=Mue({x:b.x+b.width,y:b.y+b.height},[j,x,M]),Z=N-q,Q=$-G;return{left:Math.floor(k),top:Math.floor(J),right:Math.floor(Z),bottom:Math.floor(Q)}}const Oke=(b,j,x,M,N,$)=>{const k=oGn($,j,x),J=(j-k.x)/b.width,q=(x-k.y)/b.height,G=Math.min(J,q),Z=yD(G,M,N),Q=b.x+b.width/2,ee=b.y+b.height/2,se=j/2-Q*Z,ce=x/2-ee*Z,ne=sGn(b,se,ce,Z,j,x),Se={left:Math.min(ne.left-k.left,0),top:Math.min(ne.top-k.top,0),right:Math.min(ne.right-k.right,0),bottom:Math.min(ne.bottom-k.bottom,0)};return{x:se-Se.left+Se.right,y:ce-Se.top+Se.bottom,zoom:Z}},QG=()=>typeof navigator<"u"&&navigator?.userAgent?.indexOf("Mac")>=0;function jD(b){return b!=null&&b!=="parent"}function a6(b){return{width:b.measured?.width??b.width??b.initialWidth??0,height:b.measured?.height??b.height??b.initialHeight??0}}function n0n(b){return(b.measured?.width??b.width??b.initialWidth)!==void 0&&(b.measured?.height??b.height??b.initialHeight)!==void 0}function t0n(b,j={width:0,height:0},x,M,N){const $={...b},k=M.get(x);if(k){const J=k.origin||N;$.x+=k.internals.positionAbsolute.x-(j.width??0)*J[0],$.y+=k.internals.positionAbsolute.y-(j.height??0)*J[1]}return $}function m1n(b,j){if(b.size!==j.size)return!1;for(const x of b)if(!j.has(x))return!1;return!0}function lGn(){let b,j;return{promise:new Promise((M,N)=>{b=M,j=N}),resolve:b,reject:j}}function fGn(b){return{...Xdn,...b||{}}}function JG(b,{snapGrid:j=[0,0],snapToGrid:x=!1,transform:M,containerBounds:N}){const{x:$,y:k}=cv(b),J=cq({x:$-(N?.left??0),y:k-(N?.top??0)},M),{x:q,y:G}=x?rq(J,j):J;return{xSnapped:q,ySnapped:G,...J}}const Nke=b=>({width:b.offsetWidth,height:b.offsetHeight}),i0n=b=>b?.getRootNode?.()||window?.document,aGn=["INPUT","SELECT","TEXTAREA"];function r0n(b){const j=b.composedPath?.()?.[0]||b.target;return j?.nodeType!==1?!1:aGn.includes(j.nodeName)||j.hasAttribute("contenteditable")||!!j.closest(".nokey")}const c0n=b=>"clientX"in b,cv=(b,j)=>{const x=c0n(b),M=x?b.clientX:b.touches?.[0].clientX,N=x?b.clientY:b.touches?.[0].clientY;return{x:M-(j?.left??0),y:N-(j?.top??0)}},v1n=(b,j,x,M,N)=>{const $=j.querySelectorAll(`.${b}`);return!$||!$.length?null:Array.from($).map(k=>{const J=k.getBoundingClientRect();return{id:k.getAttribute("data-handleid"),type:b,nodeId:N,position:k.getAttribute("data-handlepos"),x:(J.left-x.left)/M,y:(J.top-x.top)/M,...Nke(k)}})};function u0n({sourceX:b,sourceY:j,targetX:x,targetY:M,sourceControlX:N,sourceControlY:$,targetControlX:k,targetControlY:J}){const q=b*.125+N*.375+k*.375+x*.125,G=j*.125+$*.375+J*.375+M*.125,Z=Math.abs(q-b),Q=Math.abs(G-j);return[q,G,Z,Q]}function tue(b,j){return b>=0?.5*b:j*25*Math.sqrt(-b)}function y1n({pos:b,x1:j,y1:x,x2:M,y2:N,c:$}){switch(b){case ur.Left:return[j-tue(j-M,$),x];case ur.Right:return[j+tue(M-j,$),x];case ur.Top:return[j,x-tue(x-N,$)];case ur.Bottom:return[j,x+tue(N-x,$)]}}function o0n({sourceX:b,sourceY:j,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top,curvature:k=.25}){const[J,q]=y1n({pos:x,x1:b,y1:j,x2:M,y2:N,c:k}),[G,Z]=y1n({pos:$,x1:M,y1:N,x2:b,y2:j,c:k}),[Q,ee,se,ce]=u0n({sourceX:b,sourceY:j,targetX:M,targetY:N,sourceControlX:J,sourceControlY:q,targetControlX:G,targetControlY:Z});return[`M${b},${j} C${J},${q} ${G},${Z} ${M},${N}`,Q,ee,se,ce]}function s0n({sourceX:b,sourceY:j,targetX:x,targetY:M}){const N=Math.abs(x-b)/2,$=x0}const bGn=({source:b,sourceHandle:j,target:x,targetHandle:M})=>`xy-edge__${b}${j||""}-${x}${M||""}`,gGn=(b,j)=>j.some(x=>x.source===b.source&&x.target===b.target&&(x.sourceHandle===b.sourceHandle||!x.sourceHandle&&!b.sourceHandle)&&(x.targetHandle===b.targetHandle||!x.targetHandle&&!b.targetHandle)),wGn=(b,j,x={})=>{if(!b.source||!b.target)return j;const M=x.getEdgeId||bGn;let N;return Ydn(b)?N={...b}:N={...b,id:M(b)},gGn(N,j)?j:(N.sourceHandle===null&&delete N.sourceHandle,N.targetHandle===null&&delete N.targetHandle,j.concat(N))};function l0n({sourceX:b,sourceY:j,targetX:x,targetY:M}){const[N,$,k,J]=s0n({sourceX:b,sourceY:j,targetX:x,targetY:M});return[`M ${b},${j}L ${x},${M}`,N,$,k,J]}const k1n={[ur.Left]:{x:-1,y:0},[ur.Right]:{x:1,y:0},[ur.Top]:{x:0,y:-1},[ur.Bottom]:{x:0,y:1}},pGn=({source:b,sourcePosition:j=ur.Bottom,target:x})=>j===ur.Left||j===ur.Right?b.xMath.sqrt(Math.pow(j.x-b.x,2)+Math.pow(j.y-b.y,2));function mGn({source:b,sourcePosition:j=ur.Bottom,target:x,targetPosition:M=ur.Top,center:N,offset:$,stepPosition:k}){const J=k1n[j],q=k1n[M],G={x:b.x+J.x*$,y:b.y+J.y*$},Z={x:x.x+q.x*$,y:x.y+q.y*$},Q=pGn({source:G,sourcePosition:j,target:Z}),ee=Q.x!==0?"x":"y",se=Q[ee];let ce=[],ne,Se;const me={x:0,y:0},Pe={x:0,y:0},[,,ae,Ne]=s0n({sourceX:b.x,sourceY:b.y,targetX:x.x,targetY:x.y});if(J[ee]*q[ee]===-1){ee==="x"?(ne=N.x??G.x+(Z.x-G.x)*k,Se=N.y??(G.y+Z.y)/2):(ne=N.x??(G.x+Z.x)/2,Se=N.y??G.y+(Z.y-G.y)*k);const An=[{x:ne,y:G.y},{x:ne,y:Z.y}],xn=[{x:G.x,y:Se},{x:Z.x,y:Se}];J[ee]===se?ce=ee==="x"?An:xn:ce=ee==="x"?xn:An}else{const An=[{x:G.x,y:Z.y}],xn=[{x:Z.x,y:G.y}];if(ee==="x"?ce=J.x===se?xn:An:ce=J.y===se?An:xn,j===M){const Fe=Math.abs(b[ee]-x[ee]);if(Fe<=$){const wn=Math.min($-1,$-Fe);J[ee]===se?me[ee]=(G[ee]>b[ee]?-1:1)*wn:Pe[ee]=(Z[ee]>x[ee]?-1:1)*wn}}if(j!==M){const Fe=ee==="x"?"y":"x",wn=J[ee]===q[Fe],Ae=G[Fe]>Z[Fe],Ge=G[Fe]=Y?(ne=(tt.x+mn.x)/2,Se=ce[0].y):(ne=ce[0].x,Se=(tt.y+mn.y)/2)}const Ue={x:G.x+me.x,y:G.y+me.y},ln={x:Z.x+Pe.x,y:Z.y+Pe.y};return[[b,...Ue.x!==ce[0].x||Ue.y!==ce[0].y?[Ue]:[],...ce,...ln.x!==ce[ce.length-1].x||ln.y!==ce[ce.length-1].y?[ln]:[],x],ne,Se,ae,Ne]}function vGn(b,j,x,M){const N=Math.min(j1n(b,j)/2,j1n(j,x)/2,M),{x:$,y:k}=j;if(b.x===$&&$===x.x||b.y===k&&k===x.y)return`L${$} ${k}`;if(b.y===k){const G=b.xx.id===j):b[0])||null}function bke(b,j){return b?typeof b=="string"?b:`${j?`${j}__`:""}${Object.keys(b).sort().map(M=>`${M}=${b[M]}`).join("&")}`:""}function kGn(b,{id:j,defaultColor:x,defaultMarkerStart:M,defaultMarkerEnd:N}){const $=new Set;return b.reduce((k,J)=>([J.markerStart||M,J.markerEnd||N].forEach(q=>{if(q&&typeof q=="object"){const G=bke(q,j);$.has(G)||(k.push({id:G,color:q.color||x,...q}),$.add(G))}}),k),[]).sort((k,J)=>k.id.localeCompare(J.id))}const f0n=1e3,jGn=10,Ike={nodeOrigin:[0,0],nodeExtent:XG,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},EGn={...Ike,checkEquality:!0};function Dke(b,j){const x={...b};for(const M in j)j[M]!==void 0&&(x[M]=j[M]);return x}function SGn(b,j,x){const M=Dke(Ike,x);for(const N of b.values())if(N.parentId)Lke(N,b,j,M);else{const $=tq(N,M.nodeOrigin),k=jD(N.extent)?N.extent:M.nodeExtent,J=NA($,k,a6(N));N.internals.positionAbsolute=J}}function xGn(b,j){if(!b.handles)return b.measured?j?.internals.handleBounds:void 0;const x=[],M=[];for(const N of b.handles){const $={id:N.id,width:N.width??1,height:N.height??1,nodeId:b.id,x:N.x,y:N.y,position:N.position,type:N.type};N.type==="source"?x.push($):N.type==="target"&&M.push($)}return{source:x,target:M}}function _ke(b){return b==="manual"}function gke(b,j,x,M={}){const N=Dke(EGn,M),$={i:0},k=new Map(j),J=N?.elevateNodesOnSelect&&!_ke(N.zIndexMode)?f0n:0;let q=b.length>0,G=!1;j.clear(),x.clear();for(const Z of b){let Q=k.get(Z.id);if(N.checkEquality&&Z===Q?.internals.userNode)j.set(Z.id,Q);else{const ee=tq(Z,N.nodeOrigin),se=jD(Z.extent)?Z.extent:N.nodeExtent,ce=NA(ee,se,a6(Z));Q={...N.defaults,...Z,measured:{width:Z.measured?.width,height:Z.measured?.height},internals:{positionAbsolute:ce,handleBounds:xGn(Z,Q),z:a0n(Z,J,N.zIndexMode),userNode:Z}},j.set(Z.id,Q)}(Q.measured===void 0||Q.measured.width===void 0||Q.measured.height===void 0)&&!Q.hidden&&(q=!1),Z.parentId&&Lke(Q,j,x,M,$),G||=Z.selected??!1}return{nodesInitialized:q,hasSelectedNodes:G}}function AGn(b,j){if(!b.parentId)return;const x=j.get(b.parentId);x?x.set(b.id,b):j.set(b.parentId,new Map([[b.id,b]]))}function Lke(b,j,x,M,N){const{elevateNodesOnSelect:$,nodeOrigin:k,nodeExtent:J,zIndexMode:q}=Dke(Ike,M),G=b.parentId,Z=j.get(G);if(!Z){console.warn(`Parent node ${G} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}AGn(b,x),N&&!Z.parentId&&Z.internals.rootParentIndex===void 0&&q==="auto"&&(Z.internals.rootParentIndex=++N.i,Z.internals.z=Z.internals.z+N.i*jGn),N&&Z.internals.rootParentIndex!==void 0&&(N.i=Z.internals.rootParentIndex);const Q=$&&!_ke(q)?f0n:0,{x:ee,y:se,z:ce}=MGn(b,Z,k,J,Q,q),{positionAbsolute:ne}=b.internals,Se=ee!==ne.x||se!==ne.y;(Se||ce!==b.internals.z)&&j.set(b.id,{...b,internals:{...b.internals,positionAbsolute:Se?{x:ee,y:se}:ne,z:ce}})}function a0n(b,j,x){const M=rv(b.zIndex)?b.zIndex:0;return _ke(x)?M:M+(b.selected?j:0)}function MGn(b,j,x,M,N,$){const{x:k,y:J}=j.internals.positionAbsolute,q=a6(b),G=tq(b,x),Z=jD(b.extent)?NA(G,b.extent,q):G;let Q=NA({x:k+Z.x,y:J+Z.y},M,q);b.extent==="parent"&&(Q=Wdn(Q,q,j));const ee=a0n(b,N,$),se=j.internals.z??0;return{x:Q.x,y:Q.y,z:se>=ee?se+1:ee}}function Pke(b,j,x,M=[0,0]){const N=[],$=new Map;for(const k of b){const J=j.get(k.parentId);if(!J)continue;const q=$.get(k.parentId)?.expandedRect??kD(J),G=e0n(q,k.rect);$.set(k.parentId,{expandedRect:G,parent:J})}return $.size>0&&$.forEach(({expandedRect:k,parent:J},q)=>{const G=J.internals.positionAbsolute,Z=a6(J),Q=J.origin??M,ee=k.x0||se>0||Se||me)&&(N.push({id:q,type:"position",position:{x:J.position.x-ee+Se,y:J.position.y-se+me}}),x.get(q)?.forEach(Pe=>{b.some(ae=>ae.id===Pe.id)||N.push({id:Pe.id,type:"position",position:{x:Pe.position.x+ee,y:Pe.position.y+se}})})),(Z.width0){const se=Pke(ee,j,x,N);G.push(...se)}return{changes:G,updatedInternals:q}}async function TGn({delta:b,panZoom:j,transform:x,translateExtent:M,width:N,height:$}){if(!j||!b.x&&!b.y)return Promise.resolve(!1);const k=await j.setViewportConstrained({x:x[0]+b.x,y:x[1]+b.y,zoom:x[2]},[[0,0],[N,$]],M),J=!!k&&(k.x!==x[0]||k.y!==x[1]||k.k!==x[2]);return Promise.resolve(J)}function A1n(b,j,x,M,N,$){let k=N;const J=M.get(k)||new Map;M.set(k,J.set(x,j)),k=`${N}-${b}`;const q=M.get(k)||new Map;if(M.set(k,q.set(x,j)),$){k=`${N}-${b}-${$}`;const G=M.get(k)||new Map;M.set(k,G.set(x,j))}}function h0n(b,j,x){b.clear(),j.clear();for(const M of x){const{source:N,target:$,sourceHandle:k=null,targetHandle:J=null}=M,q={edgeId:M.id,source:N,target:$,sourceHandle:k,targetHandle:J},G=`${N}-${k}--${$}-${J}`,Z=`${$}-${J}--${N}-${k}`;A1n("source",q,Z,b,N,k),A1n("target",q,G,b,$,J),j.set(M.id,M)}}function d0n(b,j){if(!b.parentId)return!1;const x=j.get(b.parentId);return x?x.selected?!0:d0n(x,j):!1}function M1n(b,j,x){let M=b;do{if(M?.matches?.(j))return!0;if(M===x)return!1;M=M?.parentElement}while(M);return!1}function OGn(b,j,x,M){const N=new Map;for(const[$,k]of b)if((k.selected||k.id===M)&&(!k.parentId||!d0n(k,b))&&(k.draggable||j&&typeof k.draggable>"u")){const J=b.get($);J&&N.set($,{id:$,position:J.position||{x:0,y:0},distance:{x:x.x-J.internals.positionAbsolute.x,y:x.y-J.internals.positionAbsolute.y},extent:J.extent,parentId:J.parentId,origin:J.origin,expandParent:J.expandParent,internals:{positionAbsolute:J.internals.positionAbsolute||{x:0,y:0}},measured:{width:J.measured.width??0,height:J.measured.height??0}})}return N}function z7e({nodeId:b,dragItems:j,nodeLookup:x,dragging:M=!0}){const N=[];for(const[k,J]of j){const q=x.get(k)?.internals.userNode;q&&N.push({...q,position:J.position,dragging:M})}if(!b)return[N[0],N];const $=x.get(b)?.internals.userNode;return[$?{...$,position:j.get(b)?.position||$.position,dragging:M}:N[0],N]}function NGn({dragItems:b,snapGrid:j,x,y:M}){const N=b.values().next().value;if(!N)return null;const $={x:x-N.distance.x,y:M-N.distance.y},k=rq($,j);return{x:k.x-$.x,y:k.y-$.y}}function IGn({onNodeMouseDown:b,getStoreItems:j,onDragStart:x,onDrag:M,onDragStop:N}){let $={x:null,y:null},k=0,J=new Map,q=!1,G={x:0,y:0},Z=null,Q=!1,ee=null,se=!1,ce=!1,ne=null;function Se({noDragClassName:Pe,handleSelector:ae,domNode:Ne,isSelectable:Ue,nodeId:ln,nodeClickDistance:on=0}){ee=Gg(Ne);function An({x:vn,y:Y}){const{nodeLookup:Fe,nodeExtent:wn,snapGrid:Ae,snapToGrid:Ge,nodeOrigin:fn,onNodeDrag:$e,onSelectionDrag:Mn,onError:ge,updateNodePositions:tn}=j();$={x:vn,y:Y};let Hn=!1;const ut=J.size>1,Jt=ut&&wn?dke(iq(J)):null,di=ut&&Ge?NGn({dragItems:J,snapGrid:Ae,x:vn,y:Y}):null;for(const[Gt,At]of J){if(!Fe.has(Gt))continue;let si={x:vn-At.distance.x,y:Y-At.distance.y};Ge&&(si=di?{x:Math.round(si.x+di.x),y:Math.round(si.y+di.y)}:rq(si,Ae));let Kr=null;if(ut&&wn&&!At.extent&&Jt){const{positionAbsolute:bi}=At.internals,zi=bi.x-Jt.x+wn[0][0],cu=bi.x+At.measured.width-Jt.x2+wn[1][0],Fu=bi.y-Jt.y+wn[0][1],Rs=bi.y+At.measured.height-Jt.y2+wn[1][1];Kr=[[zi,Fu],[cu,Rs]]}const{position:Er,positionAbsolute:Dt}=Qdn({nodeId:Gt,nextPosition:si,nodeLookup:Fe,nodeExtent:Kr||wn,nodeOrigin:fn,onError:ge});Hn=Hn||At.position.x!==Er.x||At.position.y!==Er.y,At.position=Er,At.internals.positionAbsolute=Dt}if(ce=ce||Hn,!!Hn&&(tn(J,!0),ne&&(M||$e||!ln&&Mn))){const[Gt,At]=z7e({nodeId:ln,dragItems:J,nodeLookup:Fe});M?.(ne,J,Gt,At),$e?.(ne,Gt,At),ln||Mn?.(ne,At)}}async function xn(){if(!Z)return;const{transform:vn,panBy:Y,autoPanSpeed:Fe,autoPanOnNodeDrag:wn}=j();if(!wn){q=!1,cancelAnimationFrame(k);return}const[Ae,Ge]=Zdn(G,Z,Fe);(Ae!==0||Ge!==0)&&($.x=($.x??0)-Ae/vn[2],$.y=($.y??0)-Ge/vn[2],await Y({x:Ae,y:Ge})&&An($)),k=requestAnimationFrame(xn)}function tt(vn){const{nodeLookup:Y,multiSelectionActive:Fe,nodesDraggable:wn,transform:Ae,snapGrid:Ge,snapToGrid:fn,selectNodesOnDrag:$e,onNodeDragStart:Mn,onSelectionDragStart:ge,unselectNodesAndEdges:tn}=j();Q=!0,(!$e||!Ue)&&!Fe&&ln&&(Y.get(ln)?.selected||tn()),Ue&&$e&&ln&&b?.(ln);const Hn=JG(vn.sourceEvent,{transform:Ae,snapGrid:Ge,snapToGrid:fn,containerBounds:Z});if($=Hn,J=OGn(Y,wn,Hn,ln),J.size>0&&(x||Mn||!ln&&ge)){const[ut,Jt]=z7e({nodeId:ln,dragItems:J,nodeLookup:Y});x?.(vn.sourceEvent,J,ut,Jt),Mn?.(vn.sourceEvent,ut,Jt),ln||ge?.(vn.sourceEvent,Jt)}}const mn=Odn().clickDistance(on).on("start",vn=>{const{domNode:Y,nodeDragThreshold:Fe,transform:wn,snapGrid:Ae,snapToGrid:Ge}=j();Z=Y?.getBoundingClientRect()||null,se=!1,ce=!1,ne=vn.sourceEvent,Fe===0&&tt(vn),$=JG(vn.sourceEvent,{transform:wn,snapGrid:Ae,snapToGrid:Ge,containerBounds:Z}),G=cv(vn.sourceEvent,Z)}).on("drag",vn=>{const{autoPanOnNodeDrag:Y,transform:Fe,snapGrid:wn,snapToGrid:Ae,nodeDragThreshold:Ge,nodeLookup:fn}=j(),$e=JG(vn.sourceEvent,{transform:Fe,snapGrid:wn,snapToGrid:Ae,containerBounds:Z});if(ne=vn.sourceEvent,(vn.sourceEvent.type==="touchmove"&&vn.sourceEvent.touches.length>1||ln&&!fn.has(ln))&&(se=!0),!se){if(!q&&Y&&Q&&(q=!0,xn()),!Q){const Mn=cv(vn.sourceEvent,Z),ge=Mn.x-G.x,tn=Mn.y-G.y;Math.sqrt(ge*ge+tn*tn)>Ge&&tt(vn)}($.x!==$e.xSnapped||$.y!==$e.ySnapped)&&J&&Q&&(G=cv(vn.sourceEvent,Z),An($e))}}).on("end",vn=>{if(!(!Q||se)&&(q=!1,Q=!1,cancelAnimationFrame(k),J.size>0)){const{nodeLookup:Y,updateNodePositions:Fe,onNodeDragStop:wn,onSelectionDragStop:Ae}=j();if(ce&&(Fe(J,!1),ce=!1),N||wn||!ln&&Ae){const[Ge,fn]=z7e({nodeId:ln,dragItems:J,nodeLookup:Y,dragging:!1});N?.(vn.sourceEvent,J,Ge,fn),wn?.(vn.sourceEvent,Ge,fn),ln||Ae?.(vn.sourceEvent,fn)}}}).filter(vn=>{const Y=vn.target;return!vn.button&&(!Pe||!M1n(Y,`.${Pe}`,Ne))&&(!ae||M1n(Y,ae,Ne))});ee.call(mn)}function me(){ee?.on(".drag",null)}return{update:Se,destroy:me}}function DGn(b,j,x){const M=[],N={x:b.x-x,y:b.y-x,width:x*2,height:x*2};for(const $ of j.values())YG(N,kD($))>0&&M.push($);return M}const _Gn=250;function LGn(b,j,x,M){let N=[],$=1/0;const k=DGn(b,x,j+_Gn);for(const J of k){const q=[...J.internals.handleBounds?.source??[],...J.internals.handleBounds?.target??[]];for(const G of q){if(M.nodeId===G.nodeId&&M.type===G.type&&M.id===G.id)continue;const{x:Z,y:Q}=IA(J,G,G.position,!0),ee=Math.sqrt(Math.pow(Z-b.x,2)+Math.pow(Q-b.y,2));ee>j||(ee<$?(N=[{...G,x:Z,y:Q}],$=ee):ee===$&&N.push({...G,x:Z,y:Q}))}}if(!N.length)return null;if(N.length>1){const J=M.type==="source"?"target":"source";return N.find(q=>q.type===J)??N[0]}return N[0]}function b0n(b,j,x,M,N,$=!1){const k=M.get(b);if(!k)return null;const J=N==="strict"?k.internals.handleBounds?.[j]:[...k.internals.handleBounds?.source??[],...k.internals.handleBounds?.target??[]],q=(x?J?.find(G=>G.id===x):J?.[0])??null;return q&&$?{...q,...IA(k,q,q.position,!0)}:q}function g0n(b,j){return b||(j?.classList.contains("target")?"target":j?.classList.contains("source")?"source":null)}function PGn(b,j){let x=null;return j?x=!0:b&&!j&&(x=!1),x}const w0n=()=>!0;function $Gn(b,{connectionMode:j,connectionRadius:x,handleId:M,nodeId:N,edgeUpdaterType:$,isTarget:k,domNode:J,nodeLookup:q,lib:G,autoPanOnConnect:Z,flowId:Q,panBy:ee,cancelConnection:se,onConnectStart:ce,onConnect:ne,onConnectEnd:Se,isValidConnection:me=w0n,onReconnectEnd:Pe,updateConnection:ae,getTransform:Ne,getFromHandle:Ue,autoPanSpeed:ln,dragThreshold:on=1,handleDomNode:An}){const xn=i0n(b.target);let tt=0,mn;const{x:vn,y:Y}=cv(b),Fe=g0n($,An),wn=J?.getBoundingClientRect();let Ae=!1;if(!wn||!Fe)return;const Ge=b0n(N,Fe,M,q,j);if(!Ge)return;let fn=cv(b,wn),$e=!1,Mn=null,ge=!1,tn=null;function Hn(){if(!Z||!wn)return;const[Er,Dt]=Zdn(fn,wn,ln);ee({x:Er,y:Dt}),tt=requestAnimationFrame(Hn)}const ut={...Ge,nodeId:N,type:Fe,position:Ge.position},Jt=q.get(N);let Gt={inProgress:!0,isValid:null,from:IA(Jt,ut,ur.Left,!0),fromHandle:ut,fromPosition:ut.position,fromNode:Jt,to:fn,toHandle:null,toPosition:g1n[ut.position],toNode:null,pointer:fn};function At(){Ae=!0,ae(Gt),ce?.(b,{nodeId:N,handleId:M,handleType:Fe})}on===0&&At();function si(Er){if(!Ae){const{x:Rs,y:ra}=cv(Er),nf=Rs-vn,Ia=ra-Y;if(!(nf*nf+Ia*Ia>on*on))return;At()}if(!Ue()||!ut){Kr(Er);return}const Dt=Ne();fn=cv(Er,wn),mn=LGn(cq(fn,Dt,!1,[1,1]),x,q,ut),$e||(Hn(),$e=!0);const bi=p0n(Er,{handle:mn,connectionMode:j,fromNodeId:N,fromHandleId:M,fromType:k?"target":"source",isValidConnection:me,doc:xn,lib:G,flowId:Q,nodeLookup:q});tn=bi.handleDomNode,Mn=bi.connection,ge=PGn(!!mn,bi.isValid);const zi=q.get(N),cu=zi?IA(zi,ut,ur.Left,!0):Gt.from,Fu={...Gt,from:cu,isValid:ge,to:bi.toHandle&&ge?Mue({x:bi.toHandle.x,y:bi.toHandle.y},Dt):fn,toHandle:bi.toHandle,toPosition:ge&&bi.toHandle?bi.toHandle.position:g1n[ut.position],toNode:bi.toHandle?q.get(bi.toHandle.nodeId):null,pointer:fn};ae(Fu),Gt=Fu}function Kr(Er){if(!("touches"in Er&&Er.touches.length>0)){if(Ae){(mn||tn)&&Mn&&ge&&ne?.(Mn);const{inProgress:Dt,...bi}=Gt,zi={...bi,toPosition:Gt.toHandle?Gt.toPosition:null};Se?.(Er,zi),$&&Pe?.(Er,zi)}se(),cancelAnimationFrame(tt),$e=!1,ge=!1,Mn=null,tn=null,xn.removeEventListener("mousemove",si),xn.removeEventListener("mouseup",Kr),xn.removeEventListener("touchmove",si),xn.removeEventListener("touchend",Kr)}}xn.addEventListener("mousemove",si),xn.addEventListener("mouseup",Kr),xn.addEventListener("touchmove",si),xn.addEventListener("touchend",Kr)}function p0n(b,{handle:j,connectionMode:x,fromNodeId:M,fromHandleId:N,fromType:$,doc:k,lib:J,flowId:q,isValidConnection:G=w0n,nodeLookup:Z}){const Q=$==="target",ee=j?k.querySelector(`.${J}-flow__handle[data-id="${q}-${j?.nodeId}-${j?.id}-${j?.type}"]`):null,{x:se,y:ce}=cv(b),ne=k.elementFromPoint(se,ce),Se=ne?.classList.contains(`${J}-flow__handle`)?ne:ee,me={handleDomNode:Se,isValid:!1,connection:null,toHandle:null};if(Se){const Pe=g0n(void 0,Se),ae=Se.getAttribute("data-nodeid"),Ne=Se.getAttribute("data-handleid"),Ue=Se.classList.contains("connectable"),ln=Se.classList.contains("connectableend");if(!ae||!Pe)return me;const on={source:Q?ae:M,sourceHandle:Q?Ne:N,target:Q?M:ae,targetHandle:Q?N:Ne};me.connection=on;const xn=Ue&&ln&&(x===vD.Strict?Q&&Pe==="source"||!Q&&Pe==="target":ae!==M||Ne!==N);me.isValid=xn&&G(on),me.toHandle=b0n(ae,Pe,Ne,Z,x,!0)}return me}const wke={onPointerDown:$Gn,isValid:p0n};function RGn({domNode:b,panZoom:j,getTransform:x,getViewScale:M}){const N=Gg(b);function $({translateExtent:J,width:q,height:G,zoomStep:Z=1,pannable:Q=!0,zoomable:ee=!0,inversePan:se=!1}){const ce=ae=>{if(ae.sourceEvent.type!=="wheel"||!j)return;const Ne=x(),Ue=ae.sourceEvent.ctrlKey&&QG()?10:1,ln=-ae.sourceEvent.deltaY*(ae.sourceEvent.deltaMode===1?.05:ae.sourceEvent.deltaMode?1:.002)*Z,on=Ne[2]*Math.pow(2,ln*Ue);j.scaleTo(on)};let ne=[0,0];const Se=ae=>{(ae.sourceEvent.type==="mousedown"||ae.sourceEvent.type==="touchstart")&&(ne=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY])},me=ae=>{const Ne=x();if(ae.sourceEvent.type!=="mousemove"&&ae.sourceEvent.type!=="touchmove"||!j)return;const Ue=[ae.sourceEvent.clientX??ae.sourceEvent.touches[0].clientX,ae.sourceEvent.clientY??ae.sourceEvent.touches[0].clientY],ln=[Ue[0]-ne[0],Ue[1]-ne[1]];ne=Ue;const on=M()*Math.max(Ne[2],Math.log(Ne[2]))*(se?-1:1),An={x:Ne[0]-ln[0]*on,y:Ne[1]-ln[1]*on},xn=[[0,0],[q,G]];j.setViewportConstrained({x:An.x,y:An.y,zoom:Ne[2]},xn,J)},Pe=qdn().on("start",Se).on("zoom",Q?me:null).on("zoom.wheel",ee?ce:null);N.call(Pe,{})}function k(){N.on("zoom",null)}return{update:$,destroy:k,pointer:tv}}const Bue=b=>({x:b.x,y:b.y,zoom:b.k}),F7e=({x:b,y:j,zoom:x})=>Pue.translate(b,j).scale(x),hD=(b,j)=>b.target.closest(`.${j}`),m0n=(b,j)=>j===2&&Array.isArray(b)&&b.includes(2),BGn=b=>((b*=2)<=1?b*b*b:(b-=2)*b*b+2)/2,J7e=(b,j=0,x=BGn,M=()=>{})=>{const N=typeof j=="number"&&j>0;return N||M(),N?b.transition().duration(j).ease(x).on("end",M):b},v0n=b=>{const j=b.ctrlKey&&QG()?10:1;return-b.deltaY*(b.deltaMode===1?.05:b.deltaMode?1:.002)*j};function zGn({zoomPanValues:b,noWheelClassName:j,d3Selection:x,d3Zoom:M,panOnScrollMode:N,panOnScrollSpeed:$,zoomOnPinch:k,onPanZoomStart:J,onPanZoom:q,onPanZoomEnd:G}){return Z=>{if(hD(Z,j))return Z.ctrlKey&&Z.preventDefault(),!1;Z.preventDefault(),Z.stopImmediatePropagation();const Q=x.property("__zoom").k||1;if(Z.ctrlKey&&k){const Se=tv(Z),me=v0n(Z),Pe=Q*Math.pow(2,me);M.scaleTo(x,Pe,Se,Z);return}const ee=Z.deltaMode===1?20:1;let se=N===CA.Vertical?0:Z.deltaX*ee,ce=N===CA.Horizontal?0:Z.deltaY*ee;!QG()&&Z.shiftKey&&N!==CA.Vertical&&(se=Z.deltaY*ee,ce=0),M.translateBy(x,-(se/Q)*$,-(ce/Q)*$,{internal:!0});const ne=Bue(x.property("__zoom"));clearTimeout(b.panScrollTimeout),b.isPanScrolling?(q?.(Z,ne),b.panScrollTimeout=setTimeout(()=>{G?.(Z,ne),b.isPanScrolling=!1},150)):(b.isPanScrolling=!0,J?.(Z,ne))}}function FGn({noWheelClassName:b,preventScrolling:j,d3ZoomHandler:x}){return function(M,N){const $=M.type==="wheel",k=!j&&$&&!M.ctrlKey,J=hD(M,b);if(M.ctrlKey&&$&&J&&M.preventDefault(),k||J)return null;M.preventDefault(),x.call(this,M,N)}}function JGn({zoomPanValues:b,onDraggingChange:j,onPanZoomStart:x}){return M=>{if(M.sourceEvent?.internal)return;const N=Bue(M.transform);b.mouseButton=M.sourceEvent?.button||0,b.isZoomingOrPanning=!0,b.prevViewport=N,M.sourceEvent?.type==="mousedown"&&j(!0),x&&x?.(M.sourceEvent,N)}}function HGn({zoomPanValues:b,panOnDrag:j,onPaneContextMenu:x,onTransformChange:M,onPanZoom:N}){return $=>{b.usedRightMouseButton=!!(x&&m0n(j,b.mouseButton??0)),$.sourceEvent?.sync||M([$.transform.x,$.transform.y,$.transform.k]),N&&!$.sourceEvent?.internal&&N?.($.sourceEvent,Bue($.transform))}}function GGn({zoomPanValues:b,panOnDrag:j,panOnScroll:x,onDraggingChange:M,onPanZoomEnd:N,onPaneContextMenu:$}){return k=>{if(!k.sourceEvent?.internal&&(b.isZoomingOrPanning=!1,$&&m0n(j,b.mouseButton??0)&&!b.usedRightMouseButton&&k.sourceEvent&&$(k.sourceEvent),b.usedRightMouseButton=!1,M(!1),N)){const J=Bue(k.transform);b.prevViewport=J,clearTimeout(b.timerId),b.timerId=setTimeout(()=>{N?.(k.sourceEvent,J)},x?150:0)}}}function qGn({zoomActivationKeyPressed:b,zoomOnScroll:j,zoomOnPinch:x,panOnDrag:M,panOnScroll:N,zoomOnDoubleClick:$,userSelectionActive:k,noWheelClassName:J,noPanClassName:q,lib:G,connectionInProgress:Z}){return Q=>{const ee=b||j,se=x&&Q.ctrlKey,ce=Q.type==="wheel";if(Q.button===1&&Q.type==="mousedown"&&(hD(Q,`${G}-flow__node`)||hD(Q,`${G}-flow__edge`)))return!0;if(!M&&!ee&&!N&&!$&&!x||k||Z&&!ce||hD(Q,J)&&ce||hD(Q,q)&&(!ce||N&&ce&&!b)||!x&&Q.ctrlKey&&ce)return!1;if(!x&&Q.type==="touchstart"&&Q.touches?.length>1)return Q.preventDefault(),!1;if(!ee&&!N&&!se&&ce||!M&&(Q.type==="mousedown"||Q.type==="touchstart")||Array.isArray(M)&&!M.includes(Q.button)&&Q.type==="mousedown")return!1;const ne=Array.isArray(M)&&M.includes(Q.button)||!Q.button||Q.button<=1;return(!Q.ctrlKey||ce)&&ne}}function UGn({domNode:b,minZoom:j,maxZoom:x,translateExtent:M,viewport:N,onPanZoom:$,onPanZoomStart:k,onPanZoomEnd:J,onDraggingChange:q}){const G={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},Z=b.getBoundingClientRect(),Q=qdn().scaleExtent([j,x]).translateExtent(M),ee=Gg(b).call(Q);Pe({x:N.x,y:N.y,zoom:yD(N.zoom,j,x)},[[0,0],[Z.width,Z.height]],M);const se=ee.on("wheel.zoom"),ce=ee.on("dblclick.zoom");Q.wheelDelta(v0n);function ne(mn,vn){return ee?new Promise(Y=>{Q?.interpolate(vn?.interpolate==="linear"?FG:hue).transform(J7e(ee,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function Se({noWheelClassName:mn,noPanClassName:vn,onPaneContextMenu:Y,userSelectionActive:Fe,panOnScroll:wn,panOnDrag:Ae,panOnScrollMode:Ge,panOnScrollSpeed:fn,preventScrolling:$e,zoomOnPinch:Mn,zoomOnScroll:ge,zoomOnDoubleClick:tn,zoomActivationKeyPressed:Hn,lib:ut,onTransformChange:Jt,connectionInProgress:di,paneClickDistance:Gt,selectionOnDrag:At}){Fe&&!G.isZoomingOrPanning&&me();const si=wn&&!Hn&&!Fe;Q.clickDistance(At?1/0:!rv(Gt)||Gt<0?0:Gt);const Kr=si?zGn({zoomPanValues:G,noWheelClassName:mn,d3Selection:ee,d3Zoom:Q,panOnScrollMode:Ge,panOnScrollSpeed:fn,zoomOnPinch:Mn,onPanZoomStart:k,onPanZoom:$,onPanZoomEnd:J}):FGn({noWheelClassName:mn,preventScrolling:$e,d3ZoomHandler:se});if(ee.on("wheel.zoom",Kr,{passive:!1}),!Fe){const Dt=JGn({zoomPanValues:G,onDraggingChange:q,onPanZoomStart:k});Q.on("start",Dt);const bi=HGn({zoomPanValues:G,panOnDrag:Ae,onPaneContextMenu:!!Y,onPanZoom:$,onTransformChange:Jt});Q.on("zoom",bi);const zi=GGn({zoomPanValues:G,panOnDrag:Ae,panOnScroll:wn,onPaneContextMenu:Y,onPanZoomEnd:J,onDraggingChange:q});Q.on("end",zi)}const Er=qGn({zoomActivationKeyPressed:Hn,panOnDrag:Ae,zoomOnScroll:ge,panOnScroll:wn,zoomOnDoubleClick:tn,zoomOnPinch:Mn,userSelectionActive:Fe,noPanClassName:vn,noWheelClassName:mn,lib:ut,connectionInProgress:di});Q.filter(Er),tn?ee.on("dblclick.zoom",ce):ee.on("dblclick.zoom",null)}function me(){Q.on("zoom",null)}async function Pe(mn,vn,Y){const Fe=F7e(mn),wn=Q?.constrain()(Fe,vn,Y);return wn&&await ne(wn),new Promise(Ae=>Ae(wn))}async function ae(mn,vn){const Y=F7e(mn);return await ne(Y,vn),new Promise(Fe=>Fe(Y))}function Ne(mn){if(ee){const vn=F7e(mn),Y=ee.property("__zoom");(Y.k!==mn.zoom||Y.x!==mn.x||Y.y!==mn.y)&&Q?.transform(ee,vn,null,{sync:!0})}}function Ue(){const mn=ee?Gdn(ee.node()):{x:0,y:0,k:1};return{x:mn.x,y:mn.y,zoom:mn.k}}function ln(mn,vn){return ee?new Promise(Y=>{Q?.interpolate(vn?.interpolate==="linear"?FG:hue).scaleTo(J7e(ee,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function on(mn,vn){return ee?new Promise(Y=>{Q?.interpolate(vn?.interpolate==="linear"?FG:hue).scaleBy(J7e(ee,vn?.duration,vn?.ease,()=>Y(!0)),mn)}):Promise.resolve(!1)}function An(mn){Q?.scaleExtent(mn)}function xn(mn){Q?.translateExtent(mn)}function tt(mn){const vn=!rv(mn)||mn<0?0:mn;Q?.clickDistance(vn)}return{update:Se,destroy:me,setViewport:ae,setViewportConstrained:Pe,getViewport:Ue,scaleTo:ln,scaleBy:on,setScaleExtent:An,setTranslateExtent:xn,syncViewport:Ne,setClickDistance:tt}}var ED;(function(b){b.Line="line",b.Handle="handle"})(ED||(ED={}));function XGn({width:b,prevWidth:j,height:x,prevHeight:M,affectsX:N,affectsY:$}){const k=b-j,J=x-M,q=[k>0?1:k<0?-1:0,J>0?1:J<0?-1:0];return k&&N&&(q[0]=q[0]*-1),J&&$&&(q[1]=q[1]*-1),q}function C1n(b){const j=b.includes("right")||b.includes("left"),x=b.includes("bottom")||b.includes("top"),M=b.includes("left"),N=b.includes("top");return{isHorizontal:j,isVertical:x,affectsX:M,affectsY:N}}function nk(b,j){return Math.max(0,j-b)}function tk(b,j){return Math.max(0,b-j)}function iue(b,j,x){return Math.max(0,j-b,b-x)}function T1n(b,j){return b?!j:j}function KGn(b,j,x,M,N,$,k,J){let{affectsX:q,affectsY:G}=j;const{isHorizontal:Z,isVertical:Q}=j,ee=Z&&Q,{xSnapped:se,ySnapped:ce}=x,{minWidth:ne,maxWidth:Se,minHeight:me,maxHeight:Pe}=M,{x:ae,y:Ne,width:Ue,height:ln,aspectRatio:on}=b;let An=Math.floor(Z?se-b.pointerX:0),xn=Math.floor(Q?ce-b.pointerY:0);const tt=Ue+(q?-An:An),mn=ln+(G?-xn:xn),vn=-$[0]*Ue,Y=-$[1]*ln;let Fe=iue(tt,ne,Se),wn=iue(mn,me,Pe);if(k){let fn=0,$e=0;q&&An<0?fn=nk(ae+An+vn,k[0][0]):!q&&An>0&&(fn=tk(ae+tt+vn,k[1][0])),G&&xn<0?$e=nk(Ne+xn+Y,k[0][1]):!G&&xn>0&&($e=tk(Ne+mn+Y,k[1][1])),Fe=Math.max(Fe,fn),wn=Math.max(wn,$e)}if(J){let fn=0,$e=0;q&&An>0?fn=tk(ae+An,J[0][0]):!q&&An<0&&(fn=nk(ae+tt,J[1][0])),G&&xn>0?$e=tk(Ne+xn,J[0][1]):!G&&xn<0&&($e=nk(Ne+mn,J[1][1])),Fe=Math.max(Fe,fn),wn=Math.max(wn,$e)}if(N){if(Z){const fn=iue(tt/on,me,Pe)*on;if(Fe=Math.max(Fe,fn),k){let $e=0;!q&&!G||q&&!G&&ee?$e=tk(Ne+Y+tt/on,k[1][1])*on:$e=nk(Ne+Y+(q?An:-An)/on,k[0][1])*on,Fe=Math.max(Fe,$e)}if(J){let $e=0;!q&&!G||q&&!G&&ee?$e=nk(Ne+tt/on,J[1][1])*on:$e=tk(Ne+(q?An:-An)/on,J[0][1])*on,Fe=Math.max(Fe,$e)}}if(Q){const fn=iue(mn*on,ne,Se)/on;if(wn=Math.max(wn,fn),k){let $e=0;!q&&!G||G&&!q&&ee?$e=tk(ae+mn*on+vn,k[1][0])/on:$e=nk(ae+(G?xn:-xn)*on+vn,k[0][0])/on,wn=Math.max(wn,$e)}if(J){let $e=0;!q&&!G||G&&!q&&ee?$e=nk(ae+mn*on,J[1][0])/on:$e=tk(ae+(G?xn:-xn)*on,J[0][0])/on,wn=Math.max(wn,$e)}}}xn=xn+(xn<0?wn:-wn),An=An+(An<0?Fe:-Fe),N&&(ee?tt>mn*on?xn=(T1n(q,G)?-An:An)/on:An=(T1n(q,G)?-xn:xn)*on:Z?(xn=An/on,G=q):(An=xn*on,q=G));const Ae=q?ae+An:ae,Ge=G?Ne+xn:Ne;return{width:Ue+(q?-An:An),height:ln+(G?-xn:xn),x:$[0]*An*(q?-1:1)+Ae,y:$[1]*xn*(G?-1:1)+Ge}}const y0n={width:0,height:0,x:0,y:0},VGn={...y0n,pointerX:0,pointerY:0,aspectRatio:1};function YGn(b){return[[0,0],[b.measured.width,b.measured.height]]}function QGn(b,j,x){const M=j.position.x+b.position.x,N=j.position.y+b.position.y,$=b.measured.width??0,k=b.measured.height??0,J=x[0]*$,q=x[1]*k;return[[M-J,N-q],[M+$-J,N+k-q]]}function WGn({domNode:b,nodeId:j,getStoreItems:x,onChange:M,onEnd:N}){const $=Gg(b);let k={controlDirection:C1n("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function J({controlPosition:G,boundaries:Z,keepAspectRatio:Q,resizeDirection:ee,onResizeStart:se,onResize:ce,onResizeEnd:ne,shouldResize:Se}){let me={...y0n},Pe={...VGn};k={boundaries:Z,resizeDirection:ee,keepAspectRatio:Q,controlDirection:C1n(G)};let ae,Ne=null,Ue=[],ln,on,An,xn=!1;const tt=Odn().on("start",mn=>{const{nodeLookup:vn,transform:Y,snapGrid:Fe,snapToGrid:wn,nodeOrigin:Ae,paneDomNode:Ge}=x();if(ae=vn.get(j),!ae)return;Ne=Ge?.getBoundingClientRect()??null;const{xSnapped:fn,ySnapped:$e}=JG(mn.sourceEvent,{transform:Y,snapGrid:Fe,snapToGrid:wn,containerBounds:Ne});me={width:ae.measured.width??0,height:ae.measured.height??0,x:ae.position.x??0,y:ae.position.y??0},Pe={...me,pointerX:fn,pointerY:$e,aspectRatio:me.width/me.height},ln=void 0,ae.parentId&&(ae.extent==="parent"||ae.expandParent)&&(ln=vn.get(ae.parentId),on=ln&&ae.extent==="parent"?YGn(ln):void 0),Ue=[],An=void 0;for(const[Mn,ge]of vn)if(ge.parentId===j&&(Ue.push({id:Mn,position:{...ge.position},extent:ge.extent}),ge.extent==="parent"||ge.expandParent)){const tn=QGn(ge,ae,ge.origin??Ae);An?An=[[Math.min(tn[0][0],An[0][0]),Math.min(tn[0][1],An[0][1])],[Math.max(tn[1][0],An[1][0]),Math.max(tn[1][1],An[1][1])]]:An=tn}se?.(mn,{...me})}).on("drag",mn=>{const{transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn}=x(),Ae=JG(mn.sourceEvent,{transform:vn,snapGrid:Y,snapToGrid:Fe,containerBounds:Ne}),Ge=[];if(!ae)return;const{x:fn,y:$e,width:Mn,height:ge}=me,tn={},Hn=ae.origin??wn,{width:ut,height:Jt,x:di,y:Gt}=KGn(Pe,k.controlDirection,Ae,k.boundaries,k.keepAspectRatio,Hn,on,An),At=ut!==Mn,si=Jt!==ge,Kr=di!==fn&&At,Er=Gt!==$e&&si;if(!Kr&&!Er&&!At&&!si)return;if((Kr||Er||Hn[0]===1||Hn[1]===1)&&(tn.x=Kr?di:me.x,tn.y=Er?Gt:me.y,me.x=tn.x,me.y=tn.y,Ue.length>0)){const cu=di-fn,Fu=Gt-$e;for(const Rs of Ue)Rs.position={x:Rs.position.x-cu+Hn[0]*(ut-Mn),y:Rs.position.y-Fu+Hn[1]*(Jt-ge)},Ge.push(Rs)}if((At||si)&&(tn.width=At&&(!k.resizeDirection||k.resizeDirection==="horizontal")?ut:me.width,tn.height=si&&(!k.resizeDirection||k.resizeDirection==="vertical")?Jt:me.height,me.width=tn.width,me.height=tn.height),ln&&ae.expandParent){const cu=Hn[0]*(tn.width??0);tn.x&&tn.x{xn&&(ne?.(mn,{...me}),N?.({...me}),xn=!1)});$.call(tt)}function q(){$.on(".drag",null)}return{update:J,destroy:q}}var H7e={exports:{}},G7e={},q7e={exports:{}},U7e={};var O1n;function ZGn(){if(O1n)return U7e;O1n=1;var b=ZG();function j(Q,ee){return Q===ee&&(Q!==0||1/Q===1/ee)||Q!==Q&&ee!==ee}var x=typeof Object.is=="function"?Object.is:j,M=b.useState,N=b.useEffect,$=b.useLayoutEffect,k=b.useDebugValue;function J(Q,ee){var se=ee(),ce=M({inst:{value:se,getSnapshot:ee}}),ne=ce[0].inst,Se=ce[1];return $(function(){ne.value=se,ne.getSnapshot=ee,q(ne)&&Se({inst:ne})},[Q,se,ee]),N(function(){return q(ne)&&Se({inst:ne}),Q(function(){q(ne)&&Se({inst:ne})})},[Q]),k(se),se}function q(Q){var ee=Q.getSnapshot;Q=Q.value;try{var se=ee();return!x(Q,se)}catch{return!0}}function G(Q,ee){return ee()}var Z=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?G:J;return U7e.useSyncExternalStore=b.useSyncExternalStore!==void 0?b.useSyncExternalStore:Z,U7e}var N1n;function eqn(){return N1n||(N1n=1,q7e.exports=ZGn()),q7e.exports}var I1n;function nqn(){if(I1n)return G7e;I1n=1;var b=ZG(),j=eqn();function x(G,Z){return G===Z&&(G!==0||1/G===1/Z)||G!==G&&Z!==Z}var M=typeof Object.is=="function"?Object.is:x,N=j.useSyncExternalStore,$=b.useRef,k=b.useEffect,J=b.useMemo,q=b.useDebugValue;return G7e.useSyncExternalStoreWithSelector=function(G,Z,Q,ee,se){var ce=$(null);if(ce.current===null){var ne={hasValue:!1,value:null};ce.current=ne}else ne=ce.current;ce=J(function(){function me(ln){if(!Pe){if(Pe=!0,ae=ln,ln=ee(ln),se!==void 0&&ne.hasValue){var on=ne.value;if(se(on,ln))return Ne=on}return Ne=ln}if(on=Ne,M(ae,ln))return on;var An=ee(ln);return se!==void 0&&se(on,An)?(ae=ln,on):(ae=ln,Ne=An)}var Pe=!1,ae,Ne,Ue=Q===void 0?null:Q;return[function(){return me(Z())},Ue===null?void 0:function(){return me(Ue())}]},[Z,Q,ee,se]);var Se=N(G,ce[0],ce[1]);return k(function(){ne.hasValue=!0,ne.value=Se},[Se]),q(Se),Se},G7e}var D1n;function tqn(){return D1n||(D1n=1,H7e.exports=nqn()),H7e.exports}var iqn=tqn();const rqn=yke(iqn),cqn={},_1n=b=>{let j;const x=new Set,M=(Z,Q)=>{const ee=typeof Z=="function"?Z(j):Z;if(!Object.is(ee,j)){const se=j;j=Q??(typeof ee!="object"||ee===null)?ee:Object.assign({},j,ee),x.forEach(ce=>ce(j,se))}},N=()=>j,q={setState:M,getState:N,getInitialState:()=>G,subscribe:Z=>(x.add(Z),()=>x.delete(Z)),destroy:()=>{(cqn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),x.clear()}},G=j=b(M,N,q);return q},uqn=b=>b?_1n(b):_1n,{useDebugValue:oqn}=dzn,{useSyncExternalStoreWithSelector:sqn}=rqn,lqn=b=>b;function k0n(b,j=lqn,x){const M=sqn(b.subscribe,b.getState,b.getServerState||b.getInitialState,j,x);return oqn(M),M}const L1n=(b,j)=>{const x=uqn(b),M=(N,$=j)=>k0n(x,N,$);return Object.assign(M,x),M},fqn=(b,j)=>b?L1n(b,j):L1n;function El(b,j){if(Object.is(b,j))return!0;if(typeof b!="object"||b===null||typeof j!="object"||j===null)return!1;if(b instanceof Map&&j instanceof Map){if(b.size!==j.size)return!1;for(const[M,N]of b)if(!Object.is(N,j.get(M)))return!1;return!0}if(b instanceof Set&&j instanceof Set){if(b.size!==j.size)return!1;for(const M of b)if(!j.has(M))return!1;return!0}const x=Object.keys(b);if(x.length!==Object.keys(j).length)return!1;for(const M of x)if(!Object.prototype.hasOwnProperty.call(j,M)||!Object.is(b[M],j[M]))return!1;return!0}var aqn=gdn();const zue=Re.createContext(null),hqn=zue.Provider,j0n=gy.error001();function zu(b,j){const x=Re.useContext(zue);if(x===null)throw new Error(j0n);return k0n(x,b,j)}function Sl(){const b=Re.useContext(zue);if(b===null)throw new Error(j0n);return Re.useMemo(()=>({getState:b.getState,setState:b.setState,subscribe:b.subscribe}),[b])}const P1n={display:"none"},dqn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},E0n="react-flow__node-desc",S0n="react-flow__edge-desc",bqn="react-flow__aria-live",gqn=b=>b.ariaLiveMessage,wqn=b=>b.ariaLabelConfig;function pqn({rfId:b}){const j=zu(gqn);return I.jsx("div",{id:`${bqn}-${b}`,"aria-live":"assertive","aria-atomic":"true",style:dqn,children:j})}function mqn({rfId:b,disableKeyboardA11y:j}){const x=zu(wqn);return I.jsxs(I.Fragment,{children:[I.jsx("div",{id:`${E0n}-${b}`,style:P1n,children:j?x["node.a11yDescription.default"]:x["node.a11yDescription.keyboardDisabled"]}),I.jsx("div",{id:`${S0n}-${b}`,style:P1n,children:x["edge.a11yDescription.default"]}),!j&&I.jsx(pqn,{rfId:b})]})}const Fue=Re.forwardRef(({position:b="top-left",children:j,className:x,style:M,...N},$)=>{const k=`${b}`.split("-");return I.jsx("div",{className:Na(["react-flow__panel",x,...k]),style:M,ref:$,...N,children:j})});Fue.displayName="Panel";function vqn({proOptions:b,position:j="bottom-right"}){return b?.hideAttribution?null:I.jsx(Fue,{position:j,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:I.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const yqn=b=>{const j=[],x=[];for(const[,M]of b.nodeLookup)M.selected&&j.push(M.internals.userNode);for(const[,M]of b.edgeLookup)M.selected&&x.push(M);return{selectedNodes:j,selectedEdges:x}},rue=b=>b.id;function kqn(b,j){return El(b.selectedNodes.map(rue),j.selectedNodes.map(rue))&&El(b.selectedEdges.map(rue),j.selectedEdges.map(rue))}function jqn({onSelectionChange:b}){const j=Sl(),{selectedNodes:x,selectedEdges:M}=zu(yqn,kqn);return Re.useEffect(()=>{const N={nodes:x,edges:M};b?.(N),j.getState().onSelectionChangeHandlers.forEach($=>$(N))},[x,M,b]),null}const Eqn=b=>!!b.onSelectionChangeHandlers;function Sqn({onSelectionChange:b}){const j=zu(Eqn);return b||j?I.jsx(jqn,{onSelectionChange:b}):null}const pke=typeof window<"u"?Re.useLayoutEffect:Re.useEffect,x0n=[0,0],xqn={x:0,y:0,zoom:1},Aqn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],$1n=[...Aqn,"rfId"],Mqn=b=>({setNodes:b.setNodes,setEdges:b.setEdges,setMinZoom:b.setMinZoom,setMaxZoom:b.setMaxZoom,setTranslateExtent:b.setTranslateExtent,setNodeExtent:b.setNodeExtent,reset:b.reset,setDefaultNodesAndEdges:b.setDefaultNodesAndEdges}),R1n={translateExtent:XG,nodeOrigin:x0n,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function Cqn(b){const{setNodes:j,setEdges:x,setMinZoom:M,setMaxZoom:N,setTranslateExtent:$,setNodeExtent:k,reset:J,setDefaultNodesAndEdges:q}=zu(Mqn,El),G=Sl();pke(()=>(q(b.defaultNodes,b.defaultEdges),()=>{Z.current=R1n,J()}),[]);const Z=Re.useRef(R1n);return pke(()=>{for(const Q of $1n){const ee=b[Q],se=Z.current[Q];ee!==se&&(typeof b[Q]>"u"||(Q==="nodes"?j(ee):Q==="edges"?x(ee):Q==="minZoom"?M(ee):Q==="maxZoom"?N(ee):Q==="translateExtent"?$(ee):Q==="nodeExtent"?k(ee):Q==="ariaLabelConfig"?G.setState({ariaLabelConfig:fGn(ee)}):Q==="fitView"?G.setState({fitViewQueued:ee}):Q==="fitViewOptions"?G.setState({fitViewOptions:ee}):G.setState({[Q]:ee})))}Z.current=b},$1n.map(Q=>b[Q])),null}function B1n(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function Tqn(b){const[j,x]=Re.useState(b==="system"?null:b);return Re.useEffect(()=>{if(b!=="system"){x(b);return}const M=B1n(),N=()=>x(M?.matches?"dark":"light");return N(),M?.addEventListener("change",N),()=>{M?.removeEventListener("change",N)}},[b]),j!==null?j:B1n()?.matches?"dark":"light"}const z1n=typeof document<"u"?document:null;function WG(b=null,j={target:z1n,actInsideInputWithModifier:!0}){const[x,M]=Re.useState(!1),N=Re.useRef(!1),$=Re.useRef(new Set([])),[k,J]=Re.useMemo(()=>{if(b!==null){const G=(Array.isArray(b)?b:[b]).filter(Q=>typeof Q=="string").map(Q=>Q.replace("+",` `).replace(` `,` +`).split(` -`)),ie=G.reduce((W,Z)=>W.concat(...Z),[]);return[G,ie]}return[[],[]]},[b]);return Re.useEffect(()=>{const q=E?.target??z1n,G=E?.actInsideInputWithModifier??!0;if(b!==null){const ie=se=>{if(N.current=se.ctrlKey||se.metaKey||se.shiftKey||se.altKey,(!N.current||N.current&&!G)&&i0n(se))return!1;const ee=J1n(se.code,H);if($.current.add(se[ee]),F1n(k,$.current,!1)){const Me=se.composedPath?.()?.[0]||se.target,me=Me?.nodeName==="BUTTON"||Me?.nodeName==="A";E.preventDefault!==!1&&(N.current||!me)&&se.preventDefault(),M(!0)}},W=se=>{const oe=J1n(se.code,H);F1n(k,$.current,!0)?(M(!1),$.current.clear()):$.current.delete(se[oe]),se.key==="Meta"&&$.current.clear(),N.current=!1},Z=()=>{$.current.clear(),M(!1)};return q?.addEventListener("keydown",ie),q?.addEventListener("keyup",W),window.addEventListener("blur",Z),window.addEventListener("contextmenu",Z),()=>{q?.removeEventListener("keydown",ie),q?.removeEventListener("keyup",W),window.removeEventListener("blur",Z),window.removeEventListener("contextmenu",Z)}}},[b,M]),x}function F1n(b,E,x){return b.filter(M=>x||M.length===E.size).some(M=>M.every(N=>E.has(N)))}function J1n(b,E){return E.includes(b)?"code":"key"}const Tqn=()=>{const b=Sl();return Re.useMemo(()=>({zoomIn:E=>{const{panZoom:x}=b.getState();return x?x.scaleBy(1.2,E):Promise.resolve(!1)},zoomOut:E=>{const{panZoom:x}=b.getState();return x?x.scaleBy(1/1.2,E):Promise.resolve(!1)},zoomTo:(E,x)=>{const{panZoom:M}=b.getState();return M?M.scaleTo(E,x):Promise.resolve(!1)},getZoom:()=>b.getState().transform[2],setViewport:async(E,x)=>{const{transform:[M,N,$],panZoom:k}=b.getState();return k?(await k.setViewport({x:E.x??M,y:E.y??N,zoom:E.zoom??$},x),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[E,x,M]=b.getState().transform;return{x:E,y:x,zoom:M}},setCenter:async(E,x,M)=>b.getState().setCenter(E,x,M),fitBounds:async(E,x)=>{const{width:M,height:N,minZoom:$,maxZoom:k,panZoom:H}=b.getState(),q=Oke(E,M,N,$,k,x?.padding??.1);return H?(await H.setViewport(q,{duration:x?.duration,ease:x?.ease,interpolate:x?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(E,x={})=>{const{transform:M,snapGrid:N,snapToGrid:$,domNode:k}=b.getState();if(!k)return E;const{x:H,y:q}=k.getBoundingClientRect(),G={x:E.x-H,y:E.y-q},ie=x.snapGrid??N,W=x.snapToGrid??$;return cq(G,M,W,ie)},flowToScreenPosition:E=>{const{transform:x,domNode:M}=b.getState();if(!M)return E;const{x:N,y:$}=M.getBoundingClientRect(),k=Mue(E,x);return{x:k.x+N,y:k.y+$}}}),[])};function x0n(b,E){const x=[],M=new Map,N=[];for(const $ of b)if($.type==="add"){N.push($);continue}else if($.type==="remove"||$.type==="replace")M.set($.id,[$]);else{const k=M.get($.id);k?k.push($):M.set($.id,[$])}for(const $ of E){const k=M.get($.id);if(!k){x.push($);continue}if(k[0].type==="remove")continue;if(k[0].type==="replace"){x.push({...k[0].item});continue}const H={...$};for(const q of k)Oqn(q,H);x.push(H)}return N.length&&N.forEach($=>{$.index!==void 0?x.splice($.index,0,{...$.item}):x.push({...$.item})}),x}function Oqn(b,E){switch(b.type){case"select":{E.selected=b.selected;break}case"position":{typeof b.position<"u"&&(E.position=b.position),typeof b.dragging<"u"&&(E.dragging=b.dragging);break}case"dimensions":{typeof b.dimensions<"u"&&(E.measured={...b.dimensions},b.setAttributes&&((b.setAttributes===!0||b.setAttributes==="width")&&(E.width=b.dimensions.width),(b.setAttributes===!0||b.setAttributes==="height")&&(E.height=b.dimensions.height))),typeof b.resizing=="boolean"&&(E.resizing=b.resizing);break}}}function A0n(b,E){return x0n(b,E)}function M0n(b,E){return x0n(b,E)}function EA(b,E){return{id:b,type:"select",selected:E}}function dD(b,E=new Set,x=!1){const M=[];for(const[N,$]of b){const k=E.has(N);!($.selected===void 0&&!k)&&$.selected!==k&&(x&&($.selected=k),M.push(EA($.id,k)))}return M}function H1n({items:b=[],lookup:E}){const x=[],M=new Map(b.map(N=>[N.id,N]));for(const[N,$]of b.entries()){const k=E.get($.id),H=k?.internals?.userNode??k;H!==void 0&&H!==$&&x.push({id:$.id,item:$,type:"replace"}),H===void 0&&x.push({item:$,type:"add",index:N})}for(const[N]of E)M.get(N)===void 0&&x.push({id:N,type:"remove"});return x}function G1n(b){return{id:b.id,type:"remove"}}const q1n=b=>ZHn(b),Nqn=b=>Vdn(b);function C0n(b){return Re.forwardRef(b)}function U1n(b){const[E,x]=Re.useState(BigInt(0)),[M]=Re.useState(()=>Iqn(()=>x(N=>N+BigInt(1))));return pke(()=>{const N=M.get();N.length&&(b(N),M.reset())},[E]),M}function Iqn(b){let E=[];return{get:()=>E,reset:()=>{E=[]},push:x=>{E.push(x),b()}}}const T0n=Re.createContext(null);function Dqn({children:b}){const E=Sl(),x=Re.useCallback(H=>{const{nodes:q=[],setNodes:G,hasDefaultNodes:ie,onNodesChange:W,nodeLookup:Z,fitViewQueued:se,onNodesChangeMiddlewareMap:oe}=E.getState();let ee=q;for(const me of H)ee=typeof me=="function"?me(ee):me;let Me=H1n({items:ee,lookup:Z});for(const me of oe.values())Me=me(Me);ie&&G(ee),Me.length>0?W?.(Me):se&&window.requestAnimationFrame(()=>{const{fitViewQueued:me,nodes:Pe,setNodes:ae}=E.getState();me&&ae(Pe)})},[]),M=U1n(x),N=Re.useCallback(H=>{const{edges:q=[],setEdges:G,hasDefaultEdges:ie,onEdgesChange:W,edgeLookup:Z}=E.getState();let se=q;for(const oe of H)se=typeof oe=="function"?oe(se):oe;ie?G(se):W&&W(H1n({items:se,lookup:Z}))},[]),$=U1n(N),k=Re.useMemo(()=>({nodeQueue:M,edgeQueue:$}),[]);return _.jsx(T0n.Provider,{value:k,children:b})}function _qn(){const b=Re.useContext(T0n);if(!b)throw new Error("useBatchContext must be used within a BatchProvider");return b}const Lqn=b=>!!b.panZoom;function $ke(){const b=Tqn(),E=Sl(),x=_qn(),M=zu(Lqn),N=Re.useMemo(()=>{const $=W=>E.getState().nodeLookup.get(W),k=W=>{x.nodeQueue.push(W)},H=W=>{x.edgeQueue.push(W)},q=W=>{const{nodeLookup:Z,nodeOrigin:se}=E.getState(),oe=q1n(W)?W:Z.get(W.id),ee=oe.parentId?n0n(oe.position,oe.measured,oe.parentId,Z,se):oe.position,Me={...oe,position:ee,width:oe.measured?.width??oe.width,height:oe.measured?.height??oe.height};return yD(Me)},G=(W,Z,se={replace:!1})=>{k(oe=>oe.map(ee=>{if(ee.id===W){const Me=typeof Z=="function"?Z(ee):Z;return se.replace&&q1n(Me)?Me:{...ee,...Me}}return ee}))},ie=(W,Z,se={replace:!1})=>{H(oe=>oe.map(ee=>{if(ee.id===W){const Me=typeof Z=="function"?Z(ee):Z;return se.replace&&Nqn(Me)?Me:{...ee,...Me}}return ee}))};return{getNodes:()=>E.getState().nodes.map(W=>({...W})),getNode:W=>$(W)?.internals.userNode,getInternalNode:$,getEdges:()=>{const{edges:W=[]}=E.getState();return W.map(Z=>({...Z}))},getEdge:W=>E.getState().edgeLookup.get(W),setNodes:k,setEdges:H,addNodes:W=>{const Z=Array.isArray(W)?W:[W];x.nodeQueue.push(se=>[...se,...Z])},addEdges:W=>{const Z=Array.isArray(W)?W:[W];x.edgeQueue.push(se=>[...se,...Z])},toObject:()=>{const{nodes:W=[],edges:Z=[],transform:se}=E.getState(),[oe,ee,Me]=se;return{nodes:W.map(me=>({...me})),edges:Z.map(me=>({...me})),viewport:{x:oe,y:ee,zoom:Me}}},deleteElements:async({nodes:W=[],edges:Z=[]})=>{const{nodes:se,edges:oe,onNodesDelete:ee,onEdgesDelete:Me,triggerNodeChanges:me,triggerEdgeChanges:Pe,onDelete:ae,onBeforeDelete:Ne}=E.getState(),{nodes:Ue,edges:ln}=await rGn({nodesToRemove:W,edgesToRemove:Z,nodes:se,edges:oe,onBeforeDelete:Ne}),on=ln.length>0,An=Ue.length>0;if(on){const xn=ln.map(G1n);Me?.(ln),Pe(xn)}if(An){const xn=Ue.map(G1n);ee?.(Ue),me(xn)}return(An||on)&&ae?.({nodes:Ue,edges:ln}),{deletedNodes:Ue,deletedEdges:ln}},getIntersectingNodes:(W,Z=!0,se)=>{const oe=p1n(W),ee=oe?W:q(W),Me=se!==void 0;return ee?(se||E.getState().nodes).filter(me=>{const Pe=E.getState().nodeLookup.get(me.id);if(Pe&&!oe&&(me.id===W.id||!Pe.internals.positionAbsolute))return!1;const ae=yD(Me?me:Pe),Ne=YG(ae,ee);return Z&&Ne>0||Ne>=ae.width*ae.height||Ne>=ee.width*ee.height}):[]},isNodeIntersecting:(W,Z,se=!0)=>{const ee=p1n(W)?W:q(W);if(!ee)return!1;const Me=YG(ee,Z);return se&&Me>0||Me>=Z.width*Z.height||Me>=ee.width*ee.height},updateNode:G,updateNodeData:(W,Z,se={replace:!1})=>{G(W,oe=>{const ee=typeof Z=="function"?Z(oe):Z;return se.replace?{...oe,data:ee}:{...oe,data:{...oe.data,...ee}}},se)},updateEdge:ie,updateEdgeData:(W,Z,se={replace:!1})=>{ie(W,oe=>{const ee=typeof Z=="function"?Z(oe):Z;return se.replace?{...oe,data:ee}:{...oe,data:{...oe.data,...ee}}},se)},getNodesBounds:W=>{const{nodeLookup:Z,nodeOrigin:se}=E.getState();return eGn(W,{nodeLookup:Z,nodeOrigin:se})},getHandleConnections:({type:W,id:Z,nodeId:se})=>Array.from(E.getState().connectionLookup.get(`${se}-${W}${Z?`-${Z}`:""}`)?.values()??[]),getNodeConnections:({type:W,handleId:Z,nodeId:se})=>Array.from(E.getState().connectionLookup.get(`${se}${W?Z?`-${W}-${Z}`:`-${W}`:""}`)?.values()??[]),fitView:async W=>{const Z=E.getState().fitViewResolver??sGn();return E.setState({fitViewQueued:!0,fitViewOptions:W,fitViewResolver:Z}),x.nodeQueue.push(se=>[...se]),Z.promise}}},[]);return Re.useMemo(()=>({...N,...b,viewportInitialized:M}),[M])}const X1n=b=>b.selected,Pqn=typeof window<"u"?window:void 0;function $qn({deleteKeyCode:b,multiSelectionKeyCode:E}){const x=Sl(),{deleteElements:M}=$ke(),N=WG(b,{actInsideInputWithModifier:!1}),$=WG(E,{target:Pqn});Re.useEffect(()=>{if(N){const{edges:k,nodes:H}=x.getState();M({nodes:H.filter(X1n),edges:k.filter(X1n)}),x.setState({nodesSelectionActive:!1})}},[N]),Re.useEffect(()=>{x.setState({multiSelectionActive:$})},[$])}function Rqn(b){const E=Sl();Re.useEffect(()=>{const x=()=>{if(!b.current||!(b.current.checkVisibility?.()??!0))return!1;const M=Nke(b.current);(M.height===0||M.width===0)&&E.getState().onError?.("004",g5.error004()),E.setState({width:M.width||500,height:M.height||500})};if(b.current){x(),window.addEventListener("resize",x);const M=new ResizeObserver(()=>x());return M.observe(b.current),()=>{window.removeEventListener("resize",x),M&&b.current&&M.unobserve(b.current)}}},[])}const Jue={position:"absolute",width:"100%",height:"100%",top:0,left:0},Bqn=b=>({userSelectionActive:b.userSelectionActive,lib:b.lib,connectionInProgress:b.connection.inProgress});function zqn({onPaneContextMenu:b,zoomOnScroll:E=!0,zoomOnPinch:x=!0,panOnScroll:M=!1,panOnScrollSpeed:N=.5,panOnScrollMode:$=AA.Free,zoomOnDoubleClick:k=!0,panOnDrag:H=!0,defaultViewport:q,translateExtent:G,minZoom:ie,maxZoom:W,zoomActivationKeyCode:Z,preventScrolling:se=!0,children:oe,noWheelClassName:ee,noPanClassName:Me,onViewportChange:me,isControlledViewport:Pe,paneClickDistance:ae,selectionOnDrag:Ne}){const Ue=Sl(),ln=Re.useRef(null),{userSelectionActive:on,lib:An,connectionInProgress:xn}=zu(Bqn,El),tt=WG(Z),mn=Re.useRef();Rqn(ln);const vn=Re.useCallback(Y=>{me?.({x:Y[0],y:Y[1],zoom:Y[2]}),Pe||Ue.setState({transform:Y})},[me,Pe]);return Re.useEffect(()=>{if(ln.current){mn.current=qGn({domNode:ln.current,minZoom:ie,maxZoom:W,translateExtent:G,viewport:q,onDraggingChange:xe=>Ue.setState(Ge=>Ge.paneDragging===xe?Ge:{paneDragging:xe}),onPanZoomStart:(xe,Ge)=>{const{onViewportChangeStart:fn,onMoveStart:$e}=Ue.getState();$e?.(xe,Ge),fn?.(Ge)},onPanZoom:(xe,Ge)=>{const{onViewportChange:fn,onMove:$e}=Ue.getState();$e?.(xe,Ge),fn?.(Ge)},onPanZoomEnd:(xe,Ge)=>{const{onViewportChangeEnd:fn,onMoveEnd:$e}=Ue.getState();$e?.(xe,Ge),fn?.(Ge)}});const{x:Y,y:Fe,zoom:wn}=mn.current.getViewport();return Ue.setState({panZoom:mn.current,transform:[Y,Fe,wn],domNode:ln.current.closest(".react-flow")}),()=>{mn.current?.destroy()}}},[]),Re.useEffect(()=>{mn.current?.update({onPaneContextMenu:b,zoomOnScroll:E,zoomOnPinch:x,panOnScroll:M,panOnScrollSpeed:N,panOnScrollMode:$,zoomOnDoubleClick:k,panOnDrag:H,zoomActivationKeyPressed:tt,preventScrolling:se,noPanClassName:Me,userSelectionActive:on,noWheelClassName:ee,lib:An,onTransformChange:vn,connectionInProgress:xn,selectionOnDrag:Ne,paneClickDistance:ae})},[b,E,x,M,N,$,k,H,tt,se,Me,on,ee,An,vn,xn,Ne,ae]),_.jsx("div",{className:"react-flow__renderer",ref:ln,style:Jue,children:oe})}const Fqn=b=>({userSelectionActive:b.userSelectionActive,userSelectionRect:b.userSelectionRect});function Jqn(){const{userSelectionActive:b,userSelectionRect:E}=zu(Fqn,El);return b&&E?_.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:E.width,height:E.height,transform:`translate(${E.x}px, ${E.y}px)`}}):null}const X7e=(b,E)=>x=>{x.target===E.current&&b?.(x)},Hqn=b=>({userSelectionActive:b.userSelectionActive,elementsSelectable:b.elementsSelectable,connectionInProgress:b.connection.inProgress,dragging:b.paneDragging});function Gqn({isSelecting:b,selectionKeyPressed:E,selectionMode:x=KG.Full,panOnDrag:M,paneClickDistance:N,selectionOnDrag:$,onSelectionStart:k,onSelectionEnd:H,onPaneClick:q,onPaneContextMenu:G,onPaneScroll:ie,onPaneMouseEnter:W,onPaneMouseMove:Z,onPaneMouseLeave:se,children:oe}){const ee=Sl(),{userSelectionActive:Me,elementsSelectable:me,dragging:Pe,connectionInProgress:ae}=zu(Hqn,El),Ne=me&&(b||Me),Ue=Re.useRef(null),ln=Re.useRef(),on=Re.useRef(new Set),An=Re.useRef(new Set),xn=Re.useRef(!1),tt=fn=>{if(xn.current||ae){xn.current=!1;return}q?.(fn),ee.getState().resetSelectedElements(),ee.setState({nodesSelectionActive:!1})},mn=fn=>{if(Array.isArray(M)&&M?.includes(2)){fn.preventDefault();return}G?.(fn)},vn=ie?fn=>ie(fn):void 0,Y=fn=>{xn.current&&(fn.stopPropagation(),xn.current=!1)},Fe=fn=>{const{domNode:$e}=ee.getState();if(ln.current=$e?.getBoundingClientRect(),!ln.current)return;const Mn=fn.target===Ue.current;if(!Mn&&!!fn.target.closest(".nokey")||!b||!($&&Mn||E)||fn.button!==0||!fn.isPrimary)return;fn.target?.setPointerCapture?.(fn.pointerId),xn.current=!1;const{x:Hn,y:ut}=cv(fn.nativeEvent,ln.current);ee.setState({userSelectionRect:{width:0,height:0,startX:Hn,startY:ut,x:Hn,y:ut}}),Mn||(fn.stopPropagation(),fn.preventDefault())},wn=fn=>{const{userSelectionRect:$e,transform:Mn,nodeLookup:ge,edgeLookup:tn,connectionLookup:Hn,triggerNodeChanges:ut,triggerEdgeChanges:Jt,defaultEdgeOptions:di,resetSelectedElements:Gt}=ee.getState();if(!ln.current||!$e)return;const{x:At,y:si}=cv(fn.nativeEvent,ln.current),{startX:Kr,startY:Er}=$e;if(!xn.current){const Fu=E?0:N;if(Math.hypot(At-Kr,si-Er)<=Fu)return;Gt(),k?.(fn)}xn.current=!0;const Dt={startX:Kr,startY:Er,x:AtFu.id)),An.current=new Set;const cu=di?.selectable??!0;for(const Fu of on.current){const Rs=Hn.get(Fu);if(Rs)for(const{edgeId:ra}of Rs.values()){const nf=tn.get(ra);nf&&(nf.selectable??cu)&&An.current.add(ra)}}if(!m1n(bi,on.current)){const Fu=dD(ge,on.current,!0);ut(Fu)}if(!m1n(zi,An.current)){const Fu=dD(tn,An.current);Jt(Fu)}ee.setState({userSelectionRect:Dt,userSelectionActive:!0,nodesSelectionActive:!1})},xe=fn=>{fn.button===0&&(fn.target?.releasePointerCapture?.(fn.pointerId),!Me&&fn.target===Ue.current&&ee.getState().userSelectionRect&&tt?.(fn),ee.setState({userSelectionActive:!1,userSelectionRect:null}),xn.current&&(H?.(fn),ee.setState({nodesSelectionActive:on.current.size>0})))},Ge=M===!0||Array.isArray(M)&&M.includes(0);return _.jsxs("div",{className:Na(["react-flow__pane",{draggable:Ge,dragging:Pe,selection:b}]),onClick:Ne?void 0:X7e(tt,Ue),onContextMenu:X7e(mn,Ue),onWheel:X7e(vn,Ue),onPointerEnter:Ne?void 0:W,onPointerMove:Ne?wn:Z,onPointerUp:Ne?xe:void 0,onPointerDownCapture:Ne?Fe:void 0,onClickCapture:Ne?Y:void 0,onPointerLeave:se,ref:Ue,style:Jue,children:[oe,_.jsx(Jqn,{})]})}function mke({id:b,store:E,unselect:x=!1,nodeRef:M}){const{addSelectedNodes:N,unselectNodesAndEdges:$,multiSelectionActive:k,nodeLookup:H,onError:q}=E.getState(),G=H.get(b);if(!G){q?.("012",g5.error012(b));return}E.setState({nodesSelectionActive:!1}),G.selected?(x||G.selected&&k)&&($({nodes:[G],edges:[]}),requestAnimationFrame(()=>M?.current?.blur())):N([b])}function O0n({nodeRef:b,disabled:E=!1,noDragClassName:x,handleSelector:M,nodeId:N,isSelectable:$,nodeClickDistance:k}){const H=Sl(),[q,G]=Re.useState(!1),ie=Re.useRef();return Re.useEffect(()=>{ie.current=NGn({getStoreItems:()=>H.getState(),onNodeMouseDown:W=>{mke({id:W,store:H,nodeRef:b})},onDragStart:()=>{G(!0)},onDragStop:()=>{G(!1)}})},[]),Re.useEffect(()=>{if(!(E||!b.current||!ie.current))return ie.current.update({noDragClassName:x,handleSelector:M,domNode:b.current,isSelectable:$,nodeId:N,nodeClickDistance:k}),()=>{ie.current?.destroy()}},[x,M,E,$,b,N,k]),q}const qqn=b=>E=>E.selected&&(E.draggable||b&&typeof E.draggable>"u");function N0n(){const b=Sl();return Re.useCallback(x=>{const{nodeExtent:M,snapToGrid:N,snapGrid:$,nodesDraggable:k,onError:H,updateNodePositions:q,nodeLookup:G,nodeOrigin:ie}=b.getState(),W=new Map,Z=qqn(k),se=N?$[0]:5,oe=N?$[1]:5,ee=x.direction.x*se*x.factor,Me=x.direction.y*oe*x.factor;for(const[,me]of G){if(!Z(me))continue;let Pe={x:me.internals.positionAbsolute.x+ee,y:me.internals.positionAbsolute.y+Me};N&&(Pe=rq(Pe,$));const{position:ae,positionAbsolute:Ne}=Ydn({nodeId:me.id,nextPosition:Pe,nodeLookup:G,nodeExtent:M,nodeOrigin:ie,onError:H});me.position=ae,me.internals.positionAbsolute=Ne,W.set(me.id,me)}q(W)},[])}const Rke=Re.createContext(null),Uqn=Rke.Provider;Rke.Consumer;const I0n=()=>Re.useContext(Rke),Xqn=b=>({connectOnClick:b.connectOnClick,noPanClassName:b.noPanClassName,rfId:b.rfId}),Kqn=(b,E,x)=>M=>{const{connectionClickStartHandle:N,connectionMode:$,connection:k}=M,{fromHandle:H,toHandle:q,isValid:G}=k,ie=q?.nodeId===b&&q?.id===E&&q?.type===x;return{connectingFrom:H?.nodeId===b&&H?.id===E&&H?.type===x,connectingTo:ie,clickConnecting:N?.nodeId===b&&N?.id===E&&N?.type===x,isPossibleEndHandle:$===mD.Strict?H?.type!==x:b!==H?.nodeId||E!==H?.id,connectionInProcess:!!H,clickConnectionInProcess:!!N,valid:ie&&G}};function Vqn({type:b="source",position:E=ur.Top,isValidConnection:x,isConnectable:M=!0,isConnectableStart:N=!0,isConnectableEnd:$=!0,id:k,onConnect:H,children:q,className:G,onMouseDown:ie,onTouchStart:W,...Z},se){const oe=k||null,ee=b==="target",Me=Sl(),me=I0n(),{connectOnClick:Pe,noPanClassName:ae,rfId:Ne}=zu(Xqn,El),{connectingFrom:Ue,connectingTo:ln,clickConnecting:on,isPossibleEndHandle:An,connectionInProcess:xn,clickConnectionInProcess:tt,valid:mn}=zu(Kqn(me,oe,b),El);me||Me.getState().onError?.("010",g5.error010());const vn=wn=>{const{defaultEdgeOptions:xe,onConnect:Ge,hasDefaultEdges:fn}=Me.getState(),$e={...xe,...wn};if(fn){const{edges:Mn,setEdges:ge}=Me.getState();ge(gGn($e,Mn))}Ge?.($e),H?.($e)},Y=wn=>{if(!me)return;const xe=r0n(wn.nativeEvent);if(N&&(xe&&wn.button===0||!xe)){const Ge=Me.getState();wke.onPointerDown(wn.nativeEvent,{handleDomNode:wn.currentTarget,autoPanOnConnect:Ge.autoPanOnConnect,connectionMode:Ge.connectionMode,connectionRadius:Ge.connectionRadius,domNode:Ge.domNode,nodeLookup:Ge.nodeLookup,lib:Ge.lib,isTarget:ee,handleId:oe,nodeId:me,flowId:Ge.rfId,panBy:Ge.panBy,cancelConnection:Ge.cancelConnection,onConnectStart:Ge.onConnectStart,onConnectEnd:(...fn)=>Me.getState().onConnectEnd?.(...fn),updateConnection:Ge.updateConnection,onConnect:vn,isValidConnection:x||((...fn)=>Me.getState().isValidConnection?.(...fn)??!0),getTransform:()=>Me.getState().transform,getFromHandle:()=>Me.getState().connection.fromHandle,autoPanSpeed:Ge.autoPanSpeed,dragThreshold:Ge.connectionDragThreshold})}xe?ie?.(wn):W?.(wn)},Fe=wn=>{const{onClickConnectStart:xe,onClickConnectEnd:Ge,connectionClickStartHandle:fn,connectionMode:$e,isValidConnection:Mn,lib:ge,rfId:tn,nodeLookup:Hn,connection:ut}=Me.getState();if(!me||!fn&&!N)return;if(!fn){xe?.(wn.nativeEvent,{nodeId:me,handleId:oe,handleType:b}),Me.setState({connectionClickStartHandle:{nodeId:me,type:b,id:oe}});return}const Jt=t0n(wn.target),di=x||Mn,{connection:Gt,isValid:At}=wke.isValid(wn.nativeEvent,{handle:{nodeId:me,id:oe,type:b},connectionMode:$e,fromNodeId:fn.nodeId,fromHandleId:fn.id||null,fromType:fn.type,isValidConnection:di,flowId:tn,doc:Jt,lib:ge,nodeLookup:Hn});At&&Gt&&vn(Gt);const si=structuredClone(ut);delete si.inProgress,si.toPosition=si.toHandle?si.toHandle.position:null,Ge?.(wn,si),Me.setState({connectionClickStartHandle:null})};return _.jsx("div",{"data-handleid":oe,"data-nodeid":me,"data-handlepos":E,"data-id":`${Ne}-${me}-${oe}-${b}`,className:Na(["react-flow__handle",`react-flow__handle-${E}`,"nodrag",ae,G,{source:!ee,target:ee,connectable:M,connectablestart:N,connectableend:$,clickconnecting:on,connectingfrom:Ue,connectingto:ln,valid:mn,connectionindicator:M&&(!xn||An)&&(xn||tt?$:N)}]),onMouseDown:Y,onTouchStart:Y,onClick:Pe?Fe:void 0,ref:se,...Z,children:q})}const w5=Re.memo(C0n(Vqn));function Yqn({data:b,isConnectable:E,sourcePosition:x=ur.Bottom}){return _.jsxs(_.Fragment,{children:[b?.label,_.jsx(w5,{type:"source",position:x,isConnectable:E})]})}function Qqn({data:b,isConnectable:E,targetPosition:x=ur.Top,sourcePosition:M=ur.Bottom}){return _.jsxs(_.Fragment,{children:[_.jsx(w5,{type:"target",position:x,isConnectable:E}),b?.label,_.jsx(w5,{type:"source",position:M,isConnectable:E})]})}function Wqn(){return null}function Zqn({data:b,isConnectable:E,targetPosition:x=ur.Top}){return _.jsxs(_.Fragment,{children:[_.jsx(w5,{type:"target",position:x,isConnectable:E}),b?.label]})}const Tue={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},K1n={input:Yqn,default:Qqn,output:Zqn,group:Wqn};function eUn(b){return b.internals.handleBounds===void 0?{width:b.width??b.initialWidth??b.style?.width,height:b.height??b.initialHeight??b.style?.height}:{width:b.width??b.style?.width,height:b.height??b.style?.height}}const nUn=b=>{const{width:E,height:x,x:M,y:N}=iq(b.nodeLookup,{filter:$=>!!$.selected});return{width:rv(E)?E:null,height:rv(x)?x:null,userSelectionActive:b.userSelectionActive,transformString:`translate(${b.transform[0]}px,${b.transform[1]}px) scale(${b.transform[2]}) translate(${M}px,${N}px)`}};function tUn({onSelectionContextMenu:b,noPanClassName:E,disableKeyboardA11y:x}){const M=Sl(),{width:N,height:$,transformString:k,userSelectionActive:H}=zu(nUn,El),q=N0n(),G=Re.useRef(null);Re.useEffect(()=>{x||G.current?.focus({preventScroll:!0})},[x]);const ie=!H&&N!==null&&$!==null;if(O0n({nodeRef:G,disabled:!ie}),!ie)return null;const W=b?se=>{const oe=M.getState().nodes.filter(ee=>ee.selected);b(se,oe)}:void 0,Z=se=>{Object.prototype.hasOwnProperty.call(Tue,se.key)&&(se.preventDefault(),q({direction:Tue[se.key],factor:se.shiftKey?4:1}))};return _.jsx("div",{className:Na(["react-flow__nodesselection","react-flow__container",E]),style:{transform:k},children:_.jsx("div",{ref:G,className:"react-flow__nodesselection-rect",onContextMenu:W,tabIndex:x?void 0:-1,onKeyDown:x?void 0:Z,style:{width:N,height:$}})})}const V1n=typeof window<"u"?window:void 0,iUn=b=>({nodesSelectionActive:b.nodesSelectionActive,userSelectionActive:b.userSelectionActive});function D0n({children:b,onPaneClick:E,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,paneClickDistance:H,deleteKeyCode:q,selectionKeyCode:G,selectionOnDrag:ie,selectionMode:W,onSelectionStart:Z,onSelectionEnd:se,multiSelectionKeyCode:oe,panActivationKeyCode:ee,zoomActivationKeyCode:Me,elementsSelectable:me,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Ne,panOnScrollSpeed:Ue,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:An,defaultViewport:xn,translateExtent:tt,minZoom:mn,maxZoom:vn,preventScrolling:Y,onSelectionContextMenu:Fe,noWheelClassName:wn,noPanClassName:xe,disableKeyboardA11y:Ge,onViewportChange:fn,isControlledViewport:$e}){const{nodesSelectionActive:Mn,userSelectionActive:ge}=zu(iUn,El),tn=WG(G,{target:V1n}),Hn=WG(ee,{target:V1n}),ut=Hn||An,Jt=Hn||Ne,di=ie&&ut!==!0,Gt=tn||ge||di;return $qn({deleteKeyCode:q,multiSelectionKeyCode:oe}),_.jsx(zqn,{onPaneContextMenu:$,elementsSelectable:me,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Jt,panOnScrollSpeed:Ue,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:!tn&&ut,defaultViewport:xn,translateExtent:tt,minZoom:mn,maxZoom:vn,zoomActivationKeyCode:Me,preventScrolling:Y,noWheelClassName:wn,noPanClassName:xe,onViewportChange:fn,isControlledViewport:$e,paneClickDistance:H,selectionOnDrag:di,children:_.jsxs(Gqn,{onSelectionStart:Z,onSelectionEnd:se,onPaneClick:E,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,panOnDrag:ut,isSelecting:!!Gt,selectionMode:W,selectionKeyPressed:tn,paneClickDistance:H,selectionOnDrag:di,children:[b,Mn&&_.jsx(tUn,{onSelectionContextMenu:Fe,noPanClassName:xe,disableKeyboardA11y:Ge})]})})}D0n.displayName="FlowRenderer";const rUn=Re.memo(D0n),cUn=b=>E=>b?Tke(E.nodeLookup,{x:0,y:0,width:E.width,height:E.height},E.transform,!0).map(x=>x.id):Array.from(E.nodeLookup.keys());function uUn(b){return zu(Re.useCallback(cUn(b),[b]),El)}const oUn=b=>b.updateNodeInternals;function sUn(){const b=zu(oUn),[E]=Re.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(x=>{const M=new Map;x.forEach(N=>{const $=N.target.getAttribute("data-id");M.set($,{id:$,nodeElement:N.target,force:!0})}),b(M)}));return Re.useEffect(()=>()=>{E?.disconnect()},[E]),E}function lUn({node:b,nodeType:E,hasDimensions:x,resizeObserver:M}){const N=Sl(),$=Re.useRef(null),k=Re.useRef(null),H=Re.useRef(b.sourcePosition),q=Re.useRef(b.targetPosition),G=Re.useRef(E),ie=x&&!!b.internals.handleBounds;return Re.useEffect(()=>{$.current&&!b.hidden&&(!ie||k.current!==$.current)&&(k.current&&M?.unobserve(k.current),M?.observe($.current),k.current=$.current)},[ie,b.hidden]),Re.useEffect(()=>()=>{k.current&&(M?.unobserve(k.current),k.current=null)},[]),Re.useEffect(()=>{if($.current){const W=G.current!==E,Z=H.current!==b.sourcePosition,se=q.current!==b.targetPosition;(W||Z||se)&&(G.current=E,H.current=b.sourcePosition,q.current=b.targetPosition,N.getState().updateNodeInternals(new Map([[b.id,{id:b.id,nodeElement:$.current,force:!0}]])))}},[b.id,E,b.sourcePosition,b.targetPosition]),$}function fUn({id:b,onClick:E,onMouseEnter:x,onMouseMove:M,onMouseLeave:N,onContextMenu:$,onDoubleClick:k,nodesDraggable:H,elementsSelectable:q,nodesConnectable:G,nodesFocusable:ie,resizeObserver:W,noDragClassName:Z,noPanClassName:se,disableKeyboardA11y:oe,rfId:ee,nodeTypes:Me,nodeClickDistance:me,onError:Pe}){const{node:ae,internals:Ne,isParent:Ue}=zu(At=>{const si=At.nodeLookup.get(b),Kr=At.parentLookup.has(b);return{node:si,internals:si.internals,isParent:Kr}},El);let ln=ae.type||"default",on=Me?.[ln]||K1n[ln];on===void 0&&(Pe?.("003",g5.error003(ln)),ln="default",on=Me?.default||K1n.default);const An=!!(ae.draggable||H&&typeof ae.draggable>"u"),xn=!!(ae.selectable||q&&typeof ae.selectable>"u"),tt=!!(ae.connectable||G&&typeof ae.connectable>"u"),mn=!!(ae.focusable||ie&&typeof ae.focusable>"u"),vn=Sl(),Y=e0n(ae),Fe=lUn({node:ae,nodeType:ln,hasDimensions:Y,resizeObserver:W}),wn=O0n({nodeRef:Fe,disabled:ae.hidden||!An,noDragClassName:Z,handleSelector:ae.dragHandle,nodeId:b,isSelectable:xn,nodeClickDistance:me}),xe=N0n();if(ae.hidden)return null;const Ge=a6(ae),fn=eUn(ae),$e=xn||An||E||x||M||N,Mn=x?At=>x(At,{...Ne.userNode}):void 0,ge=M?At=>M(At,{...Ne.userNode}):void 0,tn=N?At=>N(At,{...Ne.userNode}):void 0,Hn=$?At=>$(At,{...Ne.userNode}):void 0,ut=k?At=>k(At,{...Ne.userNode}):void 0,Jt=At=>{const{selectNodesOnDrag:si,nodeDragThreshold:Kr}=vn.getState();xn&&(!si||!An||Kr>0)&&mke({id:b,store:vn,nodeRef:Fe}),E&&E(At,{...Ne.userNode})},di=At=>{if(!(i0n(At.nativeEvent)||oe)){if(qdn.includes(At.key)&&xn){const si=At.key==="Escape";mke({id:b,store:vn,unselect:si,nodeRef:Fe})}else if(An&&ae.selected&&Object.prototype.hasOwnProperty.call(Tue,At.key)){At.preventDefault();const{ariaLabelConfig:si}=vn.getState();vn.setState({ariaLiveMessage:si["node.a11yDescription.ariaLiveMessage"]({direction:At.key.replace("Arrow","").toLowerCase(),x:~~Ne.positionAbsolute.x,y:~~Ne.positionAbsolute.y})}),xe({direction:Tue[At.key],factor:At.shiftKey?4:1})}}},Gt=()=>{if(oe||!Fe.current?.matches(":focus-visible"))return;const{transform:At,width:si,height:Kr,autoPanOnNodeFocus:Er,setCenter:Dt}=vn.getState();if(!Er)return;Tke(new Map([[b,ae]]),{x:0,y:0,width:si,height:Kr},At,!0).length>0||Dt(ae.position.x+Ge.width/2,ae.position.y+Ge.height/2,{zoom:At[2]})};return _.jsx("div",{className:Na(["react-flow__node",`react-flow__node-${ln}`,{[se]:An},ae.className,{selected:ae.selected,selectable:xn,parent:Ue,draggable:An,dragging:wn}]),ref:Fe,style:{zIndex:Ne.z,transform:`translate(${Ne.positionAbsolute.x}px,${Ne.positionAbsolute.y}px)`,pointerEvents:$e?"all":"none",visibility:Y?"visible":"hidden",...ae.style,...fn},"data-id":b,"data-testid":`rf__node-${b}`,onMouseEnter:Mn,onMouseMove:ge,onMouseLeave:tn,onContextMenu:Hn,onClick:Jt,onDoubleClick:ut,onKeyDown:mn?di:void 0,tabIndex:mn?0:void 0,onFocus:mn?Gt:void 0,role:ae.ariaRole??(mn?"group":void 0),"aria-roledescription":"node","aria-describedby":oe?void 0:`${j0n}-${ee}`,"aria-label":ae.ariaLabel,...ae.domAttributes,children:_.jsx(Uqn,{value:b,children:_.jsx(on,{id:b,data:ae.data,type:ln,positionAbsoluteX:Ne.positionAbsolute.x,positionAbsoluteY:Ne.positionAbsolute.y,selected:ae.selected??!1,selectable:xn,draggable:An,deletable:ae.deletable??!0,isConnectable:tt,sourcePosition:ae.sourcePosition,targetPosition:ae.targetPosition,dragging:wn,dragHandle:ae.dragHandle,zIndex:Ne.z,parentId:ae.parentId,...Ge})})})}var aUn=Re.memo(fUn);const hUn=b=>({nodesDraggable:b.nodesDraggable,nodesConnectable:b.nodesConnectable,nodesFocusable:b.nodesFocusable,elementsSelectable:b.elementsSelectable,onError:b.onError});function _0n(b){const{nodesDraggable:E,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,onError:$}=zu(hUn,El),k=uUn(b.onlyRenderVisibleElements),H=sUn();return _.jsx("div",{className:"react-flow__nodes",style:Jue,children:k.map(q=>_.jsx(aUn,{id:q,nodeTypes:b.nodeTypes,nodeExtent:b.nodeExtent,onClick:b.onNodeClick,onMouseEnter:b.onNodeMouseEnter,onMouseMove:b.onNodeMouseMove,onMouseLeave:b.onNodeMouseLeave,onContextMenu:b.onNodeContextMenu,onDoubleClick:b.onNodeDoubleClick,noDragClassName:b.noDragClassName,noPanClassName:b.noPanClassName,rfId:b.rfId,disableKeyboardA11y:b.disableKeyboardA11y,resizeObserver:H,nodesDraggable:E,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,nodeClickDistance:b.nodeClickDistance,onError:$},q))})}_0n.displayName="NodeRenderer";const dUn=Re.memo(_0n);function bUn(b){return zu(Re.useCallback(x=>{if(!b)return x.edges.map(N=>N.id);const M=[];if(x.width&&x.height)for(const N of x.edges){const $=x.nodeLookup.get(N.source),k=x.nodeLookup.get(N.target);$&&k&&hGn({sourceNode:$,targetNode:k,width:x.width,height:x.height,transform:x.transform})&&M.push(N.id)}return M},[b]),El)}const gUn=({color:b="none",strokeWidth:E=1})=>{const x={strokeWidth:E,...b&&{stroke:b}};return _.jsx("polyline",{className:"arrow",style:x,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},wUn=({color:b="none",strokeWidth:E=1})=>{const x={strokeWidth:E,...b&&{stroke:b,fill:b}};return _.jsx("polyline",{className:"arrowclosed",style:x,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},Y1n={[VG.Arrow]:gUn,[VG.ArrowClosed]:wUn};function pUn(b){const E=Sl();return Re.useMemo(()=>Object.prototype.hasOwnProperty.call(Y1n,b)?Y1n[b]:(E.getState().onError?.("009",g5.error009(b)),null),[b])}const mUn=({id:b,type:E,color:x,width:M=12.5,height:N=12.5,markerUnits:$="strokeWidth",strokeWidth:k,orient:H="auto-start-reverse"})=>{const q=pUn(E);return q?_.jsx("marker",{className:"react-flow__arrowhead",id:b,markerWidth:`${M}`,markerHeight:`${N}`,viewBox:"-10 -10 20 20",markerUnits:$,orient:H,refX:"0",refY:"0",children:_.jsx(q,{color:x,strokeWidth:k})}):null},L0n=({defaultColor:b,rfId:E})=>{const x=zu($=>$.edges),M=zu($=>$.defaultEdgeOptions),N=Re.useMemo(()=>yGn(x,{id:E,defaultColor:b,defaultMarkerStart:M?.markerStart,defaultMarkerEnd:M?.markerEnd}),[x,M,E,b]);return N.length?_.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:_.jsx("defs",{children:N.map($=>_.jsx(mUn,{id:$.id,type:$.type,color:$.color,width:$.width,height:$.height,markerUnits:$.markerUnits,strokeWidth:$.strokeWidth,orient:$.orient},$.id))})}):null};L0n.displayName="MarkerDefinitions";var vUn=Re.memo(L0n);function P0n({x:b,y:E,label:x,labelStyle:M,labelShowBg:N=!0,labelBgStyle:$,labelBgPadding:k=[2,4],labelBgBorderRadius:H=2,children:q,className:G,...ie}){const[W,Z]=Re.useState({x:1,y:0,width:0,height:0}),se=Na(["react-flow__edge-textwrapper",G]),oe=Re.useRef(null);return Re.useEffect(()=>{if(oe.current){const ee=oe.current.getBBox();Z({x:ee.x,y:ee.y,width:ee.width,height:ee.height})}},[x]),x?_.jsxs("g",{transform:`translate(${b-W.width/2} ${E-W.height/2})`,className:se,visibility:W.width?"visible":"hidden",...ie,children:[N&&_.jsx("rect",{width:W.width+2*k[0],x:-k[0],y:-k[1],height:W.height+2*k[1],className:"react-flow__edge-textbg",style:$,rx:H,ry:H}),_.jsx("text",{className:"react-flow__edge-text",y:W.height/2,dy:"0.3em",ref:oe,style:M,children:x}),q]}):null}P0n.displayName="EdgeText";const yUn=Re.memo(P0n);function uq({path:b,labelX:E,labelY:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:H,labelBgBorderRadius:q,interactionWidth:G=20,...ie}){return _.jsxs(_.Fragment,{children:[_.jsx("path",{...ie,d:b,fill:"none",className:Na(["react-flow__edge-path",ie.className])}),G?_.jsx("path",{d:b,fill:"none",strokeOpacity:0,strokeWidth:G,className:"react-flow__edge-interaction"}):null,M&&rv(E)&&rv(x)?_.jsx(yUn,{x:E,y:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:H,labelBgBorderRadius:q}):null]})}function Q1n({pos:b,x1:E,y1:x,x2:M,y2:N}){return b===ur.Left||b===ur.Right?[.5*(E+M),x]:[E,.5*(x+N)]}function $0n({sourceX:b,sourceY:E,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top}){const[k,H]=Q1n({pos:x,x1:b,y1:E,x2:M,y2:N}),[q,G]=Q1n({pos:$,x1:M,y1:N,x2:b,y2:E}),[ie,W,Z,se]=c0n({sourceX:b,sourceY:E,targetX:M,targetY:N,sourceControlX:k,sourceControlY:H,targetControlX:q,targetControlY:G});return[`M${b},${E} C${k},${H} ${q},${G} ${M},${N}`,ie,W,Z,se]}function R0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k,targetPosition:H,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:me})=>{const[Pe,ae,Ne]=$0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:H}),Ue=b.isInternal?void 0:E;return _.jsx(uq,{id:Ue,path:Pe,labelX:ae,labelY:Ne,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:me})})}const kUn=R0n({isInternal:!1}),B0n=R0n({isInternal:!0});kUn.displayName="SimpleBezierEdge";B0n.displayName="SimpleBezierEdgeInternal";function z0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,sourcePosition:se=ur.Bottom,targetPosition:oe=ur.Top,markerEnd:ee,markerStart:Me,pathOptions:me,interactionWidth:Pe})=>{const[ae,Ne,Ue]=Cue({sourceX:x,sourceY:M,sourcePosition:se,targetX:N,targetY:$,targetPosition:oe,borderRadius:me?.borderRadius,offset:me?.offset,stepPosition:me?.stepPosition}),ln=b.isInternal?void 0:E;return _.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Ue,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:ee,markerStart:Me,interactionWidth:Pe})})}const F0n=z0n({isInternal:!1}),J0n=z0n({isInternal:!0});F0n.displayName="SmoothStepEdge";J0n.displayName="SmoothStepEdgeInternal";function H0n(b){return Re.memo(({id:E,...x})=>{const M=b.isInternal?void 0:E;return _.jsx(F0n,{...x,id:M,pathOptions:Re.useMemo(()=>({borderRadius:0,offset:x.pathOptions?.offset}),[x.pathOptions?.offset])})})}const jUn=H0n({isInternal:!1}),G0n=H0n({isInternal:!0});jUn.displayName="StepEdge";G0n.displayName="StepEdgeInternal";function q0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:se,markerStart:oe,interactionWidth:ee})=>{const[Me,me,Pe]=s0n({sourceX:x,sourceY:M,targetX:N,targetY:$}),ae=b.isInternal?void 0:E;return _.jsx(uq,{id:ae,path:Me,labelX:me,labelY:Pe,label:k,labelStyle:H,labelShowBg:q,labelBgStyle:G,labelBgPadding:ie,labelBgBorderRadius:W,style:Z,markerEnd:se,markerStart:oe,interactionWidth:ee})})}const EUn=q0n({isInternal:!1}),U0n=q0n({isInternal:!0});EUn.displayName="StraightEdge";U0n.displayName="StraightEdgeInternal";function X0n(b){return Re.memo(({id:E,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k=ur.Bottom,targetPosition:H=ur.Top,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,pathOptions:me,interactionWidth:Pe})=>{const[ae,Ne,Ue]=u0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:H,curvature:me?.curvature}),ln=b.isInternal?void 0:E;return _.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Ue,label:q,labelStyle:G,labelShowBg:ie,labelBgStyle:W,labelBgPadding:Z,labelBgBorderRadius:se,style:oe,markerEnd:ee,markerStart:Me,interactionWidth:Pe})})}const SUn=X0n({isInternal:!1}),K0n=X0n({isInternal:!0});SUn.displayName="BezierEdge";K0n.displayName="BezierEdgeInternal";const W1n={default:K0n,straight:U0n,step:G0n,smoothstep:J0n,simplebezier:B0n},Z1n={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},xUn=(b,E,x)=>x===ur.Left?b-E:x===ur.Right?b+E:b,AUn=(b,E,x)=>x===ur.Top?b-E:x===ur.Bottom?b+E:b,edn="react-flow__edgeupdater";function ndn({position:b,centerX:E,centerY:x,radius:M=10,onMouseDown:N,onMouseEnter:$,onMouseOut:k,type:H}){return _.jsx("circle",{onMouseDown:N,onMouseEnter:$,onMouseOut:k,className:Na([edn,`${edn}-${H}`]),cx:xUn(E,M,b),cy:AUn(x,M,b),r:M,stroke:"transparent",fill:"transparent"})}function MUn({isReconnectable:b,reconnectRadius:E,edge:x,sourceX:M,sourceY:N,targetX:$,targetY:k,sourcePosition:H,targetPosition:q,onReconnect:G,onReconnectStart:ie,onReconnectEnd:W,setReconnecting:Z,setUpdateHover:se}){const oe=Sl(),ee=(Ne,Ue)=>{if(Ne.button!==0)return;const{autoPanOnConnect:ln,domNode:on,connectionMode:An,connectionRadius:xn,lib:tt,onConnectStart:mn,cancelConnection:vn,nodeLookup:Y,rfId:Fe,panBy:wn,updateConnection:xe}=oe.getState(),Ge=Ue.type==="target",fn=(ge,tn)=>{Z(!1),W?.(ge,x,Ue.type,tn)},$e=ge=>G?.(x,ge),Mn=(ge,tn)=>{Z(!0),ie?.(Ne,x,Ue.type),mn?.(ge,tn)};wke.onPointerDown(Ne.nativeEvent,{autoPanOnConnect:ln,connectionMode:An,connectionRadius:xn,domNode:on,handleId:Ue.id,nodeId:Ue.nodeId,nodeLookup:Y,isTarget:Ge,edgeUpdaterType:Ue.type,lib:tt,flowId:Fe,cancelConnection:vn,panBy:wn,isValidConnection:(...ge)=>oe.getState().isValidConnection?.(...ge)??!0,onConnect:$e,onConnectStart:Mn,onConnectEnd:(...ge)=>oe.getState().onConnectEnd?.(...ge),onReconnectEnd:fn,updateConnection:xe,getTransform:()=>oe.getState().transform,getFromHandle:()=>oe.getState().connection.fromHandle,dragThreshold:oe.getState().connectionDragThreshold,handleDomNode:Ne.currentTarget})},Me=Ne=>ee(Ne,{nodeId:x.target,id:x.targetHandle??null,type:"target"}),me=Ne=>ee(Ne,{nodeId:x.source,id:x.sourceHandle??null,type:"source"}),Pe=()=>se(!0),ae=()=>se(!1);return _.jsxs(_.Fragment,{children:[(b===!0||b==="source")&&_.jsx(ndn,{position:H,centerX:M,centerY:N,radius:E,onMouseDown:Me,onMouseEnter:Pe,onMouseOut:ae,type:"source"}),(b===!0||b==="target")&&_.jsx(ndn,{position:q,centerX:$,centerY:k,radius:E,onMouseDown:me,onMouseEnter:Pe,onMouseOut:ae,type:"target"})]})}function CUn({id:b,edgesFocusable:E,edgesReconnectable:x,elementsSelectable:M,onClick:N,onDoubleClick:$,onContextMenu:k,onMouseEnter:H,onMouseMove:q,onMouseLeave:G,reconnectRadius:ie,onReconnect:W,onReconnectStart:Z,onReconnectEnd:se,rfId:oe,edgeTypes:ee,noPanClassName:Me,onError:me,disableKeyboardA11y:Pe}){let ae=zu(Dt=>Dt.edgeLookup.get(b));const Ne=zu(Dt=>Dt.defaultEdgeOptions);ae=Ne?{...Ne,...ae}:ae;let Ue=ae.type||"default",ln=ee?.[Ue]||W1n[Ue];ln===void 0&&(me?.("011",g5.error011(Ue)),Ue="default",ln=ee?.default||W1n.default);const on=!!(ae.focusable||E&&typeof ae.focusable>"u"),An=typeof W<"u"&&(ae.reconnectable||x&&typeof ae.reconnectable>"u"),xn=!!(ae.selectable||M&&typeof ae.selectable>"u"),tt=Re.useRef(null),[mn,vn]=Re.useState(!1),[Y,Fe]=Re.useState(!1),wn=Sl(),{zIndex:xe,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn}=zu(Re.useCallback(Dt=>{const bi=Dt.nodeLookup.get(ae.source),zi=Dt.nodeLookup.get(ae.target);if(!bi||!zi)return{zIndex:ae.zIndex,...Z1n};const cu=vGn({id:b,sourceNode:bi,targetNode:zi,sourceHandle:ae.sourceHandle||null,targetHandle:ae.targetHandle||null,connectionMode:Dt.connectionMode,onError:me});return{zIndex:aGn({selected:ae.selected,zIndex:ae.zIndex,sourceNode:bi,targetNode:zi,elevateOnSelect:Dt.elevateEdgesOnSelect,zIndexMode:Dt.zIndexMode}),...cu||Z1n}},[ae.source,ae.target,ae.sourceHandle,ae.targetHandle,ae.selected,ae.zIndex]),El),Hn=Re.useMemo(()=>ae.markerStart?`url('#${bke(ae.markerStart,oe)}')`:void 0,[ae.markerStart,oe]),ut=Re.useMemo(()=>ae.markerEnd?`url('#${bke(ae.markerEnd,oe)}')`:void 0,[ae.markerEnd,oe]);if(ae.hidden||Ge===null||fn===null||$e===null||Mn===null)return null;const Jt=Dt=>{const{addSelectedEdges:bi,unselectNodesAndEdges:zi,multiSelectionActive:cu}=wn.getState();xn&&(wn.setState({nodesSelectionActive:!1}),ae.selected&&cu?(zi({nodes:[],edges:[ae]}),tt.current?.blur()):bi([b])),N&&N(Dt,ae)},di=$?Dt=>{$(Dt,{...ae})}:void 0,Gt=k?Dt=>{k(Dt,{...ae})}:void 0,At=H?Dt=>{H(Dt,{...ae})}:void 0,si=q?Dt=>{q(Dt,{...ae})}:void 0,Kr=G?Dt=>{G(Dt,{...ae})}:void 0,Er=Dt=>{if(!Pe&&qdn.includes(Dt.key)&&xn){const{unselectNodesAndEdges:bi,addSelectedEdges:zi}=wn.getState();Dt.key==="Escape"?(tt.current?.blur(),bi({edges:[ae]})):zi([b])}};return _.jsx("svg",{style:{zIndex:xe},children:_.jsxs("g",{className:Na(["react-flow__edge",`react-flow__edge-${Ue}`,ae.className,Me,{selected:ae.selected,animated:ae.animated,inactive:!xn&&!N,updating:mn,selectable:xn}]),onClick:Jt,onDoubleClick:di,onContextMenu:Gt,onMouseEnter:At,onMouseMove:si,onMouseLeave:Kr,onKeyDown:on?Er:void 0,tabIndex:on?0:void 0,role:ae.ariaRole??(on?"group":"img"),"aria-roledescription":"edge","data-id":b,"data-testid":`rf__edge-${b}`,"aria-label":ae.ariaLabel===null?void 0:ae.ariaLabel||`Edge from ${ae.source} to ${ae.target}`,"aria-describedby":on?`${E0n}-${oe}`:void 0,ref:tt,...ae.domAttributes,children:[!Y&&_.jsx(ln,{id:b,source:ae.source,target:ae.target,type:ae.type,selected:ae.selected,animated:ae.animated,selectable:xn,deletable:ae.deletable??!0,label:ae.label,labelStyle:ae.labelStyle,labelShowBg:ae.labelShowBg,labelBgStyle:ae.labelBgStyle,labelBgPadding:ae.labelBgPadding,labelBgBorderRadius:ae.labelBgBorderRadius,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn,data:ae.data,style:ae.style,sourceHandleId:ae.sourceHandle,targetHandleId:ae.targetHandle,markerStart:Hn,markerEnd:ut,pathOptions:"pathOptions"in ae?ae.pathOptions:void 0,interactionWidth:ae.interactionWidth}),An&&_.jsx(MUn,{edge:ae,isReconnectable:An,reconnectRadius:ie,onReconnect:W,onReconnectStart:Z,onReconnectEnd:se,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn,setUpdateHover:vn,setReconnecting:Fe})]})})}var TUn=Re.memo(CUn);const OUn=b=>({edgesFocusable:b.edgesFocusable,edgesReconnectable:b.edgesReconnectable,elementsSelectable:b.elementsSelectable,connectionMode:b.connectionMode,onError:b.onError});function V0n({defaultMarkerColor:b,onlyRenderVisibleElements:E,rfId:x,edgeTypes:M,noPanClassName:N,onReconnect:$,onEdgeContextMenu:k,onEdgeMouseEnter:H,onEdgeMouseMove:q,onEdgeMouseLeave:G,onEdgeClick:ie,reconnectRadius:W,onEdgeDoubleClick:Z,onReconnectStart:se,onReconnectEnd:oe,disableKeyboardA11y:ee}){const{edgesFocusable:Me,edgesReconnectable:me,elementsSelectable:Pe,onError:ae}=zu(OUn,El),Ne=bUn(E);return _.jsxs("div",{className:"react-flow__edges",children:[_.jsx(vUn,{defaultColor:b,rfId:x}),Ne.map(Ue=>_.jsx(TUn,{id:Ue,edgesFocusable:Me,edgesReconnectable:me,elementsSelectable:Pe,noPanClassName:N,onReconnect:$,onContextMenu:k,onMouseEnter:H,onMouseMove:q,onMouseLeave:G,onClick:ie,reconnectRadius:W,onDoubleClick:Z,onReconnectStart:se,onReconnectEnd:oe,rfId:x,onError:ae,edgeTypes:M,disableKeyboardA11y:ee},Ue))]})}V0n.displayName="EdgeRenderer";const NUn=Re.memo(V0n),IUn=b=>`translate(${b.transform[0]}px,${b.transform[1]}px) scale(${b.transform[2]})`;function DUn({children:b}){const E=zu(IUn);return _.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:E},children:b})}function _Un(b){const E=$ke(),x=Re.useRef(!1);Re.useEffect(()=>{!x.current&&E.viewportInitialized&&b&&(setTimeout(()=>b(E),1),x.current=!0)},[b,E.viewportInitialized])}const LUn=b=>b.panZoom?.syncViewport;function PUn(b){const E=zu(LUn),x=Sl();return Re.useEffect(()=>{b&&(E?.(b),x.setState({transform:[b.x,b.y,b.zoom]}))},[b,E]),null}function $Un(b){return b.connection.inProgress?{...b.connection,to:cq(b.connection.to,b.transform)}:{...b.connection}}function RUn(b){return $Un}function BUn(b){const E=RUn();return zu(E,El)}const zUn=b=>({nodesConnectable:b.nodesConnectable,isValid:b.connection.isValid,inProgress:b.connection.inProgress,width:b.width,height:b.height});function FUn({containerStyle:b,style:E,type:x,component:M}){const{nodesConnectable:N,width:$,height:k,isValid:H,inProgress:q}=zu(zUn,El);return!($&&N&&q)?null:_.jsx("svg",{style:b,width:$,height:k,className:"react-flow__connectionline react-flow__container",children:_.jsx("g",{className:Na(["react-flow__connection",Kdn(H)]),children:_.jsx(Y0n,{style:E,type:x,CustomComponent:M,isValid:H})})})}const Y0n=({style:b,type:E=ik.Bezier,CustomComponent:x,isValid:M})=>{const{inProgress:N,from:$,fromNode:k,fromHandle:H,fromPosition:q,to:G,toNode:ie,toHandle:W,toPosition:Z,pointer:se}=BUn();if(!N)return;if(x)return _.jsx(x,{connectionLineType:E,connectionLineStyle:b,fromNode:k,fromHandle:H,fromX:$.x,fromY:$.y,toX:G.x,toY:G.y,fromPosition:q,toPosition:Z,connectionStatus:Kdn(M),toNode:ie,toHandle:W,pointer:se});let oe="";const ee={sourceX:$.x,sourceY:$.y,sourcePosition:q,targetX:G.x,targetY:G.y,targetPosition:Z};switch(E){case ik.Bezier:[oe]=u0n(ee);break;case ik.SimpleBezier:[oe]=$0n(ee);break;case ik.Step:[oe]=Cue({...ee,borderRadius:0});break;case ik.SmoothStep:[oe]=Cue(ee);break;default:[oe]=s0n(ee)}return _.jsx("path",{d:oe,fill:"none",className:"react-flow__connection-path",style:b})};Y0n.displayName="ConnectionLine";const JUn={};function tdn(b=JUn){Re.useRef(b),Sl(),Re.useEffect(()=>{},[b])}function HUn(){Sl(),Re.useRef(!1),Re.useEffect(()=>{},[])}function Q0n({nodeTypes:b,edgeTypes:E,onInit:x,onNodeClick:M,onEdgeClick:N,onNodeDoubleClick:$,onEdgeDoubleClick:k,onNodeMouseEnter:H,onNodeMouseMove:q,onNodeMouseLeave:G,onNodeContextMenu:ie,onSelectionContextMenu:W,onSelectionStart:Z,onSelectionEnd:se,connectionLineType:oe,connectionLineStyle:ee,connectionLineComponent:Me,connectionLineContainerStyle:me,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,multiSelectionKeyCode:Ue,panActivationKeyCode:ln,zoomActivationKeyCode:on,deleteKeyCode:An,onlyRenderVisibleElements:xn,elementsSelectable:tt,defaultViewport:mn,translateExtent:vn,minZoom:Y,maxZoom:Fe,preventScrolling:wn,defaultMarkerColor:xe,zoomOnScroll:Ge,zoomOnPinch:fn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ge,zoomOnDoubleClick:tn,panOnDrag:Hn,onPaneClick:ut,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneScroll:At,onPaneContextMenu:si,paneClickDistance:Kr,nodeClickDistance:Er,onEdgeContextMenu:Dt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,onReconnect:Rs,onReconnectStart:ra,onReconnectEnd:nf,noDragClassName:Ia,noWheelClassName:Cc,noPanClassName:l0,disableKeyboardA11y:Cb,nodeExtent:xl,rfId:od,viewport:f0,onViewportChange:sh}){return tdn(b),tdn(E),HUn(),_Un(x),PUn(f0),_.jsx(rUn,{onPaneClick:ut,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneContextMenu:si,onPaneScroll:At,paneClickDistance:Kr,deleteKeyCode:An,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,onSelectionStart:Z,onSelectionEnd:se,multiSelectionKeyCode:Ue,panActivationKeyCode:ln,zoomActivationKeyCode:on,elementsSelectable:tt,zoomOnScroll:Ge,zoomOnPinch:fn,zoomOnDoubleClick:tn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ge,panOnDrag:Hn,defaultViewport:mn,translateExtent:vn,minZoom:Y,maxZoom:Fe,onSelectionContextMenu:W,preventScrolling:wn,noDragClassName:Ia,noWheelClassName:Cc,noPanClassName:l0,disableKeyboardA11y:Cb,onViewportChange:sh,isControlledViewport:!!f0,children:_.jsxs(DUn,{children:[_.jsx(NUn,{edgeTypes:E,onEdgeClick:N,onEdgeDoubleClick:k,onReconnect:Rs,onReconnectStart:ra,onReconnectEnd:nf,onlyRenderVisibleElements:xn,onEdgeContextMenu:Dt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,defaultMarkerColor:xe,noPanClassName:l0,disableKeyboardA11y:Cb,rfId:od}),_.jsx(FUn,{style:ee,type:oe,component:Me,containerStyle:me}),_.jsx("div",{className:"react-flow__edgelabel-renderer"}),_.jsx(dUn,{nodeTypes:b,onNodeClick:M,onNodeDoubleClick:$,onNodeMouseEnter:H,onNodeMouseMove:q,onNodeMouseLeave:G,onNodeContextMenu:ie,nodeClickDistance:Er,onlyRenderVisibleElements:xn,noPanClassName:l0,noDragClassName:Ia,disableKeyboardA11y:Cb,nodeExtent:xl,rfId:od}),_.jsx("div",{className:"react-flow__viewport-portal"})]})})}Q0n.displayName="GraphView";const GUn=Re.memo(Q0n),idn=({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:q=.5,maxZoom:G=2,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z="basic"}={})=>{const se=new Map,oe=new Map,ee=new Map,Me=new Map,me=M??E??[],Pe=x??b??[],ae=ie??[0,0],Ne=W??XG;a0n(ee,Me,me);const{nodesInitialized:Ue}=gke(Pe,se,oe,{nodeOrigin:ae,nodeExtent:Ne,zIndexMode:Z});let ln=[0,0,1];if(k&&N&&$){const on=iq(se,{filter:mn=>!!((mn.width||mn.initialWidth)&&(mn.height||mn.initialHeight))}),{x:An,y:xn,zoom:tt}=Oke(on,N,$,q,G,H?.padding??.1);ln=[An,xn,tt]}return{rfId:"1",width:N??0,height:$??0,transform:ln,nodes:Pe,nodesInitialized:Ue,nodeLookup:se,parentLookup:oe,edges:me,edgeLookup:Me,connectionLookup:ee,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:x!==void 0,hasDefaultEdges:M!==void 0,panZoom:null,minZoom:q,maxZoom:G,translateExtent:XG,nodeExtent:Ne,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:mD.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:ae,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:k??!1,fitViewOptions:H,fitViewResolver:null,connection:{...Xdn},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:cGn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:Udn,zIndexMode:Z,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},qUn=({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:q,maxZoom:G,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z})=>lqn((se,oe)=>{async function ee(){const{nodeLookup:Me,panZoom:me,fitViewOptions:Pe,fitViewResolver:ae,width:Ne,height:Ue,minZoom:ln,maxZoom:on}=oe();me&&(await iGn({nodes:Me,width:Ne,height:Ue,panZoom:me,minZoom:ln,maxZoom:on},Pe),ae?.resolve(!0),se({fitViewResolver:null}))}return{...idn({nodes:b,edges:E,width:N,height:$,fitView:k,fitViewOptions:H,minZoom:q,maxZoom:G,nodeOrigin:ie,nodeExtent:W,defaultNodes:x,defaultEdges:M,zIndexMode:Z}),setNodes:Me=>{const{nodeLookup:me,parentLookup:Pe,nodeOrigin:ae,elevateNodesOnSelect:Ne,fitViewQueued:Ue,zIndexMode:ln,nodesSelectionActive:on}=oe(),{nodesInitialized:An,hasSelectedNodes:xn}=gke(Me,me,Pe,{nodeOrigin:ae,nodeExtent:W,elevateNodesOnSelect:Ne,checkEquality:!0,zIndexMode:ln}),tt=on&&xn;Ue&&An?(ee(),se({nodes:Me,nodesInitialized:An,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:tt})):se({nodes:Me,nodesInitialized:An,nodesSelectionActive:tt})},setEdges:Me=>{const{connectionLookup:me,edgeLookup:Pe}=oe();a0n(me,Pe,Me),se({edges:Me})},setDefaultNodesAndEdges:(Me,me)=>{if(Me){const{setNodes:Pe}=oe();Pe(Me),se({hasDefaultNodes:!0})}if(me){const{setEdges:Pe}=oe();Pe(me),se({hasDefaultEdges:!0})}},updateNodeInternals:Me=>{const{triggerNodeChanges:me,nodeLookup:Pe,parentLookup:ae,domNode:Ne,nodeOrigin:Ue,nodeExtent:ln,debug:on,fitViewQueued:An,zIndexMode:xn}=oe(),{changes:tt,updatedInternals:mn}=MGn(Me,Pe,ae,Ne,Ue,ln,xn);mn&&(EGn(Pe,ae,{nodeOrigin:Ue,nodeExtent:ln,zIndexMode:xn}),An?(ee(),se({fitViewQueued:!1,fitViewOptions:void 0})):se({}),tt?.length>0&&(on&&console.log("React Flow: trigger node changes",tt),me?.(tt)))},updateNodePositions:(Me,me=!1)=>{const Pe=[];let ae=[];const{nodeLookup:Ne,triggerNodeChanges:Ue,connection:ln,updateConnection:on,onNodesChangeMiddlewareMap:An}=oe();for(const[xn,tt]of Me){const mn=Ne.get(xn),vn=!!(mn?.expandParent&&mn?.parentId&&tt?.position),Y={id:xn,type:"position",position:vn?{x:Math.max(0,tt.position.x),y:Math.max(0,tt.position.y)}:tt.position,dragging:me};if(mn&&ln.inProgress&&ln.fromNode.id===mn.id){const Fe=NA(mn,ln.fromHandle,ur.Left,!0);on({...ln,from:Fe})}vn&&mn.parentId&&Pe.push({id:xn,parentId:mn.parentId,rect:{...tt.internals.positionAbsolute,width:tt.measured.width??0,height:tt.measured.height??0}}),ae.push(Y)}if(Pe.length>0){const{parentLookup:xn,nodeOrigin:tt}=oe(),mn=Pke(Pe,Ne,xn,tt);ae.push(...mn)}for(const xn of An.values())ae=xn(ae);Ue(ae)},triggerNodeChanges:Me=>{const{onNodesChange:me,setNodes:Pe,nodes:ae,hasDefaultNodes:Ne,debug:Ue}=oe();if(Me?.length){if(Ne){const ln=A0n(Me,ae);Pe(ln)}Ue&&console.log("React Flow: trigger node changes",Me),me?.(Me)}},triggerEdgeChanges:Me=>{const{onEdgesChange:me,setEdges:Pe,edges:ae,hasDefaultEdges:Ne,debug:Ue}=oe();if(Me?.length){if(Ne){const ln=M0n(Me,ae);Pe(ln)}Ue&&console.log("React Flow: trigger edge changes",Me),me?.(Me)}},addSelectedNodes:Me=>{const{multiSelectionActive:me,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Ue}=oe();if(me){const ln=Me.map(on=>EA(on,!0));Ne(ln);return}Ne(dD(ae,new Set([...Me]),!0)),Ue(dD(Pe))},addSelectedEdges:Me=>{const{multiSelectionActive:me,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Ue}=oe();if(me){const ln=Me.map(on=>EA(on,!0));Ue(ln);return}Ue(dD(Pe,new Set([...Me]))),Ne(dD(ae,new Set,!0))},unselectNodesAndEdges:({nodes:Me,edges:me}={})=>{const{edges:Pe,nodes:ae,nodeLookup:Ne,triggerNodeChanges:Ue,triggerEdgeChanges:ln}=oe(),on=Me||ae,An=me||Pe,xn=[];for(const mn of on){if(!mn.selected)continue;const vn=Ne.get(mn.id);vn&&(vn.selected=!1),xn.push(EA(mn.id,!1))}const tt=[];for(const mn of An)mn.selected&&tt.push(EA(mn.id,!1));Ue(xn),ln(tt)},setMinZoom:Me=>{const{panZoom:me,maxZoom:Pe}=oe();me?.setScaleExtent([Me,Pe]),se({minZoom:Me})},setMaxZoom:Me=>{const{panZoom:me,minZoom:Pe}=oe();me?.setScaleExtent([Pe,Me]),se({maxZoom:Me})},setTranslateExtent:Me=>{oe().panZoom?.setTranslateExtent(Me),se({translateExtent:Me})},resetSelectedElements:()=>{const{edges:Me,nodes:me,triggerNodeChanges:Pe,triggerEdgeChanges:ae,elementsSelectable:Ne}=oe();if(!Ne)return;const Ue=me.reduce((on,An)=>An.selected?[...on,EA(An.id,!1)]:on,[]),ln=Me.reduce((on,An)=>An.selected?[...on,EA(An.id,!1)]:on,[]);Pe(Ue),ae(ln)},setNodeExtent:Me=>{const{nodes:me,nodeLookup:Pe,parentLookup:ae,nodeOrigin:Ne,elevateNodesOnSelect:Ue,nodeExtent:ln,zIndexMode:on}=oe();Me[0][0]===ln[0][0]&&Me[0][1]===ln[0][1]&&Me[1][0]===ln[1][0]&&Me[1][1]===ln[1][1]||(gke(me,Pe,ae,{nodeOrigin:Ne,nodeExtent:Me,elevateNodesOnSelect:Ue,checkEquality:!1,zIndexMode:on}),se({nodeExtent:Me}))},panBy:Me=>{const{transform:me,width:Pe,height:ae,panZoom:Ne,translateExtent:Ue}=oe();return CGn({delta:Me,panZoom:Ne,transform:me,translateExtent:Ue,width:Pe,height:ae})},setCenter:async(Me,me,Pe)=>{const{width:ae,height:Ne,maxZoom:Ue,panZoom:ln}=oe();if(!ln)return Promise.resolve(!1);const on=typeof Pe?.zoom<"u"?Pe.zoom:Ue;return await ln.setViewport({x:ae/2-Me*on,y:Ne/2-me*on,zoom:on},{duration:Pe?.duration,ease:Pe?.ease,interpolate:Pe?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{se({connection:{...Xdn}})},updateConnection:Me=>{se({connection:Me})},reset:()=>se({...idn()})}},Object.is);function UUn({initialNodes:b,initialEdges:E,defaultNodes:x,defaultEdges:M,initialWidth:N,initialHeight:$,initialMinZoom:k,initialMaxZoom:H,initialFitViewOptions:q,fitView:G,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z,children:se}){const[oe]=Re.useState(()=>qUn({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:G,minZoom:k,maxZoom:H,fitViewOptions:q,nodeOrigin:ie,nodeExtent:W,zIndexMode:Z}));return _.jsx(aqn,{value:oe,children:_.jsx(Dqn,{children:se})})}function XUn({children:b,nodes:E,edges:x,defaultNodes:M,defaultEdges:N,width:$,height:k,fitView:H,fitViewOptions:q,minZoom:G,maxZoom:ie,nodeOrigin:W,nodeExtent:Z,zIndexMode:se}){return Re.useContext(zue)?_.jsx(_.Fragment,{children:b}):_.jsx(UUn,{initialNodes:E,initialEdges:x,defaultNodes:M,defaultEdges:N,initialWidth:$,initialHeight:k,fitView:H,initialFitViewOptions:q,initialMinZoom:G,initialMaxZoom:ie,nodeOrigin:W,nodeExtent:Z,zIndexMode:se,children:b})}const KUn={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function VUn({nodes:b,edges:E,defaultNodes:x,defaultEdges:M,className:N,nodeTypes:$,edgeTypes:k,onNodeClick:H,onEdgeClick:q,onInit:G,onMove:ie,onMoveStart:W,onMoveEnd:Z,onConnect:se,onConnectStart:oe,onConnectEnd:ee,onClickConnectStart:Me,onClickConnectEnd:me,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Ue,onNodeDoubleClick:ln,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onNodesDelete:tt,onEdgesDelete:mn,onDelete:vn,onSelectionChange:Y,onSelectionDragStart:Fe,onSelectionDrag:wn,onSelectionDragStop:xe,onSelectionContextMenu:Ge,onSelectionStart:fn,onSelectionEnd:$e,onBeforeDelete:Mn,connectionMode:ge,connectionLineType:tn=ik.Bezier,connectionLineStyle:Hn,connectionLineComponent:ut,connectionLineContainerStyle:Jt,deleteKeyCode:di="Backspace",selectionKeyCode:Gt="Shift",selectionOnDrag:At=!1,selectionMode:si=KG.Full,panActivationKeyCode:Kr="Space",multiSelectionKeyCode:Er=QG()?"Meta":"Control",zoomActivationKeyCode:Dt=QG()?"Meta":"Control",snapToGrid:bi,snapGrid:zi,onlyRenderVisibleElements:cu=!1,selectNodesOnDrag:Fu,nodesDraggable:Rs,autoPanOnNodeFocus:ra,nodesConnectable:nf,nodesFocusable:Ia,nodeOrigin:Cc=S0n,edgesFocusable:l0,edgesReconnectable:Cb,elementsSelectable:xl=!0,defaultViewport:od=Sqn,minZoom:f0=.5,maxZoom:sh=2,translateExtent:sd=XG,preventScrolling:m5=!0,nodeExtent:a0,defaultMarkerColor:Np="#b1b1b7",zoomOnScroll:h6=!0,zoomOnPinch:Tb=!0,panOnScroll:ca=!1,panOnScrollSpeed:ld=.5,panOnScrollMode:xf=AA.Free,zoomOnDoubleClick:d6=!0,panOnDrag:lh=!0,onPaneClick:Ip,onPaneMouseEnter:Xg,onPaneMouseMove:Kg,onPaneMouseLeave:Vg,onPaneScroll:fd,onPaneContextMenu:Yg,paneClickDistance:Ob=1,nodeClickDistance:v5=0,children:Dp,onReconnect:_p,onReconnectStart:uu,onReconnectEnd:y5,onEdgeContextMenu:Qg,onEdgeDoubleClick:ov,onEdgeMouseEnter:k5,onEdgeMouseMove:Wg,onEdgeMouseLeave:sv,reconnectRadius:j5=10,onNodesChange:E5,onEdgesChange:w1,noDragClassName:Zs="nodrag",noWheelClassName:Af="nowheel",noPanClassName:vt="nopan",fitView:kc,fitViewOptions:tc,connectOnClick:ck,attributionPosition:h0,proOptions:Zg,defaultEdgeOptions:b6,elevateNodesOnSelect:Lp=!0,elevateEdgesOnSelect:Pp=!1,disableKeyboardA11y:$p=!1,autoPanOnConnect:Rp,autoPanOnNodeDrag:Al,autoPanSpeed:S5,connectionRadius:uk,isValidConnection:ew,onError:Bp,style:DA,id:g6,nodeDragThreshold:ok,connectionDragThreshold:sk,viewport:lv,onViewportChange:x5,width:d0,height:Ph,colorMode:lk="light",debug:_A,onScroll:A5,ariaLabelConfig:fk,zIndexMode:fv="basic",...LA},$h){const av=g6||"1",ak=Cqn(lk),w6=Re.useCallback(nw=>{nw.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),A5?.(nw)},[A5]);return _.jsx("div",{"data-testid":"rf__wrapper",...LA,onScroll:w6,style:{...DA,...KUn},ref:$h,className:Na(["react-flow",N,ak]),id:g6,role:"application",children:_.jsxs(XUn,{nodes:b,edges:E,width:d0,height:Ph,fitView:kc,fitViewOptions:tc,minZoom:f0,maxZoom:sh,nodeOrigin:Cc,nodeExtent:a0,zIndexMode:fv,children:[_.jsx(Mqn,{nodes:b,edges:E,defaultNodes:x,defaultEdges:M,onConnect:se,onConnectStart:oe,onConnectEnd:ee,onClickConnectStart:Me,onClickConnectEnd:me,nodesDraggable:Rs,autoPanOnNodeFocus:ra,nodesConnectable:nf,nodesFocusable:Ia,edgesFocusable:l0,edgesReconnectable:Cb,elementsSelectable:xl,elevateNodesOnSelect:Lp,elevateEdgesOnSelect:Pp,minZoom:f0,maxZoom:sh,nodeExtent:a0,onNodesChange:E5,onEdgesChange:w1,snapToGrid:bi,snapGrid:zi,connectionMode:ge,translateExtent:sd,connectOnClick:ck,defaultEdgeOptions:b6,fitView:kc,fitViewOptions:tc,onNodesDelete:tt,onEdgesDelete:mn,onDelete:vn,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onSelectionDrag:wn,onSelectionDragStart:Fe,onSelectionDragStop:xe,onMove:ie,onMoveStart:W,onMoveEnd:Z,noPanClassName:vt,nodeOrigin:Cc,rfId:av,autoPanOnConnect:Rp,autoPanOnNodeDrag:Al,autoPanSpeed:S5,onError:Bp,connectionRadius:uk,isValidConnection:ew,selectNodesOnDrag:Fu,nodeDragThreshold:ok,connectionDragThreshold:sk,onBeforeDelete:Mn,debug:_A,ariaLabelConfig:fk,zIndexMode:fv}),_.jsx(GUn,{onInit:G,onNodeClick:H,onEdgeClick:q,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Ue,onNodeDoubleClick:ln,nodeTypes:$,edgeTypes:k,connectionLineType:tn,connectionLineStyle:Hn,connectionLineComponent:ut,connectionLineContainerStyle:Jt,selectionKeyCode:Gt,selectionOnDrag:At,selectionMode:si,deleteKeyCode:di,multiSelectionKeyCode:Er,panActivationKeyCode:Kr,zoomActivationKeyCode:Dt,onlyRenderVisibleElements:cu,defaultViewport:od,translateExtent:sd,minZoom:f0,maxZoom:sh,preventScrolling:m5,zoomOnScroll:h6,zoomOnPinch:Tb,zoomOnDoubleClick:d6,panOnScroll:ca,panOnScrollSpeed:ld,panOnScrollMode:xf,panOnDrag:lh,onPaneClick:Ip,onPaneMouseEnter:Xg,onPaneMouseMove:Kg,onPaneMouseLeave:Vg,onPaneScroll:fd,onPaneContextMenu:Yg,paneClickDistance:Ob,nodeClickDistance:v5,onSelectionContextMenu:Ge,onSelectionStart:fn,onSelectionEnd:$e,onReconnect:_p,onReconnectStart:uu,onReconnectEnd:y5,onEdgeContextMenu:Qg,onEdgeDoubleClick:ov,onEdgeMouseEnter:k5,onEdgeMouseMove:Wg,onEdgeMouseLeave:sv,reconnectRadius:j5,defaultMarkerColor:Np,noDragClassName:Zs,noWheelClassName:Af,noPanClassName:vt,rfId:av,disableKeyboardA11y:$p,nodeExtent:a0,viewport:lv,onViewportChange:x5}),_.jsx(Eqn,{onSelectionChange:Y}),Dp,_.jsx(mqn,{proOptions:Zg,position:h0}),_.jsx(pqn,{rfId:av,disableKeyboardA11y:$p})]})})}var YUn=C0n(VUn);const QUn=b=>b.domNode?.querySelector(".react-flow__edgelabel-renderer");function WUn({children:b}){const E=zu(QUn);return E?fqn.createPortal(b,E):null}function ZUn(b){const[E,x]=Re.useState(b),M=Re.useCallback(N=>x($=>A0n(N,$)),[]);return[E,x,M]}function eXn(b){const[E,x]=Re.useState(b),M=Re.useCallback(N=>x($=>M0n(N,$)),[]);return[E,x,M]}function nXn({dimensions:b,lineWidth:E,variant:x,className:M}){return _.jsx("path",{strokeWidth:E,d:`M${b[0]/2} 0 V${b[1]} M0 ${b[1]/2} H${b[0]}`,className:Na(["react-flow__background-pattern",x,M])})}function tXn({radius:b,className:E}){return _.jsx("circle",{cx:b,cy:b,r:b,className:Na(["react-flow__background-pattern","dots",E])})}var rk;(function(b){b.Lines="lines",b.Dots="dots",b.Cross="cross"})(rk||(rk={}));const iXn={[rk.Dots]:1,[rk.Lines]:1,[rk.Cross]:6},rXn=b=>({transform:b.transform,patternId:`pattern-${b.rfId}`});function W0n({id:b,variant:E=rk.Dots,gap:x=20,size:M,lineWidth:N=1,offset:$=0,color:k,bgColor:H,style:q,className:G,patternClassName:ie}){const W=Re.useRef(null),{transform:Z,patternId:se}=zu(rXn,El),oe=M||iXn[E],ee=E===rk.Dots,Me=E===rk.Cross,me=Array.isArray(x)?x:[x,x],Pe=[me[0]*Z[2]||1,me[1]*Z[2]||1],ae=oe*Z[2],Ne=Array.isArray($)?$:[$,$],Ue=Me?[ae,ae]:Pe,ln=[Ne[0]*Z[2]||1+Ue[0]/2,Ne[1]*Z[2]||1+Ue[1]/2],on=`${se}${b||""}`;return _.jsxs("svg",{className:Na(["react-flow__background",G]),style:{...q,...Jue,"--xy-background-color-props":H,"--xy-background-pattern-color-props":k},ref:W,"data-testid":"rf__background",children:[_.jsx("pattern",{id:on,x:Z[0]%Pe[0],y:Z[1]%Pe[1],width:Pe[0],height:Pe[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${ln[0]},-${ln[1]})`,children:ee?_.jsx(tXn,{radius:ae/2,className:ie}):_.jsx(nXn,{dimensions:Ue,lineWidth:N,variant:E,className:ie})}),_.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${on})`})]})}W0n.displayName="Background";const cXn=Re.memo(W0n);function uXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:_.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function oXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:_.jsx("path",{d:"M0 0h32v4.2H0z"})})}function sXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:_.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function lXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:_.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function fXn(){return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:_.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function cue({children:b,className:E,...x}){return _.jsx("button",{type:"button",className:Na(["react-flow__controls-button",E]),...x,children:b})}const aXn=b=>({isInteractive:b.nodesDraggable||b.nodesConnectable||b.elementsSelectable,minZoomReached:b.transform[2]<=b.minZoom,maxZoomReached:b.transform[2]>=b.maxZoom,ariaLabelConfig:b.ariaLabelConfig});function Z0n({style:b,showZoom:E=!0,showFitView:x=!0,showInteractive:M=!0,fitViewOptions:N,onZoomIn:$,onZoomOut:k,onFitView:H,onInteractiveChange:q,className:G,children:ie,position:W="bottom-left",orientation:Z="vertical","aria-label":se}){const oe=Sl(),{isInteractive:ee,minZoomReached:Me,maxZoomReached:me,ariaLabelConfig:Pe}=zu(aXn,El),{zoomIn:ae,zoomOut:Ne,fitView:Ue}=$ke(),ln=()=>{ae(),$?.()},on=()=>{Ne(),k?.()},An=()=>{Ue(N),H?.()},xn=()=>{oe.setState({nodesDraggable:!ee,nodesConnectable:!ee,elementsSelectable:!ee}),q?.(!ee)},tt=Z==="horizontal"?"horizontal":"vertical";return _.jsxs(Fue,{className:Na(["react-flow__controls",tt,G]),position:W,style:b,"data-testid":"rf__controls","aria-label":se??Pe["controls.ariaLabel"],children:[E&&_.jsxs(_.Fragment,{children:[_.jsx(cue,{onClick:ln,className:"react-flow__controls-zoomin",title:Pe["controls.zoomIn.ariaLabel"],"aria-label":Pe["controls.zoomIn.ariaLabel"],disabled:me,children:_.jsx(uXn,{})}),_.jsx(cue,{onClick:on,className:"react-flow__controls-zoomout",title:Pe["controls.zoomOut.ariaLabel"],"aria-label":Pe["controls.zoomOut.ariaLabel"],disabled:Me,children:_.jsx(oXn,{})})]}),x&&_.jsx(cue,{className:"react-flow__controls-fitview",onClick:An,title:Pe["controls.fitView.ariaLabel"],"aria-label":Pe["controls.fitView.ariaLabel"],children:_.jsx(sXn,{})}),M&&_.jsx(cue,{className:"react-flow__controls-interactive",onClick:xn,title:Pe["controls.interactive.ariaLabel"],"aria-label":Pe["controls.interactive.ariaLabel"],children:ee?_.jsx(fXn,{}):_.jsx(lXn,{})}),ie]})}Z0n.displayName="Controls";const hXn=Re.memo(Z0n);function dXn({id:b,x:E,y:x,width:M,height:N,style:$,color:k,strokeColor:H,strokeWidth:q,className:G,borderRadius:ie,shapeRendering:W,selected:Z,onClick:se}){const{background:oe,backgroundColor:ee}=$||{},Me=k||oe||ee;return _.jsx("rect",{className:Na(["react-flow__minimap-node",{selected:Z},G]),x:E,y:x,rx:ie,ry:ie,width:M,height:N,style:{fill:Me,stroke:H,strokeWidth:q},shapeRendering:W,onClick:se?me=>se(me,b):void 0})}const bXn=Re.memo(dXn),gXn=b=>b.nodes.map(E=>E.id),K7e=b=>b instanceof Function?b:()=>b;function wXn({nodeStrokeColor:b,nodeColor:E,nodeClassName:x="",nodeBorderRadius:M=5,nodeStrokeWidth:N,nodeComponent:$=bXn,onClick:k}){const H=zu(gXn,El),q=K7e(E),G=K7e(b),ie=K7e(x),W=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return _.jsx(_.Fragment,{children:H.map(Z=>_.jsx(mXn,{id:Z,nodeColorFunc:q,nodeStrokeColorFunc:G,nodeClassNameFunc:ie,nodeBorderRadius:M,nodeStrokeWidth:N,NodeComponent:$,onClick:k,shapeRendering:W},Z))})}function pXn({id:b,nodeColorFunc:E,nodeStrokeColorFunc:x,nodeClassNameFunc:M,nodeBorderRadius:N,nodeStrokeWidth:$,shapeRendering:k,NodeComponent:H,onClick:q}){const{node:G,x:ie,y:W,width:Z,height:se}=zu(oe=>{const ee=oe.nodeLookup.get(b);if(!ee)return{node:void 0,x:0,y:0,width:0,height:0};const Me=ee.internals.userNode,{x:me,y:Pe}=ee.internals.positionAbsolute,{width:ae,height:Ne}=a6(Me);return{node:Me,x:me,y:Pe,width:ae,height:Ne}},El);return!G||G.hidden||!e0n(G)?null:_.jsx(H,{x:ie,y:W,width:Z,height:se,style:G.style,selected:!!G.selected,className:M(G),color:E(G),borderRadius:N,strokeColor:x(G),strokeWidth:$,shapeRendering:k,onClick:q,id:G.id})}const mXn=Re.memo(pXn);var vXn=Re.memo(wXn);const yXn=200,kXn=150,jXn=b=>!b.hidden,EXn=b=>{const E={x:-b.transform[0]/b.transform[2],y:-b.transform[1]/b.transform[2],width:b.width/b.transform[2],height:b.height/b.transform[2]};return{viewBB:E,boundingRect:b.nodeLookup.size>0?Zdn(iq(b.nodeLookup,{filter:jXn}),E):E,rfId:b.rfId,panZoom:b.panZoom,translateExtent:b.translateExtent,flowWidth:b.width,flowHeight:b.height,ariaLabelConfig:b.ariaLabelConfig}},SXn="react-flow__minimap-desc";function ebn({style:b,className:E,nodeStrokeColor:x,nodeColor:M,nodeClassName:N="",nodeBorderRadius:$=5,nodeStrokeWidth:k,nodeComponent:H,bgColor:q,maskColor:G,maskStrokeColor:ie,maskStrokeWidth:W,position:Z="bottom-right",onClick:se,onNodeClick:oe,pannable:ee=!1,zoomable:Me=!1,ariaLabel:me,inversePan:Pe,zoomStep:ae=1,offsetScale:Ne=5}){const Ue=Sl(),ln=Re.useRef(null),{boundingRect:on,viewBB:An,rfId:xn,panZoom:tt,translateExtent:mn,flowWidth:vn,flowHeight:Y,ariaLabelConfig:Fe}=zu(EXn,El),wn=b?.width??yXn,xe=b?.height??kXn,Ge=on.width/wn,fn=on.height/xe,$e=Math.max(Ge,fn),Mn=$e*wn,ge=$e*xe,tn=Ne*$e,Hn=on.x-(Mn-on.width)/2-tn,ut=on.y-(ge-on.height)/2-tn,Jt=Mn+tn*2,di=ge+tn*2,Gt=`${SXn}-${xn}`,At=Re.useRef(0),si=Re.useRef();At.current=$e,Re.useEffect(()=>{if(ln.current&&tt)return si.current=$Gn({domNode:ln.current,panZoom:tt,getTransform:()=>Ue.getState().transform,getViewScale:()=>At.current}),()=>{si.current?.destroy()}},[tt]),Re.useEffect(()=>{si.current?.update({translateExtent:mn,width:vn,height:Y,inversePan:Pe,pannable:ee,zoomStep:ae,zoomable:Me})},[ee,Me,Pe,ae,mn,vn,Y]);const Kr=se?bi=>{const[zi,cu]=si.current?.pointer(bi)||[0,0];se(bi,{x:zi,y:cu})}:void 0,Er=oe?Re.useCallback((bi,zi)=>{const cu=Ue.getState().nodeLookup.get(zi).internals.userNode;oe(bi,cu)},[]):void 0,Dt=me??Fe["minimap.ariaLabel"];return _.jsx(Fue,{position:Z,style:{...b,"--xy-minimap-background-color-props":typeof q=="string"?q:void 0,"--xy-minimap-mask-background-color-props":typeof G=="string"?G:void 0,"--xy-minimap-mask-stroke-color-props":typeof ie=="string"?ie:void 0,"--xy-minimap-mask-stroke-width-props":typeof W=="number"?W*$e:void 0,"--xy-minimap-node-background-color-props":typeof M=="string"?M:void 0,"--xy-minimap-node-stroke-color-props":typeof x=="string"?x:void 0,"--xy-minimap-node-stroke-width-props":typeof k=="number"?k:void 0},className:Na(["react-flow__minimap",E]),"data-testid":"rf__minimap",children:_.jsxs("svg",{width:wn,height:xe,viewBox:`${Hn} ${ut} ${Jt} ${di}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Gt,ref:ln,onClick:Kr,children:[Dt&&_.jsx("title",{id:Gt,children:Dt}),_.jsx(vXn,{onClick:Er,nodeColor:M,nodeStrokeColor:x,nodeBorderRadius:$,nodeClassName:N,nodeStrokeWidth:k,nodeComponent:H}),_.jsx("path",{className:"react-flow__minimap-mask",d:`M${Hn-tn},${ut-tn}h${Jt+tn*2}v${di+tn*2}h${-Jt-tn*2}z - M${An.x},${An.y}h${An.width}v${An.height}h${-An.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}ebn.displayName="MiniMap";const xXn=Re.memo(ebn),AXn=b=>E=>b?`${Math.max(1/E.transform[2],1)}`:void 0,MXn={[jD.Line]:"right",[jD.Handle]:"bottom-right"};function CXn({nodeId:b,position:E,variant:x=jD.Handle,className:M,style:N=void 0,children:$,color:k,minWidth:H=10,minHeight:q=10,maxWidth:G=Number.MAX_VALUE,maxHeight:ie=Number.MAX_VALUE,keepAspectRatio:W=!1,resizeDirection:Z,autoScale:se=!0,shouldResize:oe,onResizeStart:ee,onResize:Me,onResizeEnd:me}){const Pe=I0n(),ae=typeof b=="string"?b:Pe,Ne=Sl(),Ue=Re.useRef(null),ln=x===jD.Handle,on=zu(Re.useCallback(AXn(ln&&se),[ln,se]),El),An=Re.useRef(null),xn=E??MXn[x];Re.useEffect(()=>{if(!(!Ue.current||!ae))return An.current||(An.current=QGn({domNode:Ue.current,nodeId:ae,getStoreItems:()=>{const{nodeLookup:mn,transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn,domNode:xe}=Ne.getState();return{nodeLookup:mn,transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn,paneDomNode:xe}},onChange:(mn,vn)=>{const{triggerNodeChanges:Y,nodeLookup:Fe,parentLookup:wn,nodeOrigin:xe}=Ne.getState(),Ge=[],fn={x:mn.x,y:mn.y},$e=Fe.get(ae);if($e&&$e.expandParent&&$e.parentId){const Mn=$e.origin??xe,ge=mn.width??$e.measured.width??0,tn=mn.height??$e.measured.height??0,Hn={id:$e.id,parentId:$e.parentId,rect:{width:ge,height:tn,...n0n({x:mn.x??$e.position.x,y:mn.y??$e.position.y},{width:ge,height:tn},$e.parentId,Fe,Mn)}},ut=Pke([Hn],Fe,wn,xe);Ge.push(...ut),fn.x=mn.x?Math.max(Mn[0]*ge,mn.x):void 0,fn.y=mn.y?Math.max(Mn[1]*tn,mn.y):void 0}if(fn.x!==void 0&&fn.y!==void 0){const Mn={id:ae,type:"position",position:{...fn}};Ge.push(Mn)}if(mn.width!==void 0&&mn.height!==void 0){const ge={id:ae,type:"dimensions",resizing:!0,setAttributes:Z?Z==="horizontal"?"width":"height":!0,dimensions:{width:mn.width,height:mn.height}};Ge.push(ge)}for(const Mn of vn){const ge={...Mn,type:"position"};Ge.push(ge)}Y(Ge)},onEnd:({width:mn,height:vn})=>{const Y={id:ae,type:"dimensions",resizing:!1,dimensions:{width:mn,height:vn}};Ne.getState().triggerNodeChanges([Y])}})),An.current.update({controlPosition:xn,boundaries:{minWidth:H,minHeight:q,maxWidth:G,maxHeight:ie},keepAspectRatio:W,resizeDirection:Z,onResizeStart:ee,onResize:Me,onResizeEnd:me,shouldResize:oe}),()=>{An.current?.destroy()}},[xn,H,q,G,ie,W,ee,Me,me,oe]);const tt=xn.split("-");return _.jsx("div",{className:Na(["react-flow__resize-control","nodrag",...tt,x,M]),ref:Ue,style:{...N,scale:on,...k&&{[ln?"backgroundColor":"borderColor"]:k}},children:$})}Re.memo(CXn);const TXn=b=>b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),nbn=(...b)=>b.filter((E,x,M)=>!!E&&E.trim()!==""&&M.indexOf(E)===x).join(" ").trim();var OXn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const NXn=Re.forwardRef(({color:b="currentColor",size:E=24,strokeWidth:x=2,absoluteStrokeWidth:M,className:N="",children:$,iconNode:k,...H},q)=>Re.createElement("svg",{ref:q,...OXn,width:E,height:E,stroke:b,strokeWidth:M?Number(x)*24/Number(E):x,className:nbn("lucide",N),...H},[...k.map(([G,ie])=>Re.createElement(G,ie)),...Array.isArray($)?$:[$]]));const Sf=(b,E)=>{const x=Re.forwardRef(({className:M,...N},$)=>Re.createElement(NXn,{ref:$,iconNode:E,className:nbn(`lucide-${TXn(b)}`,M),...N}));return x.displayName=`${b}`,x};const IXn=Sf("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);const DXn=Sf("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);const IA=Sf("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const _Xn=Sf("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const LXn=Sf("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);const PXn=Sf("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const Bke=Sf("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const $Xn=Sf("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);const RXn=Sf("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);const tbn=Sf("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const rdn=Sf("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const BXn=Sf("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);const MA=Sf("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const zXn=Sf("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);const FXn=Sf("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const JXn=Sf("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);const ibn=Sf("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);const HXn=Sf("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const zG=Sf("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const vke=Sf("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const GXn=Sf("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);const qg=Sf("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function qXn({mode:b,models:E,objects:x,application:M,initialModelType:N,suggestedSelector:$,nameReadOnly:k=!1,preview:H,onPreview:q,onSubmit:G,onClose:ie}){const Z=(M?rbn(E,M):null)?.type||N||E[0]?.type||"",[se,oe]=Re.useState(Z),ee=E.find(Dt=>Dt.type===se)??null,[Me,me]=Re.useState(M?.name||M?.applicationId||cdn(ee)),[Pe,ae]=Re.useState(()=>Oue(ee,M)),Ne=M?.selector||$||XXn(x),[Ue,ln]=Re.useState(Ne.multiplicity),[on,An]=Re.useState(Y7e(Ne,"scale")),[xn,tt]=Re.useState(Y7e(Ne,"kind")),[mn,vn]=Re.useState(Y7e(Ne,"species")),[Y,Fe]=Re.useState(Ws(Ne.criteria.id)),wn=KXn(Ne,"within"),xe=M?.owner.scope==="template"&&wn?.type==="Scope"&&String(wn.name||"")===M.owner.instance,[Ge,fn]=Re.useState(wn?.type==="Scope"&&!xe?"named_scope":wn?.type==="SceneScope"?"scene":"local"),[$e,Mn]=Re.useState(wn?.type==="Scope"&&!xe?Ws(vzn(wn,x)):""),[ge,tn]=Re.useState(M?.cadence.mode==="period"?"period":"default"),[Hn,ut]=Re.useState(String(M?.cadence.value??1)),[Jt,di]=Re.useState(M?.cadence.unit||"Hour"),Gt=Dt=>{const bi=E.find(zi=>zi.type===Dt)??null;oe(Dt),ae(Oue(bi,b==="update"?M:void 0)),b==="add"&&me(cdn(bi))},At=Re.useMemo(()=>({scales:wue(x.map(Dt=>Dt.scale)),kinds:wue(x.map(Dt=>Dt.kind)),species:wue(x.map(Dt=>Dt.species))}),[x]),si=Re.useMemo(()=>{const Dt=[on&&`scale ${on}`,xn&&`kind ${xn}`,mn&&`species ${mn}`,Y&&`ID ${Oa(d5(Y))}`].filter(Boolean),bi=Dt.length?Dt.join(", "):"matching objects";return Ge==="scene"?`${bi} in the whole scene`:Ge==="named_scope"?`${bi} below ${$e?Oa(d5($e)):"the selected root"}`:`${bi} in the local instance scope`},[xn,Y,on,Ge,$e,mn]),Kr=()=>{const Dt={selectors:[]};return Ge==="named_scope"&&$e&&(Dt.within={type:"Scope",id:d5($e)}),Ge==="scene"&&(Dt.within={type:"SceneScope"}),on&&(Dt.scale=on),xn&&(Dt.kind=xn),mn&&(Dt.species=mn),Y&&(Dt.id=d5(Y)),{type:VXn(Ue),multiplicity:Ue,criteria:Dt,julia:""}},Er=()=>{G({applicationRef:M?.owner,modelType:se,name:Me.trim(),parameters:Pe,selector:Kr(),cadence:ge==="period"?{mode:"period",value:Number(Hn),unit:Jt,julia:`Dates.${Jt}(${Hn})`}:{mode:"default",value:null,unit:null,julia:"nothing"}})};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:ie,children:_.jsxs("section",{className:"overlay-panel application-form",onMouseDown:Dt=>Dt.stopPropagation(),"data-testid":"application-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:b==="add"?"Add application":`Update ${M?.applicationId}`}),_.jsx("span",{children:"A configured use of a model on selected scene objects"})]}),_.jsx("button",{onClick:ie,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content application-form-content",children:[_.jsxs("label",{children:["Model",_.jsx("select",{value:se,onChange:Dt=>Gt(Dt.target.value),"data-testid":"application-model-select",children:E.map(Dt=>_.jsxs("option",{value:Dt.type,children:[Dt.package?`${Dt.package} · `:"",Dt.name," (",Dt.process,")"]},Dt.type))})]}),_.jsxs("label",{children:["Application name",_.jsx("input",{value:Me,disabled:k,onChange:Dt=>me(Dt.target.value),"data-testid":"application-name"})]}),ee&&ee.constructor.fields.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Model parameters"}),_.jsx(cbn,{fields:ee.constructor.fields,values:Pe,onChange:ae})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Target selector"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Multiplicity",_.jsxs("select",{value:Ue,onChange:Dt=>ln(Dt.target.value),children:[_.jsx("option",{value:"one",children:"One"}),_.jsx("option",{value:"optional_one",children:"Optional one"}),_.jsx("option",{value:"many",children:"Many"})]})]}),_.jsxs("label",{children:["Scope",_.jsxs("select",{value:Ge,onChange:Dt=>fn(Dt.target.value),children:[_.jsx("option",{value:"local",children:"Default / instance local"}),_.jsx("option",{value:"scene",children:"Explicit whole scene"}),_.jsx("option",{value:"named_scope",children:"Object subtree"})]})]}),Ge==="named_scope"&&_.jsx(mue,{label:"Scope root",value:$e,objects:x,onChange:Mn,emptyLabel:"Choose an object"}),_.jsx(V7e,{label:"Scale",value:on,options:At.scales,onChange:An}),_.jsx(V7e,{label:"Kind",value:xn,options:At.kinds,onChange:tt}),_.jsx(V7e,{label:"Species",value:mn,options:At.species,onChange:vn}),_.jsx(mue,{label:"Object ID",value:Y,objects:x,onChange:Fe})]}),_.jsxs("p",{className:"selector-summary",children:["Julia will resolve ",_.jsx("strong",{children:Ue.replace("_"," ")})," target from ",si,"."]}),_.jsxs("button",{className:"selector-preview-button",type:"button",onClick:()=>q(Kr()),"data-testid":"application-target-preview",children:[_.jsx(Bke,{size:15})," Preview targets in Julia"]}),H&&_.jsxs("section",{className:"selector-preview","data-testid":"application-target-preview-result",children:[_.jsxs("strong",{children:[H.count," target object",H.count===1?"":"s"]}),_.jsx("code",{children:H.objectIds.map(Oa).join(", ")||"No targets"}),H.groups.map(Dt=>_.jsxs("div",{children:[_.jsx("span",{children:Dt.instance}),_.jsx("code",{children:Dt.objectIds.map(Oa).join(", ")||"No targets"})]},Dt.instance))]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Cadence"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Mode",_.jsxs("select",{value:ge,onChange:Dt=>tn(Dt.target.value),"data-testid":"application-cadence-mode",children:[_.jsx("option",{value:"default",children:"Model or environment default"}),_.jsx("option",{value:"period",children:"Explicit period"})]})]}),ge==="period"&&_.jsxs(_.Fragment,{children:[_.jsxs("label",{children:["Value",_.jsx("input",{type:"number",min:"1",step:"1",value:Hn,onChange:Dt=>ut(Dt.target.value),"data-testid":"application-cadence-value"})]}),_.jsxs("label",{children:["Unit",_.jsxs("select",{value:Jt,onChange:Dt=>di(Dt.target.value),"data-testid":"application-cadence-unit",children:[_.jsx("option",{children:"Second"}),_.jsx("option",{children:"Minute"}),_.jsx("option",{children:"Hour"}),_.jsx("option",{children:"Day"})]})]})]})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:ie,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:!se||!Me.trim()||ge==="period"&&(!Number.isInteger(Number(Hn))||Number(Hn)<=0),onClick:Er,"data-testid":"application-submit",children:[_.jsx(IA,{size:15})," ",b==="add"?"Add application":"Apply changes"]})]})]})})}function rbn(b,E){return b.find(x=>x.type===E.modelType)??b.find(x=>x.name===E.modelName&&x.module===E.module)??null}function cbn({fields:b,values:E,onChange:x}){const M=new Map;for(const $ of b)$.typeParameter&&!M.has($.typeParameter)&&M.set($.typeParameter,$.name);const N=($,k)=>{const H=$.typeParameter?b.filter(q=>q.typeParameter===$.typeParameter).map(q=>q.name):[$.name];x(Object.fromEntries(Object.entries(E).map(([q,G])=>[q,H.includes(q)?{...G,type:k}:G])))};return _.jsx("div",{className:"parameter-list",children:b.map($=>{const k=E[$.name]||{type:$.inferredChoice,value:""},H=!$.typeParameter||M.get($.typeParameter)===$.name;return _.jsxs("div",{className:"parameter-row",children:[_.jsxs("label",{children:[_.jsx("span",{children:$.name}),_.jsx("small",{children:$.declaredType}),_.jsx("input",{"data-testid":`application-param-${$.name}`,value:k.value,onChange:q=>x({...E,[$.name]:{...k,value:q.target.value}})})]}),H&&_.jsxs("label",{className:"parameter-type",children:[_.jsx("span",{children:$.typeParameter?`${$.typeParameter} type`:"Value type"}),_.jsx("select",{"data-testid":`application-param-type-${$.name}`,value:k.type,onChange:q=>N($,q.target.value),children:$.choices.map(q=>_.jsx("option",{value:q,children:q},q))})]})]},$.name)})})}function V7e({label:b,value:E,options:x,onChange:M}){return _.jsxs("label",{children:[b,_.jsxs("select",{value:E,onChange:N=>M(N.target.value),children:[_.jsx("option",{value:"",children:"Any"}),x.map(N=>_.jsx("option",{value:N,children:N},N))]})]})}function Oue(b,E){return b?Object.fromEntries(b.constructor.fields.map(x=>{const M=E?.modelParameters[x.name],N=M?.type||x.inferredChoice,$=M?M.julia:x.hasDefault?N==="julia"?x.defaultJulia||"":UXn(x.default,N):"";return[x.name,{type:N,value:$}]})):{}}function UXn(b,E){const x=b==null?"":String(b);return E==="symbol"?x.replace(/^:/,""):x}function cdn(b){return b?.process||b?.name||"application"}function XXn(b){const E=wue(b.map(x=>x.scale))[0];return{type:"Many",multiplicity:"many",criteria:E?{selectors:[],scale:E}:{selectors:[]},julia:""}}function Y7e(b,E){const x=b.criteria[E];return typeof x=="string"?x:""}function KXn(b,E){const x=b.criteria[E];return x&&typeof x=="object"?x:null}function VXn(b){return b==="one"?"One":b==="optional_one"?"OptionalOne":"Many"}function wue(b){return[...new Set(b.filter(E=>!!E))].sort()}function YXn({application:b,applications:E,environments:x,models:M,onCommand:N,onClose:$}){const k=E.filter($e=>$e.applicationId!==b.applicationId&&(b.owner.scope==="global"?$e.owner.scope==="global":$e.owner.scope==="template"&&$e.owner.templateId===b.owner.templateId&&$e.owner.instance===b.owner.instance)),[H,q]=Re.useState(""),[G,ie]=Re.useState(k[0]?.applicationId||""),[W,Z]=Re.useState("manual"),[se,oe]=Re.useState(b.environment?b.environment.backendId||"scene":"default"),[ee,Me]=Re.useState(String(b.environment?.provider||"")),[me,Pe]=Re.useState(()=>({...Object.fromEntries(b.environmentInputs.map($e=>[$e.name,""])),...b.environment?.sources||{}})),[ae,Ne]=Re.useState(String(b.environment?.sink||"")),[Ue,ln]=Re.useState(()=>WXn(b.environment?.extra)),[on,An]=Re.useState(b.updates||[]),[xn,tt]=Re.useState(b.outputs[0]?.name||""),[mn,vn]=Re.useState(k[0]?.owner.applicationId||""),Y=k.find($e=>$e.applicationId===G),Fe=M.find($e=>$e.type===b.modelType),wn=Re.useMemo(()=>{const $e=b.owner.scope==="template"&&Y?.owner.scope==="template"&&Y.owner.templateId===b.owner.templateId;return{type:W==="initializer"||Y?.targetCount===1?"One":"Many",multiplicity:W==="initializer"||Y?.targetCount===1?"one":"many",criteria:{selectors:[],...$e?{}:{within:{type:"SceneScope"}},application:Y?.owner.applicationId||G},julia:""}},[b.owner.scope,b.owner.templateId,W,G,Y]),xe=()=>{!H.trim()||!G||(N(QXn(b.owner,H.trim(),wn,W)),q(""))},Ge=()=>{!xn||!mn||An($e=>[...$e.filter(Mn=>!Mn.variables.includes(xn)),{variables:[xn],after:[mn]}])},fn=()=>{const $e=ZXn(se,ee,me,ae,Ue);N({action:"edit",kind:"set_application_environment",applicationRef:b.owner,configuration:$e})};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel application-configuration-form",onMouseDown:$e=>$e.stopPropagation(),"data-testid":"application-configuration-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsxs("strong",{children:["Configure ",b.owner.applicationId]}),_.jsx("span",{children:"Authored coupling and execution policy, validated by Julia"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content application-configuration-content",children:[_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Explicit input bindings"}),Object.entries(b.inputBindings).length===0&&_.jsx("p",{children:"No authored input bindings. Unique same-object producers may still be inferred."}),_.jsx("div",{className:"configuration-list",children:Object.entries(b.inputBindings).map(([$e,Mn])=>_.jsxs("div",{children:[_.jsx("code",{children:$e}),_.jsx("span",{children:Mn.julia||Mn.type}),_.jsx("button",{className:"danger icon-button",title:`Remove ${$e} binding`,onClick:()=>N({action:"edit",kind:"remove_input_binding",applicationRef:b.owner,input:$e}),children:_.jsx(zG,{size:14})})]},$e))})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Calls and newborn initializers"}),_.jsx("div",{className:"configuration-list",children:Object.entries(b.callBindings).map(([$e,Mn])=>_.jsxs("div",{children:[_.jsx("code",{children:$e}),_.jsxs("span",{children:[_.jsx("strong",{children:Mn.mode==="initializer"?"Initializer":"Manual call"})," · ",Mn.julia||Mn.type]}),_.jsx("button",{className:"danger icon-button",title:`Remove ${$e} call`,onClick:()=>N({action:"edit",kind:"remove_call_binding",applicationRef:b.owner,call:$e}),children:_.jsx(zG,{size:14})})]},$e))}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Binding mode",_.jsxs("select",{"data-testid":"call-mode",value:W,onChange:$e=>Z($e.target.value),children:[_.jsx("option",{value:"manual",children:"Manual call"}),_.jsx("option",{value:"initializer",children:"Newborn initializer"})]})]}),_.jsxs("label",{children:["Call name",_.jsx("input",{"data-testid":"call-name",value:H,onChange:$e=>q($e.target.value),placeholder:"child"})]}),_.jsxs("label",{children:["Target application",_.jsxs("select",{"data-testid":"call-target",value:G,onChange:$e=>ie($e.target.value),children:[_.jsx("option",{value:"",children:"Choose application"}),k.map($e=>_.jsx("option",{value:$e.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),_.jsxs("button",{type:"button","data-testid":"add-call-binding",disabled:!H.trim()||!G,onClick:xe,children:[_.jsx(MA,{size:14})," Add ",W==="initializer"?"initializer":"call"]})]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Environment"}),Fe?.environmentHint&&_.jsxs("p",{className:"environment-hint",children:[_.jsx("strong",{children:"Model hint"})," ",Fe.environmentHint]}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Backend",_.jsxs("select",{"data-testid":"environment-backend",value:se,onChange:$e=>oe($e.target.value),children:[_.jsx("option",{value:"default",children:"No application override"}),_.jsx("option",{value:"scene",children:"Active scene environment"}),x.filter($e=>$e.source==="catalog").map($e=>_.jsxs("option",{value:$e.id,children:[$e.name," · ",$e.type]},$e.id))]})]}),_.jsxs("label",{children:["Provider",_.jsx("input",{"data-testid":"environment-provider",value:ee,onChange:$e=>Me($e.target.value),placeholder:"default provider",disabled:se==="default"})]}),_.jsxs("label",{children:["Output sink",_.jsx("input",{"data-testid":"environment-sink",value:ae,onChange:$e=>Ne($e.target.value),placeholder:"default sink",disabled:se==="default"})]})]}),b.environmentInputs.length>0&&_.jsx("div",{className:"configuration-list environment-sources",children:b.environmentInputs.map($e=>_.jsxs("label",{children:[_.jsx("code",{children:$e.name}),_.jsx("input",{value:me[$e.name]||"",onChange:Mn=>Pe(ge=>({...ge,[$e.name]:Mn.target.value})),placeholder:"backend source variable",disabled:se==="default","data-testid":`environment-source-${$e.name}`})]},$e.name))}),_.jsx("div",{className:"configuration-list",children:Ue.map(($e,Mn)=>_.jsxs("div",{children:[_.jsx("input",{"aria-label":"Backend option",value:$e.key,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,key:ge.target.value}:Hn)),placeholder:"option"}),_.jsxs("select",{value:$e.type,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,type:ge.target.value}:Hn)),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]}),_.jsx("input",{"aria-label":"Backend option value",value:$e.value,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,value:ge.target.value}:Hn))}),_.jsx("button",{className:"danger icon-button",onClick:()=>ln(ge=>ge.filter((tn,Hn)=>Hn!==Mn)),children:_.jsx(zG,{size:14})})]},Mn))}),_.jsxs("div",{className:"compact-actions",children:[_.jsxs("button",{type:"button",disabled:se==="default",onClick:()=>ln($e=>[...$e,{key:"",type:"string",value:""}]),children:[_.jsx(MA,{size:14})," Backend option"]}),_.jsxs("button",{type:"button","data-testid":"apply-environment",onClick:fn,children:[_.jsx(IA,{size:14})," Apply environment"]})]}),_.jsxs("div",{className:"effective-environment",children:[_.jsx("strong",{children:"Effective bindings"}),_.jsx("code",{children:JSON.stringify(b.environmentBindings||{},null,2)}),b.environmentWindow!==null&&b.environmentWindow!==void 0?_.jsx("code",{children:JSON.stringify(b.environmentWindow)}):null]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Output routing"}),_.jsx("div",{className:"configuration-list",children:b.outputs.map($e=>_.jsxs("label",{children:[_.jsx("code",{children:$e.name}),_.jsxs("select",{"data-testid":`output-routing-${$e.name}`,value:b.outputRouting[$e.name]||"canonical",onChange:Mn=>N({action:"edit",kind:"set_output_routing",applicationRef:b.owner,output:$e.name,route:Mn.target.value}),children:[_.jsx("option",{value:"canonical",children:"Canonical status owner"}),_.jsx("option",{value:"stream_only",children:"Stream only"})]})]},$e.name))})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Duplicate-writer ordering"}),_.jsx("div",{className:"configuration-list",children:on.map(($e,Mn)=>_.jsxs("div",{children:[_.jsx("code",{children:$e.variables.join(", ")}),_.jsxs("span",{children:["after ",$e.after.join(", ")]}),_.jsx("button",{className:"danger icon-button",title:"Remove update ordering",onClick:()=>An(ge=>ge.filter((tn,Hn)=>Hn!==Mn)),children:_.jsx(zG,{size:14})})]},`${$e.variables.join(",")}:${$e.after.join(",")}`))}),_.jsxs("div",{className:"form-grid compact-configuration-row",children:[_.jsxs("label",{children:["Output",_.jsx("select",{value:xn,onChange:$e=>tt($e.target.value),children:b.outputs.map($e=>_.jsx("option",{value:$e.name,children:$e.name},$e.name))})]}),_.jsxs("label",{children:["Run after",_.jsxs("select",{value:mn,onChange:$e=>vn($e.target.value),children:[_.jsx("option",{value:"",children:"Choose application"}),k.map($e=>_.jsx("option",{value:$e.owner.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),_.jsxs("button",{type:"button",disabled:!xn||!mn,onClick:Ge,children:[_.jsx(MA,{size:14})," Add rule"]}),_.jsxs("button",{type:"button",onClick:()=>N({action:"edit",kind:"set_update_ordering",applicationRef:b.owner,updates:on}),children:[_.jsx(IA,{size:14})," Apply ordering"]})]})]})]}),_.jsx("footer",{children:_.jsx("button",{className:"primary",onClick:$,children:"Done"})})]})})}function QXn(b,E,x,M){return{action:"edit",kind:"set_call_binding",applicationRef:b,call:E,selector:x,mode:M}}function WXn(b){return Object.entries(b||{}).map(([E,x])=>({key:E,type:typeof x=="number"?Number.isInteger(x)?"integer":"float":typeof x=="boolean"?"boolean":"string",value:String(x??"")}))}function ZXn(b,E,x,M,N){return b==="default"?null:{backendId:b,provider:E.trim()||null,sources:Object.fromEntries(Object.entries(x).filter(([,$])=>$.trim()).map(([$,k])=>[$,k.trim()])),sink:M.trim()||null,extra:Object.fromEntries(N.filter($=>$.key.trim()).map($=>[$.key.trim(),{type:$.type,value:$.value}]))}}function eKn({endpoints:b,objects:E,preview:x,onPreview:M,onSubmit:N,onClose:$}){const k=nKn(b.sourceApplication.targetIds,b.targetApplication.targetIds),[H,q]=Re.useState(b.sourceApplication.targetCount>1&&b.targetApplication.targetCount===1?"many":"one"),[G,ie]=Re.useState(k?"self":""),[W,Z]=Re.useState("local"),[se,oe]=Re.useState(""),[ee,Me]=Re.useState(""),[me,Pe]=Re.useState(Q7e(b.sourceApplication.targetScales)),[ae,Ne]=Re.useState(Q7e(b.sourceApplication.targetKinds)),[Ue,ln]=Re.useState(Q7e(b.sourceApplication.targetSpecies)),[on,An]=Re.useState(""),[xn,tt]=Re.useState("application"),[mn,vn]=Re.useState("automatic"),[Y,Fe]=Re.useState(""),[wn,xe]=Re.useState("Hour"),Ge=W7e(E.map(ge=>ge.scale)),fn=W7e(E.map(ge=>ge.kind)),$e=W7e(E.map(ge=>ge.species)),Mn=()=>{const ge={selectors:[],var:b.sourcePort.name};ge[xn]=xn==="application"?b.sourceApplication.owner.applicationId:b.sourceApplication.process;const tn=rKn(W,se,ee);if(tn&&(ge.within=tn),G&&(ge.relation=G),me&&(ge.scale=me),ae&&(ge.kind=ae),Ue&&(ge.species=Ue),on&&(ge.id=d5(on)),mn!=="automatic"&&(ge.policy={type:iKn(mn)}),Y.trim()){const Hn=cKn(Y,wn);Hn&&(ge.window=Hn)}return{applicationRef:b.targetApplication.owner,input:b.targetPort.name,selector:{type:tKn(H),multiplicity:H,criteria:ge,julia:""}}};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel binding-form",onMouseDown:ge=>ge.stopPropagation(),"data-testid":"binding-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Connect applications"}),_.jsx("span",{children:"Julia resolves this declaration into concrete object bindings"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsxs("div",{className:"binding-route",children:[_.jsxs("div",{children:[_.jsx("small",{children:"Producer"}),_.jsx("strong",{children:b.sourceApplication.applicationId}),_.jsx("code",{children:b.sourcePort.name})]}),_.jsx(rdn,{size:22}),_.jsxs("div",{children:[_.jsx("small",{children:"Consumer"}),_.jsx("strong",{children:b.targetApplication.applicationId}),_.jsx("code",{children:b.targetPort.name})]})]}),_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Source object selector"}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Multiplicity",_.jsxs("select",{value:H,onChange:ge=>q(ge.target.value),children:[_.jsx("option",{value:"one",children:"One"}),_.jsx("option",{value:"optional_one",children:"Optional one"}),_.jsx("option",{value:"many",children:"Many"})]})]}),_.jsxs("label",{children:["Scope",_.jsxs("select",{value:W,onChange:ge=>Z(ge.target.value),children:[_.jsx("option",{value:"local",children:"Default / instance local"}),_.jsx("option",{value:"scene",children:"Explicit whole scene"}),_.jsx("option",{value:"self",children:"Consumer object"}),_.jsx("option",{value:"subtree",children:"Consumer subtree"}),_.jsx("option",{value:"self_plant",children:"Consumer plant"}),_.jsx("option",{value:"ancestor",children:"Ancestor subtree"}),_.jsx("option",{value:"named_scope",children:"Object subtree"})]})]}),W==="ancestor"&&_.jsx(uue,{label:"Ancestor scale",value:ee,options:Ge,onChange:Me}),W==="named_scope"&&_.jsx(mue,{label:"Scope root",value:se,objects:E,onChange:oe,emptyLabel:"Choose an object"}),_.jsxs("label",{children:["Relation",_.jsxs("select",{value:G,onChange:ge=>ie(ge.target.value),children:[_.jsx("option",{value:"",children:"Any relation"}),_.jsx("option",{value:"self",children:"Same object"}),_.jsx("option",{value:"parent",children:"Parent"}),_.jsx("option",{value:"children",children:"Children"}),_.jsx("option",{value:"ancestors",children:"Ancestors"}),_.jsx("option",{value:"descendants",children:"Descendants"}),_.jsx("option",{value:"siblings",children:"Siblings"})]})]}),_.jsxs("label",{children:["Producer filter",_.jsxs("select",{value:xn,onChange:ge=>tt(ge.target.value),children:[_.jsx("option",{value:"application",children:"This application"}),_.jsx("option",{value:"process",children:"Any application of this process"})]})]}),_.jsx(uue,{label:"Scale",value:me,options:Ge,onChange:Pe}),_.jsx(uue,{label:"Kind",value:ae,options:fn,onChange:Ne}),_.jsx(uue,{label:"Species",value:Ue,options:$e,onChange:ln}),_.jsx(mue,{label:"Object ID",value:on,objects:E,onChange:An}),_.jsxs("label",{children:["Temporal policy",_.jsxs("select",{value:mn,onChange:ge=>vn(ge.target.value),children:[_.jsx("option",{value:"automatic",children:"Automatic"}),_.jsx("option",{value:"hold_last",children:"Hold last"}),_.jsx("option",{value:"interpolate",children:"Interpolate"}),_.jsx("option",{value:"integrate",children:"Integrate"}),_.jsx("option",{value:"aggregate",children:"Aggregate"})]})]}),_.jsxs("label",{children:["Window value",_.jsx("input",{type:"number",min:"1",step:"1",value:Y,onChange:ge=>Fe(ge.target.value),placeholder:"Automatic","data-testid":"binding-window-value"})]}),_.jsxs("label",{children:["Window unit",_.jsxs("select",{value:wn,onChange:ge=>xe(ge.target.value),disabled:!Y.trim(),"data-testid":"binding-window-unit",children:[_.jsx("option",{children:"Second"}),_.jsx("option",{children:"Minute"}),_.jsx("option",{children:"Hour"}),_.jsx("option",{children:"Day"})]})]})]})]}),x&&_.jsxs("section",{className:"selector-preview","data-testid":"binding-preview",children:[_.jsxs("strong",{children:[x.bindingCount," resolved binding",x.bindingCount===1?"":"s"]}),_.jsxs("span",{children:[x.consumerObjectIds.length," consumer object",x.consumerObjectIds.length===1?"":"s"," from ",x.sourceObjectIds.length," source object",x.sourceObjectIds.length===1?"":"s"]}),x.sourceApplicationIds.length>0&&_.jsx("code",{children:x.sourceApplicationIds.join(", ")}),x.diagnostics.map(ge=>_.jsx("p",{children:ge},ge))]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:$,children:"Cancel"}),_.jsxs("button",{onClick:()=>M(Mn()),"data-testid":"binding-preview-button",children:[_.jsx(Bke,{size:15})," Preview resolution"]}),_.jsxs("button",{className:"primary",onClick:()=>N(Mn()),"data-testid":"binding-submit",children:[_.jsx(rdn,{size:15})," Apply binding"]})]})]})})}function uue({label:b,value:E,options:x,onChange:M}){return _.jsxs("label",{children:[b,_.jsxs("select",{value:E,onChange:N=>M(N.target.value),children:[_.jsx("option",{value:"",children:"Any"}),x.map(N=>_.jsx("option",{value:N,children:N},N))]})]})}function nKn(b,E){return b.length===E.length&&b.every(x=>E.some(M=>Ws(M)===Ws(x)))}function Q7e(b){return b.length===1?b[0]:""}function tKn(b){return b==="one"?"One":b==="optional_one"?"OptionalOne":"Many"}function W7e(b){return[...new Set(b.filter(E=>!!E))].sort()}function iKn(b){return b==="hold_last"?"HoldLast":b==="interpolate"?"Interpolate":b==="integrate"?"Integrate":"Aggregate"}function rKn(b,E,x){return b==="local"?null:b==="scene"?{type:"SceneScope"}:b==="self"?{type:"Self"}:b==="subtree"?{type:"Subtree"}:b==="self_plant"?{type:"SelfPlant"}:b==="ancestor"?{type:"Ancestor",scale:x||null}:b==="named_scope"&&E?{type:"Scope",id:d5(E)}:null}function cKn(b,E){const x=Number(b);return!Number.isInteger(x)||x<=0?null:{mode:"period",value:x,unit:E,julia:`Dates.${E}(${x})`}}function uKn({environments:b,activeId:E,onSubmit:x,onClose:M}){const[N,$]=Re.useState(E||"none"),k=b.find(H=>H.id===N);return _.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:_.jsxs("section",{className:"overlay-panel environment-form",onMouseDown:H=>H.stopPropagation(),"data-testid":"environment-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Scene environment"}),_.jsx("span",{children:"Environment values stay in Julia and are selected by catalog name"})]}),_.jsx("button",{onClick:M,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsxs("label",{children:["Environment",_.jsxs("select",{value:N,onChange:H=>$(H.target.value),"data-testid":"scene-environment",children:[_.jsx("option",{value:"none",children:"No environment"}),b.filter(H=>H.source==="catalog").map(H=>_.jsxs("option",{value:H.id,children:[H.name," · ",H.type]},H.id))]})]}),k&&_.jsxs("section",{className:"environment-summary",children:[_.jsx("strong",{children:k.name}),_.jsx("code",{children:k.type}),_.jsx("span",{children:k.variables.length?`Available variables: ${k.variables.join(", ")}`:"Backend variables are discovered by Julia at compile time."})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:M,children:"Cancel"}),_.jsxs("button",{className:"primary",onClick:()=>x(N==="none"?null:N),"data-testid":"environment-submit",children:[_.jsx(IA,{size:15})," Use environment"]})]})]})})}function oKn({templates:b,instances:E,objects:x,preview:M,onPreview:N,onSubmit:$,onClose:k}){const[H,q]=Re.useState(b[0]?.id||""),[G,ie]=Re.useState(""),[W,Z]=Re.useState("existing"),se=Re.useMemo(()=>sKn(x,E),[E,x]),[oe,ee]=Re.useState(Ws(se[0]?.objectId)),[Me,me]=Re.useState(""),[Pe,ae]=Re.useState(""),[Ne,Ue]=Re.useState(""),[ln,on]=Re.useState(""),[An,xn]=Re.useState(""),tt=()=>W==="existing"?{name:G.trim(),templateId:H,rootId:d5(oe)}:{name:G.trim(),templateId:H,rootObject:{objectId:Me.trim(),configuration:{parent:d5(Pe),scale:Ne.trim()||null,kind:ln.trim()||null,species:An.trim()||null,name:null}}},mn=!!(H&&G.trim()&&(W==="existing"?oe:Me.trim()));return _.jsx("div",{className:"overlay-backdrop",onMouseDown:k,children:_.jsxs("section",{className:"overlay-panel instance-form",onMouseDown:vn=>vn.stopPropagation(),"data-testid":"instance-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Add template instance"}),_.jsx("span",{children:"Mount one reusable coupled model set on an object subtree"})]}),_.jsx("button",{onClick:k,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content instance-form-content",children:[_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Template",_.jsx("select",{value:H,onChange:vn=>q(vn.target.value),"data-testid":"instance-template",children:b.map(vn=>_.jsxs("option",{value:vn.id,children:[vn.name," · ",vn.source==="catalog"?"preset":"model-local"," · ",vn.applications.length," applications"]},vn.id))})]}),_.jsxs("label",{children:["Instance name",_.jsx("input",{value:G,onChange:vn=>ie(vn.target.value),placeholder:"plant_1","data-testid":"instance-name"})]})]}),_.jsxs("div",{className:"override-scope-choice",children:[_.jsxs("button",{className:W==="existing"?"active":"",onClick:()=>Z("existing"),children:[_.jsx("strong",{children:"Use existing root"}),_.jsx("span",{children:"All unclaimed descendants are mounted automatically"})]}),_.jsxs("button",{className:W==="new"?"active":"",onClick:()=>Z("new"),children:[_.jsx("strong",{children:"Create minimal root"}),_.jsx("span",{children:"Create the object and mount the template atomically"})]})]}),W==="existing"?_.jsxs("label",{children:["Unclaimed root",_.jsxs("select",{value:oe,onChange:vn=>ee(vn.target.value),"data-testid":"instance-root",children:[_.jsx("option",{value:"",children:"Choose an object"}),se.map(vn=>_.jsxs("option",{value:Ws(vn.objectId),children:[pue(vn)," · ",vn.scale||"unscaled"]},vn.id))]})]}):_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Stable object ID",_.jsx("input",{value:Me,onChange:vn=>me(vn.target.value),"data-testid":"instance-new-root-id"})]}),_.jsxs("label",{children:["Parent object",_.jsxs("select",{value:Pe,onChange:vn=>ae(vn.target.value),children:[_.jsx("option",{value:"",children:"No parent"}),x.map(vn=>_.jsx("option",{value:Ws(vn.objectId),children:pue(vn)},vn.id))]})]}),_.jsxs("label",{children:["Scale",_.jsx("input",{value:Ne,onChange:vn=>Ue(vn.target.value)})]}),_.jsxs("label",{children:["Kind",_.jsx("input",{value:ln,onChange:vn=>on(vn.target.value)})]}),_.jsxs("label",{children:["Species",_.jsx("input",{value:An,onChange:vn=>xn(vn.target.value)})]})]}),M&&_.jsxs("section",{className:"selector-preview","data-testid":"instance-preview",children:[_.jsxs("strong",{children:[M.objectIds.length," claimed object",M.objectIds.length===1?"":"s"]}),_.jsx("code",{children:M.objectIds.map(Oa).join(", ")}),M.applications.map(vn=>_.jsxs("div",{children:[_.jsx("code",{children:vn.applicationId}),_.jsxs("span",{children:[vn.targetIds.length," resolved target",vn.targetIds.length===1?"":"s"]})]},vn.applicationId)),M.diagnostics.map(vn=>_.jsx("p",{children:vn},vn))]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:k,children:"Cancel"}),_.jsxs("button",{disabled:!mn,onClick:()=>N(tt()),"data-testid":"instance-preview-button",children:[_.jsx(Bke,{size:15})," Preview mount"]}),_.jsxs("button",{className:"primary",disabled:!mn,onClick:()=>$(tt()),"data-testid":"instance-submit",children:[_.jsx(IA,{size:15})," Add instance"]})]})]})})}function sKn(b,E){const x=new Set(E.flatMap(M=>M.objectIds.map(Ws)));return b.filter(M=>!x.has(Ws(M.objectId)))}function lKn({mode:b,objects:E,object:x,onSubmit:M,onClose:N}){const[$,k]=Re.useState(Oa(x?.objectId??"")),[H,q]=Re.useState(Ws(E.find(ae=>ae.id===x?.parent)?.objectId)),[G,ie]=Re.useState(x?.scale||""),[W,Z]=Re.useState(x?.kind||""),[se,oe]=Re.useState(x?.species||""),[ee,Me]=Re.useState(x?.name||""),me=Re.useMemo(()=>E.filter(ae=>Ws(ae.objectId)!==Ws(b==="update"?x?.objectId:$)),[b,x,$,E]),Pe=()=>M({objectId:b==="update"?x.objectId:$.trim(),configuration:{parent:d5(H),scale:G.trim()||null,kind:W.trim()||null,species:se.trim()||null,name:ee.trim()||null}});return _.jsx("div",{className:"overlay-backdrop",onMouseDown:N,children:_.jsxs("section",{className:"overlay-panel object-form",onMouseDown:ae=>ae.stopPropagation(),"data-testid":"object-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:b==="add"?"Add scene object":`Update object ${Oa(x?.objectId)}`}),_.jsx("span",{children:"Objects define the concrete entities and topology targeted by applications"})]}),_.jsx("button",{onClick:N,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content object-form-content",children:[_.jsxs("label",{children:["Stable object ID",_.jsx("input",{value:$,disabled:b==="update",onChange:ae=>k(ae.target.value),"data-testid":"object-id"})]}),_.jsxs("label",{children:["Parent object",_.jsxs("select",{value:H,onChange:ae=>q(ae.target.value),children:[_.jsx("option",{value:"",children:"No parent"}),me.map(ae=>_.jsxs("option",{value:Ws(ae.objectId),children:[pue(ae)," · ",ae.scale||"unscaled"]},ae.id))]})]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Scale",_.jsx("input",{value:G,onChange:ae=>ie(ae.target.value)})]}),_.jsxs("label",{children:["Kind",_.jsx("input",{value:W,onChange:ae=>Z(ae.target.value)})]}),_.jsxs("label",{children:["Species",_.jsx("input",{value:se,onChange:ae=>oe(ae.target.value)})]}),_.jsxs("label",{children:["Display name (optional)",_.jsx("input",{value:ee,placeholder:$||"Uses the object ID",onChange:ae=>Me(ae.target.value)})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:N,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:!$.trim(),onClick:Pe,"data-testid":"object-submit",children:[_.jsx(IA,{size:15})," ",b==="add"?"Add object":"Apply changes"]})]})]})})}function fKn({application:b,models:E,instances:x,onSubmit:M,onRemove:N,onClose:$}){const k=Re.useMemo(()=>E.filter(tt=>tt.process===b.process),[b.process,E]),H=rbn(k,b)||k[0]||null,[q,G]=Re.useState("instance"),[ie,W]=Re.useState(b.targetInstances[0]||x[0]?.name||""),Z=x.find(tt=>tt.name===ie),se=(Z?.objectIds||[]).filter(tt=>b.targetIds.some(mn=>Ws(mn)===Ws(tt))),[oe,ee]=Re.useState(se[0]??""),[Me,me]=Re.useState(H?.type||b.modelType),Pe=k.find(tt=>tt.type===Me)||H,[ae,Ne]=Re.useState(()=>Oue(Pe,b)),Ue=b.owner.applicationId,ln=!!Z?.instanceOverrides.includes(Ue),on=!!Z?.objectOverrides.some(tt=>{const mn=tt;return Ws(mn.object??mn.objectId)===Ws(oe)&&String(mn.application??mn.applicationId??"")===Ue}),An=q==="instance"?ln:on,xn=tt=>{me(tt),Ne(Oue(k.find(mn=>mn.type===tt)||null))};return _.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:_.jsxs("section",{className:"overlay-panel override-form",onMouseDown:tt=>tt.stopPropagation(),"data-testid":"override-form",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Create a model override"}),_.jsx("span",{children:"The shared template remains unchanged outside the selected scope"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content override-form-content",children:[_.jsxs("div",{className:"override-scope-choice",children:[_.jsxs("button",{className:q==="instance"?"active":"",onClick:()=>G("instance"),children:[_.jsx("strong",{children:"One instance"}),_.jsx("span",{children:"All targets of this application in one plant or object instance"})]}),_.jsxs("button",{className:q==="object"?"active":"",onClick:()=>G("object"),children:[_.jsx("strong",{children:"One object"}),_.jsx("span",{children:"Only one concrete execution receives the replacement model"})]})]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Instance",_.jsx("select",{value:ie,onChange:tt=>{const mn=tt.target.value,Y=(x.find(Fe=>Fe.name===mn)?.objectIds||[]).find(Fe=>b.targetIds.some(wn=>Ws(wn)===Ws(Fe)));W(mn),ee(Y??"")},children:x.filter(tt=>b.targetInstances.includes(tt.name)).map(tt=>_.jsx("option",{value:tt.name,children:tt.name},tt.name))})]}),q==="object"&&_.jsxs("label",{children:["Object",_.jsx("select",{value:Ws(oe),onChange:tt=>ee(d5(tt.target.value)),children:se.map(tt=>_.jsx("option",{value:Ws(tt),children:Oa(tt)},Ws(tt)))})]}),_.jsxs("label",{children:["Replacement model",_.jsx("select",{value:Me,onChange:tt=>xn(tt.target.value),children:k.map(tt=>_.jsxs("option",{value:tt.type,children:[tt.package?`${tt.package} · `:"",tt.name]},tt.type))})]})]}),Pe&&Pe.constructor.fields.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Model parameters"}),_.jsx(cbn,{fields:Pe.constructor.fields,values:ae,onChange:Ne})]}),_.jsxs("div",{className:"override-warning",children:[_.jsx("strong",{children:q==="instance"?`Override ${ie}`:`Override object ${Oa(oe)}`}),_.jsx("span",{children:"Julia validates that the replacement keeps the same process and declared variable contract."})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:$,children:"Cancel"}),An&&_.jsxs("button",{className:"danger","data-testid":"remove-override",onClick:()=>N({scope:q,instance:ie,objectId:q==="object"?oe:void 0,applicationRef:b.owner,modelType:Me,parameters:ae}),children:[_.jsx(zG,{size:15})," Remove override"]}),_.jsxs("button",{className:"primary",disabled:!ie||!Me||q==="object"&&!String(oe),onClick:()=>M({scope:q,instance:ie,objectId:q==="object"?oe:void 0,applicationRef:b.owner,modelType:Me,parameters:ae}),children:[_.jsx(IA,{size:15})," Apply override"]})]})]})})}function oue(b){throw new Error('Could not dynamically require "'+b+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Z7e={exports:{}},udn;function aKn(){return udn||(udn=1,(function(b,E){(function(x){b.exports=x()})(function(){return(function(){function x(M,N,$){function k(G,ie){if(!N[G]){if(!M[G]){var W=typeof oue=="function"&&oue;if(!ie&&W)return W(G,!0);if(H)return H(G,!0);var Z=new Error("Cannot find module '"+G+"'");throw Z.code="MODULE_NOT_FOUND",Z}var se=N[G]={exports:{}};M[G][0].call(se.exports,function(oe){var ee=M[G][1][oe];return k(ee||oe)},se,se.exports,x,M,N,$)}return N[G].exports}for(var H=typeof oue=="function"&&oue,q=0;q<$.length;q++)k($[q]);return k}return x})()({1:[function(x,M,N){Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function $(Z){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},$(Z)}function k(Z,se){if(!(Z instanceof se))throw new TypeError("Cannot call a class as a function")}function H(Z,se){for(var oe=0;oe0&&arguments[0]!==void 0?arguments[0]:{},ee=oe.defaultLayoutOptions,Me=ee===void 0?{}:ee,me=oe.algorithms,Pe=me===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:me,ae=oe.workerFactory,Ne=oe.workerUrl;if(k(this,Z),this.defaultLayoutOptions=Me,this.initialized=!1,typeof Ne>"u"&&typeof ae>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Ue=ae;typeof Ne<"u"&&typeof ae>"u"&&(Ue=function(An){return new Worker(An)});var ln=Ue(Ne);if(typeof ln.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new W(ln),this.worker.postMessage({cmd:"register",algorithms:Pe}).then(function(on){return se.initialized=!0}).catch(console.err)}return q(Z,[{key:"layout",value:function(oe){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Me=ee.layoutOptions,me=Me===void 0?this.defaultLayoutOptions:Me,Pe=ee.logging,ae=Pe===void 0?!1:Pe,Ne=ee.measureExecutionTime,Ue=Ne===void 0?!1:Ne;return oe?this.worker.postMessage({cmd:"layout",graph:oe,layoutOptions:me,options:{logging:ae,measureExecutionTime:Ue}}):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&&this.worker.terminate()}}])})();var W=(function(){function Z(se){var oe=this;if(k(this,Z),se===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=se,this.worker.onmessage=function(ee){setTimeout(function(){oe.receive(oe,ee)},0)}}return q(Z,[{key:"postMessage",value:function(oe){var ee=this.id||0;this.id=ee+1,oe.id=ee;var Me=this;return new Promise(function(me,Pe){Me.resolvers[ee]=function(ae,Ne){ae?(Me.convertGwtStyleError(ae),Pe(ae)):me(Ne)},Me.worker.postMessage(oe)})}},{key:"receive",value:function(oe,ee){var Me=ee.data,me=oe.resolvers[Me.id];me&&(delete oe.resolvers[Me.id],Me.error?me(Me.error):me(null,Me.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(oe){if(oe){var ee=oe.__java$exception;ee&&(ee.cause&&ee.cause.backingJsObject&&(oe.cause=ee.cause.backingJsObject,this.convertGwtStyleError(oe.cause)),delete oe.__java$exception)}}}])})()},{}],2:[function(x,M,N){(function($){(function(){var k;typeof window<"u"?k=window:typeof $<"u"?k=$:typeof self<"u"&&(k=self);var H;function q(){}function G(){}function ie(){}function W(){}function Z(){}function se(){}function oe(){}function ee(){}function Me(){}function me(){}function Pe(){}function ae(){}function Ne(){}function Ue(){}function ln(){}function on(){}function An(){}function xn(){}function tt(){}function mn(){}function vn(){}function Y(){}function Fe(){}function wn(){}function xe(){}function Ge(){}function fn(){}function $e(){}function Mn(){}function ge(){}function tn(){}function Hn(){}function ut(){}function Jt(){}function di(){}function Gt(){}function At(){}function si(){}function Kr(){}function Er(){}function Dt(){}function bi(){}function zi(){}function cu(){}function Fu(){}function Rs(){}function ra(){}function nf(){}function Ia(){}function Cc(){}function l0(){}function Cb(){}function xl(){}function od(){}function f0(){}function sh(){}function sd(){}function m5(){}function a0(){}function Np(){}function h6(){}function Tb(){}function ca(){}function ld(){}function xf(){}function d6(){}function lh(){}function Ip(){}function Xg(){}function Kg(){}function Vg(){}function fd(){}function Yg(){}function Ob(){}function v5(){}function Dp(){}function _p(){}function uu(){}function y5(){}function Qg(){}function ov(){}function k5(){}function Wg(){}function sv(){}function j5(){}function E5(){}function w1(){}function Zs(){}function Af(){}function vt(){}function kc(){}function tc(){}function ck(){}function h0(){}function Zg(){}function b6(){}function Lp(){}function Pp(){}function $p(){}function Rp(){}function Al(){}function S5(){}function uk(){}function ew(){}function Bp(){}function DA(){}function g6(){}function ok(){}function sk(){}function lv(){}function x5(){}function d0(){}function Ph(){}function lk(){}function _A(){}function A5(){}function fk(){}function fv(){}function LA(){}function $h(){}function av(){}function ak(){}function w6(){}function nw(){}function ED(){}function SD(){}function M5(){}function oq(){}function xD(){}function AD(){}function PA(){}function sq(){}function lq(){}function hk(){}function tw(){}function $A(){}function RA(){}function C5(){}function T5(){}function MD(){}function BA(){}function CD(){}function p6(){}function iw(){}function zA(){}function m6(){}function zp(){}function FA(){}function dk(){}function TD(){}function bk(){}function gk(){}function OD(){}function Rh(){}function hv(){}function wk(){}function v6(){}function fq(){}function JA(){}function HA(){}function y6(){}function pk(){}function ND(){}function aq(){}function hq(){}function dq(){}function GA(){}function bq(){}function gq(){}function wq(){}function pq(){}function mq(){}function ID(){}function vq(){}function yq(){}function kq(){}function jq(){}function qA(){}function Eq(){}function Sq(){}function xq(){}function DD(){}function Aq(){}function Mq(){}function Cq(){}function Tq(){}function Oq(){}function Nq(){}function Iq(){}function Dq(){}function _q(){}function UA(){}function k6(){}function Lq(){}function _D(){}function LD(){}function PD(){}function $D(){}function RD(){}function O5(){}function Pq(){}function $q(){}function Rq(){}function BD(){}function zD(){}function j6(){}function E6(){}function Bq(){}function mk(){}function FD(){}function XA(){}function KA(){}function VA(){}function JD(){}function HD(){}function GD(){}function zq(){}function Fq(){}function Jq(){}function Hq(){}function Gq(){}function p1(){}function S6(){}function qD(){}function UD(){}function XD(){}function KD(){}function YA(){}function qq(){}function N5(){}function QA(){}function x6(){}function WA(){}function VD(){}function dv(){}function I5(){}function ZA(){}function YD(){}function bv(){}function QD(){}function WD(){}function ZD(){}function Uq(){}function Xq(){}function Kq(){}function e_(){}function n_(){}function eM(){}function b0(){}function vk(){}function ad(){}function D5(){}function nM(){}function yk(){}function kk(){}function tM(){}function gv(){}function t_(){}function jk(){}function _5(){}function Vq(){}function m1(){}function iM(){}function rw(){}function i_(){}function Ek(){}function wv(){}function rM(){}function r_(){}function cM(){}function c_(){}function hd(){}function L5(){}function P5(){}function Sk(){}function A6(){}function dd(){}function bd(){}function Fp(){}function Nb(){}function Ib(){}function cw(){}function u_(){}function uM(){}function oM(){}function o_(){}function ua(){}function Jo(){}function ou(){}function Jp(){}function gd(){}function sM(){}function Hp(){}function s_(){}function l_(){}function $5(){}function pv(){}function R5(){}function Gp(){}function lM(){}function qp(){}function uw(){}function Up(){}function ow(){}function fM(){}function aM(){}function B5(){}function M6(){}function Xp(){}function oa(){}function C6(){}function hM(){}function Yq(){}function Qq(){}function T6(){}function Ml(){}function dM(){}function O6(){}function N6(){}function bM(){}function z5(){}function F5(){}function Wq(){}function f_(){}function Zq(){}function a_(){}function mv(){}function gM(){}function xk(){}function h_(){}function J5(){}function wM(){}function Ak(){}function Mk(){}function d_(){}function b_(){}function vv(){}function yv(){}function g_(){}function pM(){}function H5(){}function I6(){}function Ck(){}function D6(){}function Tk(){}function w_(){}function kv(){}function p_(){}function Kp(){}function mM(){}function vM(){}function Vp(){}function Yp(){}function _6(){}function yM(){}function kM(){}function L6(){}function P6(){}function m_(){}function v_(){}function G5(){}function Ok(){}function y_(){}function jM(){}function EM(){}function v1(){}function wd(){}function Qp(){}function SM(){}function k_(){}function Wp(){}function y1(){}function el(){}function Nk(){}function sw(){}function bc(){}function vo(){}function Cl(){}function Ik(){}function q5(){}function jv(){}function Dk(){}function $6(){}function U5(){}function eU(){}function Bs(){}function xM(){}function AM(){}function j_(){}function E_(){}function nU(){}function MM(){}function CM(){}function TM(){}function fh(){}function nl(){}function _k(){}function R6(){}function Lk(){}function OM(){}function lw(){}function Pk(){}function NM(){}function IM(){}function S_(){}function x_(){}function A_(){}function tU(){}function M_(){}function C_(){}function DM(){}function T_(){}function iU(){}function O_(){}function N_(){}function I_(){}function _M(){}function D_(){}function __(){}function L_(){}function P_(){}function $_(){}function rU(){}function R_(){}function X5(){}function B_(){}function $k(){}function Rk(){}function z_(){}function LM(){}function cU(){}function F_(){}function J_(){}function H_(){}function G_(){}function q_(){}function PM(){}function U_(){}function X_(){}function $M(){}function K_(){}function V_(){}function RM(){}function B6(){}function Y_(){}function Bk(){}function BM(){}function Q_(){}function W_(){}function uU(){}function oU(){}function Z_(){}function z6(){}function zM(){}function zk(){}function eL(){}function FM(){}function F6(){}function sU(){}function JM(){}function nL(){}function HM(){}function GM(){}function tL(){}function iL(){}function Ev(){}function rL(){}function pd(){}function cL(){}function g0(){}function qM(){}function UM(){}function uL(){}function oL(){}function lU(){}function XM(){}function Tl(){}function sa(){}function sL(){}function lL(){}function fL(){}function aL(){}function J6(){}function hL(){}function Fk(){}function dL(){}function fU(){}function Jk(){}function KM(){}function bL(){}function gL(){}function He(){}function VM(){}function YM(){}function QM(){}function wL(){}function WM(){}function Hk(){}function ZM(){}function pL(){}function eC(){}function mL(){}function fw(){}function H6(){}function aU(){}function vL(){}function w0(){}function nC(){}function yL(){}function Gk(){}function Sv(){}function yo(){}function qk(){}function hU(){}function tC(){}function G6(){}function Zp(){}function q6(){}function kL(){}function U6(){}function Db(){}function X6(){}function iC(){}function jL(){}function rC(){}function cC(){}function xv(){}function EL(){}function _b(){}function Ol(){}function K6(){}function uC(){}function Mf(){}function dU(){}function SL(){}function xL(){}function Ss(){}function Bh(){}function aw(){}function AL(){}function ML(){}function CL(){}function bU(){}function Uk(){}function zh(){}function p0(){}function TL(){}function Nl(){}function Xk(){}function hw(){}function Av(){}function dw(){}function oC(){}function sC(){}function m0(){}function OL(){}function K5(){}function V6(){}function Y6(){}function V5(){}function NL(){}function IL(){}function Q6(){}function DL(){}function Kk(){}function _L(){}function gU(){}function wU(){}function Ju(){}function Do(){}function Hc(){}function nu(){}function io(){}function k1(){}function e2(){}function Y5(){}function lC(){}function bw(){}function zs(){}function n2(){}function Mv(){}function fC(){}function j1(){}function Q5(){}function W6(){}function Fh(){}function aC(){}function Vk(){}function LL(){}function Yk(){}function Qk(){}function t2(){}function tf(){}function i2(){}function W5(){}function gw(){}function hC(){}function dC(){}function PL(){}function Z6(){}function bC(){}function E1(){}function $L(){}function Jh(){}function RL(){}function BL(){}function pU(){}function r2(){}function Wk(){}function gC(){}function Z5(){}function zL(){}function FL(){}function JL(){}function HL(){}function Zk(){}function wC(){}function mU(){}function vU(){}function yU(){}function GL(){}function qL(){}function ey(){}function ej(){}function UL(){}function XL(){}function KL(){}function VL(){}function YL(){}function QL(){}function nj(){}function WL(){}function ZL(){}function ro(){}function pC(){}function kU(){}function eP(){}function jU(){}function EU(){}function SU(){}function tj(){}function ny(){}function mC(){}function ij(){}function vC(){}function c2(){}function Lb(){}function e9(){}function xU(){}function nP(){}function yC(){}function tP(){}function iP(){}function kC(){jj()}function jC(){O0e()}function rP(){Gf()}function cP(){zde()}function AU(){FO()}function EC(){LT()}function SC(){sT()}function MU(){oT()}function CU(){LMe()}function n9(){Vy()}function TU(){f$e()}function uP(){u8()}function Gc(){U0()}function xC(){Fhe()}function rj(){eLe()}function AC(){zhe()}function oP(){tLe()}function MC(){nLe()}function t9(){iLe()}function cj(){J$e()}function OU(){rLe()}function sP(){DBe()}function NU(){Oe()}function IU(){n$()}function lP(){NBe()}function fP(){IBe()}function ko(){tPe()}function CC(){Lge()}function la(){_Be()}function DU(){uLe()}function aP(){Xy()}function _U(){UFe()}function TC(){R1()}function OC(){obe()}function uj(){UO()}function hP(){tze()}function dP(){Ube()}function NC(){LHe()}function IC(){cLe()}function LU(){rKe()}function bP(){Mu()}function PU(){qa()}function gP(){ige()}function $U(){X0()}function RU(){_W()}function u2(){HQ()}function wP(){uB()}function DC(){Xt()}function _C(){Mz()}function BU(){FB()}function zU(){wde()}function LC(){Kz()}function oj(){JY()}function tl(){zNe()}function FU(){uge()}function S1(e){Ln(e)}function PC(e){this.a=e}function i9(e){this.a=e}function pP(e){this.a=e}function mP(e){this.a=e}function r9(e){this.a=e}function x1(e){this.a=e}function $C(e){this.a=e}function sj(e){this.a=e}function v0(e){this.a=e}function JU(e){this.a=e}function HU(e){this.a=e}function ty(e){this.a=e}function vP(e){this.a=e}function GU(e){this.c=e}function qU(e){this.a=e}function RC(e){this.a=e}function UU(e){this.a=e}function XU(e){this.a=e}function KU(e){this.a=e}function BC(e){this.a=e}function yP(e){this.a=e}function iy(e){this.a=e}function Cv(e){this.a=e}function kP(e){this.a=e}function zC(e){this.a=e}function ry(e){this.a=e}function c9(e){this.a=e}function jP(e){this.a=e}function lj(e){this.a=e}function FC(e){this.a=e}function JC(e){this.a=e}function fj(e){this.a=e}function EP(e){this.a=e}function SP(e){this.a=e}function VU(e){this.a=e}function xP(e){this.a=e}function YU(e){this.a=e}function HC(e){this.a=e}function QU(e){this.a=e}function u9(e){this.a=e}function o9(e){this.a=e}function Tv(e){this.a=e}function s9(e){this.a=e}function cy(e){this.b=e}function md(){this.a=[]}function AP(e,n){e.a=n}function WU(e,n){e.a=n}function ZU(e,n){e.b=n}function eX(e,n){e.c=n}function MP(e,n){e.c=n}function nX(e,n){e.d=n}function tX(e,n){e.d=n}function Cf(e,n){e.k=n}function CP(e,n){e.j=n}function Gue(e,n){e.c=n}function aj(e,n){e.c=n}function hj(e,n){e.a=n}function GC(e,n){e.a=n}function TP(e,n){e.f=n}function iX(e,n){e.a=n}function OP(e,n){e.b=n}function Pb(e,n){e.d=n}function y0(e,n){e.i=n}function ww(e,n){e.o=n}function dj(e,n){e.r=n}function bj(e,n){e.a=n}function Ov(e,n){e.b=n}function rX(e,n){e.e=n}function cX(e,n){e.f=n}function uy(e,n){e.g=n}function que(e,n){e.e=n}function uX(e,n){e.f=n}function qC(e,n){e.f=n}function gj(e,n){e.a=n}function UC(e,n){e.b=n}function XC(e,n){e.n=n}function KC(e,n){e.a=n}function oX(e,n){e.c=n}function l9(e,n){e.c=n}function sX(e,n){e.c=n}function NP(e,n){e.a=n}function VC(e,n){e.a=n}function lX(e,n){e.d=n}function Uue(e,n){e.d=n}function YC(e,n){e.e=n}function a(e,n){e.e=n}function d(e,n){e.g=n}function w(e,n){e.f=n}function j(e,n){e.j=n}function T(e,n){e.a=n}function I(e,n){e.a=n}function Q(e,n){e.b=n}function de(e){e.b=e.a}function nn(e){e.c=e.d.d}function Pn(e){this.a=e}function it(e){this.a=e}function gt(e){this.a=e}function Gn(e){this.a=e}function et(e){this.a=e}function Di(e){this.a=e}function Cr(e){this.a=e}function co(e){this.a=e}function Sn(e){this.a=e}function sn(e){this.a=e}function _n(e){this.a=e}function ot(e){this.a=e}function Hi(e){this.a=e}function _u(e){this.a=e}function Xi(e){this.b=e}function Hr(e){this.b=e}function ic(e){this.b=e}function qc(e){this.d=e}function xt(e){this.a=e}function fX(e){this.a=e}function Xue(e){this.a=e}function Fke(e){this.a=e}function Jke(e){this.a=e}function Kue(e){this.a=e}function Vue(e){this.a=e}function aX(e){this.c=e}function P(e){this.c=e}function Hke(e){this.c=e}function Yue(e){this.a=e}function Que(e){this.a=e}function Wue(e){this.a=e}function Zue(e){this.a=e}function f9(e){this.a=e}function Gke(e){this.a=e}function qke(e){this.a=e}function a9(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Vke(e){this.a=e}function Yke(e){this.a=e}function Qke(e){this.a=e}function Wke(e){this.a=e}function Zke(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function wj(e){this.a=e}function ije(e){this.a=e}function rje(e){this.a=e}function IP(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function eoe(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function lje(e){this.a=e}function noe(e){this.a=e}function toe(e){this.a=e}function ioe(e){this.a=e}function pj(e){this.a=e}function h9(e){this.a=e}function fje(e){this.a=e}function oy(e){this.a=e}function roe(e){this.a=e}function aje(e){this.a=e}function hje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function gje(e){this.a=e}function wje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function coe(e){this.a=e}function jje(e){this.a=e}function Eje(e){this.a=e}function Sje(e){this.a=e}function xje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Oje(e){this.a=e}function Nje(e){this.a=e}function Ije(e){this.a=e}function Dje(e){this.a=e}function _je(e){this.a=e}function Lje(e){this.a=e}function Pje(e){this.a=e}function $je(e){this.a=e}function Rje(e){this.a=e}function Bje(e){this.a=e}function zje(e){this.a=e}function Fje(e){this.a=e}function Jje(e){this.a=e}function Hje(e){this.a=e}function Gje(e){this.a=e}function qje(e){this.a=e}function Uje(e){this.a=e}function Xje(e){this.a=e}function Kje(e){this.a=e}function Vje(e){this.a=e}function Yje(e){this.a=e}function Qje(e){this.a=e}function Wje(e){this.a=e}function Zje(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.a=e}function tEe(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.b=e}function cEe(e){this.a=e}function uEe(e){this.a=e}function oEe(e){this.a=e}function sEe(e){this.a=e}function lEe(e){this.a=e}function fEe(e){this.a=e}function aEe(e){this.c=e}function hEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function gEe(e){this.a=e}function wEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function jEe(e){this.a=e}function EEe(e){this.a=e}function SEe(e){this.a=e}function xEe(e){this.a=e}function AEe(e){this.a=e}function MEe(e){this.a=e}function CEe(e){this.a=e}function TEe(e){this.a=e}function OEe(e){this.a=e}function NEe(e){this.a=e}function IEe(e){this.a=e}function DEe(e){this.a=e}function _Ee(e){this.a=e}function LEe(e){this.a=e}function PEe(e){this.a=e}function $Ee(e){this.a=e}function REe(e){this.a=e}function A1(e){this.a=e}function Nv(e){this.a=e}function BEe(e){this.a=e}function zEe(e){this.a=e}function FEe(e){this.a=e}function JEe(e){this.a=e}function HEe(e){this.a=e}function GEe(e){this.a=e}function qEe(e){this.a=e}function UEe(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function VEe(e){this.a=e}function YEe(e){this.a=e}function QEe(e){this.a=e}function WEe(e){this.a=e}function ZEe(e){this.a=e}function eSe(e){this.a=e}function nSe(e){this.a=e}function tSe(e){this.a=e}function iSe(e){this.a=e}function rSe(e){this.a=e}function cSe(e){this.a=e}function uSe(e){this.a=e}function oSe(e){this.a=e}function sSe(e){this.a=e}function lSe(e){this.a=e}function fSe(e){this.a=e}function DP(e){this.a=e}function aSe(e){this.f=e}function hSe(e){this.a=e}function dSe(e){this.a=e}function bSe(e){this.a=e}function gSe(e){this.a=e}function wSe(e){this.a=e}function pSe(e){this.a=e}function mSe(e){this.a=e}function vSe(e){this.a=e}function ySe(e){this.a=e}function kSe(e){this.a=e}function jSe(e){this.a=e}function ESe(e){this.a=e}function SSe(e){this.a=e}function xSe(e){this.a=e}function ASe(e){this.a=e}function MSe(e){this.a=e}function CSe(e){this.a=e}function TSe(e){this.a=e}function OSe(e){this.a=e}function NSe(e){this.a=e}function ISe(e){this.a=e}function DSe(e){this.a=e}function _Se(e){this.a=e}function LSe(e){this.a=e}function PSe(e){this.a=e}function $Se(e){this.a=e}function RSe(e){this.a=e}function hX(e){this.a=e}function uoe(e){this.a=e}function ki(e){this.b=e}function BSe(e){this.a=e}function zSe(e){this.a=e}function FSe(e){this.a=e}function JSe(e){this.a=e}function HSe(e){this.a=e}function GSe(e){this.a=e}function qSe(e){this.a=e}function USe(e){this.b=e}function XSe(e){this.a=e}function QC(e){this.a=e}function KSe(e){this.a=e}function VSe(e){this.a=e}function _P(e){this.a=e}function LP(e){this.a=e}function ooe(e){this.c=e}function PP(e){this.e=e}function $P(e){this.e=e}function dX(e){this.a=e}function YSe(e){this.d=e}function QSe(e){this.a=e}function soe(e){this.a=e}function loe(e){this.a=e}function pw(e){this.e=e}function lbn(){this.a=0}function Te(){CK(this)}function wt(){Hu(this)}function bX(){FDe(this)}function WSe(){}function mw(){this.c=Z8e}function ZSe(e,n){e.b+=n}function fbn(e,n){n.Wb(e)}function abn(e){return e.a}function hbn(e){return e.a}function dbn(e){return e.a}function bbn(e){return e.a}function gbn(e){return e.a}function R(e){return e.e}function wbn(){return null}function pbn(){return null}function mbn(e){throw R(e)}function sy(e){this.a=Ot(e)}function exe(){this.a=this}function $b(){mOe.call(this)}function vbn(e){e.b.Mf(e.e)}function nxe(e){e.b=new NX}function mj(e,n){e.b=n-e.b}function vj(e,n){e.a=n-e.a}function txe(e,n){n.gd(e.a)}function ybn(e,n){Ar(n,e)}function qn(e,n){e.push(n)}function ixe(e,n){e.sort(n)}function kbn(e,n,t){e.Wd(t,n)}function WC(e,n){e.e=n,n.b=e}function jbn(){Joe(),GRn()}function rxe(e){J9(),ite.je(e)}function foe(){$b.call(this)}function gX(){$b.call(this)}function aoe(){mOe.call(this)}function cxe(){$b.call(this)}function Il(){$b.call(this)}function uxe(){$b.call(this)}function ZC(){$b.call(this)}function is(){$b.call(this)}function ly(){$b.call(this)}function _t(){$b.call(this)}function hu(){$b.call(this)}function oxe(){$b.call(this)}function RP(){this.Bb|=256}function sxe(){this.b=new pTe}function hoe(){hoe=Y,new wt}function o2(e,n){e.length=n}function BP(e,n){Ce(e.a,n)}function Ebn(e,n){I0e(e.c,n)}function Sbn(e,n){hr(e.b,n)}function d9(e,n){hi(e.e,n)}function xbn(e,n){dz(e.a,n)}function Abn(e,n){wQ(e.a,n)}function fy(e){Nz(e.c,e.b)}function Mbn(e,n){e.kc().Nb(n)}function doe(e){this.a=$jn(e)}function ar(){this.a=new wt}function lxe(){this.a=new wt}function zP(){this.a=new Te}function wX(){this.a=new Te}function boe(){this.a=new Te}function Rb(){this.a=new e$e}function pX(){this.a=new CMe}function goe(){this.a=new G_e}function woe(){this.a=new fNe}function rf(){this.a=new h6}function poe(){this.a=new ov}function fxe(){this.a=new ELe}function axe(){this.a=new Te}function hxe(){this.a=new Te}function moe(){this.a=new Te}function dxe(){this.a=new Te}function bxe(){this.d=new Te}function gxe(){this.a=new ar}function wxe(){this.a=new wt}function pxe(){this.b=new wt}function mxe(){this.b=new Te}function voe(){this.e=new Te}function vxe(){this.a=new Gc}function yxe(){this.d=new Te}function yj(){WSe.call(this)}function mX(){yj.call(this)}function ay(){WSe.call(this)}function yoe(){ay.call(this)}function kxe(){foe.call(this)}function FP(){zP.call(this)}function jxe(){V$.call(this)}function Exe(){moe.call(this)}function Sxe(){Te.call(this)}function xxe(){k_e.call(this)}function Axe(){k_e.call(this)}function Mxe(){Soe.call(this)}function Cxe(){Soe.call(this)}function Txe(){Soe.call(this)}function Oxe(){xoe.call(this)}function kj(){Gk.call(this)}function koe(){Gk.call(this)}function xs(){xi.call(this)}function Nxe(){qxe.call(this)}function Ixe(){qxe.call(this)}function Dxe(){wt.call(this)}function _xe(){wt.call(this)}function Lxe(){wt.call(this)}function vX(){MBe.call(this)}function Pxe(){ar.call(this)}function $xe(){RP.call(this)}function yX(){ole.call(this)}function joe(){wt.call(this)}function kX(){ole.call(this)}function jX(){wt.call(this)}function Rxe(){wt.call(this)}function Eoe(){xv.call(this)}function Bxe(){Eoe.call(this)}function zxe(){xv.call(this)}function Fxe(){yC.call(this)}function Soe(){this.a=new ar}function Jxe(){this.a=new wt}function Hxe(){this.a=new Te}function Gxe(){this.j=new Te}function xoe(){this.a=new wt}function hy(){this.a=new xi}function qxe(){this.a=new iC}function Aoe(){this.a=new G_}function Uxe(){this.a=new HAe}function jj(){jj=Y,Vne=new G}function EX(){EX=Y,Yne=new Kxe}function SX(){SX=Y,Qne=new Xxe}function Xxe(){Cv.call(this,"")}function Kxe(){Cv.call(this,"")}function Vxe(e){iBe.call(this,e)}function Yxe(e){iBe.call(this,e)}function Moe(e){x1.call(this,e)}function Coe(e){tMe.call(this,e)}function Cbn(e){tMe.call(this,e)}function Tbn(e){Coe.call(this,e)}function Obn(e){Coe.call(this,e)}function Nbn(e){Coe.call(this,e)}function Qxe(e){uY.call(this,e)}function Wxe(e){uY.call(this,e)}function Zxe(e){nOe.call(this,e)}function eAe(e){Voe.call(this,e)}function Ej(e){WP.call(this,e)}function Toe(e){WP.call(this,e)}function nAe(e){WP.call(this,e)}function du(e){VIe.call(this,e)}function tAe(e){du.call(this,e)}function dy(){s9.call(this,{})}function xX(e){x9(),this.a=e}function iAe(e){e.b=null,e.c=0}function Ibn(e,n){e.e=n,iXe(e,n)}function Dbn(e,n){e.a=n,qCn(e)}function AX(e,n,t){e.a[n.g]=t}function _bn(e,n,t){hAn(t,e,n)}function Lbn(e,n){h2n(n.i,e.n)}function rAe(e,n){Akn(e).Ad(n)}function Pbn(e,n){return e*e/n}function cAe(e,n){return e.g-n.g}function $bn(e,n){e.a.ec().Kc(n)}function Rbn(e){return new Tv(e)}function Bbn(e){return new O2(e)}function uAe(){uAe=Y,kme=new q}function Ooe(){Ooe=Y,jme=new Ue}function JP(){JP=Y,YS=new An}function HP(){HP=Y,Zne=new eOe}function oAe(){oAe=Y,cnn=new tt}function GP(e){i1e(),this.a=e}function MX(e){fV(),this.f=e}function k0(e){fV(),this.f=e}function sAe(e){BNe(),this.a=e}function qP(e){du.call(this,e)}function jo(e){du.call(this,e)}function lAe(e){du.call(this,e)}function CX(e){VIe.call(this,e)}function b9(e){du.call(this,e)}function Un(e){du.call(this,e)}function Uc(e){du.call(this,e)}function fAe(e){du.call(this,e)}function by(e){du.call(this,e)}function vd(e){du.call(this,e)}function Su(e){Ln(e),this.a=e}function Sj(e){Bfe(e,e.length)}function Noe(e){return ug(e),e}function s2(e){return!!e&&e.b}function zbn(e){return!!e&&e.k}function Fbn(e){return!!e&&e.j}function xj(e){return e.b==e.c}function ze(e){return Ln(e),e}function ne(e){return Ln(e),e}function eT(e){return Ln(e),e}function Ioe(e){return Ln(e),e}function Jbn(e){return Ln(e),e}function ah(e){du.call(this,e)}function yd(e){du.call(this,e)}function gy(e){du.call(this,e)}function TX(e){du.call(this,e)}function Bt(e){du.call(this,e)}function OX(e){gle.call(this,e,0)}function NX(){Aae.call(this,12,3)}function IX(){this.a=Pt(Ot(To))}function aAe(){throw R(new _t)}function Doe(){throw R(new _t)}function hAe(){throw R(new _t)}function Hbn(){throw R(new _t)}function Gbn(){throw R(new _t)}function qbn(){throw R(new _t)}function UP(){UP=Y,J9()}function kd(){Di.call(this,"")}function Aj(){Di.call(this,"")}function j0(){Di.call(this,"")}function wy(){Di.call(this,"")}function _oe(e){jo.call(this,e)}function Loe(e){jo.call(this,e)}function hh(e){Un.call(this,e)}function g9(e){Hr.call(this,e)}function dAe(e){g9.call(this,e)}function DX(e){H$.call(this,e)}function Ubn(e,n,t){e.c.Cf(n,t)}function Xbn(e,n,t){n.Ad(e.a[t])}function Kbn(e,n,t){n.Ne(e.a[t])}function Vbn(e,n){return e.a-n.a}function Ybn(e,n){return e.a-n.a}function Qbn(e,n){return e.a-n.a}function XP(e,n){return yY(e,n)}function z(e,n){return Y_e(e,n)}function Wbn(e,n){return n in e.a}function bAe(e){return e.a?e.b:0}function Zbn(e){return e.a?e.b:0}function gAe(e,n){return e.f=n,e}function egn(e,n){return e.b=n,e}function wAe(e,n){return e.c=n,e}function ngn(e,n){return e.g=n,e}function Poe(e,n){return e.a=n,e}function $oe(e,n){return e.f=n,e}function tgn(e,n){return e.f=n,e}function Roe(e,n){return e.e=n,e}function ign(e,n){return e.k=n,e}function Boe(e,n){return e.a=n,e}function rgn(e,n){return e.e=n,e}function cgn(e,n){e.b=new wc(n)}function pAe(e,n){e._d(n),n.$d(e)}function ugn(e,n){rl(),n.n.a+=e}function ogn(e,n){U0(),wu(n,e)}function zoe(e){ZDe.call(this,e)}function mAe(e){ZDe.call(this,e)}function vAe(){Xse.call(this,"")}function yAe(){this.b=0,this.a=0}function kAe(){kAe=Y,mnn=BAn()}function l2(e,n){return e.b=n,e}function KP(e,n){return e.a=n,e}function f2(e,n){return e.c=n,e}function a2(e,n){return e.d=n,e}function h2(e,n){return e.e=n,e}function Foe(e,n){return e.f=n,e}function Mj(e,n){return e.a=n,e}function w9(e,n){return e.b=n,e}function p9(e,n){return e.c=n,e}function Xe(e,n){return e.c=n,e}function hn(e,n){return e.b=n,e}function Ke(e,n){return e.d=n,e}function Ve(e,n){return e.e=n,e}function sgn(e,n){return e.f=n,e}function Ye(e,n){return e.g=n,e}function Qe(e,n){return e.a=n,e}function We(e,n){return e.i=n,e}function Ze(e,n){return e.j=n,e}function lgn(e,n){return n.pg(e)}function fgn(e,n){return e.b-n.b}function agn(e,n){return e.g-n.g}function hgn(e,n){return e.s-n.s}function dgn(e,n){return e?0:n-1}function jAe(e,n){return e?0:n-1}function bgn(e,n){return e?n-1:0}function EAe(e,n){return e.k=n,e}function ggn(e,n){return e.j=n,e}function Vr(){this.a=0,this.b=0}function VP(e){XK.call(this,e)}function E0(e){$w.call(this,e)}function SAe(e){$V.call(this,e)}function xAe(e){$V.call(this,e)}function AAe(){AAe=Y,Pr=uMn()}function S0(){S0=Y,Man=Yxn()}function Joe(){Joe=Y,Rg=ME()}function m9(){m9=Y,W8e=Qxn()}function MAe(){MAe=Y,ahn=Wxn()}function Hoe(){Hoe=Y,Bu=JCn()}function fa(e){return e.e&&e.e()}function CAe(e,n){return e.c._b(n)}function TAe(e,n){return MFe(e.b,n)}function OAe(e,n){return Fgn(e.a,n)}function NAe(e,n){e.b=0,z2(e,n)}function wgn(e,n){e.c=n,e.b=!0}function Iv(e,n){return e.a+=n,e}function _X(e,n){return e.a+=n,e}function jd(e,n){return e.a+=n,e}function vw(e,n){return e.a+=n,e}function Bb(e){return T1(e),e.o}function Goe(e){_Ve(),iBn(this,e)}function IAe(){throw R(new _t)}function DAe(){throw R(new _t)}function _Ae(){throw R(new _t)}function LAe(){throw R(new _t)}function PAe(){throw R(new _t)}function $Ae(){throw R(new _t)}function YP(e){this.a=new my(e)}function Ed(e){this.a=new gV(e)}function Dv(e,n){for(;e.Pe(n););}function qoe(e,n){for(;e.zd(n););}function pgn(e,n,t){y3n(e.a,n,t)}function Uoe(e,n,t){e.splice(n,t)}function mgn(e,n){return ZLn(n,e)}function Xoe(e,n){return e.d[n.p]}function nT(e){return e.b!=e.d.c}function RAe(e){return e.l|e.m<<22}function LX(e){return e?e.d:null}function vgn(e){return e?e.g:null}function ygn(e){return e?e.i:null}function BAe(e,n){return yIn(e,n)}function v9(e){return N0(e),e.a}function zAe(e){e.c?vXe(e):yXe(e)}function FAe(){this.b=new uS(c4e)}function JAe(){this.b=new uS(Wre)}function HAe(){this.b=new uS(Wre)}function GAe(){this.a=new uS(z4e)}function qAe(){this.a=new uS(f6e)}function QP(e){this.a=0,this.b=e}function UAe(){throw R(new _t)}function XAe(){throw R(new _t)}function KAe(){throw R(new _t)}function VAe(){throw R(new _t)}function YAe(){throw R(new _t)}function QAe(){throw R(new _t)}function WAe(){throw R(new _t)}function ZAe(){throw R(new _t)}function eMe(){throw R(new _t)}function nMe(){throw R(new _t)}function kgn(){throw R(new hu)}function jgn(){throw R(new hu)}function tT(e){this.a=new EMe(e)}function y9(e,n){this.e=e,this.d=n}function Koe(e,n){this.b=e,this.c=n}function tMe(e){rle(e.dc()),this.c=e}function iT(e,n){Uv.call(this,e,n)}function k9(e,n){iT.call(this,e,n)}function iMe(e,n){this.a=e,this.b=n}function rMe(e,n){this.a=e,this.b=n}function cMe(e,n){this.a=e,this.b=n}function uMe(e,n){this.a=e,this.b=n}function oMe(e,n){this.a=e,this.b=n}function sMe(e,n){this.a=e,this.b=n}function lMe(e,n){this.a=e,this.b=n}function fMe(e,n){this.b=e,this.a=n}function aMe(e,n){this.b=e,this.a=n}function yw(e,n){this.g=e,this.i=n}function hMe(e,n){this.a=e,this.b=n}function dMe(e,n){this.b=e,this.a=n}function bMe(e,n){this.a=e,this.b=n}function gMe(e,n){this.b=e,this.a=n}function WP(e){this.b=u(Ot(e),50)}function ZP(e){this.b=u(Ot(e),92)}function Tt(e,n){this.f=e,this.g=n}function PX(e,n){this.a=e,this.b=n}function wMe(e,n){this.a=e,this.f=n}function pMe(e){this.a=u(Ot(e),16)}function Voe(e){this.a=u(Ot(e),16)}function mMe(e,n){this.b=e,this.c=n}function vMe(e){this.a=u(Ot(e),92)}function Egn(e,n){this.a=e,this.b=n}function yMe(e,n){this.a=e,this.b=n}function kMe(e,n){return so(e.b,n)}function jMe(e,n){return e>n&&n0}function HX(e,n){return ao(e,n)<0}function JMe(e,n){return sV(e.a,n)}function Hgn(e,n){q_e.call(this,e,n)}function cse(e){OV(),rCn.call(this,e)}function use(e){OV(),cse.call(this,e)}function ose(e){cV(),nOe.call(this,e)}function sse(e,n){$Ie(e,e.length,n)}function lT(e,n){hDe(e,e.length,n)}function Pj(e,n){return e.a.get(n)}function HMe(e,n){return so(e.e,n)}function lse(e){return Ln(e),!1}function GMe(){return kAe(),new mnn}function fT(e){return at(e.a),e.b}function qMe(e,n){this.b=e,this.a=n}function s$(e,n){this.d=e,this.e=n}function UMe(e,n){this.a=e,this.b=n}function XMe(e,n){this.a=e,this.b=n}function KMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.b=e,this.a=n}function vy(e,n){this.a=e,this.b=n}function l$(e,n){Tt.call(this,e,n)}function GX(e,n){Tt.call(this,e,n)}function qX(e,n){Tt.call(this,e,n)}function UX(e,n){Tt.call(this,e,n)}function XX(e,n){Tt.call(this,e,n)}function f$(e,n){Tt.call(this,e,n)}function a$(e){yn.call(this,e,21)}function QMe(e,n){this.b=e,this.a=n}function fse(e,n){this.b=e,this.a=n}function ase(e,n){this.b=e,this.a=n}function hse(e,n){Tt.call(this,e,n)}function KX(e,n){Tt.call(this,e,n)}function aT(e,n){Tt.call(this,e,n)}function dse(e,n){this.b=e,this.a=n}function S9(e,n){this.c=e,this.d=n}function h$(e,n){Tt.call(this,e,n)}function d$(e,n){Tt.call(this,e,n)}function WMe(e,n){this.e=e,this.d=n}function yy(e,n){Tt.call(this,e,n)}function ZMe(e,n){this.a=e,this.b=n}function bse(e,n){Tt.call(this,e,n)}function br(e,n){Tt.call(this,e,n)}function b$(e,n){Tt.call(this,e,n)}function $j(e,n,t){e.splice(n,0,t)}function Ggn(e,n,t){e.Mb(t)&&n.Ad(t)}function qgn(e,n,t){n.Ne(e.a.We(t))}function Ugn(e,n,t){n.Bd(e.a.Xe(t))}function Xgn(e,n,t){n.Ad(e.a.Kb(t))}function Kgn(e,n){return cs(e.c,n)}function Vgn(e,n){return cs(e.e,n)}function eCe(e,n){this.a=e,this.b=n}function nCe(e,n){this.a=e,this.b=n}function tCe(e,n){this.a=e,this.b=n}function iCe(e,n){this.a=e,this.b=n}function rCe(e,n){this.a=e,this.b=n}function cCe(e,n){this.a=e,this.b=n}function uCe(e,n){this.a=e,this.b=n}function oCe(e,n){this.a=e,this.b=n}function sCe(e,n){this.b=e,this.a=n}function lCe(e,n){this.b=e,this.a=n}function fCe(e,n){this.b=e,this.a=n}function aCe(e,n){this.b=n,this.c=e}function g$(e,n){Tt.call(this,e,n)}function hT(e,n){Tt.call(this,e,n)}function gse(e,n){Tt.call(this,e,n)}function Rj(e,n){Tt.call(this,e,n)}function w$(e,n){Tt.call(this,e,n)}function VX(e,n){Tt.call(this,e,n)}function YX(e,n){Tt.call(this,e,n)}function Bj(e,n){Tt.call(this,e,n)}function zj(e,n){Tt.call(this,e,n)}function wse(e,n){Tt.call(this,e,n)}function _v(e,n){Tt.call(this,e,n)}function QX(e,n){Tt.call(this,e,n)}function Fj(e,n){Tt.call(this,e,n)}function pse(e,n){Tt.call(this,e,n)}function g2(e,n){Tt.call(this,e,n)}function WX(e,n){Tt.call(this,e,n)}function ZX(e,n){Tt.call(this,e,n)}function eK(e,n){Tt.call(this,e,n)}function mse(e,n){Tt.call(this,e,n)}function dT(e,n){Tt.call(this,e,n)}function vse(e,n){Tt.call(this,e,n)}function Lv(e,n){Tt.call(this,e,n)}function nK(e,n){Tt.call(this,e,n)}function p$(e,n){Tt.call(this,e,n)}function bT(e,n){Tt.call(this,e,n)}function w2(e,n){Tt.call(this,e,n)}function m$(e,n){Tt.call(this,e,n)}function yse(e,n){Tt.call(this,e,n)}function tK(e,n){Tt.call(this,e,n)}function iK(e,n){Tt.call(this,e,n)}function rK(e,n){Tt.call(this,e,n)}function cK(e,n){Tt.call(this,e,n)}function uK(e,n){Tt.call(this,e,n)}function oK(e,n){Tt.call(this,e,n)}function v$(e,n){Tt.call(this,e,n)}function hCe(e,n){this.b=e,this.a=n}function kse(e,n){Tt.call(this,e,n)}function dCe(e,n){this.a=e,this.b=n}function bCe(e,n){this.a=e,this.b=n}function gCe(e,n){this.a=e,this.b=n}function jse(e,n){Tt.call(this,e,n)}function Ese(e,n){Tt.call(this,e,n)}function wCe(e,n){this.a=e,this.b=n}function Ygn(e,n){return N9(),n!=e}function sK(e){return YTn(e,e.c),e}function Qgn(e){k.clearTimeout(e)}function Sse(e,n){Tt.call(this,e,n)}function xse(e,n){Tt.call(this,e,n)}function pCe(e,n){this.a=e,this.b=n}function mCe(e,n){this.a=e,this.b=n}function vCe(e,n){this.b=e,this.d=n}function yCe(e,n){this.a=e,this.b=n}function kCe(e,n){this.b=e,this.a=n}function y$(e,n){Tt.call(this,e,n)}function kw(e,n){Tt.call(this,e,n)}function lK(e,n){Tt.call(this,e,n)}function k$(e,n){Tt.call(this,e,n)}function Ase(e,n){Tt.call(this,e,n)}function jCe(e,n){this.b=e,this.a=n}function ECe(e,n){this.b=e,this.a=n}function SCe(e,n){this.b=e,this.a=n}function xCe(e,n){this.b=e,this.a=n}function Mse(e,n){Tt.call(this,e,n)}function gT(e,n){Tt.call(this,e,n)}function Cse(e,n){Tt.call(this,e,n)}function fK(e,n){Tt.call(this,e,n)}function j$(e,n){Tt.call(this,e,n)}function aK(e,n){Tt.call(this,e,n)}function hK(e,n){Tt.call(this,e,n)}function E$(e,n){Tt.call(this,e,n)}function dK(e,n){Tt.call(this,e,n)}function Tse(e,n){Tt.call(this,e,n)}function bK(e,n){Tt.call(this,e,n)}function gK(e,n){Tt.call(this,e,n)}function wT(e,n){Tt.call(this,e,n)}function wK(e,n){Tt.call(this,e,n)}function Ose(e,n){Tt.call(this,e,n)}function pT(e,n){Tt.call(this,e,n)}function Nse(e,n){Tt.call(this,e,n)}function Ise(e,n){this.a=e,this.b=n}function ACe(e,n){this.a=e,this.b=n}function MCe(e,n){this.a=e,this.b=n}function CCe(){W$(),this.a=new $le}function TCe(){Fz(),this.a=new ar}function OCe(){UV(),this.b=new ar}function NCe(){Sae(),Cfe.call(this)}function ICe(){Eae(),y_e.call(this)}function DCe(){Eae(),y_e.call(this)}function mT(e,n){Tt.call(this,e,n)}function ky(e,n){Tt.call(this,e,n)}function Jj(e,n){Tt.call(this,e,n)}function Hj(e,n){Tt.call(this,e,n)}function vT(e,n){Tt.call(this,e,n)}function S$(e,n){Tt.call(this,e,n)}function pK(e,n){Tt.call(this,e,n)}function x$(e,n){Tt.call(this,e,n)}function Gj(e,n){Tt.call(this,e,n)}function mK(e,n){Tt.call(this,e,n)}function A$(e,n){Tt.call(this,e,n)}function Pv(e,n){Tt.call(this,e,n)}function yT(e,n){Tt.call(this,e,n)}function qj(e,n){Tt.call(this,e,n)}function Uj(e,n){Tt.call(this,e,n)}function vK(e,n){Tt.call(this,e,n)}function kT(e,n){Tt.call(this,e,n)}function M$(e,n){Tt.call(this,e,n)}function $v(e,n){Tt.call(this,e,n)}function yK(e,n){Tt.call(this,e,n)}function kK(e,n){Tt.call(this,e,n)}function C$(e,n){Tt.call(this,e,n)}function Ee(e,n){this.a=e,this.b=n}function _Ce(e,n){this.a=e,this.b=n}function LCe(e,n){this.a=e,this.b=n}function PCe(e,n){this.a=e,this.b=n}function $Ce(e,n){this.a=e,this.b=n}function RCe(e,n){this.a=e,this.b=n}function BCe(e,n){this.a=e,this.b=n}function jc(e,n){this.a=e,this.b=n}function zCe(e,n){this.a=e,this.b=n}function FCe(e,n){this.a=e,this.b=n}function JCe(e,n){this.a=e,this.b=n}function HCe(e,n){this.a=e,this.b=n}function GCe(e,n){this.a=e,this.b=n}function qCe(e,n){this.a=e,this.b=n}function UCe(e,n){this.b=e,this.a=n}function XCe(e,n){this.b=e,this.a=n}function KCe(e,n){this.b=e,this.a=n}function VCe(e,n){this.b=e,this.a=n}function YCe(e,n){this.a=e,this.b=n}function QCe(e,n){this.a=e,this.b=n}function WCe(e,n){this.a=e,this.b=n}function ZCe(e,n){this.a=e,this.b=n}function eTe(e,n){this.f=e,this.c=n}function Dse(e,n){this.i=e,this.g=n}function T$(e,n){Tt.call(this,e,n)}function jy(e,n){Tt.call(this,e,n)}function O$(e,n){this.a=e,this.b=n}function nTe(e,n){this.a=e,this.b=n}function _se(e,n){this.d=e,this.e=n}function tTe(e,n){this.a=e,this.b=n}function iTe(e,n){this.a=e,this.b=n}function rTe(e,n){this.d=e,this.b=n}function cTe(e,n){this.e=e,this.a=n}function Lse(e,n){e.i=null,MB(e,n)}function Wgn(e,n){e&&ei(iD,e,n)}function uTe(e,n){return xQ(e.a,n)}function Pse(e,n){return cs(e.g,n)}function Zgn(e,n){return cs(n.b,e)}function ewn(e,n){return-e.b.$e(n)}function N$(e){return LO(e.c,e.b)}function nwn(e,n){g8n(new st(e),n)}function twn(e,n,t){nGe(n,vW(e,t))}function iwn(e,n,t){nGe(n,vW(e,t))}function oTe(e,n){r8n(e.a,u(n,12))}function sTe(e,n){this.a=e,this.b=n}function jT(e,n){this.b=e,this.c=n}function M0(e,n){return e.Pd().Xb(n)}function I$(e,n){return C7n(e.Jc(),n)}function bu(e){return e?e.kd():null}function ue(e){return e??null}function p2(e){return typeof e===d4}function m2(e){return typeof e===$ge}function $r(e){return typeof e===aZ}function Xj(e,n){return ao(e,n)==0}function D$(e,n){return ao(e,n)>=0}function Kj(e,n){return ao(e,n)!=0}function $se(e,n){return e.a+=""+n,e}function rwn(e){return""+(Ln(e),e)}function lTe(e){return Is(e),e.d.gc()}function Rse(e){return kn(e,0),null}function _$(e){return cE(e==null),e}function Vj(e,n){return e.a+=""+n,e}function Bc(e,n){return e.a+=""+n,e}function Yj(e,n){return e.a+=""+n,e}function uo(e,n){return e.a+=""+n,e}function Kt(e,n){return e.a+=""+n,e}function fTe(e,n){e.q.setTime(eg(n))}function aTe(e,n){Lfe.call(this,e,n)}function hTe(e,n){Lfe.call(this,e,n)}function L$(e,n){Lfe.call(this,e,n)}function gc(e,n){Ki(e,n,e.c.b,e.c)}function Rv(e,n){Ki(e,n,e.a,e.a.a)}function cwn(e,n){return e.j[n.p]==2}function dTe(e,n){return e.a=n.g+1,e}function aa(e){return e.a=0,e.b=0,e}function bTe(e){Hu(this),TE(this,e)}function gTe(){this.b=0,this.a=!1}function wTe(){this.b=0,this.a=!1}function pTe(){this.b=new my(H2(12))}function mTe(){mTe=Y,ltn=It(DQ())}function vTe(){vTe=Y,pin=It(KUe())}function yTe(){yTe=Y,lsn=It(bze())}function Bse(){Bse=Y,hoe(),Eme=new wt}function uwn(e){return Ot(e),new Qj(e)}function kTe(e,n){return ue(e)===ue(n)}function P$(e){return e<10?"0"+e:""+e}function jTe(e){return _o(e.l,e.m,e.h)}function su(e){return typeof e===$ge}function jK(e,n){return sf(e.a,0,n)}function Ey(e){return lc((Ln(e),e))}function own(e){return lc((Ln(e),e))}function swn(e,n){return ji(e.a,n.a)}function zse(e,n){return oo(e.a,n.a)}function lwn(e,n){return fDe(e.a,n.a)}function dh(e,n){return e.indexOf(n)}function Fse(e,n){X9(e,0,e.length,n)}function ti(e,n){c$(),ei(xG,e,n)}function an(e,n){Pi.call(this,e,n)}function EK(e,n){S2.call(this,e,n)}function Bv(e,n){Dse.call(this,e,n)}function ETe(e,n){MT.call(this,e,n)}function SK(e,n){n8.call(this,e,n)}function Hh(){Kue.call(this,new L0)}function STe(){bR.call(this,0,0,0,0)}function Jse(e){return pu(e.b.b,e,0)}function xTe(e,n){return oo(e.g,n.g)}function fwn(e){return e==dp||e==mm}function awn(e){return e==dp||e==pm}function hwn(e,n){return oo(e.g,n.g)}function dwn(e,n){return rl(),n.a+=e}function bwn(e,n){return rl(),n.a+=e}function gwn(e,n){return rl(),n.c+=e}function wwn(e,n){return Ce(e.c,n),e}function ATe(e,n){return Ce(e.a,n),n}function Hse(e,n){return fl(e.a,n),e}function MTe(e){this.a=GMe(),this.b=e}function CTe(e){this.a=GMe(),this.b=e}function wc(e){this.a=e.a,this.b=e.b}function Qj(e){this.a=e,kC.call(this)}function TTe(e){this.a=e,kC.call(this)}function Fs(e){return e.sh()&&e.th()}function zv(e){return e!=rh&&e!=vb}function M1(e){return e==Zc||e==ru}function Fv(e){return e==Yl||e==th}function OTe(e){return e==V3||e==K3}function $$(e){return fl(new or,e)}function NTe(e){return NV(u(e,125))}function pwn(e,n){return ji(n.f,e.f)}function ITe(e,n){return new n8(n,e)}function mwn(e,n){return new n8(n,e)}function Dl(e,n,t){Os(e,n),Ns(e,t)}function xK(e,n,t){mB(e,n),vB(e,t)}function jw(e,n,t){Bw(e,n),Rw(e,t)}function ET(e,n,t){n3(e,n),t3(e,t)}function ST(e,n,t){i3(e,n),r3(e,t)}function AK(e,n){s8(e,n),Q9(e,e.D)}function MK(e){eTe.call(this,e,!0)}function Sy(){Lf.call(this,0,0,0,0)}function DTe(){l$.call(this,"Head",1)}function _Te(){l$.call(this,"Tail",3)}function LTe(e,n,t){Ale.call(this,e,n,t)}function Ew(e){bR.call(this,e,e,e,e)}function C0(e){jh(),_7n.call(this,e)}function PTe(e){Ao(e.Qf(),new rje(e))}function Jv(e){return e!=null?Ni(e):0}function vwn(e,n){return B2(n,Pa(e))}function ywn(e,n){return B2(n,Pa(e))}function kwn(e,n){return e[e.length]=n}function jwn(e,n){return e[e.length]=n}function Ewn(e,n){return SB(AV(e.f),n)}function Swn(e,n){return SB(AV(e.n),n)}function xwn(e,n){return SB(AV(e.p),n)}function Gse(e){return Dvn(e.b.Jc(),e.a)}function Awn(e){return e==null?0:Ni(e)}function CK(e){e.c=le(Mr,Nn,1,0,5,1)}function $Te(e,n,t){ir(e.c[n.g],n.g,t)}function Mwn(e,n,t){u(e.c,72).Ei(n,t)}function Cwn(e,n,t){Dl(t,t.i+e,t.j+n)}function Yr(e,n){Pi.call(this,e.b,n)}function Twn(e,n){Et(Vu(e.a),bLe(n))}function Own(e,n){Et(Ts(e.a),gLe(n))}function Nwn(e,n){Qa||(e.b=n)}function TK(e,n,t){return ir(e,n,t),t}function Lt(){Lt=Y,new RTe,new Te}function RTe(){new wt,new wt,new wt}function Iwn(){throw R(new vd(Hen))}function Dwn(){throw R(new vd(Hen))}function _wn(){throw R(new vd(Gen))}function Lwn(){throw R(new vd(Gen))}function BTe(){BTe=Y,are=new GE(Mce)}function Da(){Da=Y,k.Math.log(2)}function _l(){_l=Y,g1=(RMe(),Dan)}function Wj(e){ai(),pw.call(this,e)}function zTe(e){this.a=e,ufe.call(this,e)}function OK(e){this.a=e,ZP.call(this,e)}function NK(e){this.a=e,ZP.call(this,e)}function Tr(e,n){oV(e.c,e.c.length,n)}function gu(e){return e.an?1:0}function Use(e,n){return ao(e,n)>0?e:n}function _o(e,n,t){return{l:e,m:n,h:t}}function Pwn(e,n){e.a!=null&&oTe(n,e.a)}function $wn(e){fc(e,null),Gr(e,null)}function Rwn(e,n,t){return ei(e.g,t,n)}function Bwn(e,n){Ot(n),Kv(e).Ic(new Pe)}function JTe(){Qde(),this.a=new uS(vve)}function R$(e){this.b=e,this.a=new Te}function HTe(e){this.b=new y5,this.a=e}function Xse(e){Rle.call(this),this.a=e}function GTe(e){bae.call(this),this.b=e}function qTe(){l$.call(this,"Range",2)}function B$(e){e.j=le(Pme,Ae,324,0,0,1)}function UTe(e){e.a=new Jt,e.c=new Jt}function XTe(e){e.a=new wt,e.e=new wt}function Kse(e){return new Ee(e.c,e.d)}function zwn(e){return new Ee(e.c,e.d)}function pc(e){return new Ee(e.a,e.b)}function Fwn(e,n){return ei(e.a,n.a,n)}function Jwn(e,n,t){return ei(e.k,t,n)}function Hv(e,n,t){return pde(n,t,e.c)}function Vse(e,n){return re(zn(e.i,n))}function Yse(e,n){return re(zn(e.j,n))}function KTe(e,n){return j$n(e.a,n,null)}function Zj(e,n){return IPn(e.c,e.b,n)}function X(e,n){return e!=null&&$Q(e,n)}function VTe(e,n){kt(e),e.Fc(u(n,16))}function Hwn(e,n,t){e.c._c(n,u(t,136))}function Gwn(e,n,t){e.c.Si(n,u(t,136))}function qwn(e,n,t){return y$n(e,n,t),t}function Uwn(e,n){return cl(),n.n.b+=e}function IK(e,n){return lkn(e.Jc(),n)!=-1}function Xwn(e,n){return new EOe(e.Jc(),n)}function z$(e){return e.Ob()?e.Pb():null}function YTe(e){return vh(e,0,e.length)}function QTe(e){KV(e,null),VV(e,null)}function WTe(){MT.call(this,null,null)}function ZTe(){U$.call(this,null,null)}function eOe(){Tt.call(this,"INSTANCE",0)}function Gv(){this.a=le(Mr,Nn,1,8,5,1)}function Qse(e){this.a=e,wt.call(this)}function nOe(e){this.a=(En(),new g9(e))}function Kwn(e){this.b=(En(),new aX(e))}function x9(){x9=Y,Ume=new xX(null)}function Wse(){Wse=Y,Wse(),knn=new At}function Ce(e,n){return qn(e.c,n),!0}function tOe(e,n){e.c&&(vfe(n),I_e(n))}function Vwn(e,n){e.q.setHours(n),aS(e,n)}function Zse(e,n){return e.a.Ac(n)!=null}function DK(e,n){return e.a.Ac(n)!=null}function _a(e,n){return e.a[n.c.p][n.p]}function Ywn(e,n){return e.e[n.c.p][n.p]}function Qwn(e,n){return e.c[n.c.p][n.p]}function _K(e,n,t){return e.a[n.g][t.g]}function Wwn(e,n){return e.j[n.p]=rNn(n)}function xy(e,n){return e.a*n.a+e.b*n.b}function Zwn(e,n){return e.a=e}function rpn(e,n,t){return t?n!=0:n!=e-1}function iOe(e,n,t){e.a=n^1502,e.b=t^JZ}function cpn(e,n,t){return e.a=n,e.b=t,e}function C1(e,n){return e.a*=n,e.b*=n,e}function eE(e,n,t){return ir(e.g,n,t),t}function upn(e,n,t,i){ir(e.a[n.g],t.g,i)}function mr(e,n,t){BT.call(this,e,n,t)}function F$(e,n,t){mr.call(this,e,n,t)}function rs(e,n,t){mr.call(this,e,n,t)}function rOe(e,n,t){F$.call(this,e,n,t)}function ele(e,n,t){BT.call(this,e,n,t)}function qv(e,n,t){BT.call(this,e,n,t)}function cOe(e,n,t){iR.call(this,e,n,t)}function nle(e,n,t){iR.call(this,e,n,t)}function uOe(e,n,t){nle.call(this,e,n,t)}function oOe(e,n,t){ele.call(this,e,n,t)}function T0(e){this.c=e,this.a=this.c.a}function st(e){this.i=e,this.f=this.i.j}function Uv(e,n){this.a=e,ZP.call(this,n)}function sOe(e,n){this.a=e,OX.call(this,n)}function lOe(e,n){this.a=e,OX.call(this,n)}function fOe(e,n){this.a=e,OX.call(this,n)}function tle(e){this.a=e,GU.call(this,e.d)}function aOe(e){e.b.Qb(),--e.d.f.d,wR(e.d)}function hOe(e){e.a=u(Kn(e.b.a,4),129)}function dOe(e){e.a=u(Kn(e.b.a,4),129)}function opn(e){UT(e,wZe),Pz(e,pRn(e))}function ile(e,n){return Rjn(e,new j0,n).a}function spn(e){return nT(e.a)?dLe(e):null}function bOe(e){Cv.call(this,u(Ot(e),35))}function gOe(e){Cv.call(this,u(Ot(e),35))}function rle(e){if(!e)throw R(new ZC)}function cle(e){if(!e)throw R(new is)}function Qn(e,n){return Ot(n),new jOe(e,n)}function wOe(e,n){return new cqe(e.a,e.b,n)}function lpn(e){return e.l+e.m*p4+e.h*gg}function fpn(e){return e==null?null:e.name}function ule(e,n,t){return e.indexOf(n,t)}function J$(e,n){return e.lastIndexOf(n)}function nE(e){return e==null?Vo:fu(e)}function $n(){$n=Y,cb=!1,w7=!0}function pOe(){pOe=Y,zX(),shn=new FU}function ole(){this.Bb|=256,this.Bb|=512}function mOe(){B$(this),NR(this),this.he()}function H$(e){Hr.call(this,e),this.a=e}function sle(e){ic.call(this,e),this.a=e}function lle(e){g9.call(this,e),this.a=e}function uf(e){Di.call(this,(Ln(e),e))}function il(e){Di.call(this,(Ln(e),e))}function LK(e){Kue.call(this,new ahe(e))}function vOe(e){this.a=e,Xi.call(this,e)}function fle(e,n){this.a=n,OX.call(this,e)}function yOe(e,n){this.a=n,uY.call(this,e)}function kOe(e,n){this.a=e,uY.call(this,n)}function jOe(e,n){this.a=n,WP.call(this,e)}function EOe(e,n){this.a=n,WP.call(this,e)}function ale(e){pX.call(this),ac(this,e)}function Js(e){return at(e.a!=null),e.a}function SOe(e,n){return Ce(n.a,e.a),e.a}function xOe(e,n){return Ce(n.b,e.a),e.a}function Sw(e,n){return Ce(n.a,e.a),e.a}function xT(e,n,t){return UY(e,n,n,t),e}function G$(e,n){return++e.b,Ce(e.a,n)}function hle(e,n){return++e.b,qo(e.a,n)}function apn(e,n){return ji(e.c.d,n.c.d)}function hpn(e,n){return ji(e.c.c,n.c.c)}function dpn(e,n){return ji(e.n.a,n.n.a)}function Ho(e,n){return u(vi(e.b,n),16)}function bpn(e,n){return e.n.b=(Ln(n),n)}function gpn(e,n){return e.n.b=(Ln(n),n)}function cs(e,n){return!!n&&e.b[n.g]==n}function tE(e){return gu(e.a)||gu(e.b)}function wpn(e,n){return ji(e.e.b,n.e.b)}function ppn(e,n){return ji(e.e.a,n.e.a)}function mpn(e,n,t){return fPe(e,n,t,e.b)}function dle(e,n,t){return fPe(e,n,t,e.c)}function vpn(e){return rl(),!!e&&!e.dc()}function AOe(){Nj(),this.b=new zje(this)}function q$(){q$=Y,yJ=new Pi(rQe,0)}function Ay(e){this.d=e,st.call(this,e)}function My(e){this.c=e,st.call(this,e)}function AT(e){this.c=e,Ay.call(this,e)}function ble(e,n){Ade.call(this,e,n,null)}function Cy(e){return e.a!=null?e.a:null}function xw(e){return e.$H||(e.$H=++zBn)}function Ad(e){var n;n=e.a,e.a=e.b,e.b=n}function MT(e,n){Lj(),this.a=e,this.b=n}function U$(e,n){xd(),this.b=e,this.c=n}function X$(e,n){fV(),this.f=n,this.d=e}function gle(e,n){nhe(n,e),this.c=e,this.b=n}function ypn(e,n){return dV(e.c).Kd().Xb(n)}function PK(e,n){return new MNe(e,e.gc(),n)}function kpn(e){return HP(),Nt((oLe(),Wen),e)}function jpn(e){return new P2(3,e)}function Gh(e){return ll(e,om),new xo(e)}function MOe(e){return J9(),parseInt(e)||-1}function A9(e,n,t){return ule(e,Xo(n),t)}function wle(e,n,t){u(fO(e,n),22).Ec(t)}function Epn(e,n,t){wQ(e.a,t),dz(e.a,n)}function M9(e,n,t){var i;i=e.dd(n),i.Rb(t)}function COe(e,n,t,i){Dfe.call(this,e,n,t,i)}function TOe(e){sfe.call(this,e,null,null)}function $K(e){d2(),this.b=e,this.a=!0}function OOe(e){e$(),this.b=e,this.a=!0}function NOe(e){if(!e)throw R(new Il)}function ple(e){if(!e)throw R(new ZC)}function Spn(e){if(!e)throw R(new gX)}function at(e){if(!e)throw R(new hu)}function v2(e){if(!e)throw R(new is)}function IOe(e){e.d=new TOe(e),e.e=new wt}function C9(e){return at(e.b!=0),e.a.a.c}function Df(e){return at(e.b!=0),e.c.b.c}function xpn(e,n){return UY(e,n,n+1,""),e}function DOe(e){lZ(),nxe(this),this.Df(e)}function _Oe(e){this.c=e,this.a=1,this.b=1}function CT(e){X(e,161)&&u(e,161).mi()}function LOe(e){return e.b=u(lae(e.a),45)}function y2(e,n){return u(Ba(e.a,n),35)}function wi(e,n){return!!e.q&&so(e.q,n)}function Apn(e,n){return e>0?n/(e*e):n*100}function Mpn(e,n){return e>0?n*n/e:n*n*100}function Cpn(e){return e.f!=null?e.f:""+e.g}function RK(e){return e.f!=null?e.f:""+e.g}function Tpn(e){return R1(),e.e.a+e.f.a/2}function Opn(e){return R1(),e.e.b+e.f.b/2}function Npn(e,n,t){return R1(),t.e.b-e*n}function Ipn(e,n,t){return R1(),t.e.a-e*n}function Dpn(e,n,t){return t$(),t.Lg(e,n)}function _pn(e,n){return U0(),gn(e,n.e,n)}function Lpn(e,n,t){return Ce(n,cJe(e,t))}function Ppn(e,n,t){uB(),e.nf(n)&&t.Ad(e)}function k2(e,n,t){return e.a+=n,e.b+=t,e}function POe(e,n,t){return e.a-=n,e.b-=t,e}function mle(e,n){return e.a=n.a,e.b=n.b,e}function K$(e){return e.a=-e.a,e.b=-e.b,e}function $Oe(e){this.c=e,Os(e,0),Ns(e,0)}function ROe(e){xi.call(this),CE(this,e)}function BOe(){Tt.call(this,"GROW_TREE",0)}function Hs(e,n,t){os.call(this,e,n,t,2)}function zOe(e,n){xd(),vle.call(this,e,n)}function vle(e,n){xd(),U$.call(this,e,n)}function FOe(e,n){xd(),U$.call(this,e,n)}function JOe(e,n){Lj(),MT.call(this,e,n)}function BK(e,n){_l(),hR.call(this,e,n)}function HOe(e,n){_l(),BK.call(this,e,n)}function yle(e,n){_l(),BK.call(this,e,n)}function GOe(e,n){_l(),yle.call(this,e,n)}function kle(e,n){_l(),hR.call(this,e,n)}function qOe(e,n){_l(),kle.call(this,e,n)}function UOe(e,n){_l(),hR.call(this,e,n)}function $pn(e,n){return e.c.Ec(u(n,136))}function Rpn(e,n){return u(zn(e.e,n),26)}function Bpn(e,n){return u(zn(e.e,n),26)}function jle(e,n,t){return Wz(hO(e,n),t)}function zpn(e,n,t){return n.xl(e.e,e.c,t)}function Fpn(e,n,t){return n.yl(e.e,e.c,t)}function zK(e,n){return J0(e.e,u(n,52))}function Jpn(e,n,t){FE(Vu(e.a),n,bLe(t))}function Hpn(e,n,t){FE(Ts(e.a),n,gLe(t))}function XOe(e,n){return Ln(e),e+UK(n)}function Gpn(e){return e==null?null:fu(e)}function qpn(e){return e==null?null:fu(e)}function Upn(e){return e==null?null:bCn(e)}function Xpn(e){return e==null?null:sRn(e)}function T1(e){e.o==null&&DOn(e)}function Be(e){return cE(e==null||p2(e)),e}function re(e){return cE(e==null||m2(e)),e}function Pt(e){return cE(e==null||$r(e)),e}function Kpn(e,n){return qQ(e,n),new RDe(e,n)}function TT(e,n){this.c=e,y9.call(this,e,n)}function iE(e,n){this.a=e,TT.call(this,e,n)}function Vpn(e,n){this.d=e,nn(this),this.b=n}function Ele(){MBe.call(this),this.Bb|=Ec}function KOe(){this.a=new _w,this.b=new _w}function Sle(e){this.q=new k.Date(eg(e))}function Xv(){Xv=Y,W3=new ki("root")}function T9(){T9=Y,cD=new Nxe,new Ixe}function j2(){j2=Y,Zme=rn((Vs(),$g))}function Ypn(e,n){n.a?eOn(e,n):DK(e.a,n.b)}function VOe(e,n){Qa||Ce(e.a,n)}function Qpn(e,n){return sT(),e8(n.d.i,e)}function Wpn(e,n){return Vy(),new GXe(n,e)}function Zpn(e,n,t){return e.Le(n,t)<=0?t:n}function e2n(e,n,t){return e.Le(n,t)<=0?n:t}function n2n(e,n){return u(Ba(e.b,n),144)}function t2n(e,n){return u(Ba(e.c,n),233)}function FK(e){return u(Le(e.a,e.b),295)}function YOe(e){return new Ee(e.c,e.d+e.a)}function QOe(e){return Ln(e),e?1231:1237}function WOe(e){return cl(),OTe(u(e,203))}function xle(e,n){return u(zn(e.b,n),278)}function ZOe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function OT(e,n,t){++e.j,e.rj(),gY(e,n,t)}function Ale(e,n,t){iB.call(this,e,n,t,null)}function eNe(e,n,t){iB.call(this,e,n,t,null)}function Mle(e,n){wY.call(this,e),this.a=n}function Cle(e,n){wY.call(this,e),this.a=n}function Pi(e,n){ki.call(this,e),this.a=n}function Tle(e,n){ooe.call(this,e),this.a=n}function JK(e,n){ooe.call(this,e),this.a=n}function nNe(e,n){this.c=e,$w.call(this,n)}function tNe(e,n){this.a=e,USe.call(this,n)}function NT(e,n){this.a=e,USe.call(this,n)}function Ole(e,n,t){return t=dl(e,n,3,t),t}function Nle(e,n,t){return t=dl(e,n,6,t),t}function Ile(e,n,t){return t=dl(e,n,9,t),t}function bh(e,n){return UT(n,twe),e.f=n,e}function Dle(e,n){return(n&oi)%e.d.length}function iNe(e,n,t){return wge(e.c,e.b,n,t)}function i2n(e,n,t){return e.apply(n,t)}function rNe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function cNe(e,n,t){return e.a+=vh(n,0,t),e}function IT(e){return!e.a&&(e.a=new mn),e.a}function _le(e,n){var t;return t=e.e,e.e=n,t}function Lle(e,n){var t;return t=n,!!e.De(t)}function Jb(e,n){return $n(),e==n?0:e?1:-1}function E2(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function r2n(e,n){var t;t=e[FZ],t.call(e,n)}function c2n(e,n){var t;t=e[FZ],t.call(e,n)}function u2n(e,n,t){zb(),AP(e,n.Te(e.a,t))}function Ple(e,n,t){return Py(e,u(n,23),t)}function _f(e,n){return XP(new Array(n),e)}function o2n(e){return Rt(Ub(e,32))^Rt(e)}function HK(e){return String.fromCharCode(e)}function s2n(e){return e==null?null:e.message}function GK(e){this.a=(En(),new _n(Ot(e)))}function uNe(e){this.a=(ll(e,om),new xo(e))}function oNe(e){this.a=(ll(e,om),new xo(e))}function sNe(){this.a=new Te,this.b=new Te}function lNe(){this.a=new ov,this.b=new sxe}function $le(){this.b=new L0,this.a=new L0}function fNe(){this.b=new Vr,this.c=new Te}function Rle(){this.n=new Vr,this.o=new Vr}function V$(){this.n=new ay,this.i=new Sy}function aNe(){this.b=new ar,this.a=new ar}function hNe(){this.a=new Te,this.d=new Te}function dNe(){this.a=new IU,this.b=new l_}function bNe(){this.b=new FAe,this.a=new SM}function gNe(){this.b=new wt,this.a=new wt}function wNe(){V$.call(this),this.a=new Vr}function Ble(e,n,t,i){bR.call(this,e,n,t,i)}function l2n(e,n){return e.n.a=(Ln(n),n+10)}function f2n(e,n){return e.n.a=(Ln(n),n+10)}function a2n(e,n){return sT(),!e8(n.d.i,e)}function pNe(e){Hu(e.e),e.d.b=e.d,e.d.a=e.d}function DT(e){e.b?DT(e.b):e.f.c.yc(e.e,e.d)}function h2n(e,n){M1(e.f)?xOn(e,n):pMn(e,n)}function mNe(e,n,t){t!=null&&xB(n,KQ(e,t))}function vNe(e,n,t){t!=null&&AB(n,KQ(e,t))}function Ty(e,n,t,i){pe.call(this,e,n,t,i)}function zle(e,n,t,i){pe.call(this,e,n,t,i)}function yNe(e,n,t,i){zle.call(this,e,n,t,i)}function kNe(e,n,t,i){jR.call(this,e,n,t,i)}function qK(e,n,t,i){jR.call(this,e,n,t,i)}function jNe(e,n,t,i){qK.call(this,e,n,t,i)}function Fle(e,n,t,i){jR.call(this,e,n,t,i)}function In(e,n,t,i){Fle.call(this,e,n,t,i)}function Jle(e,n,t,i){qK.call(this,e,n,t,i)}function ENe(e,n,t,i){Jle.call(this,e,n,t,i)}function SNe(e,n,t,i){$fe.call(this,e,n,t,i)}function S2(e,n){jo.call(this,FS+e+yg+n)}function d2n(e,n){return n==e||E8(Lz(n),e)}function Hle(e,n){return e.hk().ti().oi(e,n)}function Gle(e,n){return e.hk().ti().qi(e,n)}function b2n(e,n){return e.e=u(e.d.Kb(n),162)}function xNe(e,n){return ei(e.a,n,"")==null}function ANe(e,n){return Ln(e),ue(e)===ue(n)}function bn(e,n){return Ln(e),ue(e)===ue(n)}function qle(e,n,t){return e.lastIndexOf(n,t)}function MNe(e,n,t){this.a=e,gle.call(this,n,t)}function CNe(e){this.c=e,L$.call(this,pN,0)}function TNe(e,n,t){this.c=n,this.b=t,this.a=e}function pi(e,n){return e.a+=n.a,e.b+=n.b,e}function Nr(e,n){return e.a-=n.a,e.b-=n.b,e}function g2n(e){return o2(e.j.c,0),e.a=-1,e}function w2n(e,n){var t;return t=n.ni(e.a),t}function Ule(e,n,t){return t=dl(e,n,11,t),t}function p2n(e,n,t){return ji(e[n.a],e[t.a])}function m2n(e,n){return oo(e.a.d.p,n.a.d.p)}function v2n(e,n){return oo(n.a.d.p,e.a.d.p)}function y2n(e,n){return ji(e.c-e.s,n.c-n.s)}function k2n(e,n){return ji(e.b.e.a,n.b.e.a)}function j2n(e,n){return ji(e.c.e.a,n.c.e.a)}function E2n(e,n){return he(n,(Oe(),gI),e)}function S2n(e,n){return e.b.zd(new XMe(e,n))}function x2n(e,n){return e.b.zd(new KMe(e,n))}function ONe(e,n){return e.b.zd(new VMe(e,n))}function NNe(e,n){return X(n,16)&&SXe(e.c,n)}function INe(e){return e.c?pu(e.c.a,e,0):-1}function A2n(e){return e<100?null:new E0(e)}function Oy(e){return e==Pg||e==d1||e==to}function M2n(e,n,t){return u(e.c,72).Uk(n,t)}function Y$(e,n,t){return u(e.c,72).Vk(n,t)}function C2n(e,n,t){return zpn(e,u(n,344),t)}function Xle(e,n,t){return Fpn(e,u(n,344),t)}function T2n(e,n,t){return aGe(e,u(n,344),t)}function DNe(e,n,t){return TMn(e,u(n,344),t)}function rE(e,n){return n==null?null:q2(e.b,n)}function O2n(e,n){Qa||n&&(e.d=n)}function Kle(e,n){if(!e)throw R(new Un(n))}function O9(e){if(!e)throw R(new Uc(Rge))}function UK(e){return m2(e)?(Ln(e),e):e.se()}function Q$(e){return!isNaN(e)&&!isFinite(e)}function XK(e){UTe(this),qs(this),ac(this,e)}function bs(e){CK(this),ffe(this.c,0,e.Nc())}function _T(e){N9(),this.d=e,this.a=new Gv}function _Ne(e,n,t){this.d=e,this.b=t,this.a=n}function Ll(e,n,t){this.a=e,this.b=n,this.c=t}function LNe(e,n,t){this.a=e,this.b=n,this.c=t}function Vle(e,n){this.c=e,yV.call(this,e,n)}function PNe(e,n){$vn.call(this,e,e.length,n)}function KK(e,n){if(e!=n)throw R(new Il)}function $Ne(e){this.a=e,Sd(),Lu(Date.now())}function RNe(e){As(e.a),she(e.c,e.b),e.b=null}function VK(){VK=Y,qme=new di,vnn=new Gt}function YK(e){var n;return n=new d6,n.e=e,n}function N2n(e,n,t){return zb(),e.a.Wd(n,t),n}function Yle(e,n,t){this.b=e,this.c=n,this.a=t}function Qle(e){var n;return n=new bxe,n.b=e,n}function I2n(e){return pa(),Nt((_$e(),Pnn),e)}function D2n(e){return K9(),Nt((K$e(),jnn),e)}function _2n(e){return Fl(),Nt((D$e(),Cnn),e)}function L2n(e){return ws(),Nt((L$e(),Rnn),e)}function P2n(e){return Uo(),Nt((P$e(),znn),e)}function $2n(e){return iF(),Nt((mTe(),ltn),e)}function R2n(e){return Fw(),Nt((Z$e(),atn),e)}function B2n(e){return r8(),Nt((eRe(),nin),e)}function z2n(e){return dB(),Nt((zPe(),ytn),e)}function F2n(e){return SE(),Nt((I$e(),Utn),e)}function J2n(e){return zr(),Nt((JRe(),Ytn),e)}function H2n(e){return t4(),Nt((W$e(),oin),e)}function G2n(e){return Fn(),Nt((fze(),ain),e)}function q2n(e){return Z9(),Nt((FPe(),win),e)}function QK(e){bR.call(this,e.d,e.c,e.a,e.b)}function Wle(e){bR.call(this,e.d,e.c,e.a,e.b)}function U2n(e){return Ur(),Nt((vTe(),pin),e)}function BNe(){BNe=Y,Ran=le(Mr,Nn,1,0,5,1)}function zNe(){zNe=Y,thn=le(Mr,Nn,1,0,5,1)}function Zle(){Zle=Y,ihn=le(Mr,Nn,1,0,5,1)}function LT(){LT=Y,AJ=new fq,MJ=new JA}function W$(){W$=Y,jin=new Tq,kin=new Oq}function rl(){rl=Y,Min=new vk,Cin=new ad}function X2n(e){return zw(),Nt((w$e(),Rin),e)}function K2n(e){return Ff(),Nt((rRe(),Nin),e)}function V2n(e){return Y2(),Nt((PRe(),Din),e)}function Y2n(e){return Hz(),Nt((dze(),Bin),e)}function Q2n(e){return u4(),Nt((wBe(),zin),e)}function W2n(e){return cB(),Nt((EPe(),Fin),e)}function Z2n(e){return HE(),Nt((uRe(),Jin),e)}function emn(e){return kB(),Nt((a$e(),Hin),e)}function nmn(e){return ZO(),Nt((vze(),Gin),e)}function tmn(e){return gO(),Nt((SPe(),qin),e)}function imn(e){return cg(),Nt((h$e(),Xin),e)}function rmn(e){return Cz(),Nt((gBe(),Kin),e)}function cmn(e){return lO(),Nt((xPe(),Vin),e)}function umn(e){return qO(),Nt((dBe(),Yin),e)}function omn(e){return x8(),Nt((bBe(),Qin),e)}function smn(e){return Ic(),Nt((Pze(),Win),e)}function lmn(e){return i8(),Nt((d$e(),Zin),e)}function fmn(e){return B0(),Nt((b$e(),ern),e)}function amn(e){return P1(),Nt((g$e(),trn),e)}function hmn(e){return UR(),Nt((APe(),irn),e)}function dmn(e){return Xs(),Nt((RRe(),crn),e)}function bmn(e){return VR(),Nt((MPe(),urn),e)}function gmn(e){return nN(),Nt((yze(),Xun),e)}function wmn(e){return $E(),Nt((p$e(),Kun),e)}function pmn(e){return V2(),Nt((tRe(),Vun),e)}function mmn(e){return XE(),Nt(($Re(),Yun),e)}function vmn(e){return V0(),Nt((Lze(),Qun),e)}function ymn(e){return H1(),Nt((iRe(),Wun),e)}function kmn(e){return aO(),Nt((CPe(),Zun),e)}function jmn(e){return Nc(),Nt((m$e(),non),e)}function Emn(e){return PB(),Nt((v$e(),ton),e)}function Smn(e){return PE(),Nt((y$e(),ion),e)}function xmn(e){return l8(),Nt((k$e(),ron),e)}function Amn(e){return yB(),Nt((j$e(),con),e)}function Mmn(e){return $B(),Nt((E$e(),uon),e)}function Cmn(e){return BB(),Nt((Q$e(),yin),e)}function Tmn(e){return og(),Nt((nRe(),xon),e)}function Omn(e,n){return Ln(e),e+(Ln(n),n)}function Nmn(e){return jE(),Nt((TPe(),Oon),e)}function Imn(e){return gh(),Nt((NPe(),$on),e)}function Dmn(e){return La(),Nt((OPe(),Bon),e)}function _mn(e){return ba(),Nt((IPe(),esn),e)}function N9(){N9=Y,i4e=(Ie(),Yn),_H=nt}function Lmn(e){return Lw(),Nt((DPe(),osn),e)}function Pmn(e){return c4(),Nt((lRe(),ssn),e)}function $mn(e){return lS(),Nt((yTe(),lsn),e)}function Rmn(e){return LE(),Nt((S$e(),fsn),e)}function Bmn(e){return _E(),Nt((cRe(),Dsn),e)}function zmn(e){return qR(),Nt((_Pe(),_sn),e)}function Fmn(e){return CB(),Nt((LPe(),Bsn),e)}function Jmn(e){return Ez(),Nt((BRe(),Fsn),e)}function Hmn(e){return oB(),Nt((PPe(),Jsn),e)}function Gmn(e){return CO(),Nt((x$e(),Hsn),e)}function qmn(e){return gz(),Nt((sRe(),lln),e)}function Umn(e){return LB(),Nt((A$e(),fln),e)}function Xmn(e){return tz(),Nt((M$e(),aln),e)}function Kmn(e){return xz(),Nt((oRe(),dln),e)}function Vmn(e){return QB(),Nt((N$e(),wln),e)}function Ymn(e){return!e.e&&(e.e=new Te),e.e}function Z$(e,n,t){this.e=n,this.b=e,this.d=t}function FNe(e,n,t){this.a=e,this.b=n,this.c=t}function JNe(e,n,t){this.a=e,this.b=n,this.c=t}function efe(e,n,t){this.a=e,this.b=n,this.c=t}function HNe(e,n,t){this.a=e,this.b=n,this.c=t}function GNe(e,n,t){this.a=e,this.c=n,this.b=t}function eR(e,n,t){this.b=e,this.a=n,this.c=t}function qNe(e,n,t){this.b=e,this.a=n,this.c=t}function WK(e,n){this.c=e,this.a=n,this.b=n-e}function Qmn(e){return UB(),Nt((T$e(),zln),e)}function Wmn(e){return r$(),Nt((ePe(),Uln),e)}function Zmn(e){return iO(),Nt((RPe(),Xln),e)}function evn(e){return XO(),Nt((FRe(),Kln),e)}function nvn(e){return i$(),Nt((ZLe(),Gln),e)}function tvn(e){return cS(),Nt((zRe(),Jln),e)}function ivn(e){return DO(),Nt((O$e(),Hln),e)}function rvn(e){return ZR(),Nt(($Pe(),Rln),e)}function cvn(e){return sB(),Nt((C$e(),Bln),e)}function uvn(e){return Ij(),Nt((nPe(),ffn),e)}function ovn(e){return jO(),Nt((BPe(),afn),e)}function svn(e){return kh(),Nt((GRe(),pfn),e)}function lvn(e){return hg(),Nt((aze(),vfn),e)}function fvn(e){return J1(),Nt((aRe(),nan),e)}function avn(e){return vr(),Nt((HRe(),Wfn),e)}function hvn(e){return a8(),Nt((fRe(),Zfn),e)}function dvn(e){return za(),Nt(($$e(),ean),e)}function bvn(e){return Wh(),Nt((lBe(),yfn),e)}function gvn(e){return ag(),Nt((fBe(),Afn),e)}function wvn(e){return em(),Nt((jze(),oan),e)}function pvn(e){return l3(),Nt((qRe(),san),e)}function mvn(e){return Br(),Nt((hBe(),lan),e)}function vvn(e){return ps(),Nt((aBe(),fan),e)}function yvn(e){return al(),Nt((hRe(),uan),e)}function kvn(e){return Az(),Nt((sBe(),tan),e)}function jvn(e){return F1(),Nt((B$e(),ran),e)}function Evn(e){return YR(),Nt((dRe(),yan),e)}function Svn(e){return _s(),Nt((kze(),man),e)}function xvn(e){return Zy(),Nt((R$e(),van),e)}function Avn(e){return Ie(),Nt((URe(),aan),e)}function Mvn(e){return AE(),Nt((z$e(),wan),e)}function Cvn(e){return Vs(),Nt((bRe(),pan),e)}function Tvn(e){return WB(),Nt((gRe(),kan),e)}function Ovn(e){return zB(),Nt((wRe(),San),e)}function Nvn(e){return M8(),Nt((hze(),$an),e)}function UNe(e,n,t){_l(),wae.call(this,e,n,t)}function ZK(e,n,t){_l(),Qfe.call(this,e,n,t)}function XNe(e,n,t){_l(),ZK.call(this,e,n,t)}function nfe(e,n,t){_l(),ZK.call(this,e,n,t)}function KNe(e,n,t){_l(),nfe.call(this,e,n,t)}function VNe(e,n,t){_l(),tfe.call(this,e,n,t)}function tfe(e,n,t){_l(),Qfe.call(this,e,n,t)}function ife(e,n,t){_l(),Qfe.call(this,e,n,t)}function YNe(e,n,t){_l(),ife.call(this,e,n,t)}function QNe(e,n,t){this.a=e,this.c=n,this.b=t}function WNe(e,n,t){this.a=e,this.b=n,this.c=t}function rfe(e,n,t){this.a=e,this.b=n,this.c=t}function cfe(e,n,t){this.a=e,this.b=n,this.c=t}function eV(e,n,t){this.a=e,this.b=n,this.c=t}function ZNe(e,n,t){this.a=e,this.b=n,this.c=t}function Md(e,n,t){this.e=e,this.a=n,this.c=t}function ufe(e){this.d=e,nn(this),this.b=S3n(e.d)}function ofe(e,n){Egn.call(this,e,VB(new Su(n)))}function PT(e,n){return Ot(e),Ot(n),new rMe(e,n)}function Ny(e,n){return Ot(e),Ot(n),new fIe(e,n)}function Ivn(e,n){return Ot(e),Ot(n),new aIe(e,n)}function Dvn(e,n){return Ot(e),Ot(n),new gMe(e,n)}function nV(e){return at(e.b!=0),Rl(e,e.a.a)}function _vn(e){return at(e.b!=0),Rl(e,e.c.b)}function Lvn(e){return!e.c&&(e.c=new Nl),e.c}function $T(e){var n;return n=new xi,BY(n,e),n}function eIe(e){var n;return n=new pX,BY(n,e),n}function Pvn(e){var n;return n=new ar,MY(n,e),n}function I9(e){var n;return n=new Te,MY(n,e),n}function u(e,n){return cE(e==null||$Q(e,n)),e}function $vn(e,n,t){ZIe.call(this,n,t),this.a=e}function nIe(e,n){this.c=e,this.b=n,this.a=!1}function tIe(){this.a=";,;",this.b="",this.c=""}function iIe(e,n,t){this.b=e,aTe.call(this,n,t)}function sfe(e,n,t){this.c=e,s$.call(this,n,t)}function lfe(e,n,t){S9.call(this,e,n),this.b=t}function ffe(e,n,t){tbe(t,0,e,n,t.length,!1)}function qh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function afe(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function Rvn(e,n){n&&(e.b=n,e.a=(N0(n),n.a))}function RT(e,n){if(!e)throw R(new Un(n))}function Iy(e,n){if(!e)throw R(new Uc(n))}function hfe(e,n){if(!e)throw R(new lAe(n))}function Bvn(e,n){return n$(),oo(e.d.p,n.d.p)}function zvn(e,n){return R1(),ji(e.e.b,n.e.b)}function Fvn(e,n){return R1(),ji(e.e.a,n.e.a)}function Jvn(e,n){return oo(wIe(e.d),wIe(n.d))}function nR(e,n){return n&&MR(e,n.d)?n:null}function Hvn(e,n){return n==(Ie(),Yn)?e.c:e.d}function Gvn(e){return new Ee(e.c+e.b,e.d+e.a)}function rIe(e){return e!=null&&!jQ(e,fA,aA)}function qvn(e,n){return(zFe(e)<<4|zFe(n))&yr}function cIe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function dfe(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function bfe(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function Uvn(e,n){var t;return t=e.c,Ghe(e,n),t}function gfe(e,n){return n<0?e.g=-1:e.g=n,e}function tR(e,n){return $8n(e),e.a*=n,e.b*=n,e}function BT(e,n,t){_se.call(this,e,n),this.c=t}function iR(e,n,t){_se.call(this,e,n),this.c=t}function wfe(e){Zle(),xv.call(this),this._h(e)}function uIe(){q9(),r5n.call(this,(x0(),jf))}function oIe(e){return ai(),new Uh(0,e)}function sIe(){sIe=Y,Gce=(En(),new _n(Bne))}function rR(){rR=Y,new Tde((SX(),Qne),(EX(),Yne))}function lIe(){this.b=ne(re(_e((Gf(),jte))))}function tV(e){this.b=e,this.a=Gb(this.b.a).Md()}function fIe(e,n){this.b=e,this.a=n,kC.call(this)}function aIe(e,n){this.a=e,this.b=n,kC.call(this)}function hIe(e,n,t){this.a=e,Bv.call(this,n,t)}function dIe(e,n,t){this.a=e,Bv.call(this,n,t)}function D9(e,n,t){var i;i=new O2(t),Rf(e,n,i)}function pfe(e,n,t){var i;return i=e[n],e[n]=t,i}function cR(e){var n;return n=e.slice(),yY(n,e)}function uR(e){var n;return n=e.n,e.a.b+n.d+n.a}function bIe(e){var n;return n=e.n,e.e.b+n.d+n.a}function mfe(e){var n;return n=e.n,e.e.a+n.b+n.c}function vfe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Vt(e,n){return Ki(e,n,e.c.b,e.c),!0}function Xvn(e){return e.a?e.a:IV(e)}function cE(e){if(!e)throw R(new b9(null))}function Aw(e,n){return QE(e,new S9(n.a,n.b))}function Kvn(e){return!uc(e)&&e.c.i.c==e.d.i.c}function Vvn(e,n){return e.c=n)throw R(new kxe)}function Hu(e){e.f=new MTe(e),e.i=new CTe(e),++e.g}function yR(e){this.b=new xo(11),this.a=(Iw(),e)}function gV(e){this.b=null,this.a=(Iw(),e||Hme)}function Lfe(e,n){this.e=e,this.d=(n&64)!=0?n|Sh:n}function ZIe(e,n){this.c=0,this.d=e,this.b=n|64|Sh}function eDe(e){this.a=eHe(e.a),this.b=new bs(e.b)}function Cd(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function Pfe(e){var n;for(n=e;n.f;)n=n.f;return n}function N3n(e){return e.e?che(e.e):null}function lE(e){return ps(),!e.Gc(nd)&&!e.Gc(yb)}function nDe(e,n,t){return O8(),qY(e,n)&&qY(e,t)}function tDe(e,n,t){return fYe(e,u(n,12),u(t,12))}function wV(e,n){return n.Sh()?J0(e.b,u(n,52)):n}function kR(e){return new Ee(e.c+e.b/2,e.d+e.a/2)}function I3n(e,n,t){n.of(t,ne(re(zn(e.b,t)))*e.a)}function D3n(e,n){n.Tg("General 'Rotator",1),K$n(e)}function Dr(e,n,t,i,r){mY.call(this,e,n,t,i,r,-1)}function fE(e,n,t,i,r){oO.call(this,e,n,t,i,r,-1)}function pe(e,n,t,i){mr.call(this,e,n,t),this.b=i}function jR(e,n,t,i){BT.call(this,e,n,t),this.b=i}function iDe(e){eTe.call(this,e,!1),this.a=!1}function rDe(){kK.call(this,"LOOKAHEAD_LAYOUT",1)}function cDe(){kK.call(this,"LAYOUT_NEXT_LEVEL",3)}function uDe(e){this.b=e,Ay.call(this,e),hOe(this)}function oDe(e){this.b=e,AT.call(this,e),dOe(this)}function sDe(e,n){this.b=e,GU.call(this,e.b),this.a=n}function C2(e,n,t){this.a=e,Ty.call(this,n,t,5,6)}function $fe(e,n,t,i){this.b=e,mr.call(this,n,t,i)}function Xb(e,n,t){jh(),this.e=e,this.d=n,this.a=t}function Zr(e,n){for(Ln(n);e.Ob();)n.Ad(e.Pb())}function ER(e,n){return ai(),new Wfe(e,n,0)}function pV(e,n){return ai(),new Wfe(6,e,n)}function _3n(e,n){return bn(e.substr(0,n.length),n)}function so(e,n){return $r(n)?BV(e,n):!!Xc(e.f,n)}function L3n(e){return _o(~e.l&Ls,~e.m&Ls,~e.h&U1)}function mV(e){return typeof e===dN||typeof e===hZ}function Kh(e){return new Xn(new fle(e.a.length,e.a))}function vV(e){return new pn(null,H3n(e,e.length))}function lDe(e){if(!e)throw R(new hu);return e.d}function Ly(e){var n;return n=DE(e),at(n!=null),n}function P3n(e){var n;return n=Ejn(e),at(n!=null),n}function L9(e,n){var t;return t=e.a.gc(),nhe(n,t),t-n}function hr(e,n){var t;return t=e.a.yc(n,e),t==null}function FT(e,n){return e.a.yc(n,($n(),cb))==null}function $3n(e,n){return e>0?k.Math.log(e/n):-100}function Rfe(e,n){return n?ac(e,n):!1}function Py(e,n,t){return zf(e.a,n),pfe(e.b,n.g,t)}function R3n(e,n,t){_9(t,e.a.c.length),ol(e.a,t,n)}function ce(e,n,t,i){sFe(n,t,e.length),B3n(e,n,t,i)}function B3n(e,n,t,i){var r;for(r=n;r0?1:0}function hE(e){return e.e==0?e:new Xb(-e.e,e.d,e.a)}function F3n(e){return e==Vi?KN:e==Ir?"-INF":""+e}function J3n(e){return e==Vi?KN:e==Ir?"-INF":""+e}function H3n(e,n){return D8n(n,e.length),new yIe(e,n)}function aDe(e,n,t,i,r){for(;n=e.g}function CV(e,n,t){var i;return i=RY(e,n,t),Jbe(e,i)}function EDe(e,n){var t;t=console[e],t.call(console,n)}function $y(e,n){var t;t=e.a.length,R2(e,t),tY(e,t,n)}function SDe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function TV(e,n){for(Ln(n);e.c=e?new Woe:i7n(e-1)}function of(e){if(e==null)throw R(new ly);return e}function Ln(e){if(e==null)throw R(new ly);return e}function s5n(e){return!e.a&&(e.a=new mr(kb,e,4)),e.a}function Ow(e){return!e.d&&(e.d=new mr(Rc,e,1)),e.d}function l5n(e){if(e.p!=3)throw R(new is);return e.e}function f5n(e){if(e.p!=4)throw R(new is);return e.e}function a5n(e){if(e.p!=6)throw R(new is);return e.f}function h5n(e){if(e.p!=3)throw R(new is);return e.j}function d5n(e){if(e.p!=4)throw R(new is);return e.j}function b5n(e){if(e.p!=6)throw R(new is);return e.k}function or(){Gxe.call(this),o2(this.j.c,0),this.a=-1}function _De(){Tt.call(this,"DELAUNAY_TRIANGULATION",0)}function g5n(){return HP(),F(z(Qen,1),je,537,0,[Zne])}function w5n(e,n,t){return Qy(),t.Kg(e,u(n.jd(),147))}function p5n(e,n){Et((!e.a&&(e.a=new NT(e,e)),e.a),n)}function eae(e,n){e.c<0||e.b.b=0?e.hi(t):X0e(e,n)}function R9(e,n){var t;return t=MV("",e),t.n=n,t.i=1,t}function Nw(e){return e.c==-2&&sX(e,IMn(e.g,e.b)),e.c}function nae(e){return!e.b&&(e.b=new _P(new jX)),e.b}function LDe(e,n){return rR(),new Tde(new gOe(e),new bOe(n))}function v5n(e){return ll(e,wZ),bB(mc(mc(5,e),e/10|0))}function OV(){OV=Y,enn=new use(F(z(Eg,1),rF,45,0,[]))}function PDe(){S0e.call(this,jg,(MAe(),ahn)),$Pn(this)}function $De(){S0e.call(this,df,(m9(),W8e)),qLn(this)}function RDe(e,n){Kwn.call(this,r7n(Ot(e),Ot(n))),this.a=n}function tae(e,n,t,i){yw.call(this,e,n),this.d=t,this.a=i}function CR(e,n,t,i){yw.call(this,e,t),this.a=n,this.f=i}function BDe(e,n){this.b=e,yV.call(this,e,n),hOe(this)}function zDe(e,n){this.b=e,Vle.call(this,e,n),dOe(this)}function wE(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function FDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function B9(e){return!e.a&&(e.a=new dAe(e.c.vc())),e.a}function JDe(e){return!e.b&&(e.b=new g9(e.c.ec())),e.b}function HDe(e){return!e.d&&(e.d=new Hr(e.c.Bc())),e.d}function Vh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function GDe(e,n){var t;return t=new Xu(e),qn(n.c,t),t}function y5n(e,n){hV(u(n.b,68),e),Ao(n.a,new eoe(e))}function qDe(e,n){e.u.Gc((ps(),nd))&&CTn(e,n),T9n(e,n)}function Ku(e,n){return ue(e)===ue(n)||e!=null&&gi(e,n)}function ei(e,n,t){return $r(n)?Kc(e,n,t):Ko(e.f,n,t)}function iae(e){return En(),e?e.Me():(Iw(),Iw(),Gme)}function k5n(){return i$(),F(z(R6e,1),je,477,0,[Zre])}function j5n(){return r$(),F(z(qln,1),je,546,0,[ece])}function E5n(){return Ij(),F(z(c9e,1),je,527,0,[DI])}function zc(e,n){return sV(e.a,n)?e.b[u(n,23).g]:null}function S5n(e){return String.fromCharCode.apply(null,e)}function rc(e,n){return Wn(n,e.length),e.charCodeAt(n)}function HT(e){return e.j.c.length=0,uae(e.c),g2n(e.a),e}function z9(e){return e.e==d7&&a(e,UEn(e.g,e.b)),e.e}function GT(e){return e.f==d7&&w(e,Lxn(e.g,e.b)),e.f}function x5n(e){return!e.b&&(e.b=new In(mt,e,4,7)),e.b}function rae(e){return!e.c&&(e.c=new In(mt,e,5,8)),e.c}function cae(e){return!e.c&&(e.c=new pe($s,e,9,9)),e.c}function NV(e){return!e.n&&(e.n=new pe(Eu,e,1,7)),e.n}function Kv(e){var n;return n=e.b,!n&&(e.b=n=new sj(e)),n}function uae(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function A5n(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function M5n(e,n){return new m_e(u(Ot(e),51),u(Ot(n),51))}function li(e,n){return H0(e),new pn(e,new mhe(n,e.a))}function So(e,n){return H0(e),new pn(e,new rhe(n,e.a))}function N2(e,n){return H0(e),new Mle(e,new c$e(n,e.a))}function TR(e,n){return H0(e),new Cle(e,new u$e(n,e.a))}function UDe(e,n){ede(e,ne(B1(n,"x")),ne(B1(n,"y")))}function XDe(e,n){ede(e,ne(B1(n,"x")),ne(B1(n,"y")))}function C5n(e,n){return Zoe(),ji((Ln(e),e),(Ln(n),n))}function T5n(e,n){return ji(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function O5n(e,n){return ji(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function N5n(e){return e!=null&&Cj(AG,e.toLowerCase())}function I5n(e){rl();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function IV(e){var n;return n=u7n(e),n||null}function ri(e,n,t,i){return cze(e,n,t,!1),qB(e,i),e}function D5n(e,n,t){BLn(e.a,t),rkn(t),aOn(e.b,t),uPn(n,t)}function Ry(e,n,t,i){Tt.call(this,e,n),this.a=t,this.b=i}function OR(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function oae(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function KDe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function DV(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function VDe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Lf(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function _V(e,n,t){this.a=Gge,this.d=e,this.b=n,this.c=t}function sae(e,n){this.b=e,this.c=n,this.a=new py(this.b)}function YDe(e,n){this.d=(Ln(e),e),this.a=16449,this.c=n}function QDe(e,n,t,i){eFe.call(this,e,t,i,!1),this.f=n}function LV(e,n,t){var i,r;return i=Nge(e),r=n.qi(t,i),r}function N1(e){var n,t;return t=(n=new mw,n),Y9(t,e),t}function PV(e){var n,t;return t=(n=new mw,n),M0e(t,e),t}function WDe(e){return!e.b&&(e.b=new pe(pr,e,12,3)),e.b}function ZDe(e){this.a=new Te,this.e=le($t,Ae,54,e,0,2)}function $V(e){this.f=e,this.c=this.f.e,e.f>0&&VHe(this)}function e_e(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function n_e(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function t_e(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function i_e(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Vb(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function r_e(e,n,t,i){_l(),r$e.call(this,n,t,i),this.a=e}function c_e(e,n,t,i){_l(),r$e.call(this,n,t,i),this.a=e}function u_e(e,n){this.a=e,Vpn.call(this,e,u(e.d,16).dd(n))}function _5n(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function L5n(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function By(e){var n;return n=e.f,n||(e.f=new y9(e,e.c))}function En(){En=Y,Sc=new xe,u1=new fn,wJ=new $e}function Iw(){Iw=Y,Hme=new ge,ste=new ge,Gme=new tn}function F9(e){if(Is(e.d),e.d.d!=e.c)throw R(new Il)}function qs(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function lae(e){return at(e.b0?$f(e):new Te}function NR(e){return e.n&&(e.e!==SYe&&e.he(),e.j=null),e}function fae(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function $5n(e,n,t){return Ce(e.a,(qQ(n,t),new yw(n,t))),e}function R5n(e,n){return u(C(e,(ve(),$4)),16).Ec(n),n}function B5n(e,n){return gn(e,u(C(n,(Oe(),Cm)),15),n)}function z5n(e){return Vw(e)&&ze(Be(ke(e,(Oe(),Cg))))}function F5n(e,n,t){return Nj(),Hjn(u(zn(e.e,n),516),t)}function J5n(e,n,t){e.i=0,e.e=0,n!=t&&Yze(e,n,t)}function H5n(e,n,t){e.i=0,e.e=0,n!=t&&Qze(e,n,t)}function o_e(e,n,t,i){this.b=e,this.c=i,L$.call(this,n,t)}function s_e(e,n){this.g=e,this.d=F(z(s1,1),Hd,9,0,[n])}function l_e(e,n){e.d&&!e.d.a&&(ZSe(e.d,n),l_e(e.d,n))}function f_e(e,n){e.e&&!e.e.a&&(ZSe(e.e,n),f_e(e.e,n))}function a_e(e,n){return s3(e.j,n.s,n.c)+s3(n.e,e.s,e.c)}function G5n(e,n){return-ji(us(e)*Gs(e),us(n)*Gs(n))}function q5n(e){return u(e.jd(),147).Og()+":"+fu(e.kd())}function h_e(){bW(this,new LC),this.wb=(O0(),Bn),m9()}function d_e(e){this.b=new f_,this.a=e,k.Math.random()}function b_e(e){this.b=new Te,Sr(this.b,this.b),this.a=e}function aae(e,n){new xi,this.a=new xs,this.b=e,this.c=n}function g_e(){du.call(this,"There is no more element.")}function U5n(e){UP(),k.setTimeout(function(){throw e},0)}function X5n(e){e.Tg("No crossing minimization",1),e.Ug()}function K5n(e,n){return Us(e),Us(n),cAe(u(e,23),u(n,23))}function Yb(e,n,t){var i,r;i=UK(t),r=new Tv(i),Rf(e,n,r)}function RV(e,n,t,i,r,c){oO.call(this,e,n,t,i,r,c?-2:-1)}function w_e(e,n,t,i){_se.call(this,n,t),this.b=e,this.a=i}function hae(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function IR(e){return!e.a&&(e.a=new pe(Ft,e,10,11)),e.a}function yi(e){return!e.q&&(e.q=new pe(kf,e,11,10)),e.q}function we(e){return!e.s&&(e.s=new pe(ns,e,21,17)),e.s}function p_e(e){return cE(e==null||mV(e)&&e.Rm!==vn),e}function DR(e,n){if(e==null)throw R(new by(n));return e}function m_e(e,n){Tbn.call(this,new gV(e)),this.a=e,this.b=n}function BV(e,n){return n==null?!!Xc(e.f,null):p3n(e.i,n)}function zV(e){return X(e,18)?new A2(u(e,18)):Pvn(e.Jc())}function _R(e){return En(),X(e,59)?new DX(e):new H$(e)}function V5n(e){return Ot(e),aHe(new Xn(Qn(e.a.Jc(),new ee)))}function Y5n(e){return new sOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function Q5n(e){return new lOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function dae(e){return e&&e.hashCode?e.hashCode():xw(e)}function W5n(e){e&&PR(e,e.ge())}function Z5n(e,n){var t;return t=Zse(e.a,n),t&&(n.d=null),t}function v_e(e,n,t){return e.f?e.f.cf(n,t):!1}function qT(e,n,t,i){ir(e.c[n.g],t.g,i),ir(e.c[t.g],n.g,i)}function FV(e,n,t,i){ir(e.c[n.g],n.g,t),ir(e.b[n.g],n.g,i)}function eyn(e,n,t){return ne(re(t.a))<=e&&ne(re(t.b))>=n}function y_e(){this.d=new xi,this.b=new wt,this.c=new Te}function k_e(){this.b=new ar,this.d=new xi,this.e=new FP}function bae(){this.c=new Vr,this.d=new Vr,this.e=new Vr}function Dw(){this.a=new xs,this.b=(ll(3,om),new xo(3))}function j_e(e){this.c=e,this.b=new Ed(u(Ot(new ca),51))}function E_e(e){this.c=e,this.b=new Ed(u(Ot(new h0),51))}function S_e(e){this.b=e,this.a=new Ed(u(Ot(new uu),51))}function Td(e,n){this.e=e,this.a=Mr,this.b=zXe(n),this.c=n}function LR(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function x_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function A_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function I0(e,n,t,i,r,c,o){return new cY(e.e,n,t,i,r,c,o)}function nyn(e,n,t){return t>=0&&bn(e.substr(t,n.length),n)}function M_e(e,n){return X(n,147)&&bn(e.b,u(n,147).Og())}function tyn(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function C_e(e,n){var t;return t=e.b.Oc(n),kPe(t,e.b.gc()),t}function UT(e,n){if(e==null)throw R(new by(n));return e}function tu(e){return e.u||(Ms(e),e.u=new tNe(e,e)),e.u}function Go(e){var n;return n=u(Kn(e,16),29),n||e.fi()}function PR(e,n){var t;return t=Bb(e.Pm),n==null?t:t+": "+n}function sf(e,n,t){return Qr(n,t,e.length),e.substr(n,t-n)}function T_e(e,n){V$.call(this),Ohe(this),this.a=e,this.c=n}function O_e(){kK.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function iyn(){return cB(),F(z(p3e,1),je,422,0,[w3e,Kte])}function ryn(){return gO(),F(z(A3e,1),je,419,0,[QJ,x3e])}function cyn(){return lO(),F(z(T3e,1),je,476,0,[C3e,ZJ])}function uyn(){return UR(),F(z(H3e,1),je,420,0,[gie,J3e])}function oyn(){return VR(),F(z(i5e,1),je,423,0,[xie,Sie])}function syn(){return aO(),F(z(Gye,1),je,421,0,[ire,rre])}function lyn(){return jE(),F(z(Ton,1),je,518,0,[Dx,Ix])}function fyn(){return La(),F(z(Ron,1),je,508,0,[Dg,Za])}function ayn(){return gh(),F(z(Pon,1),je,509,0,[Ep,Yd])}function hyn(){return ba(),F(z(Zon,1),je,515,0,[Pm,db])}function dyn(){return Lw(),F(z(usn,1),je,454,0,[bb,Y3])}function byn(){return qR(),F(z(B4e,1),je,425,0,[Are,R4e])}function gyn(){return CB(),F(z(z4e,1),je,487,0,[HH,Z3])}function wyn(){return oB(),F(z(J4e,1),je,426,0,[F4e,Ire])}function pyn(){return dB(),F(z(ive,1),je,424,0,[yte,kJ])}function myn(){return Z9(),F(z(gin,1),je,502,0,[tI,Dte])}function vyn(){return ZR(),F(z(N6e,1),je,478,0,[Vre,O6e])}function yyn(){return iO(),F(z(B6e,1),je,428,0,[nce,eG])}function kyn(){return jO(),F(z(o9e,1),je,427,0,[tG,u9e])}function $R(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function XT(e){return e.b.b==0?e.a.uf():nV(e.b)}function jyn(e){if(e.p!=5)throw R(new is);return Rt(e.f)}function Eyn(e){if(e.p!=5)throw R(new is);return Rt(e.k)}function gae(e){return ue(e.a)===ue((JY(),Fce))&&NPn(e),e.a}function N_e(e,n){bj(this,new Ee(e.a,e.b)),Ov(this,$T(n))}function _w(){Obn.call(this,new my(H2(12))),rle(!0),this.a=2}function JV(e,n,t){ai(),pw.call(this,e),this.b=n,this.a=t}function wae(e,n,t){_l(),PP.call(this,n),this.a=e,this.b=t}function Syn(e,n){var t=tte[e.charCodeAt(0)];return t??e}function RR(e,n){return DR(e,"set1"),DR(n,"set2"),new yMe(e,n)}function BR(e,n){return vPe(n),q8n(e,le($t,ni,30,n,15,1),n)}function xyn(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=aR(e.c,e.b,e.a))}function Ayn(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=aR(e.c,e.b,e.a))}function I_e(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function D_e(e){return e.b==0?null:(at(e.b!=0),Rl(e,e.a.a))}function lo(e,n){return n==null?bu(Xc(e.f,null)):Pj(e.i,n)}function __e(e,n,t,i,r){return new wW(e,(K9(),hte),n,t,i,r)}function HV(e,n,t,i){var r;r=new wNe,n.a[t.g]=r,Py(e.b,i,r)}function L_e(e,n){var t,i;return t=n,i=new si,kVe(e,t,i),i.d}function Myn(e,n){var t;return t=B8n(e.f,n),pi(K$(t),e.f.d)}function KT(e){var n;Z8n(e.a),PTe(e.a),n=new IP(e.a),lde(n)}function Cyn(e,n){TXe(e,!0),Ao(e.e.Pf(),new Yle(e,!0,n))}function Tyn(e,n){return R1(),u(C(n,(Mu(),Lh)),15).a==e}function lc(e){return Math.max(Math.min(e,oi),-2147483648)|0}function P_e(e){V$.call(this),Ohe(this),this.a=e,this.c=!0}function pae(e,n,t){this.a=new Te,this.e=e,this.f=n,this.c=t}function zR(e,n,t){this.c=new Te,this.e=e,this.f=n,this.b=t}function $_e(e,n,t){this.i=new Te,this.b=e,this.g=n,this.a=t}function R_e(e){this.a=u(Ot(e),277),this.b=(En(),new lle(e))}function J9(){J9=Y;var e,n;n=!AEn(),e=new on,ite=n?new ln:e}function mae(){mae=Y,Nnn=new sh,Dnn=new Mfe,Inn=new Tb}function gh(){gh=Y,Ep=new jse(v4,0),Yd=new jse(m4,1)}function La(){La=Y,Dg=new Ese(KZ,0),Za=new Ese("UP",1)}function Lw(){Lw=Y,bb=new xse(m4,0),Y3=new xse(v4,1)}function Vv(e,n,t){FR(),e&&ei(Rce,e,n),e&&ei(iD,e,t)}function vae(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):jbe(e,n,t)}function B_e(e,n){var t;for(Ot(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function VT(e,n){var t;t=e.q.getHours(),e.q.setDate(n),aS(e,t)}function z_e(e){var n;return n=new YP(H2(e.length)),y1e(n,e),n}function Oyn(e){function n(){}return n.prototype=e||{},new n}function Nyn(e,n){return xze(e,n)?(xBe(e),!0):!1}function I1(e,n){if(n==null)throw R(new ly);return NEn(e,n)}function Iyn(e){if(e.ye())return null;var n=e.n;return fJ[n]}function I2(e){return e.Db>>16!=3?null:u(e.Cb,26)}function Pa(e){return e.Db>>16!=9?null:u(e.Cb,26)}function F_e(e){return e.Db>>16!=6?null:u(e.Cb,85)}function J_e(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):jW(e,n)}function GV(e,n,t){var i;i=qze(e,n,t),e.b=new OB(i.c.length)}function H_e(e){this.a=e,this.b=le(Aon,Ae,2005,e.e.length,0,2)}function G_e(){this.a=new Hh,this.e=new ar,this.g=0,this.i=0}function q_e(e,n){B$(this),this.f=n,this.g=e,NR(this),this.he()}function U_e(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function yae(e){var n;return n=e.d,n=e._i(e.f),Et(e,n),n.Ob()}function X_e(e,n){var t;return t=new Efe(n),EGe(t,e),new bs(t)}function Dyn(e){if(e.p!=0)throw R(new is);return Kj(e.f,0)}function _yn(e){if(e.p!=0)throw R(new is);return Kj(e.k,0)}function K_e(e){return e.Db>>16!=7?null:u(e.Cb,241)}function kae(e){return e.Db>>16!=7?null:u(e.Cb,174)}function V_e(e){return e.Db>>16!=3?null:u(e.Cb,158)}function H9(e){return e.Db>>16!=6?null:u(e.Cb,241)}function Fi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function D2(e){return e.Db>>16!=17?null:u(e.Cb,29)}function pE(e,n,t,i,r,c){return new $1(e.e,n,e.Jj(),t,i,r,c)}function Kc(e,n,t){return n==null?Ko(e.f,null,t):Jw(e.i,n,t)}function qV(e,n){return k.Math.abs(e)0}function jae(e){var n;return H0(e),n=new ar,li(e,new Qke(n))}function Y_e(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function Byn(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),aS(e,t)}function fc(e,n){e.c&&qo(e.c.g,e),e.c=n,e.c&&Ce(e.c.g,e)}function Or(e,n){e.c&&qo(e.c.a,e),e.c=n,e.c&&Ce(e.c.a,e)}function Gr(e,n){e.d&&qo(e.d.e,e),e.d=n,e.d&&Ce(e.d.e,e)}function wu(e,n){e.i&&qo(e.i.j,e),e.i=n,e.i&&Ce(e.i.j,e)}function Q_e(e,n,t){this.a=n,this.c=e,this.b=(Ot(t),new bs(t))}function W_e(e,n,t){this.a=n,this.c=e,this.b=(Ot(t),new bs(t))}function Z_e(e,n){this.a=e,this.c=pc(this.a),this.b=new LR(n)}function _2(e,n){if(e<0||e>n)throw R(new jo(Zge+e+ewe+n))}function eLe(){eLe=Y,hon=Eo(new or,(zr(),Pc),(Ur(),I4))}function Eae(){Eae=Y,don=Eo(new or,(zr(),Pc),(Ur(),I4))}function nLe(){nLe=Y,oon=Eo(new or,(zr(),Pc),(Ur(),I4))}function tLe(){tLe=Y,son=Eo(new or,(zr(),Pc),(Ur(),I4))}function iLe(){iLe=Y,lon=Eo(new or,(zr(),Pc),(Ur(),I4))}function Sae(){Sae=Y,fon=Eo(new or,(zr(),Pc),(Ur(),I4))}function rLe(){rLe=Y,Non=qt(new or,(zr(),Pc),(Ur(),cx))}function cl(){cl=Y,_on=qt(new or,(zr(),Pc),(Ur(),cx))}function cLe(){cLe=Y,Lon=qt(new or,(zr(),Pc),(Ur(),cx))}function UV(){UV=Y,zon=qt(new or,(zr(),Pc),(Ur(),cx))}function uLe(){uLe=Y,Lsn=Eo(new or,(c4(),Lx),(lS(),o4e))}function oLe(){oLe=Y,Wen=It((HP(),F(z(Qen,1),je,537,0,[Zne])))}function FR(){FR=Y,Rce=new wt,iD=new wt,Wgn(pnn,new U6)}function zyn(e,n){var t,i;t=n.c,i=t!=null,i&&$y(e,new O2(n.c))}function sLe(e,n){i5n(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function JR(e,n){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,n)}function XV(e,n){X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),4),Mo(e,n)}function Fyn(e,n){Z1e(e,n),X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),2)}function Jyn(e,n){return ji(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function Hyn(e,n){return ji(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function fo(e,n){return Tc(),AY(n)?new sR(n,e):new jT(n,e)}function KV(e,n){e.a&&qo(e.a.k,e),e.a=n,e.a&&Ce(e.a.k,e)}function VV(e,n){e.b&&qo(e.b.f,e),e.b=n,e.b&&Ce(e.b.f,e)}function D0(e,n,t){$Fe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function zy(e){this.c=new xi,this.b=e.b,this.d=e.c,this.a=e.a}function YV(e){this.a=k.Math.cos(e),this.b=k.Math.sin(e)}function Qb(e,n,t,i){this.c=e,this.d=i,KV(this,n),VV(this,t)}function yn(e,n){this.b=(Ln(e),e),this.a=(n&sm)==0?n|64|Sh:n}function Gyn(e,n){iOe(e,Rt(Rr(Mw(n,24),sF)),Rt(Rr(n,sF)))}function YT(e){return jh(),ao(e,0)>=0?G0(e):hE(G0(Id(e)))}function qyn(){return Fl(),F(z(Qo,1),je,130,0,[Yme,Yo,Qme])}function lLe(e,n,t){return new wW(e,(K9(),ate),null,!1,n,t)}function fLe(e,n,t){return new wW(e,(K9(),dte),n,t,null,!1)}function aLe(e,n,t){var i;$Fe(n,t,e.c.length),i=t-n,Uoe(e.c,n,i)}function hLe(e,n){var t;return t=u(q2(By(e.a),n),18),t?t.gc():0}function xae(e){var n;return H0(e),n=(Iw(),Iw(),ste),gB(e,n)}function dLe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function bLe(e){var n,t;return t=(m9(),n=new mw,n),Y9(t,e),t}function gLe(e){var n,t;return t=(m9(),n=new mw,n),Y9(t,e),t}function Yv(e){return Nj(),X(e.g,9)?u(e.g,9):null}function Uyn(){return zw(),F(z(Bte,1),je,368,0,[gp,sb,bp])}function Xyn(){return kB(),F(z(j3e,1),je,350,0,[k3e,YJ,Vte])}function Kyn(){return cg(),F(z(Uin,1),je,449,0,[iie,A7,R3])}function Vyn(){return i8(),F(z(die,1),je,302,0,[aie,hie,oI])}function Yyn(){return B0(),F(z(bie,1),je,329,0,[sI,F3e,Em])}function Qyn(){return P1(),F(z(nrn,1),je,315,0,[lI,z3,D4])}function Wyn(){return $E(),F(z(_ye,1),je,352,0,[Yie,Dye,CH])}function Zyn(){return Nc(),F(z(eon,1),je,452,0,[Tx,ys,Io])}function e4n(){return PB(),F(z(Xye,1),je,381,0,[qye,cre,Uye])}function n4n(){return PE(),F(z(Kye,1),je,348,0,[ore,ure,jI])}function t4n(){return l8(),F(z(Yye,1),je,349,0,[sre,Vye,Ox])}function i4n(){return yB(),F(z(Zye,1),je,351,0,[Wye,lre,Qye])}function r4n(){return $B(),F(z(e4e,1),je,382,0,[fre,R7,Lm])}function c4n(){return SE(),F(z(mve,1),je,384,0,[Ste,Ete,xte])}function u4n(){return pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])}function o4n(){return ws(),F(z($nn,1),je,461,0,[Ih,ub,Uf])}function s4n(){return Uo(),F(z(Bnn,1),je,462,0,[Ea,ob,Xf])}function l4n(){return LE(),F(z(p4e,1),je,385,0,[w4e,dre,xI])}function f4n(){return CO(),F(z(q4e,1),je,386,0,[GH,H4e,G4e])}function a4n(){return QB(),F(z(d6e,1),je,387,0,[h6e,qre,a6e])}function h4n(){return LB(),F(z(l6e,1),je,303,0,[$re,s6e,o6e])}function d4n(){return tz(),F(z(f6e,1),je,436,0,[zx,XH,Rre])}function b4n(){return UB(),F(z($6e,1),je,430,0,[L6e,P6e,Qre])}function g4n(){return DO(),F(z(Wre,1),je,435,0,[QH,WH,ZH])}function w4n(){return sB(),F(z(_6e,1),je,429,0,[Yre,D6e,I6e])}function p4n(){return za(),F(z(r8e,1),je,279,0,[U7,Gm,X7])}function m4n(){return F1(),F(z(w8e,1),je,347,0,[aG,e0,nA])}function v4n(){return AE(),F(z(j8e,1),je,300,0,[KI,Tce,k8e])}function y4n(){return Zy(),F(z(x8e,1),je,281,0,[S8e,Um,pG])}function $a(e){return mu(F(z(Lr,1),Ae,8,0,[e.i.n,e.n,e.a]))}function k4n(e,n,t){var i;i=new wc(t.d),pi(i,e),ede(n,i.a,i.b)}function wLe(e,n,t){var i;i=new mM,i.b=n,i.a=t,++n.b,Ce(e.d,i)}function j4n(e,n,t){var i;return i=bS(e,n,!1),i.b<=n&&i.a<=t}function E4n(e){if(e.p!=2)throw R(new is);return Rt(e.f)&yr}function S4n(e){if(e.p!=2)throw R(new is);return Rt(e.k)&yr}function kn(e,n){if(e<0||e>=n)throw R(new jo(Zge+e+ewe+n))}function Wn(e,n){if(e<0||e>=n)throw R(new _oe(Zge+e+ewe+n))}function x4n(e){return e.Db>>16!=6?null:u(xW(e),241)}function pLe(e,n){var t,i;return i=L9(e,n),t=e.a.dd(i),new mMe(e,t)}function A4n(e,n){var t;return t=(Ln(e),e).g,ple(!!t),Ln(n),t(n)}function M4n(e){return e.a==(q9(),OG)&&VC(e,iDn(e.g,e.b)),e.a}function Fy(e){return e.d==(q9(),OG)&&Uue(e,nLn(e.g,e.b)),e.d}function Aae(e,n){Cbn.call(this,new my(H2(e))),ll(n,mYe),this.a=n}function mLe(e,n,t){pw.call(this,25),this.b=e,this.a=n,this.c=t}function ul(e){ai(),pw.call(this,e),this.c=!1,this.a=!1}function vLe(e,n){Xb.call(this,1,2,F(z($t,1),ni,30,15,[e,n]))}function Rr(e,n){return R0(A3n(su(e)?lf(e):e,su(n)?lf(n):n))}function wh(e,n){return R0(M3n(su(e)?lf(e):e,su(n)?lf(n):n))}function QV(e,n){return R0(C3n(su(e)?lf(e):e,su(n)?lf(n):n))}function Mae(e,n){return RIe(e.a,n)?pfe(e.b,u(n,23).g,null):null}function Wb(e){return Ot(e),X(e,18)?new bs(u(e,18)):I9(e.Jc())}function WV(e){lR(),this.a=(En(),X(e,59)?new DX(e):new H$(e))}function C4n(e){var n;return n=u(cR(e.b),10),new Ll(e.a,n,e.c)}function T4n(e,n){var t;t=ne(re(e.a.mf((Xt(),oG)))),GVe(e,n,t)}function O4n(e,n){return xE(),e.c==n.c?ji(n.d,e.d):ji(e.c,n.c)}function N4n(e,n){return xE(),e.c==n.c?ji(e.d,n.d):ji(e.c,n.c)}function I4n(e,n){return xE(),e.c==n.c?ji(e.d,n.d):ji(n.c,e.c)}function D4n(e,n){return xE(),e.c==n.c?ji(n.d,e.d):ji(n.c,e.c)}function _4n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function L(e){return at(e.ai?1:0}function kLe(e,n){var t,i;return t=kY(n),i=t,u(zn(e.c,i),15).a}function ZV(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function R4n(e,n,t){var i;e.n&&n&&t&&(i=new vL,Ce(e.e,i))}function eY(e,n){if(hr(e.a,n),n.d)throw R(new du(JYe));n.d=e}function Oae(e,n){this.a=new Te,this.d=new Te,this.f=e,this.c=n}function jLe(){Qy(),this.b=new wt,this.a=new wt,this.c=new Te}function ELe(){this.c=new JTe,this.a=new n$e,this.b=new pxe,_Me()}function SLe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function xLe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function ALe(e,n,t,i,r,c){Nhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function MLe(e,n,t,i,r,c){Ihe.call(this,e,n,t,i,r),c&&(this.o=-2)}function CLe(e,n,t,i,r,c){Uae.call(this,e,n,t,i,r),c&&(this.o=-2)}function TLe(e,n,t,i,r,c){Lhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function OLe(e,n,t,i,r,c){Xae.call(this,e,n,t,i,r),c&&(this.o=-2)}function NLe(e,n,t,i,r,c){Dhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function ILe(e,n,t,i,r,c){_he.call(this,e,n,t,i,r),c&&(this.o=-2)}function DLe(e,n,t,i,r,c){Kae.call(this,e,n,t,i,r),c&&(this.o=-2)}function _Le(e,n,t,i){PP.call(this,t),this.b=e,this.c=n,this.d=i}function LLe(e,n){this.f=e,this.a=(q9(),TG),this.c=TG,this.b=n}function PLe(e,n){this.g=e,this.d=(q9(),OG),this.a=OG,this.b=n}function Nae(e,n){!e.c&&(e.c=new tr(e,0)),Qz(e.c,(Si(),dA),n)}function B4n(e,n){return LOn(e,n,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function z4n(e,n){return fDe(Lu(e.q.getTime()),Lu(n.q.getTime()))}function $Le(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),16,new ty(e))}function F4n(e){return!!e.u&&Vu(e.u.a).i!=0&&!(e.n&&FQ(e.n))}function J4n(e){return!!e.a&&Ts(e.a.a).i!=0&&!(e.b&&JQ(e.b))}function Iae(e,n){return n==0?!!e.o&&e.o.f!=0:LQ(e,n)}function RLe(e){return at(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function mE(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function BLe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function qr(e,n){this.a=e,qc.call(this,e),_2(n,e.gc()),this.b=n}function zLe(e){this.a=le(Mr,Nn,1,w1e(k.Math.max(8,e))<<1,5,1)}function FLe(e){FY.call(this,e,(K9(),fte),null,!1,null,!1)}function JLe(e,n){var t;return t=1-n,e.a[t]=TB(e.a[t],t),TB(e,n)}function HLe(e,n){var t,i;return i=Rr(e,Dc),t=Xh(n,32),wh(t,i)}function H4n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function GLe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function qLe(e,n,t){var i;i=(Ot(e),new bs(e)),Exn(new Q_e(i,n,t))}function WT(e,n,t){var i;i=(Ot(e),new bs(e)),Sxn(new W_e(i,n,t))}function G4n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),qs(e.d),o2(e.e.a.c,0)}function ULe(e,n){var t;e.e=new Aoe,t=nm(n),Tr(t,e.c),pXe(e,t,0)}function q4n(e,n){return new eV(n,POe(pc(n.e),e,e),($n(),!0))}function U4n(e,n){return Xy(),u(C(n,(Mu(),Q3)),15).a>=e.gc()}function X4n(e){return cl(),!uc(e)&&!(!uc(e)&&e.c.i.c==e.d.i.c)}function ph(e){return u(Fa(e,le(v7,Z8,17,e.c.length,0,1)),323)}function K4n(e){ZFe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),new $M)}function Dae(){var e,n,t;return n=(t=(e=new mw,e),t),Ce(s7e,n),n}function xu(e,n,t,i,r,c){return cze(e,n,t,c),q1e(e,i),U1e(e,r),e}function XLe(e,n,t,i){return e.a+=""+sf(n==null?Vo:fu(n),t,i),e}function ZT(e,n){if(e<0||e>=n)throw R(new jo(oTn(e,n)));return e}function KLe(e,n,t){if(e<0||nt)throw R(new jo(CCn(e,n,t)))}function Se(e,n,t,i){var r;r=new qM,r.a=n,r.b=t,r.c=i,Vt(e.b,r)}function qi(e,n,t,i){var r;r=new qM,r.a=n,r.b=t,r.c=i,Vt(e.a,r)}function V4n(e,n,t){var i;i=YEn();try{return i2n(e,n,t)}finally{h9n(i)}}function eg(e){var n;return su(e)?(n=e,n==-0?0:n):l8n(e)}function VLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function YLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function QLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function Y4n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function Q4n(e){return Kv(e).dc()?!1:(Bwn(e,new ae),!0)}function _ae(e){var n;return N0(e),n=new Hn,Dv(e.a,new Kke(n)),n}function HR(e){var n;return N0(e),n=new ut,Dv(e.a,new Vke(n)),n}function W4n(e){if(!("stack"in e))try{throw e}catch{}return e}function GR(e){return new xo((ll(e,wZ),bB(mc(mc(5,e),e/10|0))))}function WLe(e){return u(Fa(e,le(hin,wQe,12,e.c.length,0,1)),2004)}function Z4n(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),273,new HU(e))}function ZLe(){ZLe=Y,Gln=It((i$(),F(z(R6e,1),je,477,0,[Zre])))}function ePe(){ePe=Y,Uln=It((r$(),F(z(qln,1),je,546,0,[ece])))}function nPe(){nPe=Y,ffn=It((Ij(),F(z(c9e,1),je,527,0,[DI])))}function tPe(){tPe=Y,t4e=LDe(ye(1),ye(4)),n4e=LDe(ye(1),ye(2))}function qR(){qR=Y,Are=new Ase("DFS",0),R4e=new Ase("BFS",1)}function UR(){UR=Y,gie=new mse(U8,0),J3e=new mse("TOP_LEFT",1)}function Lae(e,n,t){this.d=new lEe(this),this.e=e,this.i=n,this.f=t}function Pae(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function e6n(e,n,t){e.d&&qo(e.d.e,e),e.d=n,e.d&&Hb(e.d.e,t,e)}function n6n(e,n,t){var i;return i=m8(t),qz(e.n,i,n),qz(e.o,n,t),n}function G9(e,n){var t,i;return t=R2(e,n),i=null,t&&(i=t.qe()),i}function vE(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=t.qe()),i}function Pw(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=t.ne()),i}function D1(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=_0e(t)),i}function yE(e,n){URn(n,e),dfe(e.d),dfe(u(C(e,(Oe(),kH)),213))}function nY(e,n){XRn(n,e),bfe(e.d),bfe(u(C(e,(Oe(),kH)),213))}function _0(e,n){Ln(n),e.b=e.b-1&e.a.length-1,ir(e.a,e.b,n),CHe(e)}function $ae(e,n){Ln(n),ir(e.a,e.c,n),e.c=e.c+1&e.a.length-1,CHe(e)}function jt(e){return at(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function iPe(e){if(e.e.g!=e.b)throw R(new Il);return!!e.c&&e.d>0}function L2(e){return X(e,18)?u(e,18).dc():!e.Jc().Ob()}function t6n(e){return new yn(z8n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function rPe(e){var n;n=e.Dh(),this.a=X(n,72)?u(n,72).Gi():n.Jc()}function Rae(e,n){var t;return t=u(Ba(e.b,n),66),!t&&(t=new xi),t}function i6n(e,n){var t;t=n.a,fc(t,n.c.d),Gr(t,n.d.d),F2(t.a,e.n)}function cPe(e,n,t,i){return X(t,59)?new COe(e,n,t,i):new Dfe(e,n,t,i)}function r6n(){return Ff(),F(z(Oin,1),je,413,0,[km,k7,j7,Rte])}function c6n(){return Fw(),F(z(ftn,1),je,409,0,[WN,QN,mte,vte])}function u6n(){return r8(),F(z(ein,1),je,408,0,[dp,mm,pm,D3])}function o6n(){return K9(),F(z(pJ,1),je,309,0,[fte,ate,hte,dte])}function s6n(){return t4(),F(z(jve,1),je,383,0,[ix,kve,Ote,Nte])}function l6n(){return BB(),F(z(vin,1),je,367,0,[$te,GJ,qJ,iI])}function f6n(){return HE(),F(z(y3e,1),je,301,0,[ox,m3e,cI,v3e])}function a6n(){return V2(),F(z(Wie,1),je,203,0,[TH,Qie,V3,K3])}function h6n(){return H1(),F(z(Hye,1),je,269,0,[hb,Jye,nre,tre])}function d6n(){return og(),F(z(Son,1),je,404,0,[EI,Nx,DH,IH])}function b6n(e){var n;return e.j==(Ie(),bt)&&(n=cUe(e),cs(n,nt))}function g6n(){return c4(),F(z(c4e,1),je,398,0,[$H,_x,Lx,Px])}function uPe(e,n){return u(Js(M2(u(vi(e.k,n),16).Mc(),L3)),113)}function oPe(e,n){return u(Js(_y(u(vi(e.k,n),16).Mc(),L3)),113)}function w6n(e,n){return xy(new Ee(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function p6n(){return xz(),F(z(hln,1),je,401,0,[Jre,Bre,Fre,zre])}function m6n(){return gz(),F(z(u6e,1),je,354,0,[Pre,r6e,c6e,i6e])}function v6n(){return _E(),F(z($4e,1),je,353,0,[xre,JH,Sre,Ere])}function y6n(){return a8(),F(z(i8e,1),je,278,0,[JI,fG,n8e,t8e])}function k6n(){return J1(),F(z(Mce,1),je,222,0,[Ace,HI,K7,Z4])}function j6n(){return al(),F(z(can,1),je,292,0,[qI,a1,pb,GI])}function E6n(){return YR(),F(z(ZI,1),je,288,0,[A8e,C8e,Nce,M8e])}function S6n(){return Vs(),F(z(uA,1),je,380,0,[YI,$g,VI,qm])}function x6n(){return WB(),F(z(I8e,1),je,326,0,[Ice,T8e,N8e,O8e])}function A6n(){return zB(),F(z(Ean,1),je,407,0,[Dce,_8e,D8e,L8e])}function Pl(e,n,t){return n<0?jW(e,t):u(t,69).uk().zk(e,e.ei(),n)}function M6n(e,n,t){var i;return i=m8(t),qz(e.f,i,n),ei(e.g,n,t),n}function C6n(e,n,t){var i;return i=m8(t),qz(e.p,i,n),ei(e.q,n,t),n}function sPe(e){var n,t;return n=(S0(),t=new Sv,t),e&&Pz(n,e),n}function Bae(e){var n;return n=e.$i(e.i),e.i>0&&Wu(e.g,0,n,0,e.i),n}function Jy(e){return Nj(),X(e.g,156)?u(e.g,156):null}function T6n(e){return FR(),so(Rce,e)?u(zn(Rce,e),342).Pg():null}function O6n(e){e.a=null,e.e=null,o2(e.b.c,0),o2(e.f.c,0),e.c=null}function lPe(e,n){var t;for(t=e.j.c.length;t>24}function I6n(e){if(e.p!=1)throw R(new is);return Rt(e.k)<<24>>24}function D6n(e){if(e.p!=7)throw R(new is);return Rt(e.k)<<16>>16}function _6n(e){if(e.p!=7)throw R(new is);return Rt(e.f)<<16>>16}function Qv(e,n){return n.e==0||e.e==0?WS:(N8(),TW(e,n))}function hPe(e,n){return ue(n)===ue(e)?"(this Map)":n==null?Vo:fu(n)}function L6n(e,n,t){return bV(re(bu(Xc(e.f,n))),re(bu(Xc(e.f,t))))}function P6n(e,n,t){var i;i=u(zn(e.g,t),60),Ce(e.a.c,new jc(n,i))}function dPe(e,n){var t;return t=new wy,e.Ed(t),t.a+="..",n.Fd(t),t.a}function da(e){var n;for(n=0;e.Ob();)e.Pb(),n=mc(n,1);return bB(n)}function $6n(e,n,t,i,r){var c;c=VOn(r,t,i),Ce(n,ZCn(r,c)),XMn(e,r,n)}function bPe(e,n,t){e.i=0,e.e=0,n!=t&&(Qze(e,n,t),Yze(e,n,t))}function gPe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function zae(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function wPe(e,n){bae.call(this),this.a=e,this.b=n,Ce(this.a.b,this)}function _1(e,n){jh(),Xb.call(this,e,1,F(z($t,1),ni,30,15,[n]))}function R6n(e,n,t){return _8(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function XR(e,n,t){return Xz(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function B6n(e,n,t){return FOn(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function Fae(e,n){return e==(Fn(),Wi)&&n==Wi?4:e==Wi||n==Wi?8:32}function z6n(e,n){return u(n==null?bu(Xc(e.f,null)):Pj(e.i,n),290)}function pPe(e,n){var t;for(t=n;t;)k2(e,t.i,t.j),t=Fi(t);return e}function Vu(e){return e.n||(Ms(e),e.n=new GIe(e,Rc,e),tu(e)),e.n}function Yh(e,n){Tc();var t;return t=u(e,69).tk(),uCn(t,n),t.vl(n)}function kE(e){return at(e.a"+Cae(e.d):"e_"+xw(e)}function J6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),_$(t)}function H6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),_$(t)}function kPe(e,n){var t;for(t=0;t=0&&e.a[t]===n[t];t--);return t<0}function K6n(e,n){var t,i;i=!1;do t=Bze(e,n),i=i|t;while(t);return i}function jE(){jE=Y,Dx=new kse("UPPER",0),Ix=new kse("LOWER",1)}function VR(){VR=Y,xie=new vse(ya,0),Sie=new vse("ALTERNATING",1)}function YR(){YR=Y,A8e=new jIe,C8e=new rDe,Nce=new O_e,M8e=new cDe}function EPe(){EPe=Y,Fin=It((cB(),F(z(p3e,1),je,422,0,[w3e,Kte])))}function SPe(){SPe=Y,qin=It((gO(),F(z(A3e,1),je,419,0,[QJ,x3e])))}function xPe(){xPe=Y,Vin=It((lO(),F(z(T3e,1),je,476,0,[C3e,ZJ])))}function APe(){APe=Y,irn=It((UR(),F(z(H3e,1),je,420,0,[gie,J3e])))}function MPe(){MPe=Y,urn=It((VR(),F(z(i5e,1),je,423,0,[xie,Sie])))}function CPe(){CPe=Y,Zun=It((aO(),F(z(Gye,1),je,421,0,[ire,rre])))}function TPe(){TPe=Y,Oon=It((jE(),F(z(Ton,1),je,518,0,[Dx,Ix])))}function OPe(){OPe=Y,Bon=It((La(),F(z(Ron,1),je,508,0,[Dg,Za])))}function NPe(){NPe=Y,$on=It((gh(),F(z(Pon,1),je,509,0,[Ep,Yd])))}function IPe(){IPe=Y,esn=It((ba(),F(z(Zon,1),je,515,0,[Pm,db])))}function DPe(){DPe=Y,osn=It((Lw(),F(z(usn,1),je,454,0,[bb,Y3])))}function _Pe(){_Pe=Y,_sn=It((qR(),F(z(B4e,1),je,425,0,[Are,R4e])))}function LPe(){LPe=Y,Bsn=It((CB(),F(z(z4e,1),je,487,0,[HH,Z3])))}function PPe(){PPe=Y,Jsn=It((oB(),F(z(J4e,1),je,426,0,[F4e,Ire])))}function $Pe(){$Pe=Y,Rln=It((ZR(),F(z(N6e,1),je,478,0,[Vre,O6e])))}function RPe(){RPe=Y,Xln=It((iO(),F(z(B6e,1),je,428,0,[nce,eG])))}function BPe(){BPe=Y,afn=It((jO(),F(z(o9e,1),je,427,0,[tG,u9e])))}function zPe(){zPe=Y,ytn=It((dB(),F(z(ive,1),je,424,0,[yte,kJ])))}function FPe(){FPe=Y,win=It((Z9(),F(z(gin,1),je,502,0,[tI,Dte])))}function QR(e){m0e(),iOe(this,Rt(Rr(Mw(e,24),sF)),Rt(Rr(e,sF)))}function V6n(e){return(e.k==(Fn(),Wi)||e.k==wr)&&wi(e,(ve(),ax))}function Y6n(e,n,t){return u(n==null?Ko(e.f,null,t):Jw(e.i,n,t),290)}function Q6n(){return vr(),F(z(Zx,1),je,86,0,[ih,ru,Zc,th,Yl])}function W6n(){return Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])}function Z6n(e){return UP(),function(){return V4n(e,this,arguments)}}function JPe(e,n){var t;return t=n.jd(),new yw(t,e.e.pc(t,u(n.kd(),18)))}function HPe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&Ku(i.e,n.kd())}function cc(e,n){var t,i;for(Ln(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function ol(e,n,t){var i;return i=(kn(n,e.c.length),e.c[n]),e.c[n]=t,i}function qae(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function GPe(e,n){var t;for(t=n;t;)k2(e,-t.i,-t.j),t=Fi(t);return e}function e9n(e,n){var t;return t=e.a.get(n),t??le(Mr,Nn,1,0,5,1)}function Wv(e,n){return(H0(e),v9(new pn(e,new mhe(n,e.a)))).zd(C4)}function n9n(){return zr(),F(z(vve,1),je,363,0,[Kf,o1,eo,no,Pc])}function qPe(e){oYe(),nxe(this),this.a=new xi,M1e(this,e),Vt(this.a,e)}function UPe(){CK(this),this.b=new Ee(Vi,Vi),this.a=new Ee(Ir,Ir)}function oY(e){WR(),!Qa&&(this.c=e,this.e=!0,this.a=new Te)}function WR(){WR=Y,Qa=!0,Snn=!1,xnn=!1,Mnn=!1,Ann=!1}function ZR(){ZR=Y,Vre=new Tse(wwe,0),O6e=new Tse("TARGET_WIDTH",1)}function t9n(){return Ez(),F(z(zsn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])}function i9n(){return Y2(),F(z(Iin,1),je,371,0,[rI,KJ,VJ,XJ,UJ])}function r9n(){return XE(),F(z(Pye,1),je,328,0,[Lye,Zie,ere,Ax,Mx])}function c9n(){return Xs(),F(z(t5e,1),je,165,0,[dI,bx,Q1,gx,Mg])}function u9n(){return cS(),F(z(Fln,1),je,369,0,[e5,U4,Ux,qx,II])}function o9n(){return XO(),F(z(H6e,1),je,330,0,[z6e,tce,J6e,ice,F6e])}function s9n(){return kh(),F(z(eh,1),je,160,0,[Tn,fr,Aa,Wd,Z1])}function l9n(){return l3(),F(z(iA,1),je,257,0,[mb,UI,p8e,tA,m8e])}function sY(e,n){var t;return t=u(Ba(e.d,n),21),t||u(Ba(e.e,n),21)}function XPe(e){this.b=e,st.call(this,e),this.a=u(Kn(this.b.a,4),129)}function KPe(e){this.b=e,My.call(this,e),this.a=u(Kn(this.b.a,4),129)}function VPe(e,n){this.c=0,this.b=n,hTe.call(this,e,17493),this.a=this.c}function Pf(e,n,t,i,r){t$e.call(this,n,i,r),this.c=e,this.b=t}function Uae(e,n,t,i,r){SLe.call(this,n,i,r),this.c=e,this.a=t}function Xae(e,n,t,i,r){xLe.call(this,n,i,r),this.c=e,this.a=t}function Kae(e,n,t,i,r){t$e.call(this,n,i,r),this.c=e,this.a=t}function Vae(e,n,t){e.a.c.length=0,PPn(e,n,t),e.a.c.length==0||s_n(e,n)}function eO(e){e.i=0,lT(e.b,null),lT(e.c,null),e.a=null,e.e=null,++e.g}function f9n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function Yae(e,n){return X(n,144)?bn(e.c,u(n,144).c):!1}function YPe(e){var n;return e.c||(n=e.r,X(n,88)&&(e.c=u(n,29))),e.c}function Ms(e){return e.t||(e.t=new GSe(e),FE(new sAe(e),0,e.t)),e.t}function uc(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function Hy(e,n){return n==0||e.e==0?e:n>0?pJe(e,n):rXe(e,-n)}function Qae(e,n){return n==0||e.e==0?e:n>0?rXe(e,n):pJe(e,-n)}function rt(e){if(ht(e))return e.c=e.a,e.a.Pb();throw R(new hu)}function QPe(e){var n;return n=e.length,bn(Rn.substr(Rn.length-n,n),e)}function WPe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(Fn(),wr)&&t.k==wr}function lY(e){var n,t,i;return n=e&Ls,t=e>>22&Ls,i=e<0?U1:0,_o(n,t,i)}function a9n(e,n){var t,i;t=u(cjn(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function h9n(e){e&&b8n((Ooe(),jme)),--aJ,e&&hJ!=-1&&(Qgn(hJ),hJ=-1)}function Wae(e){Hgn.call(this,e==null?Vo:fu(e),X(e,80)?u(e,80):null)}function fY(e){var n;return n=new Dw,Pu(n,e),he(n,(Oe(),Wc),null),n}function aY(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):Yw(e,n,t)}function d9n(e,n,t){return ji(xy(v8(e),pc(n.b)),xy(v8(e),pc(t.b)))}function b9n(e,n,t){return ji(xy(v8(e),pc(n.e)),xy(v8(e),pc(t.e)))}function g9n(e,n){return k.Math.min(P0(n.a,e.d.d.c),P0(n.b,e.d.d.c))}function ZPe(e,n,t){var i;i=new Qse(e.a),TE(i,e.a.a),Ko(i.f,n,t),e.a.a=i}function Zae(e,n,t,i){var r;for(r=0;rn)throw R(new jo(H0e(e,n,"index")));return e}function the(e){var n;return n=e.e+e.f,isNaN(n)&&Q$(e.d)?e.d:n}function p9n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),aS(e,t)}function ihe(e,n){var t,i;return t=(Ln(e),e),i=(Ln(n),n),t==i?0:tn.p?-1:0}function s$e(e,n){return so(e.a,n)?(Gy(e.a,n),!0):!1}function k9n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),PT(t.Lc(),new r9(n))}function dY(e){var n;return n=e.b,n.b==0?null:u(Yu(n,0),65).b}function tB(e,n){return Ln(n),e.c=0,"Initial capacity must not be negative")}function rB(){rB=Y,Xx=new ki("org.eclipse.elk.labels.labelManager")}function f$e(){f$e=Y,a3e=new Pi("separateLayerConnections",(BB(),$te))}function ba(){ba=Y,Pm=new Sse("REGULAR",0),db=new Sse("CRITICAL",1)}function iO(){iO=Y,nce=new Ose("FIXED",0),eG=new Ose("CENTER_NODE",1)}function cB(){cB=Y,w3e=new gse("QUADRATIC",0),Kte=new gse("SCANLINE",1)}function a$e(){a$e=Y,Hin=It((kB(),F(z(j3e,1),je,350,0,[k3e,YJ,Vte])))}function h$e(){h$e=Y,Xin=It((cg(),F(z(Uin,1),je,449,0,[iie,A7,R3])))}function d$e(){d$e=Y,Zin=It((i8(),F(z(die,1),je,302,0,[aie,hie,oI])))}function b$e(){b$e=Y,ern=It((B0(),F(z(bie,1),je,329,0,[sI,F3e,Em])))}function g$e(){g$e=Y,trn=It((P1(),F(z(nrn,1),je,315,0,[lI,z3,D4])))}function w$e(){w$e=Y,Rin=It((zw(),F(z(Bte,1),je,368,0,[gp,sb,bp])))}function p$e(){p$e=Y,Kun=It(($E(),F(z(_ye,1),je,352,0,[Yie,Dye,CH])))}function m$e(){m$e=Y,non=It((Nc(),F(z(eon,1),je,452,0,[Tx,ys,Io])))}function v$e(){v$e=Y,ton=It((PB(),F(z(Xye,1),je,381,0,[qye,cre,Uye])))}function y$e(){y$e=Y,ion=It((PE(),F(z(Kye,1),je,348,0,[ore,ure,jI])))}function k$e(){k$e=Y,ron=It((l8(),F(z(Yye,1),je,349,0,[sre,Vye,Ox])))}function j$e(){j$e=Y,con=It((yB(),F(z(Zye,1),je,351,0,[Wye,lre,Qye])))}function E$e(){E$e=Y,uon=It(($B(),F(z(e4e,1),je,382,0,[fre,R7,Lm])))}function S$e(){S$e=Y,fsn=It((LE(),F(z(p4e,1),je,385,0,[w4e,dre,xI])))}function x$e(){x$e=Y,Hsn=It((CO(),F(z(q4e,1),je,386,0,[GH,H4e,G4e])))}function A$e(){A$e=Y,fln=It((LB(),F(z(l6e,1),je,303,0,[$re,s6e,o6e])))}function M$e(){M$e=Y,aln=It((tz(),F(z(f6e,1),je,436,0,[zx,XH,Rre])))}function C$e(){C$e=Y,Bln=It((sB(),F(z(_6e,1),je,429,0,[Yre,D6e,I6e])))}function T$e(){T$e=Y,zln=It((UB(),F(z($6e,1),je,430,0,[L6e,P6e,Qre])))}function O$e(){O$e=Y,Hln=It((DO(),F(z(Wre,1),je,435,0,[QH,WH,ZH])))}function N$e(){N$e=Y,wln=It((QB(),F(z(d6e,1),je,387,0,[h6e,qre,a6e])))}function I$e(){I$e=Y,Utn=It((SE(),F(z(mve,1),je,384,0,[Ste,Ete,xte])))}function D$e(){D$e=Y,Cnn=It((Fl(),F(z(Qo,1),je,130,0,[Yme,Yo,Qme])))}function _$e(){_$e=Y,Pnn=It((pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])))}function L$e(){L$e=Y,Rnn=It((ws(),F(z($nn,1),je,461,0,[Ih,ub,Uf])))}function P$e(){P$e=Y,znn=It((Uo(),F(z(Bnn,1),je,462,0,[Ea,ob,Xf])))}function $$e(){$$e=Y,ean=It((za(),F(z(r8e,1),je,279,0,[U7,Gm,X7])))}function R$e(){R$e=Y,van=It((Zy(),F(z(x8e,1),je,281,0,[S8e,Um,pG])))}function B$e(){B$e=Y,ran=It((F1(),F(z(w8e,1),je,347,0,[aG,e0,nA])))}function z$e(){z$e=Y,wan=It((AE(),F(z(j8e,1),je,300,0,[KI,Tce,k8e])))}function ga(e,n){return!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),xQ(e.o,n)}function E9n(e){return!e.g&&(e.g=new X6),!e.g.d&&(e.g.d=new FSe(e)),e.g.d}function S9n(e){return!e.g&&(e.g=new X6),!e.g.b&&(e.g.b=new zSe(e)),e.g.b}function rO(e){return!e.g&&(e.g=new X6),!e.g.c&&(e.g.c=new HSe(e)),e.g.c}function x9n(e){return!e.g&&(e.g=new X6),!e.g.a&&(e.g.a=new JSe(e)),e.g.a}function A9n(e,n,t,i){return t&&(i=t.Oh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function M9n(e,n,t,i){return t&&(i=t.Qh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function bY(e,n,t,i){var r;return r=le($t,ni,30,n+1,15,1),H_n(r,e,n,t,i),r}function le(e,n,t,i,r,c){var o;return o=vHe(r,i),r!=10&&F(z(e,c),n,t,r,o),o}function C9n(e,n,t){var i,r;for(r=new n8(n,e),i=0;it||n=0?e.Ih(t,!0,!0):Yw(e,n,!0)}function cO(e,n){var t,i,r;return r=e.r,i=e.d,t=bS(e,n,!0),t.b!=r||t.a!=i}function G$e(e,n){return HMe(e.e,n)||lg(e.e,n,new HJe(n)),u(Ba(e.e,n),113)}function Cs(e,n,t,i){return Ln(e),Ln(n),Ln(t),Ln(i),new Ffe(e,n,new Fu)}function uO(e,n,t){var i,r;return r=(i=C8(e.b,n),i),r?Wz(hO(e,r),t):null}function G9n(e,n,t){var i,r,c;i=I1(e,t),r=null,i&&(r=_0e(i)),c=r,zJe(n,t,c)}function q9n(e,n,t){var i,r,c;i=I1(e,t),r=null,i&&(r=_0e(i)),c=r,zJe(n,t,c)}function os(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new $fe(this,n,t,i)}function mY(e,n,t,i,r,c){Pae.call(this,n,i,r,c),this.c=e,this.b=t}function oO(e,n,t,i,r,c){Pae.call(this,n,i,r,c),this.c=e,this.a=t}function phe(e,n,t,i,r){XTe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function mhe(e,n){L$.call(this,n.xd(),n.wd()&-16449),Ln(e),this.a=e,this.c=n}function U9n(e,n){e.a.Le(n.d,e.b)>0&&(Ce(e.c,new lfe(n.c,n.d,e.d)),e.b=n.d)}function vY(e){e.a=le($t,ni,30,e.b+1,15,1),e.c=le($t,ni,30,e.b,15,1),e.d=0}function X9n(e,n,t){var i;return i=qze(e,n,t),e.b=new OB(i.c.length),_be(e,i)}function K9n(e){if(e.b<=0)throw R(new hu);return--e.b,e.a-=e.c.c,ye(e.a)}function V9n(e){var n;if(!e.a)throw R(new g_e);return n=e.a,e.a=Fi(e.a),n}function q$e(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)K(e,n);return Bae(e)}function Uy(e){var n;return Ot(e),X(e,204)?(n=u(e,204),n):new c9(e)}function Y9n(e){for(;!e.a;)if(!ONe(e.c,new Yke(e)))return!1;return!0}function vhe(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.g[n]}function U$e(e,n,t){if(o8(e,t),t!=null&&!e.dk(t))throw R(new gX);return t}function yY(e,n){return bO(n)!=10&&F(Us(n),n.Qm,n.__elementTypeId$,bO(n),e),e}function X$e(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),qy(e,i,t)}function X9(e,n,t,i){var r;i=(Iw(),i||Hme),r=e.slice(n,t),G0e(r,e,n,t,-n,i)}function $l(e,n,t,i,r){return n<0?Yw(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Q9n(e,n){return ji(ne(re(C(e,(ve(),mp)))),ne(re(C(n,mp))))}function K$e(){K$e=Y,jnn=It((K9(),F(z(pJ,1),je,309,0,[fte,ate,hte,dte])))}function K9(){K9=Y,fte=new l$("All",0),ate=new DTe,hte=new qTe,dte=new _Te}function ws(){ws=Y,Ih=new UX(m4,0),ub=new UX(U8,1),Uf=new UX(v4,2)}function V$e(){V$e=Y,Kz(),w7e=Vi,Ahn=Ir,p7e=new et(Vi),Mhn=new et(Ir)}function uB(){uB=Y,bfn=new Ev,wfn=new rL,gfn=akn((Xt(),Ece),bfn,wb,wfn)}function W9n(e){uB(),u(e.mf((Xt(),Fm)),182).Ec((ps(),XI)),e.of(Ece,null)}function Z9n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function e8n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function yhe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function Y$e(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function sO(e){var n;for(n=e.p+1;n=0?fz(e,t,!0,!0):Yw(e,n,!0)}function u8n(e,n){Oy(u(u(e.f,26).mf((Xt(),Wx)),102))&&ZFe(cae(u(e.f,26)),n)}function SRe(e,n){Os(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function xRe(e,n){Ns(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function ARe(e,n){Bw(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function MRe(e,n){Rw(e,n==null||Q$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function CRe(e){(this.q?this.q:(En(),En(),u1)).zc(e.q?e.q:(En(),En(),u1))}function xY(e,n,t){var i;return i=e.g[n],eE(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function hB(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function AY(e){var n;return e.d!=e.r&&(n=af(e),e.e=!!n&&n.jk()==uen,e.d=n),e.e}function MY(e,n){var t;for(Ot(e),Ot(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function Ba(e,n){var t;return t=u(zn(e.e,n),393),t?(tOe(e,t),t.e):null}function TRe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function lu(e,n){var t,i;return H0(e),i=new rhe(n,e.a),t=new CNe(i),new pn(e,t)}function R2(e,n){var t=e.a[n],i=(WY(),rte)[typeof t];return i?i(t):H1e(typeof t)}function o8n(e,n){var t,i,r;r=n.c.i,t=u(zn(e.f,r),60),i=t.d.c-t.e.c,n1e(n.a,i,0)}function Qh(e,n,t){var i,r;for(i=10,r=0;r=0;)++n[0]}function _Re(e,n,t,i){ai(),pw.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function $1(e,n,t,i,r,c,o){DY.call(this,n,i,r,c,o),this.c=e,this.b=t}function LRe(e){this.g=e,this.f=new Te,this.a=k.Math.min(this.g.c.c,this.g.d.c)}function xE(){xE=Y,rin=new Lp,cin=new Pp,tin=new $p,iin=new Rp,uin=new Al}function dB(){dB=Y,yte=new hse("EADES",0),kJ=new hse("FRUCHTERMAN_REINGOLD",1)}function gO(){gO=Y,QJ=new wse("READING_DIRECTION",0),x3e=new wse("ROTATION",1)}function PRe(){PRe=Y,Din=It((Y2(),F(z(Iin,1),je,371,0,[rI,KJ,VJ,XJ,UJ])))}function $Re(){$Re=Y,Yun=It((XE(),F(z(Pye,1),je,328,0,[Lye,Zie,ere,Ax,Mx])))}function RRe(){RRe=Y,crn=It((Xs(),F(z(t5e,1),je,165,0,[dI,bx,Q1,gx,Mg])))}function BRe(){BRe=Y,Fsn=It((Ez(),F(z(zsn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])))}function zRe(){zRe=Y,Jln=It((cS(),F(z(Fln,1),je,369,0,[e5,U4,Ux,qx,II])))}function FRe(){FRe=Y,Kln=It((XO(),F(z(H6e,1),je,330,0,[z6e,tce,J6e,ice,F6e])))}function JRe(){JRe=Y,Ytn=It((zr(),F(z(vve,1),je,363,0,[Kf,o1,eo,no,Pc])))}function HRe(){HRe=Y,Wfn=It((vr(),F(z(Zx,1),je,86,0,[ih,ru,Zc,th,Yl])))}function GRe(){GRe=Y,pfn=It((kh(),F(z(eh,1),je,160,0,[Tn,fr,Aa,Wd,Z1])))}function qRe(){qRe=Y,san=It((l3(),F(z(iA,1),je,257,0,[mb,UI,p8e,tA,m8e])))}function URe(){URe=Y,aan=It((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])))}function XRe(e){var n;return n=u(C(e,(ve(),wp)),317),n?n.a==e:!1}function KRe(e){var n;return n=u(C(e,(ve(),wp)),317),n?n.i==e:!1}function VRe(e,n){return Ln(n),_fe(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function bB(e){return ao(e,oi)>0?oi:ao(e,Xr)<0?Xr:Rt(e)}function w8n(e,n){var t;return t=Hw(e.e.c,n.e.c),t==0?ji(e.e.d,n.e.d):t}function TY(e,n){var t;return t=u(zn(e.a,n),150),t||(t=new Wg,ei(e.a,n,t)),t}function Rf(e,n,t){var i;if(n==null)throw R(new ly);return i=I1(e,n),F6n(e,n,t),i}function p8n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function m8n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],lc(zT(i))}function v8n(e,n,t){var i,r;for(r=new P(t);r.a0?n-1:n,EAe(ggn(mBe(gfe(new hy,t),e.n),e.j),e.k)}function A8n(e,n,t,i){var r;e.j=-1,ibe(e,L0e(e,n,t),(Tc(),r=u(n,69).tk(),r.vl(i)))}function eBe(e,n,t,i,r,c){var o;o=fY(i),fc(o,r),Gr(o,c),gn(e.a,i,new eR(o,n,t.f))}function gB(e,n){var t;return H0(e),t=new o_e(e,e.a.xd(),e.a.wd()|4,n),new pn(e,t)}function M8n(e,n){var t,i;return t=u(q2(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function Cn(e,n){var t;return t=(e.i==null&&Eh(e),e.i),n>=0&&n=-.01&&e.a<=Xa&&(e.a=0),e.b>=-.01&&e.b<=Xa&&(e.b=0),e}function Zv(e){O8();var n,t;for(t=Hpe,n=0;nt&&(t=e[n]);return t}function C8n(e){var n;return n=ne(re(C(e,(Oe(),Kd)))),n<0&&(n=0,he(e,Kd,n)),n}function T8n(e,n){Oy(u(C(u(e.e,9),(Oe(),Zi)),102))&&(En(),Tr(u(e.e,9).j,n))}function wB(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),he(t,(ve(),R4),n)}function O8n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;re||e>n)throw R(new Loe("fromIndex: 0, toIndex: "+e+Vge+n))}function rBe(e,n){Ei(e,(Zh(),Gre),n.f),Ei(e,gln,n.e),Ei(e,Hre,n.d),Ei(e,bln,n.c)}function Ao(e,n){var t,i,r,c;for(Ln(n),i=e.c,r=0,c=i.length;r0&&(e.a/=n,e.b/=n),e}function cBe(e,n,t){var i,r;i=n;do r=ne(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function sl(e){var n;return e.w?e.w:(n=x4n(e),n&&!n.Sh()&&(e.w=n),n)}function Che(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)}function R8n(e){var n;return e==null?null:(n=u(e,195),AMn(n,n.length))}function K(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.Ui(n,e.g[n])}function pa(){pa=Y,Ou=new qX("BEGIN",0),No=new qX(U8,1),Nu=new qX("END",2)}function za(){za=Y,U7=new pK(U8,0),Gm=new pK("HEAD",1),X7=new pK("TAIL",2)}function Xy(){Xy=Y,Psn=yh(yh(yh(_j(new or,(c4(),_x)),(lS(),hre)),l4e),d4e)}function R1(){R1=Y,Rsn=yh(yh(yh(_j(new or,(c4(),Px)),(lS(),a4e)),u4e),f4e)}function e3(e,n){return ygn(OE(e,n,Rt(hc(t1,Vh(Rt(hc(n==null?0:Ni(n),i1)),15)))))}function The(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)}function Y9(e,n){var t,i;i=e.a,t=vjn(e,n,null),i!=n&&!e.e&&(t=$8(e,n,t)),t&&t.mj()}function B8n(e,n){var t;return t=Nr(pc(u(zn(e.g,n),8)),Kse(u(zn(e.f,n),460).b)),t}function uBe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function Ky(e){var n;return cE(e==null||Array.isArray(e)&&(n=bO(e),!(n>=14&&n<=16))),e}function Ohe(e){e.b=(ws(),ub),e.f=(Uo(),ob),e.d=(ll(2,om),new xo(2)),e.e=new Vr}function pB(e){this.b=(Ot(e),new bs(e)),this.a=new Te,this.d=new Te,this.e=new Vr}function oBe(e){return H0(e),Iy(!0,"n may not be negative"),new pn(e,new ABe(e.a))}function z8n(e,n){En();var t,i;for(i=new Te,t=0;t0?u(Le(t.a,i-1),9):null}function Bf(e){if(!(e>=0))throw R(new Un("tolerance ("+e+") must be >= 0"));return e}function ME(){return oce||(oce=new BXe,Wy(oce,F(z(T4,1),Nn,148,0,[new DC]))),oce}function yB(){yB=Y,Wye=new uK("NO",0),lre=new uK(wwe,1),Qye=new uK("LOOK_BACK",2)}function Nc(){Nc=Y,Tx=new tK(ES,0),ys=new tK("INPUT",1),Io=new tK("OUTPUT",2)}function kB(){kB=Y,k3e=new VX("ARD",0),YJ=new VX("MSD",1),Vte=new VX("MANUAL",2)}function X8n(){return ZO(),F(z(S3e,1),je,267,0,[Wte,E3e,eie,nie,Zte,tie,uI,Qte,Yte])}function K8n(){return nN(),F(z(Iye,1),je,268,0,[Vie,Tye,Oye,Xie,Cye,Nye,MH,Uie,Kie])}function V8n(){return _s(),F(z(E8e,1),je,266,0,[Y7,WI,dG,oA,bG,wG,gG,Oce,QI])}function Y8n(){MMe();for(var e=Kne,n=0;nt)throw R(new S2(n,t));return new Vle(e,n)}function jB(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function Q8n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i=0),_En(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ABe(e){L$.call(this,e.yd(64)?Use(0,ff(e.xd(),1)):pN,e.wd()),this.b=1,this.a=e}function MBe(){ole.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=qf}function CBe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new SNe(this,n,t,i)}function DY(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function TBe(e){ese(),this.g=new wt,this.f=new wt,this.b=new wt,this.c=new _w,this.i=e}function Bhe(){this.f=new Vr,this.d=new yoe,this.c=new Vr,this.a=new Te,this.b=new Te}function Z8n(e){var n,t;for(t=new P(xHe(e));t.a=0}function zhe(){zhe=Y,bon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function OBe(){OBe=Y,gon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function Fhe(){Fhe=Y,won=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function NBe(){NBe=Y,pon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function IBe(){IBe=Y,mon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function DBe(){DBe=Y,von=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function _Be(){_Be=Y,jon=Eo(qt(qt(new or,(zr(),eo),(Ur(),PJ)),no,NJ),Pc,LJ)}function LBe(){LBe=Y,onn=F(z($t,1),ni,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Jhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function Hhe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function _Y(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,t,e.c))}function Ghe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function qhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.d))}function W9(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.k))}function LY(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.D))}function xB(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.f))}function AB(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,t,e.i))}function Uhe(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.a))}function Xhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function t7n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new Fxe:new yC,e.c=DIn(i,e.b,e.a)}function PBe(e,n){return G1(e.e,n)?(Tc(),AY(n)?new sR(n,e):new jT(n,e)):new sTe(n,e)}function i7n(e){var n,t;return 0>e?new Woe:(n=e+1,t=new VPe(n,e),new Cle(null,t))}function r7n(e,n){En();var t;return t=new my(1),$r(e)?Kc(t,e,n):Ko(t.f,e,n),new aX(t)}function c7n(e,n){var t;t=new Qg,u(n.b,68),u(n.b,68),u(n.b,68),Ao(n.a,new cfe(e,t,n))}function $Be(e,n){var t;return X(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function u7n(e){var n;return n=C(e,(ve(),mi)),X(n,174)?rJe(u(n,174)):null}function RBe(e){var n;return e=k.Math.max(e,2),n=w1e(e),e>n?(n<<=1,n>0?n:mS):n}function PY(e){switch(cle(e.e!=3),e.e){case 2:return!1;case 0:return!0}return f9n(e)}function Khe(e){var n;return e.b==null?(xd(),xd(),uD):(n=e.sl()?e.rl():e.ql(),n)}function BBe(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),HO(e,t.jd(),t.kd())}function Vhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,t,e.d))}function MB(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,13,t,e.j))}function Yhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,21,t,e.b))}function Qhe(e,n){e.r>0&&e.c0&&e.g!=0&&Qhe(e.i,n/e.r*e.i.d))}function zBe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i0?1:0:(!e.c&&(e.c=YT(Lu(e.f))),e.c).e}function YBe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function a7n(e,n){n.Tg(AQe,1),er(lu(new pn(null,new yn(e.b,16)),new nw),new ED),n.Ug()}function FY(e,n,t,i,r,c){var o;this.c=e,o=new Te,Pde(e,o,n,e.b,t,i,r,c),this.a=new qr(o,0)}function rr(e,n,t,i,r,c,o,l,f,h,g,p,y){return hqe(e,n,t,i,r,c,o,l,f,h,g,p,y),mQ(e,!1),e}function h7n(e,n){typeof window===dN&&typeof window.$gwt===dN&&(window.$gwt[e]=n)}function d7n(e,n,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(e[t]=i)}function b7n(e,n,t){t.Tg("DFS Treeifying phase",1),SEn(e,n),nIn(e,n),e.a=null,e.b=null,t.Ug()}function g7n(e,n){var t;n.Tg("General Compactor",1),t=uEn(u(ke(e,(X0(),_re)),386)),t.Bg(e)}function w7n(e,n){var t,i;return t=u(ke(e,(X0(),qH)),15),i=u(ke(n,qH),15),oo(t.a,i.a)}function n1e(e,n,t){var i,r;for(r=St(e,0);r.b!=r.d.c;)i=u(jt(r),8),i.a+=n,i.b+=t;return e}function p7n(e,n,t,i){var r;r=new dy,Yb(r,"x",kz(e,n,i.a)),Yb(r,"y",jz(e,n,i.b)),$y(t,r)}function m7n(e,n,t,i){var r;r=new dy,Yb(r,"x",kz(e,n,i.a)),Yb(r,"y",jz(e,n,i.b)),$y(t,r)}function v7n(){return V0(),F(z(Fye,1),je,243,0,[OH,yI,kI,Rye,Bye,$ye,zye,NH,$7,Cx])}function y7n(){return Ic(),F(z(fie,1),je,261,0,[nH,Vl,lx,tH,T7,B3,fx,M7,C7,iH])}function JY(){JY=Y,hA=new Pxe,Fce=F(z(ns,1),O3,179,0,[]),rhn=F(z(kf,1),cme,62,0,[])}function Vy(){Vy=Y,Pte=new Pi("edgelabelcenterednessanalysis.includelabel",($n(),cb))}function QBe(e,n){return ne(re(Js(NO(So(new pn(null,new yn(e.c.b,16)),new iEe(e)),n))))}function t1e(e,n){return ne(re(Js(NO(So(new pn(null,new yn(e.c.b,16)),new tEe(e)),n))))}function Ni(e){return $r(e)?_d(e):m2(e)?Ey(e):p2(e)?QOe(e):Nfe(e)?e.Hb():Afe(e)?xw(e):dae(e)}function WBe(e,n){return Da(),Bf(Xa),k.Math.abs(0-n)<=Xa||n==0||isNaN(0)&&isNaN(n)?0:e/n}function k7n(e,n){return r8(),e==dp&&n==pm||e==dp&&n==D3||e==mm&&n==D3||e==mm&&n==pm}function j7n(e,n){return r8(),e==dp&&n==mm||e==mm&&n==dp||e==D3&&n==pm||e==pm&&n==D3}function ss(){ss=Y,Cve=new x5,Ave=new d0,Mve=new Ph,xve=new lk,Tve=new _A,Ove=new A5}function E7n(e){var n;return n=HR(e),Xj(n.a,0)?(e$(),e$(),ynn):(e$(),new OOe(n.b))}function HY(e){var n;return n=_ae(e),Xj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(n.b))}function GY(e){var n;return n=_ae(e),Xj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(n.c))}function S7n(e){return e.b.c.i.k==(Fn(),wr)?u(C(e.b.c.i,(ve(),mi)),12):e.b.c}function ZBe(e){return e.b.d.i.k==(Fn(),wr)?u(C(e.b.d.i,(ve(),mi)),12):e.b.d}function eze(e){switch(e.g){case 2:return Ie(),Yn;case 4:return Ie(),nt;default:return e}}function nze(e){switch(e.g){case 1:return Ie(),bt;case 3:return Ie(),Vn;default:return e}}function x7n(e,n){var t;return t=y0e(e),Q0e(new Ee(t.c,t.d),new Ee(t.b,t.a),e.Kf(),n,e.$f())}function A7n(e,n){n.Tg(AQe,1),lde(Ngn(new IP((Oj(),new DV(e,!1,!1,new sk))))),n.Ug()}function i1e(){i1e=Y,Eon=yh(dTe(qt(qt(new or,(zr(),eo),(Ur(),PJ)),no,NJ),Pc),LJ)}function tze(){tze=Y,Mon=yh(dTe(qt(qt(new or,(zr(),eo),(Ur(),PJ)),no,NJ),Pc),LJ)}function ize(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new Te,wTn(this),En(),Tr(this.a,null)}function zl(e,n,t,i,r,c,o){Tt.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=$f(o)}function r1e(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function TE(e,n){var t,i;for(Ln(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function M7n(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!XR(e,n,i.Pb()))return!1;return!0}function OE(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&O1(n,i.g))return i;return null}function NE(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&O1(n,i.i))return i;return null}function C7n(e,n){var t;for(Ot(n);e.Ob();)if(t=e.Pb(),!s1e(u(t,9)))return!1;return!0}function T7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function O7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function rze(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function N7n(e){var n,t,i;return e.j==(Ie(),Vn)&&(n=cUe(e),t=cs(n,nt),i=cs(n,Yn),i||i&&t)}function I7n(e){var n,t,i;for(i=0,t=new P(e.b);t.ar&&n.ac&&n.br?t=r:Wn(n,t+1),e.a=sf(e.a,0,n)+(""+i)+Xfe(e.a,t)}function cze(e,n,t,i){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,t),n&&ITn(e,n),i&&e.el(!0)}function L7n(e,n){var t,i;for(i=new P(n.b);i.a1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw R(new hu)}function H7n(e,n){var t,i;for(i=new P(n);i.a>22),r=e.h+n.h+(i>>22),_o(t&Ls,i&Ls,r&U1)}function Ize(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),_o(t&Ls,i&Ls,r&U1)}function QY(e){var n,t,i,r;for(r=new Te,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=nm(t),Sr(r,n);return r}function skn(e){var n;Fd(e,!0),n=Jd,wi(e,(Oe(),_7))&&(n+=u(C(e,_7),15).a),he(e,_7,ye(n))}function Dze(e,n,t){var i;Hu(e.a),Ao(t.i,new tSe(e)),i=new R$(u(zn(e.a,n.b),68)),OJe(e,i,n),t.f=i}function a1e(e){var n,t;return t=(S0(),n=new yo,n),e&&Et((!e.a&&(e.a=new pe($i,e,6,6)),e.a),t),t}function Yy(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=wh(i,Xh(1,t));return i}function lkn(e,n){var t,i;for(DR(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function h1e(e,n){if(n===0){!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o.c.$b();return}pW(e,n)}function _ze(e){switch(e.g){case 1:return pb;case 2:return a1;case 3:return GI;default:return qI}}function d1e(e){En();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?Ni(n):0),i=i|0;return i}function fkn(e){var n;return n=new xn,n.a=e,n.b=wkn(e),n.c=le(Je,Ae,2,2,6,1),n.c[0]=VBe(e),n.c[1]=VBe(e),n}function BB(){BB=Y,$te=new b$(ya,0),GJ=new b$(TQe,1),qJ=new b$(OQe,2),iI=new b$("BOTH",3)}function r8(){r8=Y,dp=new h$("Q1",0),mm=new h$("Q4",1),pm=new h$("Q2",2),D3=new h$("Q3",3)}function B0(){B0=Y,sI=new ZX("ONLY_WITHIN_GROUP",0),F3e=new ZX(eee,1),Em=new ZX("ENFORCED",2)}function cg(){cg=Y,iie=new QX(ya,0),A7=new QX("INCOMING_ONLY",1),R3=new QX("OUTGOING_ONLY",2)}function Qy(){Qy=Y,dfn=new JM,hfn=new nL}function WY(){WY=Y,rte={boolean:Agn,number:Rbn,string:Bbn,object:gqe,function:gqe,undefined:pbn}}function Lze(){Lze=Y,Qun=It((V0(),F(z(Fye,1),je,243,0,[OH,yI,kI,Rye,Bye,$ye,zye,NH,$7,Cx])))}function Pze(){Pze=Y,Win=It((Ic(),F(z(fie,1),je,261,0,[nH,Vl,lx,tH,T7,B3,fx,M7,C7,iH])))}function akn(e,n,t,i){return new use(F(z(Eg,1),rF,45,0,[(qQ(e,n),new yw(e,n)),(qQ(t,i),new yw(t,i))]))}function hkn(e,n){var t,i;return t=u(u(zn(e.g,n.a),49).a,68),i=u(u(zn(e.g,n.b),49).a,68),xKe(t,i)}function b1e(e,n,t){var i;if(i=e.gc(),n>i)throw R(new S2(n,i));return e.Qi()&&(t=X_e(e,t)),e.Ci(n,t)}function $ze(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Lf(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function dkn(e,n){return!e||!n||e==n?!1:Hw(e.b.c,n.b.c+n.b.b)<0&&Hw(n.b.c,e.b.c+e.b.b)<0}function ZY(e,n,t){return e>=128?!1:e<64?Kj(Rr(Xh(1,e),t),0):Kj(Rr(Xh(1,e-64),n),0)}function AO(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function MO(e,n,t){return t==null?(!e.q&&(e.q=new wt),Gy(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function he(e,n,t){return t==null?(!e.q&&(e.q=new wt),Gy(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function Rze(e){var n,t;return t=new eB,Pu(t,e),he(t,($0(),N4),e),n=new wt,oLn(e,t,n),R$n(e,t,n),t}function bkn(e){O8();var n,t,i;for(t=le(Lr,Ae,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=XSn(i,e);return t}function Bze(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;ce.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function g1e(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=af(e),X(n,88)&&(e.c=u(n,29))),e.c}function w1e(e){var n;if(e<0)return Xr;if(e==0)return 0;for(n=mS;(n&e)==0;n>>=1);return n}function wkn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+TRe(e))}function Fze(e){var n,t;return t=QO(e.h),t==32?(n=QO(e.m),n==32?QO(e.l)+32:n+20-10):t-12}function eQ(e){var n,t,i;n=~e.l+1&Ls,t=~e.m+(n==0?1:0)&Ls,i=~e.h+(n==0&&t==0?1:0)&U1,e.l=n,e.m=t,e.h=i}function DE(e){var n;return n=e.a[e.b],n==null?null:(ir(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function p1e(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function m1e(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function Jze(e,n){this.b=e,Bv.call(this,(u(K(we((O0(),Bn).o),10),19),n.i),n.g),this.a=(JY(),Fce)}function v1e(e,n,t){this.q=new k.Date,this.q.setFullYear(e+Z0,n,t),this.q.setHours(0,0,0,0),aS(this,0)}function Hze(e,n,t){var i,r;return i=new pY(n,t),r=new si,e.b=sXe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function y1e(e,n){En();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;ro||i+r>c)throw R(new foe)}function Gze(e,n,t){var i,r,c,o;for(o=BE(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),ei(e.c,i,ye(c++))}function z0(e){var n,t;for(t=new P(e.a.b);t.a=0,"Negative initial capacity"),RT(n>=0,"Non-positive load factor"),Hu(this)}function Vze(e,n){var t;for(t=0;t1||n>=0&&e.b<3)}function xkn(){ai();var e;return Xce||(e=jpn(Y0("M",!0)),e=gR(Y0("M",!1),e),Xce=e,Xce)}function Wze(e){if(e.g===0)return new F6;throw R(new Un(FF+(e.f!=null?e.f:""+e.g)))}function Zze(e){if(e.g===0)return new eL;throw R(new Un(FF+(e.f!=null?e.f:""+e.g)))}function x1e(e,n,t){if(n===0){!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),DB(e.o,t);return}yW(e,n,t)}function tQ(e,n,t){this.g=e,this.e=new Vr,this.f=new Vr,this.d=new xi,this.b=new xi,this.a=n,this.c=t}function iQ(e,n,t,i){this.b=new Te,this.n=new Te,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function eFe(e,n,t,i){this.b=new wt,this.g=new wt,this.d=($E(),CH),this.c=e,this.e=n,this.d=t,this.a=i}function o8(e,n){if(!e.Ji()&&n==null)throw R(new Un("The 'no null' constraint is violated"));return n}function A1e(e){switch(e.g){case 1:return QQe;default:case 2:return 0;case 3:return WQe;case 4:return Jpe}}function Akn(e){return Ce(e.c,(Qy(),dfn)),Che(e.a,ne(re(_e((SQ(),AH)))))?new eC:new sSe(e)}function Mkn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!xj(e.b))e.d=u(Ly(e.b),50);else return null;return e.d}function _d(e){var n,t;for(n=0,t=0;ti?1:0}function nFe(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function rQ(e,n){var t;return n===e?!0:X(n,229)?(t=u(n,229),gi(e.Zb(),t.Zb())):!1}function M1e(e,n){return UUe(e,n)?(gn(e.b,u(C(n,(ve(),Y1)),22),n),Vt(e.a,n),!0):!1}function Okn(e,n){return wi(e,(ve(),Oi))&&wi(n,Oi)?u(C(n,Oi),15).a-u(C(e,Oi),15).a:0}function Nkn(e,n){return wi(e,(ve(),Oi))&&wi(n,Oi)?u(C(e,Oi),15).a-u(C(n,Oi),15).a:0}function tFe(e){return Qa?le(Enn,RYe,567,0,0,1):u(Fa(e.a,le(Enn,RYe,567,e.a.c.length,0,1)),840)}function Us(e){return $r(e)?Je:m2(e)?gr:p2(e)?Qi:Nfe(e)||Afe(e)?e.Pm:e.Pm||Array.isArray(e)&&z(nnn,1)||nnn}function u3(e,n,t){var i,r;return r=(i=new yX,i),Fc(r,n,t),Et((!e.q&&(e.q=new pe(kf,e,11,10)),e.q),r),r}function cQ(e){var n,t,i,r;for(r=Jgn(_an,e),t=r.length,i=le(Je,Ae,2,t,6,1),n=0;n=e.b.c.length||(C1e(e,2*n+1),t=2*n+2,t0&&(n.Ad(t),t.i&&cSn(t))}function T1e(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:HX(Rr(e[i],Dc),Rr(n[i],Dc))?-1:1}function Dkn(e,n){var t;return!e||e==n||!wi(n,(ve(),pp))?!1:(t=u(C(n,(ve(),pp)),9),t!=e)}function uQ(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function iFe(e,n,t){return e.d[n.p][t.p]||(MSn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function rFe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=RBe(t),i=le(Zen,mN,227,r,0,1),this.b=i}function _kn(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function cFe(e,n,t){var i,r,c,o;for(Ln(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function oQ(e,n){var t,i;return i=u(Kn(e.a,4),129),t=le(Bce,_ne,415,n,0,1),i!=null&&Wu(i,0,t,0,i.length),t}function uFe(e,n){var t;return t=new DW((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function Lkn(e,n){var t;return e===n?!0:X(n,92)?(t=u(n,92),N0e(Gb(e),t.vc())):!1}function oFe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function zB(){zB=Y,Dce=new T$("ELK",0),_8e=new T$("JSON",1),D8e=new T$("DOT",2),L8e=new T$("SVG",3)}function _E(){_E=Y,xre=new k$(eee,0),JH=new k$(nWe,1),Sre=new k$("FAN",2),Ere=new k$("CONSTRAINT",3)}function LE(){LE=Y,w4e=new lK(ya,0),dre=new lK("MIDDLE_TO_MIDDLE",1),xI=new lK("AVOID_OVERLAP",2)}function CO(){CO=Y,GH=new fK(ya,0),H4e=new fK("RADIAL_COMPACTION",1),G4e=new fK("WEDGE_COMPACTION",2)}function PE(){PE=Y,ore=new rK("STACKED",0),ure=new rK("REVERSE_STACKED",1),jI=new rK("SEQUENCED",2)}function Fl(){Fl=Y,Yme=new GX("CONCURRENT",0),Yo=new GX("IDENTITY_FINISH",1),Qme=new GX("UNORDERED",2)}function F1(){F1=Y,aG=new mK($2e,0),e0=new mK("INCLUDE_CHILDREN",1),nA=new mK("SEPARATE_CHILDREN",2)}function FB(){FB=Y,g8e=new Ew(15),ian=new Yr((Xt(),f1),g8e),eA=Y4,a8e=Cfn,h8e=Lg,b8e=r5,d8e=zm}function sQ(){sQ=Y,Mte=z_e(F(z(Zx,1),je,86,0,[(vr(),Zc),ru])),Cte=z_e(F(z(Zx,1),je,86,0,[Yl,th]))}function Pkn(e){var n,t,i;for(n=0,i=le(Lr,Ae,8,e.b,0,1),t=St(e,0);t.b!=t.d.c;)i[n++]=u(jt(t),8);return i}function lQ(e,n,t){var i,r,c;for(i=new xi,c=St(t,0);c.b!=c.d.c;)r=u(jt(c),8),Vt(i,new wc(r));cFe(e,n,i)}function $kn(e,n){var t;t=_e((SQ(),AH))!=null&&n.Rg()!=null?ne(re(n.Rg()))/ne(re(_e(AH))):1,ei(e.b,n,t)}function Rkn(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function O1e(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t0)return _9(n-1,e.a.c.length),Od(e.a,n-1);throw R(new uxe)}function Bkn(e,n,t){if(n<0)throw R(new jo(yWe+n));nn)throw R(new Un(lF+e+BYe+n));if(e<0||n>t)throw R(new Loe(lF+e+Wge+n+Vge+t))}function lFe(e){if(!e.a||(e.a.i&8)==0)throw R(new Uc("Enumeration class expected for layout option "+e.f))}function fFe(e){q_e.call(this,"The given string does not match the expected format for individual spacings.",e)}function aFe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function Ld(e){switch(e.c){case 0:return cV(),yme;case 1:return new sy(Eqe(new py(e)));default:return new Zxe(e)}}function hFe(e){switch(e.gc()){case 0:return cV(),yme;case 1:return new sy(e.Jc().Pb());default:return new ose(e)}}function I1e(e){var n;return n=(!e.a&&(e.a=new pe(td,e,9,5)),e.a),n.i!=0?zgn(u(K(n,0),684)):null}function zkn(e,n){var t;return t=mc(e,n),HX(QV(e,n),0)|D$(QV(e,t),0)?t:mc(pN,QV(Ub(t,63),1))}function D1e(e,n,t){var i,r;return _2(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(ffe(e.c,n,i),!0)}function Fkn(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.b,null),e.b=e.b+1&t}function Jkn(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.c,null)}function s8(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),LY(e,n==null?null:(Ln(n),n)),e.C&&e.fl(null)}function o3(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(o2(e.a.c,0),Sr(e.a,e.b),Sr(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function G2(e){var n;++e.j,e.i==0?e.g=null:e.ir&&(rGe(n.q,r),i=t!=n.q.d)),i}function kFe(e,n){var t,i,r,c,o,l,f,h;return f=n.i,h=n.j,i=e.f,r=i.i,c=i.j,o=f-r,l=h-c,t=k.Math.sqrt(o*o+l*l),t}function P1e(e,n){var t,i;return i=cz(e),i||(t=(eZ(),jUe(n)),i=new YSe(t),Et(i.Cl(),e)),i}function TO(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function Kkn(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw R(new hu);return n=e.a,e.a+=e.c.c,++e.b,ye(n)}function Vkn(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n=i||n=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function ijn(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function J0(e,n){var t,i,r,c;return c=(r=e?cz(e):null,bqe((i=n,r&&r.El(),i))),c==n&&(t=cz(e),t&&t.El()),c}function R1e(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,1,r,n),t?t.lj(i):t=i),t}function SFe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,3,r,n),t?t.lj(i):t=i),t}function xFe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,0,r,n),t?t.lj(i):t=i),t}function AFe(e){var n,t;if(e!=null)for(t=0;t-129&&e<128?(xIe(),n=e+128,t=Lme[n],!t&&(t=Lme[n]=new Pn(e)),t):new Pn(e)}function ye(e){var n,t;return e>-129&&e<128?(mIe(),n=e+128,t=Nme[n],!t&&(t=Nme[n]=new co(e)),t):new co(e)}function ljn(e,n,t,i,r){n==0||i==0||(n==1?r[i]=Ode(r,t,i,e[0]):i==1?r[n]=Ode(r,e,n,t[0]):WTn(e,t,r,n,i))}function NFe(e,n){var t;e.c.length!=0&&(t=u(Fa(e,le(s1,Hd,9,e.c.length,0,1)),199),Fse(t,new Rh),$qe(t,n))}function IFe(e,n){var t;e.c.length!=0&&(t=u(Fa(e,le(s1,Hd,9,e.c.length,0,1)),199),Fse(t,new hv),$qe(t,n))}function DFe(e,n){var t;e.a.c.length>0&&(t=u(Le(e.a,e.a.c.length-1),565),M1e(t,n))||Ce(e.a,new qPe(n))}function fjn(e){rl();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),Ao(t.b,new Jje(n)),Ao(t.c,new Hje(n)),cc(t.i,new Gje(n))}function _Fe(e){var n;return n=new j0,n.a+="VerticalSegment ",uo(n,e.e),n.a+=" ",Kt(n,ile(new IX,new P(e.k))),n.a}function ajn(e,n){var t;e.c=n,e.a=lEn(n),e.a<54&&(e.f=(t=n.d>1?HLe(n.a[0],n.a[1]):HLe(n.a[0],0),eg(n.e>0?t:Id(t))))}function dQ(e,n){var t,i,r;for(t=0,r=vu(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=C(i,(ve(),vs))!=null?1:0;return t}function s3(e,n,t){var i,r,c;for(i=0,c=St(e,0);c.b!=c.d.c&&(r=ne(re(jt(c))),!(r>t));)r>=n&&++i;return i}function hjn(e){var n;return n=u(Ba(e.c.c,""),233),n||(n=new zy(p9(w9(new g0,""),"Other")),lg(e.c.c,"",n)),n}function RE(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (name: ",Bc(n,e.zb),n.a+=")",n.a)}function F1e(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),t}function OO(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&Wu(e.g,n,e.g,n+1,e.i-n),ir(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function J1e(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function djn(e,n,t){var i,r;return i=new $1(e.e,3,13,null,(r=n.c,r||(jn(),uh)),Bd(e,n),!1),t?t.lj(i):t=i,t}function bjn(e,n,t){var i,r;return i=new $1(e.e,4,13,(r=n.c,r||(jn(),uh)),null,Bd(e,n),!1),t?t.lj(i):t=i,t}function gjn(e,n){var t,i,r,c;if(n.cj(e.a),c=u(Kn(e.a,8),1997),c!=null)for(t=c,i=0,r=t.length;i>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function wjn(e){return e?(e.i&1)!=0?e==ts?Qi:e==$t?jr:e==Zm?p7:e==Jr?gr:e==Tp?ap:e==f5?hp:e==ds?A4:QS:e:null}function gi(e,n){return $r(e)?bn(e,n):m2(e)?ANe(e,n):p2(e)?(Ln(e),ue(e)===ue(n)):Nfe(e)?e.Fb(n):Afe(e)?kTe(e,n):Tae(e,n)}function PFe(e){var n;return ao(e,0)<0&&(e=R0(L3n(su(e)?lf(e):e))),n=Rt(Ub(e,32)),64-(n!=0?QO(n):QO(Rt(e))+32)}function NO(e,n){var t;return t=new Ia,e.a.zd(t)?(x9(),new xX(Ln(vRe(e,t.a,n)))):(N0(e),x9(),x9(),Ume)}function BE(e,n){switch(n.g){case 2:case 1:return vu(e,n);case 3:case 4:return Ks(vu(e,n))}return En(),En(),Sc}function pjn(e,n){var t;return n.a&&(t=n.a.a.length,e.a?Kt(e.a,e.b):e.a=new il(e.d),XLe(e.a,n.a,n.d.length,t)),e}function mjn(e){iF();var n,t,i,r;for(t=DQ(),i=0,r=t.length;it)throw R(new jo(lF+e+Wge+n+", size: "+t));if(e>n)throw R(new Un(lF+e+BYe+n))}function Jl(e,n,t){if(n<0)X0e(e,t);else{if(!t.pk())throw R(new Un(ib+t.ve()+RS));u(t,69).uk().Ck(e,e.ei(),n)}}function bQ(e,n,t){return k.Math.abs(n-e)LF?e-t>LF:t-e>LF}function G1e(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new pe(Eu,e,1,7)),e.n;case 2:return e.k}return Bde(e,n,t,i)}function RFe(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (source: ",Bc(n,e.d),n.a+=")",n.a)}function $d(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,2,t,n))}function q1e(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,8,t,n))}function U1e(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,9,t,n))}function Rd(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,3,t,n))}function qB(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,8,t,n))}function vjn(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,5,r,e.a),t?f0e(t,i):t=i),t}function zE(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):Ji(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function BFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),29),ue(n)===ue(t))return!0;return!1}function zFe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function X1e(e){var n,t;return n=e.k,n==(Fn(),wr)?(t=u(C(e,(ve(),Iu)),64),t==(Ie(),Vn)||t==bt):!1}function FFe(e){var n;return n=_ae(e),Xj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(JX(n.a,0)?the(n)/eg(n.a):0))}function yjn(e,n){var t;if(t=tN(e,n),X(t,335))return u(t,38);throw R(new Un(ib+n+"' is not a valid attribute"))}function FE(e,n,t){var i;if(i=e.gc(),n>i)throw R(new S2(n,i));if(e.Qi()&&e.Gc(t))throw R(new Un(JN));e.Ei(n,t)}function JFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),143),ue(n)===ue(t))return!0;return!1}function kjn(e,n,t){var i,r,c;return c=(r=C8(e.b,n),r),c&&(i=u(Wz(hO(e,c),""),29),i)?pbe(e,i,n,t):null}function gQ(e,n,t){var i,r,c;return c=(r=C8(e.b,n),r),c&&(i=u(Wz(hO(e,c),""),29),i)?mbe(e,i,n,t):null}function jjn(e){var n,t,i;for(i=0,t=e.length,n=0;n=0?G0(e):hE(G0(Id(e))))}function HFe(e,n,t,i,r,c){this.e=new Te,this.f=(Nc(),Tx),Ce(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function ji(e,n){return en?1:e==n?e==0?ji(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function Ejn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,ir(e.a,e.c,null),n)}function GFe(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function Sjn(e){var n,t,i;for(n=new Te,i=new P(e.b);i.a=1?ru:th):t}function Ojn(e){var n,t;for(t=EUe(sl(e)).Jc();t.Ob();)if(n=Pt(t.Pb()),fS(e,n))return J6n((BMe(),Uan),n);return null}function Njn(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),xO(t,u(Le(n,i.p),18)))return i;return null}function Ijn(e,n,t){var i,r;for(r=X(n,103)&&(u(n,19).Bb&Ec)!=0?new SK(n,e):new n8(n,e),i=0;i>10)+jN&yr,n[1]=(e&1023)+56320&yr,vh(n,0,n.length)}function W1e(e,n){var t;t=(e.Bb&Ec)!=0,n?e.Bb|=Ec:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,20,t,n))}function w8(e,n){var t;t=(e.Bb&Sh)!=0,n?e.Bb|=Sh:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,16,t,n))}function mQ(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,18,t,n))}function Z1e(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,18,t,n))}function vu(e,n){var t;return e.i||U0e(e),t=u(zc(e.g,n),49),t?new D0(e.j,u(t.a,15).a,u(t.b,15).a):(En(),En(),Sc)}function Ljn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?mO(i,r):i!=null?-1:r!=null?1:0}function ede(e,n,t){var i,r;return i=(S0(),r=new qk,r),mB(i,n),vB(i,t),e&&Et((!e.a&&(e.a=new mr(kl,e,5)),e.a),i),i}function nde(e,n,t){var i;return i=0,n&&(Fv(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(Fv(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Jw(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function vQ(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (identifier: ",Bc(n,e.k),n.a+=")",n.a)}function VB(e){var n;switch(e.gc()){case 0:return lR(),ete;case 1:return new GK(Ot(e.Xb(0)));default:return n=e,new WV(n)}}function Pjn(e){switch(u(C(e,(Oe(),W1)),222).g){case 1:return new gd;case 3:return new $5;default:return new Jp}}function $jn(e){var n;return n=Q2(e),n>34028234663852886e22?Vi:n<-34028234663852886e22?Ir:n}function mc(e,n){var t;return su(e)&&su(n)&&(t=e+n,kNn){RLe(t);break}}SR(t,n)}function en(e,n){var t,i,r,c,o;if(t=n.f,lg(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;cn&&i.Le(e[c-1],e[c])>0;--c)o=e[c],ir(e,c,e[c-1]),ir(e,c-1,o)}function Hl(e,n,t,i){if(n<0)jbe(e,t,i);else{if(!t.pk())throw R(new Un(ib+t.ve()+RS));u(t,69).uk().Ak(e,e.ei(),n,i)}}function Xjn(e,n){var t;if(t=tN(e.Ah(),n),X(t,103))return u(t,19);throw R(new Un(ib+n+"' is not a valid reference"))}function YB(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw R(new Un("Node "+n+" not part of edge "+e))}function ide(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return G1e(e,n,t,i)}function Kjn(e){return e.k!=(Fn(),Wi)?!1:Wv(new pn(null,new T2(new Xn(Qn(Ii(e).a.Jc(),new ee)))),new rM)}function Xs(){Xs=Y,dI=new dT(ya,0),bx=new dT("FIRST",1),Q1=new dT(TQe,2),gx=new dT("LAST",3),Mg=new dT(OQe,4)}function HE(){HE=Y,ox=new w$("LAYER_SWEEP",0),m3e=new w$("MEDIAN_LAYER_SWEEP",1),cI=new w$(cee,2),v3e=new w$(ya,3)}function QB(){QB=Y,h6e=new dK("ASPECT_RATIO_DRIVEN",0),qre=new dK("MAX_SCALE_DRIVEN",1),a6e=new dK("AREA_DRIVEN",2)}function WB(){WB=Y,Ice=new C$(zpe,0),T8e=new C$("GROUP_DEC",1),N8e=new C$("GROUP_MIXED",2),O8e=new C$("GROUP_INC",3)}function Vjn(e,n){return bn(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n),e.b&&e.c?Zb(e.b)+"->"+Zb(e.c):"e_"+Ni(e))}function Yjn(e,n){return bn(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n),e.b&&e.c?Zb(e.b)+"->"+Zb(e.c):"e_"+Ni(e))}function Hw(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n))}function rde(e){SQ(),this.c=$f(F(z(nzn,1),Nn,829,0,[qun])),this.b=new wt,this.a=e,ei(this.b,AH,1),Ao(Uun,new oSe(this))}function GE(e){var n;this.a=(n=u(e.e&&e.e(),10),new Ll(n,u(_f(n,n.length),10),0)),this.b=le(Mr,Nn,1,this.a.a.length,5,1)}function fu(e){var n;return Array.isArray(e)&&e.Rm===vn?Bb(Us(e))+"@"+(n=Ni(e)>>>0,n.toString(16)):e.toString()}function Qjn(e){var n;return e==null?!0:(n=e.length,n>0&&(Wn(n-1,e.length),e.charCodeAt(n-1)==58)&&!jQ(e,fA,aA))}function jQ(e,n,t){var i,r;for(i=0,r=e.length;i=r)return n.c+t;return n.c+n.b.gc()}function ZFe(e,n){T9();var t,i,r,c;for(i=q$e(e),r=n,X9(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function ude(e){var n,t,i;for(i=new kd,i.a+="[",n=0,t=e.gc();n=0;--i)for(n=t[i],r=0;r>5,n=e&31,i=le($t,ni,30,t+1,15,1),i[t]=1<0&&(n.lengthe.i&&ir(n,e.i,null),n}function ZB(e){var n;return(e.Db&64)!=0?RE(e):(n=new uf(RE(e)),n.a+=" (instanceClassName: ",Bc(n,e.D),n.a+=")",n.a)}function ez(e){var n,t,i,r;for(r=0,t=0,i=e.length;t0?(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=TUe(e,r,i,n),t!=-1):!1}function Co(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),OO(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):OO(e,e.i,n),t}function ma(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=ebe(e,r,i,n),t)?t.kd():null}function vEn(e,n,t){var i,r;return i=new $1(e.e,3,10,null,(r=n.c,X(r,88)?u(r,29):(jn(),Ef)),Bd(e,n),!1),t?t.lj(i):t=i,t}function yEn(e,n,t){var i,r;return i=new $1(e.e,4,10,(r=n.c,X(r,88)?u(r,29):(jn(),Ef)),null,Bd(e,n),!1),t?t.lj(i):t=i,t}function fJe(e,n){var t,i,r;return X(n,45)?(t=u(n,45),i=t.jd(),r=q2(e.Pc(),i),O1(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function gde(e,n){switch(n){case 3:Rw(e,0);return;case 4:Bw(e,0);return;case 5:Os(e,0);return;case 6:Ns(e,0);return}z1e(e,n)}function Gw(e,n){switch(n.g){case 1:return Ny(e.j,(ss(),Ave));case 2:return Ny(e.j,(ss(),Cve));default:return En(),En(),Sc}}function G0(e){jh();var n,t;return t=Rt(e),n=Rt(Ub(e,32)),n!=0?new vLe(t,n):t>10||t<0?new _1(1,t):hnn[t]}function aJe(e){V2();var n;return(e.q?e.q:(En(),En(),u1))._b((Oe(),kp))?n=u(C(e,kp),203):n=u(C(_r(e),Ex),203),n}function kEn(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function hJe(e,n,t){pBe(),jxe.call(this),this.a=x2(Lnn,[Ae,nwe],[592,216],0,[vJ,wte],2),this.c=new Sy,this.g=e,this.f=n,this.d=t}function dJe(e){this.e=le($t,ni,30,e.length,15,1),this.c=le(ts,va,30,e.length,16,1),this.b=le(ts,va,30,e.length,16,1),this.f=0}function jEn(e){var n,t;for(e.j=le(Jr,Jc,30,e.p.c.length,15,1),t=new P(e.p);t.a>5,n&=31,r=e.d+t+(n==0?0:1),i=le($t,ni,30,r,15,1),yMn(i,e.a,t,n),c=new Xb(e.e,r,i),mE(c),c}function p8(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function $O(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function CQ(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t0?(k.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function MEn(e){var n;n=e.a;do n=u(rt(new Xn(Qn(Ii(n).a.Jc(),new ee))),17).d.i,n.k==(Fn(),dr)&&Ce(e.e,n);while(n.k==(Fn(),dr))}function CEn(e,n){var t,i,r;for(i=new Xn(Qn(Ii(e).a.Jc(),new ee));ht(i);)if(t=u(rt(i),17),r=t.d.i,r.c==n)return!1;return!0}function vJe(e,n,t){var i,r,c,o;for(r=u(zn(e.b,t),171),i=0,o=new P(n.j);o.an?1:Jb(isNaN(e),isNaN(n)))>0}function vde(e,n){return Da(),Da(),Bf(W0),(k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n)))<0}function SJe(e,n){return Da(),Da(),Bf(W0),(k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n)))<=0}function yde(e){switch(e.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 kde(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=aR(this.c,this.b,this.a))}function NEn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(WY(),rte)[typeof i],c=r?r(i):H1e(typeof i);return c}function m8(e){var n,t,i;if(i=null,n=Oh in e.a,t=!n,t)throw R(new ah("Every element must have an id."));return i=s4(I1(e,Oh)),i}function qw(e){var n,t;for(t=QGe(e),n=null;e.c==2;)fi(e),n||(n=(ai(),ai(),new Wj(2)),dg(n,t),t=n),t.Hm(QGe(e));return t}function iz(e,n){var t,i,r;return e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=ebe(e,r,i,n),t?(EBe(e,t),t.kd()):null}function vh(e,n,t){var i,r,c,o;for(c=n+t,Qr(n,c,e.length),o="",r=n;rn.e?1:e.en.d?e.e:e.d=48&&e<48+k.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function IEn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw R(new Un("Input edge is not connected to the input port."))}function yh(e,n){if(e.a<0)throw R(new Uc("Did not call before(...) or after(...) before calling add(...)."));return wle(e,e.a,n),e}function jde(e){return FR(),X(e,166)?u(zn(iD,pnn),296).Qg(e):so(iD,Us(e))?u(zn(iD,Us(e)),296).Qg(e):null}function Lo(e){var n,t;return(e.Db&32)==0&&(t=(n=u(Kn(e,16),29),dt(n||e.fi())-dt(e.fi())),t!=0&&n4(e,32,le(Mr,Nn,1,t,5,1))),e}function n4(e,n,t){var i;(e.Db&n)!=0?t==null?QTn(e,n):(i=YQ(e,n),i==-1?e.Eb=t:ir(Ky(e.Eb),i,t)):t!=null&&pIn(e,n,t)}function DEn(e,n,t,i){var r,c;n.c.length!=0&&(r=aNn(t,i),c=vTn(n),er(gB(new pn(null,new yn(c,1)),new v_),new VDe(e,t,r,i)))}function _En(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,NOe(t=c?(Jkn(e,n),-1):(Fkn(e,n),1)}function LEn(e,n){var t,i;for(t=(Wn(n,e.length),e.charCodeAt(n)),i=n+1;in.e?1:e.fn.f?1:Ni(e)-Ni(n)}function TJe(e,n){var t;return ue(n)===ue(e)?!0:!X(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function rz(e,n){return Ln(e),n==null?!1:bn(e,n)?!0:e.length==n.length&&bn(e.toLowerCase(),n.toLowerCase())}function K2(e){var n,t;return ao(e,-129)>0&&ao(e,128)<0?(SIe(),n=Rt(e)+128,t=Ime[n],!t&&(t=Ime[n]=new Sn(e)),t):new Sn(e)}function t4(){t4=Y,ix=new d$(ya,0),kve=new d$("INSIDE_PORT_SIDE_GROUPS",1),Ote=new d$("GROUP_MODEL_ORDER",2),Nte=new d$(eee,3)}function cz(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>RZ)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function REn(e){var n;return e.b||wgn(e,(n=w2n(e.e,e.a),!n||!bn(hne,ma((!n.b&&(n.b=new Hs((jn(),Ac),Du,n)),n.b),"qualified")))),e.c}function BEn(e){var n,t;for(t=new P(e.a.b);t.a2e3&&(tnn=e,hJ=k.setTimeout(Ign,10))),aJ++==0?(d8n((Ooe(),jme)),!0):!1}function QEn(e,n,t){var i;(Snn?(fEn(e),!0):xnn||Mnn?(E9(),!0):Ann&&(E9(),!1))&&(i=new $Ne(n),i.b=t,WMn(e,i))}function NQ(e,n){var t;t=!e.A.Gc((Vs(),$g))||e.q==(Br(),to),e.u.Gc((ps(),nd))?t?vRn(e,n):IVe(e,n):e.u.Gc(yb)&&(t?F$n(e,n):XVe(e,n))}function WEn(e,n,t){var i,r;hW(e.e,n,t,(Ie(),Yn)),hW(e.i,n,t,nt),e.a&&(r=u(C(n,(ve(),mi)),12),i=u(C(t,mi),12),ZV(e.g,r,i))}function _Je(e){var n;ue(ke(e,(Xt(),n5)))===ue((F1(),aG))&&(Fi(e)?(n=u(ke(Fi(e),n5),347),Ei(e,n5,n)):Ei(e,n5,nA))}function LJe(e,n,t){return new Lf(k.Math.min(e.a,n.a)-t/2,k.Math.min(e.b,n.b)-t/2,k.Math.abs(e.a-n.a)+t,k.Math.abs(e.b-n.b)+t)}function PJe(e){var n;this.d=new Te,this.j=new Vr,this.g=new Vr,n=e.g.b,this.f=u(C(_r(n),(Oe(),pl)),86),this.e=ne(re(sz(n,Dm)))}function $Je(e){this.d=new Te,this.e=new L0,this.c=le($t,ni,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=e}function Mde(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new Ee(0,i);case 2:case 4:return new Ee(i,0);default:return null}}function ZEn(e,n){var t;if(t=e3(e.o,n),t==null)throw R(new ah("Node did not exist in input."));return Abe(e,n),$W(e,n),wbe(e,n,t),null}function RJe(e,n){var t,i;for(i=e.a.length,n.lengthi&&ir(n,i,null),n}function Fa(e,n){var t,i;for(i=e.c.length,n.lengthi&&ir(n,i,null),n}function IQ(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n0&&(Ce(e.b,new nIe(n.a,t)),i=n.a.length,0i&&(n.a+=YTe(le(Zl,xh,30,-i,15,1))))}function FJe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new P(o3(n));r.a=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t=0?e.Th(r):jW(e,i)):t<0?jW(e,i):u(i,69).uk().zk(e,e.ei(),t)}function qJe(e){var n,t,i;for(i=(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return rO(i)}function _e(e){var n;if(X(e.a,4)){if(n=jde(e.a),n==null)throw R(new Uc(jWe+e.b+"'. "+kWe+(T1(rD),rD.k)+O2e));return n}else return e.a}function fSn(e){var n;if(e==null)return null;if(n=MRn(bo(e,!0)),n==null)throw R(new TX("Invalid base64Binary value: '"+e+"'"));return n}function ft(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function PQ(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function oz(e){var n,t,i,r;for(r=0,t=0,i=e.length;t=64&&n<128&&(r=wh(r,Xh(1,n-64)));return r}function sz(e,n){var t,i;return i=null,wi(e,(Xt(),Q4))&&(t=u(C(e,Q4),105),t.nf(n)&&(i=t.mf(n))),i==null&&_r(e)&&(i=C(_r(e),n)),i}function aSn(e,n){var t;return t=u(C(e,(Oe(),Wc)),78),IK(n,sin)?t?qs(t):(t=new xs,he(e,Wc,t)):t&&he(e,Wc,null),t}function hSn(e,n){var t,i,r;for(r=new xo(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?A8(e,t,t.c):ACn(e,t)||qn(r.c,t);return r}function UJe(e,n){var t,i,r;for(t=e.o,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=bxn(i,t.a),i.e.b=t.b*ne(re(i.b.mf(yJ)))}function dSn(e,n){var t,i,r,c;return r=e.k,t=ne(re(C(e,(ve(),mp)))),c=n.k,i=ne(re(C(n,mp))),c!=(Fn(),wr)?-1:r!=wr?1:t==i?0:tt.b)return!0}return!1}function VJe(e){var n;return n=new j0,n.a+="n",e.k!=(Fn(),Wi)&&Kt(Kt((n.a+="(",n),RK(e.k).toLowerCase()),")"),Kt((n.a+="_",n),zO(e)),n.a}function XE(){XE=Y,Lye=new bT(zpe,0),Zie=new bT(cee,1),ere=new bT("LINEAR_SEGMENTS",2),Ax=new bT("BRANDES_KOEPF",3),Mx=new bT(UQe,4)}function i4(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function Cde(e,n){switch(n){case 7:!e.e&&(e.e=new In(pr,e,7,4)),kt(e.e);return;case 8:!e.d&&(e.d=new In(pr,e,8,5)),kt(e.d);return}gde(e,n)}function Ei(e,n,t){return t==null?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),iz(e.o,n)):(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),HO(e.o,n,t)),e}function Yu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=sr(i),X(i,112)?R(new jo("Can't get element "+n)):R(i)}}function YJe(e,n){var t;switch(t=u(zc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function ySn(e){var n;n=e.a;do n=u(rt(new Xn(Qn(cr(n).a.Jc(),new ee))),17).c.i,n.k==(Fn(),dr)&&e.b.Ec(n);while(n.k==(Fn(),dr));e.b=Ks(e.b)}function QJe(e,n){var t,i,r;for(r=e,i=new Xn(Qn(cr(n).a.Jc(),new ee));ht(i);)t=u(rt(i),17),t.c.i.c&&(r=k.Math.max(r,t.c.i.c.p));return r}function kSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function jSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function WJe(e){var n,t,i,r;if(i=0,r=nm(e),r.c.length==0)return 1;for(t=new P(r);t.a=0?e.Ih(o,t,!0):Yw(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function xSn(e,n,t,i){var r,c;c=n.nf((Xt(),i5))?u(n.mf(i5),22):e.j,r=mjn(c),r!=(iF(),pte)&&(t&&!yde(r)||I0e(zOn(e,r,i),n))}function $Q(e,n){return $r(e)?!!Ven[n]:e.Qm?!!e.Qm[n]:m2(e)?!!Ken[n]:p2(e)?!!Xen[n]:!1}function ASn(e){switch(e.g){case 1:return Fw(),WN;case 3:return Fw(),QN;case 2:return Fw(),vte;case 4:return Fw(),mte;default:return null}}function MSn(e,n,t){if(e.e)switch(e.b){case 1:J5n(e.c,n,t);break;case 0:H5n(e.c,n,t)}else bPe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function eHe(e){var n,t;if(e==null)return null;for(t=le(s1,Ae,199,e.length,0,2),n=0;nc?1:0):0}function V2(){V2=Y,TH=new p$(ya,0),Qie=new p$("PORT_POSITION",1),V3=new p$("NODE_SIZE_WHERE_SPACE_PERMITS",2),K3=new p$("NODE_SIZE",3)}function CSn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(C(e,(Ti(),j4e)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),Vt(i.b.d,i),Vt(i.c.b,i);n.Ug()}function Wh(){Wh=Y,lce=new Jj("AUTOMATIC",0),_I=new Jj(m4,1),LI=new Jj(v4,2),cG=new Jj("TOP",3),iG=new Jj(iwe,4),rG=new Jj(U8,5)}function f3(e,n,t){var i,r;if(r=e.gc(),n>=r)throw R(new S2(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw R(new Un(JN));return e.Vi(n,t)}function Bd(e,n){var t,i,r;if(r=PHe(e,n),r>=0)return r;if(e.ml()){for(i=0;i0||e==(EX(),Yne)||n==(SX(),Qne))throw R(new Un("Invalid range: "+dPe(e,n)))}function Ode(e,n,t,i){N8();var r,c;for(r=0,c=0;c0),(n&-n)==n)return lc(n*Ds(e,31)*4656612873077393e-25);do t=Ds(e,31),i=t%n;while(t-i+(n-1)<0);return lc(i)}function TSn(e,n){var t,i,r;for(t=Sw(new Rb,e),r=new P(n);r.a1&&(c=TSn(e,n)),c}function _Sn(e){var n,t,i;for(n=0,i=new P(e.c.a);i.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function qQ(e,n){if(e==null)throw R(new by("null key in entry: null="+n));if(n==null)throw R(new by("null value in entry: "+e+"=null"))}function sHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[fQ(e.a[0],n),fQ(e.a[1],n),fQ(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function lHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[HB(e.a[0],n),HB(e.a[1],n),HB(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function _de(e,n,t){Oy(u(C(n,(Oe(),Zi)),102))||(Vae(e,n,zd(n,t)),Vae(e,n,zd(n,(Ie(),bt))),Vae(e,n,zd(n,Vn)),En(),Tr(n.j,new sEe(e)))}function fHe(e){var n,t;for(e.c||LPn(e),t=new xs,n=new P(e.a),L(n);n.a0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function QSn(e){var n;return e==null?null:new C0((n=bo(e,!0),n.length>0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function Pde(e,n,t,i,r,c,o,l){var f,h;i&&(f=i.a[0],f&&Pde(e,n,t,f,r,c,o,l),eW(e,t,i.d,r,c,o,l)&&n.Ec(i),h=i.a[1],h&&Pde(e,n,t,h,r,c,o,l))}function KE(e,n){var t,i,r,c;for(c=e.gc(),n.lengthc&&ir(n,c,null),n}function WSn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(f+=r),h[g]=o,o+=l*(f+i)}function cxn(e){var n;for(n=0;n0?e.c:0),++r;e.b=i,e.d=c}function jHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[Nde(e,(pa(),Ou),n),Nde(e,No,n),Nde(e,Nu,n)]),e.f&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function EHe(e){var n;wi(e,(Oe(),yp))&&(n=u(C(e,yp),22),n.Gc((em(),Qf))?(n.Kc(Qf),n.Ec(Wf)):n.Gc(Wf)&&(n.Kc(Wf),n.Ec(Qf)))}function SHe(e){var n;wi(e,(Oe(),yp))&&(n=u(C(e,yp),22),n.Gc((em(),ea))?(n.Kc(ea),n.Ec(mf)):n.Gc(mf)&&(n.Kc(mf),n.Ec(ea)))}function QQ(e,n,t,i){var r,c,o,l;return e.a==null&&tCn(e,n),o=n.b.j.c.length,c=t.d.p,l=i.d.p,r=l-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function uxn(e){var n;for(n=0;n0&&(r.b+=n),r}function pz(e,n){var t,i,r;for(r=new Vr,i=e.Jc();i.Ob();)t=u(i.Pb(),37),I8(t,0,r.b),r.b+=t.f.b+n,r.a=k.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function AHe(e,n){var t,i;if(n.length==0)return 0;for(t=CV(e.a,n[0],(Ie(),Yn)),t+=CV(e.a,n[n.length-1],nt),i=0;i>16==6?e.Cb.Qh(e,5,Ma,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function hxn(e){J9();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` +`)),Z=G.reduce((Q,ee)=>Q.concat(...ee),[]);return[G,Z]}return[[],[]]},[b]);return Re.useEffect(()=>{const q=j?.target??z1n,G=j?.actInsideInputWithModifier??!0;if(b!==null){const Z=se=>{if(N.current=se.ctrlKey||se.metaKey||se.shiftKey||se.altKey,(!N.current||N.current&&!G)&&r0n(se))return!1;const ne=J1n(se.code,J);if($.current.add(se[ne]),F1n(k,$.current,!1)){const Se=se.composedPath?.()?.[0]||se.target,me=Se?.nodeName==="BUTTON"||Se?.nodeName==="A";j.preventDefault!==!1&&(N.current||!me)&&se.preventDefault(),M(!0)}},Q=se=>{const ce=J1n(se.code,J);F1n(k,$.current,!0)?(M(!1),$.current.clear()):$.current.delete(se[ce]),se.key==="Meta"&&$.current.clear(),N.current=!1},ee=()=>{$.current.clear(),M(!1)};return q?.addEventListener("keydown",Z),q?.addEventListener("keyup",Q),window.addEventListener("blur",ee),window.addEventListener("contextmenu",ee),()=>{q?.removeEventListener("keydown",Z),q?.removeEventListener("keyup",Q),window.removeEventListener("blur",ee),window.removeEventListener("contextmenu",ee)}}},[b,M]),x}function F1n(b,j,x){return b.filter(M=>x||M.length===j.size).some(M=>M.every(N=>j.has(N)))}function J1n(b,j){return j.includes(b)?"code":"key"}const Oqn=()=>{const b=Sl();return Re.useMemo(()=>({zoomIn:j=>{const{panZoom:x}=b.getState();return x?x.scaleBy(1.2,j):Promise.resolve(!1)},zoomOut:j=>{const{panZoom:x}=b.getState();return x?x.scaleBy(1/1.2,j):Promise.resolve(!1)},zoomTo:(j,x)=>{const{panZoom:M}=b.getState();return M?M.scaleTo(j,x):Promise.resolve(!1)},getZoom:()=>b.getState().transform[2],setViewport:async(j,x)=>{const{transform:[M,N,$],panZoom:k}=b.getState();return k?(await k.setViewport({x:j.x??M,y:j.y??N,zoom:j.zoom??$},x),Promise.resolve(!0)):Promise.resolve(!1)},getViewport:()=>{const[j,x,M]=b.getState().transform;return{x:j,y:x,zoom:M}},setCenter:async(j,x,M)=>b.getState().setCenter(j,x,M),fitBounds:async(j,x)=>{const{width:M,height:N,minZoom:$,maxZoom:k,panZoom:J}=b.getState(),q=Oke(j,M,N,$,k,x?.padding??.1);return J?(await J.setViewport(q,{duration:x?.duration,ease:x?.ease,interpolate:x?.interpolate}),Promise.resolve(!0)):Promise.resolve(!1)},screenToFlowPosition:(j,x={})=>{const{transform:M,snapGrid:N,snapToGrid:$,domNode:k}=b.getState();if(!k)return j;const{x:J,y:q}=k.getBoundingClientRect(),G={x:j.x-J,y:j.y-q},Z=x.snapGrid??N,Q=x.snapToGrid??$;return cq(G,M,Q,Z)},flowToScreenPosition:j=>{const{transform:x,domNode:M}=b.getState();if(!M)return j;const{x:N,y:$}=M.getBoundingClientRect(),k=Mue(j,x);return{x:k.x+N,y:k.y+$}}}),[])};function A0n(b,j){const x=[],M=new Map,N=[];for(const $ of b)if($.type==="add"){N.push($);continue}else if($.type==="remove"||$.type==="replace")M.set($.id,[$]);else{const k=M.get($.id);k?k.push($):M.set($.id,[$])}for(const $ of j){const k=M.get($.id);if(!k){x.push($);continue}if(k[0].type==="remove")continue;if(k[0].type==="replace"){x.push({...k[0].item});continue}const J={...$};for(const q of k)Nqn(q,J);x.push(J)}return N.length&&N.forEach($=>{$.index!==void 0?x.splice($.index,0,{...$.item}):x.push({...$.item})}),x}function Nqn(b,j){switch(b.type){case"select":{j.selected=b.selected;break}case"position":{typeof b.position<"u"&&(j.position=b.position),typeof b.dragging<"u"&&(j.dragging=b.dragging);break}case"dimensions":{typeof b.dimensions<"u"&&(j.measured={...b.dimensions},b.setAttributes&&((b.setAttributes===!0||b.setAttributes==="width")&&(j.width=b.dimensions.width),(b.setAttributes===!0||b.setAttributes==="height")&&(j.height=b.dimensions.height))),typeof b.resizing=="boolean"&&(j.resizing=b.resizing);break}}}function M0n(b,j){return A0n(b,j)}function C0n(b,j){return A0n(b,j)}function xA(b,j){return{id:b,type:"select",selected:j}}function dD(b,j=new Set,x=!1){const M=[];for(const[N,$]of b){const k=j.has(N);!($.selected===void 0&&!k)&&$.selected!==k&&(x&&($.selected=k),M.push(xA($.id,k)))}return M}function H1n({items:b=[],lookup:j}){const x=[],M=new Map(b.map(N=>[N.id,N]));for(const[N,$]of b.entries()){const k=j.get($.id),J=k?.internals?.userNode??k;J!==void 0&&J!==$&&x.push({id:$.id,item:$,type:"replace"}),J===void 0&&x.push({item:$,type:"add",index:N})}for(const[N]of j)M.get(N)===void 0&&x.push({id:N,type:"remove"});return x}function G1n(b){return{id:b.id,type:"remove"}}const q1n=b=>eGn(b),Iqn=b=>Ydn(b);function T0n(b){return Re.forwardRef(b)}function U1n(b){const[j,x]=Re.useState(BigInt(0)),[M]=Re.useState(()=>Dqn(()=>x(N=>N+BigInt(1))));return pke(()=>{const N=M.get();N.length&&(b(N),M.reset())},[j]),M}function Dqn(b){let j=[];return{get:()=>j,reset:()=>{j=[]},push:x=>{j.push(x),b()}}}const O0n=Re.createContext(null);function _qn({children:b}){const j=Sl(),x=Re.useCallback(J=>{const{nodes:q=[],setNodes:G,hasDefaultNodes:Z,onNodesChange:Q,nodeLookup:ee,fitViewQueued:se,onNodesChangeMiddlewareMap:ce}=j.getState();let ne=q;for(const me of J)ne=typeof me=="function"?me(ne):me;let Se=H1n({items:ne,lookup:ee});for(const me of ce.values())Se=me(Se);Z&&G(ne),Se.length>0?Q?.(Se):se&&window.requestAnimationFrame(()=>{const{fitViewQueued:me,nodes:Pe,setNodes:ae}=j.getState();me&&ae(Pe)})},[]),M=U1n(x),N=Re.useCallback(J=>{const{edges:q=[],setEdges:G,hasDefaultEdges:Z,onEdgesChange:Q,edgeLookup:ee}=j.getState();let se=q;for(const ce of J)se=typeof ce=="function"?ce(se):ce;Z?G(se):Q&&Q(H1n({items:se,lookup:ee}))},[]),$=U1n(N),k=Re.useMemo(()=>({nodeQueue:M,edgeQueue:$}),[]);return I.jsx(O0n.Provider,{value:k,children:b})}function Lqn(){const b=Re.useContext(O0n);if(!b)throw new Error("useBatchContext must be used within a BatchProvider");return b}const Pqn=b=>!!b.panZoom;function $ke(){const b=Oqn(),j=Sl(),x=Lqn(),M=zu(Pqn),N=Re.useMemo(()=>{const $=Q=>j.getState().nodeLookup.get(Q),k=Q=>{x.nodeQueue.push(Q)},J=Q=>{x.edgeQueue.push(Q)},q=Q=>{const{nodeLookup:ee,nodeOrigin:se}=j.getState(),ce=q1n(Q)?Q:ee.get(Q.id),ne=ce.parentId?t0n(ce.position,ce.measured,ce.parentId,ee,se):ce.position,Se={...ce,position:ne,width:ce.measured?.width??ce.width,height:ce.measured?.height??ce.height};return kD(Se)},G=(Q,ee,se={replace:!1})=>{k(ce=>ce.map(ne=>{if(ne.id===Q){const Se=typeof ee=="function"?ee(ne):ee;return se.replace&&q1n(Se)?Se:{...ne,...Se}}return ne}))},Z=(Q,ee,se={replace:!1})=>{J(ce=>ce.map(ne=>{if(ne.id===Q){const Se=typeof ee=="function"?ee(ne):ee;return se.replace&&Iqn(Se)?Se:{...ne,...Se}}return ne}))};return{getNodes:()=>j.getState().nodes.map(Q=>({...Q})),getNode:Q=>$(Q)?.internals.userNode,getInternalNode:$,getEdges:()=>{const{edges:Q=[]}=j.getState();return Q.map(ee=>({...ee}))},getEdge:Q=>j.getState().edgeLookup.get(Q),setNodes:k,setEdges:J,addNodes:Q=>{const ee=Array.isArray(Q)?Q:[Q];x.nodeQueue.push(se=>[...se,...ee])},addEdges:Q=>{const ee=Array.isArray(Q)?Q:[Q];x.edgeQueue.push(se=>[...se,...ee])},toObject:()=>{const{nodes:Q=[],edges:ee=[],transform:se}=j.getState(),[ce,ne,Se]=se;return{nodes:Q.map(me=>({...me})),edges:ee.map(me=>({...me})),viewport:{x:ce,y:ne,zoom:Se}}},deleteElements:async({nodes:Q=[],edges:ee=[]})=>{const{nodes:se,edges:ce,onNodesDelete:ne,onEdgesDelete:Se,triggerNodeChanges:me,triggerEdgeChanges:Pe,onDelete:ae,onBeforeDelete:Ne}=j.getState(),{nodes:Ue,edges:ln}=await cGn({nodesToRemove:Q,edgesToRemove:ee,nodes:se,edges:ce,onBeforeDelete:Ne}),on=ln.length>0,An=Ue.length>0;if(on){const xn=ln.map(G1n);Se?.(ln),Pe(xn)}if(An){const xn=Ue.map(G1n);ne?.(Ue),me(xn)}return(An||on)&&ae?.({nodes:Ue,edges:ln}),{deletedNodes:Ue,deletedEdges:ln}},getIntersectingNodes:(Q,ee=!0,se)=>{const ce=p1n(Q),ne=ce?Q:q(Q),Se=se!==void 0;return ne?(se||j.getState().nodes).filter(me=>{const Pe=j.getState().nodeLookup.get(me.id);if(Pe&&!ce&&(me.id===Q.id||!Pe.internals.positionAbsolute))return!1;const ae=kD(Se?me:Pe),Ne=YG(ae,ne);return ee&&Ne>0||Ne>=ae.width*ae.height||Ne>=ne.width*ne.height}):[]},isNodeIntersecting:(Q,ee,se=!0)=>{const ne=p1n(Q)?Q:q(Q);if(!ne)return!1;const Se=YG(ne,ee);return se&&Se>0||Se>=ee.width*ee.height||Se>=ne.width*ne.height},updateNode:G,updateNodeData:(Q,ee,se={replace:!1})=>{G(Q,ce=>{const ne=typeof ee=="function"?ee(ce):ee;return se.replace?{...ce,data:ne}:{...ce,data:{...ce.data,...ne}}},se)},updateEdge:Z,updateEdgeData:(Q,ee,se={replace:!1})=>{Z(Q,ce=>{const ne=typeof ee=="function"?ee(ce):ee;return se.replace?{...ce,data:ne}:{...ce,data:{...ce.data,...ne}}},se)},getNodesBounds:Q=>{const{nodeLookup:ee,nodeOrigin:se}=j.getState();return nGn(Q,{nodeLookup:ee,nodeOrigin:se})},getHandleConnections:({type:Q,id:ee,nodeId:se})=>Array.from(j.getState().connectionLookup.get(`${se}-${Q}${ee?`-${ee}`:""}`)?.values()??[]),getNodeConnections:({type:Q,handleId:ee,nodeId:se})=>Array.from(j.getState().connectionLookup.get(`${se}${Q?ee?`-${Q}-${ee}`:`-${Q}`:""}`)?.values()??[]),fitView:async Q=>{const ee=j.getState().fitViewResolver??lGn();return j.setState({fitViewQueued:!0,fitViewOptions:Q,fitViewResolver:ee}),x.nodeQueue.push(se=>[...se]),ee.promise}}},[]);return Re.useMemo(()=>({...N,...b,viewportInitialized:M}),[M])}const X1n=b=>b.selected,$qn=typeof window<"u"?window:void 0;function Rqn({deleteKeyCode:b,multiSelectionKeyCode:j}){const x=Sl(),{deleteElements:M}=$ke(),N=WG(b,{actInsideInputWithModifier:!1}),$=WG(j,{target:$qn});Re.useEffect(()=>{if(N){const{edges:k,nodes:J}=x.getState();M({nodes:J.filter(X1n),edges:k.filter(X1n)}),x.setState({nodesSelectionActive:!1})}},[N]),Re.useEffect(()=>{x.setState({multiSelectionActive:$})},[$])}function Bqn(b){const j=Sl();Re.useEffect(()=>{const x=()=>{if(!b.current||!(b.current.checkVisibility?.()??!0))return!1;const M=Nke(b.current);(M.height===0||M.width===0)&&j.getState().onError?.("004",gy.error004()),j.setState({width:M.width||500,height:M.height||500})};if(b.current){x(),window.addEventListener("resize",x);const M=new ResizeObserver(()=>x());return M.observe(b.current),()=>{window.removeEventListener("resize",x),M&&b.current&&M.unobserve(b.current)}}},[])}const Jue={position:"absolute",width:"100%",height:"100%",top:0,left:0},zqn=b=>({userSelectionActive:b.userSelectionActive,lib:b.lib,connectionInProgress:b.connection.inProgress});function Fqn({onPaneContextMenu:b,zoomOnScroll:j=!0,zoomOnPinch:x=!0,panOnScroll:M=!1,panOnScrollSpeed:N=.5,panOnScrollMode:$=CA.Free,zoomOnDoubleClick:k=!0,panOnDrag:J=!0,defaultViewport:q,translateExtent:G,minZoom:Z,maxZoom:Q,zoomActivationKeyCode:ee,preventScrolling:se=!0,children:ce,noWheelClassName:ne,noPanClassName:Se,onViewportChange:me,isControlledViewport:Pe,paneClickDistance:ae,selectionOnDrag:Ne}){const Ue=Sl(),ln=Re.useRef(null),{userSelectionActive:on,lib:An,connectionInProgress:xn}=zu(zqn,El),tt=WG(ee),mn=Re.useRef();Bqn(ln);const vn=Re.useCallback(Y=>{me?.({x:Y[0],y:Y[1],zoom:Y[2]}),Pe||Ue.setState({transform:Y})},[me,Pe]);return Re.useEffect(()=>{if(ln.current){mn.current=UGn({domNode:ln.current,minZoom:Z,maxZoom:Q,translateExtent:G,viewport:q,onDraggingChange:Ae=>Ue.setState(Ge=>Ge.paneDragging===Ae?Ge:{paneDragging:Ae}),onPanZoomStart:(Ae,Ge)=>{const{onViewportChangeStart:fn,onMoveStart:$e}=Ue.getState();$e?.(Ae,Ge),fn?.(Ge)},onPanZoom:(Ae,Ge)=>{const{onViewportChange:fn,onMove:$e}=Ue.getState();$e?.(Ae,Ge),fn?.(Ge)},onPanZoomEnd:(Ae,Ge)=>{const{onViewportChangeEnd:fn,onMoveEnd:$e}=Ue.getState();$e?.(Ae,Ge),fn?.(Ge)}});const{x:Y,y:Fe,zoom:wn}=mn.current.getViewport();return Ue.setState({panZoom:mn.current,transform:[Y,Fe,wn],domNode:ln.current.closest(".react-flow")}),()=>{mn.current?.destroy()}}},[]),Re.useEffect(()=>{mn.current?.update({onPaneContextMenu:b,zoomOnScroll:j,zoomOnPinch:x,panOnScroll:M,panOnScrollSpeed:N,panOnScrollMode:$,zoomOnDoubleClick:k,panOnDrag:J,zoomActivationKeyPressed:tt,preventScrolling:se,noPanClassName:Se,userSelectionActive:on,noWheelClassName:ne,lib:An,onTransformChange:vn,connectionInProgress:xn,selectionOnDrag:Ne,paneClickDistance:ae})},[b,j,x,M,N,$,k,J,tt,se,Se,on,ne,An,vn,xn,Ne,ae]),I.jsx("div",{className:"react-flow__renderer",ref:ln,style:Jue,children:ce})}const Jqn=b=>({userSelectionActive:b.userSelectionActive,userSelectionRect:b.userSelectionRect});function Hqn(){const{userSelectionActive:b,userSelectionRect:j}=zu(Jqn,El);return b&&j?I.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:j.width,height:j.height,transform:`translate(${j.x}px, ${j.y}px)`}}):null}const X7e=(b,j)=>x=>{x.target===j.current&&b?.(x)},Gqn=b=>({userSelectionActive:b.userSelectionActive,elementsSelectable:b.elementsSelectable,connectionInProgress:b.connection.inProgress,dragging:b.paneDragging});function qqn({isSelecting:b,selectionKeyPressed:j,selectionMode:x=KG.Full,panOnDrag:M,paneClickDistance:N,selectionOnDrag:$,onSelectionStart:k,onSelectionEnd:J,onPaneClick:q,onPaneContextMenu:G,onPaneScroll:Z,onPaneMouseEnter:Q,onPaneMouseMove:ee,onPaneMouseLeave:se,children:ce}){const ne=Sl(),{userSelectionActive:Se,elementsSelectable:me,dragging:Pe,connectionInProgress:ae}=zu(Gqn,El),Ne=me&&(b||Se),Ue=Re.useRef(null),ln=Re.useRef(),on=Re.useRef(new Set),An=Re.useRef(new Set),xn=Re.useRef(!1),tt=fn=>{if(xn.current||ae){xn.current=!1;return}q?.(fn),ne.getState().resetSelectedElements(),ne.setState({nodesSelectionActive:!1})},mn=fn=>{if(Array.isArray(M)&&M?.includes(2)){fn.preventDefault();return}G?.(fn)},vn=Z?fn=>Z(fn):void 0,Y=fn=>{xn.current&&(fn.stopPropagation(),xn.current=!1)},Fe=fn=>{const{domNode:$e}=ne.getState();if(ln.current=$e?.getBoundingClientRect(),!ln.current)return;const Mn=fn.target===Ue.current;if(!Mn&&!!fn.target.closest(".nokey")||!b||!($&&Mn||j)||fn.button!==0||!fn.isPrimary)return;fn.target?.setPointerCapture?.(fn.pointerId),xn.current=!1;const{x:Hn,y:ut}=cv(fn.nativeEvent,ln.current);ne.setState({userSelectionRect:{width:0,height:0,startX:Hn,startY:ut,x:Hn,y:ut}}),Mn||(fn.stopPropagation(),fn.preventDefault())},wn=fn=>{const{userSelectionRect:$e,transform:Mn,nodeLookup:ge,edgeLookup:tn,connectionLookup:Hn,triggerNodeChanges:ut,triggerEdgeChanges:Jt,defaultEdgeOptions:di,resetSelectedElements:Gt}=ne.getState();if(!ln.current||!$e)return;const{x:At,y:si}=cv(fn.nativeEvent,ln.current),{startX:Kr,startY:Er}=$e;if(!xn.current){const Fu=j?0:N;if(Math.hypot(At-Kr,si-Er)<=Fu)return;Gt(),k?.(fn)}xn.current=!0;const Dt={startX:Kr,startY:Er,x:AtFu.id)),An.current=new Set;const cu=di?.selectable??!0;for(const Fu of on.current){const Rs=Hn.get(Fu);if(Rs)for(const{edgeId:ra}of Rs.values()){const nf=tn.get(ra);nf&&(nf.selectable??cu)&&An.current.add(ra)}}if(!m1n(bi,on.current)){const Fu=dD(ge,on.current,!0);ut(Fu)}if(!m1n(zi,An.current)){const Fu=dD(tn,An.current);Jt(Fu)}ne.setState({userSelectionRect:Dt,userSelectionActive:!0,nodesSelectionActive:!1})},Ae=fn=>{fn.button===0&&(fn.target?.releasePointerCapture?.(fn.pointerId),!Se&&fn.target===Ue.current&&ne.getState().userSelectionRect&&tt?.(fn),ne.setState({userSelectionActive:!1,userSelectionRect:null}),xn.current&&(J?.(fn),ne.setState({nodesSelectionActive:on.current.size>0})))},Ge=M===!0||Array.isArray(M)&&M.includes(0);return I.jsxs("div",{className:Na(["react-flow__pane",{draggable:Ge,dragging:Pe,selection:b}]),onClick:Ne?void 0:X7e(tt,Ue),onContextMenu:X7e(mn,Ue),onWheel:X7e(vn,Ue),onPointerEnter:Ne?void 0:Q,onPointerMove:Ne?wn:ee,onPointerUp:Ne?Ae:void 0,onPointerDownCapture:Ne?Fe:void 0,onClickCapture:Ne?Y:void 0,onPointerLeave:se,ref:Ue,style:Jue,children:[ce,I.jsx(Hqn,{})]})}function mke({id:b,store:j,unselect:x=!1,nodeRef:M}){const{addSelectedNodes:N,unselectNodesAndEdges:$,multiSelectionActive:k,nodeLookup:J,onError:q}=j.getState(),G=J.get(b);if(!G){q?.("012",gy.error012(b));return}j.setState({nodesSelectionActive:!1}),G.selected?(x||G.selected&&k)&&($({nodes:[G],edges:[]}),requestAnimationFrame(()=>M?.current?.blur())):N([b])}function N0n({nodeRef:b,disabled:j=!1,noDragClassName:x,handleSelector:M,nodeId:N,isSelectable:$,nodeClickDistance:k}){const J=Sl(),[q,G]=Re.useState(!1),Z=Re.useRef();return Re.useEffect(()=>{Z.current=IGn({getStoreItems:()=>J.getState(),onNodeMouseDown:Q=>{mke({id:Q,store:J,nodeRef:b})},onDragStart:()=>{G(!0)},onDragStop:()=>{G(!1)}})},[]),Re.useEffect(()=>{if(!(j||!b.current||!Z.current))return Z.current.update({noDragClassName:x,handleSelector:M,domNode:b.current,isSelectable:$,nodeId:N,nodeClickDistance:k}),()=>{Z.current?.destroy()}},[x,M,j,$,b,N,k]),q}const Uqn=b=>j=>j.selected&&(j.draggable||b&&typeof j.draggable>"u");function I0n(){const b=Sl();return Re.useCallback(x=>{const{nodeExtent:M,snapToGrid:N,snapGrid:$,nodesDraggable:k,onError:J,updateNodePositions:q,nodeLookup:G,nodeOrigin:Z}=b.getState(),Q=new Map,ee=Uqn(k),se=N?$[0]:5,ce=N?$[1]:5,ne=x.direction.x*se*x.factor,Se=x.direction.y*ce*x.factor;for(const[,me]of G){if(!ee(me))continue;let Pe={x:me.internals.positionAbsolute.x+ne,y:me.internals.positionAbsolute.y+Se};N&&(Pe=rq(Pe,$));const{position:ae,positionAbsolute:Ne}=Qdn({nodeId:me.id,nextPosition:Pe,nodeLookup:G,nodeExtent:M,nodeOrigin:Z,onError:J});me.position=ae,me.internals.positionAbsolute=Ne,Q.set(me.id,me)}q(Q)},[])}const Rke=Re.createContext(null),Xqn=Rke.Provider;Rke.Consumer;const D0n=()=>Re.useContext(Rke),Kqn=b=>({connectOnClick:b.connectOnClick,noPanClassName:b.noPanClassName,rfId:b.rfId}),Vqn=(b,j,x)=>M=>{const{connectionClickStartHandle:N,connectionMode:$,connection:k}=M,{fromHandle:J,toHandle:q,isValid:G}=k,Z=q?.nodeId===b&&q?.id===j&&q?.type===x;return{connectingFrom:J?.nodeId===b&&J?.id===j&&J?.type===x,connectingTo:Z,clickConnecting:N?.nodeId===b&&N?.id===j&&N?.type===x,isPossibleEndHandle:$===vD.Strict?J?.type!==x:b!==J?.nodeId||j!==J?.id,connectionInProcess:!!J,clickConnectionInProcess:!!N,valid:Z&&G}};function Yqn({type:b="source",position:j=ur.Top,isValidConnection:x,isConnectable:M=!0,isConnectableStart:N=!0,isConnectableEnd:$=!0,id:k,onConnect:J,children:q,className:G,onMouseDown:Z,onTouchStart:Q,...ee},se){const ce=k||null,ne=b==="target",Se=Sl(),me=D0n(),{connectOnClick:Pe,noPanClassName:ae,rfId:Ne}=zu(Kqn,El),{connectingFrom:Ue,connectingTo:ln,clickConnecting:on,isPossibleEndHandle:An,connectionInProcess:xn,clickConnectionInProcess:tt,valid:mn}=zu(Vqn(me,ce,b),El);me||Se.getState().onError?.("010",gy.error010());const vn=wn=>{const{defaultEdgeOptions:Ae,onConnect:Ge,hasDefaultEdges:fn}=Se.getState(),$e={...Ae,...wn};if(fn){const{edges:Mn,setEdges:ge}=Se.getState();ge(wGn($e,Mn))}Ge?.($e),J?.($e)},Y=wn=>{if(!me)return;const Ae=c0n(wn.nativeEvent);if(N&&(Ae&&wn.button===0||!Ae)){const Ge=Se.getState();wke.onPointerDown(wn.nativeEvent,{handleDomNode:wn.currentTarget,autoPanOnConnect:Ge.autoPanOnConnect,connectionMode:Ge.connectionMode,connectionRadius:Ge.connectionRadius,domNode:Ge.domNode,nodeLookup:Ge.nodeLookup,lib:Ge.lib,isTarget:ne,handleId:ce,nodeId:me,flowId:Ge.rfId,panBy:Ge.panBy,cancelConnection:Ge.cancelConnection,onConnectStart:Ge.onConnectStart,onConnectEnd:(...fn)=>Se.getState().onConnectEnd?.(...fn),updateConnection:Ge.updateConnection,onConnect:vn,isValidConnection:x||((...fn)=>Se.getState().isValidConnection?.(...fn)??!0),getTransform:()=>Se.getState().transform,getFromHandle:()=>Se.getState().connection.fromHandle,autoPanSpeed:Ge.autoPanSpeed,dragThreshold:Ge.connectionDragThreshold})}Ae?Z?.(wn):Q?.(wn)},Fe=wn=>{const{onClickConnectStart:Ae,onClickConnectEnd:Ge,connectionClickStartHandle:fn,connectionMode:$e,isValidConnection:Mn,lib:ge,rfId:tn,nodeLookup:Hn,connection:ut}=Se.getState();if(!me||!fn&&!N)return;if(!fn){Ae?.(wn.nativeEvent,{nodeId:me,handleId:ce,handleType:b}),Se.setState({connectionClickStartHandle:{nodeId:me,type:b,id:ce}});return}const Jt=i0n(wn.target),di=x||Mn,{connection:Gt,isValid:At}=wke.isValid(wn.nativeEvent,{handle:{nodeId:me,id:ce,type:b},connectionMode:$e,fromNodeId:fn.nodeId,fromHandleId:fn.id||null,fromType:fn.type,isValidConnection:di,flowId:tn,doc:Jt,lib:ge,nodeLookup:Hn});At&&Gt&&vn(Gt);const si=structuredClone(ut);delete si.inProgress,si.toPosition=si.toHandle?si.toHandle.position:null,Ge?.(wn,si),Se.setState({connectionClickStartHandle:null})};return I.jsx("div",{"data-handleid":ce,"data-nodeid":me,"data-handlepos":j,"data-id":`${Ne}-${me}-${ce}-${b}`,className:Na(["react-flow__handle",`react-flow__handle-${j}`,"nodrag",ae,G,{source:!ne,target:ne,connectable:M,connectablestart:N,connectableend:$,clickconnecting:on,connectingfrom:Ue,connectingto:ln,valid:mn,connectionindicator:M&&(!xn||An)&&(xn||tt?$:N)}]),onMouseDown:Y,onTouchStart:Y,onClick:Pe?Fe:void 0,ref:se,...ee,children:q})}const wy=Re.memo(T0n(Yqn));function Qqn({data:b,isConnectable:j,sourcePosition:x=ur.Bottom}){return I.jsxs(I.Fragment,{children:[b?.label,I.jsx(wy,{type:"source",position:x,isConnectable:j})]})}function Wqn({data:b,isConnectable:j,targetPosition:x=ur.Top,sourcePosition:M=ur.Bottom}){return I.jsxs(I.Fragment,{children:[I.jsx(wy,{type:"target",position:x,isConnectable:j}),b?.label,I.jsx(wy,{type:"source",position:M,isConnectable:j})]})}function Zqn(){return null}function eUn({data:b,isConnectable:j,targetPosition:x=ur.Top}){return I.jsxs(I.Fragment,{children:[I.jsx(wy,{type:"target",position:x,isConnectable:j}),b?.label]})}const Tue={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},K1n={input:Qqn,default:Wqn,output:eUn,group:Zqn};function nUn(b){return b.internals.handleBounds===void 0?{width:b.width??b.initialWidth??b.style?.width,height:b.height??b.initialHeight??b.style?.height}:{width:b.width??b.style?.width,height:b.height??b.style?.height}}const tUn=b=>{const{width:j,height:x,x:M,y:N}=iq(b.nodeLookup,{filter:$=>!!$.selected});return{width:rv(j)?j:null,height:rv(x)?x:null,userSelectionActive:b.userSelectionActive,transformString:`translate(${b.transform[0]}px,${b.transform[1]}px) scale(${b.transform[2]}) translate(${M}px,${N}px)`}};function iUn({onSelectionContextMenu:b,noPanClassName:j,disableKeyboardA11y:x}){const M=Sl(),{width:N,height:$,transformString:k,userSelectionActive:J}=zu(tUn,El),q=I0n(),G=Re.useRef(null);Re.useEffect(()=>{x||G.current?.focus({preventScroll:!0})},[x]);const Z=!J&&N!==null&&$!==null;if(N0n({nodeRef:G,disabled:!Z}),!Z)return null;const Q=b?se=>{const ce=M.getState().nodes.filter(ne=>ne.selected);b(se,ce)}:void 0,ee=se=>{Object.prototype.hasOwnProperty.call(Tue,se.key)&&(se.preventDefault(),q({direction:Tue[se.key],factor:se.shiftKey?4:1}))};return I.jsx("div",{className:Na(["react-flow__nodesselection","react-flow__container",j]),style:{transform:k},children:I.jsx("div",{ref:G,className:"react-flow__nodesselection-rect",onContextMenu:Q,tabIndex:x?void 0:-1,onKeyDown:x?void 0:ee,style:{width:N,height:$}})})}const V1n=typeof window<"u"?window:void 0,rUn=b=>({nodesSelectionActive:b.nodesSelectionActive,userSelectionActive:b.userSelectionActive});function _0n({children:b,onPaneClick:j,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,paneClickDistance:J,deleteKeyCode:q,selectionKeyCode:G,selectionOnDrag:Z,selectionMode:Q,onSelectionStart:ee,onSelectionEnd:se,multiSelectionKeyCode:ce,panActivationKeyCode:ne,zoomActivationKeyCode:Se,elementsSelectable:me,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Ne,panOnScrollSpeed:Ue,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:An,defaultViewport:xn,translateExtent:tt,minZoom:mn,maxZoom:vn,preventScrolling:Y,onSelectionContextMenu:Fe,noWheelClassName:wn,noPanClassName:Ae,disableKeyboardA11y:Ge,onViewportChange:fn,isControlledViewport:$e}){const{nodesSelectionActive:Mn,userSelectionActive:ge}=zu(rUn,El),tn=WG(G,{target:V1n}),Hn=WG(ne,{target:V1n}),ut=Hn||An,Jt=Hn||Ne,di=Z&&ut!==!0,Gt=tn||ge||di;return Rqn({deleteKeyCode:q,multiSelectionKeyCode:ce}),I.jsx(Fqn,{onPaneContextMenu:$,elementsSelectable:me,zoomOnScroll:Pe,zoomOnPinch:ae,panOnScroll:Jt,panOnScrollSpeed:Ue,panOnScrollMode:ln,zoomOnDoubleClick:on,panOnDrag:!tn&&ut,defaultViewport:xn,translateExtent:tt,minZoom:mn,maxZoom:vn,zoomActivationKeyCode:Se,preventScrolling:Y,noWheelClassName:wn,noPanClassName:Ae,onViewportChange:fn,isControlledViewport:$e,paneClickDistance:J,selectionOnDrag:di,children:I.jsxs(qqn,{onSelectionStart:ee,onSelectionEnd:se,onPaneClick:j,onPaneMouseEnter:x,onPaneMouseMove:M,onPaneMouseLeave:N,onPaneContextMenu:$,onPaneScroll:k,panOnDrag:ut,isSelecting:!!Gt,selectionMode:Q,selectionKeyPressed:tn,paneClickDistance:J,selectionOnDrag:di,children:[b,Mn&&I.jsx(iUn,{onSelectionContextMenu:Fe,noPanClassName:Ae,disableKeyboardA11y:Ge})]})})}_0n.displayName="FlowRenderer";const cUn=Re.memo(_0n),uUn=b=>j=>b?Tke(j.nodeLookup,{x:0,y:0,width:j.width,height:j.height},j.transform,!0).map(x=>x.id):Array.from(j.nodeLookup.keys());function oUn(b){return zu(Re.useCallback(uUn(b),[b]),El)}const sUn=b=>b.updateNodeInternals;function lUn(){const b=zu(sUn),[j]=Re.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(x=>{const M=new Map;x.forEach(N=>{const $=N.target.getAttribute("data-id");M.set($,{id:$,nodeElement:N.target,force:!0})}),b(M)}));return Re.useEffect(()=>()=>{j?.disconnect()},[j]),j}function fUn({node:b,nodeType:j,hasDimensions:x,resizeObserver:M}){const N=Sl(),$=Re.useRef(null),k=Re.useRef(null),J=Re.useRef(b.sourcePosition),q=Re.useRef(b.targetPosition),G=Re.useRef(j),Z=x&&!!b.internals.handleBounds;return Re.useEffect(()=>{$.current&&!b.hidden&&(!Z||k.current!==$.current)&&(k.current&&M?.unobserve(k.current),M?.observe($.current),k.current=$.current)},[Z,b.hidden]),Re.useEffect(()=>()=>{k.current&&(M?.unobserve(k.current),k.current=null)},[]),Re.useEffect(()=>{if($.current){const Q=G.current!==j,ee=J.current!==b.sourcePosition,se=q.current!==b.targetPosition;(Q||ee||se)&&(G.current=j,J.current=b.sourcePosition,q.current=b.targetPosition,N.getState().updateNodeInternals(new Map([[b.id,{id:b.id,nodeElement:$.current,force:!0}]])))}},[b.id,j,b.sourcePosition,b.targetPosition]),$}function aUn({id:b,onClick:j,onMouseEnter:x,onMouseMove:M,onMouseLeave:N,onContextMenu:$,onDoubleClick:k,nodesDraggable:J,elementsSelectable:q,nodesConnectable:G,nodesFocusable:Z,resizeObserver:Q,noDragClassName:ee,noPanClassName:se,disableKeyboardA11y:ce,rfId:ne,nodeTypes:Se,nodeClickDistance:me,onError:Pe}){const{node:ae,internals:Ne,isParent:Ue}=zu(At=>{const si=At.nodeLookup.get(b),Kr=At.parentLookup.has(b);return{node:si,internals:si.internals,isParent:Kr}},El);let ln=ae.type||"default",on=Se?.[ln]||K1n[ln];on===void 0&&(Pe?.("003",gy.error003(ln)),ln="default",on=Se?.default||K1n.default);const An=!!(ae.draggable||J&&typeof ae.draggable>"u"),xn=!!(ae.selectable||q&&typeof ae.selectable>"u"),tt=!!(ae.connectable||G&&typeof ae.connectable>"u"),mn=!!(ae.focusable||Z&&typeof ae.focusable>"u"),vn=Sl(),Y=n0n(ae),Fe=fUn({node:ae,nodeType:ln,hasDimensions:Y,resizeObserver:Q}),wn=N0n({nodeRef:Fe,disabled:ae.hidden||!An,noDragClassName:ee,handleSelector:ae.dragHandle,nodeId:b,isSelectable:xn,nodeClickDistance:me}),Ae=I0n();if(ae.hidden)return null;const Ge=a6(ae),fn=nUn(ae),$e=xn||An||j||x||M||N,Mn=x?At=>x(At,{...Ne.userNode}):void 0,ge=M?At=>M(At,{...Ne.userNode}):void 0,tn=N?At=>N(At,{...Ne.userNode}):void 0,Hn=$?At=>$(At,{...Ne.userNode}):void 0,ut=k?At=>k(At,{...Ne.userNode}):void 0,Jt=At=>{const{selectNodesOnDrag:si,nodeDragThreshold:Kr}=vn.getState();xn&&(!si||!An||Kr>0)&&mke({id:b,store:vn,nodeRef:Fe}),j&&j(At,{...Ne.userNode})},di=At=>{if(!(r0n(At.nativeEvent)||ce)){if(Udn.includes(At.key)&&xn){const si=At.key==="Escape";mke({id:b,store:vn,unselect:si,nodeRef:Fe})}else if(An&&ae.selected&&Object.prototype.hasOwnProperty.call(Tue,At.key)){At.preventDefault();const{ariaLabelConfig:si}=vn.getState();vn.setState({ariaLiveMessage:si["node.a11yDescription.ariaLiveMessage"]({direction:At.key.replace("Arrow","").toLowerCase(),x:~~Ne.positionAbsolute.x,y:~~Ne.positionAbsolute.y})}),Ae({direction:Tue[At.key],factor:At.shiftKey?4:1})}}},Gt=()=>{if(ce||!Fe.current?.matches(":focus-visible"))return;const{transform:At,width:si,height:Kr,autoPanOnNodeFocus:Er,setCenter:Dt}=vn.getState();if(!Er)return;Tke(new Map([[b,ae]]),{x:0,y:0,width:si,height:Kr},At,!0).length>0||Dt(ae.position.x+Ge.width/2,ae.position.y+Ge.height/2,{zoom:At[2]})};return I.jsx("div",{className:Na(["react-flow__node",`react-flow__node-${ln}`,{[se]:An},ae.className,{selected:ae.selected,selectable:xn,parent:Ue,draggable:An,dragging:wn}]),ref:Fe,style:{zIndex:Ne.z,transform:`translate(${Ne.positionAbsolute.x}px,${Ne.positionAbsolute.y}px)`,pointerEvents:$e?"all":"none",visibility:Y?"visible":"hidden",...ae.style,...fn},"data-id":b,"data-testid":`rf__node-${b}`,onMouseEnter:Mn,onMouseMove:ge,onMouseLeave:tn,onContextMenu:Hn,onClick:Jt,onDoubleClick:ut,onKeyDown:mn?di:void 0,tabIndex:mn?0:void 0,onFocus:mn?Gt:void 0,role:ae.ariaRole??(mn?"group":void 0),"aria-roledescription":"node","aria-describedby":ce?void 0:`${E0n}-${ne}`,"aria-label":ae.ariaLabel,...ae.domAttributes,children:I.jsx(Xqn,{value:b,children:I.jsx(on,{id:b,data:ae.data,type:ln,positionAbsoluteX:Ne.positionAbsolute.x,positionAbsoluteY:Ne.positionAbsolute.y,selected:ae.selected??!1,selectable:xn,draggable:An,deletable:ae.deletable??!0,isConnectable:tt,sourcePosition:ae.sourcePosition,targetPosition:ae.targetPosition,dragging:wn,dragHandle:ae.dragHandle,zIndex:Ne.z,parentId:ae.parentId,...Ge})})})}var hUn=Re.memo(aUn);const dUn=b=>({nodesDraggable:b.nodesDraggable,nodesConnectable:b.nodesConnectable,nodesFocusable:b.nodesFocusable,elementsSelectable:b.elementsSelectable,onError:b.onError});function L0n(b){const{nodesDraggable:j,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,onError:$}=zu(dUn,El),k=oUn(b.onlyRenderVisibleElements),J=lUn();return I.jsx("div",{className:"react-flow__nodes",style:Jue,children:k.map(q=>I.jsx(hUn,{id:q,nodeTypes:b.nodeTypes,nodeExtent:b.nodeExtent,onClick:b.onNodeClick,onMouseEnter:b.onNodeMouseEnter,onMouseMove:b.onNodeMouseMove,onMouseLeave:b.onNodeMouseLeave,onContextMenu:b.onNodeContextMenu,onDoubleClick:b.onNodeDoubleClick,noDragClassName:b.noDragClassName,noPanClassName:b.noPanClassName,rfId:b.rfId,disableKeyboardA11y:b.disableKeyboardA11y,resizeObserver:J,nodesDraggable:j,nodesConnectable:x,nodesFocusable:M,elementsSelectable:N,nodeClickDistance:b.nodeClickDistance,onError:$},q))})}L0n.displayName="NodeRenderer";const bUn=Re.memo(L0n);function gUn(b){return zu(Re.useCallback(x=>{if(!b)return x.edges.map(N=>N.id);const M=[];if(x.width&&x.height)for(const N of x.edges){const $=x.nodeLookup.get(N.source),k=x.nodeLookup.get(N.target);$&&k&&dGn({sourceNode:$,targetNode:k,width:x.width,height:x.height,transform:x.transform})&&M.push(N.id)}return M},[b]),El)}const wUn=({color:b="none",strokeWidth:j=1})=>{const x={strokeWidth:j,...b&&{stroke:b}};return I.jsx("polyline",{className:"arrow",style:x,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},pUn=({color:b="none",strokeWidth:j=1})=>{const x={strokeWidth:j,...b&&{stroke:b,fill:b}};return I.jsx("polyline",{className:"arrowclosed",style:x,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},Y1n={[VG.Arrow]:wUn,[VG.ArrowClosed]:pUn};function mUn(b){const j=Sl();return Re.useMemo(()=>Object.prototype.hasOwnProperty.call(Y1n,b)?Y1n[b]:(j.getState().onError?.("009",gy.error009(b)),null),[b])}const vUn=({id:b,type:j,color:x,width:M=12.5,height:N=12.5,markerUnits:$="strokeWidth",strokeWidth:k,orient:J="auto-start-reverse"})=>{const q=mUn(j);return q?I.jsx("marker",{className:"react-flow__arrowhead",id:b,markerWidth:`${M}`,markerHeight:`${N}`,viewBox:"-10 -10 20 20",markerUnits:$,orient:J,refX:"0",refY:"0",children:I.jsx(q,{color:x,strokeWidth:k})}):null},P0n=({defaultColor:b,rfId:j})=>{const x=zu($=>$.edges),M=zu($=>$.defaultEdgeOptions),N=Re.useMemo(()=>kGn(x,{id:j,defaultColor:b,defaultMarkerStart:M?.markerStart,defaultMarkerEnd:M?.markerEnd}),[x,M,j,b]);return N.length?I.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:I.jsx("defs",{children:N.map($=>I.jsx(vUn,{id:$.id,type:$.type,color:$.color,width:$.width,height:$.height,markerUnits:$.markerUnits,strokeWidth:$.strokeWidth,orient:$.orient},$.id))})}):null};P0n.displayName="MarkerDefinitions";var yUn=Re.memo(P0n);function $0n({x:b,y:j,label:x,labelStyle:M,labelShowBg:N=!0,labelBgStyle:$,labelBgPadding:k=[2,4],labelBgBorderRadius:J=2,children:q,className:G,...Z}){const[Q,ee]=Re.useState({x:1,y:0,width:0,height:0}),se=Na(["react-flow__edge-textwrapper",G]),ce=Re.useRef(null);return Re.useEffect(()=>{if(ce.current){const ne=ce.current.getBBox();ee({x:ne.x,y:ne.y,width:ne.width,height:ne.height})}},[x]),x?I.jsxs("g",{transform:`translate(${b-Q.width/2} ${j-Q.height/2})`,className:se,visibility:Q.width?"visible":"hidden",...Z,children:[N&&I.jsx("rect",{width:Q.width+2*k[0],x:-k[0],y:-k[1],height:Q.height+2*k[1],className:"react-flow__edge-textbg",style:$,rx:J,ry:J}),I.jsx("text",{className:"react-flow__edge-text",y:Q.height/2,dy:"0.3em",ref:ce,style:M,children:x}),q]}):null}$0n.displayName="EdgeText";const kUn=Re.memo($0n);function uq({path:b,labelX:j,labelY:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:J,labelBgBorderRadius:q,interactionWidth:G=20,...Z}){return I.jsxs(I.Fragment,{children:[I.jsx("path",{...Z,d:b,fill:"none",className:Na(["react-flow__edge-path",Z.className])}),G?I.jsx("path",{d:b,fill:"none",strokeOpacity:0,strokeWidth:G,className:"react-flow__edge-interaction"}):null,M&&rv(j)&&rv(x)?I.jsx(kUn,{x:j,y:x,label:M,labelStyle:N,labelShowBg:$,labelBgStyle:k,labelBgPadding:J,labelBgBorderRadius:q}):null]})}function Q1n({pos:b,x1:j,y1:x,x2:M,y2:N}){return b===ur.Left||b===ur.Right?[.5*(j+M),x]:[j,.5*(x+N)]}function R0n({sourceX:b,sourceY:j,sourcePosition:x=ur.Bottom,targetX:M,targetY:N,targetPosition:$=ur.Top}){const[k,J]=Q1n({pos:x,x1:b,y1:j,x2:M,y2:N}),[q,G]=Q1n({pos:$,x1:M,y1:N,x2:b,y2:j}),[Z,Q,ee,se]=u0n({sourceX:b,sourceY:j,targetX:M,targetY:N,sourceControlX:k,sourceControlY:J,targetControlX:q,targetControlY:G});return[`M${b},${j} C${k},${J} ${q},${G} ${M},${N}`,Z,Q,ee,se]}function B0n(b){return Re.memo(({id:j,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k,targetPosition:J,label:q,labelStyle:G,labelShowBg:Z,labelBgStyle:Q,labelBgPadding:ee,labelBgBorderRadius:se,style:ce,markerEnd:ne,markerStart:Se,interactionWidth:me})=>{const[Pe,ae,Ne]=R0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:J}),Ue=b.isInternal?void 0:j;return I.jsx(uq,{id:Ue,path:Pe,labelX:ae,labelY:Ne,label:q,labelStyle:G,labelShowBg:Z,labelBgStyle:Q,labelBgPadding:ee,labelBgBorderRadius:se,style:ce,markerEnd:ne,markerStart:Se,interactionWidth:me})})}const jUn=B0n({isInternal:!1}),z0n=B0n({isInternal:!0});jUn.displayName="SimpleBezierEdge";z0n.displayName="SimpleBezierEdgeInternal";function F0n(b){return Re.memo(({id:j,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:J,labelShowBg:q,labelBgStyle:G,labelBgPadding:Z,labelBgBorderRadius:Q,style:ee,sourcePosition:se=ur.Bottom,targetPosition:ce=ur.Top,markerEnd:ne,markerStart:Se,pathOptions:me,interactionWidth:Pe})=>{const[ae,Ne,Ue]=Cue({sourceX:x,sourceY:M,sourcePosition:se,targetX:N,targetY:$,targetPosition:ce,borderRadius:me?.borderRadius,offset:me?.offset,stepPosition:me?.stepPosition}),ln=b.isInternal?void 0:j;return I.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Ue,label:k,labelStyle:J,labelShowBg:q,labelBgStyle:G,labelBgPadding:Z,labelBgBorderRadius:Q,style:ee,markerEnd:ne,markerStart:Se,interactionWidth:Pe})})}const J0n=F0n({isInternal:!1}),H0n=F0n({isInternal:!0});J0n.displayName="SmoothStepEdge";H0n.displayName="SmoothStepEdgeInternal";function G0n(b){return Re.memo(({id:j,...x})=>{const M=b.isInternal?void 0:j;return I.jsx(J0n,{...x,id:M,pathOptions:Re.useMemo(()=>({borderRadius:0,offset:x.pathOptions?.offset}),[x.pathOptions?.offset])})})}const EUn=G0n({isInternal:!1}),q0n=G0n({isInternal:!0});EUn.displayName="StepEdge";q0n.displayName="StepEdgeInternal";function U0n(b){return Re.memo(({id:j,sourceX:x,sourceY:M,targetX:N,targetY:$,label:k,labelStyle:J,labelShowBg:q,labelBgStyle:G,labelBgPadding:Z,labelBgBorderRadius:Q,style:ee,markerEnd:se,markerStart:ce,interactionWidth:ne})=>{const[Se,me,Pe]=l0n({sourceX:x,sourceY:M,targetX:N,targetY:$}),ae=b.isInternal?void 0:j;return I.jsx(uq,{id:ae,path:Se,labelX:me,labelY:Pe,label:k,labelStyle:J,labelShowBg:q,labelBgStyle:G,labelBgPadding:Z,labelBgBorderRadius:Q,style:ee,markerEnd:se,markerStart:ce,interactionWidth:ne})})}const SUn=U0n({isInternal:!1}),X0n=U0n({isInternal:!0});SUn.displayName="StraightEdge";X0n.displayName="StraightEdgeInternal";function K0n(b){return Re.memo(({id:j,sourceX:x,sourceY:M,targetX:N,targetY:$,sourcePosition:k=ur.Bottom,targetPosition:J=ur.Top,label:q,labelStyle:G,labelShowBg:Z,labelBgStyle:Q,labelBgPadding:ee,labelBgBorderRadius:se,style:ce,markerEnd:ne,markerStart:Se,pathOptions:me,interactionWidth:Pe})=>{const[ae,Ne,Ue]=o0n({sourceX:x,sourceY:M,sourcePosition:k,targetX:N,targetY:$,targetPosition:J,curvature:me?.curvature}),ln=b.isInternal?void 0:j;return I.jsx(uq,{id:ln,path:ae,labelX:Ne,labelY:Ue,label:q,labelStyle:G,labelShowBg:Z,labelBgStyle:Q,labelBgPadding:ee,labelBgBorderRadius:se,style:ce,markerEnd:ne,markerStart:Se,interactionWidth:Pe})})}const xUn=K0n({isInternal:!1}),V0n=K0n({isInternal:!0});xUn.displayName="BezierEdge";V0n.displayName="BezierEdgeInternal";const W1n={default:V0n,straight:X0n,step:q0n,smoothstep:H0n,simplebezier:z0n},Z1n={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},AUn=(b,j,x)=>x===ur.Left?b-j:x===ur.Right?b+j:b,MUn=(b,j,x)=>x===ur.Top?b-j:x===ur.Bottom?b+j:b,edn="react-flow__edgeupdater";function ndn({position:b,centerX:j,centerY:x,radius:M=10,onMouseDown:N,onMouseEnter:$,onMouseOut:k,type:J}){return I.jsx("circle",{onMouseDown:N,onMouseEnter:$,onMouseOut:k,className:Na([edn,`${edn}-${J}`]),cx:AUn(j,M,b),cy:MUn(x,M,b),r:M,stroke:"transparent",fill:"transparent"})}function CUn({isReconnectable:b,reconnectRadius:j,edge:x,sourceX:M,sourceY:N,targetX:$,targetY:k,sourcePosition:J,targetPosition:q,onReconnect:G,onReconnectStart:Z,onReconnectEnd:Q,setReconnecting:ee,setUpdateHover:se}){const ce=Sl(),ne=(Ne,Ue)=>{if(Ne.button!==0)return;const{autoPanOnConnect:ln,domNode:on,connectionMode:An,connectionRadius:xn,lib:tt,onConnectStart:mn,cancelConnection:vn,nodeLookup:Y,rfId:Fe,panBy:wn,updateConnection:Ae}=ce.getState(),Ge=Ue.type==="target",fn=(ge,tn)=>{ee(!1),Q?.(ge,x,Ue.type,tn)},$e=ge=>G?.(x,ge),Mn=(ge,tn)=>{ee(!0),Z?.(Ne,x,Ue.type),mn?.(ge,tn)};wke.onPointerDown(Ne.nativeEvent,{autoPanOnConnect:ln,connectionMode:An,connectionRadius:xn,domNode:on,handleId:Ue.id,nodeId:Ue.nodeId,nodeLookup:Y,isTarget:Ge,edgeUpdaterType:Ue.type,lib:tt,flowId:Fe,cancelConnection:vn,panBy:wn,isValidConnection:(...ge)=>ce.getState().isValidConnection?.(...ge)??!0,onConnect:$e,onConnectStart:Mn,onConnectEnd:(...ge)=>ce.getState().onConnectEnd?.(...ge),onReconnectEnd:fn,updateConnection:Ae,getTransform:()=>ce.getState().transform,getFromHandle:()=>ce.getState().connection.fromHandle,dragThreshold:ce.getState().connectionDragThreshold,handleDomNode:Ne.currentTarget})},Se=Ne=>ne(Ne,{nodeId:x.target,id:x.targetHandle??null,type:"target"}),me=Ne=>ne(Ne,{nodeId:x.source,id:x.sourceHandle??null,type:"source"}),Pe=()=>se(!0),ae=()=>se(!1);return I.jsxs(I.Fragment,{children:[(b===!0||b==="source")&&I.jsx(ndn,{position:J,centerX:M,centerY:N,radius:j,onMouseDown:Se,onMouseEnter:Pe,onMouseOut:ae,type:"source"}),(b===!0||b==="target")&&I.jsx(ndn,{position:q,centerX:$,centerY:k,radius:j,onMouseDown:me,onMouseEnter:Pe,onMouseOut:ae,type:"target"})]})}function TUn({id:b,edgesFocusable:j,edgesReconnectable:x,elementsSelectable:M,onClick:N,onDoubleClick:$,onContextMenu:k,onMouseEnter:J,onMouseMove:q,onMouseLeave:G,reconnectRadius:Z,onReconnect:Q,onReconnectStart:ee,onReconnectEnd:se,rfId:ce,edgeTypes:ne,noPanClassName:Se,onError:me,disableKeyboardA11y:Pe}){let ae=zu(Dt=>Dt.edgeLookup.get(b));const Ne=zu(Dt=>Dt.defaultEdgeOptions);ae=Ne?{...Ne,...ae}:ae;let Ue=ae.type||"default",ln=ne?.[Ue]||W1n[Ue];ln===void 0&&(me?.("011",gy.error011(Ue)),Ue="default",ln=ne?.default||W1n.default);const on=!!(ae.focusable||j&&typeof ae.focusable>"u"),An=typeof Q<"u"&&(ae.reconnectable||x&&typeof ae.reconnectable>"u"),xn=!!(ae.selectable||M&&typeof ae.selectable>"u"),tt=Re.useRef(null),[mn,vn]=Re.useState(!1),[Y,Fe]=Re.useState(!1),wn=Sl(),{zIndex:Ae,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn}=zu(Re.useCallback(Dt=>{const bi=Dt.nodeLookup.get(ae.source),zi=Dt.nodeLookup.get(ae.target);if(!bi||!zi)return{zIndex:ae.zIndex,...Z1n};const cu=yGn({id:b,sourceNode:bi,targetNode:zi,sourceHandle:ae.sourceHandle||null,targetHandle:ae.targetHandle||null,connectionMode:Dt.connectionMode,onError:me});return{zIndex:hGn({selected:ae.selected,zIndex:ae.zIndex,sourceNode:bi,targetNode:zi,elevateOnSelect:Dt.elevateEdgesOnSelect,zIndexMode:Dt.zIndexMode}),...cu||Z1n}},[ae.source,ae.target,ae.sourceHandle,ae.targetHandle,ae.selected,ae.zIndex]),El),Hn=Re.useMemo(()=>ae.markerStart?`url('#${bke(ae.markerStart,ce)}')`:void 0,[ae.markerStart,ce]),ut=Re.useMemo(()=>ae.markerEnd?`url('#${bke(ae.markerEnd,ce)}')`:void 0,[ae.markerEnd,ce]);if(ae.hidden||Ge===null||fn===null||$e===null||Mn===null)return null;const Jt=Dt=>{const{addSelectedEdges:bi,unselectNodesAndEdges:zi,multiSelectionActive:cu}=wn.getState();xn&&(wn.setState({nodesSelectionActive:!1}),ae.selected&&cu?(zi({nodes:[],edges:[ae]}),tt.current?.blur()):bi([b])),N&&N(Dt,ae)},di=$?Dt=>{$(Dt,{...ae})}:void 0,Gt=k?Dt=>{k(Dt,{...ae})}:void 0,At=J?Dt=>{J(Dt,{...ae})}:void 0,si=q?Dt=>{q(Dt,{...ae})}:void 0,Kr=G?Dt=>{G(Dt,{...ae})}:void 0,Er=Dt=>{if(!Pe&&Udn.includes(Dt.key)&&xn){const{unselectNodesAndEdges:bi,addSelectedEdges:zi}=wn.getState();Dt.key==="Escape"?(tt.current?.blur(),bi({edges:[ae]})):zi([b])}};return I.jsx("svg",{style:{zIndex:Ae},children:I.jsxs("g",{className:Na(["react-flow__edge",`react-flow__edge-${Ue}`,ae.className,Se,{selected:ae.selected,animated:ae.animated,inactive:!xn&&!N,updating:mn,selectable:xn}]),onClick:Jt,onDoubleClick:di,onContextMenu:Gt,onMouseEnter:At,onMouseMove:si,onMouseLeave:Kr,onKeyDown:on?Er:void 0,tabIndex:on?0:void 0,role:ae.ariaRole??(on?"group":"img"),"aria-roledescription":"edge","data-id":b,"data-testid":`rf__edge-${b}`,"aria-label":ae.ariaLabel===null?void 0:ae.ariaLabel||`Edge from ${ae.source} to ${ae.target}`,"aria-describedby":on?`${S0n}-${ce}`:void 0,ref:tt,...ae.domAttributes,children:[!Y&&I.jsx(ln,{id:b,source:ae.source,target:ae.target,type:ae.type,selected:ae.selected,animated:ae.animated,selectable:xn,deletable:ae.deletable??!0,label:ae.label,labelStyle:ae.labelStyle,labelShowBg:ae.labelShowBg,labelBgStyle:ae.labelBgStyle,labelBgPadding:ae.labelBgPadding,labelBgBorderRadius:ae.labelBgBorderRadius,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn,data:ae.data,style:ae.style,sourceHandleId:ae.sourceHandle,targetHandleId:ae.targetHandle,markerStart:Hn,markerEnd:ut,pathOptions:"pathOptions"in ae?ae.pathOptions:void 0,interactionWidth:ae.interactionWidth}),An&&I.jsx(CUn,{edge:ae,isReconnectable:An,reconnectRadius:Z,onReconnect:Q,onReconnectStart:ee,onReconnectEnd:se,sourceX:Ge,sourceY:fn,targetX:$e,targetY:Mn,sourcePosition:ge,targetPosition:tn,setUpdateHover:vn,setReconnecting:Fe})]})})}var OUn=Re.memo(TUn);const NUn=b=>({edgesFocusable:b.edgesFocusable,edgesReconnectable:b.edgesReconnectable,elementsSelectable:b.elementsSelectable,connectionMode:b.connectionMode,onError:b.onError});function Y0n({defaultMarkerColor:b,onlyRenderVisibleElements:j,rfId:x,edgeTypes:M,noPanClassName:N,onReconnect:$,onEdgeContextMenu:k,onEdgeMouseEnter:J,onEdgeMouseMove:q,onEdgeMouseLeave:G,onEdgeClick:Z,reconnectRadius:Q,onEdgeDoubleClick:ee,onReconnectStart:se,onReconnectEnd:ce,disableKeyboardA11y:ne}){const{edgesFocusable:Se,edgesReconnectable:me,elementsSelectable:Pe,onError:ae}=zu(NUn,El),Ne=gUn(j);return I.jsxs("div",{className:"react-flow__edges",children:[I.jsx(yUn,{defaultColor:b,rfId:x}),Ne.map(Ue=>I.jsx(OUn,{id:Ue,edgesFocusable:Se,edgesReconnectable:me,elementsSelectable:Pe,noPanClassName:N,onReconnect:$,onContextMenu:k,onMouseEnter:J,onMouseMove:q,onMouseLeave:G,onClick:Z,reconnectRadius:Q,onDoubleClick:ee,onReconnectStart:se,onReconnectEnd:ce,rfId:x,onError:ae,edgeTypes:M,disableKeyboardA11y:ne},Ue))]})}Y0n.displayName="EdgeRenderer";const IUn=Re.memo(Y0n),DUn=b=>`translate(${b.transform[0]}px,${b.transform[1]}px) scale(${b.transform[2]})`;function _Un({children:b}){const j=zu(DUn);return I.jsx("div",{className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:j},children:b})}function LUn(b){const j=$ke(),x=Re.useRef(!1);Re.useEffect(()=>{!x.current&&j.viewportInitialized&&b&&(setTimeout(()=>b(j),1),x.current=!0)},[b,j.viewportInitialized])}const PUn=b=>b.panZoom?.syncViewport;function $Un(b){const j=zu(PUn),x=Sl();return Re.useEffect(()=>{b&&(j?.(b),x.setState({transform:[b.x,b.y,b.zoom]}))},[b,j]),null}function RUn(b){return b.connection.inProgress?{...b.connection,to:cq(b.connection.to,b.transform)}:{...b.connection}}function BUn(b){return RUn}function zUn(b){const j=BUn();return zu(j,El)}const FUn=b=>({nodesConnectable:b.nodesConnectable,isValid:b.connection.isValid,inProgress:b.connection.inProgress,width:b.width,height:b.height});function JUn({containerStyle:b,style:j,type:x,component:M}){const{nodesConnectable:N,width:$,height:k,isValid:J,inProgress:q}=zu(FUn,El);return!($&&N&&q)?null:I.jsx("svg",{style:b,width:$,height:k,className:"react-flow__connectionline react-flow__container",children:I.jsx("g",{className:Na(["react-flow__connection",Vdn(J)]),children:I.jsx(Q0n,{style:j,type:x,CustomComponent:M,isValid:J})})})}const Q0n=({style:b,type:j=ik.Bezier,CustomComponent:x,isValid:M})=>{const{inProgress:N,from:$,fromNode:k,fromHandle:J,fromPosition:q,to:G,toNode:Z,toHandle:Q,toPosition:ee,pointer:se}=zUn();if(!N)return;if(x)return I.jsx(x,{connectionLineType:j,connectionLineStyle:b,fromNode:k,fromHandle:J,fromX:$.x,fromY:$.y,toX:G.x,toY:G.y,fromPosition:q,toPosition:ee,connectionStatus:Vdn(M),toNode:Z,toHandle:Q,pointer:se});let ce="";const ne={sourceX:$.x,sourceY:$.y,sourcePosition:q,targetX:G.x,targetY:G.y,targetPosition:ee};switch(j){case ik.Bezier:[ce]=o0n(ne);break;case ik.SimpleBezier:[ce]=R0n(ne);break;case ik.Step:[ce]=Cue({...ne,borderRadius:0});break;case ik.SmoothStep:[ce]=Cue(ne);break;default:[ce]=l0n(ne)}return I.jsx("path",{d:ce,fill:"none",className:"react-flow__connection-path",style:b})};Q0n.displayName="ConnectionLine";const HUn={};function tdn(b=HUn){Re.useRef(b),Sl(),Re.useEffect(()=>{},[b])}function GUn(){Sl(),Re.useRef(!1),Re.useEffect(()=>{},[])}function W0n({nodeTypes:b,edgeTypes:j,onInit:x,onNodeClick:M,onEdgeClick:N,onNodeDoubleClick:$,onEdgeDoubleClick:k,onNodeMouseEnter:J,onNodeMouseMove:q,onNodeMouseLeave:G,onNodeContextMenu:Z,onSelectionContextMenu:Q,onSelectionStart:ee,onSelectionEnd:se,connectionLineType:ce,connectionLineStyle:ne,connectionLineComponent:Se,connectionLineContainerStyle:me,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,multiSelectionKeyCode:Ue,panActivationKeyCode:ln,zoomActivationKeyCode:on,deleteKeyCode:An,onlyRenderVisibleElements:xn,elementsSelectable:tt,defaultViewport:mn,translateExtent:vn,minZoom:Y,maxZoom:Fe,preventScrolling:wn,defaultMarkerColor:Ae,zoomOnScroll:Ge,zoomOnPinch:fn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ge,zoomOnDoubleClick:tn,panOnDrag:Hn,onPaneClick:ut,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneScroll:At,onPaneContextMenu:si,paneClickDistance:Kr,nodeClickDistance:Er,onEdgeContextMenu:Dt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,onReconnect:Rs,onReconnectStart:ra,onReconnectEnd:nf,noDragClassName:Ia,noWheelClassName:Cc,noPanClassName:l0,disableKeyboardA11y:Cb,nodeExtent:xl,rfId:od,viewport:f0,onViewportChange:sh}){return tdn(b),tdn(j),GUn(),LUn(x),$Un(f0),I.jsx(cUn,{onPaneClick:ut,onPaneMouseEnter:Jt,onPaneMouseMove:di,onPaneMouseLeave:Gt,onPaneContextMenu:si,onPaneScroll:At,paneClickDistance:Kr,deleteKeyCode:An,selectionKeyCode:Pe,selectionOnDrag:ae,selectionMode:Ne,onSelectionStart:ee,onSelectionEnd:se,multiSelectionKeyCode:Ue,panActivationKeyCode:ln,zoomActivationKeyCode:on,elementsSelectable:tt,zoomOnScroll:Ge,zoomOnPinch:fn,zoomOnDoubleClick:tn,panOnScroll:$e,panOnScrollSpeed:Mn,panOnScrollMode:ge,panOnDrag:Hn,defaultViewport:mn,translateExtent:vn,minZoom:Y,maxZoom:Fe,onSelectionContextMenu:Q,preventScrolling:wn,noDragClassName:Ia,noWheelClassName:Cc,noPanClassName:l0,disableKeyboardA11y:Cb,onViewportChange:sh,isControlledViewport:!!f0,children:I.jsxs(_Un,{children:[I.jsx(IUn,{edgeTypes:j,onEdgeClick:N,onEdgeDoubleClick:k,onReconnect:Rs,onReconnectStart:ra,onReconnectEnd:nf,onlyRenderVisibleElements:xn,onEdgeContextMenu:Dt,onEdgeMouseEnter:bi,onEdgeMouseMove:zi,onEdgeMouseLeave:cu,reconnectRadius:Fu,defaultMarkerColor:Ae,noPanClassName:l0,disableKeyboardA11y:Cb,rfId:od}),I.jsx(JUn,{style:ne,type:ce,component:Se,containerStyle:me}),I.jsx("div",{className:"react-flow__edgelabel-renderer"}),I.jsx(bUn,{nodeTypes:b,onNodeClick:M,onNodeDoubleClick:$,onNodeMouseEnter:J,onNodeMouseMove:q,onNodeMouseLeave:G,onNodeContextMenu:Z,nodeClickDistance:Er,onlyRenderVisibleElements:xn,noPanClassName:l0,noDragClassName:Ia,disableKeyboardA11y:Cb,nodeExtent:xl,rfId:od}),I.jsx("div",{className:"react-flow__viewport-portal"})]})})}W0n.displayName="GraphView";const qUn=Re.memo(W0n),idn=({nodes:b,edges:j,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:J,minZoom:q=.5,maxZoom:G=2,nodeOrigin:Z,nodeExtent:Q,zIndexMode:ee="basic"}={})=>{const se=new Map,ce=new Map,ne=new Map,Se=new Map,me=M??j??[],Pe=x??b??[],ae=Z??[0,0],Ne=Q??XG;h0n(ne,Se,me);const{nodesInitialized:Ue}=gke(Pe,se,ce,{nodeOrigin:ae,nodeExtent:Ne,zIndexMode:ee});let ln=[0,0,1];if(k&&N&&$){const on=iq(se,{filter:mn=>!!((mn.width||mn.initialWidth)&&(mn.height||mn.initialHeight))}),{x:An,y:xn,zoom:tt}=Oke(on,N,$,q,G,J?.padding??.1);ln=[An,xn,tt]}return{rfId:"1",width:N??0,height:$??0,transform:ln,nodes:Pe,nodesInitialized:Ue,nodeLookup:se,parentLookup:ce,edges:me,edgeLookup:Se,connectionLookup:ne,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:x!==void 0,hasDefaultEdges:M!==void 0,panZoom:null,minZoom:q,maxZoom:G,translateExtent:XG,nodeExtent:Ne,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:vD.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:ae,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:k??!1,fitViewOptions:J,fitViewResolver:null,connection:{...Kdn},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:uGn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:Xdn,zIndexMode:ee,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},UUn=({nodes:b,edges:j,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:k,fitViewOptions:J,minZoom:q,maxZoom:G,nodeOrigin:Z,nodeExtent:Q,zIndexMode:ee})=>fqn((se,ce)=>{async function ne(){const{nodeLookup:Se,panZoom:me,fitViewOptions:Pe,fitViewResolver:ae,width:Ne,height:Ue,minZoom:ln,maxZoom:on}=ce();me&&(await rGn({nodes:Se,width:Ne,height:Ue,panZoom:me,minZoom:ln,maxZoom:on},Pe),ae?.resolve(!0),se({fitViewResolver:null}))}return{...idn({nodes:b,edges:j,width:N,height:$,fitView:k,fitViewOptions:J,minZoom:q,maxZoom:G,nodeOrigin:Z,nodeExtent:Q,defaultNodes:x,defaultEdges:M,zIndexMode:ee}),setNodes:Se=>{const{nodeLookup:me,parentLookup:Pe,nodeOrigin:ae,elevateNodesOnSelect:Ne,fitViewQueued:Ue,zIndexMode:ln,nodesSelectionActive:on}=ce(),{nodesInitialized:An,hasSelectedNodes:xn}=gke(Se,me,Pe,{nodeOrigin:ae,nodeExtent:Q,elevateNodesOnSelect:Ne,checkEquality:!0,zIndexMode:ln}),tt=on&&xn;Ue&&An?(ne(),se({nodes:Se,nodesInitialized:An,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:tt})):se({nodes:Se,nodesInitialized:An,nodesSelectionActive:tt})},setEdges:Se=>{const{connectionLookup:me,edgeLookup:Pe}=ce();h0n(me,Pe,Se),se({edges:Se})},setDefaultNodesAndEdges:(Se,me)=>{if(Se){const{setNodes:Pe}=ce();Pe(Se),se({hasDefaultNodes:!0})}if(me){const{setEdges:Pe}=ce();Pe(me),se({hasDefaultEdges:!0})}},updateNodeInternals:Se=>{const{triggerNodeChanges:me,nodeLookup:Pe,parentLookup:ae,domNode:Ne,nodeOrigin:Ue,nodeExtent:ln,debug:on,fitViewQueued:An,zIndexMode:xn}=ce(),{changes:tt,updatedInternals:mn}=CGn(Se,Pe,ae,Ne,Ue,ln,xn);mn&&(SGn(Pe,ae,{nodeOrigin:Ue,nodeExtent:ln,zIndexMode:xn}),An?(ne(),se({fitViewQueued:!1,fitViewOptions:void 0})):se({}),tt?.length>0&&(on&&console.log("React Flow: trigger node changes",tt),me?.(tt)))},updateNodePositions:(Se,me=!1)=>{const Pe=[];let ae=[];const{nodeLookup:Ne,triggerNodeChanges:Ue,connection:ln,updateConnection:on,onNodesChangeMiddlewareMap:An}=ce();for(const[xn,tt]of Se){const mn=Ne.get(xn),vn=!!(mn?.expandParent&&mn?.parentId&&tt?.position),Y={id:xn,type:"position",position:vn?{x:Math.max(0,tt.position.x),y:Math.max(0,tt.position.y)}:tt.position,dragging:me};if(mn&&ln.inProgress&&ln.fromNode.id===mn.id){const Fe=IA(mn,ln.fromHandle,ur.Left,!0);on({...ln,from:Fe})}vn&&mn.parentId&&Pe.push({id:xn,parentId:mn.parentId,rect:{...tt.internals.positionAbsolute,width:tt.measured.width??0,height:tt.measured.height??0}}),ae.push(Y)}if(Pe.length>0){const{parentLookup:xn,nodeOrigin:tt}=ce(),mn=Pke(Pe,Ne,xn,tt);ae.push(...mn)}for(const xn of An.values())ae=xn(ae);Ue(ae)},triggerNodeChanges:Se=>{const{onNodesChange:me,setNodes:Pe,nodes:ae,hasDefaultNodes:Ne,debug:Ue}=ce();if(Se?.length){if(Ne){const ln=M0n(Se,ae);Pe(ln)}Ue&&console.log("React Flow: trigger node changes",Se),me?.(Se)}},triggerEdgeChanges:Se=>{const{onEdgesChange:me,setEdges:Pe,edges:ae,hasDefaultEdges:Ne,debug:Ue}=ce();if(Se?.length){if(Ne){const ln=C0n(Se,ae);Pe(ln)}Ue&&console.log("React Flow: trigger edge changes",Se),me?.(Se)}},addSelectedNodes:Se=>{const{multiSelectionActive:me,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Ue}=ce();if(me){const ln=Se.map(on=>xA(on,!0));Ne(ln);return}Ne(dD(ae,new Set([...Se]),!0)),Ue(dD(Pe))},addSelectedEdges:Se=>{const{multiSelectionActive:me,edgeLookup:Pe,nodeLookup:ae,triggerNodeChanges:Ne,triggerEdgeChanges:Ue}=ce();if(me){const ln=Se.map(on=>xA(on,!0));Ue(ln);return}Ue(dD(Pe,new Set([...Se]))),Ne(dD(ae,new Set,!0))},unselectNodesAndEdges:({nodes:Se,edges:me}={})=>{const{edges:Pe,nodes:ae,nodeLookup:Ne,triggerNodeChanges:Ue,triggerEdgeChanges:ln}=ce(),on=Se||ae,An=me||Pe,xn=[];for(const mn of on){if(!mn.selected)continue;const vn=Ne.get(mn.id);vn&&(vn.selected=!1),xn.push(xA(mn.id,!1))}const tt=[];for(const mn of An)mn.selected&&tt.push(xA(mn.id,!1));Ue(xn),ln(tt)},setMinZoom:Se=>{const{panZoom:me,maxZoom:Pe}=ce();me?.setScaleExtent([Se,Pe]),se({minZoom:Se})},setMaxZoom:Se=>{const{panZoom:me,minZoom:Pe}=ce();me?.setScaleExtent([Pe,Se]),se({maxZoom:Se})},setTranslateExtent:Se=>{ce().panZoom?.setTranslateExtent(Se),se({translateExtent:Se})},resetSelectedElements:()=>{const{edges:Se,nodes:me,triggerNodeChanges:Pe,triggerEdgeChanges:ae,elementsSelectable:Ne}=ce();if(!Ne)return;const Ue=me.reduce((on,An)=>An.selected?[...on,xA(An.id,!1)]:on,[]),ln=Se.reduce((on,An)=>An.selected?[...on,xA(An.id,!1)]:on,[]);Pe(Ue),ae(ln)},setNodeExtent:Se=>{const{nodes:me,nodeLookup:Pe,parentLookup:ae,nodeOrigin:Ne,elevateNodesOnSelect:Ue,nodeExtent:ln,zIndexMode:on}=ce();Se[0][0]===ln[0][0]&&Se[0][1]===ln[0][1]&&Se[1][0]===ln[1][0]&&Se[1][1]===ln[1][1]||(gke(me,Pe,ae,{nodeOrigin:Ne,nodeExtent:Se,elevateNodesOnSelect:Ue,checkEquality:!1,zIndexMode:on}),se({nodeExtent:Se}))},panBy:Se=>{const{transform:me,width:Pe,height:ae,panZoom:Ne,translateExtent:Ue}=ce();return TGn({delta:Se,panZoom:Ne,transform:me,translateExtent:Ue,width:Pe,height:ae})},setCenter:async(Se,me,Pe)=>{const{width:ae,height:Ne,maxZoom:Ue,panZoom:ln}=ce();if(!ln)return Promise.resolve(!1);const on=typeof Pe?.zoom<"u"?Pe.zoom:Ue;return await ln.setViewport({x:ae/2-Se*on,y:Ne/2-me*on,zoom:on},{duration:Pe?.duration,ease:Pe?.ease,interpolate:Pe?.interpolate}),Promise.resolve(!0)},cancelConnection:()=>{se({connection:{...Kdn}})},updateConnection:Se=>{se({connection:Se})},reset:()=>se({...idn()})}},Object.is);function XUn({initialNodes:b,initialEdges:j,defaultNodes:x,defaultEdges:M,initialWidth:N,initialHeight:$,initialMinZoom:k,initialMaxZoom:J,initialFitViewOptions:q,fitView:G,nodeOrigin:Z,nodeExtent:Q,zIndexMode:ee,children:se}){const[ce]=Re.useState(()=>UUn({nodes:b,edges:j,defaultNodes:x,defaultEdges:M,width:N,height:$,fitView:G,minZoom:k,maxZoom:J,fitViewOptions:q,nodeOrigin:Z,nodeExtent:Q,zIndexMode:ee}));return I.jsx(hqn,{value:ce,children:I.jsx(_qn,{children:se})})}function KUn({children:b,nodes:j,edges:x,defaultNodes:M,defaultEdges:N,width:$,height:k,fitView:J,fitViewOptions:q,minZoom:G,maxZoom:Z,nodeOrigin:Q,nodeExtent:ee,zIndexMode:se}){return Re.useContext(zue)?I.jsx(I.Fragment,{children:b}):I.jsx(XUn,{initialNodes:j,initialEdges:x,defaultNodes:M,defaultEdges:N,initialWidth:$,initialHeight:k,fitView:J,initialFitViewOptions:q,initialMinZoom:G,initialMaxZoom:Z,nodeOrigin:Q,nodeExtent:ee,zIndexMode:se,children:b})}const VUn={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function YUn({nodes:b,edges:j,defaultNodes:x,defaultEdges:M,className:N,nodeTypes:$,edgeTypes:k,onNodeClick:J,onEdgeClick:q,onInit:G,onMove:Z,onMoveStart:Q,onMoveEnd:ee,onConnect:se,onConnectStart:ce,onConnectEnd:ne,onClickConnectStart:Se,onClickConnectEnd:me,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Ue,onNodeDoubleClick:ln,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onNodesDelete:tt,onEdgesDelete:mn,onDelete:vn,onSelectionChange:Y,onSelectionDragStart:Fe,onSelectionDrag:wn,onSelectionDragStop:Ae,onSelectionContextMenu:Ge,onSelectionStart:fn,onSelectionEnd:$e,onBeforeDelete:Mn,connectionMode:ge,connectionLineType:tn=ik.Bezier,connectionLineStyle:Hn,connectionLineComponent:ut,connectionLineContainerStyle:Jt,deleteKeyCode:di="Backspace",selectionKeyCode:Gt="Shift",selectionOnDrag:At=!1,selectionMode:si=KG.Full,panActivationKeyCode:Kr="Space",multiSelectionKeyCode:Er=QG()?"Meta":"Control",zoomActivationKeyCode:Dt=QG()?"Meta":"Control",snapToGrid:bi,snapGrid:zi,onlyRenderVisibleElements:cu=!1,selectNodesOnDrag:Fu,nodesDraggable:Rs,autoPanOnNodeFocus:ra,nodesConnectable:nf,nodesFocusable:Ia,nodeOrigin:Cc=x0n,edgesFocusable:l0,edgesReconnectable:Cb,elementsSelectable:xl=!0,defaultViewport:od=xqn,minZoom:f0=.5,maxZoom:sh=2,translateExtent:sd=XG,preventScrolling:my=!0,nodeExtent:a0,defaultMarkerColor:Np="#b1b1b7",zoomOnScroll:h6=!0,zoomOnPinch:Tb=!0,panOnScroll:ca=!1,panOnScrollSpeed:ld=.5,panOnScrollMode:xf=CA.Free,zoomOnDoubleClick:d6=!0,panOnDrag:lh=!0,onPaneClick:Ip,onPaneMouseEnter:Xg,onPaneMouseMove:Kg,onPaneMouseLeave:Vg,onPaneScroll:fd,onPaneContextMenu:Yg,paneClickDistance:Ob=1,nodeClickDistance:vy=0,children:Dp,onReconnect:_p,onReconnectStart:uu,onReconnectEnd:yy,onEdgeContextMenu:Qg,onEdgeDoubleClick:ov,onEdgeMouseEnter:ky,onEdgeMouseMove:Wg,onEdgeMouseLeave:sv,reconnectRadius:jy=10,onNodesChange:Ey,onEdgesChange:w1,noDragClassName:Zs="nodrag",noWheelClassName:Af="nowheel",noPanClassName:vt="nopan",fitView:kc,fitViewOptions:tc,connectOnClick:ok,attributionPosition:h0,proOptions:Zg,defaultEdgeOptions:b6,elevateNodesOnSelect:Lp=!0,elevateEdgesOnSelect:Pp=!1,disableKeyboardA11y:$p=!1,autoPanOnConnect:Rp,autoPanOnNodeDrag:Al,autoPanSpeed:Sy,connectionRadius:sk,isValidConnection:ew,onError:Bp,style:DA,id:g6,nodeDragThreshold:lk,connectionDragThreshold:fk,viewport:lv,onViewportChange:xy,width:d0,height:Ph,colorMode:ak="light",debug:_A,onScroll:Ay,ariaLabelConfig:hk,zIndexMode:fv="basic",...LA},$h){const av=g6||"1",dk=Tqn(ak),w6=Re.useCallback(nw=>{nw.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),Ay?.(nw)},[Ay]);return I.jsx("div",{"data-testid":"rf__wrapper",...LA,onScroll:w6,style:{...DA,...VUn},ref:$h,className:Na(["react-flow",N,dk]),id:g6,role:"application",children:I.jsxs(KUn,{nodes:b,edges:j,width:d0,height:Ph,fitView:kc,fitViewOptions:tc,minZoom:f0,maxZoom:sh,nodeOrigin:Cc,nodeExtent:a0,zIndexMode:fv,children:[I.jsx(Cqn,{nodes:b,edges:j,defaultNodes:x,defaultEdges:M,onConnect:se,onConnectStart:ce,onConnectEnd:ne,onClickConnectStart:Se,onClickConnectEnd:me,nodesDraggable:Rs,autoPanOnNodeFocus:ra,nodesConnectable:nf,nodesFocusable:Ia,edgesFocusable:l0,edgesReconnectable:Cb,elementsSelectable:xl,elevateNodesOnSelect:Lp,elevateEdgesOnSelect:Pp,minZoom:f0,maxZoom:sh,nodeExtent:a0,onNodesChange:Ey,onEdgesChange:w1,snapToGrid:bi,snapGrid:zi,connectionMode:ge,translateExtent:sd,connectOnClick:ok,defaultEdgeOptions:b6,fitView:kc,fitViewOptions:tc,onNodesDelete:tt,onEdgesDelete:mn,onDelete:vn,onNodeDragStart:on,onNodeDrag:An,onNodeDragStop:xn,onSelectionDrag:wn,onSelectionDragStart:Fe,onSelectionDragStop:Ae,onMove:Z,onMoveStart:Q,onMoveEnd:ee,noPanClassName:vt,nodeOrigin:Cc,rfId:av,autoPanOnConnect:Rp,autoPanOnNodeDrag:Al,autoPanSpeed:Sy,onError:Bp,connectionRadius:sk,isValidConnection:ew,selectNodesOnDrag:Fu,nodeDragThreshold:lk,connectionDragThreshold:fk,onBeforeDelete:Mn,debug:_A,ariaLabelConfig:hk,zIndexMode:fv}),I.jsx(qUn,{onInit:G,onNodeClick:J,onEdgeClick:q,onNodeMouseEnter:Pe,onNodeMouseMove:ae,onNodeMouseLeave:Ne,onNodeContextMenu:Ue,onNodeDoubleClick:ln,nodeTypes:$,edgeTypes:k,connectionLineType:tn,connectionLineStyle:Hn,connectionLineComponent:ut,connectionLineContainerStyle:Jt,selectionKeyCode:Gt,selectionOnDrag:At,selectionMode:si,deleteKeyCode:di,multiSelectionKeyCode:Er,panActivationKeyCode:Kr,zoomActivationKeyCode:Dt,onlyRenderVisibleElements:cu,defaultViewport:od,translateExtent:sd,minZoom:f0,maxZoom:sh,preventScrolling:my,zoomOnScroll:h6,zoomOnPinch:Tb,zoomOnDoubleClick:d6,panOnScroll:ca,panOnScrollSpeed:ld,panOnScrollMode:xf,panOnDrag:lh,onPaneClick:Ip,onPaneMouseEnter:Xg,onPaneMouseMove:Kg,onPaneMouseLeave:Vg,onPaneScroll:fd,onPaneContextMenu:Yg,paneClickDistance:Ob,nodeClickDistance:vy,onSelectionContextMenu:Ge,onSelectionStart:fn,onSelectionEnd:$e,onReconnect:_p,onReconnectStart:uu,onReconnectEnd:yy,onEdgeContextMenu:Qg,onEdgeDoubleClick:ov,onEdgeMouseEnter:ky,onEdgeMouseMove:Wg,onEdgeMouseLeave:sv,reconnectRadius:jy,defaultMarkerColor:Np,noDragClassName:Zs,noWheelClassName:Af,noPanClassName:vt,rfId:av,disableKeyboardA11y:$p,nodeExtent:a0,viewport:lv,onViewportChange:xy}),I.jsx(Sqn,{onSelectionChange:Y}),Dp,I.jsx(vqn,{proOptions:Zg,position:h0}),I.jsx(mqn,{rfId:av,disableKeyboardA11y:$p})]})})}var QUn=T0n(YUn);const WUn=b=>b.domNode?.querySelector(".react-flow__edgelabel-renderer");function ZUn({children:b}){const j=zu(WUn);return j?aqn.createPortal(b,j):null}function eXn(b){const[j,x]=Re.useState(b),M=Re.useCallback(N=>x($=>M0n(N,$)),[]);return[j,x,M]}function nXn(b){const[j,x]=Re.useState(b),M=Re.useCallback(N=>x($=>C0n(N,$)),[]);return[j,x,M]}function tXn({dimensions:b,lineWidth:j,variant:x,className:M}){return I.jsx("path",{strokeWidth:j,d:`M${b[0]/2} 0 V${b[1]} M0 ${b[1]/2} H${b[0]}`,className:Na(["react-flow__background-pattern",x,M])})}function iXn({radius:b,className:j}){return I.jsx("circle",{cx:b,cy:b,r:b,className:Na(["react-flow__background-pattern","dots",j])})}var rk;(function(b){b.Lines="lines",b.Dots="dots",b.Cross="cross"})(rk||(rk={}));const rXn={[rk.Dots]:1,[rk.Lines]:1,[rk.Cross]:6},cXn=b=>({transform:b.transform,patternId:`pattern-${b.rfId}`});function Z0n({id:b,variant:j=rk.Dots,gap:x=20,size:M,lineWidth:N=1,offset:$=0,color:k,bgColor:J,style:q,className:G,patternClassName:Z}){const Q=Re.useRef(null),{transform:ee,patternId:se}=zu(cXn,El),ce=M||rXn[j],ne=j===rk.Dots,Se=j===rk.Cross,me=Array.isArray(x)?x:[x,x],Pe=[me[0]*ee[2]||1,me[1]*ee[2]||1],ae=ce*ee[2],Ne=Array.isArray($)?$:[$,$],Ue=Se?[ae,ae]:Pe,ln=[Ne[0]*ee[2]||1+Ue[0]/2,Ne[1]*ee[2]||1+Ue[1]/2],on=`${se}${b||""}`;return I.jsxs("svg",{className:Na(["react-flow__background",G]),style:{...q,...Jue,"--xy-background-color-props":J,"--xy-background-pattern-color-props":k},ref:Q,"data-testid":"rf__background",children:[I.jsx("pattern",{id:on,x:ee[0]%Pe[0],y:ee[1]%Pe[1],width:Pe[0],height:Pe[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${ln[0]},-${ln[1]})`,children:ne?I.jsx(iXn,{radius:ae/2,className:Z}):I.jsx(tXn,{dimensions:Ue,lineWidth:N,variant:j,className:Z})}),I.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${on})`})]})}Z0n.displayName="Background";const uXn=Re.memo(Z0n);function oXn(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:I.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function sXn(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:I.jsx("path",{d:"M0 0h32v4.2H0z"})})}function lXn(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:I.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function fXn(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:I.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function aXn(){return I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:I.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function cue({children:b,className:j,...x}){return I.jsx("button",{type:"button",className:Na(["react-flow__controls-button",j]),...x,children:b})}const hXn=b=>({isInteractive:b.nodesDraggable||b.nodesConnectable||b.elementsSelectable,minZoomReached:b.transform[2]<=b.minZoom,maxZoomReached:b.transform[2]>=b.maxZoom,ariaLabelConfig:b.ariaLabelConfig});function ebn({style:b,showZoom:j=!0,showFitView:x=!0,showInteractive:M=!0,fitViewOptions:N,onZoomIn:$,onZoomOut:k,onFitView:J,onInteractiveChange:q,className:G,children:Z,position:Q="bottom-left",orientation:ee="vertical","aria-label":se}){const ce=Sl(),{isInteractive:ne,minZoomReached:Se,maxZoomReached:me,ariaLabelConfig:Pe}=zu(hXn,El),{zoomIn:ae,zoomOut:Ne,fitView:Ue}=$ke(),ln=()=>{ae(),$?.()},on=()=>{Ne(),k?.()},An=()=>{Ue(N),J?.()},xn=()=>{ce.setState({nodesDraggable:!ne,nodesConnectable:!ne,elementsSelectable:!ne}),q?.(!ne)},tt=ee==="horizontal"?"horizontal":"vertical";return I.jsxs(Fue,{className:Na(["react-flow__controls",tt,G]),position:Q,style:b,"data-testid":"rf__controls","aria-label":se??Pe["controls.ariaLabel"],children:[j&&I.jsxs(I.Fragment,{children:[I.jsx(cue,{onClick:ln,className:"react-flow__controls-zoomin",title:Pe["controls.zoomIn.ariaLabel"],"aria-label":Pe["controls.zoomIn.ariaLabel"],disabled:me,children:I.jsx(oXn,{})}),I.jsx(cue,{onClick:on,className:"react-flow__controls-zoomout",title:Pe["controls.zoomOut.ariaLabel"],"aria-label":Pe["controls.zoomOut.ariaLabel"],disabled:Se,children:I.jsx(sXn,{})})]}),x&&I.jsx(cue,{className:"react-flow__controls-fitview",onClick:An,title:Pe["controls.fitView.ariaLabel"],"aria-label":Pe["controls.fitView.ariaLabel"],children:I.jsx(lXn,{})}),M&&I.jsx(cue,{className:"react-flow__controls-interactive",onClick:xn,title:Pe["controls.interactive.ariaLabel"],"aria-label":Pe["controls.interactive.ariaLabel"],children:ne?I.jsx(aXn,{}):I.jsx(fXn,{})}),Z]})}ebn.displayName="Controls";const dXn=Re.memo(ebn);function bXn({id:b,x:j,y:x,width:M,height:N,style:$,color:k,strokeColor:J,strokeWidth:q,className:G,borderRadius:Z,shapeRendering:Q,selected:ee,onClick:se}){const{background:ce,backgroundColor:ne}=$||{},Se=k||ce||ne;return I.jsx("rect",{className:Na(["react-flow__minimap-node",{selected:ee},G]),x:j,y:x,rx:Z,ry:Z,width:M,height:N,style:{fill:Se,stroke:J,strokeWidth:q},shapeRendering:Q,onClick:se?me=>se(me,b):void 0})}const gXn=Re.memo(bXn),wXn=b=>b.nodes.map(j=>j.id),K7e=b=>b instanceof Function?b:()=>b;function pXn({nodeStrokeColor:b,nodeColor:j,nodeClassName:x="",nodeBorderRadius:M=5,nodeStrokeWidth:N,nodeComponent:$=gXn,onClick:k}){const J=zu(wXn,El),q=K7e(j),G=K7e(b),Z=K7e(x),Q=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return I.jsx(I.Fragment,{children:J.map(ee=>I.jsx(vXn,{id:ee,nodeColorFunc:q,nodeStrokeColorFunc:G,nodeClassNameFunc:Z,nodeBorderRadius:M,nodeStrokeWidth:N,NodeComponent:$,onClick:k,shapeRendering:Q},ee))})}function mXn({id:b,nodeColorFunc:j,nodeStrokeColorFunc:x,nodeClassNameFunc:M,nodeBorderRadius:N,nodeStrokeWidth:$,shapeRendering:k,NodeComponent:J,onClick:q}){const{node:G,x:Z,y:Q,width:ee,height:se}=zu(ce=>{const ne=ce.nodeLookup.get(b);if(!ne)return{node:void 0,x:0,y:0,width:0,height:0};const Se=ne.internals.userNode,{x:me,y:Pe}=ne.internals.positionAbsolute,{width:ae,height:Ne}=a6(Se);return{node:Se,x:me,y:Pe,width:ae,height:Ne}},El);return!G||G.hidden||!n0n(G)?null:I.jsx(J,{x:Z,y:Q,width:ee,height:se,style:G.style,selected:!!G.selected,className:M(G),color:j(G),borderRadius:N,strokeColor:x(G),strokeWidth:$,shapeRendering:k,onClick:q,id:G.id})}const vXn=Re.memo(mXn);var yXn=Re.memo(pXn);const kXn=200,jXn=150,EXn=b=>!b.hidden,SXn=b=>{const j={x:-b.transform[0]/b.transform[2],y:-b.transform[1]/b.transform[2],width:b.width/b.transform[2],height:b.height/b.transform[2]};return{viewBB:j,boundingRect:b.nodeLookup.size>0?e0n(iq(b.nodeLookup,{filter:EXn}),j):j,rfId:b.rfId,panZoom:b.panZoom,translateExtent:b.translateExtent,flowWidth:b.width,flowHeight:b.height,ariaLabelConfig:b.ariaLabelConfig}},xXn="react-flow__minimap-desc";function nbn({style:b,className:j,nodeStrokeColor:x,nodeColor:M,nodeClassName:N="",nodeBorderRadius:$=5,nodeStrokeWidth:k,nodeComponent:J,bgColor:q,maskColor:G,maskStrokeColor:Z,maskStrokeWidth:Q,position:ee="bottom-right",onClick:se,onNodeClick:ce,pannable:ne=!1,zoomable:Se=!1,ariaLabel:me,inversePan:Pe,zoomStep:ae=1,offsetScale:Ne=5}){const Ue=Sl(),ln=Re.useRef(null),{boundingRect:on,viewBB:An,rfId:xn,panZoom:tt,translateExtent:mn,flowWidth:vn,flowHeight:Y,ariaLabelConfig:Fe}=zu(SXn,El),wn=b?.width??kXn,Ae=b?.height??jXn,Ge=on.width/wn,fn=on.height/Ae,$e=Math.max(Ge,fn),Mn=$e*wn,ge=$e*Ae,tn=Ne*$e,Hn=on.x-(Mn-on.width)/2-tn,ut=on.y-(ge-on.height)/2-tn,Jt=Mn+tn*2,di=ge+tn*2,Gt=`${xXn}-${xn}`,At=Re.useRef(0),si=Re.useRef();At.current=$e,Re.useEffect(()=>{if(ln.current&&tt)return si.current=RGn({domNode:ln.current,panZoom:tt,getTransform:()=>Ue.getState().transform,getViewScale:()=>At.current}),()=>{si.current?.destroy()}},[tt]),Re.useEffect(()=>{si.current?.update({translateExtent:mn,width:vn,height:Y,inversePan:Pe,pannable:ne,zoomStep:ae,zoomable:Se})},[ne,Se,Pe,ae,mn,vn,Y]);const Kr=se?bi=>{const[zi,cu]=si.current?.pointer(bi)||[0,0];se(bi,{x:zi,y:cu})}:void 0,Er=ce?Re.useCallback((bi,zi)=>{const cu=Ue.getState().nodeLookup.get(zi).internals.userNode;ce(bi,cu)},[]):void 0,Dt=me??Fe["minimap.ariaLabel"];return I.jsx(Fue,{position:ee,style:{...b,"--xy-minimap-background-color-props":typeof q=="string"?q:void 0,"--xy-minimap-mask-background-color-props":typeof G=="string"?G:void 0,"--xy-minimap-mask-stroke-color-props":typeof Z=="string"?Z:void 0,"--xy-minimap-mask-stroke-width-props":typeof Q=="number"?Q*$e:void 0,"--xy-minimap-node-background-color-props":typeof M=="string"?M:void 0,"--xy-minimap-node-stroke-color-props":typeof x=="string"?x:void 0,"--xy-minimap-node-stroke-width-props":typeof k=="number"?k:void 0},className:Na(["react-flow__minimap",j]),"data-testid":"rf__minimap",children:I.jsxs("svg",{width:wn,height:Ae,viewBox:`${Hn} ${ut} ${Jt} ${di}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Gt,ref:ln,onClick:Kr,children:[Dt&&I.jsx("title",{id:Gt,children:Dt}),I.jsx(yXn,{onClick:Er,nodeColor:M,nodeStrokeColor:x,nodeBorderRadius:$,nodeClassName:N,nodeStrokeWidth:k,nodeComponent:J}),I.jsx("path",{className:"react-flow__minimap-mask",d:`M${Hn-tn},${ut-tn}h${Jt+tn*2}v${di+tn*2}h${-Jt-tn*2}z + M${An.x},${An.y}h${An.width}v${An.height}h${-An.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}nbn.displayName="MiniMap";const AXn=Re.memo(nbn),MXn=b=>j=>b?`${Math.max(1/j.transform[2],1)}`:void 0,CXn={[ED.Line]:"right",[ED.Handle]:"bottom-right"};function TXn({nodeId:b,position:j,variant:x=ED.Handle,className:M,style:N=void 0,children:$,color:k,minWidth:J=10,minHeight:q=10,maxWidth:G=Number.MAX_VALUE,maxHeight:Z=Number.MAX_VALUE,keepAspectRatio:Q=!1,resizeDirection:ee,autoScale:se=!0,shouldResize:ce,onResizeStart:ne,onResize:Se,onResizeEnd:me}){const Pe=D0n(),ae=typeof b=="string"?b:Pe,Ne=Sl(),Ue=Re.useRef(null),ln=x===ED.Handle,on=zu(Re.useCallback(MXn(ln&&se),[ln,se]),El),An=Re.useRef(null),xn=j??CXn[x];Re.useEffect(()=>{if(!(!Ue.current||!ae))return An.current||(An.current=WGn({domNode:Ue.current,nodeId:ae,getStoreItems:()=>{const{nodeLookup:mn,transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn,domNode:Ae}=Ne.getState();return{nodeLookup:mn,transform:vn,snapGrid:Y,snapToGrid:Fe,nodeOrigin:wn,paneDomNode:Ae}},onChange:(mn,vn)=>{const{triggerNodeChanges:Y,nodeLookup:Fe,parentLookup:wn,nodeOrigin:Ae}=Ne.getState(),Ge=[],fn={x:mn.x,y:mn.y},$e=Fe.get(ae);if($e&&$e.expandParent&&$e.parentId){const Mn=$e.origin??Ae,ge=mn.width??$e.measured.width??0,tn=mn.height??$e.measured.height??0,Hn={id:$e.id,parentId:$e.parentId,rect:{width:ge,height:tn,...t0n({x:mn.x??$e.position.x,y:mn.y??$e.position.y},{width:ge,height:tn},$e.parentId,Fe,Mn)}},ut=Pke([Hn],Fe,wn,Ae);Ge.push(...ut),fn.x=mn.x?Math.max(Mn[0]*ge,mn.x):void 0,fn.y=mn.y?Math.max(Mn[1]*tn,mn.y):void 0}if(fn.x!==void 0&&fn.y!==void 0){const Mn={id:ae,type:"position",position:{...fn}};Ge.push(Mn)}if(mn.width!==void 0&&mn.height!==void 0){const ge={id:ae,type:"dimensions",resizing:!0,setAttributes:ee?ee==="horizontal"?"width":"height":!0,dimensions:{width:mn.width,height:mn.height}};Ge.push(ge)}for(const Mn of vn){const ge={...Mn,type:"position"};Ge.push(ge)}Y(Ge)},onEnd:({width:mn,height:vn})=>{const Y={id:ae,type:"dimensions",resizing:!1,dimensions:{width:mn,height:vn}};Ne.getState().triggerNodeChanges([Y])}})),An.current.update({controlPosition:xn,boundaries:{minWidth:J,minHeight:q,maxWidth:G,maxHeight:Z},keepAspectRatio:Q,resizeDirection:ee,onResizeStart:ne,onResize:Se,onResizeEnd:me,shouldResize:ce}),()=>{An.current?.destroy()}},[xn,J,q,G,Z,Q,ne,Se,me,ce]);const tt=xn.split("-");return I.jsx("div",{className:Na(["react-flow__resize-control","nodrag",...tt,x,M]),ref:Ue,style:{...N,scale:on,...k&&{[ln?"backgroundColor":"borderColor"]:k}},children:$})}Re.memo(TXn);const OXn=b=>b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tbn=(...b)=>b.filter((j,x,M)=>!!j&&j.trim()!==""&&M.indexOf(j)===x).join(" ").trim();var NXn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const IXn=Re.forwardRef(({color:b="currentColor",size:j=24,strokeWidth:x=2,absoluteStrokeWidth:M,className:N="",children:$,iconNode:k,...J},q)=>Re.createElement("svg",{ref:q,...NXn,width:j,height:j,stroke:b,strokeWidth:M?Number(x)*24/Number(j):x,className:tbn("lucide",N),...J},[...k.map(([G,Z])=>Re.createElement(G,Z)),...Array.isArray($)?$:[$]]));const Sf=(b,j)=>{const x=Re.forwardRef(({className:M,...N},$)=>Re.createElement(IXn,{ref:$,iconNode:j,className:tbn(`lucide-${OXn(b)}`,M),...N}));return x.displayName=`${b}`,x};const DXn=Sf("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);const _Xn=Sf("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);const uk=Sf("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const LXn=Sf("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const PXn=Sf("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);const $Xn=Sf("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const Bke=Sf("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const RXn=Sf("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);const BXn=Sf("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);const ibn=Sf("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);const rdn=Sf("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const zXn=Sf("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);const ck=Sf("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const FXn=Sf("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);const JXn=Sf("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const HXn=Sf("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);const rbn=Sf("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);const GXn=Sf("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const bD=Sf("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const vke=Sf("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const qXn=Sf("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);const qg=Sf("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function UXn({mode:b,models:j,objects:x,application:M,initialModelType:N,suggestedSelector:$,nameReadOnly:k=!1,preview:J,onPreview:q,onSubmit:G,onClose:Z}){const ee=(M?cbn(j,M):null)?.type||N||j[0]?.type||"",[se,ce]=Re.useState(ee),ne=j.find(Dt=>Dt.type===se)??null,[Se,me]=Re.useState(M?.name||M?.applicationId||cdn(ne)),[Pe,ae]=Re.useState(()=>Oue(ne,M)),Ne=M?.selector||$||KXn(x),[Ue,ln]=Re.useState(Ne.multiplicity),[on,An]=Re.useState(Y7e(Ne,"scale")),[xn,tt]=Re.useState(Y7e(Ne,"kind")),[mn,vn]=Re.useState(Y7e(Ne,"species")),[Y,Fe]=Re.useState(Ws(Ne.criteria.id)),wn=VXn(Ne,"within"),Ae=M?.owner.scope==="template"&&wn?.type==="Scope"&&String(wn.name||"")===M.owner.instance,[Ge,fn]=Re.useState(wn?.type==="Scope"&&!Ae?"named_scope":wn?.type==="SceneScope"?"scene":"local"),[$e,Mn]=Re.useState(wn?.type==="Scope"&&!Ae?Ws(yzn(wn,x)):""),[ge,tn]=Re.useState(M?.cadence.mode==="period"?"period":"default"),[Hn,ut]=Re.useState(String(M?.cadence.value??1)),[Jt,di]=Re.useState(M?.cadence.unit||"Hour"),Gt=Dt=>{const bi=j.find(zi=>zi.type===Dt)??null;ce(Dt),ae(Oue(bi,b==="update"?M:void 0)),b==="add"&&me(cdn(bi))},At=Re.useMemo(()=>({scales:wue(x.map(Dt=>Dt.scale)),kinds:wue(x.map(Dt=>Dt.kind)),species:wue(x.map(Dt=>Dt.species))}),[x]),si=Re.useMemo(()=>{const Dt=[on&&`scale ${on}`,xn&&`kind ${xn}`,mn&&`species ${mn}`,Y&&`ID ${Oa(dy(Y))}`].filter(Boolean),bi=Dt.length?Dt.join(", "):"matching objects";return Ge==="scene"?`${bi} in the whole scene`:Ge==="named_scope"?`${bi} below ${$e?Oa(dy($e)):"the selected root"}`:`${bi} in the local instance scope`},[xn,Y,on,Ge,$e,mn]),Kr=()=>{const Dt={selectors:[]};return Ge==="named_scope"&&$e&&(Dt.within={type:"Scope",id:dy($e)}),Ge==="scene"&&(Dt.within={type:"SceneScope"}),on&&(Dt.scale=on),xn&&(Dt.kind=xn),mn&&(Dt.species=mn),Y&&(Dt.id=dy(Y)),{type:YXn(Ue),multiplicity:Ue,criteria:Dt,julia:""}},Er=()=>{G({applicationRef:M?.owner,modelType:se,name:Se.trim(),parameters:Pe,selector:Kr(),cadence:ge==="period"?{mode:"period",value:Number(Hn),unit:Jt,julia:`Dates.${Jt}(${Hn})`}:{mode:"default",value:null,unit:null,julia:"nothing"}})};return I.jsx("div",{className:"overlay-backdrop",onMouseDown:Z,children:I.jsxs("section",{className:"overlay-panel application-form",onMouseDown:Dt=>Dt.stopPropagation(),"data-testid":"application-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:b==="add"?"Add application":`Update ${M?.applicationId}`}),I.jsx("span",{children:"A configured use of a model on selected scene objects"})]}),I.jsx("button",{onClick:Z,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content application-form-content",children:[I.jsxs("label",{children:["Model",I.jsx("select",{value:se,onChange:Dt=>Gt(Dt.target.value),"data-testid":"application-model-select",children:j.map(Dt=>I.jsxs("option",{value:Dt.type,children:[Dt.package?`${Dt.package} · `:"",Dt.name," (",Dt.process,")"]},Dt.type))})]}),I.jsxs("label",{children:["Application name",I.jsx("input",{value:Se,disabled:k,onChange:Dt=>me(Dt.target.value),"data-testid":"application-name"})]}),ne&&ne.constructor.fields.length>0&&I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Model parameters"}),I.jsx(ubn,{fields:ne.constructor.fields,values:Pe,onChange:ae})]}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Target selector"}),I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Multiplicity",I.jsxs("select",{value:Ue,onChange:Dt=>ln(Dt.target.value),children:[I.jsx("option",{value:"one",children:"One"}),I.jsx("option",{value:"optional_one",children:"Optional one"}),I.jsx("option",{value:"many",children:"Many"})]})]}),I.jsxs("label",{children:["Scope",I.jsxs("select",{value:Ge,onChange:Dt=>fn(Dt.target.value),children:[I.jsx("option",{value:"local",children:"Default / instance local"}),I.jsx("option",{value:"scene",children:"Explicit whole scene"}),I.jsx("option",{value:"named_scope",children:"Object subtree"})]})]}),Ge==="named_scope"&&I.jsx(mue,{label:"Scope root",value:$e,objects:x,onChange:Mn,emptyLabel:"Choose an object"}),I.jsx(V7e,{label:"Scale",value:on,options:At.scales,onChange:An}),I.jsx(V7e,{label:"Kind",value:xn,options:At.kinds,onChange:tt}),I.jsx(V7e,{label:"Species",value:mn,options:At.species,onChange:vn}),I.jsx(mue,{label:"Object ID",value:Y,objects:x,onChange:Fe})]}),I.jsxs("p",{className:"selector-summary",children:["Julia will resolve ",I.jsx("strong",{children:Ue.replace("_"," ")})," target from ",si,"."]}),I.jsxs("button",{className:"selector-preview-button",type:"button",onClick:()=>q(Kr()),"data-testid":"application-target-preview",children:[I.jsx(Bke,{size:15})," Preview targets in Julia"]}),J&&I.jsxs("section",{className:"selector-preview","data-testid":"application-target-preview-result",children:[I.jsxs("strong",{children:[J.count," target object",J.count===1?"":"s"]}),I.jsx("code",{children:J.objectIds.map(Oa).join(", ")||"No targets"}),J.groups.map(Dt=>I.jsxs("div",{children:[I.jsx("span",{children:Dt.instance}),I.jsx("code",{children:Dt.objectIds.map(Oa).join(", ")||"No targets"})]},Dt.instance))]})]}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Cadence"}),I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Mode",I.jsxs("select",{value:ge,onChange:Dt=>tn(Dt.target.value),"data-testid":"application-cadence-mode",children:[I.jsx("option",{value:"default",children:"Model or environment default"}),I.jsx("option",{value:"period",children:"Explicit period"})]})]}),ge==="period"&&I.jsxs(I.Fragment,{children:[I.jsxs("label",{children:["Value",I.jsx("input",{type:"number",min:"1",step:"1",value:Hn,onChange:Dt=>ut(Dt.target.value),"data-testid":"application-cadence-value"})]}),I.jsxs("label",{children:["Unit",I.jsxs("select",{value:Jt,onChange:Dt=>di(Dt.target.value),"data-testid":"application-cadence-unit",children:[I.jsx("option",{children:"Second"}),I.jsx("option",{children:"Minute"}),I.jsx("option",{children:"Hour"}),I.jsx("option",{children:"Day"})]})]})]})]})]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:Z,children:"Cancel"}),I.jsxs("button",{className:"primary",disabled:!se||!Se.trim()||ge==="period"&&(!Number.isInteger(Number(Hn))||Number(Hn)<=0),onClick:Er,"data-testid":"application-submit",children:[I.jsx(uk,{size:15})," ",b==="add"?"Add application":"Apply changes"]})]})]})})}function cbn(b,j){return b.find(x=>x.type===j.modelType)??b.find(x=>x.name===j.modelName&&x.module===j.module)??null}function ubn({fields:b,values:j,onChange:x}){const M=new Map;for(const $ of b)$.typeParameter&&!M.has($.typeParameter)&&M.set($.typeParameter,$.name);const N=($,k)=>{const J=$.typeParameter?b.filter(q=>q.typeParameter===$.typeParameter).map(q=>q.name):[$.name];x(Object.fromEntries(Object.entries(j).map(([q,G])=>[q,J.includes(q)?{...G,type:k}:G])))};return I.jsx("div",{className:"parameter-list",children:b.map($=>{const k=j[$.name]||{type:$.inferredChoice,value:""},J=!$.typeParameter||M.get($.typeParameter)===$.name;return I.jsxs("div",{className:"parameter-row",children:[I.jsxs("label",{children:[I.jsx("span",{children:$.name}),I.jsx("small",{children:$.declaredType}),I.jsx("input",{"data-testid":`application-param-${$.name}`,value:k.value,onChange:q=>x({...j,[$.name]:{...k,value:q.target.value}})})]}),J&&I.jsxs("label",{className:"parameter-type",children:[I.jsx("span",{children:$.typeParameter?`${$.typeParameter} type`:"Value type"}),I.jsx("select",{"data-testid":`application-param-type-${$.name}`,value:k.type,onChange:q=>N($,q.target.value),children:$.choices.map(q=>I.jsx("option",{value:q,children:q},q))})]})]},$.name)})})}function V7e({label:b,value:j,options:x,onChange:M}){return I.jsxs("label",{children:[b,I.jsxs("select",{value:j,onChange:N=>M(N.target.value),children:[I.jsx("option",{value:"",children:"Any"}),x.map(N=>I.jsx("option",{value:N,children:N},N))]})]})}function Oue(b,j){return b?Object.fromEntries(b.constructor.fields.map(x=>{const M=j?.modelParameters[x.name],N=M?.type||x.inferredChoice,$=M?M.julia:x.hasDefault?N==="julia"?x.defaultJulia||"":XXn(x.default,N):"";return[x.name,{type:N,value:$}]})):{}}function XXn(b,j){const x=b==null?"":String(b);return j==="symbol"?x.replace(/^:/,""):x}function cdn(b){return b?.process||b?.name||"application"}function KXn(b){const j=wue(b.map(x=>x.scale))[0];return{type:"Many",multiplicity:"many",criteria:j?{selectors:[],scale:j}:{selectors:[]},julia:""}}function Y7e(b,j){const x=b.criteria[j];return typeof x=="string"?x:""}function VXn(b,j){const x=b.criteria[j];return x&&typeof x=="object"?x:null}function YXn(b){return b==="one"?"One":b==="optional_one"?"OptionalOne":"Many"}function wue(b){return[...new Set(b.filter(j=>!!j))].sort()}function udn(b){return b.map(j=>({selector:j.selector,vars:j.vars===null?null:j.vars.join(", "),coverage:j.coverage}))}function QXn(b,j,x){const M=new Set(x),N=new Set,$=j.map(J=>{if(J.vars===null&&j.length!==1)throw new Error("With several destinations, list the variables for every destination.");const q=J.vars===null?null:J.vars.split(",").map(Z=>Z.trim()).filter(Boolean),G=q===null?x:q;if(G.length===0)throw new Error("Each destination must bind at least one distributed output.");for(const Z of G){if(!M.has(Z))throw new Error(`${Z} is not a distributed output of this model.`);if(N.has(Z))throw new Error(`${Z} is bound more than once.`);N.add(Z)}return{selector:J.selector,vars:q,coverage:J.coverage}}),k=x.filter(J=>!N.has(J));if(k.length>0)throw new Error(`Choose destinations for: ${k.join(", ")}.`);return{action:"edit",kind:"set_output_destinations",applicationRef:b,destinations:$}}function WXn({application:b,onCommand:j}){const[x,M]=Re.useState(()=>udn(b.outputsTo)),[N,$]=Re.useState(null);Re.useEffect(()=>{M(udn(b.outputsTo)),$(null)},[b.applicationId,b.outputsTo]);const k=b.outputs.filter(Z=>Z.storage==="distributed");if(k.length===0&&x.length===0)return null;function J(Z,Q){M(ee=>ee.map((se,ce)=>ce===Z?{...se,...Q}:se)),$(null)}function q(Z,Q){J(Z,{selector:{...Q,julia:""}})}function G(){try{const Z=QXn(b.owner,x,k.map(Q=>Q.name));$(null),j(Z)}catch(Z){$(Z instanceof Error?Z.message:String(Z))}}return I.jsxs("fieldset",{"data-testid":"output-destinations",children:[I.jsx("legend",{children:"Output destinations"}),I.jsxs("p",{children:["Distributed outputs: ",k.map(Z=>Z.name).join(", "),". Each variable needs one destination selection."]}),x.map((Z,Q)=>{const se=Z.selector.criteria.within?.type||"local";return I.jsxs("fieldset",{"data-testid":`output-destination-${Q}`,children:[I.jsxs("legend",{children:["Destination ",Q+1]}),I.jsxs("div",{className:"form-grid compact-configuration-row",children:[I.jsxs("label",{children:["Objects",I.jsxs("select",{"aria-label":`Destination ${Q+1} multiplicity`,value:Z.selector.multiplicity,onChange:ce=>q(Q,{...Z.selector,multiplicity:ce.target.value,type:ce.target.value==="one"?"One":"Many"}),children:[I.jsx("option",{value:"many",children:"Many"}),I.jsx("option",{value:"one",children:"One"})]})]}),I.jsxs("label",{children:["Scope",I.jsxs("select",{"aria-label":`Destination ${Q+1} scope`,value:se,onChange:ce=>{const ne={...Z.selector.criteria};ce.target.value==="local"?delete ne.within:ne.within={type:ce.target.value},q(Q,{...Z.selector,criteria:ne})},children:[I.jsx("option",{value:"local",children:"Instance local"}),I.jsx("option",{value:"SceneScope",children:"Whole scene"}),I.jsx("option",{value:"SelfPlant",children:"Current plant"}),I.jsx("option",{value:"Subtree",children:"Current object and descendants"}),I.jsx("option",{value:"Self",children:"Current object"}),!["local","SceneScope","SelfPlant","Subtree","Self"].includes(se)&&I.jsxs("option",{value:se,children:["Current ",se," scope"]})]})]}),["scale","kind","species"].map(ce=>I.jsxs("label",{children:[ce,I.jsx("input",{"aria-label":`Destination ${Q+1} ${ce}`,value:String(Z.selector.criteria[ce]||""),onChange:ne=>{const Se={...Z.selector.criteria};ne.target.value.trim()?Se[ce]=ne.target.value.trim():delete Se[ce],q(Q,{...Z.selector,criteria:Se})},placeholder:"Any"})]},ce))]}),Z.selector.julia&&I.jsx("code",{children:Z.selector.julia}),I.jsxs("label",{children:[I.jsx("input",{type:"checkbox",checked:Z.vars===null,disabled:x.length!==1&&Z.vars!==null,onChange:ce=>J(Q,{vars:ce.target.checked?null:k.map(ne=>ne.name).join(", ")})})," All distributed outputs (single destination)"]}),Z.vars!==null&&I.jsxs("label",{children:["Variables",I.jsx("input",{"aria-label":`Destination ${Q+1} variables`,value:Z.vars,onChange:ce=>J(Q,{vars:ce.target.value}),placeholder:"x, y"})]}),I.jsxs("button",{type:"button",className:"danger","aria-label":`Remove destination ${Q+1}`,onClick:()=>M(ce=>ce.filter((ne,Se)=>Se!==Q)),children:[I.jsx(bD,{size:14})," Remove destination"]})]},Q)}),N&&I.jsx("p",{role:"alert",children:N}),I.jsxs("div",{className:"compact-actions",children:[I.jsxs("button",{type:"button",onClick:()=>M(Z=>[...Z,{selector:{type:"Many",multiplicity:"many",criteria:{selectors:[],within:{type:"SceneScope"}},julia:""},vars:Z.length===0?null:"",coverage:"exact"}]),children:[I.jsx(ck,{size:14})," Add destination"]}),I.jsxs("button",{type:"button","data-testid":"apply-output-destinations",onClick:G,children:[I.jsx(uk,{size:14})," Apply destinations"]})]})]})}function ZXn({application:b,applications:j,environments:x,models:M,onCommand:N,onClose:$}){const k=j.filter($e=>$e.applicationId!==b.applicationId&&(b.owner.scope==="global"?$e.owner.scope==="global":$e.owner.scope==="template"&&$e.owner.templateId===b.owner.templateId&&$e.owner.instance===b.owner.instance)),[J,q]=Re.useState(""),[G,Z]=Re.useState(k[0]?.applicationId||""),[Q,ee]=Re.useState("manual"),[se,ce]=Re.useState(b.environment?b.environment.backendId||"scene":"default"),[ne,Se]=Re.useState(String(b.environment?.provider||"")),[me,Pe]=Re.useState(()=>({...Object.fromEntries(b.environmentInputs.map($e=>[$e.name,""])),...b.environment?.sources||{}})),[ae,Ne]=Re.useState(String(b.environment?.sink||"")),[Ue,ln]=Re.useState(()=>nKn(b.environment?.extra)),[on,An]=Re.useState(b.updates||[]),[xn,tt]=Re.useState(b.outputs[0]?.name||""),[mn,vn]=Re.useState(k[0]?.owner.applicationId||""),Y=k.find($e=>$e.applicationId===G),Fe=M.find($e=>$e.type===b.modelType),wn=Re.useMemo(()=>{const $e=b.owner.scope==="template"&&Y?.owner.scope==="template"&&Y.owner.templateId===b.owner.templateId;return{type:Q==="initializer"||Y?.targetCount===1?"One":"Many",multiplicity:Q==="initializer"||Y?.targetCount===1?"one":"many",criteria:{selectors:[],...$e?{}:{within:{type:"SceneScope"}},application:Y?.owner.applicationId||G},julia:""}},[b.owner.scope,b.owner.templateId,Q,G,Y]),Ae=()=>{!J.trim()||!G||(N(eKn(b.owner,J.trim(),wn,Q)),q(""))},Ge=()=>{!xn||!mn||An($e=>[...$e.filter(Mn=>!Mn.variables.includes(xn)),{variables:[xn],after:[mn]}])},fn=()=>{const $e=tKn(se,ne,me,ae,Ue);N({action:"edit",kind:"set_application_environment",applicationRef:b.owner,configuration:$e})};return I.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:I.jsxs("section",{className:"overlay-panel application-configuration-form",onMouseDown:$e=>$e.stopPropagation(),"data-testid":"application-configuration-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsxs("strong",{children:["Configure ",b.owner.applicationId]}),I.jsx("span",{children:"Authored coupling and execution policy, validated by Julia"})]}),I.jsx("button",{onClick:$,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content application-configuration-content",children:[I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Explicit input bindings"}),Object.entries(b.inputBindings).length===0&&I.jsx("p",{children:"No authored input bindings. Unique same-object producers may still be inferred."}),I.jsx("div",{className:"configuration-list",children:Object.entries(b.inputBindings).map(([$e,Mn])=>I.jsxs("div",{children:[I.jsx("code",{children:$e}),I.jsx("span",{children:Mn.julia||Mn.type}),I.jsx("button",{className:"danger icon-button",title:`Remove ${$e} binding`,onClick:()=>N({action:"edit",kind:"remove_input_binding",applicationRef:b.owner,input:$e}),children:I.jsx(bD,{size:14})})]},$e))})]}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Calls and newborn initializers"}),I.jsx("div",{className:"configuration-list",children:Object.entries(b.callBindings).map(([$e,Mn])=>I.jsxs("div",{children:[I.jsx("code",{children:$e}),I.jsxs("span",{children:[I.jsx("strong",{children:Mn.mode==="initializer"?"Initializer":"Manual call"})," · ",Mn.julia||Mn.type]}),I.jsx("button",{className:"danger icon-button",title:`Remove ${$e} call`,onClick:()=>N({action:"edit",kind:"remove_call_binding",applicationRef:b.owner,call:$e}),children:I.jsx(bD,{size:14})})]},$e))}),I.jsxs("div",{className:"form-grid compact-configuration-row",children:[I.jsxs("label",{children:["Binding mode",I.jsxs("select",{"data-testid":"call-mode",value:Q,onChange:$e=>ee($e.target.value),children:[I.jsx("option",{value:"manual",children:"Manual call"}),I.jsx("option",{value:"initializer",children:"Newborn initializer"})]})]}),I.jsxs("label",{children:["Call name",I.jsx("input",{"data-testid":"call-name",value:J,onChange:$e=>q($e.target.value),placeholder:"child"})]}),I.jsxs("label",{children:["Target application",I.jsxs("select",{"data-testid":"call-target",value:G,onChange:$e=>Z($e.target.value),children:[I.jsx("option",{value:"",children:"Choose application"}),k.map($e=>I.jsx("option",{value:$e.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),I.jsxs("button",{type:"button","data-testid":"add-call-binding",disabled:!J.trim()||!G,onClick:Ae,children:[I.jsx(ck,{size:14})," Add ",Q==="initializer"?"initializer":"call"]})]})]}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Environment"}),Fe?.environmentHint&&I.jsxs("p",{className:"environment-hint",children:[I.jsx("strong",{children:"Model hint"})," ",Fe.environmentHint]}),I.jsxs("div",{className:"form-grid compact-configuration-row",children:[I.jsxs("label",{children:["Backend",I.jsxs("select",{"data-testid":"environment-backend",value:se,onChange:$e=>ce($e.target.value),children:[I.jsx("option",{value:"default",children:"No application override"}),I.jsx("option",{value:"scene",children:"Active scene environment"}),x.filter($e=>$e.source==="catalog").map($e=>I.jsxs("option",{value:$e.id,children:[$e.name," · ",$e.type]},$e.id))]})]}),I.jsxs("label",{children:["Provider",I.jsx("input",{"data-testid":"environment-provider",value:ne,onChange:$e=>Se($e.target.value),placeholder:"default provider",disabled:se==="default"})]}),I.jsxs("label",{children:["Output sink",I.jsx("input",{"data-testid":"environment-sink",value:ae,onChange:$e=>Ne($e.target.value),placeholder:"default sink",disabled:se==="default"})]})]}),b.environmentInputs.length>0&&I.jsx("div",{className:"configuration-list environment-sources",children:b.environmentInputs.map($e=>I.jsxs("label",{children:[I.jsx("code",{children:$e.name}),I.jsx("input",{value:me[$e.name]||"",onChange:Mn=>Pe(ge=>({...ge,[$e.name]:Mn.target.value})),placeholder:"backend source variable",disabled:se==="default","data-testid":`environment-source-${$e.name}`})]},$e.name))}),I.jsx("div",{className:"configuration-list",children:Ue.map(($e,Mn)=>I.jsxs("div",{children:[I.jsx("input",{"aria-label":"Backend option",value:$e.key,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,key:ge.target.value}:Hn)),placeholder:"option"}),I.jsxs("select",{value:$e.type,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,type:ge.target.value}:Hn)),children:[I.jsx("option",{value:"float",children:"Float"}),I.jsx("option",{value:"integer",children:"Integer"}),I.jsx("option",{value:"boolean",children:"Boolean"}),I.jsx("option",{value:"symbol",children:"Symbol"}),I.jsx("option",{value:"string",children:"String"}),I.jsx("option",{value:"julia",children:"Julia expression"})]}),I.jsx("input",{"aria-label":"Backend option value",value:$e.value,onChange:ge=>ln(tn=>tn.map((Hn,ut)=>ut===Mn?{...Hn,value:ge.target.value}:Hn))}),I.jsx("button",{className:"danger icon-button",onClick:()=>ln(ge=>ge.filter((tn,Hn)=>Hn!==Mn)),children:I.jsx(bD,{size:14})})]},Mn))}),I.jsxs("div",{className:"compact-actions",children:[I.jsxs("button",{type:"button",disabled:se==="default",onClick:()=>ln($e=>[...$e,{key:"",type:"string",value:""}]),children:[I.jsx(ck,{size:14})," Backend option"]}),I.jsxs("button",{type:"button","data-testid":"apply-environment",onClick:fn,children:[I.jsx(uk,{size:14})," Apply environment"]})]}),I.jsxs("div",{className:"effective-environment",children:[I.jsx("strong",{children:"Effective bindings"}),I.jsx("code",{children:JSON.stringify(b.environmentBindings||{},null,2)}),b.environmentWindow!==null&&b.environmentWindow!==void 0?I.jsx("code",{children:JSON.stringify(b.environmentWindow)}):null]})]}),I.jsx(WXn,{application:b,onCommand:N}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Output routing"}),I.jsx("div",{className:"configuration-list",children:b.outputs.map($e=>I.jsxs("label",{children:[I.jsx("code",{children:$e.name}),I.jsxs("select",{"data-testid":`output-routing-${$e.name}`,value:b.outputRouting[$e.name]||"canonical",onChange:Mn=>N({action:"edit",kind:"set_output_routing",applicationRef:b.owner,output:$e.name,route:Mn.target.value}),children:[I.jsx("option",{value:"canonical",children:"Canonical status owner"}),I.jsx("option",{value:"stream_only",children:"Stream only"})]})]},$e.name))})]}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Duplicate-writer ordering"}),I.jsx("div",{className:"configuration-list",children:on.map(($e,Mn)=>I.jsxs("div",{children:[I.jsx("code",{children:$e.variables.join(", ")}),I.jsxs("span",{children:["after ",$e.after.join(", ")]}),I.jsx("button",{className:"danger icon-button",title:"Remove update ordering",onClick:()=>An(ge=>ge.filter((tn,Hn)=>Hn!==Mn)),children:I.jsx(bD,{size:14})})]},`${$e.variables.join(",")}:${$e.after.join(",")}`))}),I.jsxs("div",{className:"form-grid compact-configuration-row",children:[I.jsxs("label",{children:["Output",I.jsx("select",{value:xn,onChange:$e=>tt($e.target.value),children:b.outputs.map($e=>I.jsx("option",{value:$e.name,children:$e.name},$e.name))})]}),I.jsxs("label",{children:["Run after",I.jsxs("select",{value:mn,onChange:$e=>vn($e.target.value),children:[I.jsx("option",{value:"",children:"Choose application"}),k.map($e=>I.jsx("option",{value:$e.owner.applicationId,children:$e.owner.applicationId},$e.applicationId))]})]}),I.jsxs("button",{type:"button",disabled:!xn||!mn,onClick:Ge,children:[I.jsx(ck,{size:14})," Add rule"]}),I.jsxs("button",{type:"button",onClick:()=>N({action:"edit",kind:"set_update_ordering",applicationRef:b.owner,updates:on}),children:[I.jsx(uk,{size:14})," Apply ordering"]})]})]})]}),I.jsx("footer",{children:I.jsx("button",{className:"primary",onClick:$,children:"Done"})})]})})}function eKn(b,j,x,M){return{action:"edit",kind:"set_call_binding",applicationRef:b,call:j,selector:x,mode:M}}function nKn(b){return Object.entries(b||{}).map(([j,x])=>({key:j,type:typeof x=="number"?Number.isInteger(x)?"integer":"float":typeof x=="boolean"?"boolean":"string",value:String(x??"")}))}function tKn(b,j,x,M,N){return b==="default"?null:{backendId:b,provider:j.trim()||null,sources:Object.fromEntries(Object.entries(x).filter(([,$])=>$.trim()).map(([$,k])=>[$,k.trim()])),sink:M.trim()||null,extra:Object.fromEntries(N.filter($=>$.key.trim()).map($=>[$.key.trim(),{type:$.type,value:$.value}]))}}function iKn({endpoints:b,objects:j,preview:x,onPreview:M,onSubmit:N,onClose:$}){const k=rKn(b.sourceApplication.targetIds,b.targetApplication.targetIds),[J,q]=Re.useState(b.sourceApplication.targetCount>1&&b.targetApplication.targetCount===1?"many":"one"),[G,Z]=Re.useState(k?"self":""),[Q,ee]=Re.useState("local"),[se,ce]=Re.useState(""),[ne,Se]=Re.useState(""),[me,Pe]=Re.useState(Q7e(b.sourceApplication.targetScales)),[ae,Ne]=Re.useState(Q7e(b.sourceApplication.targetKinds)),[Ue,ln]=Re.useState(Q7e(b.sourceApplication.targetSpecies)),[on,An]=Re.useState(""),[xn,tt]=Re.useState("application"),[mn,vn]=Re.useState("automatic"),[Y,Fe]=Re.useState(""),[wn,Ae]=Re.useState("Hour"),Ge=W7e(j.map(ge=>ge.scale)),fn=W7e(j.map(ge=>ge.kind)),$e=W7e(j.map(ge=>ge.species)),Mn=()=>{const ge={selectors:[],var:b.sourcePort.name};ge[xn]=xn==="application"?b.sourceApplication.owner.applicationId:b.sourceApplication.process;const tn=oKn(Q,se,ne);if(tn&&(ge.within=tn),G&&(ge.relation=G),me&&(ge.scale=me),ae&&(ge.kind=ae),Ue&&(ge.species=Ue),on&&(ge.id=dy(on)),mn!=="automatic"&&(ge.policy={type:uKn(mn)}),Y.trim()){const Hn=sKn(Y,wn);Hn&&(ge.window=Hn)}return{applicationRef:b.targetApplication.owner,input:b.targetPort.name,selector:{type:cKn(J),multiplicity:J,criteria:ge,julia:""}}};return I.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:I.jsxs("section",{className:"overlay-panel binding-form",onMouseDown:ge=>ge.stopPropagation(),"data-testid":"binding-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:"Connect applications"}),I.jsx("span",{children:"Julia resolves this declaration into concrete object bindings"})]}),I.jsx("button",{onClick:$,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content",children:[I.jsxs("div",{className:"binding-route",children:[I.jsxs("div",{children:[I.jsx("small",{children:"Producer"}),I.jsx("strong",{children:b.sourceApplication.applicationId}),I.jsx("code",{children:b.sourcePort.name})]}),I.jsx(rdn,{size:22}),I.jsxs("div",{children:[I.jsx("small",{children:"Consumer"}),I.jsx("strong",{children:b.targetApplication.applicationId}),I.jsx("code",{children:b.targetPort.name})]})]}),I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Source object selector"}),I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Multiplicity",I.jsxs("select",{value:J,onChange:ge=>q(ge.target.value),children:[I.jsx("option",{value:"one",children:"One"}),I.jsx("option",{value:"optional_one",children:"Optional one"}),I.jsx("option",{value:"many",children:"Many"})]})]}),I.jsxs("label",{children:["Scope",I.jsxs("select",{value:Q,onChange:ge=>ee(ge.target.value),children:[I.jsx("option",{value:"local",children:"Default / instance local"}),I.jsx("option",{value:"scene",children:"Explicit whole scene"}),I.jsx("option",{value:"self",children:"Consumer object"}),I.jsx("option",{value:"subtree",children:"Consumer subtree"}),I.jsx("option",{value:"self_plant",children:"Consumer plant"}),I.jsx("option",{value:"ancestor",children:"Ancestor subtree"}),I.jsx("option",{value:"named_scope",children:"Object subtree"})]})]}),Q==="ancestor"&&I.jsx(uue,{label:"Ancestor scale",value:ne,options:Ge,onChange:Se}),Q==="named_scope"&&I.jsx(mue,{label:"Scope root",value:se,objects:j,onChange:ce,emptyLabel:"Choose an object"}),I.jsxs("label",{children:["Relation",I.jsxs("select",{value:G,onChange:ge=>Z(ge.target.value),children:[I.jsx("option",{value:"",children:"Any relation"}),I.jsx("option",{value:"self",children:"Same object"}),I.jsx("option",{value:"parent",children:"Parent"}),I.jsx("option",{value:"children",children:"Children"}),I.jsx("option",{value:"ancestors",children:"Ancestors"}),I.jsx("option",{value:"descendants",children:"Descendants"}),I.jsx("option",{value:"siblings",children:"Siblings"})]})]}),I.jsxs("label",{children:["Producer filter",I.jsxs("select",{value:xn,onChange:ge=>tt(ge.target.value),children:[I.jsx("option",{value:"application",children:"This application"}),I.jsx("option",{value:"process",children:"Any application of this process"})]})]}),I.jsx(uue,{label:"Scale",value:me,options:Ge,onChange:Pe}),I.jsx(uue,{label:"Kind",value:ae,options:fn,onChange:Ne}),I.jsx(uue,{label:"Species",value:Ue,options:$e,onChange:ln}),I.jsx(mue,{label:"Object ID",value:on,objects:j,onChange:An}),I.jsxs("label",{children:["Temporal policy",I.jsxs("select",{value:mn,onChange:ge=>vn(ge.target.value),children:[I.jsx("option",{value:"automatic",children:"Automatic"}),I.jsx("option",{value:"hold_last",children:"Hold last"}),I.jsx("option",{value:"interpolate",children:"Interpolate"}),I.jsx("option",{value:"integrate",children:"Integrate"}),I.jsx("option",{value:"aggregate",children:"Aggregate"})]})]}),I.jsxs("label",{children:["Window value",I.jsx("input",{type:"number",min:"1",step:"1",value:Y,onChange:ge=>Fe(ge.target.value),placeholder:"Automatic","data-testid":"binding-window-value"})]}),I.jsxs("label",{children:["Window unit",I.jsxs("select",{value:wn,onChange:ge=>Ae(ge.target.value),disabled:!Y.trim(),"data-testid":"binding-window-unit",children:[I.jsx("option",{children:"Second"}),I.jsx("option",{children:"Minute"}),I.jsx("option",{children:"Hour"}),I.jsx("option",{children:"Day"})]})]})]})]}),x&&I.jsxs("section",{className:"selector-preview","data-testid":"binding-preview",children:[I.jsxs("strong",{children:[x.bindingCount," resolved binding",x.bindingCount===1?"":"s"]}),I.jsxs("span",{children:[x.consumerObjectIds.length," consumer object",x.consumerObjectIds.length===1?"":"s"," from ",x.sourceObjectIds.length," source object",x.sourceObjectIds.length===1?"":"s"]}),x.sourceApplicationIds.length>0&&I.jsx("code",{children:x.sourceApplicationIds.join(", ")}),x.diagnostics.map(ge=>I.jsx("p",{children:ge},ge))]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:$,children:"Cancel"}),I.jsxs("button",{onClick:()=>M(Mn()),"data-testid":"binding-preview-button",children:[I.jsx(Bke,{size:15})," Preview resolution"]}),I.jsxs("button",{className:"primary",onClick:()=>N(Mn()),"data-testid":"binding-submit",children:[I.jsx(rdn,{size:15})," Apply binding"]})]})]})})}function uue({label:b,value:j,options:x,onChange:M}){return I.jsxs("label",{children:[b,I.jsxs("select",{value:j,onChange:N=>M(N.target.value),children:[I.jsx("option",{value:"",children:"Any"}),x.map(N=>I.jsx("option",{value:N,children:N},N))]})]})}function rKn(b,j){return b.length===j.length&&b.every(x=>j.some(M=>Ws(M)===Ws(x)))}function Q7e(b){return b.length===1?b[0]:""}function cKn(b){return b==="one"?"One":b==="optional_one"?"OptionalOne":"Many"}function W7e(b){return[...new Set(b.filter(j=>!!j))].sort()}function uKn(b){return b==="hold_last"?"HoldLast":b==="interpolate"?"Interpolate":b==="integrate"?"Integrate":"Aggregate"}function oKn(b,j,x){return b==="local"?null:b==="scene"?{type:"SceneScope"}:b==="self"?{type:"Self"}:b==="subtree"?{type:"Subtree"}:b==="self_plant"?{type:"SelfPlant"}:b==="ancestor"?{type:"Ancestor",scale:x||null}:b==="named_scope"&&j?{type:"Scope",id:dy(j)}:null}function sKn(b,j){const x=Number(b);return!Number.isInteger(x)||x<=0?null:{mode:"period",value:x,unit:j,julia:`Dates.${j}(${x})`}}function lKn({environments:b,activeId:j,onSubmit:x,onClose:M}){const[N,$]=Re.useState(j||"none"),k=b.find(J=>J.id===N);return I.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:I.jsxs("section",{className:"overlay-panel environment-form",onMouseDown:J=>J.stopPropagation(),"data-testid":"environment-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:"Scene environment"}),I.jsx("span",{children:"Environment values stay in Julia and are selected by catalog name"})]}),I.jsx("button",{onClick:M,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content",children:[I.jsxs("label",{children:["Environment",I.jsxs("select",{value:N,onChange:J=>$(J.target.value),"data-testid":"scene-environment",children:[I.jsx("option",{value:"none",children:"No environment"}),b.filter(J=>J.source==="catalog").map(J=>I.jsxs("option",{value:J.id,children:[J.name," · ",J.type]},J.id))]})]}),k&&I.jsxs("section",{className:"environment-summary",children:[I.jsx("strong",{children:k.name}),I.jsx("code",{children:k.type}),I.jsx("span",{children:k.variables.length?`Available variables: ${k.variables.join(", ")}`:"Backend variables are discovered by Julia at compile time."})]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:M,children:"Cancel"}),I.jsxs("button",{className:"primary",onClick:()=>x(N==="none"?null:N),"data-testid":"environment-submit",children:[I.jsx(uk,{size:15})," Use environment"]})]})]})})}function fKn({templates:b,instances:j,objects:x,preview:M,onPreview:N,onSubmit:$,onClose:k}){const[J,q]=Re.useState(b[0]?.id||""),[G,Z]=Re.useState(""),[Q,ee]=Re.useState("existing"),se=Re.useMemo(()=>aKn(x,j),[j,x]),[ce,ne]=Re.useState(Ws(se[0]?.objectId)),[Se,me]=Re.useState(""),[Pe,ae]=Re.useState(""),[Ne,Ue]=Re.useState(""),[ln,on]=Re.useState(""),[An,xn]=Re.useState(""),tt=()=>Q==="existing"?{name:G.trim(),templateId:J,rootId:dy(ce)}:{name:G.trim(),templateId:J,rootObject:{objectId:Se.trim(),configuration:{parent:dy(Pe),scale:Ne.trim()||null,kind:ln.trim()||null,species:An.trim()||null,name:null}}},mn=!!(J&&G.trim()&&(Q==="existing"?ce:Se.trim()));return I.jsx("div",{className:"overlay-backdrop",onMouseDown:k,children:I.jsxs("section",{className:"overlay-panel instance-form",onMouseDown:vn=>vn.stopPropagation(),"data-testid":"instance-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:"Add template instance"}),I.jsx("span",{children:"Mount one reusable coupled model set on an object subtree"})]}),I.jsx("button",{onClick:k,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content instance-form-content",children:[I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Template",I.jsx("select",{value:J,onChange:vn=>q(vn.target.value),"data-testid":"instance-template",children:b.map(vn=>I.jsxs("option",{value:vn.id,children:[vn.name," · ",vn.source==="catalog"?"preset":"model-local"," · ",vn.applications.length," applications"]},vn.id))})]}),I.jsxs("label",{children:["Instance name",I.jsx("input",{value:G,onChange:vn=>Z(vn.target.value),placeholder:"plant_1","data-testid":"instance-name"})]})]}),I.jsxs("div",{className:"override-scope-choice",children:[I.jsxs("button",{className:Q==="existing"?"active":"",onClick:()=>ee("existing"),children:[I.jsx("strong",{children:"Use existing root"}),I.jsx("span",{children:"All unclaimed descendants are mounted automatically"})]}),I.jsxs("button",{className:Q==="new"?"active":"",onClick:()=>ee("new"),children:[I.jsx("strong",{children:"Create minimal root"}),I.jsx("span",{children:"Create the object and mount the template atomically"})]})]}),Q==="existing"?I.jsxs("label",{children:["Unclaimed root",I.jsxs("select",{value:ce,onChange:vn=>ne(vn.target.value),"data-testid":"instance-root",children:[I.jsx("option",{value:"",children:"Choose an object"}),se.map(vn=>I.jsxs("option",{value:Ws(vn.objectId),children:[pue(vn)," · ",vn.scale||"unscaled"]},vn.id))]})]}):I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Stable object ID",I.jsx("input",{value:Se,onChange:vn=>me(vn.target.value),"data-testid":"instance-new-root-id"})]}),I.jsxs("label",{children:["Parent object",I.jsxs("select",{value:Pe,onChange:vn=>ae(vn.target.value),children:[I.jsx("option",{value:"",children:"No parent"}),x.map(vn=>I.jsx("option",{value:Ws(vn.objectId),children:pue(vn)},vn.id))]})]}),I.jsxs("label",{children:["Scale",I.jsx("input",{value:Ne,onChange:vn=>Ue(vn.target.value)})]}),I.jsxs("label",{children:["Kind",I.jsx("input",{value:ln,onChange:vn=>on(vn.target.value)})]}),I.jsxs("label",{children:["Species",I.jsx("input",{value:An,onChange:vn=>xn(vn.target.value)})]})]}),M&&I.jsxs("section",{className:"selector-preview","data-testid":"instance-preview",children:[I.jsxs("strong",{children:[M.objectIds.length," claimed object",M.objectIds.length===1?"":"s"]}),I.jsx("code",{children:M.objectIds.map(Oa).join(", ")}),M.applications.map(vn=>I.jsxs("div",{children:[I.jsx("code",{children:vn.applicationId}),I.jsxs("span",{children:[vn.targetIds.length," resolved target",vn.targetIds.length===1?"":"s"]})]},vn.applicationId)),M.diagnostics.map(vn=>I.jsx("p",{children:vn},vn))]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:k,children:"Cancel"}),I.jsxs("button",{disabled:!mn,onClick:()=>N(tt()),"data-testid":"instance-preview-button",children:[I.jsx(Bke,{size:15})," Preview mount"]}),I.jsxs("button",{className:"primary",disabled:!mn,onClick:()=>$(tt()),"data-testid":"instance-submit",children:[I.jsx(uk,{size:15})," Add instance"]})]})]})})}function aKn(b,j){const x=new Set(j.flatMap(M=>M.objectIds.map(Ws)));return b.filter(M=>!x.has(Ws(M.objectId)))}function hKn({mode:b,objects:j,object:x,onSubmit:M,onClose:N}){const[$,k]=Re.useState(Oa(x?.objectId??"")),[J,q]=Re.useState(Ws(j.find(ae=>ae.id===x?.parent)?.objectId)),[G,Z]=Re.useState(x?.scale||""),[Q,ee]=Re.useState(x?.kind||""),[se,ce]=Re.useState(x?.species||""),[ne,Se]=Re.useState(x?.name||""),me=Re.useMemo(()=>j.filter(ae=>Ws(ae.objectId)!==Ws(b==="update"?x?.objectId:$)),[b,x,$,j]),Pe=()=>M({objectId:b==="update"?x.objectId:$.trim(),configuration:{parent:dy(J),scale:G.trim()||null,kind:Q.trim()||null,species:se.trim()||null,name:ne.trim()||null}});return I.jsx("div",{className:"overlay-backdrop",onMouseDown:N,children:I.jsxs("section",{className:"overlay-panel object-form",onMouseDown:ae=>ae.stopPropagation(),"data-testid":"object-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:b==="add"?"Add scene object":`Update object ${Oa(x?.objectId)}`}),I.jsx("span",{children:"Objects define the concrete entities and topology targeted by applications"})]}),I.jsx("button",{onClick:N,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content object-form-content",children:[I.jsxs("label",{children:["Stable object ID",I.jsx("input",{value:$,disabled:b==="update",onChange:ae=>k(ae.target.value),"data-testid":"object-id"})]}),I.jsxs("label",{children:["Parent object",I.jsxs("select",{value:J,onChange:ae=>q(ae.target.value),children:[I.jsx("option",{value:"",children:"No parent"}),me.map(ae=>I.jsxs("option",{value:Ws(ae.objectId),children:[pue(ae)," · ",ae.scale||"unscaled"]},ae.id))]})]}),I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Scale",I.jsx("input",{value:G,onChange:ae=>Z(ae.target.value)})]}),I.jsxs("label",{children:["Kind",I.jsx("input",{value:Q,onChange:ae=>ee(ae.target.value)})]}),I.jsxs("label",{children:["Species",I.jsx("input",{value:se,onChange:ae=>ce(ae.target.value)})]}),I.jsxs("label",{children:["Display name (optional)",I.jsx("input",{value:ne,placeholder:$||"Uses the object ID",onChange:ae=>Se(ae.target.value)})]})]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:N,children:"Cancel"}),I.jsxs("button",{className:"primary",disabled:!$.trim(),onClick:Pe,"data-testid":"object-submit",children:[I.jsx(uk,{size:15})," ",b==="add"?"Add object":"Apply changes"]})]})]})})}function dKn({application:b,models:j,instances:x,onSubmit:M,onRemove:N,onClose:$}){const k=Re.useMemo(()=>j.filter(tt=>tt.process===b.process),[b.process,j]),J=cbn(k,b)||k[0]||null,[q,G]=Re.useState("instance"),[Z,Q]=Re.useState(b.targetInstances[0]||x[0]?.name||""),ee=x.find(tt=>tt.name===Z),se=(ee?.objectIds||[]).filter(tt=>b.targetIds.some(mn=>Ws(mn)===Ws(tt))),[ce,ne]=Re.useState(se[0]??""),[Se,me]=Re.useState(J?.type||b.modelType),Pe=k.find(tt=>tt.type===Se)||J,[ae,Ne]=Re.useState(()=>Oue(Pe,b)),Ue=b.owner.applicationId,ln=!!ee?.instanceOverrides.includes(Ue),on=!!ee?.objectOverrides.some(tt=>{const mn=tt;return Ws(mn.object??mn.objectId)===Ws(ce)&&String(mn.application??mn.applicationId??"")===Ue}),An=q==="instance"?ln:on,xn=tt=>{me(tt),Ne(Oue(k.find(mn=>mn.type===tt)||null))};return I.jsx("div",{className:"overlay-backdrop",onMouseDown:$,children:I.jsxs("section",{className:"overlay-panel override-form",onMouseDown:tt=>tt.stopPropagation(),"data-testid":"override-form",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:"Create a model override"}),I.jsx("span",{children:"The shared template remains unchanged outside the selected scope"})]}),I.jsx("button",{onClick:$,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content override-form-content",children:[I.jsxs("div",{className:"override-scope-choice",children:[I.jsxs("button",{className:q==="instance"?"active":"",onClick:()=>G("instance"),children:[I.jsx("strong",{children:"One instance"}),I.jsx("span",{children:"All targets of this application in one plant or object instance"})]}),I.jsxs("button",{className:q==="object"?"active":"",onClick:()=>G("object"),children:[I.jsx("strong",{children:"One object"}),I.jsx("span",{children:"Only one concrete execution receives the replacement model"})]})]}),I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Instance",I.jsx("select",{value:Z,onChange:tt=>{const mn=tt.target.value,Y=(x.find(Fe=>Fe.name===mn)?.objectIds||[]).find(Fe=>b.targetIds.some(wn=>Ws(wn)===Ws(Fe)));Q(mn),ne(Y??"")},children:x.filter(tt=>b.targetInstances.includes(tt.name)).map(tt=>I.jsx("option",{value:tt.name,children:tt.name},tt.name))})]}),q==="object"&&I.jsxs("label",{children:["Object",I.jsx("select",{value:Ws(ce),onChange:tt=>ne(dy(tt.target.value)),children:se.map(tt=>I.jsx("option",{value:Ws(tt),children:Oa(tt)},Ws(tt)))})]}),I.jsxs("label",{children:["Replacement model",I.jsx("select",{value:Se,onChange:tt=>xn(tt.target.value),children:k.map(tt=>I.jsxs("option",{value:tt.type,children:[tt.package?`${tt.package} · `:"",tt.name]},tt.type))})]})]}),Pe&&Pe.constructor.fields.length>0&&I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Model parameters"}),I.jsx(ubn,{fields:Pe.constructor.fields,values:ae,onChange:Ne})]}),I.jsxs("div",{className:"override-warning",children:[I.jsx("strong",{children:q==="instance"?`Override ${Z}`:`Override object ${Oa(ce)}`}),I.jsx("span",{children:"Julia validates that the replacement keeps the same process and declared variable contract."})]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:$,children:"Cancel"}),An&&I.jsxs("button",{className:"danger","data-testid":"remove-override",onClick:()=>N({scope:q,instance:Z,objectId:q==="object"?ce:void 0,applicationRef:b.owner,modelType:Se,parameters:ae}),children:[I.jsx(bD,{size:15})," Remove override"]}),I.jsxs("button",{className:"primary",disabled:!Z||!Se||q==="object"&&!String(ce),onClick:()=>M({scope:q,instance:Z,objectId:q==="object"?ce:void 0,applicationRef:b.owner,modelType:Se,parameters:ae}),children:[I.jsx(uk,{size:15})," Apply override"]})]})]})})}function oue(b){throw new Error('Could not dynamically require "'+b+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Z7e={exports:{}},odn;function bKn(){return odn||(odn=1,(function(b,j){(function(x){b.exports=x()})(function(){return(function(){function x(M,N,$){function k(G,Z){if(!N[G]){if(!M[G]){var Q=typeof oue=="function"&&oue;if(!Z&&Q)return Q(G,!0);if(J)return J(G,!0);var ee=new Error("Cannot find module '"+G+"'");throw ee.code="MODULE_NOT_FOUND",ee}var se=N[G]={exports:{}};M[G][0].call(se.exports,function(ce){var ne=M[G][1][ce];return k(ne||ce)},se,se.exports,x,M,N,$)}return N[G].exports}for(var J=typeof oue=="function"&&oue,q=0;q<$.length;q++)k($[q]);return k}return x})()({1:[function(x,M,N){Object.defineProperty(N,"__esModule",{value:!0}),N.default=void 0;function $(ee){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},$(ee)}function k(ee,se){if(!(ee instanceof se))throw new TypeError("Cannot call a class as a function")}function J(ee,se){for(var ce=0;ce0&&arguments[0]!==void 0?arguments[0]:{},ne=ce.defaultLayoutOptions,Se=ne===void 0?{}:ne,me=ce.algorithms,Pe=me===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:me,ae=ce.workerFactory,Ne=ce.workerUrl;if(k(this,ee),this.defaultLayoutOptions=Se,this.initialized=!1,typeof Ne>"u"&&typeof ae>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Ue=ae;typeof Ne<"u"&&typeof ae>"u"&&(Ue=function(An){return new Worker(An)});var ln=Ue(Ne);if(typeof ln.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Q(ln),this.worker.postMessage({cmd:"register",algorithms:Pe}).then(function(on){return se.initialized=!0}).catch(console.err)}return q(ee,[{key:"layout",value:function(ce){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Se=ne.layoutOptions,me=Se===void 0?this.defaultLayoutOptions:Se,Pe=ne.logging,ae=Pe===void 0?!1:Pe,Ne=ne.measureExecutionTime,Ue=Ne===void 0?!1:Ne;return ce?this.worker.postMessage({cmd:"layout",graph:ce,layoutOptions:me,options:{logging:ae,measureExecutionTime:Ue}}):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&&this.worker.terminate()}}])})();var Q=(function(){function ee(se){var ce=this;if(k(this,ee),se===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=se,this.worker.onmessage=function(ne){setTimeout(function(){ce.receive(ce,ne)},0)}}return q(ee,[{key:"postMessage",value:function(ce){var ne=this.id||0;this.id=ne+1,ce.id=ne;var Se=this;return new Promise(function(me,Pe){Se.resolvers[ne]=function(ae,Ne){ae?(Se.convertGwtStyleError(ae),Pe(ae)):me(Ne)},Se.worker.postMessage(ce)})}},{key:"receive",value:function(ce,ne){var Se=ne.data,me=ce.resolvers[Se.id];me&&(delete ce.resolvers[Se.id],Se.error?me(Se.error):me(null,Se.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(ce){if(ce){var ne=ce.__java$exception;ne&&(ne.cause&&ne.cause.backingJsObject&&(ce.cause=ne.cause.backingJsObject,this.convertGwtStyleError(ce.cause)),delete ce.__java$exception)}}}])})()},{}],2:[function(x,M,N){(function($){(function(){var k;typeof window<"u"?k=window:typeof $<"u"?k=$:typeof self<"u"&&(k=self);var J;function q(){}function G(){}function Z(){}function Q(){}function ee(){}function se(){}function ce(){}function ne(){}function Se(){}function me(){}function Pe(){}function ae(){}function Ne(){}function Ue(){}function ln(){}function on(){}function An(){}function xn(){}function tt(){}function mn(){}function vn(){}function Y(){}function Fe(){}function wn(){}function Ae(){}function Ge(){}function fn(){}function $e(){}function Mn(){}function ge(){}function tn(){}function Hn(){}function ut(){}function Jt(){}function di(){}function Gt(){}function At(){}function si(){}function Kr(){}function Er(){}function Dt(){}function bi(){}function zi(){}function cu(){}function Fu(){}function Rs(){}function ra(){}function nf(){}function Ia(){}function Cc(){}function l0(){}function Cb(){}function xl(){}function od(){}function f0(){}function sh(){}function sd(){}function my(){}function a0(){}function Np(){}function h6(){}function Tb(){}function ca(){}function ld(){}function xf(){}function d6(){}function lh(){}function Ip(){}function Xg(){}function Kg(){}function Vg(){}function fd(){}function Yg(){}function Ob(){}function vy(){}function Dp(){}function _p(){}function uu(){}function yy(){}function Qg(){}function ov(){}function ky(){}function Wg(){}function sv(){}function jy(){}function Ey(){}function w1(){}function Zs(){}function Af(){}function vt(){}function kc(){}function tc(){}function ok(){}function h0(){}function Zg(){}function b6(){}function Lp(){}function Pp(){}function $p(){}function Rp(){}function Al(){}function Sy(){}function sk(){}function ew(){}function Bp(){}function DA(){}function g6(){}function lk(){}function fk(){}function lv(){}function xy(){}function d0(){}function Ph(){}function ak(){}function _A(){}function Ay(){}function hk(){}function fv(){}function LA(){}function $h(){}function av(){}function dk(){}function w6(){}function nw(){}function SD(){}function xD(){}function My(){}function oq(){}function AD(){}function MD(){}function PA(){}function sq(){}function lq(){}function bk(){}function tw(){}function $A(){}function RA(){}function Cy(){}function Ty(){}function CD(){}function BA(){}function TD(){}function p6(){}function iw(){}function zA(){}function m6(){}function zp(){}function FA(){}function gk(){}function OD(){}function wk(){}function pk(){}function ND(){}function Rh(){}function hv(){}function mk(){}function v6(){}function fq(){}function JA(){}function HA(){}function y6(){}function vk(){}function ID(){}function aq(){}function hq(){}function dq(){}function GA(){}function bq(){}function gq(){}function wq(){}function pq(){}function mq(){}function DD(){}function vq(){}function yq(){}function kq(){}function jq(){}function qA(){}function Eq(){}function Sq(){}function xq(){}function _D(){}function Aq(){}function Mq(){}function Cq(){}function Tq(){}function Oq(){}function Nq(){}function Iq(){}function Dq(){}function _q(){}function UA(){}function k6(){}function Lq(){}function LD(){}function PD(){}function $D(){}function RD(){}function BD(){}function Oy(){}function Pq(){}function $q(){}function Rq(){}function zD(){}function FD(){}function j6(){}function E6(){}function Bq(){}function yk(){}function JD(){}function XA(){}function KA(){}function VA(){}function HD(){}function GD(){}function qD(){}function zq(){}function Fq(){}function Jq(){}function Hq(){}function Gq(){}function p1(){}function S6(){}function UD(){}function XD(){}function KD(){}function VD(){}function YA(){}function qq(){}function Ny(){}function QA(){}function x6(){}function WA(){}function YD(){}function dv(){}function Iy(){}function ZA(){}function QD(){}function bv(){}function WD(){}function ZD(){}function e_(){}function Uq(){}function Xq(){}function Kq(){}function n_(){}function t_(){}function eM(){}function b0(){}function kk(){}function ad(){}function Dy(){}function nM(){}function jk(){}function Ek(){}function tM(){}function gv(){}function i_(){}function Sk(){}function _y(){}function Vq(){}function m1(){}function iM(){}function rw(){}function r_(){}function xk(){}function wv(){}function rM(){}function c_(){}function cM(){}function u_(){}function hd(){}function Ly(){}function Py(){}function Ak(){}function A6(){}function dd(){}function bd(){}function Fp(){}function Nb(){}function Ib(){}function cw(){}function o_(){}function uM(){}function oM(){}function s_(){}function ua(){}function Jo(){}function ou(){}function Jp(){}function gd(){}function sM(){}function Hp(){}function l_(){}function f_(){}function $y(){}function pv(){}function Ry(){}function Gp(){}function lM(){}function qp(){}function uw(){}function Up(){}function ow(){}function fM(){}function aM(){}function By(){}function M6(){}function Xp(){}function oa(){}function C6(){}function hM(){}function Yq(){}function Qq(){}function T6(){}function Ml(){}function dM(){}function O6(){}function N6(){}function bM(){}function zy(){}function Fy(){}function Wq(){}function a_(){}function Zq(){}function h_(){}function mv(){}function gM(){}function Mk(){}function d_(){}function Jy(){}function wM(){}function Ck(){}function Tk(){}function b_(){}function g_(){}function vv(){}function yv(){}function w_(){}function pM(){}function Hy(){}function I6(){}function Ok(){}function D6(){}function Nk(){}function p_(){}function kv(){}function m_(){}function Kp(){}function mM(){}function vM(){}function Vp(){}function Yp(){}function _6(){}function yM(){}function kM(){}function L6(){}function P6(){}function v_(){}function y_(){}function Gy(){}function Ik(){}function k_(){}function jM(){}function EM(){}function v1(){}function wd(){}function Qp(){}function SM(){}function j_(){}function Wp(){}function y1(){}function el(){}function Dk(){}function sw(){}function bc(){}function vo(){}function Cl(){}function _k(){}function qy(){}function jv(){}function Lk(){}function $6(){}function Uy(){}function eU(){}function Bs(){}function xM(){}function AM(){}function E_(){}function S_(){}function nU(){}function MM(){}function CM(){}function TM(){}function fh(){}function nl(){}function Pk(){}function R6(){}function $k(){}function OM(){}function lw(){}function Rk(){}function NM(){}function IM(){}function x_(){}function A_(){}function M_(){}function tU(){}function C_(){}function T_(){}function DM(){}function O_(){}function iU(){}function N_(){}function I_(){}function D_(){}function _M(){}function __(){}function L_(){}function P_(){}function $_(){}function R_(){}function rU(){}function B_(){}function Xy(){}function z_(){}function Bk(){}function zk(){}function F_(){}function LM(){}function cU(){}function J_(){}function H_(){}function G_(){}function q_(){}function U_(){}function PM(){}function X_(){}function K_(){}function $M(){}function V_(){}function Y_(){}function RM(){}function B6(){}function Q_(){}function Fk(){}function BM(){}function W_(){}function Z_(){}function uU(){}function oU(){}function eL(){}function z6(){}function zM(){}function Jk(){}function nL(){}function FM(){}function F6(){}function sU(){}function JM(){}function tL(){}function HM(){}function GM(){}function iL(){}function rL(){}function Ev(){}function cL(){}function pd(){}function uL(){}function g0(){}function qM(){}function UM(){}function oL(){}function sL(){}function lU(){}function XM(){}function Tl(){}function sa(){}function lL(){}function fL(){}function aL(){}function hL(){}function J6(){}function dL(){}function Hk(){}function bL(){}function fU(){}function Gk(){}function KM(){}function gL(){}function wL(){}function He(){}function VM(){}function YM(){}function QM(){}function pL(){}function WM(){}function qk(){}function ZM(){}function mL(){}function eC(){}function vL(){}function fw(){}function H6(){}function aU(){}function yL(){}function w0(){}function nC(){}function kL(){}function Uk(){}function Sv(){}function yo(){}function Xk(){}function hU(){}function tC(){}function G6(){}function Zp(){}function q6(){}function jL(){}function U6(){}function Db(){}function X6(){}function iC(){}function EL(){}function rC(){}function cC(){}function xv(){}function SL(){}function _b(){}function Ol(){}function K6(){}function uC(){}function Mf(){}function dU(){}function xL(){}function AL(){}function Ss(){}function Bh(){}function aw(){}function ML(){}function CL(){}function TL(){}function bU(){}function Kk(){}function zh(){}function p0(){}function OL(){}function Nl(){}function Vk(){}function hw(){}function Av(){}function dw(){}function oC(){}function sC(){}function m0(){}function NL(){}function Ky(){}function V6(){}function Y6(){}function Vy(){}function IL(){}function DL(){}function Q6(){}function _L(){}function Yk(){}function LL(){}function gU(){}function wU(){}function Ju(){}function Do(){}function Hc(){}function nu(){}function io(){}function k1(){}function e2(){}function Yy(){}function lC(){}function bw(){}function zs(){}function n2(){}function Mv(){}function fC(){}function j1(){}function Qy(){}function W6(){}function Fh(){}function aC(){}function Qk(){}function PL(){}function Wk(){}function Zk(){}function t2(){}function tf(){}function i2(){}function Wy(){}function gw(){}function hC(){}function dC(){}function $L(){}function Z6(){}function bC(){}function E1(){}function RL(){}function Jh(){}function BL(){}function zL(){}function pU(){}function r2(){}function ej(){}function gC(){}function Zy(){}function FL(){}function JL(){}function HL(){}function GL(){}function nj(){}function wC(){}function mU(){}function vU(){}function yU(){}function qL(){}function UL(){}function e5(){}function tj(){}function XL(){}function KL(){}function VL(){}function YL(){}function QL(){}function WL(){}function ij(){}function ZL(){}function eP(){}function ro(){}function pC(){}function kU(){}function nP(){}function jU(){}function EU(){}function SU(){}function rj(){}function n5(){}function mC(){}function cj(){}function vC(){}function c2(){}function Lb(){}function e9(){}function xU(){}function tP(){}function yC(){}function iP(){}function rP(){}function kC(){Sj()}function jC(){O0e()}function cP(){Gf()}function uP(){zde()}function AU(){FO()}function EC(){LT()}function SC(){sT()}function MU(){oT()}function CU(){LMe()}function n9(){V5()}function TU(){f$e()}function oP(){u8()}function Gc(){U0()}function xC(){Fhe()}function uj(){eLe()}function AC(){zhe()}function sP(){tLe()}function MC(){nLe()}function t9(){iLe()}function oj(){J$e()}function OU(){rLe()}function lP(){DBe()}function NU(){Oe()}function IU(){t$()}function fP(){NBe()}function aP(){IBe()}function ko(){tPe()}function CC(){Lge()}function la(){_Be()}function DU(){uLe()}function hP(){X5()}function _U(){UFe()}function TC(){R1()}function OC(){obe()}function sj(){UO()}function dP(){tze()}function bP(){Ube()}function NC(){LHe()}function IC(){cLe()}function LU(){rKe()}function gP(){Mu()}function PU(){qa()}function wP(){ige()}function $U(){X0()}function RU(){_W()}function u2(){HQ()}function pP(){oB()}function DC(){Xt()}function _C(){Cz()}function BU(){JB()}function zU(){wde()}function LC(){Vz()}function lj(){JY()}function tl(){zNe()}function FU(){uge()}function S1(e){Ln(e)}function PC(e){this.a=e}function i9(e){this.a=e}function mP(e){this.a=e}function vP(e){this.a=e}function r9(e){this.a=e}function x1(e){this.a=e}function $C(e){this.a=e}function fj(e){this.a=e}function v0(e){this.a=e}function JU(e){this.a=e}function HU(e){this.a=e}function t5(e){this.a=e}function yP(e){this.a=e}function GU(e){this.c=e}function qU(e){this.a=e}function RC(e){this.a=e}function UU(e){this.a=e}function XU(e){this.a=e}function KU(e){this.a=e}function BC(e){this.a=e}function kP(e){this.a=e}function i5(e){this.a=e}function Cv(e){this.a=e}function jP(e){this.a=e}function zC(e){this.a=e}function r5(e){this.a=e}function c9(e){this.a=e}function EP(e){this.a=e}function aj(e){this.a=e}function FC(e){this.a=e}function JC(e){this.a=e}function hj(e){this.a=e}function SP(e){this.a=e}function xP(e){this.a=e}function VU(e){this.a=e}function AP(e){this.a=e}function YU(e){this.a=e}function HC(e){this.a=e}function QU(e){this.a=e}function u9(e){this.a=e}function o9(e){this.a=e}function Tv(e){this.a=e}function s9(e){this.a=e}function c5(e){this.b=e}function md(){this.a=[]}function MP(e,n){e.a=n}function WU(e,n){e.a=n}function ZU(e,n){e.b=n}function eX(e,n){e.c=n}function CP(e,n){e.c=n}function nX(e,n){e.d=n}function tX(e,n){e.d=n}function Cf(e,n){e.k=n}function TP(e,n){e.j=n}function Gue(e,n){e.c=n}function dj(e,n){e.c=n}function bj(e,n){e.a=n}function GC(e,n){e.a=n}function OP(e,n){e.f=n}function iX(e,n){e.a=n}function NP(e,n){e.b=n}function Pb(e,n){e.d=n}function y0(e,n){e.i=n}function ww(e,n){e.o=n}function gj(e,n){e.r=n}function wj(e,n){e.a=n}function Ov(e,n){e.b=n}function rX(e,n){e.e=n}function cX(e,n){e.f=n}function u5(e,n){e.g=n}function que(e,n){e.e=n}function uX(e,n){e.f=n}function qC(e,n){e.f=n}function pj(e,n){e.a=n}function UC(e,n){e.b=n}function XC(e,n){e.n=n}function KC(e,n){e.a=n}function oX(e,n){e.c=n}function l9(e,n){e.c=n}function sX(e,n){e.c=n}function IP(e,n){e.a=n}function VC(e,n){e.a=n}function lX(e,n){e.d=n}function Uue(e,n){e.d=n}function YC(e,n){e.e=n}function a(e,n){e.e=n}function d(e,n){e.g=n}function w(e,n){e.f=n}function E(e,n){e.j=n}function T(e,n){e.a=n}function D(e,n){e.a=n}function W(e,n){e.b=n}function de(e){e.b=e.a}function nn(e){e.c=e.d.d}function Pn(e){this.a=e}function it(e){this.a=e}function gt(e){this.a=e}function Gn(e){this.a=e}function et(e){this.a=e}function Di(e){this.a=e}function Cr(e){this.a=e}function co(e){this.a=e}function Sn(e){this.a=e}function sn(e){this.a=e}function _n(e){this.a=e}function ot(e){this.a=e}function Hi(e){this.a=e}function _u(e){this.a=e}function Xi(e){this.b=e}function Hr(e){this.b=e}function ic(e){this.b=e}function qc(e){this.d=e}function xt(e){this.a=e}function fX(e){this.a=e}function Xue(e){this.a=e}function Fke(e){this.a=e}function Jke(e){this.a=e}function Kue(e){this.a=e}function Vue(e){this.a=e}function aX(e){this.c=e}function P(e){this.c=e}function Hke(e){this.c=e}function Yue(e){this.a=e}function Que(e){this.a=e}function Wue(e){this.a=e}function Zue(e){this.a=e}function f9(e){this.a=e}function Gke(e){this.a=e}function qke(e){this.a=e}function a9(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Vke(e){this.a=e}function Yke(e){this.a=e}function Qke(e){this.a=e}function Wke(e){this.a=e}function Zke(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function mj(e){this.a=e}function ije(e){this.a=e}function rje(e){this.a=e}function DP(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function eoe(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function lje(e){this.a=e}function noe(e){this.a=e}function toe(e){this.a=e}function ioe(e){this.a=e}function vj(e){this.a=e}function h9(e){this.a=e}function fje(e){this.a=e}function o5(e){this.a=e}function roe(e){this.a=e}function aje(e){this.a=e}function hje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function gje(e){this.a=e}function wje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function coe(e){this.a=e}function jje(e){this.a=e}function Eje(e){this.a=e}function Sje(e){this.a=e}function xje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Oje(e){this.a=e}function Nje(e){this.a=e}function Ije(e){this.a=e}function Dje(e){this.a=e}function _je(e){this.a=e}function Lje(e){this.a=e}function Pje(e){this.a=e}function $je(e){this.a=e}function Rje(e){this.a=e}function Bje(e){this.a=e}function zje(e){this.a=e}function Fje(e){this.a=e}function Jje(e){this.a=e}function Hje(e){this.a=e}function Gje(e){this.a=e}function qje(e){this.a=e}function Uje(e){this.a=e}function Xje(e){this.a=e}function Kje(e){this.a=e}function Vje(e){this.a=e}function Yje(e){this.a=e}function Qje(e){this.a=e}function Wje(e){this.a=e}function Zje(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.a=e}function tEe(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.b=e}function cEe(e){this.a=e}function uEe(e){this.a=e}function oEe(e){this.a=e}function sEe(e){this.a=e}function lEe(e){this.a=e}function fEe(e){this.a=e}function aEe(e){this.c=e}function hEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function gEe(e){this.a=e}function wEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function jEe(e){this.a=e}function EEe(e){this.a=e}function SEe(e){this.a=e}function xEe(e){this.a=e}function AEe(e){this.a=e}function MEe(e){this.a=e}function CEe(e){this.a=e}function TEe(e){this.a=e}function OEe(e){this.a=e}function NEe(e){this.a=e}function IEe(e){this.a=e}function DEe(e){this.a=e}function _Ee(e){this.a=e}function LEe(e){this.a=e}function PEe(e){this.a=e}function $Ee(e){this.a=e}function REe(e){this.a=e}function A1(e){this.a=e}function Nv(e){this.a=e}function BEe(e){this.a=e}function zEe(e){this.a=e}function FEe(e){this.a=e}function JEe(e){this.a=e}function HEe(e){this.a=e}function GEe(e){this.a=e}function qEe(e){this.a=e}function UEe(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function VEe(e){this.a=e}function YEe(e){this.a=e}function QEe(e){this.a=e}function WEe(e){this.a=e}function ZEe(e){this.a=e}function eSe(e){this.a=e}function nSe(e){this.a=e}function tSe(e){this.a=e}function iSe(e){this.a=e}function rSe(e){this.a=e}function cSe(e){this.a=e}function uSe(e){this.a=e}function oSe(e){this.a=e}function sSe(e){this.a=e}function lSe(e){this.a=e}function fSe(e){this.a=e}function _P(e){this.a=e}function aSe(e){this.f=e}function hSe(e){this.a=e}function dSe(e){this.a=e}function bSe(e){this.a=e}function gSe(e){this.a=e}function wSe(e){this.a=e}function pSe(e){this.a=e}function mSe(e){this.a=e}function vSe(e){this.a=e}function ySe(e){this.a=e}function kSe(e){this.a=e}function jSe(e){this.a=e}function ESe(e){this.a=e}function SSe(e){this.a=e}function xSe(e){this.a=e}function ASe(e){this.a=e}function MSe(e){this.a=e}function CSe(e){this.a=e}function TSe(e){this.a=e}function OSe(e){this.a=e}function NSe(e){this.a=e}function ISe(e){this.a=e}function DSe(e){this.a=e}function _Se(e){this.a=e}function LSe(e){this.a=e}function PSe(e){this.a=e}function $Se(e){this.a=e}function RSe(e){this.a=e}function hX(e){this.a=e}function uoe(e){this.a=e}function ki(e){this.b=e}function BSe(e){this.a=e}function zSe(e){this.a=e}function FSe(e){this.a=e}function JSe(e){this.a=e}function HSe(e){this.a=e}function GSe(e){this.a=e}function qSe(e){this.a=e}function USe(e){this.b=e}function XSe(e){this.a=e}function QC(e){this.a=e}function KSe(e){this.a=e}function VSe(e){this.a=e}function LP(e){this.a=e}function PP(e){this.a=e}function ooe(e){this.c=e}function $P(e){this.e=e}function RP(e){this.e=e}function dX(e){this.a=e}function YSe(e){this.d=e}function QSe(e){this.a=e}function soe(e){this.a=e}function loe(e){this.a=e}function pw(e){this.e=e}function fbn(){this.a=0}function Te(){CK(this)}function wt(){Hu(this)}function bX(){FDe(this)}function WSe(){}function mw(){this.c=Z8e}function ZSe(e,n){e.b+=n}function abn(e,n){n.Wb(e)}function hbn(e){return e.a}function dbn(e){return e.a}function bbn(e){return e.a}function gbn(e){return e.a}function wbn(e){return e.a}function R(e){return e.e}function pbn(){return null}function mbn(){return null}function vbn(e){throw R(e)}function s5(e){this.a=Ot(e)}function exe(){this.a=this}function $b(){mOe.call(this)}function ybn(e){e.b.Mf(e.e)}function nxe(e){e.b=new NX}function yj(e,n){e.b=n-e.b}function kj(e,n){e.a=n-e.a}function txe(e,n){n.gd(e.a)}function kbn(e,n){Ar(n,e)}function qn(e,n){e.push(n)}function ixe(e,n){e.sort(n)}function jbn(e,n,t){e.Wd(t,n)}function WC(e,n){e.e=n,n.b=e}function Ebn(){Joe(),qRn()}function rxe(e){J9(),ite.je(e)}function foe(){$b.call(this)}function gX(){$b.call(this)}function aoe(){mOe.call(this)}function cxe(){$b.call(this)}function Il(){$b.call(this)}function uxe(){$b.call(this)}function ZC(){$b.call(this)}function is(){$b.call(this)}function l5(){$b.call(this)}function _t(){$b.call(this)}function hu(){$b.call(this)}function oxe(){$b.call(this)}function BP(){this.Bb|=256}function sxe(){this.b=new pTe}function hoe(){hoe=Y,new wt}function o2(e,n){e.length=n}function zP(e,n){Ce(e.a,n)}function Sbn(e,n){I0e(e.c,n)}function xbn(e,n){hr(e.b,n)}function d9(e,n){hi(e.e,n)}function Abn(e,n){bz(e.a,n)}function Mbn(e,n){wQ(e.a,n)}function f5(e){Iz(e.c,e.b)}function Cbn(e,n){e.kc().Nb(n)}function doe(e){this.a=Rjn(e)}function ar(){this.a=new wt}function lxe(){this.a=new wt}function FP(){this.a=new Te}function wX(){this.a=new Te}function boe(){this.a=new Te}function Rb(){this.a=new e$e}function pX(){this.a=new CMe}function goe(){this.a=new G_e}function woe(){this.a=new fNe}function rf(){this.a=new h6}function poe(){this.a=new ov}function fxe(){this.a=new ELe}function axe(){this.a=new Te}function hxe(){this.a=new Te}function moe(){this.a=new Te}function dxe(){this.a=new Te}function bxe(){this.d=new Te}function gxe(){this.a=new ar}function wxe(){this.a=new wt}function pxe(){this.b=new wt}function mxe(){this.b=new Te}function voe(){this.e=new Te}function vxe(){this.a=new Gc}function yxe(){this.d=new Te}function jj(){WSe.call(this)}function mX(){jj.call(this)}function a5(){WSe.call(this)}function yoe(){a5.call(this)}function kxe(){foe.call(this)}function JP(){FP.call(this)}function jxe(){Y$.call(this)}function Exe(){moe.call(this)}function Sxe(){Te.call(this)}function xxe(){k_e.call(this)}function Axe(){k_e.call(this)}function Mxe(){Soe.call(this)}function Cxe(){Soe.call(this)}function Txe(){Soe.call(this)}function Oxe(){xoe.call(this)}function Ej(){Uk.call(this)}function koe(){Uk.call(this)}function xs(){xi.call(this)}function Nxe(){qxe.call(this)}function Ixe(){qxe.call(this)}function Dxe(){wt.call(this)}function _xe(){wt.call(this)}function Lxe(){wt.call(this)}function vX(){MBe.call(this)}function Pxe(){ar.call(this)}function $xe(){BP.call(this)}function yX(){ole.call(this)}function joe(){wt.call(this)}function kX(){ole.call(this)}function jX(){wt.call(this)}function Rxe(){wt.call(this)}function Eoe(){xv.call(this)}function Bxe(){Eoe.call(this)}function zxe(){xv.call(this)}function Fxe(){yC.call(this)}function Soe(){this.a=new ar}function Jxe(){this.a=new wt}function Hxe(){this.a=new Te}function Gxe(){this.j=new Te}function xoe(){this.a=new wt}function h5(){this.a=new xi}function qxe(){this.a=new iC}function Aoe(){this.a=new q_}function Uxe(){this.a=new HAe}function Sj(){Sj=Y,Vne=new G}function EX(){EX=Y,Yne=new Kxe}function SX(){SX=Y,Qne=new Xxe}function Xxe(){Cv.call(this,"")}function Kxe(){Cv.call(this,"")}function Vxe(e){iBe.call(this,e)}function Yxe(e){iBe.call(this,e)}function Moe(e){x1.call(this,e)}function Coe(e){tMe.call(this,e)}function Tbn(e){tMe.call(this,e)}function Obn(e){Coe.call(this,e)}function Nbn(e){Coe.call(this,e)}function Ibn(e){Coe.call(this,e)}function Qxe(e){uY.call(this,e)}function Wxe(e){uY.call(this,e)}function Zxe(e){nOe.call(this,e)}function eAe(e){Voe.call(this,e)}function xj(e){ZP.call(this,e)}function Toe(e){ZP.call(this,e)}function nAe(e){ZP.call(this,e)}function du(e){VIe.call(this,e)}function tAe(e){du.call(this,e)}function d5(){s9.call(this,{})}function xX(e){x9(),this.a=e}function iAe(e){e.b=null,e.c=0}function Dbn(e,n){e.e=n,iXe(e,n)}function _bn(e,n){e.a=n,UCn(e)}function AX(e,n,t){e.a[n.g]=t}function Lbn(e,n,t){dAn(t,e,n)}function Pbn(e,n){d2n(n.i,e.n)}function rAe(e,n){Mkn(e).Ad(n)}function $bn(e,n){return e*e/n}function cAe(e,n){return e.g-n.g}function Rbn(e,n){e.a.ec().Kc(n)}function Bbn(e){return new Tv(e)}function zbn(e){return new O2(e)}function uAe(){uAe=Y,kme=new q}function Ooe(){Ooe=Y,jme=new Ue}function HP(){HP=Y,WS=new An}function GP(){GP=Y,Zne=new eOe}function oAe(){oAe=Y,cnn=new tt}function qP(e){i1e(),this.a=e}function MX(e){fV(),this.f=e}function k0(e){fV(),this.f=e}function sAe(e){BNe(),this.a=e}function UP(e){du.call(this,e)}function jo(e){du.call(this,e)}function lAe(e){du.call(this,e)}function CX(e){VIe.call(this,e)}function b9(e){du.call(this,e)}function Un(e){du.call(this,e)}function Uc(e){du.call(this,e)}function fAe(e){du.call(this,e)}function b5(e){du.call(this,e)}function vd(e){du.call(this,e)}function Su(e){Ln(e),this.a=e}function Aj(e){Bfe(e,e.length)}function Noe(e){return ug(e),e}function s2(e){return!!e&&e.b}function Fbn(e){return!!e&&e.k}function Jbn(e){return!!e&&e.j}function Mj(e){return e.b==e.c}function ze(e){return Ln(e),e}function te(e){return Ln(e),e}function eT(e){return Ln(e),e}function Ioe(e){return Ln(e),e}function Hbn(e){return Ln(e),e}function ah(e){du.call(this,e)}function yd(e){du.call(this,e)}function g5(e){du.call(this,e)}function TX(e){du.call(this,e)}function Bt(e){du.call(this,e)}function OX(e){gle.call(this,e,0)}function NX(){Aae.call(this,12,3)}function IX(){this.a=Pt(Ot(To))}function aAe(){throw R(new _t)}function Doe(){throw R(new _t)}function hAe(){throw R(new _t)}function Gbn(){throw R(new _t)}function qbn(){throw R(new _t)}function Ubn(){throw R(new _t)}function XP(){XP=Y,J9()}function kd(){Di.call(this,"")}function Cj(){Di.call(this,"")}function j0(){Di.call(this,"")}function w5(){Di.call(this,"")}function _oe(e){jo.call(this,e)}function Loe(e){jo.call(this,e)}function hh(e){Un.call(this,e)}function g9(e){Hr.call(this,e)}function dAe(e){g9.call(this,e)}function DX(e){G$.call(this,e)}function Xbn(e,n,t){e.c.Cf(n,t)}function Kbn(e,n,t){n.Ad(e.a[t])}function Vbn(e,n,t){n.Ne(e.a[t])}function Ybn(e,n){return e.a-n.a}function Qbn(e,n){return e.a-n.a}function Wbn(e,n){return e.a-n.a}function KP(e,n){return yY(e,n)}function z(e,n){return Y_e(e,n)}function Zbn(e,n){return n in e.a}function bAe(e){return e.a?e.b:0}function egn(e){return e.a?e.b:0}function gAe(e,n){return e.f=n,e}function ngn(e,n){return e.b=n,e}function wAe(e,n){return e.c=n,e}function tgn(e,n){return e.g=n,e}function Poe(e,n){return e.a=n,e}function $oe(e,n){return e.f=n,e}function ign(e,n){return e.f=n,e}function Roe(e,n){return e.e=n,e}function rgn(e,n){return e.k=n,e}function Boe(e,n){return e.a=n,e}function cgn(e,n){return e.e=n,e}function ugn(e,n){e.b=new wc(n)}function pAe(e,n){e._d(n),n.$d(e)}function ogn(e,n){rl(),n.n.a+=e}function sgn(e,n){U0(),wu(n,e)}function zoe(e){ZDe.call(this,e)}function mAe(e){ZDe.call(this,e)}function vAe(){Xse.call(this,"")}function yAe(){this.b=0,this.a=0}function kAe(){kAe=Y,mnn=zAn()}function l2(e,n){return e.b=n,e}function VP(e,n){return e.a=n,e}function f2(e,n){return e.c=n,e}function a2(e,n){return e.d=n,e}function h2(e,n){return e.e=n,e}function Foe(e,n){return e.f=n,e}function Tj(e,n){return e.a=n,e}function w9(e,n){return e.b=n,e}function p9(e,n){return e.c=n,e}function Xe(e,n){return e.c=n,e}function hn(e,n){return e.b=n,e}function Ke(e,n){return e.d=n,e}function Ve(e,n){return e.e=n,e}function lgn(e,n){return e.f=n,e}function Ye(e,n){return e.g=n,e}function Qe(e,n){return e.a=n,e}function We(e,n){return e.i=n,e}function Ze(e,n){return e.j=n,e}function fgn(e,n){return n.pg(e)}function agn(e,n){return e.b-n.b}function hgn(e,n){return e.g-n.g}function dgn(e,n){return e.s-n.s}function bgn(e,n){return e?0:n-1}function jAe(e,n){return e?0:n-1}function ggn(e,n){return e?n-1:0}function EAe(e,n){return e.k=n,e}function wgn(e,n){return e.j=n,e}function Vr(){this.a=0,this.b=0}function YP(e){XK.call(this,e)}function E0(e){$w.call(this,e)}function SAe(e){$V.call(this,e)}function xAe(e){$V.call(this,e)}function AAe(){AAe=Y,Pr=oMn()}function S0(){S0=Y,Man=Qxn()}function Joe(){Joe=Y,Rg=TE()}function m9(){m9=Y,W8e=Wxn()}function MAe(){MAe=Y,ahn=Zxn()}function Hoe(){Hoe=Y,Bu=HCn()}function fa(e){return e.e&&e.e()}function CAe(e,n){return e.c._b(n)}function TAe(e,n){return MFe(e.b,n)}function OAe(e,n){return Jgn(e.a,n)}function NAe(e,n){e.b=0,z2(e,n)}function pgn(e,n){e.c=n,e.b=!0}function Iv(e,n){return e.a+=n,e}function _X(e,n){return e.a+=n,e}function jd(e,n){return e.a+=n,e}function vw(e,n){return e.a+=n,e}function Bb(e){return T1(e),e.o}function Goe(e){_Ve(),rBn(this,e)}function IAe(){throw R(new _t)}function DAe(){throw R(new _t)}function _Ae(){throw R(new _t)}function LAe(){throw R(new _t)}function PAe(){throw R(new _t)}function $Ae(){throw R(new _t)}function QP(e){this.a=new m5(e)}function Ed(e){this.a=new gV(e)}function Dv(e,n){for(;e.Pe(n););}function qoe(e,n){for(;e.zd(n););}function mgn(e,n,t){k3n(e.a,n,t)}function Uoe(e,n,t){e.splice(n,t)}function vgn(e,n){return ePn(n,e)}function Xoe(e,n){return e.d[n.p]}function nT(e){return e.b!=e.d.c}function RAe(e){return e.l|e.m<<22}function LX(e){return e?e.d:null}function ygn(e){return e?e.g:null}function kgn(e){return e?e.i:null}function BAe(e,n){return kIn(e,n)}function v9(e){return N0(e),e.a}function zAe(e){e.c?vXe(e):yXe(e)}function FAe(){this.b=new sS(c4e)}function JAe(){this.b=new sS(Wre)}function HAe(){this.b=new sS(Wre)}function GAe(){this.a=new sS(z4e)}function qAe(){this.a=new sS(f6e)}function WP(e){this.a=0,this.b=e}function UAe(){throw R(new _t)}function XAe(){throw R(new _t)}function KAe(){throw R(new _t)}function VAe(){throw R(new _t)}function YAe(){throw R(new _t)}function QAe(){throw R(new _t)}function WAe(){throw R(new _t)}function ZAe(){throw R(new _t)}function eMe(){throw R(new _t)}function nMe(){throw R(new _t)}function jgn(){throw R(new hu)}function Egn(){throw R(new hu)}function tT(e){this.a=new EMe(e)}function y9(e,n){this.e=e,this.d=n}function Koe(e,n){this.b=e,this.c=n}function tMe(e){rle(e.dc()),this.c=e}function iT(e,n){Uv.call(this,e,n)}function k9(e,n){iT.call(this,e,n)}function iMe(e,n){this.a=e,this.b=n}function rMe(e,n){this.a=e,this.b=n}function cMe(e,n){this.a=e,this.b=n}function uMe(e,n){this.a=e,this.b=n}function oMe(e,n){this.a=e,this.b=n}function sMe(e,n){this.a=e,this.b=n}function lMe(e,n){this.a=e,this.b=n}function fMe(e,n){this.b=e,this.a=n}function aMe(e,n){this.b=e,this.a=n}function yw(e,n){this.g=e,this.i=n}function hMe(e,n){this.a=e,this.b=n}function dMe(e,n){this.b=e,this.a=n}function bMe(e,n){this.a=e,this.b=n}function gMe(e,n){this.b=e,this.a=n}function ZP(e){this.b=u(Ot(e),50)}function e$(e){this.b=u(Ot(e),92)}function Tt(e,n){this.f=e,this.g=n}function PX(e,n){this.a=e,this.b=n}function wMe(e,n){this.a=e,this.f=n}function pMe(e){this.a=u(Ot(e),16)}function Voe(e){this.a=u(Ot(e),16)}function mMe(e,n){this.b=e,this.c=n}function vMe(e){this.a=u(Ot(e),92)}function Sgn(e,n){this.a=e,this.b=n}function yMe(e,n){this.a=e,this.b=n}function kMe(e,n){return so(e.b,n)}function jMe(e,n){return e>n&&n0}function HX(e,n){return ao(e,n)<0}function JMe(e,n){return sV(e.a,n)}function Ggn(e,n){q_e.call(this,e,n)}function cse(e){OV(),cCn.call(this,e)}function use(e){OV(),cse.call(this,e)}function ose(e){cV(),nOe.call(this,e)}function sse(e,n){$Ie(e,e.length,n)}function lT(e,n){hDe(e,e.length,n)}function Rj(e,n){return e.a.get(n)}function HMe(e,n){return so(e.e,n)}function lse(e){return Ln(e),!1}function GMe(){return kAe(),new mnn}function fT(e){return at(e.a),e.b}function qMe(e,n){this.b=e,this.a=n}function l$(e,n){this.d=e,this.e=n}function UMe(e,n){this.a=e,this.b=n}function XMe(e,n){this.a=e,this.b=n}function KMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.b=e,this.a=n}function v5(e,n){this.a=e,this.b=n}function f$(e,n){Tt.call(this,e,n)}function GX(e,n){Tt.call(this,e,n)}function qX(e,n){Tt.call(this,e,n)}function UX(e,n){Tt.call(this,e,n)}function XX(e,n){Tt.call(this,e,n)}function a$(e,n){Tt.call(this,e,n)}function h$(e){yn.call(this,e,21)}function QMe(e,n){this.b=e,this.a=n}function fse(e,n){this.b=e,this.a=n}function ase(e,n){this.b=e,this.a=n}function hse(e,n){Tt.call(this,e,n)}function KX(e,n){Tt.call(this,e,n)}function aT(e,n){Tt.call(this,e,n)}function dse(e,n){this.b=e,this.a=n}function S9(e,n){this.c=e,this.d=n}function d$(e,n){Tt.call(this,e,n)}function b$(e,n){Tt.call(this,e,n)}function WMe(e,n){this.e=e,this.d=n}function y5(e,n){Tt.call(this,e,n)}function ZMe(e,n){this.a=e,this.b=n}function bse(e,n){Tt.call(this,e,n)}function br(e,n){Tt.call(this,e,n)}function g$(e,n){Tt.call(this,e,n)}function Bj(e,n,t){e.splice(n,0,t)}function qgn(e,n,t){e.Mb(t)&&n.Ad(t)}function Ugn(e,n,t){n.Ne(e.a.We(t))}function Xgn(e,n,t){n.Bd(e.a.Xe(t))}function Kgn(e,n,t){n.Ad(e.a.Kb(t))}function Vgn(e,n){return cs(e.c,n)}function Ygn(e,n){return cs(e.e,n)}function eCe(e,n){this.a=e,this.b=n}function nCe(e,n){this.a=e,this.b=n}function tCe(e,n){this.a=e,this.b=n}function iCe(e,n){this.a=e,this.b=n}function rCe(e,n){this.a=e,this.b=n}function cCe(e,n){this.a=e,this.b=n}function uCe(e,n){this.a=e,this.b=n}function oCe(e,n){this.a=e,this.b=n}function sCe(e,n){this.b=e,this.a=n}function lCe(e,n){this.b=e,this.a=n}function fCe(e,n){this.b=e,this.a=n}function aCe(e,n){this.b=n,this.c=e}function w$(e,n){Tt.call(this,e,n)}function hT(e,n){Tt.call(this,e,n)}function gse(e,n){Tt.call(this,e,n)}function zj(e,n){Tt.call(this,e,n)}function p$(e,n){Tt.call(this,e,n)}function VX(e,n){Tt.call(this,e,n)}function YX(e,n){Tt.call(this,e,n)}function Fj(e,n){Tt.call(this,e,n)}function Jj(e,n){Tt.call(this,e,n)}function wse(e,n){Tt.call(this,e,n)}function _v(e,n){Tt.call(this,e,n)}function QX(e,n){Tt.call(this,e,n)}function Hj(e,n){Tt.call(this,e,n)}function pse(e,n){Tt.call(this,e,n)}function g2(e,n){Tt.call(this,e,n)}function WX(e,n){Tt.call(this,e,n)}function ZX(e,n){Tt.call(this,e,n)}function eK(e,n){Tt.call(this,e,n)}function mse(e,n){Tt.call(this,e,n)}function dT(e,n){Tt.call(this,e,n)}function vse(e,n){Tt.call(this,e,n)}function Lv(e,n){Tt.call(this,e,n)}function nK(e,n){Tt.call(this,e,n)}function m$(e,n){Tt.call(this,e,n)}function bT(e,n){Tt.call(this,e,n)}function w2(e,n){Tt.call(this,e,n)}function v$(e,n){Tt.call(this,e,n)}function yse(e,n){Tt.call(this,e,n)}function tK(e,n){Tt.call(this,e,n)}function iK(e,n){Tt.call(this,e,n)}function rK(e,n){Tt.call(this,e,n)}function cK(e,n){Tt.call(this,e,n)}function uK(e,n){Tt.call(this,e,n)}function oK(e,n){Tt.call(this,e,n)}function y$(e,n){Tt.call(this,e,n)}function hCe(e,n){this.b=e,this.a=n}function kse(e,n){Tt.call(this,e,n)}function dCe(e,n){this.a=e,this.b=n}function bCe(e,n){this.a=e,this.b=n}function gCe(e,n){this.a=e,this.b=n}function jse(e,n){Tt.call(this,e,n)}function Ese(e,n){Tt.call(this,e,n)}function wCe(e,n){this.a=e,this.b=n}function Qgn(e,n){return N9(),n!=e}function sK(e){return QTn(e,e.c),e}function Wgn(e){k.clearTimeout(e)}function Sse(e,n){Tt.call(this,e,n)}function xse(e,n){Tt.call(this,e,n)}function pCe(e,n){this.a=e,this.b=n}function mCe(e,n){this.a=e,this.b=n}function vCe(e,n){this.b=e,this.d=n}function yCe(e,n){this.a=e,this.b=n}function kCe(e,n){this.b=e,this.a=n}function k$(e,n){Tt.call(this,e,n)}function kw(e,n){Tt.call(this,e,n)}function lK(e,n){Tt.call(this,e,n)}function j$(e,n){Tt.call(this,e,n)}function Ase(e,n){Tt.call(this,e,n)}function jCe(e,n){this.b=e,this.a=n}function ECe(e,n){this.b=e,this.a=n}function SCe(e,n){this.b=e,this.a=n}function xCe(e,n){this.b=e,this.a=n}function Mse(e,n){Tt.call(this,e,n)}function gT(e,n){Tt.call(this,e,n)}function Cse(e,n){Tt.call(this,e,n)}function fK(e,n){Tt.call(this,e,n)}function E$(e,n){Tt.call(this,e,n)}function aK(e,n){Tt.call(this,e,n)}function hK(e,n){Tt.call(this,e,n)}function S$(e,n){Tt.call(this,e,n)}function dK(e,n){Tt.call(this,e,n)}function Tse(e,n){Tt.call(this,e,n)}function bK(e,n){Tt.call(this,e,n)}function gK(e,n){Tt.call(this,e,n)}function wT(e,n){Tt.call(this,e,n)}function wK(e,n){Tt.call(this,e,n)}function Ose(e,n){Tt.call(this,e,n)}function pT(e,n){Tt.call(this,e,n)}function Nse(e,n){Tt.call(this,e,n)}function Ise(e,n){this.a=e,this.b=n}function ACe(e,n){this.a=e,this.b=n}function MCe(e,n){this.a=e,this.b=n}function CCe(){Z$(),this.a=new $le}function TCe(){Jz(),this.a=new ar}function OCe(){UV(),this.b=new ar}function NCe(){Sae(),Cfe.call(this)}function ICe(){Eae(),y_e.call(this)}function DCe(){Eae(),y_e.call(this)}function mT(e,n){Tt.call(this,e,n)}function k5(e,n){Tt.call(this,e,n)}function Gj(e,n){Tt.call(this,e,n)}function qj(e,n){Tt.call(this,e,n)}function vT(e,n){Tt.call(this,e,n)}function x$(e,n){Tt.call(this,e,n)}function pK(e,n){Tt.call(this,e,n)}function A$(e,n){Tt.call(this,e,n)}function Uj(e,n){Tt.call(this,e,n)}function mK(e,n){Tt.call(this,e,n)}function M$(e,n){Tt.call(this,e,n)}function Pv(e,n){Tt.call(this,e,n)}function yT(e,n){Tt.call(this,e,n)}function Xj(e,n){Tt.call(this,e,n)}function Kj(e,n){Tt.call(this,e,n)}function vK(e,n){Tt.call(this,e,n)}function kT(e,n){Tt.call(this,e,n)}function C$(e,n){Tt.call(this,e,n)}function $v(e,n){Tt.call(this,e,n)}function yK(e,n){Tt.call(this,e,n)}function kK(e,n){Tt.call(this,e,n)}function T$(e,n){Tt.call(this,e,n)}function Ee(e,n){this.a=e,this.b=n}function _Ce(e,n){this.a=e,this.b=n}function LCe(e,n){this.a=e,this.b=n}function PCe(e,n){this.a=e,this.b=n}function $Ce(e,n){this.a=e,this.b=n}function RCe(e,n){this.a=e,this.b=n}function BCe(e,n){this.a=e,this.b=n}function jc(e,n){this.a=e,this.b=n}function zCe(e,n){this.a=e,this.b=n}function FCe(e,n){this.a=e,this.b=n}function JCe(e,n){this.a=e,this.b=n}function HCe(e,n){this.a=e,this.b=n}function GCe(e,n){this.a=e,this.b=n}function qCe(e,n){this.a=e,this.b=n}function UCe(e,n){this.b=e,this.a=n}function XCe(e,n){this.b=e,this.a=n}function KCe(e,n){this.b=e,this.a=n}function VCe(e,n){this.b=e,this.a=n}function YCe(e,n){this.a=e,this.b=n}function QCe(e,n){this.a=e,this.b=n}function WCe(e,n){this.a=e,this.b=n}function ZCe(e,n){this.a=e,this.b=n}function eTe(e,n){this.f=e,this.c=n}function Dse(e,n){this.i=e,this.g=n}function O$(e,n){Tt.call(this,e,n)}function j5(e,n){Tt.call(this,e,n)}function N$(e,n){this.a=e,this.b=n}function nTe(e,n){this.a=e,this.b=n}function _se(e,n){this.d=e,this.e=n}function tTe(e,n){this.a=e,this.b=n}function iTe(e,n){this.a=e,this.b=n}function rTe(e,n){this.d=e,this.b=n}function cTe(e,n){this.e=e,this.a=n}function Lse(e,n){e.i=null,CB(e,n)}function Zgn(e,n){e&&ei(iD,e,n)}function uTe(e,n){return xQ(e.a,n)}function Pse(e,n){return cs(e.g,n)}function ewn(e,n){return cs(n.b,e)}function nwn(e,n){return-e.b.$e(n)}function I$(e){return LO(e.c,e.b)}function twn(e,n){w8n(new st(e),n)}function iwn(e,n,t){nGe(n,vW(e,t))}function rwn(e,n,t){nGe(n,vW(e,t))}function oTe(e,n){c8n(e.a,u(n,12))}function sTe(e,n){this.a=e,this.b=n}function jT(e,n){this.b=e,this.c=n}function M0(e,n){return e.Pd().Xb(n)}function D$(e,n){return T7n(e.Jc(),n)}function bu(e){return e?e.kd():null}function oe(e){return e??null}function p2(e){return typeof e===d4}function m2(e){return typeof e===$ge}function $r(e){return typeof e===aZ}function Vj(e,n){return ao(e,n)==0}function _$(e,n){return ao(e,n)>=0}function Yj(e,n){return ao(e,n)!=0}function $se(e,n){return e.a+=""+n,e}function cwn(e){return""+(Ln(e),e)}function lTe(e){return Is(e),e.d.gc()}function Rse(e){return kn(e,0),null}function L$(e){return oE(e==null),e}function Qj(e,n){return e.a+=""+n,e}function Bc(e,n){return e.a+=""+n,e}function Wj(e,n){return e.a+=""+n,e}function uo(e,n){return e.a+=""+n,e}function Kt(e,n){return e.a+=""+n,e}function fTe(e,n){e.q.setTime(eg(n))}function aTe(e,n){Lfe.call(this,e,n)}function hTe(e,n){Lfe.call(this,e,n)}function P$(e,n){Lfe.call(this,e,n)}function gc(e,n){Ki(e,n,e.c.b,e.c)}function Rv(e,n){Ki(e,n,e.a,e.a.a)}function uwn(e,n){return e.j[n.p]==2}function dTe(e,n){return e.a=n.g+1,e}function aa(e){return e.a=0,e.b=0,e}function bTe(e){Hu(this),NE(this,e)}function gTe(){this.b=0,this.a=!1}function wTe(){this.b=0,this.a=!1}function pTe(){this.b=new m5(H2(12))}function mTe(){mTe=Y,ltn=It(DQ())}function vTe(){vTe=Y,pin=It(KUe())}function yTe(){yTe=Y,lsn=It(bze())}function Bse(){Bse=Y,hoe(),Eme=new wt}function own(e){return Ot(e),new Zj(e)}function kTe(e,n){return oe(e)===oe(n)}function $$(e){return e<10?"0"+e:""+e}function jTe(e){return _o(e.l,e.m,e.h)}function su(e){return typeof e===$ge}function jK(e,n){return sf(e.a,0,n)}function E5(e){return lc((Ln(e),e))}function swn(e){return lc((Ln(e),e))}function lwn(e,n){return ji(e.a,n.a)}function zse(e,n){return oo(e.a,n.a)}function fwn(e,n){return fDe(e.a,n.a)}function dh(e,n){return e.indexOf(n)}function Fse(e,n){X9(e,0,e.length,n)}function ti(e,n){u$(),ei(AG,e,n)}function an(e,n){Pi.call(this,e,n)}function EK(e,n){S2.call(this,e,n)}function Bv(e,n){Dse.call(this,e,n)}function ETe(e,n){MT.call(this,e,n)}function SK(e,n){n8.call(this,e,n)}function Hh(){Kue.call(this,new L0)}function STe(){gR.call(this,0,0,0,0)}function Jse(e){return pu(e.b.b,e,0)}function xTe(e,n){return oo(e.g,n.g)}function awn(e){return e==dp||e==mm}function hwn(e){return e==dp||e==pm}function dwn(e,n){return oo(e.g,n.g)}function bwn(e,n){return rl(),n.a+=e}function gwn(e,n){return rl(),n.a+=e}function wwn(e,n){return rl(),n.c+=e}function pwn(e,n){return Ce(e.c,n),e}function ATe(e,n){return Ce(e.a,n),n}function Hse(e,n){return fl(e.a,n),e}function MTe(e){this.a=GMe(),this.b=e}function CTe(e){this.a=GMe(),this.b=e}function wc(e){this.a=e.a,this.b=e.b}function Zj(e){this.a=e,kC.call(this)}function TTe(e){this.a=e,kC.call(this)}function Fs(e){return e.sh()&&e.th()}function zv(e){return e!=rh&&e!=vb}function M1(e){return e==Zc||e==ru}function Fv(e){return e==Yl||e==th}function OTe(e){return e==V3||e==K3}function R$(e){return fl(new or,e)}function NTe(e){return NV(u(e,125))}function mwn(e,n){return ji(n.f,e.f)}function ITe(e,n){return new n8(n,e)}function vwn(e,n){return new n8(n,e)}function Dl(e,n,t){Os(e,n),Ns(e,t)}function xK(e,n,t){vB(e,n),yB(e,t)}function jw(e,n,t){Bw(e,n),Rw(e,t)}function ET(e,n,t){n3(e,n),t3(e,t)}function ST(e,n,t){i3(e,n),r3(e,t)}function AK(e,n){s8(e,n),Q9(e,e.D)}function MK(e){eTe.call(this,e,!0)}function S5(){Lf.call(this,0,0,0,0)}function DTe(){f$.call(this,"Head",1)}function _Te(){f$.call(this,"Tail",3)}function LTe(e,n,t){Ale.call(this,e,n,t)}function Ew(e){gR.call(this,e,e,e,e)}function C0(e){jh(),L7n.call(this,e)}function PTe(e){Ao(e.Qf(),new rje(e))}function Jv(e){return e!=null?Ni(e):0}function ywn(e,n){return B2(n,Pa(e))}function kwn(e,n){return B2(n,Pa(e))}function jwn(e,n){return e[e.length]=n}function Ewn(e,n){return e[e.length]=n}function Swn(e,n){return xB(AV(e.f),n)}function xwn(e,n){return xB(AV(e.n),n)}function Awn(e,n){return xB(AV(e.p),n)}function Gse(e){return _vn(e.b.Jc(),e.a)}function Mwn(e){return e==null?0:Ni(e)}function CK(e){e.c=le(Mr,Nn,1,0,5,1)}function $Te(e,n,t){ir(e.c[n.g],n.g,t)}function Cwn(e,n,t){u(e.c,72).Ei(n,t)}function Twn(e,n,t){Dl(t,t.i+e,t.j+n)}function Yr(e,n){Pi.call(this,e.b,n)}function Own(e,n){Et(Vu(e.a),bLe(n))}function Nwn(e,n){Et(Ts(e.a),gLe(n))}function Iwn(e,n){Qa||(e.b=n)}function TK(e,n,t){return ir(e,n,t),t}function Lt(){Lt=Y,new RTe,new Te}function RTe(){new wt,new wt,new wt}function Dwn(){throw R(new vd(Hen))}function _wn(){throw R(new vd(Hen))}function Lwn(){throw R(new vd(Gen))}function Pwn(){throw R(new vd(Gen))}function BTe(){BTe=Y,are=new UE(Mce)}function Da(){Da=Y,k.Math.log(2)}function _l(){_l=Y,g1=(RMe(),Dan)}function eE(e){ai(),pw.call(this,e)}function zTe(e){this.a=e,ufe.call(this,e)}function OK(e){this.a=e,e$.call(this,e)}function NK(e){this.a=e,e$.call(this,e)}function Tr(e,n){oV(e.c,e.c.length,n)}function gu(e){return e.an?1:0}function Use(e,n){return ao(e,n)>0?e:n}function _o(e,n,t){return{l:e,m:n,h:t}}function $wn(e,n){e.a!=null&&oTe(n,e.a)}function Rwn(e){fc(e,null),Gr(e,null)}function Bwn(e,n,t){return ei(e.g,t,n)}function zwn(e,n){Ot(n),Kv(e).Ic(new Pe)}function JTe(){Qde(),this.a=new sS(vve)}function B$(e){this.b=e,this.a=new Te}function HTe(e){this.b=new yy,this.a=e}function Xse(e){Rle.call(this),this.a=e}function GTe(e){bae.call(this),this.b=e}function qTe(){f$.call(this,"Range",2)}function z$(e){e.j=le(Pme,Me,324,0,0,1)}function UTe(e){e.a=new Jt,e.c=new Jt}function XTe(e){e.a=new wt,e.e=new wt}function Kse(e){return new Ee(e.c,e.d)}function Fwn(e){return new Ee(e.c,e.d)}function pc(e){return new Ee(e.a,e.b)}function Jwn(e,n){return ei(e.a,n.a,n)}function Hwn(e,n,t){return ei(e.k,t,n)}function Hv(e,n,t){return pde(n,t,e.c)}function Vse(e,n){return re(zn(e.i,n))}function Yse(e,n){return re(zn(e.j,n))}function KTe(e,n){return E$n(e.a,n,null)}function nE(e,n){return DPn(e.c,e.b,n)}function X(e,n){return e!=null&&$Q(e,n)}function VTe(e,n){kt(e),e.Fc(u(n,16))}function Gwn(e,n,t){e.c._c(n,u(t,136))}function qwn(e,n,t){e.c.Si(n,u(t,136))}function Uwn(e,n,t){return k$n(e,n,t),t}function Xwn(e,n){return cl(),n.n.b+=e}function IK(e,n){return fkn(e.Jc(),n)!=-1}function Kwn(e,n){return new EOe(e.Jc(),n)}function F$(e){return e.Ob()?e.Pb():null}function YTe(e){return vh(e,0,e.length)}function QTe(e){KV(e,null),VV(e,null)}function WTe(){MT.call(this,null,null)}function ZTe(){X$.call(this,null,null)}function eOe(){Tt.call(this,"INSTANCE",0)}function Gv(){this.a=le(Mr,Nn,1,8,5,1)}function Qse(e){this.a=e,wt.call(this)}function nOe(e){this.a=(En(),new g9(e))}function Vwn(e){this.b=(En(),new aX(e))}function x9(){x9=Y,Ume=new xX(null)}function Wse(){Wse=Y,Wse(),knn=new At}function Ce(e,n){return qn(e.c,n),!0}function tOe(e,n){e.c&&(vfe(n),I_e(n))}function Ywn(e,n){e.q.setHours(n),dS(e,n)}function Zse(e,n){return e.a.Ac(n)!=null}function DK(e,n){return e.a.Ac(n)!=null}function _a(e,n){return e.a[n.c.p][n.p]}function Qwn(e,n){return e.e[n.c.p][n.p]}function Wwn(e,n){return e.c[n.c.p][n.p]}function _K(e,n,t){return e.a[n.g][t.g]}function Zwn(e,n){return e.j[n.p]=cNn(n)}function x5(e,n){return e.a*n.a+e.b*n.b}function epn(e,n){return e.a=e}function cpn(e,n,t){return t?n!=0:n!=e-1}function iOe(e,n,t){e.a=n^1502,e.b=t^JZ}function upn(e,n,t){return e.a=n,e.b=t,e}function C1(e,n){return e.a*=n,e.b*=n,e}function tE(e,n,t){return ir(e.g,n,t),t}function opn(e,n,t,i){ir(e.a[n.g],t.g,i)}function mr(e,n,t){BT.call(this,e,n,t)}function J$(e,n,t){mr.call(this,e,n,t)}function rs(e,n,t){mr.call(this,e,n,t)}function rOe(e,n,t){J$.call(this,e,n,t)}function ele(e,n,t){BT.call(this,e,n,t)}function qv(e,n,t){BT.call(this,e,n,t)}function cOe(e,n,t){rR.call(this,e,n,t)}function nle(e,n,t){rR.call(this,e,n,t)}function uOe(e,n,t){nle.call(this,e,n,t)}function oOe(e,n,t){ele.call(this,e,n,t)}function T0(e){this.c=e,this.a=this.c.a}function st(e){this.i=e,this.f=this.i.j}function Uv(e,n){this.a=e,e$.call(this,n)}function sOe(e,n){this.a=e,OX.call(this,n)}function lOe(e,n){this.a=e,OX.call(this,n)}function fOe(e,n){this.a=e,OX.call(this,n)}function tle(e){this.a=e,GU.call(this,e.d)}function aOe(e){e.b.Qb(),--e.d.f.d,pR(e.d)}function hOe(e){e.a=u(Kn(e.b.a,4),129)}function dOe(e){e.a=u(Kn(e.b.a,4),129)}function spn(e){UT(e,wZe),$z(e,mRn(e))}function ile(e,n){return Bjn(e,new j0,n).a}function lpn(e){return nT(e.a)?dLe(e):null}function bOe(e){Cv.call(this,u(Ot(e),35))}function gOe(e){Cv.call(this,u(Ot(e),35))}function rle(e){if(!e)throw R(new ZC)}function cle(e){if(!e)throw R(new is)}function Qn(e,n){return Ot(n),new jOe(e,n)}function wOe(e,n){return new cqe(e.a,e.b,n)}function fpn(e){return e.l+e.m*p4+e.h*gg}function apn(e){return e==null?null:e.name}function ule(e,n,t){return e.indexOf(n,t)}function H$(e,n){return e.lastIndexOf(n)}function iE(e){return e==null?Vo:fu(e)}function $n(){$n=Y,cb=!1,w7=!0}function pOe(){pOe=Y,zX(),shn=new FU}function ole(){this.Bb|=256,this.Bb|=512}function mOe(){z$(this),IR(this),this.he()}function G$(e){Hr.call(this,e),this.a=e}function sle(e){ic.call(this,e),this.a=e}function lle(e){g9.call(this,e),this.a=e}function uf(e){Di.call(this,(Ln(e),e))}function il(e){Di.call(this,(Ln(e),e))}function LK(e){Kue.call(this,new ahe(e))}function vOe(e){this.a=e,Xi.call(this,e)}function fle(e,n){this.a=n,OX.call(this,e)}function yOe(e,n){this.a=n,uY.call(this,e)}function kOe(e,n){this.a=e,uY.call(this,n)}function jOe(e,n){this.a=n,ZP.call(this,e)}function EOe(e,n){this.a=n,ZP.call(this,e)}function ale(e){pX.call(this),ac(this,e)}function Js(e){return at(e.a!=null),e.a}function SOe(e,n){return Ce(n.a,e.a),e.a}function xOe(e,n){return Ce(n.b,e.a),e.a}function Sw(e,n){return Ce(n.a,e.a),e.a}function xT(e,n,t){return UY(e,n,n,t),e}function q$(e,n){return++e.b,Ce(e.a,n)}function hle(e,n){return++e.b,qo(e.a,n)}function hpn(e,n){return ji(e.c.d,n.c.d)}function dpn(e,n){return ji(e.c.c,n.c.c)}function bpn(e,n){return ji(e.n.a,n.n.a)}function Ho(e,n){return u(vi(e.b,n),16)}function gpn(e,n){return e.n.b=(Ln(n),n)}function wpn(e,n){return e.n.b=(Ln(n),n)}function cs(e,n){return!!n&&e.b[n.g]==n}function rE(e){return gu(e.a)||gu(e.b)}function ppn(e,n){return ji(e.e.b,n.e.b)}function mpn(e,n){return ji(e.e.a,n.e.a)}function vpn(e,n,t){return fPe(e,n,t,e.b)}function dle(e,n,t){return fPe(e,n,t,e.c)}function ypn(e){return rl(),!!e&&!e.dc()}function AOe(){Dj(),this.b=new zje(this)}function U$(){U$=Y,kJ=new Pi(rQe,0)}function A5(e){this.d=e,st.call(this,e)}function M5(e){this.c=e,st.call(this,e)}function AT(e){this.c=e,A5.call(this,e)}function ble(e,n){Ade.call(this,e,n,null)}function C5(e){return e.a!=null?e.a:null}function xw(e){return e.$H||(e.$H=++FBn)}function Ad(e){var n;n=e.a,e.a=e.b,e.b=n}function MT(e,n){$j(),this.a=e,this.b=n}function X$(e,n){xd(),this.b=e,this.c=n}function K$(e,n){fV(),this.f=n,this.d=e}function gle(e,n){nhe(n,e),this.c=e,this.b=n}function kpn(e,n){return dV(e.c).Kd().Xb(n)}function PK(e,n){return new MNe(e,e.gc(),n)}function jpn(e){return GP(),Nt((oLe(),Wen),e)}function Epn(e){return new P2(3,e)}function Gh(e){return ll(e,om),new xo(e)}function MOe(e){return J9(),parseInt(e)||-1}function A9(e,n,t){return ule(e,Xo(n),t)}function wle(e,n,t){u(fO(e,n),22).Ec(t)}function Spn(e,n,t){wQ(e.a,t),bz(e.a,n)}function M9(e,n,t){var i;i=e.dd(n),i.Rb(t)}function COe(e,n,t,i){Dfe.call(this,e,n,t,i)}function TOe(e){sfe.call(this,e,null,null)}function $K(e){d2(),this.b=e,this.a=!0}function OOe(e){n$(),this.b=e,this.a=!0}function NOe(e){if(!e)throw R(new Il)}function ple(e){if(!e)throw R(new ZC)}function xpn(e){if(!e)throw R(new gX)}function at(e){if(!e)throw R(new hu)}function v2(e){if(!e)throw R(new is)}function IOe(e){e.d=new TOe(e),e.e=new wt}function C9(e){return at(e.b!=0),e.a.a.c}function Df(e){return at(e.b!=0),e.c.b.c}function Apn(e,n){return UY(e,n,n+1,""),e}function DOe(e){lZ(),nxe(this),this.Df(e)}function _Oe(e){this.c=e,this.a=1,this.b=1}function CT(e){X(e,161)&&u(e,161).mi()}function LOe(e){return e.b=u(lae(e.a),45)}function y2(e,n){return u(Ba(e.a,n),35)}function wi(e,n){return!!e.q&&so(e.q,n)}function Mpn(e,n){return e>0?n/(e*e):n*100}function Cpn(e,n){return e>0?n*n/e:n*n*100}function Tpn(e){return e.f!=null?e.f:""+e.g}function RK(e){return e.f!=null?e.f:""+e.g}function Opn(e){return R1(),e.e.a+e.f.a/2}function Npn(e){return R1(),e.e.b+e.f.b/2}function Ipn(e,n,t){return R1(),t.e.b-e*n}function Dpn(e,n,t){return R1(),t.e.a-e*n}function _pn(e,n,t){return i$(),t.Lg(e,n)}function Lpn(e,n){return U0(),gn(e,n.e,n)}function Ppn(e,n,t){return Ce(n,cJe(e,t))}function $pn(e,n,t){oB(),e.nf(n)&&t.Ad(e)}function k2(e,n,t){return e.a+=n,e.b+=t,e}function POe(e,n,t){return e.a-=n,e.b-=t,e}function mle(e,n){return e.a=n.a,e.b=n.b,e}function V$(e){return e.a=-e.a,e.b=-e.b,e}function $Oe(e){this.c=e,Os(e,0),Ns(e,0)}function ROe(e){xi.call(this),OE(this,e)}function BOe(){Tt.call(this,"GROW_TREE",0)}function Hs(e,n,t){os.call(this,e,n,t,2)}function zOe(e,n){xd(),vle.call(this,e,n)}function vle(e,n){xd(),X$.call(this,e,n)}function FOe(e,n){xd(),X$.call(this,e,n)}function JOe(e,n){$j(),MT.call(this,e,n)}function BK(e,n){_l(),dR.call(this,e,n)}function HOe(e,n){_l(),BK.call(this,e,n)}function yle(e,n){_l(),BK.call(this,e,n)}function GOe(e,n){_l(),yle.call(this,e,n)}function kle(e,n){_l(),dR.call(this,e,n)}function qOe(e,n){_l(),kle.call(this,e,n)}function UOe(e,n){_l(),dR.call(this,e,n)}function Rpn(e,n){return e.c.Ec(u(n,136))}function Bpn(e,n){return u(zn(e.e,n),26)}function zpn(e,n){return u(zn(e.e,n),26)}function jle(e,n,t){return Zz(hO(e,n),t)}function Fpn(e,n,t){return n.xl(e.e,e.c,t)}function Jpn(e,n,t){return n.yl(e.e,e.c,t)}function zK(e,n){return J0(e.e,u(n,52))}function Hpn(e,n,t){HE(Vu(e.a),n,bLe(t))}function Gpn(e,n,t){HE(Ts(e.a),n,gLe(t))}function XOe(e,n){return Ln(e),e+UK(n)}function qpn(e){return e==null?null:fu(e)}function Upn(e){return e==null?null:fu(e)}function Xpn(e){return e==null?null:gCn(e)}function Kpn(e){return e==null?null:lRn(e)}function T1(e){e.o==null&&_On(e)}function Be(e){return oE(e==null||p2(e)),e}function re(e){return oE(e==null||m2(e)),e}function Pt(e){return oE(e==null||$r(e)),e}function Vpn(e,n){return qQ(e,n),new RDe(e,n)}function TT(e,n){this.c=e,y9.call(this,e,n)}function cE(e,n){this.a=e,TT.call(this,e,n)}function Ypn(e,n){this.d=e,nn(this),this.b=n}function Ele(){MBe.call(this),this.Bb|=Ec}function KOe(){this.a=new _w,this.b=new _w}function Sle(e){this.q=new k.Date(eg(e))}function Xv(){Xv=Y,W3=new ki("root")}function T9(){T9=Y,cD=new Nxe,new Ixe}function j2(){j2=Y,Zme=rn((Vs(),$g))}function Qpn(e,n){n.a?nOn(e,n):DK(e.a,n.b)}function VOe(e,n){Qa||Ce(e.a,n)}function Wpn(e,n){return sT(),e8(n.d.i,e)}function Zpn(e,n){return V5(),new GXe(n,e)}function e2n(e,n,t){return e.Le(n,t)<=0?t:n}function n2n(e,n,t){return e.Le(n,t)<=0?n:t}function t2n(e,n){return u(Ba(e.b,n),144)}function i2n(e,n){return u(Ba(e.c,n),233)}function FK(e){return u(Le(e.a,e.b),295)}function YOe(e){return new Ee(e.c,e.d+e.a)}function QOe(e){return Ln(e),e?1231:1237}function WOe(e){return cl(),OTe(u(e,203))}function xle(e,n){return u(zn(e.b,n),278)}function ZOe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function OT(e,n,t){++e.j,e.rj(),gY(e,n,t)}function Ale(e,n,t){rB.call(this,e,n,t,null)}function eNe(e,n,t){rB.call(this,e,n,t,null)}function Mle(e,n){wY.call(this,e),this.a=n}function Cle(e,n){wY.call(this,e),this.a=n}function Pi(e,n){ki.call(this,e),this.a=n}function Tle(e,n){ooe.call(this,e),this.a=n}function JK(e,n){ooe.call(this,e),this.a=n}function nNe(e,n){this.c=e,$w.call(this,n)}function tNe(e,n){this.a=e,USe.call(this,n)}function NT(e,n){this.a=e,USe.call(this,n)}function Ole(e,n,t){return t=dl(e,n,3,t),t}function Nle(e,n,t){return t=dl(e,n,6,t),t}function Ile(e,n,t){return t=dl(e,n,9,t),t}function bh(e,n){return UT(n,twe),e.f=n,e}function Dle(e,n){return(n&oi)%e.d.length}function iNe(e,n,t){return wge(e.c,e.b,n,t)}function r2n(e,n,t){return e.apply(n,t)}function rNe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function cNe(e,n,t){return e.a+=vh(n,0,t),e}function IT(e){return!e.a&&(e.a=new mn),e.a}function _le(e,n){var t;return t=e.e,e.e=n,t}function Lle(e,n){var t;return t=n,!!e.De(t)}function Jb(e,n){return $n(),e==n?0:e?1:-1}function E2(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function c2n(e,n){var t;t=e[FZ],t.call(e,n)}function u2n(e,n){var t;t=e[FZ],t.call(e,n)}function o2n(e,n,t){zb(),MP(e,n.Te(e.a,t))}function Ple(e,n,t){return P5(e,u(n,23),t)}function _f(e,n){return KP(new Array(n),e)}function s2n(e){return Rt(Ub(e,32))^Rt(e)}function HK(e){return String.fromCharCode(e)}function l2n(e){return e==null?null:e.message}function GK(e){this.a=(En(),new _n(Ot(e)))}function uNe(e){this.a=(ll(e,om),new xo(e))}function oNe(e){this.a=(ll(e,om),new xo(e))}function sNe(){this.a=new Te,this.b=new Te}function lNe(){this.a=new ov,this.b=new sxe}function $le(){this.b=new L0,this.a=new L0}function fNe(){this.b=new Vr,this.c=new Te}function Rle(){this.n=new Vr,this.o=new Vr}function Y$(){this.n=new a5,this.i=new S5}function aNe(){this.b=new ar,this.a=new ar}function hNe(){this.a=new Te,this.d=new Te}function dNe(){this.a=new IU,this.b=new f_}function bNe(){this.b=new FAe,this.a=new SM}function gNe(){this.b=new wt,this.a=new wt}function wNe(){Y$.call(this),this.a=new Vr}function Ble(e,n,t,i){gR.call(this,e,n,t,i)}function f2n(e,n){return e.n.a=(Ln(n),n+10)}function a2n(e,n){return e.n.a=(Ln(n),n+10)}function h2n(e,n){return sT(),!e8(n.d.i,e)}function pNe(e){Hu(e.e),e.d.b=e.d,e.d.a=e.d}function DT(e){e.b?DT(e.b):e.f.c.yc(e.e,e.d)}function d2n(e,n){M1(e.f)?AOn(e,n):mMn(e,n)}function mNe(e,n,t){t!=null&&AB(n,KQ(e,t))}function vNe(e,n,t){t!=null&&MB(n,KQ(e,t))}function T5(e,n,t,i){pe.call(this,e,n,t,i)}function zle(e,n,t,i){pe.call(this,e,n,t,i)}function yNe(e,n,t,i){zle.call(this,e,n,t,i)}function kNe(e,n,t,i){ER.call(this,e,n,t,i)}function qK(e,n,t,i){ER.call(this,e,n,t,i)}function jNe(e,n,t,i){qK.call(this,e,n,t,i)}function Fle(e,n,t,i){ER.call(this,e,n,t,i)}function In(e,n,t,i){Fle.call(this,e,n,t,i)}function Jle(e,n,t,i){qK.call(this,e,n,t,i)}function ENe(e,n,t,i){Jle.call(this,e,n,t,i)}function SNe(e,n,t,i){$fe.call(this,e,n,t,i)}function S2(e,n){jo.call(this,HS+e+yg+n)}function b2n(e,n){return n==e||E8(Pz(n),e)}function Hle(e,n){return e.hk().ti().oi(e,n)}function Gle(e,n){return e.hk().ti().qi(e,n)}function g2n(e,n){return e.e=u(e.d.Kb(n),162)}function xNe(e,n){return ei(e.a,n,"")==null}function ANe(e,n){return Ln(e),oe(e)===oe(n)}function bn(e,n){return Ln(e),oe(e)===oe(n)}function qle(e,n,t){return e.lastIndexOf(n,t)}function MNe(e,n,t){this.a=e,gle.call(this,n,t)}function CNe(e){this.c=e,P$.call(this,pN,0)}function TNe(e,n,t){this.c=n,this.b=t,this.a=e}function pi(e,n){return e.a+=n.a,e.b+=n.b,e}function Nr(e,n){return e.a-=n.a,e.b-=n.b,e}function w2n(e){return o2(e.j.c,0),e.a=-1,e}function p2n(e,n){var t;return t=n.ni(e.a),t}function Ule(e,n,t){return t=dl(e,n,11,t),t}function m2n(e,n,t){return ji(e[n.a],e[t.a])}function v2n(e,n){return oo(e.a.d.p,n.a.d.p)}function y2n(e,n){return oo(n.a.d.p,e.a.d.p)}function k2n(e,n){return ji(e.c-e.s,n.c-n.s)}function j2n(e,n){return ji(e.b.e.a,n.b.e.a)}function E2n(e,n){return ji(e.c.e.a,n.c.e.a)}function S2n(e,n){return he(n,(Oe(),gI),e)}function x2n(e,n){return e.b.zd(new XMe(e,n))}function A2n(e,n){return e.b.zd(new KMe(e,n))}function ONe(e,n){return e.b.zd(new VMe(e,n))}function NNe(e,n){return X(n,16)&&SXe(e.c,n)}function INe(e){return e.c?pu(e.c.a,e,0):-1}function M2n(e){return e<100?null:new E0(e)}function O5(e){return e==Pg||e==d1||e==to}function C2n(e,n,t){return u(e.c,72).Uk(n,t)}function Q$(e,n,t){return u(e.c,72).Vk(n,t)}function T2n(e,n,t){return Fpn(e,u(n,344),t)}function Xle(e,n,t){return Jpn(e,u(n,344),t)}function O2n(e,n,t){return aGe(e,u(n,344),t)}function DNe(e,n,t){return OMn(e,u(n,344),t)}function uE(e,n){return n==null?null:q2(e.b,n)}function N2n(e,n){Qa||n&&(e.d=n)}function Kle(e,n){if(!e)throw R(new Un(n))}function O9(e){if(!e)throw R(new Uc(Rge))}function UK(e){return m2(e)?(Ln(e),e):e.se()}function W$(e){return!isNaN(e)&&!isFinite(e)}function XK(e){UTe(this),qs(this),ac(this,e)}function bs(e){CK(this),ffe(this.c,0,e.Nc())}function _T(e){N9(),this.d=e,this.a=new Gv}function _Ne(e,n,t){this.d=e,this.b=t,this.a=n}function Ll(e,n,t){this.a=e,this.b=n,this.c=t}function LNe(e,n,t){this.a=e,this.b=n,this.c=t}function Vle(e,n){this.c=e,yV.call(this,e,n)}function PNe(e,n){Rvn.call(this,e,e.length,n)}function KK(e,n){if(e!=n)throw R(new Il)}function $Ne(e){this.a=e,Sd(),Lu(Date.now())}function RNe(e){As(e.a),she(e.c,e.b),e.b=null}function VK(){VK=Y,qme=new di,vnn=new Gt}function YK(e){var n;return n=new d6,n.e=e,n}function I2n(e,n,t){return zb(),e.a.Wd(n,t),n}function Yle(e,n,t){this.b=e,this.c=n,this.a=t}function Qle(e){var n;return n=new bxe,n.b=e,n}function D2n(e){return pa(),Nt((_$e(),Pnn),e)}function _2n(e){return K9(),Nt((K$e(),jnn),e)}function L2n(e){return Fl(),Nt((D$e(),Cnn),e)}function P2n(e){return ws(),Nt((L$e(),Rnn),e)}function $2n(e){return Uo(),Nt((P$e(),znn),e)}function R2n(e){return rF(),Nt((mTe(),ltn),e)}function B2n(e){return Fw(),Nt((Z$e(),atn),e)}function z2n(e){return r8(),Nt((eRe(),nin),e)}function F2n(e){return bB(),Nt((zPe(),ytn),e)}function J2n(e){return AE(),Nt((I$e(),Utn),e)}function H2n(e){return zr(),Nt((JRe(),Ytn),e)}function G2n(e){return t4(),Nt((W$e(),oin),e)}function q2n(e){return Fn(),Nt((fze(),ain),e)}function U2n(e){return Z9(),Nt((FPe(),win),e)}function QK(e){gR.call(this,e.d,e.c,e.a,e.b)}function Wle(e){gR.call(this,e.d,e.c,e.a,e.b)}function X2n(e){return Ur(),Nt((vTe(),pin),e)}function BNe(){BNe=Y,Ran=le(Mr,Nn,1,0,5,1)}function zNe(){zNe=Y,thn=le(Mr,Nn,1,0,5,1)}function Zle(){Zle=Y,ihn=le(Mr,Nn,1,0,5,1)}function LT(){LT=Y,MJ=new fq,CJ=new JA}function Z$(){Z$=Y,jin=new Tq,kin=new Oq}function rl(){rl=Y,Min=new kk,Cin=new ad}function K2n(e){return zw(),Nt((w$e(),Rin),e)}function V2n(e){return Ff(),Nt((rRe(),Nin),e)}function Y2n(e){return Y2(),Nt((PRe(),Din),e)}function Q2n(e){return Gz(),Nt((dze(),Bin),e)}function W2n(e){return u4(),Nt((wBe(),zin),e)}function Z2n(e){return uB(),Nt((EPe(),Fin),e)}function emn(e){return qE(),Nt((uRe(),Jin),e)}function nmn(e){return jB(),Nt((a$e(),Hin),e)}function tmn(e){return ZO(),Nt((vze(),Gin),e)}function imn(e){return gO(),Nt((SPe(),qin),e)}function rmn(e){return cg(),Nt((h$e(),Xin),e)}function cmn(e){return Tz(),Nt((gBe(),Kin),e)}function umn(e){return lO(),Nt((xPe(),Vin),e)}function omn(e){return qO(),Nt((dBe(),Yin),e)}function smn(e){return x8(),Nt((bBe(),Qin),e)}function lmn(e){return Ic(),Nt((Pze(),Win),e)}function fmn(e){return i8(),Nt((d$e(),Zin),e)}function amn(e){return B0(),Nt((b$e(),ern),e)}function hmn(e){return P1(),Nt((g$e(),trn),e)}function dmn(e){return XR(),Nt((APe(),irn),e)}function bmn(e){return Xs(),Nt((RRe(),crn),e)}function gmn(e){return YR(),Nt((MPe(),urn),e)}function wmn(e){return nN(),Nt((yze(),Xun),e)}function pmn(e){return BE(),Nt((p$e(),Kun),e)}function mmn(e){return V2(),Nt((tRe(),Vun),e)}function vmn(e){return VE(),Nt(($Re(),Yun),e)}function ymn(e){return V0(),Nt((Lze(),Qun),e)}function kmn(e){return H1(),Nt((iRe(),Wun),e)}function jmn(e){return aO(),Nt((CPe(),Zun),e)}function Emn(e){return Nc(),Nt((m$e(),non),e)}function Smn(e){return $B(),Nt((v$e(),ton),e)}function xmn(e){return RE(),Nt((y$e(),ion),e)}function Amn(e){return l8(),Nt((k$e(),ron),e)}function Mmn(e){return kB(),Nt((j$e(),con),e)}function Cmn(e){return RB(),Nt((E$e(),uon),e)}function Tmn(e){return zB(),Nt((Q$e(),yin),e)}function Omn(e){return og(),Nt((nRe(),xon),e)}function Nmn(e,n){return Ln(e),e+(Ln(n),n)}function Imn(e){return SE(),Nt((TPe(),Oon),e)}function Dmn(e){return gh(),Nt((NPe(),$on),e)}function _mn(e){return La(),Nt((OPe(),Bon),e)}function Lmn(e){return ba(),Nt((IPe(),esn),e)}function N9(){N9=Y,i4e=(Ie(),Yn),LH=nt}function Pmn(e){return Lw(),Nt((DPe(),osn),e)}function $mn(e){return c4(),Nt((lRe(),ssn),e)}function Rmn(e){return aS(),Nt((yTe(),lsn),e)}function Bmn(e){return $E(),Nt((S$e(),fsn),e)}function zmn(e){return PE(),Nt((cRe(),Dsn),e)}function Fmn(e){return UR(),Nt((_Pe(),_sn),e)}function Jmn(e){return TB(),Nt((LPe(),Bsn),e)}function Hmn(e){return Sz(),Nt((BRe(),Fsn),e)}function Gmn(e){return sB(),Nt((PPe(),Jsn),e)}function qmn(e){return CO(),Nt((x$e(),Hsn),e)}function Umn(e){return wz(),Nt((sRe(),lln),e)}function Xmn(e){return PB(),Nt((A$e(),fln),e)}function Kmn(e){return iz(),Nt((M$e(),aln),e)}function Vmn(e){return Az(),Nt((oRe(),dln),e)}function Ymn(e){return WB(),Nt((N$e(),wln),e)}function Qmn(e){return!e.e&&(e.e=new Te),e.e}function eR(e,n,t){this.e=n,this.b=e,this.d=t}function FNe(e,n,t){this.a=e,this.b=n,this.c=t}function JNe(e,n,t){this.a=e,this.b=n,this.c=t}function efe(e,n,t){this.a=e,this.b=n,this.c=t}function HNe(e,n,t){this.a=e,this.b=n,this.c=t}function GNe(e,n,t){this.a=e,this.c=n,this.b=t}function nR(e,n,t){this.b=e,this.a=n,this.c=t}function qNe(e,n,t){this.b=e,this.a=n,this.c=t}function WK(e,n){this.c=e,this.a=n,this.b=n-e}function Wmn(e){return XB(),Nt((T$e(),zln),e)}function Zmn(e){return c$(),Nt((ePe(),Uln),e)}function evn(e){return iO(),Nt((RPe(),Xln),e)}function nvn(e){return XO(),Nt((FRe(),Kln),e)}function tvn(e){return r$(),Nt((ZLe(),Gln),e)}function ivn(e){return oS(),Nt((zRe(),Jln),e)}function rvn(e){return DO(),Nt((O$e(),Hln),e)}function cvn(e){return eB(),Nt(($Pe(),Rln),e)}function uvn(e){return lB(),Nt((C$e(),Bln),e)}function ovn(e){return _j(),Nt((nPe(),ffn),e)}function svn(e){return jO(),Nt((BPe(),afn),e)}function lvn(e){return kh(),Nt((GRe(),pfn),e)}function fvn(e){return hg(),Nt((aze(),vfn),e)}function avn(e){return J1(),Nt((aRe(),nan),e)}function hvn(e){return vr(),Nt((HRe(),Wfn),e)}function dvn(e){return a8(),Nt((fRe(),Zfn),e)}function bvn(e){return za(),Nt(($$e(),ean),e)}function gvn(e){return Wh(),Nt((lBe(),yfn),e)}function wvn(e){return ag(),Nt((fBe(),Afn),e)}function pvn(e){return em(),Nt((jze(),oan),e)}function mvn(e){return l3(),Nt((qRe(),san),e)}function vvn(e){return Br(),Nt((hBe(),lan),e)}function yvn(e){return ps(),Nt((aBe(),fan),e)}function kvn(e){return al(),Nt((hRe(),uan),e)}function jvn(e){return Mz(),Nt((sBe(),tan),e)}function Evn(e){return F1(),Nt((B$e(),ran),e)}function Svn(e){return QR(),Nt((dRe(),yan),e)}function xvn(e){return _s(),Nt((kze(),man),e)}function Avn(e){return Z5(),Nt((R$e(),van),e)}function Mvn(e){return Ie(),Nt((URe(),aan),e)}function Cvn(e){return CE(),Nt((z$e(),wan),e)}function Tvn(e){return Vs(),Nt((bRe(),pan),e)}function Ovn(e){return ZB(),Nt((gRe(),kan),e)}function Nvn(e){return FB(),Nt((wRe(),San),e)}function Ivn(e){return M8(),Nt((hze(),$an),e)}function UNe(e,n,t){_l(),wae.call(this,e,n,t)}function ZK(e,n,t){_l(),Qfe.call(this,e,n,t)}function XNe(e,n,t){_l(),ZK.call(this,e,n,t)}function nfe(e,n,t){_l(),ZK.call(this,e,n,t)}function KNe(e,n,t){_l(),nfe.call(this,e,n,t)}function VNe(e,n,t){_l(),tfe.call(this,e,n,t)}function tfe(e,n,t){_l(),Qfe.call(this,e,n,t)}function ife(e,n,t){_l(),Qfe.call(this,e,n,t)}function YNe(e,n,t){_l(),ife.call(this,e,n,t)}function QNe(e,n,t){this.a=e,this.c=n,this.b=t}function WNe(e,n,t){this.a=e,this.b=n,this.c=t}function rfe(e,n,t){this.a=e,this.b=n,this.c=t}function cfe(e,n,t){this.a=e,this.b=n,this.c=t}function eV(e,n,t){this.a=e,this.b=n,this.c=t}function ZNe(e,n,t){this.a=e,this.b=n,this.c=t}function Md(e,n,t){this.e=e,this.a=n,this.c=t}function ufe(e){this.d=e,nn(this),this.b=x3n(e.d)}function ofe(e,n){Sgn.call(this,e,YB(new Su(n)))}function PT(e,n){return Ot(e),Ot(n),new rMe(e,n)}function N5(e,n){return Ot(e),Ot(n),new fIe(e,n)}function Dvn(e,n){return Ot(e),Ot(n),new aIe(e,n)}function _vn(e,n){return Ot(e),Ot(n),new gMe(e,n)}function nV(e){return at(e.b!=0),Rl(e,e.a.a)}function Lvn(e){return at(e.b!=0),Rl(e,e.c.b)}function Pvn(e){return!e.c&&(e.c=new Nl),e.c}function $T(e){var n;return n=new xi,BY(n,e),n}function eIe(e){var n;return n=new pX,BY(n,e),n}function $vn(e){var n;return n=new ar,MY(n,e),n}function I9(e){var n;return n=new Te,MY(n,e),n}function u(e,n){return oE(e==null||$Q(e,n)),e}function Rvn(e,n,t){ZIe.call(this,n,t),this.a=e}function nIe(e,n){this.c=e,this.b=n,this.a=!1}function tIe(){this.a=";,;",this.b="",this.c=""}function iIe(e,n,t){this.b=e,aTe.call(this,n,t)}function sfe(e,n,t){this.c=e,l$.call(this,n,t)}function lfe(e,n,t){S9.call(this,e,n),this.b=t}function ffe(e,n,t){tbe(t,0,e,n,t.length,!1)}function qh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function afe(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function Bvn(e,n){n&&(e.b=n,e.a=(N0(n),n.a))}function RT(e,n){if(!e)throw R(new Un(n))}function I5(e,n){if(!e)throw R(new Uc(n))}function hfe(e,n){if(!e)throw R(new lAe(n))}function zvn(e,n){return t$(),oo(e.d.p,n.d.p)}function Fvn(e,n){return R1(),ji(e.e.b,n.e.b)}function Jvn(e,n){return R1(),ji(e.e.a,n.e.a)}function Hvn(e,n){return oo(wIe(e.d),wIe(n.d))}function tR(e,n){return n&&CR(e,n.d)?n:null}function Gvn(e,n){return n==(Ie(),Yn)?e.c:e.d}function qvn(e){return new Ee(e.c+e.b,e.d+e.a)}function rIe(e){return e!=null&&!jQ(e,hA,dA)}function Uvn(e,n){return(zFe(e)<<4|zFe(n))&yr}function cIe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function dfe(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function bfe(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function Xvn(e,n){var t;return t=e.c,Ghe(e,n),t}function gfe(e,n){return n<0?e.g=-1:e.g=n,e}function iR(e,n){return R8n(e),e.a*=n,e.b*=n,e}function BT(e,n,t){_se.call(this,e,n),this.c=t}function rR(e,n,t){_se.call(this,e,n),this.c=t}function wfe(e){Zle(),xv.call(this),this._h(e)}function uIe(){q9(),cyn.call(this,(x0(),jf))}function oIe(e){return ai(),new Uh(0,e)}function sIe(){sIe=Y,Gce=(En(),new _n(Bne))}function cR(){cR=Y,new Tde((SX(),Qne),(EX(),Yne))}function lIe(){this.b=te(re(_e((Gf(),jte))))}function tV(e){this.b=e,this.a=Gb(this.b.a).Md()}function fIe(e,n){this.b=e,this.a=n,kC.call(this)}function aIe(e,n){this.a=e,this.b=n,kC.call(this)}function hIe(e,n,t){this.a=e,Bv.call(this,n,t)}function dIe(e,n,t){this.a=e,Bv.call(this,n,t)}function D9(e,n,t){var i;i=new O2(t),Rf(e,n,i)}function pfe(e,n,t){var i;return i=e[n],e[n]=t,i}function uR(e){var n;return n=e.slice(),yY(n,e)}function oR(e){var n;return n=e.n,e.a.b+n.d+n.a}function bIe(e){var n;return n=e.n,e.e.b+n.d+n.a}function mfe(e){var n;return n=e.n,e.e.a+n.b+n.c}function vfe(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function Vt(e,n){return Ki(e,n,e.c.b,e.c),!0}function Kvn(e){return e.a?e.a:IV(e)}function oE(e){if(!e)throw R(new b9(null))}function Aw(e,n){return ZE(e,new S9(n.a,n.b))}function Vvn(e){return!uc(e)&&e.c.i.c==e.d.i.c}function Yvn(e,n){return e.c=n)throw R(new kxe)}function Hu(e){e.f=new MTe(e),e.i=new CTe(e),++e.g}function kR(e){this.b=new xo(11),this.a=(Iw(),e)}function gV(e){this.b=null,this.a=(Iw(),e||Hme)}function Lfe(e,n){this.e=e,this.d=(n&64)!=0?n|Sh:n}function ZIe(e,n){this.c=0,this.d=e,this.b=n|64|Sh}function eDe(e){this.a=eHe(e.a),this.b=new bs(e.b)}function Cd(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function Pfe(e){var n;for(n=e;n.f;)n=n.f;return n}function I3n(e){return e.e?che(e.e):null}function aE(e){return ps(),!e.Gc(nd)&&!e.Gc(yb)}function nDe(e,n,t){return O8(),qY(e,n)&&qY(e,t)}function tDe(e,n,t){return fYe(e,u(n,12),u(t,12))}function wV(e,n){return n.Sh()?J0(e.b,u(n,52)):n}function jR(e){return new Ee(e.c+e.b/2,e.d+e.a/2)}function D3n(e,n,t){n.of(t,te(re(zn(e.b,t)))*e.a)}function _3n(e,n){n.Tg("General 'Rotator",1),V$n(e)}function Dr(e,n,t,i,r){mY.call(this,e,n,t,i,r,-1)}function hE(e,n,t,i,r){oO.call(this,e,n,t,i,r,-1)}function pe(e,n,t,i){mr.call(this,e,n,t),this.b=i}function ER(e,n,t,i){BT.call(this,e,n,t),this.b=i}function iDe(e){eTe.call(this,e,!1),this.a=!1}function rDe(){kK.call(this,"LOOKAHEAD_LAYOUT",1)}function cDe(){kK.call(this,"LAYOUT_NEXT_LEVEL",3)}function uDe(e){this.b=e,A5.call(this,e),hOe(this)}function oDe(e){this.b=e,AT.call(this,e),dOe(this)}function sDe(e,n){this.b=e,GU.call(this,e.b),this.a=n}function C2(e,n,t){this.a=e,T5.call(this,n,t,5,6)}function $fe(e,n,t,i){this.b=e,mr.call(this,n,t,i)}function Xb(e,n,t){jh(),this.e=e,this.d=n,this.a=t}function Zr(e,n){for(Ln(n);e.Ob();)n.Ad(e.Pb())}function SR(e,n){return ai(),new Wfe(e,n,0)}function pV(e,n){return ai(),new Wfe(6,e,n)}function L3n(e,n){return bn(e.substr(0,n.length),n)}function so(e,n){return $r(n)?BV(e,n):!!Xc(e.f,n)}function P3n(e){return _o(~e.l&Ls,~e.m&Ls,~e.h&U1)}function mV(e){return typeof e===dN||typeof e===hZ}function Kh(e){return new Xn(new fle(e.a.length,e.a))}function vV(e){return new pn(null,G3n(e,e.length))}function lDe(e){if(!e)throw R(new hu);return e.d}function L5(e){var n;return n=LE(e),at(n!=null),n}function $3n(e){var n;return n=Sjn(e),at(n!=null),n}function L9(e,n){var t;return t=e.a.gc(),nhe(n,t),t-n}function hr(e,n){var t;return t=e.a.yc(n,e),t==null}function FT(e,n){return e.a.yc(n,($n(),cb))==null}function R3n(e,n){return e>0?k.Math.log(e/n):-100}function Rfe(e,n){return n?ac(e,n):!1}function P5(e,n,t){return zf(e.a,n),pfe(e.b,n.g,t)}function B3n(e,n,t){_9(t,e.a.c.length),ol(e.a,t,n)}function ue(e,n,t,i){sFe(n,t,e.length),z3n(e,n,t,i)}function z3n(e,n,t,i){var r;for(r=n;r0?1:0}function bE(e){return e.e==0?e:new Xb(-e.e,e.d,e.a)}function J3n(e){return e==Vi?KN:e==Ir?"-INF":""+e}function H3n(e){return e==Vi?KN:e==Ir?"-INF":""+e}function G3n(e,n){return _8n(n,e.length),new yIe(e,n)}function aDe(e,n,t,i,r){for(;n=e.g}function CV(e,n,t){var i;return i=RY(e,n,t),Jbe(e,i)}function EDe(e,n){var t;t=console[e],t.call(console,n)}function $5(e,n){var t;t=e.a.length,R2(e,t),tY(e,t,n)}function SDe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function TV(e,n){for(Ln(n);e.c=e?new Woe:r7n(e-1)}function of(e){if(e==null)throw R(new l5);return e}function Ln(e){if(e==null)throw R(new l5);return e}function lyn(e){return!e.a&&(e.a=new mr(kb,e,4)),e.a}function Ow(e){return!e.d&&(e.d=new mr(Rc,e,1)),e.d}function fyn(e){if(e.p!=3)throw R(new is);return e.e}function ayn(e){if(e.p!=4)throw R(new is);return e.e}function hyn(e){if(e.p!=6)throw R(new is);return e.f}function dyn(e){if(e.p!=3)throw R(new is);return e.j}function byn(e){if(e.p!=4)throw R(new is);return e.j}function gyn(e){if(e.p!=6)throw R(new is);return e.k}function or(){Gxe.call(this),o2(this.j.c,0),this.a=-1}function _De(){Tt.call(this,"DELAUNAY_TRIANGULATION",0)}function wyn(){return GP(),F(z(Qen,1),je,537,0,[Zne])}function pyn(e,n,t){return Q5(),t.Kg(e,u(n.jd(),147))}function myn(e,n){Et((!e.a&&(e.a=new NT(e,e)),e.a),n)}function eae(e,n){e.c<0||e.b.b=0?e.hi(t):X0e(e,n)}function R9(e,n){var t;return t=MV("",e),t.n=n,t.i=1,t}function Nw(e){return e.c==-2&&sX(e,DMn(e.g,e.b)),e.c}function nae(e){return!e.b&&(e.b=new LP(new jX)),e.b}function LDe(e,n){return cR(),new Tde(new gOe(e),new bOe(n))}function yyn(e){return ll(e,wZ),gB(mc(mc(5,e),e/10|0))}function OV(){OV=Y,enn=new use(F(z(Eg,1),cF,45,0,[]))}function PDe(){S0e.call(this,jg,(MAe(),ahn)),RPn(this)}function $De(){S0e.call(this,df,(m9(),W8e)),ULn(this)}function RDe(e,n){Vwn.call(this,c7n(Ot(e),Ot(n))),this.a=n}function tae(e,n,t,i){yw.call(this,e,n),this.d=t,this.a=i}function TR(e,n,t,i){yw.call(this,e,t),this.a=n,this.f=i}function BDe(e,n){this.b=e,yV.call(this,e,n),hOe(this)}function zDe(e,n){this.b=e,Vle.call(this,e,n),dOe(this)}function mE(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function FDe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function B9(e){return!e.a&&(e.a=new dAe(e.c.vc())),e.a}function JDe(e){return!e.b&&(e.b=new g9(e.c.ec())),e.b}function HDe(e){return!e.d&&(e.d=new Hr(e.c.Bc())),e.d}function Vh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function GDe(e,n){var t;return t=new Xu(e),qn(n.c,t),t}function kyn(e,n){hV(u(n.b,68),e),Ao(n.a,new eoe(e))}function qDe(e,n){e.u.Gc((ps(),nd))&&TTn(e,n),O9n(e,n)}function Ku(e,n){return oe(e)===oe(n)||e!=null&&gi(e,n)}function ei(e,n,t){return $r(n)?Kc(e,n,t):Ko(e.f,n,t)}function iae(e){return En(),e?e.Me():(Iw(),Iw(),Gme)}function jyn(){return r$(),F(z(R6e,1),je,477,0,[Zre])}function Eyn(){return c$(),F(z(qln,1),je,546,0,[ece])}function Syn(){return _j(),F(z(c9e,1),je,527,0,[DI])}function zc(e,n){return sV(e.a,n)?e.b[u(n,23).g]:null}function xyn(e){return String.fromCharCode.apply(null,e)}function rc(e,n){return Wn(n,e.length),e.charCodeAt(n)}function HT(e){return e.j.c.length=0,uae(e.c),w2n(e.a),e}function z9(e){return e.e==d7&&a(e,XEn(e.g,e.b)),e.e}function GT(e){return e.f==d7&&w(e,Pxn(e.g,e.b)),e.f}function Ayn(e){return!e.b&&(e.b=new In(mt,e,4,7)),e.b}function rae(e){return!e.c&&(e.c=new In(mt,e,5,8)),e.c}function cae(e){return!e.c&&(e.c=new pe($s,e,9,9)),e.c}function NV(e){return!e.n&&(e.n=new pe(Eu,e,1,7)),e.n}function Kv(e){var n;return n=e.b,!n&&(e.b=n=new fj(e)),n}function uae(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function Myn(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function Cyn(e,n){return new m_e(u(Ot(e),51),u(Ot(n),51))}function li(e,n){return H0(e),new pn(e,new mhe(n,e.a))}function So(e,n){return H0(e),new pn(e,new rhe(n,e.a))}function N2(e,n){return H0(e),new Mle(e,new c$e(n,e.a))}function OR(e,n){return H0(e),new Cle(e,new u$e(n,e.a))}function UDe(e,n){ede(e,te(B1(n,"x")),te(B1(n,"y")))}function XDe(e,n){ede(e,te(B1(n,"x")),te(B1(n,"y")))}function Tyn(e,n){return Zoe(),ji((Ln(e),e),(Ln(n),n))}function Oyn(e,n){return ji(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function Nyn(e,n){return ji(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function Iyn(e){return e!=null&&Oj(MG,e.toLowerCase())}function Dyn(e){rl();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function IV(e){var n;return n=o7n(e),n||null}function ri(e,n,t,i){return cze(e,n,t,!1),UB(e,i),e}function _yn(e,n,t){zLn(e.a,t),ckn(t),hOn(e.b,t),oPn(n,t)}function R5(e,n,t,i){Tt.call(this,e,n),this.a=t,this.b=i}function NR(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function oae(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function KDe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function DV(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function VDe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Lf(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function _V(e,n,t){this.a=Gge,this.d=e,this.b=n,this.c=t}function sae(e,n){this.b=e,this.c=n,this.a=new p5(this.b)}function YDe(e,n){this.d=(Ln(e),e),this.a=16449,this.c=n}function QDe(e,n,t,i){eFe.call(this,e,t,i,!1),this.f=n}function LV(e,n,t){var i,r;return i=Nge(e),r=n.qi(t,i),r}function N1(e){var n,t;return t=(n=new mw,n),Y9(t,e),t}function PV(e){var n,t;return t=(n=new mw,n),M0e(t,e),t}function WDe(e){return!e.b&&(e.b=new pe(pr,e,12,3)),e.b}function ZDe(e){this.a=new Te,this.e=le($t,Me,54,e,0,2)}function $V(e){this.f=e,this.c=this.f.e,e.f>0&&VHe(this)}function e_e(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function n_e(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function t_e(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function i_e(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Vb(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function r_e(e,n,t,i){_l(),r$e.call(this,n,t,i),this.a=e}function c_e(e,n,t,i){_l(),r$e.call(this,n,t,i),this.a=e}function u_e(e,n){this.a=e,Ypn.call(this,e,u(e.d,16).dd(n))}function Lyn(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function Pyn(e,n){return ji(us(e)*Gs(e),us(n)*Gs(n))}function B5(e){var n;return n=e.f,n||(e.f=new y9(e,e.c))}function En(){En=Y,Sc=new Ae,u1=new fn,pJ=new $e}function Iw(){Iw=Y,Hme=new ge,ste=new ge,Gme=new tn}function F9(e){if(Is(e.d),e.d.d!=e.c)throw R(new Il)}function qs(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function lae(e){return at(e.b0?$f(e):new Te}function IR(e){return e.n&&(e.e!==SYe&&e.he(),e.j=null),e}function fae(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function Ryn(e,n,t){return Ce(e.a,(qQ(n,t),new yw(n,t))),e}function Byn(e,n){return u(C(e,(ve(),$4)),16).Ec(n),n}function zyn(e,n){return gn(e,u(C(n,(Oe(),Cm)),15),n)}function Fyn(e){return Vw(e)&&ze(Be(ke(e,(Oe(),Cg))))}function Jyn(e,n,t){return Dj(),Gjn(u(zn(e.e,n),516),t)}function Hyn(e,n,t){e.i=0,e.e=0,n!=t&&Yze(e,n,t)}function Gyn(e,n,t){e.i=0,e.e=0,n!=t&&Qze(e,n,t)}function o_e(e,n,t,i){this.b=e,this.c=i,P$.call(this,n,t)}function s_e(e,n){this.g=e,this.d=F(z(s1,1),Hd,9,0,[n])}function l_e(e,n){e.d&&!e.d.a&&(ZSe(e.d,n),l_e(e.d,n))}function f_e(e,n){e.e&&!e.e.a&&(ZSe(e.e,n),f_e(e.e,n))}function a_e(e,n){return s3(e.j,n.s,n.c)+s3(n.e,e.s,e.c)}function qyn(e,n){return-ji(us(e)*Gs(e),us(n)*Gs(n))}function Uyn(e){return u(e.jd(),147).Og()+":"+fu(e.kd())}function h_e(){bW(this,new LC),this.wb=(O0(),Bn),m9()}function d_e(e){this.b=new a_,this.a=e,k.Math.random()}function b_e(e){this.b=new Te,Sr(this.b,this.b),this.a=e}function aae(e,n){new xi,this.a=new xs,this.b=e,this.c=n}function g_e(){du.call(this,"There is no more element.")}function Xyn(e){XP(),k.setTimeout(function(){throw e},0)}function Kyn(e){e.Tg("No crossing minimization",1),e.Ug()}function Vyn(e,n){return Us(e),Us(n),cAe(u(e,23),u(n,23))}function Yb(e,n,t){var i,r;i=UK(t),r=new Tv(i),Rf(e,n,r)}function RV(e,n,t,i,r,c){oO.call(this,e,n,t,i,r,c?-2:-1)}function w_e(e,n,t,i){_se.call(this,n,t),this.b=e,this.a=i}function hae(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function DR(e){return!e.a&&(e.a=new pe(Ft,e,10,11)),e.a}function yi(e){return!e.q&&(e.q=new pe(kf,e,11,10)),e.q}function we(e){return!e.s&&(e.s=new pe(ns,e,21,17)),e.s}function p_e(e){return oE(e==null||mV(e)&&e.Rm!==vn),e}function _R(e,n){if(e==null)throw R(new b5(n));return e}function m_e(e,n){Obn.call(this,new gV(e)),this.a=e,this.b=n}function BV(e,n){return n==null?!!Xc(e.f,null):m3n(e.i,n)}function zV(e){return X(e,18)?new A2(u(e,18)):$vn(e.Jc())}function LR(e){return En(),X(e,59)?new DX(e):new G$(e)}function Yyn(e){return Ot(e),aHe(new Xn(Qn(e.a.Jc(),new ne)))}function Qyn(e){return new sOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function Wyn(e){return new lOe(e,e.e.Pd().gc()*e.c.Pd().gc())}function dae(e){return e&&e.hashCode?e.hashCode():xw(e)}function Zyn(e){e&&$R(e,e.ge())}function e5n(e,n){var t;return t=Zse(e.a,n),t&&(n.d=null),t}function v_e(e,n,t){return e.f?e.f.cf(n,t):!1}function qT(e,n,t,i){ir(e.c[n.g],t.g,i),ir(e.c[t.g],n.g,i)}function FV(e,n,t,i){ir(e.c[n.g],n.g,t),ir(e.b[n.g],n.g,i)}function n5n(e,n,t){return te(re(t.a))<=e&&te(re(t.b))>=n}function y_e(){this.d=new xi,this.b=new wt,this.c=new Te}function k_e(){this.b=new ar,this.d=new xi,this.e=new JP}function bae(){this.c=new Vr,this.d=new Vr,this.e=new Vr}function Dw(){this.a=new xs,this.b=(ll(3,om),new xo(3))}function j_e(e){this.c=e,this.b=new Ed(u(Ot(new ca),51))}function E_e(e){this.c=e,this.b=new Ed(u(Ot(new h0),51))}function S_e(e){this.b=e,this.a=new Ed(u(Ot(new uu),51))}function Td(e,n){this.e=e,this.a=Mr,this.b=zXe(n),this.c=n}function PR(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function x_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function A_e(e,n,t,i,r,c){this.a=e,DY.call(this,n,t,i,r,c)}function I0(e,n,t,i,r,c,o){return new cY(e.e,n,t,i,r,c,o)}function t5n(e,n,t){return t>=0&&bn(e.substr(t,n.length),n)}function M_e(e,n){return X(n,147)&&bn(e.b,u(n,147).Og())}function i5n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function C_e(e,n){var t;return t=e.b.Oc(n),kPe(t,e.b.gc()),t}function UT(e,n){if(e==null)throw R(new b5(n));return e}function tu(e){return e.u||(Ms(e),e.u=new tNe(e,e)),e.u}function Go(e){var n;return n=u(Kn(e,16),29),n||e.fi()}function $R(e,n){var t;return t=Bb(e.Pm),n==null?t:t+": "+n}function sf(e,n,t){return Qr(n,t,e.length),e.substr(n,t-n)}function T_e(e,n){Y$.call(this),Ohe(this),this.a=e,this.c=n}function O_e(){kK.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function r5n(){return uB(),F(z(p3e,1),je,422,0,[w3e,Kte])}function c5n(){return gO(),F(z(A3e,1),je,419,0,[WJ,x3e])}function u5n(){return lO(),F(z(T3e,1),je,476,0,[C3e,eH])}function o5n(){return XR(),F(z(H3e,1),je,420,0,[gie,J3e])}function s5n(){return YR(),F(z(iye,1),je,423,0,[xie,Sie])}function l5n(){return aO(),F(z(G5e,1),je,421,0,[ire,rre])}function f5n(){return SE(),F(z(Ton,1),je,518,0,[Lx,_x])}function a5n(){return La(),F(z(Ron,1),je,508,0,[Dg,Za])}function h5n(){return gh(),F(z(Pon,1),je,509,0,[Ep,Yd])}function d5n(){return ba(),F(z(Zon,1),je,515,0,[Pm,db])}function b5n(){return Lw(),F(z(usn,1),je,454,0,[bb,Y3])}function g5n(){return UR(),F(z(B4e,1),je,425,0,[Are,R4e])}function w5n(){return TB(),F(z(z4e,1),je,487,0,[GH,Z3])}function p5n(){return sB(),F(z(J4e,1),je,426,0,[F4e,Ire])}function m5n(){return bB(),F(z(ive,1),je,424,0,[yte,jJ])}function v5n(){return Z9(),F(z(gin,1),je,502,0,[tI,Dte])}function y5n(){return eB(),F(z(N6e,1),je,478,0,[Vre,O6e])}function k5n(){return iO(),F(z(B6e,1),je,428,0,[nce,nG])}function j5n(){return jO(),F(z(o9e,1),je,427,0,[iG,u9e])}function RR(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function XT(e){return e.b.b==0?e.a.uf():nV(e.b)}function E5n(e){if(e.p!=5)throw R(new is);return Rt(e.f)}function S5n(e){if(e.p!=5)throw R(new is);return Rt(e.k)}function gae(e){return oe(e.a)===oe((JY(),Fce))&&IPn(e),e.a}function N_e(e,n){wj(this,new Ee(e.a,e.b)),Ov(this,$T(n))}function _w(){Nbn.call(this,new m5(H2(12))),rle(!0),this.a=2}function JV(e,n,t){ai(),pw.call(this,e),this.b=n,this.a=t}function wae(e,n,t){_l(),$P.call(this,n),this.a=e,this.b=t}function x5n(e,n){var t=tte[e.charCodeAt(0)];return t??e}function BR(e,n){return _R(e,"set1"),_R(n,"set2"),new yMe(e,n)}function zR(e,n){return vPe(n),U8n(e,le($t,ni,30,n,15,1),n)}function A5n(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=hR(e.c,e.b,e.a))}function M5n(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=hR(e.c,e.b,e.a))}function I_e(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function D_e(e){return e.b==0?null:(at(e.b!=0),Rl(e,e.a.a))}function lo(e,n){return n==null?bu(Xc(e.f,null)):Rj(e.i,n)}function __e(e,n,t,i,r){return new wW(e,(K9(),hte),n,t,i,r)}function HV(e,n,t,i){var r;r=new wNe,n.a[t.g]=r,P5(e.b,i,r)}function L_e(e,n){var t,i;return t=n,i=new si,kVe(e,t,i),i.d}function C5n(e,n){var t;return t=z8n(e.f,n),pi(V$(t),e.f.d)}function KT(e){var n;e7n(e.a),PTe(e.a),n=new DP(e.a),lde(n)}function T5n(e,n){TXe(e,!0),Ao(e.e.Pf(),new Yle(e,!0,n))}function O5n(e,n){return R1(),u(C(n,(Mu(),Lh)),15).a==e}function lc(e){return Math.max(Math.min(e,oi),-2147483648)|0}function P_e(e){Y$.call(this),Ohe(this),this.a=e,this.c=!0}function pae(e,n,t){this.a=new Te,this.e=e,this.f=n,this.c=t}function FR(e,n,t){this.c=new Te,this.e=e,this.f=n,this.b=t}function $_e(e,n,t){this.i=new Te,this.b=e,this.g=n,this.a=t}function R_e(e){this.a=u(Ot(e),277),this.b=(En(),new lle(e))}function J9(){J9=Y;var e,n;n=!MEn(),e=new on,ite=n?new ln:e}function mae(){mae=Y,Nnn=new sh,Dnn=new Mfe,Inn=new Tb}function gh(){gh=Y,Ep=new jse(v4,0),Yd=new jse(m4,1)}function La(){La=Y,Dg=new Ese(KZ,0),Za=new Ese("UP",1)}function Lw(){Lw=Y,bb=new xse(m4,0),Y3=new xse(v4,1)}function Vv(e,n,t){JR(),e&&ei(Rce,e,n),e&&ei(iD,e,t)}function vae(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):jbe(e,n,t)}function B_e(e,n){var t;for(Ot(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function VT(e,n){var t;t=e.q.getHours(),e.q.setDate(n),dS(e,t)}function z_e(e){var n;return n=new QP(H2(e.length)),y1e(n,e),n}function N5n(e){function n(){}return n.prototype=e||{},new n}function I5n(e,n){return xze(e,n)?(xBe(e),!0):!1}function I1(e,n){if(n==null)throw R(new l5);return IEn(e,n)}function D5n(e){if(e.ye())return null;var n=e.n;return aJ[n]}function I2(e){return e.Db>>16!=3?null:u(e.Cb,26)}function Pa(e){return e.Db>>16!=9?null:u(e.Cb,26)}function F_e(e){return e.Db>>16!=6?null:u(e.Cb,85)}function J_e(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):jW(e,n)}function GV(e,n,t){var i;i=qze(e,n,t),e.b=new NB(i.c.length)}function H_e(e){this.a=e,this.b=le(Aon,Me,2005,e.e.length,0,2)}function G_e(){this.a=new Hh,this.e=new ar,this.g=0,this.i=0}function q_e(e,n){z$(this),this.f=n,this.g=e,IR(this),this.he()}function U_e(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function yae(e){var n;return n=e.d,n=e._i(e.f),Et(e,n),n.Ob()}function X_e(e,n){var t;return t=new Efe(n),EGe(t,e),new bs(t)}function _5n(e){if(e.p!=0)throw R(new is);return Yj(e.f,0)}function L5n(e){if(e.p!=0)throw R(new is);return Yj(e.k,0)}function K_e(e){return e.Db>>16!=7?null:u(e.Cb,241)}function kae(e){return e.Db>>16!=7?null:u(e.Cb,174)}function V_e(e){return e.Db>>16!=3?null:u(e.Cb,158)}function H9(e){return e.Db>>16!=6?null:u(e.Cb,241)}function Fi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function D2(e){return e.Db>>16!=17?null:u(e.Cb,29)}function vE(e,n,t,i,r,c){return new $1(e.e,n,e.Jj(),t,i,r,c)}function Kc(e,n,t){return n==null?Ko(e.f,null,t):Jw(e.i,n,t)}function qV(e,n){return k.Math.abs(e)0}function jae(e){var n;return H0(e),n=new ar,li(e,new Qke(n))}function Y_e(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function z5n(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),dS(e,t)}function fc(e,n){e.c&&qo(e.c.g,e),e.c=n,e.c&&Ce(e.c.g,e)}function Or(e,n){e.c&&qo(e.c.a,e),e.c=n,e.c&&Ce(e.c.a,e)}function Gr(e,n){e.d&&qo(e.d.e,e),e.d=n,e.d&&Ce(e.d.e,e)}function wu(e,n){e.i&&qo(e.i.j,e),e.i=n,e.i&&Ce(e.i.j,e)}function Q_e(e,n,t){this.a=n,this.c=e,this.b=(Ot(t),new bs(t))}function W_e(e,n,t){this.a=n,this.c=e,this.b=(Ot(t),new bs(t))}function Z_e(e,n){this.a=e,this.c=pc(this.a),this.b=new PR(n)}function _2(e,n){if(e<0||e>n)throw R(new jo(Zge+e+ewe+n))}function eLe(){eLe=Y,hon=Eo(new or,(zr(),Pc),(Ur(),I4))}function Eae(){Eae=Y,don=Eo(new or,(zr(),Pc),(Ur(),I4))}function nLe(){nLe=Y,oon=Eo(new or,(zr(),Pc),(Ur(),I4))}function tLe(){tLe=Y,son=Eo(new or,(zr(),Pc),(Ur(),I4))}function iLe(){iLe=Y,lon=Eo(new or,(zr(),Pc),(Ur(),I4))}function Sae(){Sae=Y,fon=Eo(new or,(zr(),Pc),(Ur(),I4))}function rLe(){rLe=Y,Non=qt(new or,(zr(),Pc),(Ur(),ox))}function cl(){cl=Y,_on=qt(new or,(zr(),Pc),(Ur(),ox))}function cLe(){cLe=Y,Lon=qt(new or,(zr(),Pc),(Ur(),ox))}function UV(){UV=Y,zon=qt(new or,(zr(),Pc),(Ur(),ox))}function uLe(){uLe=Y,Lsn=Eo(new or,(c4(),$x),(aS(),o4e))}function oLe(){oLe=Y,Wen=It((GP(),F(z(Qen,1),je,537,0,[Zne])))}function JR(){JR=Y,Rce=new wt,iD=new wt,Zgn(pnn,new U6)}function F5n(e,n){var t,i;t=n.c,i=t!=null,i&&$5(e,new O2(n.c))}function sLe(e,n){ryn(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function HR(e,n){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,n)}function XV(e,n){X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),4),Mo(e,n)}function J5n(e,n){Z1e(e,n),X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),2)}function H5n(e,n){return ji(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function G5n(e,n){return ji(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function fo(e,n){return Tc(),AY(n)?new lR(n,e):new jT(n,e)}function KV(e,n){e.a&&qo(e.a.k,e),e.a=n,e.a&&Ce(e.a.k,e)}function VV(e,n){e.b&&qo(e.b.f,e),e.b=n,e.b&&Ce(e.b.f,e)}function D0(e,n,t){$Fe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function z5(e){this.c=new xi,this.b=e.b,this.d=e.c,this.a=e.a}function YV(e){this.a=k.Math.cos(e),this.b=k.Math.sin(e)}function Qb(e,n,t,i){this.c=e,this.d=i,KV(this,n),VV(this,t)}function yn(e,n){this.b=(Ln(e),e),this.a=(n&sm)==0?n|64|Sh:n}function q5n(e,n){iOe(e,Rt(Rr(Mw(n,24),lF)),Rt(Rr(n,lF)))}function YT(e){return jh(),ao(e,0)>=0?G0(e):bE(G0(Id(e)))}function U5n(){return Fl(),F(z(Qo,1),je,130,0,[Yme,Yo,Qme])}function lLe(e,n,t){return new wW(e,(K9(),ate),null,!1,n,t)}function fLe(e,n,t){return new wW(e,(K9(),dte),n,t,null,!1)}function aLe(e,n,t){var i;$Fe(n,t,e.c.length),i=t-n,Uoe(e.c,n,i)}function hLe(e,n){var t;return t=u(q2(B5(e.a),n),18),t?t.gc():0}function xae(e){var n;return H0(e),n=(Iw(),Iw(),ste),wB(e,n)}function dLe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function bLe(e){var n,t;return t=(m9(),n=new mw,n),Y9(t,e),t}function gLe(e){var n,t;return t=(m9(),n=new mw,n),Y9(t,e),t}function Yv(e){return Dj(),X(e.g,9)?u(e.g,9):null}function X5n(){return zw(),F(z(Bte,1),je,368,0,[gp,sb,bp])}function K5n(){return jB(),F(z(j3e,1),je,350,0,[k3e,QJ,Vte])}function V5n(){return cg(),F(z(Uin,1),je,449,0,[iie,A7,R3])}function Y5n(){return i8(),F(z(die,1),je,302,0,[aie,hie,oI])}function Q5n(){return B0(),F(z(bie,1),je,329,0,[sI,F3e,Em])}function W5n(){return P1(),F(z(nrn,1),je,315,0,[lI,z3,D4])}function Z5n(){return BE(),F(z(_5e,1),je,352,0,[Yie,D5e,TH])}function e4n(){return Nc(),F(z(eon,1),je,452,0,[Nx,ys,Io])}function n4n(){return $B(),F(z(X5e,1),je,381,0,[q5e,cre,U5e])}function t4n(){return RE(),F(z(K5e,1),je,348,0,[ore,ure,jI])}function i4n(){return l8(),F(z(Y5e,1),je,349,0,[sre,V5e,Ix])}function r4n(){return kB(),F(z(Z5e,1),je,351,0,[W5e,lre,Q5e])}function c4n(){return RB(),F(z(e4e,1),je,382,0,[fre,R7,Lm])}function u4n(){return AE(),F(z(mve,1),je,384,0,[Ste,Ete,xte])}function o4n(){return pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])}function s4n(){return ws(),F(z($nn,1),je,461,0,[Ih,ub,Uf])}function l4n(){return Uo(),F(z(Bnn,1),je,462,0,[Ea,ob,Xf])}function f4n(){return $E(),F(z(p4e,1),je,385,0,[w4e,dre,xI])}function a4n(){return CO(),F(z(q4e,1),je,386,0,[qH,H4e,G4e])}function h4n(){return WB(),F(z(d6e,1),je,387,0,[h6e,qre,a6e])}function d4n(){return PB(),F(z(l6e,1),je,303,0,[$re,s6e,o6e])}function b4n(){return iz(),F(z(f6e,1),je,436,0,[Jx,KH,Rre])}function g4n(){return XB(),F(z($6e,1),je,430,0,[L6e,P6e,Qre])}function w4n(){return DO(),F(z(Wre,1),je,435,0,[WH,ZH,eG])}function p4n(){return lB(),F(z(_6e,1),je,429,0,[Yre,D6e,I6e])}function m4n(){return za(),F(z(r8e,1),je,279,0,[U7,Gm,X7])}function v4n(){return F1(),F(z(w8e,1),je,347,0,[hG,e0,iA])}function y4n(){return CE(),F(z(j8e,1),je,300,0,[KI,Tce,k8e])}function k4n(){return Z5(),F(z(x8e,1),je,281,0,[S8e,Um,mG])}function $a(e){return mu(F(z(Lr,1),Me,8,0,[e.i.n,e.n,e.a]))}function j4n(e,n,t){var i;i=new wc(t.d),pi(i,e),ede(n,i.a,i.b)}function wLe(e,n,t){var i;i=new mM,i.b=n,i.a=t,++n.b,Ce(e.d,i)}function E4n(e,n,t){var i;return i=wS(e,n,!1),i.b<=n&&i.a<=t}function S4n(e){if(e.p!=2)throw R(new is);return Rt(e.f)&yr}function x4n(e){if(e.p!=2)throw R(new is);return Rt(e.k)&yr}function kn(e,n){if(e<0||e>=n)throw R(new jo(Zge+e+ewe+n))}function Wn(e,n){if(e<0||e>=n)throw R(new _oe(Zge+e+ewe+n))}function A4n(e){return e.Db>>16!=6?null:u(xW(e),241)}function pLe(e,n){var t,i;return i=L9(e,n),t=e.a.dd(i),new mMe(e,t)}function M4n(e,n){var t;return t=(Ln(e),e).g,ple(!!t),Ln(n),t(n)}function C4n(e){return e.a==(q9(),NG)&&VC(e,rDn(e.g,e.b)),e.a}function F5(e){return e.d==(q9(),NG)&&Uue(e,tLn(e.g,e.b)),e.d}function Aae(e,n){Tbn.call(this,new m5(H2(e))),ll(n,mYe),this.a=n}function mLe(e,n,t){pw.call(this,25),this.b=e,this.a=n,this.c=t}function ul(e){ai(),pw.call(this,e),this.c=!1,this.a=!1}function vLe(e,n){Xb.call(this,1,2,F(z($t,1),ni,30,15,[e,n]))}function Rr(e,n){return R0(M3n(su(e)?lf(e):e,su(n)?lf(n):n))}function wh(e,n){return R0(C3n(su(e)?lf(e):e,su(n)?lf(n):n))}function QV(e,n){return R0(T3n(su(e)?lf(e):e,su(n)?lf(n):n))}function Mae(e,n){return RIe(e.a,n)?pfe(e.b,u(n,23).g,null):null}function Wb(e){return Ot(e),X(e,18)?new bs(u(e,18)):I9(e.Jc())}function WV(e){fR(),this.a=(En(),X(e,59)?new DX(e):new G$(e))}function T4n(e){var n;return n=u(uR(e.b),10),new Ll(e.a,n,e.c)}function O4n(e,n){var t;t=te(re(e.a.mf((Xt(),sG)))),GVe(e,n,t)}function N4n(e,n){return ME(),e.c==n.c?ji(n.d,e.d):ji(e.c,n.c)}function I4n(e,n){return ME(),e.c==n.c?ji(e.d,n.d):ji(e.c,n.c)}function D4n(e,n){return ME(),e.c==n.c?ji(e.d,n.d):ji(n.c,e.c)}function _4n(e,n){return ME(),e.c==n.c?ji(n.d,e.d):ji(n.c,e.c)}function L4n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function L(e){return at(e.ai?1:0}function kLe(e,n){var t,i;return t=kY(n),i=t,u(zn(e.c,i),15).a}function ZV(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function B4n(e,n,t){var i;e.n&&n&&t&&(i=new yL,Ce(e.e,i))}function eY(e,n){if(hr(e.a,n),n.d)throw R(new du(JYe));n.d=e}function Oae(e,n){this.a=new Te,this.d=new Te,this.f=e,this.c=n}function jLe(){Q5(),this.b=new wt,this.a=new wt,this.c=new Te}function ELe(){this.c=new JTe,this.a=new n$e,this.b=new pxe,_Me()}function SLe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function xLe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function ALe(e,n,t,i,r,c){Nhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function MLe(e,n,t,i,r,c){Ihe.call(this,e,n,t,i,r),c&&(this.o=-2)}function CLe(e,n,t,i,r,c){Uae.call(this,e,n,t,i,r),c&&(this.o=-2)}function TLe(e,n,t,i,r,c){Lhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function OLe(e,n,t,i,r,c){Xae.call(this,e,n,t,i,r),c&&(this.o=-2)}function NLe(e,n,t,i,r,c){Dhe.call(this,e,n,t,i,r),c&&(this.o=-2)}function ILe(e,n,t,i,r,c){_he.call(this,e,n,t,i,r),c&&(this.o=-2)}function DLe(e,n,t,i,r,c){Kae.call(this,e,n,t,i,r),c&&(this.o=-2)}function _Le(e,n,t,i){$P.call(this,t),this.b=e,this.c=n,this.d=i}function LLe(e,n){this.f=e,this.a=(q9(),OG),this.c=OG,this.b=n}function PLe(e,n){this.g=e,this.d=(q9(),NG),this.a=NG,this.b=n}function Nae(e,n){!e.c&&(e.c=new tr(e,0)),Wz(e.c,(Si(),gA),n)}function z4n(e,n){return POn(e,n,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function F4n(e,n){return fDe(Lu(e.q.getTime()),Lu(n.q.getTime()))}function $Le(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),16,new t5(e))}function J4n(e){return!!e.u&&Vu(e.u.a).i!=0&&!(e.n&&FQ(e.n))}function H4n(e){return!!e.a&&Ts(e.a.a).i!=0&&!(e.b&&JQ(e.b))}function Iae(e,n){return n==0?!!e.o&&e.o.f!=0:LQ(e,n)}function RLe(e){return at(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function yE(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function BLe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function qr(e,n){this.a=e,qc.call(this,e),_2(n,e.gc()),this.b=n}function zLe(e){this.a=le(Mr,Nn,1,w1e(k.Math.max(8,e))<<1,5,1)}function FLe(e){FY.call(this,e,(K9(),fte),null,!1,null,!1)}function JLe(e,n){var t;return t=1-n,e.a[t]=OB(e.a[t],t),OB(e,n)}function HLe(e,n){var t,i;return i=Rr(e,Dc),t=Xh(n,32),wh(t,i)}function G4n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function GLe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function qLe(e,n,t){var i;i=(Ot(e),new bs(e)),Sxn(new Q_e(i,n,t))}function WT(e,n,t){var i;i=(Ot(e),new bs(e)),xxn(new W_e(i,n,t))}function q4n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),qs(e.d),o2(e.e.a.c,0)}function ULe(e,n){var t;e.e=new Aoe,t=nm(n),Tr(t,e.c),pXe(e,t,0)}function U4n(e,n){return new eV(n,POe(pc(n.e),e,e),($n(),!0))}function X4n(e,n){return X5(),u(C(n,(Mu(),Q3)),15).a>=e.gc()}function K4n(e){return cl(),!uc(e)&&!(!uc(e)&&e.c.i.c==e.d.i.c)}function ph(e){return u(Fa(e,le(v7,Z8,17,e.c.length,0,1)),323)}function V4n(e){ZFe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),new $M)}function Dae(){var e,n,t;return n=(t=(e=new mw,e),t),Ce(s7e,n),n}function xu(e,n,t,i,r,c){return cze(e,n,t,c),q1e(e,i),U1e(e,r),e}function XLe(e,n,t,i){return e.a+=""+sf(n==null?Vo:fu(n),t,i),e}function ZT(e,n){if(e<0||e>=n)throw R(new jo(sTn(e,n)));return e}function KLe(e,n,t){if(e<0||nt)throw R(new jo(TCn(e,n,t)))}function xe(e,n,t,i){var r;r=new qM,r.a=n,r.b=t,r.c=i,Vt(e.b,r)}function qi(e,n,t,i){var r;r=new qM,r.a=n,r.b=t,r.c=i,Vt(e.a,r)}function Y4n(e,n,t){var i;i=QEn();try{return r2n(e,n,t)}finally{d9n(i)}}function eg(e){var n;return su(e)?(n=e,n==-0?0:n):f8n(e)}function VLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function YLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function QLe(e,n){return X(n,45)?XQ(e.a,u(n,45)):!1}function Q4n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function W4n(e){return Kv(e).dc()?!1:(zwn(e,new ae),!0)}function _ae(e){var n;return N0(e),n=new Hn,Dv(e.a,new Kke(n)),n}function GR(e){var n;return N0(e),n=new ut,Dv(e.a,new Vke(n)),n}function Z4n(e){if(!("stack"in e))try{throw e}catch{}return e}function qR(e){return new xo((ll(e,wZ),gB(mc(mc(5,e),e/10|0))))}function WLe(e){return u(Fa(e,le(hin,wQe,12,e.c.length,0,1)),2004)}function e6n(e){return rV(e.e.Pd().gc()*e.c.Pd().gc(),273,new HU(e))}function ZLe(){ZLe=Y,Gln=It((r$(),F(z(R6e,1),je,477,0,[Zre])))}function ePe(){ePe=Y,Uln=It((c$(),F(z(qln,1),je,546,0,[ece])))}function nPe(){nPe=Y,ffn=It((_j(),F(z(c9e,1),je,527,0,[DI])))}function tPe(){tPe=Y,t4e=LDe(ye(1),ye(4)),n4e=LDe(ye(1),ye(2))}function UR(){UR=Y,Are=new Ase("DFS",0),R4e=new Ase("BFS",1)}function XR(){XR=Y,gie=new mse(U8,0),J3e=new mse("TOP_LEFT",1)}function Lae(e,n,t){this.d=new lEe(this),this.e=e,this.i=n,this.f=t}function Pae(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function n6n(e,n,t){e.d&&qo(e.d.e,e),e.d=n,e.d&&Hb(e.d.e,t,e)}function t6n(e,n,t){var i;return i=m8(t),Uz(e.n,i,n),Uz(e.o,n,t),n}function G9(e,n){var t,i;return t=R2(e,n),i=null,t&&(i=t.qe()),i}function kE(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=t.qe()),i}function Pw(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=t.ne()),i}function D1(e,n){var t,i;return t=I1(e,n),i=null,t&&(i=_0e(t)),i}function jE(e,n){XRn(n,e),dfe(e.d),dfe(u(C(e,(Oe(),jH)),213))}function nY(e,n){KRn(n,e),bfe(e.d),bfe(u(C(e,(Oe(),jH)),213))}function _0(e,n){Ln(n),e.b=e.b-1&e.a.length-1,ir(e.a,e.b,n),CHe(e)}function $ae(e,n){Ln(n),ir(e.a,e.c,n),e.c=e.c+1&e.a.length-1,CHe(e)}function jt(e){return at(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function iPe(e){if(e.e.g!=e.b)throw R(new Il);return!!e.c&&e.d>0}function L2(e){return X(e,18)?u(e,18).dc():!e.Jc().Ob()}function i6n(e){return new yn(F8n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function rPe(e){var n;n=e.Dh(),this.a=X(n,72)?u(n,72).Gi():n.Jc()}function Rae(e,n){var t;return t=u(Ba(e.b,n),66),!t&&(t=new xi),t}function r6n(e,n){var t;t=n.a,fc(t,n.c.d),Gr(t,n.d.d),F2(t.a,e.n)}function cPe(e,n,t,i){return X(t,59)?new COe(e,n,t,i):new Dfe(e,n,t,i)}function c6n(){return Ff(),F(z(Oin,1),je,413,0,[km,k7,j7,Rte])}function u6n(){return Fw(),F(z(ftn,1),je,409,0,[WN,QN,mte,vte])}function o6n(){return r8(),F(z(ein,1),je,408,0,[dp,mm,pm,D3])}function s6n(){return K9(),F(z(mJ,1),je,309,0,[fte,ate,hte,dte])}function l6n(){return t4(),F(z(jve,1),je,383,0,[cx,kve,Ote,Nte])}function f6n(){return zB(),F(z(vin,1),je,367,0,[$te,qJ,UJ,iI])}function a6n(){return qE(),F(z(y3e,1),je,301,0,[lx,m3e,cI,v3e])}function h6n(){return V2(),F(z(Wie,1),je,203,0,[OH,Qie,V3,K3])}function d6n(){return H1(),F(z(H5e,1),je,269,0,[hb,J5e,nre,tre])}function b6n(){return og(),F(z(Son,1),je,404,0,[EI,Dx,_H,DH])}function g6n(e){var n;return e.j==(Ie(),bt)&&(n=cUe(e),cs(n,nt))}function w6n(){return c4(),F(z(c4e,1),je,398,0,[RH,Px,$x,Rx])}function uPe(e,n){return u(Js(M2(u(vi(e.k,n),16).Mc(),L3)),113)}function oPe(e,n){return u(Js(_5(u(vi(e.k,n),16).Mc(),L3)),113)}function p6n(e,n){return x5(new Ee(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function m6n(){return Az(),F(z(hln,1),je,401,0,[Jre,Bre,Fre,zre])}function v6n(){return wz(),F(z(u6e,1),je,354,0,[Pre,r6e,c6e,i6e])}function y6n(){return PE(),F(z($4e,1),je,353,0,[xre,HH,Sre,Ere])}function k6n(){return a8(),F(z(i8e,1),je,278,0,[JI,aG,n8e,t8e])}function j6n(){return J1(),F(z(Mce,1),je,222,0,[Ace,HI,K7,Z4])}function E6n(){return al(),F(z(can,1),je,292,0,[qI,a1,pb,GI])}function S6n(){return QR(),F(z(ZI,1),je,288,0,[A8e,C8e,Nce,M8e])}function x6n(){return Vs(),F(z(sA,1),je,380,0,[YI,$g,VI,qm])}function A6n(){return ZB(),F(z(I8e,1),je,326,0,[Ice,T8e,N8e,O8e])}function M6n(){return FB(),F(z(Ean,1),je,407,0,[Dce,_8e,D8e,L8e])}function Pl(e,n,t){return n<0?jW(e,t):u(t,69).uk().zk(e,e.ei(),n)}function C6n(e,n,t){var i;return i=m8(t),Uz(e.f,i,n),ei(e.g,n,t),n}function T6n(e,n,t){var i;return i=m8(t),Uz(e.p,i,n),ei(e.q,n,t),n}function sPe(e){var n,t;return n=(S0(),t=new Sv,t),e&&$z(n,e),n}function Bae(e){var n;return n=e.$i(e.i),e.i>0&&Wu(e.g,0,n,0,e.i),n}function J5(e){return Dj(),X(e.g,156)?u(e.g,156):null}function O6n(e){return JR(),so(Rce,e)?u(zn(Rce,e),342).Pg():null}function N6n(e){e.a=null,e.e=null,o2(e.b.c,0),o2(e.f.c,0),e.c=null}function lPe(e,n){var t;for(t=e.j.c.length;t>24}function D6n(e){if(e.p!=1)throw R(new is);return Rt(e.k)<<24>>24}function _6n(e){if(e.p!=7)throw R(new is);return Rt(e.k)<<16>>16}function L6n(e){if(e.p!=7)throw R(new is);return Rt(e.f)<<16>>16}function Qv(e,n){return n.e==0||e.e==0?ex:(N8(),TW(e,n))}function hPe(e,n){return oe(n)===oe(e)?"(this Map)":n==null?Vo:fu(n)}function P6n(e,n,t){return bV(re(bu(Xc(e.f,n))),re(bu(Xc(e.f,t))))}function $6n(e,n,t){var i;i=u(zn(e.g,t),60),Ce(e.a.c,new jc(n,i))}function dPe(e,n){var t;return t=new w5,e.Ed(t),t.a+="..",n.Fd(t),t.a}function da(e){var n;for(n=0;e.Ob();)e.Pb(),n=mc(n,1);return gB(n)}function R6n(e,n,t,i,r){var c;c=YOn(r,t,i),Ce(n,eTn(r,c)),KMn(e,r,n)}function bPe(e,n,t){e.i=0,e.e=0,n!=t&&(Qze(e,n,t),Yze(e,n,t))}function gPe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function zae(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function wPe(e,n){bae.call(this),this.a=e,this.b=n,Ce(this.a.b,this)}function _1(e,n){jh(),Xb.call(this,e,1,F(z($t,1),ni,30,15,[n]))}function B6n(e,n,t){return _8(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function KR(e,n,t){return Kz(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function z6n(e,n,t){return JOn(e,n,t,X(n,103)&&(u(n,19).Bb&Ec)!=0)}function Fae(e,n){return e==(Fn(),Wi)&&n==Wi?4:e==Wi||n==Wi?8:32}function F6n(e,n){return u(n==null?bu(Xc(e.f,null)):Rj(e.i,n),290)}function pPe(e,n){var t;for(t=n;t;)k2(e,t.i,t.j),t=Fi(t);return e}function Vu(e){return e.n||(Ms(e),e.n=new GIe(e,Rc,e),tu(e)),e.n}function Yh(e,n){Tc();var t;return t=u(e,69).tk(),oCn(t,n),t.vl(n)}function EE(e){return at(e.a"+Cae(e.d):"e_"+xw(e)}function H6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),L$(t)}function G6n(e,n){var t;return t=n!=null?lo(e,n):bu(Xc(e.f,n)),L$(t)}function kPe(e,n){var t;for(t=0;t=0&&e.a[t]===n[t];t--);return t<0}function V6n(e,n){var t,i;i=!1;do t=Bze(e,n),i=i|t;while(t);return i}function SE(){SE=Y,Lx=new kse("UPPER",0),_x=new kse("LOWER",1)}function YR(){YR=Y,xie=new vse(ya,0),Sie=new vse("ALTERNATING",1)}function QR(){QR=Y,A8e=new jIe,C8e=new rDe,Nce=new O_e,M8e=new cDe}function EPe(){EPe=Y,Fin=It((uB(),F(z(p3e,1),je,422,0,[w3e,Kte])))}function SPe(){SPe=Y,qin=It((gO(),F(z(A3e,1),je,419,0,[WJ,x3e])))}function xPe(){xPe=Y,Vin=It((lO(),F(z(T3e,1),je,476,0,[C3e,eH])))}function APe(){APe=Y,irn=It((XR(),F(z(H3e,1),je,420,0,[gie,J3e])))}function MPe(){MPe=Y,urn=It((YR(),F(z(iye,1),je,423,0,[xie,Sie])))}function CPe(){CPe=Y,Zun=It((aO(),F(z(G5e,1),je,421,0,[ire,rre])))}function TPe(){TPe=Y,Oon=It((SE(),F(z(Ton,1),je,518,0,[Lx,_x])))}function OPe(){OPe=Y,Bon=It((La(),F(z(Ron,1),je,508,0,[Dg,Za])))}function NPe(){NPe=Y,$on=It((gh(),F(z(Pon,1),je,509,0,[Ep,Yd])))}function IPe(){IPe=Y,esn=It((ba(),F(z(Zon,1),je,515,0,[Pm,db])))}function DPe(){DPe=Y,osn=It((Lw(),F(z(usn,1),je,454,0,[bb,Y3])))}function _Pe(){_Pe=Y,_sn=It((UR(),F(z(B4e,1),je,425,0,[Are,R4e])))}function LPe(){LPe=Y,Bsn=It((TB(),F(z(z4e,1),je,487,0,[GH,Z3])))}function PPe(){PPe=Y,Jsn=It((sB(),F(z(J4e,1),je,426,0,[F4e,Ire])))}function $Pe(){$Pe=Y,Rln=It((eB(),F(z(N6e,1),je,478,0,[Vre,O6e])))}function RPe(){RPe=Y,Xln=It((iO(),F(z(B6e,1),je,428,0,[nce,nG])))}function BPe(){BPe=Y,afn=It((jO(),F(z(o9e,1),je,427,0,[iG,u9e])))}function zPe(){zPe=Y,ytn=It((bB(),F(z(ive,1),je,424,0,[yte,jJ])))}function FPe(){FPe=Y,win=It((Z9(),F(z(gin,1),je,502,0,[tI,Dte])))}function WR(e){m0e(),iOe(this,Rt(Rr(Mw(e,24),lF)),Rt(Rr(e,lF)))}function Y6n(e){return(e.k==(Fn(),Wi)||e.k==wr)&&wi(e,(ve(),dx))}function Q6n(e,n,t){return u(n==null?Ko(e.f,null,t):Jw(e.i,n,t),290)}function W6n(){return vr(),F(z(nA,1),je,86,0,[ih,ru,Zc,th,Yl])}function Z6n(){return Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])}function e9n(e){return XP(),function(){return Y4n(e,this,arguments)}}function JPe(e,n){var t;return t=n.jd(),new yw(t,e.e.pc(t,u(n.kd(),18)))}function HPe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&Ku(i.e,n.kd())}function cc(e,n){var t,i;for(Ln(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function ol(e,n,t){var i;return i=(kn(n,e.c.length),e.c[n]),e.c[n]=t,i}function qae(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function GPe(e,n){var t;for(t=n;t;)k2(e,-t.i,-t.j),t=Fi(t);return e}function n9n(e,n){var t;return t=e.a.get(n),t??le(Mr,Nn,1,0,5,1)}function Wv(e,n){return(H0(e),v9(new pn(e,new mhe(n,e.a)))).zd(C4)}function t9n(){return zr(),F(z(vve,1),je,363,0,[Kf,o1,eo,no,Pc])}function qPe(e){oYe(),nxe(this),this.a=new xi,M1e(this,e),Vt(this.a,e)}function UPe(){CK(this),this.b=new Ee(Vi,Vi),this.a=new Ee(Ir,Ir)}function oY(e){ZR(),!Qa&&(this.c=e,this.e=!0,this.a=new Te)}function ZR(){ZR=Y,Qa=!0,Snn=!1,xnn=!1,Mnn=!1,Ann=!1}function eB(){eB=Y,Vre=new Tse(wwe,0),O6e=new Tse("TARGET_WIDTH",1)}function i9n(){return Sz(),F(z(zsn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])}function r9n(){return Y2(),F(z(Iin,1),je,371,0,[rI,VJ,YJ,KJ,XJ])}function c9n(){return VE(),F(z(P5e,1),je,328,0,[L5e,Zie,ere,Cx,Tx])}function u9n(){return Xs(),F(z(tye,1),je,165,0,[dI,wx,Q1,px,Mg])}function o9n(){return oS(),F(z(Fln,1),je,369,0,[ey,U4,Kx,Xx,II])}function s9n(){return XO(),F(z(H6e,1),je,330,0,[z6e,tce,J6e,ice,F6e])}function l9n(){return kh(),F(z(eh,1),je,160,0,[Tn,fr,Aa,Wd,Z1])}function f9n(){return l3(),F(z(cA,1),je,257,0,[mb,UI,p8e,rA,m8e])}function sY(e,n){var t;return t=u(Ba(e.d,n),21),t||u(Ba(e.e,n),21)}function XPe(e){this.b=e,st.call(this,e),this.a=u(Kn(this.b.a,4),129)}function KPe(e){this.b=e,M5.call(this,e),this.a=u(Kn(this.b.a,4),129)}function VPe(e,n){this.c=0,this.b=n,hTe.call(this,e,17493),this.a=this.c}function Pf(e,n,t,i,r){t$e.call(this,n,i,r),this.c=e,this.b=t}function Uae(e,n,t,i,r){SLe.call(this,n,i,r),this.c=e,this.a=t}function Xae(e,n,t,i,r){xLe.call(this,n,i,r),this.c=e,this.a=t}function Kae(e,n,t,i,r){t$e.call(this,n,i,r),this.c=e,this.a=t}function Vae(e,n,t){e.a.c.length=0,$Pn(e,n,t),e.a.c.length==0||l_n(e,n)}function eO(e){e.i=0,lT(e.b,null),lT(e.c,null),e.a=null,e.e=null,++e.g}function a9n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function Yae(e,n){return X(n,144)?bn(e.c,u(n,144).c):!1}function YPe(e){var n;return e.c||(n=e.r,X(n,88)&&(e.c=u(n,29))),e.c}function Ms(e){return e.t||(e.t=new GSe(e),HE(new sAe(e),0,e.t)),e.t}function uc(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function H5(e,n){return n==0||e.e==0?e:n>0?pJe(e,n):rXe(e,-n)}function Qae(e,n){return n==0||e.e==0?e:n>0?rXe(e,n):pJe(e,-n)}function rt(e){if(ht(e))return e.c=e.a,e.a.Pb();throw R(new hu)}function QPe(e){var n;return n=e.length,bn(Rn.substr(Rn.length-n,n),e)}function WPe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(Fn(),wr)&&t.k==wr}function lY(e){var n,t,i;return n=e&Ls,t=e>>22&Ls,i=e<0?U1:0,_o(n,t,i)}function h9n(e,n){var t,i;t=u(ujn(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function d9n(e){e&&g8n((Ooe(),jme)),--hJ,e&&dJ!=-1&&(Wgn(dJ),dJ=-1)}function Wae(e){Ggn.call(this,e==null?Vo:fu(e),X(e,80)?u(e,80):null)}function fY(e){var n;return n=new Dw,Pu(n,e),he(n,(Oe(),Wc),null),n}function aY(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):Yw(e,n,t)}function b9n(e,n,t){return ji(x5(v8(e),pc(n.b)),x5(v8(e),pc(t.b)))}function g9n(e,n,t){return ji(x5(v8(e),pc(n.e)),x5(v8(e),pc(t.e)))}function w9n(e,n){return k.Math.min(P0(n.a,e.d.d.c),P0(n.b,e.d.d.c))}function ZPe(e,n,t){var i;i=new Qse(e.a),NE(i,e.a.a),Ko(i.f,n,t),e.a.a=i}function Zae(e,n,t,i){var r;for(r=0;rn)throw R(new jo(H0e(e,n,"index")));return e}function the(e){var n;return n=e.e+e.f,isNaN(n)&&W$(e.d)?e.d:n}function m9n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),dS(e,t)}function ihe(e,n){var t,i;return t=(Ln(e),e),i=(Ln(n),n),t==i?0:tn.p?-1:0}function s$e(e,n){return so(e.a,n)?(G5(e.a,n),!0):!1}function j9n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),PT(t.Lc(),new r9(n))}function dY(e){var n;return n=e.b,n.b==0?null:u(Yu(n,0),65).b}function iB(e,n){return Ln(n),e.c=0,"Initial capacity must not be negative")}function cB(){cB=Y,Vx=new ki("org.eclipse.elk.labels.labelManager")}function f$e(){f$e=Y,a3e=new Pi("separateLayerConnections",(zB(),$te))}function ba(){ba=Y,Pm=new Sse("REGULAR",0),db=new Sse("CRITICAL",1)}function iO(){iO=Y,nce=new Ose("FIXED",0),nG=new Ose("CENTER_NODE",1)}function uB(){uB=Y,w3e=new gse("QUADRATIC",0),Kte=new gse("SCANLINE",1)}function a$e(){a$e=Y,Hin=It((jB(),F(z(j3e,1),je,350,0,[k3e,QJ,Vte])))}function h$e(){h$e=Y,Xin=It((cg(),F(z(Uin,1),je,449,0,[iie,A7,R3])))}function d$e(){d$e=Y,Zin=It((i8(),F(z(die,1),je,302,0,[aie,hie,oI])))}function b$e(){b$e=Y,ern=It((B0(),F(z(bie,1),je,329,0,[sI,F3e,Em])))}function g$e(){g$e=Y,trn=It((P1(),F(z(nrn,1),je,315,0,[lI,z3,D4])))}function w$e(){w$e=Y,Rin=It((zw(),F(z(Bte,1),je,368,0,[gp,sb,bp])))}function p$e(){p$e=Y,Kun=It((BE(),F(z(_5e,1),je,352,0,[Yie,D5e,TH])))}function m$e(){m$e=Y,non=It((Nc(),F(z(eon,1),je,452,0,[Nx,ys,Io])))}function v$e(){v$e=Y,ton=It(($B(),F(z(X5e,1),je,381,0,[q5e,cre,U5e])))}function y$e(){y$e=Y,ion=It((RE(),F(z(K5e,1),je,348,0,[ore,ure,jI])))}function k$e(){k$e=Y,ron=It((l8(),F(z(Y5e,1),je,349,0,[sre,V5e,Ix])))}function j$e(){j$e=Y,con=It((kB(),F(z(Z5e,1),je,351,0,[W5e,lre,Q5e])))}function E$e(){E$e=Y,uon=It((RB(),F(z(e4e,1),je,382,0,[fre,R7,Lm])))}function S$e(){S$e=Y,fsn=It(($E(),F(z(p4e,1),je,385,0,[w4e,dre,xI])))}function x$e(){x$e=Y,Hsn=It((CO(),F(z(q4e,1),je,386,0,[qH,H4e,G4e])))}function A$e(){A$e=Y,fln=It((PB(),F(z(l6e,1),je,303,0,[$re,s6e,o6e])))}function M$e(){M$e=Y,aln=It((iz(),F(z(f6e,1),je,436,0,[Jx,KH,Rre])))}function C$e(){C$e=Y,Bln=It((lB(),F(z(_6e,1),je,429,0,[Yre,D6e,I6e])))}function T$e(){T$e=Y,zln=It((XB(),F(z($6e,1),je,430,0,[L6e,P6e,Qre])))}function O$e(){O$e=Y,Hln=It((DO(),F(z(Wre,1),je,435,0,[WH,ZH,eG])))}function N$e(){N$e=Y,wln=It((WB(),F(z(d6e,1),je,387,0,[h6e,qre,a6e])))}function I$e(){I$e=Y,Utn=It((AE(),F(z(mve,1),je,384,0,[Ste,Ete,xte])))}function D$e(){D$e=Y,Cnn=It((Fl(),F(z(Qo,1),je,130,0,[Yme,Yo,Qme])))}function _$e(){_$e=Y,Pnn=It((pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])))}function L$e(){L$e=Y,Rnn=It((ws(),F(z($nn,1),je,461,0,[Ih,ub,Uf])))}function P$e(){P$e=Y,znn=It((Uo(),F(z(Bnn,1),je,462,0,[Ea,ob,Xf])))}function $$e(){$$e=Y,ean=It((za(),F(z(r8e,1),je,279,0,[U7,Gm,X7])))}function R$e(){R$e=Y,van=It((Z5(),F(z(x8e,1),je,281,0,[S8e,Um,mG])))}function B$e(){B$e=Y,ran=It((F1(),F(z(w8e,1),je,347,0,[hG,e0,iA])))}function z$e(){z$e=Y,wan=It((CE(),F(z(j8e,1),je,300,0,[KI,Tce,k8e])))}function ga(e,n){return!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),xQ(e.o,n)}function S9n(e){return!e.g&&(e.g=new X6),!e.g.d&&(e.g.d=new FSe(e)),e.g.d}function x9n(e){return!e.g&&(e.g=new X6),!e.g.b&&(e.g.b=new zSe(e)),e.g.b}function rO(e){return!e.g&&(e.g=new X6),!e.g.c&&(e.g.c=new HSe(e)),e.g.c}function A9n(e){return!e.g&&(e.g=new X6),!e.g.a&&(e.g.a=new JSe(e)),e.g.a}function M9n(e,n,t,i){return t&&(i=t.Oh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function C9n(e,n,t,i){return t&&(i=t.Qh(n,Ji(t.Ah(),e.c.sk()),null,i)),i}function bY(e,n,t,i){var r;return r=le($t,ni,30,n+1,15,1),G_n(r,e,n,t,i),r}function le(e,n,t,i,r,c){var o;return o=vHe(r,i),r!=10&&F(z(e,c),n,t,r,o),o}function T9n(e,n,t){var i,r;for(r=new n8(n,e),i=0;it||n=0?e.Ih(t,!0,!0):Yw(e,n,!0)}function cO(e,n){var t,i,r;return r=e.r,i=e.d,t=wS(e,n,!0),t.b!=r||t.a!=i}function G$e(e,n){return HMe(e.e,n)||lg(e.e,n,new HJe(n)),u(Ba(e.e,n),113)}function Cs(e,n,t,i){return Ln(e),Ln(n),Ln(t),Ln(i),new Ffe(e,n,new Fu)}function uO(e,n,t){var i,r;return r=(i=C8(e.b,n),i),r?Zz(hO(e,r),t):null}function q9n(e,n,t){var i,r,c;i=I1(e,t),r=null,i&&(r=_0e(i)),c=r,zJe(n,t,c)}function U9n(e,n,t){var i,r,c;i=I1(e,t),r=null,i&&(r=_0e(i)),c=r,zJe(n,t,c)}function os(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new $fe(this,n,t,i)}function mY(e,n,t,i,r,c){Pae.call(this,n,i,r,c),this.c=e,this.b=t}function oO(e,n,t,i,r,c){Pae.call(this,n,i,r,c),this.c=e,this.a=t}function phe(e,n,t,i,r){XTe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function mhe(e,n){P$.call(this,n.xd(),n.wd()&-16449),Ln(e),this.a=e,this.c=n}function X9n(e,n){e.a.Le(n.d,e.b)>0&&(Ce(e.c,new lfe(n.c,n.d,e.d)),e.b=n.d)}function vY(e){e.a=le($t,ni,30,e.b+1,15,1),e.c=le($t,ni,30,e.b,15,1),e.d=0}function K9n(e,n,t){var i;return i=qze(e,n,t),e.b=new NB(i.c.length),_be(e,i)}function V9n(e){if(e.b<=0)throw R(new hu);return--e.b,e.a-=e.c.c,ye(e.a)}function Y9n(e){var n;if(!e.a)throw R(new g_e);return n=e.a,e.a=Fi(e.a),n}function q$e(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)K(e,n);return Bae(e)}function U5(e){var n;return Ot(e),X(e,204)?(n=u(e,204),n):new c9(e)}function Q9n(e){for(;!e.a;)if(!ONe(e.c,new Yke(e)))return!1;return!0}function vhe(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.g[n]}function U$e(e,n,t){if(o8(e,t),t!=null&&!e.dk(t))throw R(new gX);return t}function yY(e,n){return bO(n)!=10&&F(Us(n),n.Qm,n.__elementTypeId$,bO(n),e),e}function X$e(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),q5(e,i,t)}function X9(e,n,t,i){var r;i=(Iw(),i||Hme),r=e.slice(n,t),G0e(r,e,n,t,-n,i)}function $l(e,n,t,i,r){return n<0?Yw(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function W9n(e,n){return ji(te(re(C(e,(ve(),mp)))),te(re(C(n,mp))))}function K$e(){K$e=Y,jnn=It((K9(),F(z(mJ,1),je,309,0,[fte,ate,hte,dte])))}function K9(){K9=Y,fte=new f$("All",0),ate=new DTe,hte=new qTe,dte=new _Te}function ws(){ws=Y,Ih=new UX(m4,0),ub=new UX(U8,1),Uf=new UX(v4,2)}function V$e(){V$e=Y,Vz(),w7e=Vi,Ahn=Ir,p7e=new et(Vi),Mhn=new et(Ir)}function oB(){oB=Y,bfn=new Ev,wfn=new cL,gfn=hkn((Xt(),Ece),bfn,wb,wfn)}function Z9n(e){oB(),u(e.mf((Xt(),Fm)),182).Ec((ps(),XI)),e.of(Ece,null)}function e8n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function n8n(e){return X(e,180)?""+u(e,180).a:e==null?null:fu(e)}function yhe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function Y$e(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function sO(e){var n;for(n=e.p+1;n=0?az(e,t,!0,!0):Yw(e,n,!0)}function o8n(e,n){O5(u(u(e.f,26).mf((Xt(),eA)),102))&&ZFe(cae(u(e.f,26)),n)}function SRe(e,n){Os(e,n==null||W$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function xRe(e,n){Ns(e,n==null||W$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function ARe(e,n){Bw(e,n==null||W$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function MRe(e,n){Rw(e,n==null||W$((Ln(n),n))||isNaN((Ln(n),n))?0:(Ln(n),n))}function CRe(e){(this.q?this.q:(En(),En(),u1)).zc(e.q?e.q:(En(),En(),u1))}function xY(e,n,t){var i;return i=e.g[n],tE(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function dB(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function AY(e){var n;return e.d!=e.r&&(n=af(e),e.e=!!n&&n.jk()==uen,e.d=n),e.e}function MY(e,n){var t;for(Ot(e),Ot(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function Ba(e,n){var t;return t=u(zn(e.e,n),393),t?(tOe(e,t),t.e):null}function TRe(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function lu(e,n){var t,i;return H0(e),i=new rhe(n,e.a),t=new CNe(i),new pn(e,t)}function R2(e,n){var t=e.a[n],i=(WY(),rte)[typeof t];return i?i(t):H1e(typeof t)}function s8n(e,n){var t,i,r;r=n.c.i,t=u(zn(e.f,r),60),i=t.d.c-t.e.c,n1e(n.a,i,0)}function Qh(e,n,t){var i,r;for(i=10,r=0;r=0;)++n[0]}function _Re(e,n,t,i){ai(),pw.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function $1(e,n,t,i,r,c,o){DY.call(this,n,i,r,c,o),this.c=e,this.b=t}function LRe(e){this.g=e,this.f=new Te,this.a=k.Math.min(this.g.c.c,this.g.d.c)}function ME(){ME=Y,rin=new Lp,cin=new Pp,tin=new $p,iin=new Rp,uin=new Al}function bB(){bB=Y,yte=new hse("EADES",0),jJ=new hse("FRUCHTERMAN_REINGOLD",1)}function gO(){gO=Y,WJ=new wse("READING_DIRECTION",0),x3e=new wse("ROTATION",1)}function PRe(){PRe=Y,Din=It((Y2(),F(z(Iin,1),je,371,0,[rI,VJ,YJ,KJ,XJ])))}function $Re(){$Re=Y,Yun=It((VE(),F(z(P5e,1),je,328,0,[L5e,Zie,ere,Cx,Tx])))}function RRe(){RRe=Y,crn=It((Xs(),F(z(tye,1),je,165,0,[dI,wx,Q1,px,Mg])))}function BRe(){BRe=Y,Fsn=It((Sz(),F(z(zsn,1),je,364,0,[Ore,Mre,Nre,Cre,Tre])))}function zRe(){zRe=Y,Jln=It((oS(),F(z(Fln,1),je,369,0,[ey,U4,Kx,Xx,II])))}function FRe(){FRe=Y,Kln=It((XO(),F(z(H6e,1),je,330,0,[z6e,tce,J6e,ice,F6e])))}function JRe(){JRe=Y,Ytn=It((zr(),F(z(vve,1),je,363,0,[Kf,o1,eo,no,Pc])))}function HRe(){HRe=Y,Wfn=It((vr(),F(z(nA,1),je,86,0,[ih,ru,Zc,th,Yl])))}function GRe(){GRe=Y,pfn=It((kh(),F(z(eh,1),je,160,0,[Tn,fr,Aa,Wd,Z1])))}function qRe(){qRe=Y,san=It((l3(),F(z(cA,1),je,257,0,[mb,UI,p8e,rA,m8e])))}function URe(){URe=Y,aan=It((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])))}function XRe(e){var n;return n=u(C(e,(ve(),wp)),317),n?n.a==e:!1}function KRe(e){var n;return n=u(C(e,(ve(),wp)),317),n?n.i==e:!1}function VRe(e,n){return Ln(n),_fe(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function gB(e){return ao(e,oi)>0?oi:ao(e,Xr)<0?Xr:Rt(e)}function p8n(e,n){var t;return t=Hw(e.e.c,n.e.c),t==0?ji(e.e.d,n.e.d):t}function TY(e,n){var t;return t=u(zn(e.a,n),150),t||(t=new Wg,ei(e.a,n,t)),t}function Rf(e,n,t){var i;if(n==null)throw R(new l5);return i=I1(e,n),J6n(e,n,t),i}function m8n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function v8n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],lc(zT(i))}function y8n(e,n,t){var i,r;for(r=new P(t);r.a0?n-1:n,EAe(wgn(mBe(gfe(new h5,t),e.n),e.j),e.k)}function M8n(e,n,t,i){var r;e.j=-1,ibe(e,L0e(e,n,t),(Tc(),r=u(n,69).tk(),r.vl(i)))}function eBe(e,n,t,i,r,c){var o;o=fY(i),fc(o,r),Gr(o,c),gn(e.a,i,new nR(o,n,t.f))}function wB(e,n){var t;return H0(e),t=new o_e(e,e.a.xd(),e.a.wd()|4,n),new pn(e,t)}function C8n(e,n){var t,i;return t=u(q2(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function Cn(e,n){var t;return t=(e.i==null&&Eh(e),e.i),n>=0&&n=-.01&&e.a<=Xa&&(e.a=0),e.b>=-.01&&e.b<=Xa&&(e.b=0),e}function Zv(e){O8();var n,t;for(t=Hpe,n=0;nt&&(t=e[n]);return t}function T8n(e){var n;return n=te(re(C(e,(Oe(),Kd)))),n<0&&(n=0,he(e,Kd,n)),n}function O8n(e,n){O5(u(C(u(e.e,9),(Oe(),Zi)),102))&&(En(),Tr(u(e.e,9).j,n))}function pB(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),he(t,(ve(),R4),n)}function N8n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;re||e>n)throw R(new Loe("fromIndex: 0, toIndex: "+e+Vge+n))}function rBe(e,n){Ei(e,(Zh(),Gre),n.f),Ei(e,gln,n.e),Ei(e,Hre,n.d),Ei(e,bln,n.c)}function Ao(e,n){var t,i,r,c;for(Ln(n),i=e.c,r=0,c=i.length;r0&&(e.a/=n,e.b/=n),e}function cBe(e,n,t){var i,r;i=n;do r=te(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function sl(e){var n;return e.w?e.w:(n=A4n(e),n&&!n.Sh()&&(e.w=n),n)}function Che(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)}function B8n(e){var n;return e==null?null:(n=u(e,195),MMn(n,n.length))}function K(e,n){if(e.g==null||n>=e.i)throw R(new EK(n,e.i));return e.Ui(n,e.g[n])}function pa(){pa=Y,Ou=new qX("BEGIN",0),No=new qX(U8,1),Nu=new qX("END",2)}function za(){za=Y,U7=new pK(U8,0),Gm=new pK("HEAD",1),X7=new pK("TAIL",2)}function X5(){X5=Y,Psn=yh(yh(yh(Pj(new or,(c4(),Px)),(aS(),hre)),l4e),d4e)}function R1(){R1=Y,Rsn=yh(yh(yh(Pj(new or,(c4(),Rx)),(aS(),a4e)),u4e),f4e)}function e3(e,n){return kgn(IE(e,n,Rt(hc(t1,Vh(Rt(hc(n==null?0:Ni(n),i1)),15)))))}function The(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)}function Y9(e,n){var t,i;i=e.a,t=yjn(e,n,null),i!=n&&!e.e&&(t=$8(e,n,t)),t&&t.mj()}function z8n(e,n){var t;return t=Nr(pc(u(zn(e.g,n),8)),Kse(u(zn(e.f,n),460).b)),t}function uBe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function K5(e){var n;return oE(e==null||Array.isArray(e)&&(n=bO(e),!(n>=14&&n<=16))),e}function Ohe(e){e.b=(ws(),ub),e.f=(Uo(),ob),e.d=(ll(2,om),new xo(2)),e.e=new Vr}function mB(e){this.b=(Ot(e),new bs(e)),this.a=new Te,this.d=new Te,this.e=new Vr}function oBe(e){return H0(e),I5(!0,"n may not be negative"),new pn(e,new ABe(e.a))}function F8n(e,n){En();var t,i;for(i=new Te,t=0;t0?u(Le(t.a,i-1),9):null}function Bf(e){if(!(e>=0))throw R(new Un("tolerance ("+e+") must be >= 0"));return e}function TE(){return oce||(oce=new BXe,W5(oce,F(z(T4,1),Nn,148,0,[new DC]))),oce}function kB(){kB=Y,W5e=new uK("NO",0),lre=new uK(wwe,1),Q5e=new uK("LOOK_BACK",2)}function Nc(){Nc=Y,Nx=new tK(xS,0),ys=new tK("INPUT",1),Io=new tK("OUTPUT",2)}function jB(){jB=Y,k3e=new VX("ARD",0),QJ=new VX("MSD",1),Vte=new VX("MANUAL",2)}function K8n(){return ZO(),F(z(S3e,1),je,267,0,[Wte,E3e,eie,nie,Zte,tie,uI,Qte,Yte])}function V8n(){return nN(),F(z(I5e,1),je,268,0,[Vie,T5e,O5e,Xie,C5e,N5e,CH,Uie,Kie])}function Y8n(){return _s(),F(z(E8e,1),je,266,0,[Y7,WI,bG,lA,gG,pG,wG,Oce,QI])}function Q8n(){MMe();for(var e=Kne,n=0;nt)throw R(new S2(n,t));return new Vle(e,n)}function EB(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function W8n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i=0),LEn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function ABe(e){P$.call(this,e.yd(64)?Use(0,ff(e.xd(),1)):pN,e.wd()),this.b=1,this.a=e}function MBe(){ole.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=qf}function CBe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new SNe(this,n,t,i)}function DY(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function TBe(e){ese(),this.g=new wt,this.f=new wt,this.b=new wt,this.c=new _w,this.i=e}function Bhe(){this.f=new Vr,this.d=new yoe,this.c=new Vr,this.a=new Te,this.b=new Te}function e7n(e){var n,t;for(t=new P(xHe(e));t.a=0}function zhe(){zhe=Y,bon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function OBe(){OBe=Y,gon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function Fhe(){Fhe=Y,won=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function NBe(){NBe=Y,pon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function IBe(){IBe=Y,mon=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function DBe(){DBe=Y,von=qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)}function _Be(){_Be=Y,jon=Eo(qt(qt(new or,(zr(),eo),(Ur(),$J)),no,IJ),Pc,PJ)}function LBe(){LBe=Y,onn=F(z($t,1),ni,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Jhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function Hhe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function _Y(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,t,e.c))}function Ghe(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.c))}function qhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,1,t,e.d))}function W9(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.k))}function LY(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,2,t,e.D))}function AB(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.f))}function MB(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,t,e.i))}function Uhe(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,8,t,e.a))}function Xhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,t,e.b))}function i7n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new Fxe:new yC,e.c=_In(i,e.b,e.a)}function PBe(e,n){return G1(e.e,n)?(Tc(),AY(n)?new lR(n,e):new jT(n,e)):new sTe(n,e)}function r7n(e){var n,t;return 0>e?new Woe:(n=e+1,t=new VPe(n,e),new Cle(null,t))}function c7n(e,n){En();var t;return t=new m5(1),$r(e)?Kc(t,e,n):Ko(t.f,e,n),new aX(t)}function u7n(e,n){var t;t=new Qg,u(n.b,68),u(n.b,68),u(n.b,68),Ao(n.a,new cfe(e,t,n))}function $Be(e,n){var t;return X(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function o7n(e){var n;return n=C(e,(ve(),mi)),X(n,174)?rJe(u(n,174)):null}function RBe(e){var n;return e=k.Math.max(e,2),n=w1e(e),e>n?(n<<=1,n>0?n:yS):n}function PY(e){switch(cle(e.e!=3),e.e){case 2:return!1;case 0:return!0}return a9n(e)}function Khe(e){var n;return e.b==null?(xd(),xd(),uD):(n=e.sl()?e.rl():e.ql(),n)}function BBe(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),HO(e,t.jd(),t.kd())}function Vhe(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,t,e.d))}function CB(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,13,t,e.j))}function Yhe(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,21,t,e.b))}function Qhe(e,n){e.r>0&&e.c0&&e.g!=0&&Qhe(e.i,n/e.r*e.i.d))}function zBe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i0?1:0:(!e.c&&(e.c=YT(Lu(e.f))),e.c).e}function YBe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function h7n(e,n){n.Tg(AQe,1),er(lu(new pn(null,new yn(e.b,16)),new nw),new SD),n.Ug()}function FY(e,n,t,i,r,c){var o;this.c=e,o=new Te,Pde(e,o,n,e.b,t,i,r,c),this.a=new qr(o,0)}function rr(e,n,t,i,r,c,o,l,f,h,g,p,y){return hqe(e,n,t,i,r,c,o,l,f,h,g,p,y),mQ(e,!1),e}function d7n(e,n){typeof window===dN&&typeof window.$gwt===dN&&(window.$gwt[e]=n)}function b7n(e,n,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(e[t]=i)}function g7n(e,n,t){t.Tg("DFS Treeifying phase",1),xEn(e,n),tIn(e,n),e.a=null,e.b=null,t.Ug()}function w7n(e,n){var t;n.Tg("General Compactor",1),t=oEn(u(ke(e,(X0(),_re)),386)),t.Bg(e)}function p7n(e,n){var t,i;return t=u(ke(e,(X0(),UH)),15),i=u(ke(n,UH),15),oo(t.a,i.a)}function n1e(e,n,t){var i,r;for(r=St(e,0);r.b!=r.d.c;)i=u(jt(r),8),i.a+=n,i.b+=t;return e}function m7n(e,n,t,i){var r;r=new d5,Yb(r,"x",jz(e,n,i.a)),Yb(r,"y",Ez(e,n,i.b)),$5(t,r)}function v7n(e,n,t,i){var r;r=new d5,Yb(r,"x",jz(e,n,i.a)),Yb(r,"y",Ez(e,n,i.b)),$5(t,r)}function y7n(){return V0(),F(z(F5e,1),je,243,0,[NH,yI,kI,R5e,B5e,$5e,z5e,IH,$7,Ox])}function k7n(){return Ic(),F(z(fie,1),je,261,0,[tH,Vl,ax,iH,T7,B3,hx,M7,C7,rH])}function JY(){JY=Y,bA=new Pxe,Fce=F(z(ns,1),O3,179,0,[]),rhn=F(z(kf,1),cme,62,0,[])}function V5(){V5=Y,Pte=new Pi("edgelabelcenterednessanalysis.includelabel",($n(),cb))}function QBe(e,n){return te(re(Js(NO(So(new pn(null,new yn(e.c.b,16)),new iEe(e)),n))))}function t1e(e,n){return te(re(Js(NO(So(new pn(null,new yn(e.c.b,16)),new tEe(e)),n))))}function Ni(e){return $r(e)?_d(e):m2(e)?E5(e):p2(e)?QOe(e):Nfe(e)?e.Hb():Afe(e)?xw(e):dae(e)}function WBe(e,n){return Da(),Bf(Xa),k.Math.abs(0-n)<=Xa||n==0||isNaN(0)&&isNaN(n)?0:e/n}function j7n(e,n){return r8(),e==dp&&n==pm||e==dp&&n==D3||e==mm&&n==D3||e==mm&&n==pm}function E7n(e,n){return r8(),e==dp&&n==mm||e==mm&&n==dp||e==D3&&n==pm||e==pm&&n==D3}function ss(){ss=Y,Cve=new xy,Ave=new d0,Mve=new Ph,xve=new ak,Tve=new _A,Ove=new Ay}function S7n(e){var n;return n=GR(e),Vj(n.a,0)?(n$(),n$(),ynn):(n$(),new OOe(n.b))}function HY(e){var n;return n=_ae(e),Vj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(n.b))}function GY(e){var n;return n=_ae(e),Vj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(n.c))}function x7n(e){return e.b.c.i.k==(Fn(),wr)?u(C(e.b.c.i,(ve(),mi)),12):e.b.c}function ZBe(e){return e.b.d.i.k==(Fn(),wr)?u(C(e.b.d.i,(ve(),mi)),12):e.b.d}function eze(e){switch(e.g){case 2:return Ie(),Yn;case 4:return Ie(),nt;default:return e}}function nze(e){switch(e.g){case 1:return Ie(),bt;case 3:return Ie(),Vn;default:return e}}function A7n(e,n){var t;return t=y0e(e),Q0e(new Ee(t.c,t.d),new Ee(t.b,t.a),e.Kf(),n,e.$f())}function M7n(e,n){n.Tg(AQe,1),lde(Ign(new DP((Ij(),new DV(e,!1,!1,new fk))))),n.Ug()}function i1e(){i1e=Y,Eon=yh(dTe(qt(qt(new or,(zr(),eo),(Ur(),$J)),no,IJ),Pc),PJ)}function tze(){tze=Y,Mon=yh(dTe(qt(qt(new or,(zr(),eo),(Ur(),$J)),no,IJ),Pc),PJ)}function ize(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new Te,pTn(this),En(),Tr(this.a,null)}function zl(e,n,t,i,r,c,o){Tt.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=$f(o)}function r1e(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function NE(e,n){var t,i;for(Ln(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function C7n(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!KR(e,n,i.Pb()))return!1;return!0}function IE(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&O1(n,i.g))return i;return null}function DE(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&O1(n,i.i))return i;return null}function T7n(e,n){var t;for(Ot(n);e.Ob();)if(t=e.Pb(),!s1e(u(t,9)))return!1;return!0}function O7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function N7n(e,n,t,i,r){var c;return t&&(c=Ji(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function rze(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function I7n(e){var n,t,i;return e.j==(Ie(),Vn)&&(n=cUe(e),t=cs(n,nt),i=cs(n,Yn),i||i&&t)}function D7n(e){var n,t,i;for(i=0,t=new P(e.b);t.ar&&n.ac&&n.br?t=r:Wn(n,t+1),e.a=sf(e.a,0,n)+(""+i)+Xfe(e.a,t)}function cze(e,n,t,i){X(e.Cb,184)&&(u(e.Cb,184).tb=null),Mo(e,t),n&&DTn(e,n),i&&e.el(!0)}function P7n(e,n){var t,i;for(i=new P(n.b);i.a1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw R(new hu)}function G7n(e,n){var t,i;for(i=new P(n);i.a>22),r=e.h+n.h+(i>>22),_o(t&Ls,i&Ls,r&U1)}function Ize(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),_o(t&Ls,i&Ls,r&U1)}function QY(e){var n,t,i,r;for(r=new Te,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=nm(t),Sr(r,n);return r}function lkn(e){var n;Fd(e,!0),n=Jd,wi(e,(Oe(),_7))&&(n+=u(C(e,_7),15).a),he(e,_7,ye(n))}function Dze(e,n,t){var i;Hu(e.a),Ao(t.i,new tSe(e)),i=new B$(u(zn(e.a,n.b),68)),OJe(e,i,n),t.f=i}function a1e(e){var n,t;return t=(S0(),n=new yo,n),e&&Et((!e.a&&(e.a=new pe($i,e,6,6)),e.a),t),t}function Y5(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=wh(i,Xh(1,t));return i}function fkn(e,n){var t,i;for(_R(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function h1e(e,n){if(n===0){!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o.c.$b();return}pW(e,n)}function _ze(e){switch(e.g){case 1:return pb;case 2:return a1;case 3:return GI;default:return qI}}function d1e(e){En();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?Ni(n):0),i=i|0;return i}function akn(e){var n;return n=new xn,n.a=e,n.b=pkn(e),n.c=le(Je,Me,2,2,6,1),n.c[0]=VBe(e),n.c[1]=VBe(e),n}function zB(){zB=Y,$te=new g$(ya,0),qJ=new g$(TQe,1),UJ=new g$(OQe,2),iI=new g$("BOTH",3)}function r8(){r8=Y,dp=new d$("Q1",0),mm=new d$("Q4",1),pm=new d$("Q2",2),D3=new d$("Q3",3)}function B0(){B0=Y,sI=new ZX("ONLY_WITHIN_GROUP",0),F3e=new ZX(eee,1),Em=new ZX("ENFORCED",2)}function cg(){cg=Y,iie=new QX(ya,0),A7=new QX("INCOMING_ONLY",1),R3=new QX("OUTGOING_ONLY",2)}function Q5(){Q5=Y,dfn=new JM,hfn=new tL}function WY(){WY=Y,rte={boolean:Mgn,number:Bbn,string:zbn,object:gqe,function:gqe,undefined:mbn}}function Lze(){Lze=Y,Qun=It((V0(),F(z(F5e,1),je,243,0,[NH,yI,kI,R5e,B5e,$5e,z5e,IH,$7,Ox])))}function Pze(){Pze=Y,Win=It((Ic(),F(z(fie,1),je,261,0,[tH,Vl,ax,iH,T7,B3,hx,M7,C7,rH])))}function hkn(e,n,t,i){return new use(F(z(Eg,1),cF,45,0,[(qQ(e,n),new yw(e,n)),(qQ(t,i),new yw(t,i))]))}function dkn(e,n){var t,i;return t=u(u(zn(e.g,n.a),49).a,68),i=u(u(zn(e.g,n.b),49).a,68),xKe(t,i)}function b1e(e,n,t){var i;if(i=e.gc(),n>i)throw R(new S2(n,i));return e.Qi()&&(t=X_e(e,t)),e.Ci(n,t)}function $ze(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Lf(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function bkn(e,n){return!e||!n||e==n?!1:Hw(e.b.c,n.b.c+n.b.b)<0&&Hw(n.b.c,e.b.c+e.b.b)<0}function ZY(e,n,t){return e>=128?!1:e<64?Yj(Rr(Xh(1,e),t),0):Yj(Rr(Xh(1,e-64),n),0)}function AO(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function MO(e,n,t){return t==null?(!e.q&&(e.q=new wt),G5(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function he(e,n,t){return t==null?(!e.q&&(e.q=new wt),G5(e.q,n)):(!e.q&&(e.q=new wt),ei(e.q,n,t)),e}function Rze(e){var n,t;return t=new nB,Pu(t,e),he(t,($0(),N4),e),n=new wt,sLn(e,t,n),B$n(e,t,n),t}function gkn(e){O8();var n,t,i;for(t=le(Lr,Me,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=KSn(i,e);return t}function Bze(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;ce.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function g1e(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=af(e),X(n,88)&&(e.c=u(n,29))),e.c}function w1e(e){var n;if(e<0)return Xr;if(e==0)return 0;for(n=yS;(n&e)==0;n>>=1);return n}function pkn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+TRe(e))}function Fze(e){var n,t;return t=QO(e.h),t==32?(n=QO(e.m),n==32?QO(e.l)+32:n+20-10):t-12}function eQ(e){var n,t,i;n=~e.l+1&Ls,t=~e.m+(n==0?1:0)&Ls,i=~e.h+(n==0&&t==0?1:0)&U1,e.l=n,e.m=t,e.h=i}function LE(e){var n;return n=e.a[e.b],n==null?null:(ir(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function p1e(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function m1e(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function Jze(e,n){this.b=e,Bv.call(this,(u(K(we((O0(),Bn).o),10),19),n.i),n.g),this.a=(JY(),Fce)}function v1e(e,n,t){this.q=new k.Date,this.q.setFullYear(e+Z0,n,t),this.q.setHours(0,0,0,0),dS(this,0)}function Hze(e,n,t){var i,r;return i=new pY(n,t),r=new si,e.b=sXe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function y1e(e,n){En();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;ro||i+r>c)throw R(new foe)}function Gze(e,n,t){var i,r,c,o;for(o=FE(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),ei(e.c,i,ye(c++))}function z0(e){var n,t;for(t=new P(e.a.b);t.a=0,"Negative initial capacity"),RT(n>=0,"Non-positive load factor"),Hu(this)}function Vze(e,n){var t;for(t=0;t1||n>=0&&e.b<3)}function Akn(){ai();var e;return Xce||(e=Epn(Y0("M",!0)),e=wR(Y0("M",!1),e),Xce=e,Xce)}function Wze(e){if(e.g===0)return new F6;throw R(new Un(JF+(e.f!=null?e.f:""+e.g)))}function Zze(e){if(e.g===0)return new nL;throw R(new Un(JF+(e.f!=null?e.f:""+e.g)))}function x1e(e,n,t){if(n===0){!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),_B(e.o,t);return}yW(e,n,t)}function tQ(e,n,t){this.g=e,this.e=new Vr,this.f=new Vr,this.d=new xi,this.b=new xi,this.a=n,this.c=t}function iQ(e,n,t,i){this.b=new Te,this.n=new Te,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function eFe(e,n,t,i){this.b=new wt,this.g=new wt,this.d=(BE(),TH),this.c=e,this.e=n,this.d=t,this.a=i}function o8(e,n){if(!e.Ji()&&n==null)throw R(new Un("The 'no null' constraint is violated"));return n}function A1e(e){switch(e.g){case 1:return QQe;default:case 2:return 0;case 3:return WQe;case 4:return Jpe}}function Mkn(e){return Ce(e.c,(Q5(),dfn)),Che(e.a,te(re(_e((SQ(),MH)))))?new eC:new sSe(e)}function Ckn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!Mj(e.b))e.d=u(L5(e.b),50);else return null;return e.d}function _d(e){var n,t;for(n=0,t=0;ti?1:0}function nFe(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function rQ(e,n){var t;return n===e?!0:X(n,229)?(t=u(n,229),gi(e.Zb(),t.Zb())):!1}function M1e(e,n){return UUe(e,n)?(gn(e.b,u(C(n,(ve(),Y1)),22),n),Vt(e.a,n),!0):!1}function Nkn(e,n){return wi(e,(ve(),Oi))&&wi(n,Oi)?u(C(n,Oi),15).a-u(C(e,Oi),15).a:0}function Ikn(e,n){return wi(e,(ve(),Oi))&&wi(n,Oi)?u(C(e,Oi),15).a-u(C(n,Oi),15).a:0}function tFe(e){return Qa?le(Enn,RYe,567,0,0,1):u(Fa(e.a,le(Enn,RYe,567,e.a.c.length,0,1)),840)}function Us(e){return $r(e)?Je:m2(e)?gr:p2(e)?Qi:Nfe(e)||Afe(e)?e.Pm:e.Pm||Array.isArray(e)&&z(nnn,1)||nnn}function u3(e,n,t){var i,r;return r=(i=new yX,i),Fc(r,n,t),Et((!e.q&&(e.q=new pe(kf,e,11,10)),e.q),r),r}function cQ(e){var n,t,i,r;for(r=Hgn(_an,e),t=r.length,i=le(Je,Me,2,t,6,1),n=0;n=e.b.c.length||(C1e(e,2*n+1),t=2*n+2,t0&&(n.Ad(t),t.i&&uSn(t))}function T1e(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:HX(Rr(e[i],Dc),Rr(n[i],Dc))?-1:1}function _kn(e,n){var t;return!e||e==n||!wi(n,(ve(),pp))?!1:(t=u(C(n,(ve(),pp)),9),t!=e)}function uQ(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function iFe(e,n,t){return e.d[n.p][t.p]||(CSn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function rFe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=RBe(t),i=le(Zen,mN,227,r,0,1),this.b=i}function Lkn(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function cFe(e,n,t){var i,r,c,o;for(Ln(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function oQ(e,n){var t,i;return i=u(Kn(e.a,4),129),t=le(Bce,_ne,415,n,0,1),i!=null&&Wu(i,0,t,0,i.length),t}function uFe(e,n){var t;return t=new DW((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function Pkn(e,n){var t;return e===n?!0:X(n,92)?(t=u(n,92),N0e(Gb(e),t.vc())):!1}function oFe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function FB(){FB=Y,Dce=new O$("ELK",0),_8e=new O$("JSON",1),D8e=new O$("DOT",2),L8e=new O$("SVG",3)}function PE(){PE=Y,xre=new j$(eee,0),HH=new j$(nWe,1),Sre=new j$("FAN",2),Ere=new j$("CONSTRAINT",3)}function $E(){$E=Y,w4e=new lK(ya,0),dre=new lK("MIDDLE_TO_MIDDLE",1),xI=new lK("AVOID_OVERLAP",2)}function CO(){CO=Y,qH=new fK(ya,0),H4e=new fK("RADIAL_COMPACTION",1),G4e=new fK("WEDGE_COMPACTION",2)}function RE(){RE=Y,ore=new rK("STACKED",0),ure=new rK("REVERSE_STACKED",1),jI=new rK("SEQUENCED",2)}function Fl(){Fl=Y,Yme=new GX("CONCURRENT",0),Yo=new GX("IDENTITY_FINISH",1),Qme=new GX("UNORDERED",2)}function F1(){F1=Y,hG=new mK($2e,0),e0=new mK("INCLUDE_CHILDREN",1),iA=new mK("SEPARATE_CHILDREN",2)}function JB(){JB=Y,g8e=new Ew(15),ian=new Yr((Xt(),f1),g8e),tA=Y4,a8e=Cfn,h8e=Lg,b8e=ry,d8e=zm}function sQ(){sQ=Y,Mte=z_e(F(z(nA,1),je,86,0,[(vr(),Zc),ru])),Cte=z_e(F(z(nA,1),je,86,0,[Yl,th]))}function $kn(e){var n,t,i;for(n=0,i=le(Lr,Me,8,e.b,0,1),t=St(e,0);t.b!=t.d.c;)i[n++]=u(jt(t),8);return i}function lQ(e,n,t){var i,r,c;for(i=new xi,c=St(t,0);c.b!=c.d.c;)r=u(jt(c),8),Vt(i,new wc(r));cFe(e,n,i)}function Rkn(e,n){var t;t=_e((SQ(),MH))!=null&&n.Rg()!=null?te(re(n.Rg()))/te(re(_e(MH))):1,ei(e.b,n,t)}function Bkn(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function O1e(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t0)return _9(n-1,e.a.c.length),Od(e.a,n-1);throw R(new uxe)}function zkn(e,n,t){if(n<0)throw R(new jo(yWe+n));nn)throw R(new Un(fF+e+BYe+n));if(e<0||n>t)throw R(new Loe(fF+e+Wge+n+Vge+t))}function lFe(e){if(!e.a||(e.a.i&8)==0)throw R(new Uc("Enumeration class expected for layout option "+e.f))}function fFe(e){q_e.call(this,"The given string does not match the expected format for individual spacings.",e)}function aFe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function Ld(e){switch(e.c){case 0:return cV(),yme;case 1:return new s5(Eqe(new p5(e)));default:return new Zxe(e)}}function hFe(e){switch(e.gc()){case 0:return cV(),yme;case 1:return new s5(e.Jc().Pb());default:return new ose(e)}}function I1e(e){var n;return n=(!e.a&&(e.a=new pe(td,e,9,5)),e.a),n.i!=0?Fgn(u(K(n,0),684)):null}function Fkn(e,n){var t;return t=mc(e,n),HX(QV(e,n),0)|_$(QV(e,t),0)?t:mc(pN,QV(Ub(t,63),1))}function D1e(e,n,t){var i,r;return _2(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(ffe(e.c,n,i),!0)}function Jkn(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.b,null),e.b=e.b+1&t}function Hkn(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,ir(e.a,n,e.a[i]),n=i;ir(e.a,e.c,null)}function s8(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),LY(e,n==null?null:(Ln(n),n)),e.C&&e.fl(null)}function o3(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(o2(e.a.c,0),Sr(e.a,e.b),Sr(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function G2(e){var n;++e.j,e.i==0?e.g=null:e.ir&&(rGe(n.q,r),i=t!=n.q.d)),i}function kFe(e,n){var t,i,r,c,o,l,f,h;return f=n.i,h=n.j,i=e.f,r=i.i,c=i.j,o=f-r,l=h-c,t=k.Math.sqrt(o*o+l*l),t}function P1e(e,n){var t,i;return i=uz(e),i||(t=(eZ(),jUe(n)),i=new YSe(t),Et(i.Cl(),e)),i}function TO(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function Vkn(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw R(new hu);return n=e.a,e.a+=e.c.c,++e.b,ye(n)}function Ykn(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n=i||n=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function rjn(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function J0(e,n){var t,i,r,c;return c=(r=e?uz(e):null,bqe((i=n,r&&r.El(),i))),c==n&&(t=uz(e),t&&t.El()),c}function R1e(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,1,r,n),t?t.lj(i):t=i),t}function SFe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,3,r,n),t?t.lj(i):t=i),t}function xFe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,0,r,n),t?t.lj(i):t=i),t}function AFe(e){var n,t;if(e!=null)for(t=0;t-129&&e<128?(xIe(),n=e+128,t=Lme[n],!t&&(t=Lme[n]=new Pn(e)),t):new Pn(e)}function ye(e){var n,t;return e>-129&&e<128?(mIe(),n=e+128,t=Nme[n],!t&&(t=Nme[n]=new co(e)),t):new co(e)}function fjn(e,n,t,i,r){n==0||i==0||(n==1?r[i]=Ode(r,t,i,e[0]):i==1?r[n]=Ode(r,e,n,t[0]):ZTn(e,t,r,n,i))}function NFe(e,n){var t;e.c.length!=0&&(t=u(Fa(e,le(s1,Hd,9,e.c.length,0,1)),199),Fse(t,new Rh),$qe(t,n))}function IFe(e,n){var t;e.c.length!=0&&(t=u(Fa(e,le(s1,Hd,9,e.c.length,0,1)),199),Fse(t,new hv),$qe(t,n))}function DFe(e,n){var t;e.a.c.length>0&&(t=u(Le(e.a,e.a.c.length-1),565),M1e(t,n))||Ce(e.a,new qPe(n))}function ajn(e){rl();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),Ao(t.b,new Jje(n)),Ao(t.c,new Hje(n)),cc(t.i,new Gje(n))}function _Fe(e){var n;return n=new j0,n.a+="VerticalSegment ",uo(n,e.e),n.a+=" ",Kt(n,ile(new IX,new P(e.k))),n.a}function hjn(e,n){var t;e.c=n,e.a=fEn(n),e.a<54&&(e.f=(t=n.d>1?HLe(n.a[0],n.a[1]):HLe(n.a[0],0),eg(n.e>0?t:Id(t))))}function dQ(e,n){var t,i,r;for(t=0,r=vu(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=C(i,(ve(),vs))!=null?1:0;return t}function s3(e,n,t){var i,r,c;for(i=0,c=St(e,0);c.b!=c.d.c&&(r=te(re(jt(c))),!(r>t));)r>=n&&++i;return i}function djn(e){var n;return n=u(Ba(e.c.c,""),233),n||(n=new z5(p9(w9(new g0,""),"Other")),lg(e.c.c,"",n)),n}function zE(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (name: ",Bc(n,e.zb),n.a+=")",n.a)}function F1e(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),t}function OO(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&Wu(e.g,n,e.g,n+1,e.i-n),ir(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function J1e(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function bjn(e,n,t){var i,r;return i=new $1(e.e,3,13,null,(r=n.c,r||(jn(),uh)),Bd(e,n),!1),t?t.lj(i):t=i,t}function gjn(e,n,t){var i,r;return i=new $1(e.e,4,13,(r=n.c,r||(jn(),uh)),null,Bd(e,n),!1),t?t.lj(i):t=i,t}function wjn(e,n){var t,i,r,c;if(n.cj(e.a),c=u(Kn(e.a,8),1997),c!=null)for(t=c,i=0,r=t.length;i>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function pjn(e){return e?(e.i&1)!=0?e==ts?Qi:e==$t?jr:e==Zm?p7:e==Jr?gr:e==Tp?ap:e==fy?hp:e==ds?A4:ZS:e:null}function gi(e,n){return $r(e)?bn(e,n):m2(e)?ANe(e,n):p2(e)?(Ln(e),oe(e)===oe(n)):Nfe(e)?e.Fb(n):Afe(e)?kTe(e,n):Tae(e,n)}function PFe(e){var n;return ao(e,0)<0&&(e=R0(P3n(su(e)?lf(e):e))),n=Rt(Ub(e,32)),64-(n!=0?QO(n):QO(Rt(e))+32)}function NO(e,n){var t;return t=new Ia,e.a.zd(t)?(x9(),new xX(Ln(vRe(e,t.a,n)))):(N0(e),x9(),x9(),Ume)}function FE(e,n){switch(n.g){case 2:case 1:return vu(e,n);case 3:case 4:return Ks(vu(e,n))}return En(),En(),Sc}function mjn(e,n){var t;return n.a&&(t=n.a.a.length,e.a?Kt(e.a,e.b):e.a=new il(e.d),XLe(e.a,n.a,n.d.length,t)),e}function vjn(e){rF();var n,t,i,r;for(t=DQ(),i=0,r=t.length;it)throw R(new jo(fF+e+Wge+n+", size: "+t));if(e>n)throw R(new Un(fF+e+BYe+n))}function Jl(e,n,t){if(n<0)X0e(e,t);else{if(!t.pk())throw R(new Un(ib+t.ve()+zS));u(t,69).uk().Ck(e,e.ei(),n)}}function bQ(e,n,t){return k.Math.abs(n-e)PF?e-t>PF:t-e>PF}function G1e(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new pe(Eu,e,1,7)),e.n;case 2:return e.k}return Bde(e,n,t,i)}function RFe(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (source: ",Bc(n,e.d),n.a+=")",n.a)}function $d(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,2,t,n))}function q1e(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,8,t,n))}function U1e(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,9,t,n))}function Rd(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,3,t,n))}function UB(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,8,t,n))}function yjn(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,5,r,e.a),t?f0e(t,i):t=i),t}function JE(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):Ji(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function BFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),29),oe(n)===oe(t))return!0;return!1}function zFe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function X1e(e){var n,t;return n=e.k,n==(Fn(),wr)?(t=u(C(e,(ve(),Iu)),64),t==(Ie(),Vn)||t==bt):!1}function FFe(e){var n;return n=_ae(e),Vj(n.a,0)?(d2(),d2(),lte):(d2(),new $K(JX(n.a,0)?the(n)/eg(n.a):0))}function kjn(e,n){var t;if(t=tN(e,n),X(t,335))return u(t,38);throw R(new Un(ib+n+"' is not a valid attribute"))}function HE(e,n,t){var i;if(i=e.gc(),n>i)throw R(new S2(n,i));if(e.Qi()&&e.Gc(t))throw R(new Un(JN));e.Ei(n,t)}function JFe(e,n){var t,i;for(i=new st(e);i.e!=i.i.gc();)if(t=u(ft(i),143),oe(n)===oe(t))return!0;return!1}function jjn(e,n,t){var i,r,c;return c=(r=C8(e.b,n),r),c&&(i=u(Zz(hO(e,c),""),29),i)?pbe(e,i,n,t):null}function gQ(e,n,t){var i,r,c;return c=(r=C8(e.b,n),r),c&&(i=u(Zz(hO(e,c),""),29),i)?mbe(e,i,n,t):null}function Ejn(e){var n,t,i;for(i=0,t=e.length,n=0;n=0?G0(e):bE(G0(Id(e))))}function HFe(e,n,t,i,r,c){this.e=new Te,this.f=(Nc(),Nx),Ce(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function ji(e,n){return en?1:e==n?e==0?ji(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function Sjn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,ir(e.a,e.c,null),n)}function GFe(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function xjn(e){var n,t,i;for(n=new Te,i=new P(e.b);i.a=1?ru:th):t}function Njn(e){var n,t;for(t=EUe(sl(e)).Jc();t.Ob();)if(n=Pt(t.Pb()),hS(e,n))return H6n((BMe(),Uan),n);return null}function Ijn(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),xO(t,u(Le(n,i.p),18)))return i;return null}function Djn(e,n,t){var i,r;for(r=X(n,103)&&(u(n,19).Bb&Ec)!=0?new SK(n,e):new n8(n,e),i=0;i>10)+jN&yr,n[1]=(e&1023)+56320&yr,vh(n,0,n.length)}function W1e(e,n){var t;t=(e.Bb&Ec)!=0,n?e.Bb|=Ec:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,20,t,n))}function w8(e,n){var t;t=(e.Bb&Sh)!=0,n?e.Bb|=Sh:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,16,t,n))}function mQ(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,18,t,n))}function Z1e(e,n){var t;t=(e.Bb&Ru)!=0,n?e.Bb|=Ru:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Pf(e,1,18,t,n))}function vu(e,n){var t;return e.i||U0e(e),t=u(zc(e.g,n),49),t?new D0(e.j,u(t.a,15).a,u(t.b,15).a):(En(),En(),Sc)}function Pjn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?mO(i,r):i!=null?-1:r!=null?1:0}function ede(e,n,t){var i,r;return i=(S0(),r=new Xk,r),vB(i,n),yB(i,t),e&&Et((!e.a&&(e.a=new mr(kl,e,5)),e.a),i),i}function nde(e,n,t){var i;return i=0,n&&(Fv(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(Fv(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Jw(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function vQ(e){var n;return(e.Db&64)!=0?Jf(e):(n=new uf(Jf(e)),n.a+=" (identifier: ",Bc(n,e.k),n.a+=")",n.a)}function YB(e){var n;switch(e.gc()){case 0:return fR(),ete;case 1:return new GK(Ot(e.Xb(0)));default:return n=e,new WV(n)}}function $jn(e){switch(u(C(e,(Oe(),W1)),222).g){case 1:return new gd;case 3:return new $y;default:return new Jp}}function Rjn(e){var n;return n=Q2(e),n>34028234663852886e22?Vi:n<-34028234663852886e22?Ir:n}function mc(e,n){var t;return su(e)&&su(n)&&(t=e+n,kNn){RLe(t);break}}xR(t,n)}function en(e,n){var t,i,r,c,o;if(t=n.f,lg(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;cn&&i.Le(e[c-1],e[c])>0;--c)o=e[c],ir(e,c,e[c-1]),ir(e,c-1,o)}function Hl(e,n,t,i){if(n<0)jbe(e,t,i);else{if(!t.pk())throw R(new Un(ib+t.ve()+zS));u(t,69).uk().Ak(e,e.ei(),n,i)}}function Kjn(e,n){var t;if(t=tN(e.Ah(),n),X(t,103))return u(t,19);throw R(new Un(ib+n+"' is not a valid reference"))}function QB(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw R(new Un("Node "+n+" not part of edge "+e))}function ide(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return G1e(e,n,t,i)}function Vjn(e){return e.k!=(Fn(),Wi)?!1:Wv(new pn(null,new T2(new Xn(Qn(Ii(e).a.Jc(),new ne)))),new rM)}function Xs(){Xs=Y,dI=new dT(ya,0),wx=new dT("FIRST",1),Q1=new dT(TQe,2),px=new dT("LAST",3),Mg=new dT(OQe,4)}function qE(){qE=Y,lx=new p$("LAYER_SWEEP",0),m3e=new p$("MEDIAN_LAYER_SWEEP",1),cI=new p$(cee,2),v3e=new p$(ya,3)}function WB(){WB=Y,h6e=new dK("ASPECT_RATIO_DRIVEN",0),qre=new dK("MAX_SCALE_DRIVEN",1),a6e=new dK("AREA_DRIVEN",2)}function ZB(){ZB=Y,Ice=new T$(zpe,0),T8e=new T$("GROUP_DEC",1),N8e=new T$("GROUP_MIXED",2),O8e=new T$("GROUP_INC",3)}function Yjn(e,n){return bn(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n),e.b&&e.c?Zb(e.b)+"->"+Zb(e.c):"e_"+Ni(e))}function Qjn(e,n){return bn(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n),e.b&&e.c?Zb(e.b)+"->"+Zb(e.c):"e_"+Ni(e))}function Hw(e,n){return Da(),Bf(W0),k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n))}function rde(e){SQ(),this.c=$f(F(z(tzn,1),Nn,829,0,[qun])),this.b=new wt,this.a=e,ei(this.b,MH,1),Ao(Uun,new oSe(this))}function UE(e){var n;this.a=(n=u(e.e&&e.e(),10),new Ll(n,u(_f(n,n.length),10),0)),this.b=le(Mr,Nn,1,this.a.a.length,5,1)}function fu(e){var n;return Array.isArray(e)&&e.Rm===vn?Bb(Us(e))+"@"+(n=Ni(e)>>>0,n.toString(16)):e.toString()}function Wjn(e){var n;return e==null?!0:(n=e.length,n>0&&(Wn(n-1,e.length),e.charCodeAt(n-1)==58)&&!jQ(e,hA,dA))}function jQ(e,n,t){var i,r;for(i=0,r=e.length;i=r)return n.c+t;return n.c+n.b.gc()}function ZFe(e,n){T9();var t,i,r,c;for(i=q$e(e),r=n,X9(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function ude(e){var n,t,i;for(i=new kd,i.a+="[",n=0,t=e.gc();n=0;--i)for(n=t[i],r=0;r>5,n=e&31,i=le($t,ni,30,t+1,15,1),i[t]=1<0&&(n.lengthe.i&&ir(n,e.i,null),n}function ez(e){var n;return(e.Db&64)!=0?zE(e):(n=new uf(zE(e)),n.a+=" (instanceClassName: ",Bc(n,e.D),n.a+=")",n.a)}function nz(e){var n,t,i,r;for(r=0,t=0,i=e.length;t0?(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=TUe(e,r,i,n),t!=-1):!1}function Co(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),OO(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):OO(e,e.i,n),t}function ma(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=ebe(e,r,i,n),t)?t.kd():null}function yEn(e,n,t){var i,r;return i=new $1(e.e,3,10,null,(r=n.c,X(r,88)?u(r,29):(jn(),Ef)),Bd(e,n),!1),t?t.lj(i):t=i,t}function kEn(e,n,t){var i,r;return i=new $1(e.e,4,10,(r=n.c,X(r,88)?u(r,29):(jn(),Ef)),null,Bd(e,n),!1),t?t.lj(i):t=i,t}function fJe(e,n){var t,i,r;return X(n,45)?(t=u(n,45),i=t.jd(),r=q2(e.Pc(),i),O1(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function gde(e,n){switch(n){case 3:Rw(e,0);return;case 4:Bw(e,0);return;case 5:Os(e,0);return;case 6:Ns(e,0);return}z1e(e,n)}function Gw(e,n){switch(n.g){case 1:return N5(e.j,(ss(),Ave));case 2:return N5(e.j,(ss(),Cve));default:return En(),En(),Sc}}function G0(e){jh();var n,t;return t=Rt(e),n=Rt(Ub(e,32)),n!=0?new vLe(t,n):t>10||t<0?new _1(1,t):hnn[t]}function aJe(e){V2();var n;return(e.q?e.q:(En(),En(),u1))._b((Oe(),kp))?n=u(C(e,kp),203):n=u(C(_r(e),xx),203),n}function jEn(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function hJe(e,n,t){pBe(),jxe.call(this),this.a=x2(Lnn,[Me,nwe],[592,216],0,[yJ,wte],2),this.c=new S5,this.g=e,this.f=n,this.d=t}function dJe(e){this.e=le($t,ni,30,e.length,15,1),this.c=le(ts,va,30,e.length,16,1),this.b=le(ts,va,30,e.length,16,1),this.f=0}function EEn(e){var n,t;for(e.j=le(Jr,Jc,30,e.p.c.length,15,1),t=new P(e.p);t.a>5,n&=31,r=e.d+t+(n==0?0:1),i=le($t,ni,30,r,15,1),kMn(i,e.a,t,n),c=new Xb(e.e,r,i),yE(c),c}function p8(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function $O(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function CQ(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t0?(k.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function CEn(e){var n;n=e.a;do n=u(rt(new Xn(Qn(Ii(n).a.Jc(),new ne))),17).d.i,n.k==(Fn(),dr)&&Ce(e.e,n);while(n.k==(Fn(),dr))}function TEn(e,n){var t,i,r;for(i=new Xn(Qn(Ii(e).a.Jc(),new ne));ht(i);)if(t=u(rt(i),17),r=t.d.i,r.c==n)return!1;return!0}function vJe(e,n,t){var i,r,c,o;for(r=u(zn(e.b,t),171),i=0,o=new P(n.j);o.an?1:Jb(isNaN(e),isNaN(n)))>0}function vde(e,n){return Da(),Da(),Bf(W0),(k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n)))<0}function SJe(e,n){return Da(),Da(),Bf(W0),(k.Math.abs(e-n)<=W0||e==n||isNaN(e)&&isNaN(n)?0:en?1:Jb(isNaN(e),isNaN(n)))<=0}function yde(e){switch(e.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 kde(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=hR(this.c,this.b,this.a))}function IEn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(WY(),rte)[typeof i],c=r?r(i):H1e(typeof i);return c}function m8(e){var n,t,i;if(i=null,n=Oh in e.a,t=!n,t)throw R(new ah("Every element must have an id."));return i=s4(I1(e,Oh)),i}function qw(e){var n,t;for(t=QGe(e),n=null;e.c==2;)fi(e),n||(n=(ai(),ai(),new eE(2)),dg(n,t),t=n),t.Hm(QGe(e));return t}function rz(e,n){var t,i,r;return e.Zj(),i=n==null?0:Ni(n),r=(i&oi)%e.d.length,t=ebe(e,r,i,n),t?(EBe(e,t),t.kd()):null}function vh(e,n,t){var i,r,c,o;for(c=n+t,Qr(n,c,e.length),o="",r=n;rn.e?1:e.en.d?e.e:e.d=48&&e<48+k.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function DEn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw R(new Un("Input edge is not connected to the input port."))}function yh(e,n){if(e.a<0)throw R(new Uc("Did not call before(...) or after(...) before calling add(...)."));return wle(e,e.a,n),e}function jde(e){return JR(),X(e,166)?u(zn(iD,pnn),296).Qg(e):so(iD,Us(e))?u(zn(iD,Us(e)),296).Qg(e):null}function Lo(e){var n,t;return(e.Db&32)==0&&(t=(n=u(Kn(e,16),29),dt(n||e.fi())-dt(e.fi())),t!=0&&n4(e,32,le(Mr,Nn,1,t,5,1))),e}function n4(e,n,t){var i;(e.Db&n)!=0?t==null?WTn(e,n):(i=YQ(e,n),i==-1?e.Eb=t:ir(K5(e.Eb),i,t)):t!=null&&mIn(e,n,t)}function _En(e,n,t,i){var r,c;n.c.length!=0&&(r=hNn(t,i),c=yTn(n),er(wB(new pn(null,new yn(c,1)),new y_),new VDe(e,t,r,i)))}function LEn(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,NOe(t=c?(Hkn(e,n),-1):(Jkn(e,n),1)}function PEn(e,n){var t,i;for(t=(Wn(n,e.length),e.charCodeAt(n)),i=n+1;in.e?1:e.fn.f?1:Ni(e)-Ni(n)}function TJe(e,n){var t;return oe(n)===oe(e)?!0:!X(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function cz(e,n){return Ln(e),n==null?!1:bn(e,n)?!0:e.length==n.length&&bn(e.toLowerCase(),n.toLowerCase())}function K2(e){var n,t;return ao(e,-129)>0&&ao(e,128)<0?(SIe(),n=Rt(e)+128,t=Ime[n],!t&&(t=Ime[n]=new Sn(e)),t):new Sn(e)}function t4(){t4=Y,cx=new b$(ya,0),kve=new b$("INSIDE_PORT_SIDE_GROUPS",1),Ote=new b$("GROUP_MODEL_ORDER",2),Nte=new b$(eee,3)}function uz(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>RZ)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function BEn(e){var n;return e.b||pgn(e,(n=p2n(e.e,e.a),!n||!bn(hne,ma((!n.b&&(n.b=new Hs((jn(),Ac),Du,n)),n.b),"qualified")))),e.c}function zEn(e){var n,t;for(t=new P(e.a.b);t.a2e3&&(tnn=e,dJ=k.setTimeout(Dgn,10))),hJ++==0?(b8n((Ooe(),jme)),!0):!1}function WEn(e,n,t){var i;(Snn?(aEn(e),!0):xnn||Mnn?(E9(),!0):Ann&&(E9(),!1))&&(i=new $Ne(n),i.b=t,ZMn(e,i))}function NQ(e,n){var t;t=!e.A.Gc((Vs(),$g))||e.q==(Br(),to),e.u.Gc((ps(),nd))?t?yRn(e,n):IVe(e,n):e.u.Gc(yb)&&(t?J$n(e,n):XVe(e,n))}function ZEn(e,n,t){var i,r;hW(e.e,n,t,(Ie(),Yn)),hW(e.i,n,t,nt),e.a&&(r=u(C(n,(ve(),mi)),12),i=u(C(t,mi),12),ZV(e.g,r,i))}function _Je(e){var n;oe(ke(e,(Xt(),ny)))===oe((F1(),hG))&&(Fi(e)?(n=u(ke(Fi(e),ny),347),Ei(e,ny,n)):Ei(e,ny,iA))}function LJe(e,n,t){return new Lf(k.Math.min(e.a,n.a)-t/2,k.Math.min(e.b,n.b)-t/2,k.Math.abs(e.a-n.a)+t,k.Math.abs(e.b-n.b)+t)}function PJe(e){var n;this.d=new Te,this.j=new Vr,this.g=new Vr,n=e.g.b,this.f=u(C(_r(n),(Oe(),pl)),86),this.e=te(re(lz(n,Dm)))}function $Je(e){this.d=new Te,this.e=new L0,this.c=le($t,ni,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=e}function Mde(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new Ee(0,i);case 2:case 4:return new Ee(i,0);default:return null}}function eSn(e,n){var t;if(t=e3(e.o,n),t==null)throw R(new ah("Node did not exist in input."));return Abe(e,n),$W(e,n),wbe(e,n,t),null}function RJe(e,n){var t,i;for(i=e.a.length,n.lengthi&&ir(n,i,null),n}function Fa(e,n){var t,i;for(i=e.c.length,n.lengthi&&ir(n,i,null),n}function IQ(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n0&&(Ce(e.b,new nIe(n.a,t)),i=n.a.length,0i&&(n.a+=YTe(le(Zl,xh,30,-i,15,1))))}function FJe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new P(o3(n));r.a=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t=0?e.Th(r):jW(e,i)):t<0?jW(e,i):u(i,69).uk().zk(e,e.ei(),t)}function qJe(e){var n,t,i;for(i=(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return rO(i)}function _e(e){var n;if(X(e.a,4)){if(n=jde(e.a),n==null)throw R(new Uc(jWe+e.b+"'. "+kWe+(T1(rD),rD.k)+O2e));return n}else return e.a}function aSn(e){var n;if(e==null)return null;if(n=CRn(bo(e,!0)),n==null)throw R(new TX("Invalid base64Binary value: '"+e+"'"));return n}function ft(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function PQ(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=sr(t),X(t,99)?(e.Vj(),R(new hu)):R(t)}}function sz(e){var n,t,i,r;for(r=0,t=0,i=e.length;t=64&&n<128&&(r=wh(r,Xh(1,n-64)));return r}function lz(e,n){var t,i;return i=null,wi(e,(Xt(),Q4))&&(t=u(C(e,Q4),105),t.nf(n)&&(i=t.mf(n))),i==null&&_r(e)&&(i=C(_r(e),n)),i}function hSn(e,n){var t;return t=u(C(e,(Oe(),Wc)),78),IK(n,sin)?t?qs(t):(t=new xs,he(e,Wc,t)):t&&he(e,Wc,null),t}function dSn(e,n){var t,i,r;for(r=new xo(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?A8(e,t,t.c):MCn(e,t)||qn(r.c,t);return r}function UJe(e,n){var t,i,r;for(t=e.o,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=gxn(i,t.a),i.e.b=t.b*te(re(i.b.mf(kJ)))}function bSn(e,n){var t,i,r,c;return r=e.k,t=te(re(C(e,(ve(),mp)))),c=n.k,i=te(re(C(n,mp))),c!=(Fn(),wr)?-1:r!=wr?1:t==i?0:tt.b)return!0}return!1}function VJe(e){var n;return n=new j0,n.a+="n",e.k!=(Fn(),Wi)&&Kt(Kt((n.a+="(",n),RK(e.k).toLowerCase()),")"),Kt((n.a+="_",n),zO(e)),n.a}function VE(){VE=Y,L5e=new bT(zpe,0),Zie=new bT(cee,1),ere=new bT("LINEAR_SEGMENTS",2),Cx=new bT("BRANDES_KOEPF",3),Tx=new bT(UQe,4)}function i4(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function Cde(e,n){switch(n){case 7:!e.e&&(e.e=new In(pr,e,7,4)),kt(e.e);return;case 8:!e.d&&(e.d=new In(pr,e,8,5)),kt(e.d);return}gde(e,n)}function Ei(e,n,t){return t==null?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),rz(e.o,n)):(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),HO(e.o,n,t)),e}function Yu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=sr(i),X(i,112)?R(new jo("Can't get element "+n)):R(i)}}function YJe(e,n){var t;switch(t=u(zc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function kSn(e){var n;n=e.a;do n=u(rt(new Xn(Qn(cr(n).a.Jc(),new ne))),17).c.i,n.k==(Fn(),dr)&&e.b.Ec(n);while(n.k==(Fn(),dr));e.b=Ks(e.b)}function QJe(e,n){var t,i,r;for(r=e,i=new Xn(Qn(cr(n).a.Jc(),new ne));ht(i);)t=u(rt(i),17),t.c.i.c&&(r=k.Math.max(r,t.c.i.c.p));return r}function jSn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function ESn(e,n){var t,i,r;for(r=0,i=u(u(vi(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function WJe(e){var n,t,i,r;if(i=0,r=nm(e),r.c.length==0)return 1;for(t=new P(r);t.a=0?e.Ih(o,t,!0):Yw(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function ASn(e,n,t,i){var r,c;c=n.nf((Xt(),iy))?u(n.mf(iy),22):e.j,r=vjn(c),r!=(rF(),pte)&&(t&&!yde(r)||I0e(FOn(e,r,i),n))}function $Q(e,n){return $r(e)?!!Ven[n]:e.Qm?!!e.Qm[n]:m2(e)?!!Ken[n]:p2(e)?!!Xen[n]:!1}function MSn(e){switch(e.g){case 1:return Fw(),WN;case 3:return Fw(),QN;case 2:return Fw(),vte;case 4:return Fw(),mte;default:return null}}function CSn(e,n,t){if(e.e)switch(e.b){case 1:Hyn(e.c,n,t);break;case 0:Gyn(e.c,n,t)}else bPe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function eHe(e){var n,t;if(e==null)return null;for(t=le(s1,Me,199,e.length,0,2),n=0;nc?1:0):0}function V2(){V2=Y,OH=new m$(ya,0),Qie=new m$("PORT_POSITION",1),V3=new m$("NODE_SIZE_WHERE_SPACE_PERMITS",2),K3=new m$("NODE_SIZE",3)}function TSn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(C(e,(Ti(),j4e)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),Vt(i.b.d,i),Vt(i.c.b,i);n.Ug()}function Wh(){Wh=Y,lce=new Gj("AUTOMATIC",0),_I=new Gj(m4,1),LI=new Gj(v4,2),uG=new Gj("TOP",3),rG=new Gj(iwe,4),cG=new Gj(U8,5)}function f3(e,n,t){var i,r;if(r=e.gc(),n>=r)throw R(new S2(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw R(new Un(JN));return e.Vi(n,t)}function Bd(e,n){var t,i,r;if(r=PHe(e,n),r>=0)return r;if(e.ml()){for(i=0;i0||e==(EX(),Yne)||n==(SX(),Qne))throw R(new Un("Invalid range: "+dPe(e,n)))}function Ode(e,n,t,i){N8();var r,c;for(r=0,c=0;c0),(n&-n)==n)return lc(n*Ds(e,31)*4656612873077393e-25);do t=Ds(e,31),i=t%n;while(t-i+(n-1)<0);return lc(i)}function OSn(e,n){var t,i,r;for(t=Sw(new Rb,e),r=new P(n);r.a1&&(c=OSn(e,n)),c}function LSn(e){var n,t,i;for(n=0,i=new P(e.c.a);i.a102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function qQ(e,n){if(e==null)throw R(new b5("null key in entry: null="+n));if(n==null)throw R(new b5("null value in entry: "+e+"=null"))}function sHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[fQ(e.a[0],n),fQ(e.a[1],n),fQ(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function lHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[GB(e.a[0],n),GB(e.a[1],n),GB(e.a[2],n)]),e.d&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function _de(e,n,t){O5(u(C(n,(Oe(),Zi)),102))||(Vae(e,n,zd(n,t)),Vae(e,n,zd(n,(Ie(),bt))),Vae(e,n,zd(n,Vn)),En(),Tr(n.j,new sEe(e)))}function fHe(e){var n,t;for(e.c||PPn(e),t=new xs,n=new P(e.a),L(n);n.a0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function WSn(e){var n;return e==null?null:new C0((n=bo(e,!0),n.length>0&&(Wn(0,n.length),n.charCodeAt(0)==43)?(Wn(1,n.length+1),n.substr(1)):n))}function Pde(e,n,t,i,r,c,o,l){var f,h;i&&(f=i.a[0],f&&Pde(e,n,t,f,r,c,o,l),eW(e,t,i.d,r,c,o,l)&&n.Ec(i),h=i.a[1],h&&Pde(e,n,t,h,r,c,o,l))}function YE(e,n){var t,i,r,c;for(c=e.gc(),n.lengthc&&ir(n,c,null),n}function ZSn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t0&&(f+=r),h[g]=o,o+=l*(f+i)}function uxn(e){var n;for(n=0;n0?e.c:0),++r;e.b=i,e.d=c}function jHe(e,n){var t;return t=F(z(Jr,1),Jc,30,15,[Nde(e,(pa(),Ou),n),Nde(e,No,n),Nde(e,Nu,n)]),e.f&&(t[0]=k.Math.max(t[0],t[2]),t[2]=t[0]),t}function EHe(e){var n;wi(e,(Oe(),yp))&&(n=u(C(e,yp),22),n.Gc((em(),Qf))?(n.Kc(Qf),n.Ec(Wf)):n.Gc(Wf)&&(n.Kc(Wf),n.Ec(Qf)))}function SHe(e){var n;wi(e,(Oe(),yp))&&(n=u(C(e,yp),22),n.Gc((em(),ea))?(n.Kc(ea),n.Ec(mf)):n.Gc(mf)&&(n.Kc(mf),n.Ec(ea)))}function QQ(e,n,t,i){var r,c,o,l;return e.a==null&&iCn(e,n),o=n.b.j.c.length,c=t.d.p,l=i.d.p,r=l-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function oxn(e){var n;for(n=0;n0&&(r.b+=n),r}function mz(e,n){var t,i,r;for(r=new Vr,i=e.Jc();i.Ob();)t=u(i.Pb(),37),I8(t,0,r.b),r.b+=t.f.b+n,r.a=k.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function AHe(e,n){var t,i;if(n.length==0)return 0;for(t=CV(e.a,n[0],(Ie(),Yn)),t+=CV(e.a,n[n.length-1],nt),i=0;i>16==6?e.Cb.Qh(e,5,Ma,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function dxn(e){J9();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+` `;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` -`)}return[]}function dxn(e){var n;return n=(LBe(),onn),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}function CHe(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=w1e(k.Math.max(8,i))<<1,e.b!=0?(n=_f(e.a,t),zBe(e,n,i),e.a=n,e.b=0):o2(e.a,t),e.c=i)}function bxn(e,n){var t;return t=e.b,t.nf((Xt(),Ps))?t.$f()==(Ie(),Yn)?-t.Kf().a-ne(re(t.mf(Ps))):n+ne(re(t.mf(Ps))):t.$f()==(Ie(),Yn)?-t.Kf().a:n}function zO(e){var n;return e.b.c.length!=0&&u(Le(e.b,0),70).a?u(Le(e.b,0),70).a:(n=IV(e),n??""+(e.c?pu(e.c.a,e,0):-1))}function mz(e){var n;return e.f.c.length!=0&&u(Le(e.f,0),70).a?u(Le(e.f,0),70).a:(n=IV(e),n??""+(e.i?pu(e.i.j,e,0):-1))}function gxn(e,n){var t,i;if(n<0||n>=e.gc())return null;for(t=n;t0?e.c:0),r=k.Math.max(r,n.d),++i;e.e=c,e.b=r}function wxn(e){var n,t;if(!e.b)for(e.b=GR(u(e.f,125).jh().i),t=new st(u(e.f,125).jh());t.e!=t.i.gc();)n=u(ft(t),157),Ce(e.b,new MX(n));return e.b}function pxn(e,n){var t,i,r;if(n.dc())return T9(),T9(),cD;for(t=new nNe(e,n.gc()),r=new st(e);r.e!=r.i.gc();)i=ft(r),n.Gc(i)&&Et(t,i);return t}function Bde(e,n,t,i){return n==0?i?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o):(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),rO(e.o)):fz(e,n,t,i)}function ZQ(e){var n,t;if(e.rb)for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&Ls,e.m=i&Ls,e.h=r&U1,!0)}function eW(e,n,t,i,r,c,o){var l,f;return!(n.Re()&&(f=e.a.Le(t,i),f<0||!r&&f==0)||n.Se()&&(l=e.a.Le(t,c),l>0||!o&&l==0))}function kxn(e,n){u8();var t;if(t=e.j.g-n.j.g,t!=0)return 0;switch(e.j.g){case 2:return kQ(n,b3e)-kQ(e,b3e);case 4:return kQ(e,d3e)-kQ(n,d3e)}return 0}function jxn(e){switch(e.g){case 0:return rie;case 1:return cie;case 2:return uie;case 3:return oie;case 4:return WJ;case 5:return sie;default:return null}}function Qc(e,n,t){var i,r;return i=(r=new kX,sg(r,n),Mo(r,t),Et((!e.c&&(e.c=new pe(xp,e,12,10)),e.c),r),r),Dd(i,0),z2(i,1),Rd(i,!0),$d(i,!0),i}function r4(e,n){var t,i;if(n>=e.i)throw R(new EK(n,e.i));return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Wu(e.g,n+1,e.g,n,i),ir(e.g,--e.i,null),e.Oi(n,t),e.Li(),t}function THe(e,n){var t,i;return e.Db>>16==17?e.Cb.Qh(e,21,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Exn(e){var n,t,i,r;for(En(),Tr(e.c,e.a),r=new P(e.c);r.at.a.c.length))throw R(new Un("index must be >= 0 and <= layer node count"));e.c&&qo(e.c.a,e),e.c=t,t&&Hb(t.a,n,e)}function $He(e,n){this.c=new wt,this.a=e,this.b=n,this.d=u(C(e,(ve(),H3)),316),ue(C(e,(Oe(),lye)))===ue((lO(),ZJ))?this.e=new Axe:this.e=new xxe}function Txn(e,n){var t,i,r,c;for(c=0,i=new P(e);i.a0?n:0),++t;return new Ee(i,r)}function Oxn(e,n){var t,i;for(e.b=0,e.d=new FP,i=new P(n.a);i.a>16==6?e.Cb.Qh(e,6,pr,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),mG)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function qde(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,1,eD,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),$8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Ude(e,n){var t,i;return e.Db>>16==9?e.Cb.Qh(e,9,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),B8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function zHe(e,n){var t,i;return e.Db>>16==5?e.Cb.Qh(e,9,MG,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),i0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function FHe(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,6,Ma,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),c0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Xde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,0,tD,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),t0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Kde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,12,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),P8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function _xn(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rRZ)return k8(e,i);if(i==e)return!0}}return!1}function Pxn(e){switch(q$(),e.q.g){case 5:Cqe(e,(Ie(),Vn)),Cqe(e,bt);break;case 4:_Ue(e,(Ie(),Vn)),_Ue(e,bt);break;default:PVe(e,(Ie(),Vn)),PVe(e,bt)}}function $xn(e){switch(q$(),e.q.g){case 5:Xqe(e,(Ie(),nt)),Xqe(e,Yn);break;case 4:UJe(e,(Ie(),nt)),UJe(e,Yn);break;default:$Ve(e,(Ie(),nt)),$Ve(e,Yn)}}function Rxn(e){var n,t;n=u(C(e,(Gf(),Ttn)),15),n?(t=n.a,t==0?he(e,($0(),SJ),new yQ):he(e,($0(),SJ),new QR(t))):he(e,($0(),SJ),new QR(1))}function Bxn(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function zxn(e,n){switch(e.g){case 0:return n==(Xs(),Q1)?GJ:qJ;case 1:return n==(Xs(),Q1)?GJ:iI;case 2:return n==(Xs(),Q1)?iI:qJ;default:return iI}}function JO(e,n){var t,i,r;for(qo(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=qee,i=new P(e.a);i.a>16==11?e.Cb.Qh(e,10,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),R8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function JHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,11,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),r0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function HHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,12,kf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),Qm)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function GHe(e,n){var t,i,r,c,o;if(n)for(r=n.a.length,t=new qb(r),o=(t.b-t.a)*t.c<0?(A0(),xb):new T0(t);o.Ob();)c=u(o.Pb(),15),i=G9(n,c.a),i&&CUe(e,i)}function Xxn(){ise();var e,n;for(bBn((O0(),Bn)),rBn(Bn),ZQ(Bn),Z8e=(jn(),uh),n=new P(s7e);n.a>19,h=n.h>>19,f!=h?h-f:(r=e.h,l=n.h,r!=l?r-l:(i=e.m,o=n.m,i!=o?i-o:(t=e.l,c=n.l,t-c)))}function qHe(e,n,t){var i,r,c,o,l;for(r=e[t.g],l=new P(n.d);l.a0?e.b:0),++t;n.b=i,n.e=r}function UHe(e){var n,t,i;if(i=e.b,jMe(e.i,i.length)){for(t=i.length*2,e.b=le(Wne,mN,308,t,0,1),e.c=le(Wne,mN,308,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c)YO(e,n,n);++e.g}}function QE(e,n){return e.b.a=k.Math.min(e.b.a,n.c),e.b.b=k.Math.min(e.b.b,n.d),e.a.a=k.Math.max(e.a.a,n.c),e.a.b=k.Math.max(e.a.b,n.d),qn(e.c,n),!0}function Vxn(e,n,t){var i;i=n.c.i,i.k==(Fn(),dr)?(he(e,(ve(),Sa),u(C(i,Sa),12)),he(e,wf,u(C(i,wf),12))):(he(e,(ve(),Sa),n.c),he(e,wf,t.d))}function j8(e,n,t){O8();var i,r,c,o,l,f;return o=n/2,c=t/2,i=k.Math.abs(e.a),r=k.Math.abs(e.b),l=1,f=1,i>o&&(l=o/i),r>c&&(f=c/r),C1(e,k.Math.min(l,f)),e}function Yxn(){Kz();var e,n;try{if(n=u(u0e((x0(),jf),f7),2075),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hU}function Qxn(){Kz();var e,n;try{if(n=u(u0e((x0(),jf),df),2002),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hw}function Wxn(){V$e();var e,n;try{if(n=u(u0e((x0(),jf),jg),2084),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hC}function Zxn(e,n,t){var i,r;return r=e.e,e.e=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),r!=n&&(n?t=$8(e,_z(e,n),t):t=$8(e,e.a,t)),t}function XHe(){u$.call(this),this.e=-1,this.a=!1,this.p=Xr,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=Xr}function eAn(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function nAn(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function tAn(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Qde(){Qde=Y,Xtn=Eo(qt(qt(qt(new or,(zr(),no),(Ur(),Zve)),no,e3e),Pc,n3e),Pc,Jve),Vtn=qt(qt(new or,no,Lve),no,Hve),Ktn=Eo(new or,Pc,qve)}function iAn(e){var n,t,i,r,c;for(n=u(C(e,(ve(),ax)),92),c=e.n,i=n.Bc().Jc();i.Ob();)t=u(i.Pb(),318),r=t.i,r.c+=c.a,r.d+=c.b,t.c?vXe(t):yXe(t);he(e,ax,null)}function rAn(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function KHe(e,n){var t,i;for(i=new P(n);i.a0&&(o=(c&oi)%e.d.length,r=ebe(e,o,c,n),r)?(l=r.ld(t),l):(i=e.ak(c,n,t),e.c.Ec(i),null)}function e0e(e,n){var t,i,r,c;switch(Pd(e,n).Il()){case 3:case 2:{for(t=m3(n),r=0,c=t.i;r=0;i--)if(bn(e[i].d,n)||bn(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break}return e}function GO(e,n){var t;return su(e)&&su(n)&&(t=e/n,kN0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=k.Math.min(i,r))}function nGe(e,n){var t,i;if(i=!1,$r(n)&&(i=!0,$y(e,new O2(Pt(n)))),i||X(n,242)&&(i=!0,$y(e,(t=UK(u(n,242)),new Tv(t)))),!i)throw R(new CX(K2e))}function kAn(e,n,t,i){var r,c,o;return r=new $1(e.e,1,10,(o=n.c,X(o,88)?u(o,29):(jn(),Ef)),(c=t.c,X(c,88)?u(c,29):(jn(),Ef)),Bd(e,n),!1),i?i.lj(r):i=r,i}function i0e(e){var n,t;switch(u(C(_r(e),(Oe(),nye)),420).g){case 0:return n=e.n,t=e.o,new Ee(n.a+t.a/2,n.b+t.b/2);case 1:return new wc(e.n);default:return null}}function qO(){qO=Y,eH=new Bj(ya,0),N3e=new Bj("LEFTUP",1),D3e=new Bj("RIGHTUP",2),O3e=new Bj("LEFTDOWN",3),I3e=new Bj("RIGHTDOWN",4),lie=new Bj("BALANCED",5)}function jAn(e,n,t){var i,r,c;if(i=ji(e.a[n.p],e.a[t.p]),i==0){if(r=u(C(n,(ve(),$4)),16),c=u(C(t,$4),16),r.Gc(t))return-1;if(c.Gc(n))return 1}return i}function EAn(e){switch(e.g){case 1:return new B_;case 2:return new $k;case 3:return new X5;case 0:return null;default:throw R(new Un(Wee+(e.f!=null?e.f:""+e.g)))}}function r0e(e,n,t){switch(n){case 1:!e.n&&(e.n=new pe(Eu,e,1,7)),kt(e.n),!e.n&&(e.n=new pe(Eu,e,1,7)),nr(e.n,u(t,18));return;case 2:W9(e,Pt(t));return}x1e(e,n,t)}function c0e(e,n,t){switch(n){case 3:Rw(e,ne(re(t)));return;case 4:Bw(e,ne(re(t)));return;case 5:Os(e,ne(re(t)));return;case 6:Ns(e,ne(re(t)));return}r0e(e,n,t)}function vz(e,n,t){var i,r,c;c=(i=new kX,i),r=Ha(c,n,null),r&&r.mj(),Mo(c,t),Et((!e.c&&(e.c=new pe(xp,e,12,10)),e.c),c),Dd(c,0),z2(c,1),Rd(c,!0),$d(c,!0)}function u0e(e,n){var t,i,r;return t=Pj(e.i,n),X(t,241)?(r=u(t,241),r.wi()==null,r.ti()):X(t,493)?(i=u(t,1999),r=i.b,r):null}function SAn(e,n,t,i){var r,c;return Ot(n),Ot(t),c=u(rE(e.d,n),15),ORe(!!c,"Row %s not in %s",n,e.e),r=u(rE(e.b,t),15),ORe(!!r,"Column %s not in %s",t,e.c),Tze(e,c.a,r.a,i)}function xAn(e){var n,t,i,r,c,o;for(t=null,r=e,c=0,o=r.length;c1||l==-1?(c=u(f,16),r.Wb(sEn(e,c))):r.Wb(FW(e,u(f,57)))))}function IAn(e,n,t,i){MMe();var r=Kne;function c(){for(var o=0;o0)return!1;return!0}function LAn(e){switch(u(C(e.b,(Oe(),K5e)),381).g){case 1:er(So(lu(new pn(null,new yn(e.d,16)),new cw),new u_),new uM);break;case 2:hDn(e);break;case 0:cTn(e)}}function PAn(e,n,t){var i,r,c;for(i=t,!i&&(i=new hy),i.Tg("Layout",e.a.c.length),c=new P(e.a);c.aKee)return t;r>-1e-6&&++t}return t}function kz(e,n,t){if(X(n,271))return lNn(e,u(n,85),t);if(X(n,276))return Fxn(e,u(n,276),t);throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function jz(e,n,t){if(X(n,271))return fNn(e,u(n,85),t);if(X(n,276))return Jxn(e,u(n,276),t);throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function s0e(e,n){var t;n!=e.b?(t=null,e.b&&(t=$R(e.b,e,-4,t)),n&&(t=i4(n,e,-4,t)),t=SFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function cGe(e,n){var t;n!=e.f?(t=null,e.f&&(t=$R(e.f,e,-1,t)),n&&(t=i4(n,e,-1,t)),t=xFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,n,n))}function FAn(e,n,t,i){var r,c,o,l;return Fs(e.e)&&(r=n.Jk(),l=n.kd(),c=t.kd(),o=I0(e,1,r,l,c,r.Hk()?_8(e,r,c,X(r,103)&&(u(r,19).Bb&Ec)!=0):-1,!0),i?i.lj(o):i=o),i}function uGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new kd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function oGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new kd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function JAn(e,n){var t,i,r,c,o;for(c=new P(n.a);c.a0&&rc(e,e.length-1)==33)try{return n=jUe(sf(e,0,e.length-1)),n.e==null}catch(t){if(t=sr(t),!X(t,32))throw R(t)}return!1}function UAn(e,n,t){var i,r,c;switch(i=_r(n),r=KB(i),c=new Qu,wu(c,n),t.g){case 1:Ar(c,_O(e4(r)));break;case 2:Ar(c,e4(r))}return he(c,(Oe(),Tm),re(C(e,Tm))),c}function l0e(e){var n,t;return n=u(rt(new Xn(Qn(cr(e.a).a.Jc(),new ee))),17),t=u(rt(new Xn(Qn(Ii(e.a).a.Jc(),new ee))),17),ze(Be(C(n,(ve(),Xd))))||ze(Be(C(t,Xd)))}function Y2(){Y2=Y,rI=new hT("ONE_SIDE",0),KJ=new hT("TWO_SIDES_CORNER",1),VJ=new hT("TWO_SIDES_OPPOSING",2),XJ=new hT("THREE_SIDES",3),UJ=new hT("FOUR_SIDES",4)}function fGe(e,n){var t,i,r,c;for(c=new Te,r=0,i=n.Jc();i.Ob();){for(t=ye(u(i.Pb(),15).a+r);t.a=e.f)break;qn(c.c,t)}return c}function XAn(e){var n,t;for(t=new P(e.e.b);t.a0&&NHe(this,this.c-1,(Ie(),nt)),this.c0&&e[0].length>0&&(this.c=ze(Be(C(_r(e[0][0]),(ve(),V3e))))),this.a=le(yon,Ae,2079,e.length,0,2),this.b=le(kon,Ae,2080,e.length,0,2),this.d=new mFe}function QAn(e){return e.c.length==0?!1:(kn(0,e.c.length),u(e.c[0],17)).c.i.k==(Fn(),dr)?!0:Wv(So(new pn(null,new yn(e,16)),new xk),new a_)}function dGe(e,n){var t,i,r,c,o,l,f;for(l=nm(n),c=n.f,f=n.g,o=k.Math.sqrt(c*c+f*f),r=0,i=new P(l);i.a=0?(t=GO(e,uF),i=AQ(e,uF)):(n=Ub(e,1),t=GO(n,5e8),i=AQ(n,5e8),i=mc(Xh(i,1),Rr(e,1))),wh(Xh(i,32),Rr(t,Dc))}function lMn(e,n,t,i){var r,c,o,l,f;for(r=null,c=0,l=new P(n);l.a1;n>>=1)(n&1)!=0&&(i=Qv(i,t)),t.d==1?t=Qv(t,t):t=new IJe(uKe(t.a,t.d,le($t,ni,30,t.d<<1,15,1)));return i=Qv(i,t),i}function m0e(){m0e=Y;var e,n,t,i;for(Xme=le(Jr,Jc,30,25,15,1),Kme=le(Jr,Jc,30,33,15,1),i=152587890625e-16,n=32;n>=0;n--)Kme[n]=i,i*=.5;for(t=1,e=24;e>=0;e--)Xme[e]=t,t*=.5}function bMn(e){var n,t;if(ze(Be(ke(e,(Oe(),Mm))))){for(t=new Xn(Qn(K0(e).a.Jc(),new ee));ht(t);)if(n=u(rt(t),85),Vw(n)&&ze(Be(ke(n,Cg))))return!0}return!1}function wGe(e){var n,t,i,r;for(n=new xi,t=new xi,r=St(e,0);r.b!=r.d.c;)i=u(jt(r),12),i.e.c.length==0?Ki(t,i,t.c.b,t.c):Ki(n,i,n.c.b,n.c);return Ks(n).Fc(t),n}function pGe(e,n){var t,i,r;hr(e.f,n)&&(n.b=e,i=n.c,pu(e.j,i,0)!=-1||Ce(e.j,i),r=n.d,pu(e.j,r,0)!=-1||Ce(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new PJe(e)),H7n(e.i,t)))}function gMn(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&bn(e.substr(n,3),"GMT")||n>=0&&bn(e.substr(n,3),"UTC"))&&(t[0]=n+3),nge(e,t,i)}function pMn(e,n){var t,i,r,c,o;for(c=e.g.a,o=e.g.b,i=new P(e.d);i.at;c--)e[c]|=n[c-t-1]>>>o,e[c-1]=n[c-t-1]<0&&Wu(e.g,n,e.g,n+i,l),o=t.Jc(),e.i+=i,r=0;r>4&15,c=e[i]&15,o[r++]=z8e[t],o[r++]=z8e[c];return vh(o,0,o.length)}function Xo(e){var n,t;return e>=Ec?(n=jN+(e-Ec>>10&1023)&yr,t=56320+(e-Ec&1023)&yr,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&yr)}function MMn(e,n){j2();var t,i,r,c;return r=u(u(vi(e.r,n),22),83),r.gc()>=2?(i=u(r.Jc().Pb(),115),t=e.u.Gc((ps(),cA)),c=e.u.Gc(e6),!i.a&&!t&&(r.gc()==2||c)):!1}function kGe(e,n,t,i,r){var c,o,l;for(c=aXe(e,n,t,i,r),l=!1;!c;)Iz(e,r,!0),l=!0,c=aXe(e,n,t,i,r);l&&Iz(e,r,!1),o=QY(r),o.c.length!=0&&(e.d&&e.d.Fg(o),kGe(e,r,t,i,o))}function xz(){xz=Y,Jre=new E$("NODE_SIZE_REORDERER",0),Bre=new E$("INTERACTIVE_NODE_REORDERER",1),Fre=new E$("MIN_SIZE_PRE_PROCESSOR",2),zre=new E$("MIN_SIZE_POST_PROCESSOR",3)}function Az(){Az=Y,Cce=new Gj(ya,0),o8e=new Gj("DIRECTED",1),l8e=new Gj("UNDIRECTED",2),c8e=new Gj("ASSOCIATION",3),s8e=new Gj("GENERALIZATION",4),u8e=new Gj("DEPENDENCY",5)}function CMn(e,n){var t;if(!Pa(e))throw R(new Uc(UWe));switch(t=Pa(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g)}return 0}function TMn(e,n,t){var i,r,c;return i=n.Jk(),c=n.kd(),r=i.Hk()?I0(e,4,i,c,null,_8(e,i,c,X(i,103)&&(u(i,19).Bb&Ec)!=0),!0):I0(e,i.rk()?2:1,i,c,i.gk(),-1,!0),t?t.lj(r):t=r,t}function S8(e,n){var t,i;for(Ln(n),i=e.b.c.length,Ce(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.Le(Le(e.b,i),n)<=0)return ol(e.b,t,n),!0;ol(e.b,t,Le(e.b,i))}return ol(e.b,i,n),!0}function k0e(e,n,t,i){var r,c;if(r=0,t)r=HB(e.a[t.g][n.g],i);else for(c=0;c=l)}function jGe(e){switch(e.g){case 0:return new Y_;case 1:return new BM;default:throw R(new Un("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function j0e(e,n,t,i){var r;if(r=!1,$r(i)&&(r=!0,D9(n,t,Pt(i))),r||p2(i)&&(r=!0,j0e(e,n,t,i)),r||X(i,242)&&(r=!0,Yb(n,t,u(i,242))),!r)throw R(new CX(K2e))}function NMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=ma((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),hf),r!=null)){for(i=1;i<(ls(),f7e).length;++i)if(bn(f7e[i],r))return i}return 0}function IMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=ma((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),hf),r!=null)){for(i=1;i<(ls(),a7e).length;++i)if(bn(a7e[i],r))return i}return 0}function EGe(e,n){var t,i,r,c;if(Ln(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=e.a.Le(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function LMn(e){var n,t,i,r;for(n=new Te,t=le(ts,va,30,e.a.c.length,16,1),Bfe(t,t.length),r=new P(e.a);r.a0&&nKe((kn(0,t.c.length),u(t.c[0],25)),e),t.c.length>1&&nKe(u(Le(t,t.c.length-1),25),e),n.Ug()}function $Mn(e){ps();var n,t;return n=Ci(nd,F(z(hG,1),je,280,0,[yb])),!(yO(RR(n,e))>1||(t=Ci(cA,F(z(hG,1),je,280,0,[rA,e6])),yO(RR(t,e))>1))}function S0e(e,n){var t;t=lo((x0(),jf),e),X(t,493)?Kc(jf,e,new tTe(this,n)):Kc(jf,e,this),bW(this,n),n==(m9(),W8e)?(this.wb=u(this,2e3),u(n,2002)):this.wb=(O0(),Bn)}function RMn(e){var n,t,i;if(e==null)return null;for(n=null,t=0;tc}function MGe(e,n){var t,i,r;if(A0e(e,n))return!0;for(i=new P(n);i.a=r||n<0)throw R(new jo(Cne+n+yg+r));if(t>=r||t<0)throw R(new jo(Tne+t+yg+r));return n!=t?i=(c=e.Aj(t),e.oj(n,c),c):i=e.vj(t),i}function TGe(e){var n,t,i;if(i=e,e)for(n=0,t=e.Bh();t;t=t.Bh()){if(++n>RZ)return TGe(t);if(i=t,t==e)throw R(new Uc("There is a cycle in the containment hierarchy of "+e))}return i}function Ga(e){var n,t,i;for(i=new rg(To,"[","]"),t=e.Jc();t.Ob();)n=t.Pb(),L1(i,ue(n)===ue(e)?"(this Collection)":n==null?Vo:fu(n));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function A0e(e,n){var t,i;if(i=!1,n.gc()<2)return!1;for(t=0;t1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=k.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e))}function U0(){U0=Y,Lin=F(z(xc,1),qu,64,0,[(Ie(),Vn),nt,bt]),_in=F(z(xc,1),qu,64,0,[nt,bt,Yn]),Pin=F(z(xc,1),qu,64,0,[bt,Yn,Vn]),$in=F(z(xc,1),qu,64,0,[Yn,Vn,nt])}function NGe(e){var n,t,i,r,c,o,l,f,h;for(this.a=eHe(e),this.b=new Te,t=e,i=0,r=t.length;iFK(e.d).c?(e.i+=e.g.c,TQ(e.d)):FK(e.d).c>FK(e.g).c?(e.e+=e.d.c,TQ(e.g)):(e.i+=OIe(e.g),e.e+=OIe(e.d),TQ(e.g),TQ(e.d))}function XMn(e,n,t){var i,r,c,o;for(c=n.q,o=n.r,new Qb((ba(),db),n,c,1),new Qb(db,c,o,1),r=new P(t);r.al&&(f=l/i),r>c&&(h=c/r),o=k.Math.min(f,h),e.a+=o*(n.a-e.a),e.b+=o*(n.b-e.b)}function QMn(e,n,t,i,r){var c,o;for(o=!1,c=u(Le(t.b,0),26);eLn(e,n,c,i,r)&&(o=!0,$An(t,c),t.b.c.length!=0);)c=u(Le(t.b,0),26);return t.b.c.length==0&&JO(t.j,t),o&&wz(n.q),o}function C0e(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),Y$(e.o,n,i)):(c=u(Cn((r=u(Kn(e,16),29),r||e.fi()),t),69),c.uk().yk(e,Lo(e),t-dt(e.fi()),n,i))}function bW(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=u(e.sb,52).Qh(e,1,sA,t)),n&&(t=u(n,52).Oh(e,1,sA,t)),t=F1e(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,n,n))}function LGe(e,n){var t,i,r,c;if(n)r=B1(n,"x"),t=new mSe(e),n3(t.a,(Ln(r),r)),c=B1(n,"y"),i=new vSe(e),t3(i.a,(Ln(c),c));else throw R(new ah("All edge sections need an end point."))}function PGe(e,n){var t,i,r,c;if(n)r=B1(n,"x"),t=new gSe(e),i3(t.a,(Ln(r),r)),c=B1(n,"y"),i=new wSe(e),r3(i.a,(Ln(c),c));else throw R(new ah("All edge sections need a start point."))}function WMn(e,n){var t,i,r,c,o,l,f;for(i=tFe(e),c=0,l=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<=Jd?"error":i>=900?"warn":i>=800?"info":"log"),EDe(t,e.a),e.b&&Tbe(n,t,e.b,"Exception: ",!0))}function zGe(e,n){var t,i,r,c,o;for(r=n==1?Cte:Mte,i=r.a.ec().Jc();i.Ob();)for(t=u(i.Pb(),86),o=u(vi(e.f.c,t),22).Jc();o.Ob();)c=u(o.Pb(),49),Ce(e.b.b,u(c.b,82)),Ce(e.b.a,u(c.b,82).d)}function FGe(e,n,t,i){var r,c,o,l,f;switch(f=e.b,c=n.d,o=c.j,l=Mde(o,f.d[o.g],t),r=pi(pc(c.n),c.a),c.j.g){case 3:case 1:l.a+=r.a;break;case 2:l.b+=r.b;break;case 4:l.b+=r.b}Ki(i,l,i.c.b,i.c)}function tCn(e,n){var t,i,r,c;for(c=n.b.j,e.a=le($t,ni,30,c.c.length,15,1),r=0,i=0;ie)throw R(new Un("k must be smaller than n"));return n==0||n==e?1:e==0?0:n0e(e)/(n0e(n)*n0e(e-n))}function T0e(e,n){var t,i,r,c;for(t=new MK(e);t.g==null&&!t.c?yae(t):t.g==null||t.i!=0&&u(t.g[t.i-1],50).Ob();)if(c=u(Dz(t),57),X(c,174))for(i=u(c,174),r=0;r>4],n[t*2+1]=IG[c&15];return vh(n,0,n.length)}function gCn(e){var n,t,i;switch(i=e.c.length,i){case 0:return OV(),enn;case 1:return n=u(Eqe(new P(e)),45),Kpn(n.jd(),n.kd());default:return t=u(Fa(e,le(Eg,rF,45,e.c.length,0,1)),175),new cse(t)}}function zd(e,n){switch(n.g){case 1:return Ny(e.j,(ss(),Mve));case 2:return Ny(e.j,(ss(),xve));case 3:return Ny(e.j,(ss(),Tve));case 4:return Ny(e.j,(ss(),Ove));default:return En(),En(),Sc}}function wCn(e,n){var t,i,r;t=Hvn(n,e.e),i=u(zn(e.g.f,t),15).a,r=e.a.c.length-1,e.a.c.length!=0&&u(Le(e.a,r),295).c==i?(++u(Le(e.a,r),295).a,++u(Le(e.a,r),295).b):Ce(e.a,new _Oe(i))}function X0(){X0=Y,oln=(Xt(),Y4),sln=Zd,iln=Lg,rln=r5,cln=wb,tln=i5,Q4e=zI,uln=Fm,Dre=(Ube(),qsn),_re=Usn,Z4e=Ysn,Lre=Zsn,e6e=Qsn,n6e=Wsn,W4e=Xsn,qH=Ksn,UH=Vsn,TI=eln,t6e=nln,Y4e=Gsn}function HGe(e,n){var t,i,r,c,o;if(e.e<=n||j4n(e,e.g,n))return e.g;for(c=e.r,i=e.g,o=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=k.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a))}function vCn(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b}}function yCn(e,n,t){var i,r,c;for(r=new Xn(Qn(mh(t).a.Jc(),new ee));ht(r);)i=u(rt(r),17),!uc(i)&&!(!uc(i)&&i.c.i.c==i.d.i.c)&&(c=$Ue(e,i,t,new Sxe),c.c.length>1&&qn(n.c,c))}function UGe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e}function kCn(e){if(X(e,144))return JNn(u(e,144));if(X(e,233))return Zjn(u(e,233));if(X(e,21))return eCn(u(e,21));throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[e])))))}function jCn(e,n,t,i,r){var c,o,l;for(c=!0,o=0;o>>r|t[o+i+1]<>>r,++o}return c}function D0e(e,n,t,i){var r,c,o;if(n.k==(Fn(),dr)){for(c=new Xn(Qn(cr(n).a.Jc(),new ee));ht(c);)if(r=u(rt(c),17),o=r.c.i.k,o==dr&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t)return!0}return!1}function ECn(e,n){var t,i,r,c;return n&=63,t=e.h&U1,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),_o(i&Ls,r&Ls,c&U1)}function XGe(e,n,t,i){var r;this.b=i,this.e=e==(og(),Nx),r=n[t],this.d=x2(ts,[Ae,va],[171,30],16,[r.length,r.length],2),this.a=x2($t,[Ae,ni],[54,30],15,[r.length,r.length],2),this.c=new b0e(n,t)}function SCn(e){var n,t,i;for(e.k=new Aae((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,e.j.c.length),i=new P(e.j);i.a=t)return A8(e,n,i.p),!0;return!1}function b3(e,n,t,i){var r,c,o,l,f,h;for(o=t.length,c=0,r=-1,h=WRe((Wn(n,e.length+1),e.substr(n)),(VK(),qme)),l=0;lc&&_3n(h,WRe(t[l],qme))&&(r=l,c=f);return r>=0&&(i[0]=n+c),r}function MCn(e,n,t){var i,r,c,o,l,f,h,g;c=e.d.p,l=c.e,f=c.r,e.g=new _T(f),o=e.d.o.c.p,i=o>0?l[o-1]:le(s1,Hd,9,0,0,1),r=l[o],h=ot?H0e(e,t,"start index"):n<0||n>t?H0e(n,t,"end index"):sS("end index (%s) must not be less than start index (%s)",F(z(Mr,1),Nn,1,5,[ye(n),ye(e)]))}function WGe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&ZGe(e,c,t));n.p=0}function NCn(e){var n,t,i,r;for(n=Kb(Kt(new il("Predicates."),"and"),40),t=!0,r=new qc(e);r.b=0?e.hi(r):X0e(e,i);else throw R(new Un(ib+i.ve()+RS));else throw R(new Un(iZe+n+rZe));else Jl(e,t,i)}function _0e(e){var n,t;if(t=null,n=!1,X(e,210)&&(n=!0,t=u(e,210).a),n||X(e,265)&&(n=!0,t=""+u(e,265).a),n||X(e,479)&&(n=!0,t=""+u(e,479).a),!n)throw R(new CX(K2e));return t}function L0e(e,n,t){var i,r,c,o,l,f;for(f=Po(e.e.Ah(),n),i=0,l=e.i,r=u(e.g,122),o=0;o=e.d.b.c.length&&(n=new Xu(e.d),n.p=i.p-1,Ce(e.d.b,n),t=new Xu(e.d),t.p=i.p,Ce(e.d.b,t)),Or(i,u(Le(e.d.b,i.p),25))}function _Cn(e){var n,t,i,r;for(t=new xi,ac(t,e.o),i=new FP;t.b!=0;)n=u(t.b==0?null:(at(t.b!=0),Rl(t,t.a.a)),500),r=HVe(e,n,!0),r&&Ce(i.a,n);for(;i.a.c.length!=0;)n=u(N1e(i),500),HVe(e,n,!1)}function qe(e){var n;this.c=new xi,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=u(fa(eh),10),new Ll(n,u(_f(n,n.length),10),0)),this.g=e.f}function hg(){hg=Y,l9e=new ky(ES,0),xr=new ky("BOOLEAN",1),dc=new ky("INT",2),K4=new ky("STRING",3),ec=new ky("DOUBLE",4),Bi=new ky("ENUM",5),X4=new ky("ENUMSET",6),nh=new ky("OBJECT",7)}function ZE(e,n){var t,i,r,c,o;i=k.Math.min(e.c,n.c),c=k.Math.min(e.d,n.d),r=k.Math.max(e.c+e.b,n.c+n.b),o=k.Math.max(e.d+e.a,n.d+n.a),r=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)Ahe(this);this.b=n,this.a=null}function $Cn(e,n){var t,i;n.a?uIn(e,n):(t=u(BX(e.b,n.b),60),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Ec(n.b),i=u(RX(e.b,n.b),60),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Ec(i),DK(e.b,n.b))}function uqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.b=0,t.n.c=0;return}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Gc((Vs(),$g))&&PXe(e,n),i=jSn(e,n),NW(e,n)==(l3(),mb)&&(i+=2*e.w),t.a.a=i}function oqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.d=0,t.n.a=0;return}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Gc((Vs(),$g))&&$Xe(e,n),i=kSn(e,n),NW(e,n)==(l3(),mb)&&(i+=2*e.w),t.a.b=i}function RCn(e,n){var t,i,r,c;for(c=new Te,i=new P(n);i.ai&&(Wn(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return i>0||nt.a&&(i.Gc((ag(),Kx))?r=(n.a-t.a)/2:i.Gc(Vx)&&(r=n.a-t.a)),n.b>t.b&&(i.Gc((ag(),Qx))?c=(n.b-t.b)/2:i.Gc(Yx)&&(c=n.b-t.b)),E0e(e,r,c)}function hqe(e,n,t,i,r,c,o,l,f,h,g,p,y){X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),4),Mo(e,t),e.f=o,b8(e,l),g8(e,f),h8(e,h),d8(e,g),Rd(e,p),w8(e,y),$d(e,!0),Dd(e,r),e.Xk(c),sg(e,n),i!=null&&(e.i=null,MB(e,i))}function H0e(e,n,t){if(e<0)return sS(dYe,F(z(Mr,1),Nn,1,5,[t,ye(e)]));if(n<0)throw R(new Un(bYe+n));return sS("%s (%s) must not be greater than size (%s)",F(z(Mr,1),Nn,1,5,[t,ye(e),ye(n)]))}function G0e(e,n,t,i,r,c){var o,l,f,h;if(o=i-t,o<7){Ujn(n,t,i,c);return}if(f=t+r,l=i+r,h=f+(l-f>>1),G0e(n,e,f,h,-r,c),G0e(n,e,h,l,-r,c),c.Le(e[h-1],e[h])<=0){for(;t=0?e.$h(c,t):jbe(e,r,t);else throw R(new Un(ib+r.ve()+RS));else throw R(new Un(iZe+n+rZe));else Hl(e,i,r,t)}function dqe(e){var n,t;if(e.f){for(;e.n>0;){if(n=u(e.k.Xb(e.n-1),75),t=n.Jk(),X(t,103)&&(u(t,19).Bb&Ru)!=0&&(!e.e||t.nk()!=Q7||t.Jj()!=0)&&n.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function bqe(e){var n,t,i,r;if(t=u(e,52).Yh(),t)try{if(i=null,n=C8((x0(),jf),cKe(eEn(t))),n&&(r=n.Zh(),r&&(i=r.Dl(Jbn(t.e)))),i&&i!=e)return bqe(i)}catch(c){if(c=sr(c),!X(c,63))throw R(c)}return e}function eTn(e,n,t){var i,r,c;t.Tg("Remove overlaps",1),t.bh(n,Wpe),i=u(ke(n,(Xv(),W3)),26),e.f=i,e.a=RQ(u(ke(n,(X0(),TI)),303)),r=re(ke(n,(Xt(),Zd))),uy(e,(Ln(r),r)),c=nm(i),AVe(e,n,c,t),t.bh(n,RF)}function nTn(e){var n,t,i;if(ze(Be(ke(e,(Xt(),RI))))){for(i=new Te,t=new Xn(Qn(K0(e).a.Jc(),new ee));ht(t);)n=u(rt(t),85),Vw(n)&&ze(Be(ke(n,wce)))&&qn(i.c,n);return i}else return En(),En(),Sc}function gqe(e){if(!e)return oAe(),cnn;var n=e.valueOf?e.valueOf():e;if(n!==e){var t=rte[typeof n];return t?t(n):H1e(typeof n)}else return e instanceof Array||e instanceof k.Array?new u9(e):new s9(e)}function wqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=nS(i),r.a=eS(i),r.b=k.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}GW(i),qW(i)}function pqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=nS(i),r.a=eS(i),r.a=k.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}GW(i),qW(i)}function tTn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=Jy(n),r?k.Math.max(0,e.b/2-.5):(t=Yv(n),t?(i=ne(re(X2(t,(Oe(),Ig)))),k.Math.max(0,i/2-.5)):Vi))}function iTn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=Jy(n),r?k.Math.max(0,e.b/2-.5):(t=Yv(n),t?(i=ne(re(X2(t,(Oe(),Ig)))),k.Math.max(0,i/2-.5)):Vi))}function rTn(e,n){var t,i,r,c,o;if(!n.dc()){if(r=u(n.Xb(0),132),n.gc()==1){nXe(e,r,r,1,0,n);return}for(t=1;t0)try{r=hl(n,Xr,oi)}catch(c){throw c=sr(c),X(c,131)?(i=c,R(new fB(i))):R(c)}return t=(!e.a&&(e.a=new dX(e)),e.a),r=0?u(K(t,r),57):null}function oTn(e,n){if(e<0)return sS(dYe,F(z(Mr,1),Nn,1,5,["index",ye(e)]));if(n<0)throw R(new Un(bYe+n));return sS("%s (%s) must be less than size (%s)",F(z(Mr,1),Nn,1,5,["index",ye(e),ye(n)]))}function sTn(e){var n,t,i,r,c;if(e==null)return Vo;for(c=new rg(To,"[","]"),t=e,i=0,r=t.length;i=0?e.Ih(t,!0,!0):Yw(e,r,!0),163)),u(i,219).Xl(n);else throw R(new Un(ib+n.ve()+RS))}function K0e(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=lc(k.Math.floor(k.Math.log(e)/.6931471805599453)),(!n||e!=k.Math.pow(2,t))&&++t,t):PFe(Lu(e))}function vTn(e){var n,t,i,r,c,o,l;for(c=new Hh,t=new P(e);t.a2&&l.e.b+l.j.b<=2&&(r=l,i=o),c.a.yc(r,c),r.q=i);return c}function yTn(e,n,t){t.Tg("Eades radial",1),t.bh(n,RF),e.d=u(ke(n,(Xv(),W3)),26),e.c=ne(re(ke(n,(X0(),UH)))),e.e=RQ(u(ke(n,TI),303)),e.a=cEn(u(ke(n,t6e),426)),e.b=EAn(u(ke(n,W4e),354)),oAn(e),t.bh(n,RF)}function kTn(e,n){if(n.Tg("Target Width Setter",1),ga(e,(qa(),Kre)))Ei(e,(Zh(),$m),re(ke(e,Kre)));else throw R(new yd("A target width has to be set if the TargetWidthWidthApproximator should be used."));n.Ug()}function Sqe(e,n){var t,i,r;return i=new Ja(e),Pu(i,n),he(i,(ve(),oH),n),he(i,(Oe(),Zi),(Br(),to)),he(i,Dh,(Wh(),rG)),Cf(i,(Fn(),wr)),t=new Qu,wu(t,i),Ar(t,(Ie(),Yn)),r=new Qu,wu(r,i),Ar(r,nt),i}function xqe(e,n){var t,i,r,c,o;for(e.c[n.p]=!0,Ce(e.a,n),o=new P(n.j);o.a=c)o.$b();else for(r=o.Jc(),i=0;i0?Doe():o<0&&Oqe(e,n,-o),!0):!1}function eS(e){var n,t,i,r,c,o,l;if(l=0,e.b==0){for(o=sHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}else l=bAe(HY(N2(li(vV(e.a),new sd),new Np)));return l>0?l+e.n.d+e.n.a:0}function nS(e){var n,t,i,r,c,o,l;if(l=0,e.b==0)l=bAe(HY(N2(li(vV(e.a),new m5),new a0)));else{for(o=lHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}return l>0?l+e.n.b+e.n.c:0}function MTn(e){var n,t;if(e.c.length!=2)throw R(new Uc("Order only allowed for two paths."));n=(kn(0,e.c.length),u(e.c[0],17)),t=(kn(1,e.c.length),u(e.c[1],17)),n.d.i!=t.c.i&&(e.c.length=0,qn(e.c,t),qn(e.c,n))}function Nqe(e,n,t){var i;for(jw(t,n.g,n.f),Dl(t,n.i,n.j),i=0;i<(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i;i++)Nqe(e,u(K((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a),i),26),u(K((!t.a&&(t.a=new pe(Ft,t,10,11)),t.a),i),26))}function CTn(e,n){var t,i,r,c;for(c=u(zc(e.b,n),127),t=c.a,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.c&&(t.a=k.Math.max(t.a,mfe(i.c)));if(t.a>0)switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function TTn(e,n){var t,i,r;return t=u(C(n,(Gf(),O4)),15).a-u(C(e,O4),15).a,t==0?(i=Nr(pc(u(C(e,($0(),ZN)),8)),u(C(e,tx),8)),r=Nr(pc(u(C(n,ZN),8)),u(C(n,tx),8)),ji(i.a*i.b,r.a*r.b)):t}function OTn(e,n){var t,i,r;return t=u(C(n,(Mu(),FH)),15).a-u(C(e,FH),15).a,t==0?(i=Nr(pc(u(C(e,(Ti(),AI)),8)),u(C(e,B7),8)),r=Nr(pc(u(C(n,AI),8)),u(C(n,B7),8)),ji(i.a*i.b,r.a*r.b)):t}function Iqe(e){var n,t;return t=new j0,t.a+="e_",n=X7n(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(Kt((t.a+=" ",t),mz(e.c)),Kt(uo((t.a+="[",t),e.c.i),"]"),Kt((t.a+=nee,t),mz(e.d)),Kt(uo((t.a+="[",t),e.d.i),"]")),t.a}function Dqe(e){switch(e.g){case 0:return new DU;case 1:return new aP;case 2:return new _U;case 3:return new TC;default:throw R(new Un("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Q0e(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=k.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=k.Math.max(0,-e.b-i);break;case 2:c=k.Math.max(0,-e.a-i);break;case 4:c=k.Math.max(0,n.a+e.a-(t.a+i))}return c}function _qe(e,n,t){var i,r,c,o,l;if(t)for(r=t.a.length,i=new qb(r),l=(i.b-i.a)*i.c<0?(A0(),xb):new T0(i);l.Ob();)o=u(l.Pb(),15),c=G9(t,o.a),H2e in c.a||Ane in c.a?_Dn(e,c,n):nBn(e,c,n),opn(u(zn(e.c,m8(c)),85))}function W0e(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=af(e),n&&(Tc(),n.jk()==uen)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function Z0e(e,n){var t,i,r,c;if(fi(e),e.c!=0||e.a!=123)throw R(new Bt(Ht((Lt(),CZe))));if(c=n==112,i=e.d,t=A9(e.i,125,i),t<0)throw R(new Bt(Ht((Lt(),TZe))));return r=sf(e.i,i,t),e.d=t+1,H$e(r,c,(e.e&512)==512)}function NTn(e){var n,t,i,r,c,o,l;for(l=Gh(e.c.length),r=new P(e);r.a=0&&i=0?e.Ih(t,!0,!0):Yw(e,r,!0),163)),u(i,219).Ul(n);throw R(new Un(ib+n.ve()+pne))}function DTn(){ise();var e;return uhn?u(C8((x0(),jf),df),2e3):(ti(Eg,new LL),E$n(),e=u(X(lo((x0(),jf),df),548)?lo(jf,df):new $De,548),uhn=!0,jBn(e),CBn(e),ei((tse(),Q8e),e,new Av),Kc(jf,df,e),e)}function _Tn(e,n){var t,i,r,c;e.j=-1,Fs(e.e)?(t=e.i,c=e.i!=0,nO(e,n),i=new $1(e.e,3,e.c,null,n,t,c),r=n.xl(e.e,e.c,null),r=aGe(e,n,r),r?(r.lj(i),r.mj()):hi(e.e,i)):(nO(e,n),r=n.xl(e.e,e.c,null),r&&r.mj())}function Oz(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length)return-1;for(t=(Wn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));)t=(Wn(i,e.length),e.charCodeAt(i));return i>n[0]?n[0]=i:r=-1,r}function LTn(e,n,t){var i,r,c,o,l;o=e.c,l=e.d,c=mu(F(z(Lr,1),Ae,8,0,[o.i.n,o.n,o.a])).b,r=(c+mu(F(z(Lr,1),Ae,8,0,[l.i.n,l.n,l.a])).b)/2,i=null,o.j==(Ie(),nt)?i=new Ee(n+o.i.c.c.a+t,r):i=new Ee(n-t,r),M9(e.a,0,i)}function Vw(e){var n,t,i,r;for(n=null,i=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!e.b&&(e.b=new In(mt,e,4,7)),e.b),(!e.c&&(e.c=new In(mt,e,5,8)),e.c)])));ht(i);)if(t=u(rt(i),84),r=iu(t),!n)n=r;else if(n!=r)return!1;return!0}function EW(e,n,t){var i;if(++e.j,n>=e.i)throw R(new jo(Cne+n+yg+e.i));if(t>=e.i)throw R(new jo(Tne+t+yg+e.i));return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-sm,n=i>>16&4,t+=n,e<<=n,i=e-Sh,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n)}function PTn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.c.g==e.g&&ue(C(t.b,(Mu(),Lh)))!==ue(C(t.c,Lh))&&!Wv(new pn(null,new yn(r,16)),new $Ee(t))&&qn(r.c,t);return Tr(r,new Nk),r}function Pqe(e,n,t){var i,r,c,o;return X(n,155)&&X(t,155)?(c=u(n,155),o=u(t,155),e.a[c.a][o.a]+e.a[o.a][c.a]):X(n,251)&&X(t,251)&&(i=u(n,251),r=u(t,251),i.a==r.a)?u(C(r.a,(Gf(),O4)),15).a:0}function $qe(e,n){var t,i,r,c,o,l,f,h;for(h=ne(re(C(n,(Oe(),Sx)))),f=e[0].n.a+e[0].o.a+e[0].d.c+h,l=1;l=0?t:(l=bE(Nr(new Ee(o.c+o.b/2,o.d+o.a/2),new Ee(c.c+c.b/2,c.d+c.a/2))),-(bKe(c,o)-1)*l)}function RTn(e,n,t){var i;er(new pn(null,(!t.a&&(t.a=new pe($i,t,6,6)),new yn(t.a,16))),new RCe(e,n)),er(new pn(null,(!t.n&&(t.n=new pe(Eu,t,1,7)),new yn(t.n,16))),new BCe(e,n)),i=u(ke(t,(Xt(),t5)),78),i&&n1e(i,e,n)}function Yw(e,n,t){var i,r,c;if(c=v3((ls(),nc),e.Ah(),n),c)return Tc(),u(c,69).vk()||(c=Fy(Vc(nc,c))),r=(i=e.Fh(c),u(i>=0?e.Ih(i,!0,!0):Yw(e,c,!0),163)),u(r,219).Ql(n,t);throw R(new Un(ib+n.ve()+pne))}function ebe(e,n,t,i){var r,c,o,l,f;if(r=e.d[n],r){if(c=r.g,f=r.i,i!=null){for(l=0;l=t&&(i=n,h=(f.c+f.a)/2,o=h-t,f.c<=h-t&&(r=new WK(f.c,o),Hb(e,i++,r)),l=h+t,l<=f.a&&(c=new WK(l,f.a),_2(i,e.c.length),$j(e.c,i,c)))}function Fqe(e,n,t){var i,r,c,o,l,f;if(!n.dc()){for(r=new xi,f=n.Jc();f.Ob();)for(l=u(f.Pb(),40),ei(e.a,ye(l.g),ye(t)),o=(i=St(new A1(l).a.d,0),new Nv(i));nT(o.a);)c=u(jt(o.a),65).c,Ki(r,c,r.c.b,r.c);Fqe(e,r,t+1)}}function nbe(e){var n;if(!e.c&&e.g==null)e.d=e._i(e.f),Et(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=u(e.g[e.i-1],50)}return n==e.b&&null.Tm>=null.Sm()?(Dz(e),nbe(e)):n.Ob()}function Jqe(e){if(this.a=e,e.c.i.k==(Fn(),wr))this.c=e.c,this.d=u(C(e.c.i,(ve(),Iu)),64);else if(e.d.i.k==wr)this.c=e.d,this.d=u(C(e.d.i,(ve(),Iu)),64);else throw R(new Un("Edge "+e+" is not an external edge."))}function Hqe(e,n){var t,i,r;r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,r,e.b)),n?n!=e&&(Mo(e,n.zb),IY(e,n.d),t=(i=n.c,i??n.zb),_Y(e,t==null||bn(t,n.zb)?null:t)):(Mo(e,null),IY(e,0),_Y(e,null))}function Gqe(e){!tte&&(tte=ORn());var n=e.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 Syn(t)});return'"'+n+'"'}function tbe(e,n,t,i,r,c){var o,l,f,h,g;if(r!=0)for(ue(e)===ue(t)&&(e=e.slice(n,n+r),n=0),f=t,l=n,h=n+r;l=o)throw R(new S2(n,o));return r=t[n],o==1?i=null:(i=le(Bce,_ne,415,o-1,0,1),Wu(t,0,i,0,n),c=o-n-1,c>0&&Wu(t,n+1,i,n,c)),y8(e,i),aqe(e,n,r),r}function qqe(e){var n,t;if(e.f){for(;e.n0)for(o=e.c.d,l=e.d.d,r=C1(Nr(new Ee(l.a,l.b),o),1/(i+1)),c=new Ee(o.a,o.b),t=new P(e.a);t.a0?c=e4(t):c=_O(e4(t))),Ei(n,D7,c)}function Yqe(e,n){var t,i;if(e.c.length!=0){if(e.c.length==2)h4((kn(0,e.c.length),u(e.c[0],9)),(al(),a1)),h4((kn(1,e.c.length),u(e.c[1],9)),pb);else for(i=new P(e);i.a0&&rN(e,t,n),c):i.a!=null?(rN(e,n,t),-1):r.a!=null?(rN(e,t,n),1):0}function Qqe(e){UV();var n,t,i,r,c,o,l;for(t=new L0,r=new P(e.e.b);r.a=0;)i=t[c],o.$l(i.Jk())&&Et(r,i);!KVe(e,r)&&Fs(e.e)&&d9(e,n.Hk()?I0(e,6,n,(En(),Sc),null,-1,!1):I0(e,n.rk()?2:1,n,null,null,-1,!1))}function KTn(e,n){var t,i,r,c,o;return e.a==(x8(),sx)?!0:(c=n.a.c,t=n.a.c+n.a.b,!(n.j&&(i=n.A,o=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>o)||n.q&&(i=n.C,o=i.c.c.a-i.o.a/2,r=i.n.a-t,r>o)))}function Zqe(e,n,t){var i,r,c,o,l,f;for(i=0,f=t,n||(i=t*(e.c.length-1),f*=-1),c=new P(e);c.a=0?e.xh(null):e.Mh().Qh(e,-1-n,null,null)),e.yh(u(r,52),t),i&&i.mj(),e.sh()&&e.th()&&t>-1&&hi(e,new Dr(e,9,t,c,r)),r):c}function ube(e,n){var t,i,r,c,o;for(c=e.b.Ae(n),i=(t=e.a.get(c),t??le(Mr,Nn,1,0,5,1)),o=0;o>5,r>=e.d)return e.e<0;if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=rze(e),r>16)),16).bd(c),l0&&(!(M1(e.a.c)&&n.n.d)&&!(Fv(e.a.c)&&n.n.b)&&(n.g.d+=k.Math.max(0,i/2-.5)),!(M1(e.a.c)&&n.n.a)&&!(Fv(e.a.c)&&n.n.c)&&(n.g.a-=i-1))}function hUe(e,n,t){var i,r,c,o,l,f;c=u(Le(n.e,0),17).c,i=c.i,r=i.k,f=u(Le(t.g,0),17).d,o=f.i,l=o.k,r==(Fn(),dr)?he(e,(ve(),Sa),u(C(i,Sa),12)):he(e,(ve(),Sa),c),l==dr?he(e,(ve(),wf),u(C(o,wf),12)):he(e,(ve(),wf),f)}function dUe(e,n){var t,i,r,c,o,l;for(c=new P(e.b);c.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(o=i?U1:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(o=i?U1:0,c=i?Ls:0,r=t>>n-44),_o(r&Ls,c&Ls,o&U1)}function bUe(e,n){var t,i,r,c,o,l,f,h,g;if(e.a.f>0&&X(n,45)&&(e.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Dle(e.a,c),t=e.a.d[o],t)){for(i=u(t.g,374),g=t.i,l=0;l=2)for(t=r.Jc(),n=re(t.Pb());t.Ob();)c=n,n=re(t.Pb()),i=k.Math.min(i,(Ln(n),n-(Ln(c),c)));return i}function pOn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.b.g==e.g&&!bn(t.b.c,PF)&&ue(C(t.b,(Mu(),Lh)))!==ue(C(t.c,Lh))&&!Wv(new pn(null,new yn(r,16)),new REe(t))&&qn(r.c,t);return Tr(r,new sw),r}function mOn(e,n){var t,i,r;if(ue(n)===ue(Ot(e)))return!0;if(!X(n,16)||(i=u(n,16),r=e.gc(),r!=i.gc()))return!1;if(X(i,59)){for(t=0;t0&&(r=t),o=new P(e.f.e);o.a0?r+=n:r+=1;return r}function AOn(e,n){var t,i,r,c,o,l,f,h,g,p;h=e,f=vE(h,"individualSpacings"),f&&(i=ga(n,(Xt(),Q4)),o=!i,o&&(r=new H6,Ei(n,Q4,r)),l=u(ke(n,Q4),379),p=f,c=null,p&&(c=(g=zY(p,le(Je,Ae,2,0,6,1)),new $X(p,g))),c&&(t=new VCe(p,l),cc(c,t)))}function MOn(e,n){var t,i,r,c,o,l,f,h,g,p,y;return f=null,p=e,g=null,(dZe in p.a||bZe in p.a||qF in p.a)&&(h=null,y=a1e(n),o=vE(p,dZe),t=new jSe(y),tJe(t.a,o),l=vE(p,bZe),i=new NSe(y),iJe(i.a,l),c=Pw(p,qF),r=new _Se(y),h=(lGe(r.a,c),c),g=h),f=g,f}function COn(e,n){var t,i,r;if(n===e)return!0;if(X(n,540)){if(r=u(n,833),e.a.d!=r.a.d||Kv(e).gc()!=Kv(r).gc())return!1;for(i=Kv(r).Jc();i.Ob();)if(t=u(i.Pb(),416),hLe(e,t.a.jd())!=u(t.a.kd(),18).gc())return!1;return!0}return!1}function TOn(e,n){var t,i,r,c;for(c=new P(n.a);c.an.c?1:e.bn.b?1:e.a!=n.a?Ni(e.a)-Ni(n.a):e.d==(jE(),Dx)&&n.d==Ix?-1:e.d==Ix&&n.d==Dx?1:0}function AW(e){var n,t,i,r,c,o,l,f;for(r=Vi,i=Ir,t=new P(e.e.b);t.a0&&r0):r<0&&-r0):!1}function NOn(e,n,t,i){var r,c,o,l,f,h,g,p;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,p=new P(e.c);p.a>24;return o}function DOn(e){if(e.xe()){var n=e.c;n.ye()?e.o="["+n.n:n.xe()?e.o="["+n.ve():e.o="[L"+n.ve()+";",e.b=n.ue()+"[]",e.k=n.we()+"[]";return}var t=e.j,i=e.d;i=i.split("/"),e.o=CQ(".",[t,CQ("$",i)]),e.b=CQ(".",[t,CQ(".",i)]),e.k=i[i.length-1]}function _On(e,n){var t,i,r,c,o;for(o=null,c=new P(e.e.a);c.a0&&hN(n,(kn(i-1,e.c.length),u(e.c[i-1],9)),r)>0;)ol(e,i,(kn(i-1,e.c.length),u(e.c[i-1],9))),--i;kn(i,e.c.length),e.c[i]=r}n.b=new wt,n.g=new wt}function AUe(e,n,t){var i,r,c;for(i=1;i0&&n.Le((kn(r-1,e.c.length),u(e.c[r-1],9)),c)>0;)ol(e,r,(kn(r-1,e.c.length),u(e.c[r-1],9))),--r;kn(r,e.c.length),e.c[r]=c}t.a=new wt,t.b=new wt}function Iz(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=n.Jc();c.Ob();)r=u(c.Pb(),26),g=r.i+r.g/2,y=r.j+r.f/2,f=e.f,o=f.i+f.g/2,l=f.j+f.f/2,h=g-o,p=y-l,i=k.Math.sqrt(h*h+p*p),h*=e.e/i,p*=e.e/i,t?(g-=h,y-=p):(g+=h,y+=p),Os(r,g-r.g/2),Ns(r,y-r.f/2)}function g3(e){var n,t,i;if(!e.c&&e.b!=null){for(n=e.b.length-4;n>=0;n-=2)for(t=0;t<=n;t+=2)(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);e.c=!0}}function Jf(e){var n,t;return t=new il(Bb(e.Pm)),t.a+="@",Kt(t,(n=Ni(e)>>>0,n.toString(16))),e.Sh()?(t.a+=" (eProxyURI: ",uo(t,e.Yh()),e.Hh()&&(t.a+=" eClass: ",uo(t,e.Hh())),t.a+=")"):e.Hh()&&(t.a+=" (eClass: ",uo(t,e.Hh()),t.a+=")"),t.a}function rS(e){var n,t,i,r;if(e.e)throw R(new Uc((T1(gte),UZ+gte.k+XZ)));for(e.d==(vr(),ih)&&Zz(e,Zc),t=new P(e.a.a);t.a>24}return t}function zOn(e,n,t){var i,r,c;if(r=u(zc(e.i,n),318),!r)if(r=new YRe(e.d,n,t),Py(e.i,n,r),yde(n))upn(e.a,n.c,n.b,r);else switch(c=LCn(n),i=u(zc(e.p,c),253),c.g){case 1:case 3:r.j=!0,AX(i,n.b,r);break;case 4:case 2:r.k=!0,AX(i,n.c,r)}return r}function FOn(e,n,t,i){var r,c,o,l,f,h;if(l=new q6,f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk())for(o=0;o=0)return r;for(c=1,l=new P(n.j);l.a=0)return r;for(c=1,l=new P(n.j);l.a=0?(n||(n=new Aj,i>0&&Bc(n,(Qr(0,i,e.length),e.substr(0,i)))),n.a+="\\",$9(n,t&yr)):n&&$9(n,t&yr);return n?n.a:e}function HOn(e){var n,t,i;for(t=new P(e.a.a.b);t.a0&&(!(M1(e.a.c)&&n.n.d)&&!(Fv(e.a.c)&&n.n.b)&&(n.g.d-=k.Math.max(0,i/2-.5)),!(M1(e.a.c)&&n.n.a)&&!(Fv(e.a.c)&&n.n.c)&&(n.g.a+=k.Math.max(0,i-1)))}function IUe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2)n==(Ie(),Vn)||n==nt?(wB(u(DE(e),16),(al(),a1)),wB(u(DE(e),16),pb)):(wB(u(DE(e),16),(al(),pb)),wB(u(DE(e),16),a1));else for(r=new wE(e);r.a!=r.b;)i=u(GB(r),16),wB(i,t)}function GOn(e,n,t){var i,r,c,o,l,f,h,g,p;for(g=-1,p=0,l=n,f=0,h=l.length;f0&&++p;++g}return p}function qOn(e,n){var t,i,r,c,o,l,f;for(r=I9(new uoe(e)),l=new qr(r,r.c.length),c=I9(new uoe(n)),f=new qr(c,c.c.length),o=null;l.b>0&&f.b>0&&(t=(at(l.b>0),u(l.a.Xb(l.c=--l.b),26)),i=(at(f.b>0),u(f.a.Xb(f.c=--f.b),26)),t==i);)o=t;return o}function UOn(e,n){var t,i,r,c;for(n.Tg("Self-Loop pre-processing",1),i=new P(e.a);i.akLe(e,t)?(i=vu(t,(Ie(),nt)),e.d=i.dc()?0:iV(u(i.Xb(0),12)),o=vu(n,Yn),e.b=o.dc()?0:iV(u(o.Xb(0),12))):(r=vu(t,(Ie(),Yn)),e.d=r.dc()?0:iV(u(r.Xb(0),12)),c=vu(n,nt),e.b=c.dc()?0:iV(u(c.Xb(0),12)))}function XOn(e){var n,t,i,r,c,o,l,f;n=!0,r=null,c=null;e:for(f=new P(e.a);f.ae.c));o++)r.a>=e.s&&(c<0&&(c=o),l=o);return f=(e.s+e.c)/2,c>=0&&(i=IDn(e,n,c,l),f=$gn((kn(i,n.c.length),u(n.c[i],340))),JTn(n,i,t)),f}function Mt(e,n,t){var i,r,c,o,l,f,h;for(o=(c=new _b,c),qhe(o,(Ln(n),n)),h=(!o.b&&(o.b=new Hs((jn(),Ac),Du,o)),o.b),f=1;f=2}function QOn(e,n,t,i,r){var c,o,l,f,h,g;for(c=e.c.d.j,o=u(Yu(t,0),8),g=1;g1||(n=Ci(Qf,F(z($c,1),je,96,0,[ed,Wf])),yO(RR(n,e))>1)||(i=Ci(ea,F(z($c,1),je,96,0,[h1,mf])),yO(RR(i,e))>1))}function LUe(e){var n,t,i,r,c,o,l;for(n=0,i=new P(e.a);i.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Vt(n,i.b));for(r=new P(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Vt(t,i.a))}function Dz(e){var n,t,i,r,c;if(e.g==null&&(e.d=e._i(e.f),Et(e,e.d),e.c))return c=e.f,c;if(n=u(e.g[e.i-1],50),r=n.Pb(),e.e=n,t=e._i(r),t.Ob())e.d=t,Et(e,t);else for(e.d=null;!n.Ob()&&(ir(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],50),n=i;return r}function ZOn(e,n){var t,i,r,c,o,l;if(i=n,r=i.Jk(),G1(e.e,r)){if(r.Qi()&&XR(e,r,i.kd()))return!1}else for(l=Po(e.e.Ah(),r),t=u(e.g,122),c=0;c1||t>1)return 2;return n+t==1?2:0}function Ds(e,n){var t,i,r,c,o,l;return c=e.a*JZ+e.b*1502,l=e.b*JZ+11,t=k.Math.floor(l*SN),c+=t,l-=t*Kge,c%=Kge,e.a=c,e.b=l,n<=24?k.Math.floor(e.a*Xme[n]):(r=e.a*(1<=2147483648&&(i-=4294967296),i)}function RUe(e,n,t){var i,r,c,o,l,f,h;for(c=new Te,h=new xi,o=new xi,mLn(e,h,o,n),ZPn(e,h,o,n,t),f=new P(e);f.ai.b.g&&qn(c.c,i);return c}function cNn(e,n,t){var i,r,c,o,l,f;for(l=e.c,o=(t.q?t.q:(En(),En(),u1)).vc().Jc();o.Ob();)c=u(o.Pb(),45),i=!v9(li(new pn(null,new yn(l,16)),new a9(new ACe(n,c)))).zd((zb(),C4)),i&&(f=c.kd(),X(f,4)&&(r=jde(f),r!=null&&(f=r)),n.of(u(c.jd(),147),f))}function uNn(e,n){var t,i,r,c;for(n.Tg("Resize child graph to fit parent.",1),i=new P(e.b);i.a1)for(r=new P(e.a);r.a=0?e.Ih(i,!0,!0):Yw(e,c,!0),163)),u(r,219).Vl(n,t)}else throw R(new Un(ib+n.ve()+RS))}function lNn(e,n,t){var i,r,c,o,l,f;if(f=xle(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Vse(e,I2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Vse(e,I2(n)),o=(Ln(t),t+(Ln(r),r)),c=Vse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function fNn(e,n,t){var i,r,c,o,l,f;if(f=xle(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Yse(e,I2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Yse(e,I2(n)),o=(Ln(t),t+(Ln(r),r)),c=Yse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function _z(e,n){var t,i,r,c,o;if(n){for(c=X(e.Cb,88)||X(e.Cb,103),o=!c&&X(e.Cb,335),i=new st((!n.a&&(n.a=new uE(n,Rc,n)),n.a));i.e!=i.i.gc();)if(t=u(ft(i),87),r=Uz(t),c?X(r,88):o?X(r,159):r)return r;return c?(jn(),Ef):(jn(),uh)}else return null}function aNn(e,n){var t,i,r,c,o;for(t=new Te,r=lu(new pn(null,new yn(e,16)),new G5),c=lu(new pn(null,new yn(e,16)),new Ok),o=n8n(j9n(N2(jNn(F(z(BBn,1),Nn,832,0,[r,c])),new y_))),i=1;i=2*n&&Ce(t,new WK(o[i-1]+n,o[i]-n));return t}function BUe(e,n,t){var i,r,c,o,l,f,h,g;if(t)for(c=t.a.length,i=new qb(c),l=(i.b-i.a)*i.c<0?(A0(),xb):new T0(i);l.Ob();)o=u(l.Pb(),15),r=G9(t,o.a),r&&(f=C6n(e,(h=(S0(),g=new koe,g),n&&Ebe(h,n),h),r),W9(f,D1(r,Oh)),Sz(r,f),q0e(r,f),nQ(e,r,f))}function Lz(e){var n,t,i,r,c,o;if(!e.j){if(o=new xL,n=hA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),r=Lz(t),nr(o,r),Et(o,t);n.a.Ac(e)!=null}G2(o),e.j=new Bv((u(K(we((O0(),Bn).o),11),19),o.i),o.g),Ms(e).b&=-33}return e.j}function hNn(e){var n,t,i,r;if(e==null)return null;if(i=bo(e,!0),r=KN.length,bn(i.substr(i.length-r,r),KN)){if(t=i.length,t==4){if(n=(Wn(0,i.length),i.charCodeAt(0)),n==43)return p7e;if(n==45)return Mhn}else if(t==3)return p7e}return new doe(i)}function dNn(e){var n,t,i;return t=e.l,(t&t-1)!=0||(i=e.m,(i&i-1)!=0)||(n=e.h,(n&n-1)!=0)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?Rhe(t):n==0&&i!=0&&t==0?Rhe(i)+22:n!=0&&i==0&&t==0?Rhe(n)+44:-1}function w3(e,n){var t,i,r,c,o;for(r=n.a&e.f,c=null,i=e.b[r];;i=i.b){if(i==n){c?c.b=n.b:e.b[r]=n.b;break}c=i}for(o=n.f&e.f,c=null,t=e.c[o];;t=t.d){if(t==n){c?c.d=n.d:e.c[o]=n.d;break}c=t}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g}function bNn(e,n){var t;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(t=u(of(u(Gy(e.b,n.a),262)),262),t.a=0,++e.c):(t=u(of(u(zn(e.b,n.a),262)),262),--t.a,n.e?n.e.c=n.c:t.b=u(of(n.c),497),n.c?n.c.e=n.e:t.c=u(of(n.e),497)),--e.d}function CW(e,n){var t,i,r,c;for(c=new qr(e,0),t=(at(c.b0),c.a.Xb(c.c=--c.b),E2(c,r),at(c.b3&&Qh(e,0,n-3))}function wNn(e){var n,t,i,r;return ue(C(e,(Oe(),Am)))===ue((F1(),e0))?!e.e&&ue(C(e,gI))!==ue((i8(),oI)):(i=u(C(e,Nie),302),r=ze(Be(C(e,Iie)))||ue(C(e,yx))===ue((HE(),cI)),n=u(C(e,J5e),15).a,t=e.a.c.length,!r&&i!=(i8(),oI)&&(n==0||n>t))}function pNn(e,n){var t,i,r,c,o,l,f;for(r=e.Jc();r.Ob();)for(i=u(r.Pb(),9),l=new Qu,wu(l,i),Ar(l,(Ie(),nt)),he(l,(ve(),sH),($n(),!0)),o=n.Jc();o.Ob();)c=u(o.Pb(),9),f=new Qu,wu(f,c),Ar(f,Yn),he(f,sH,!0),t=new Dw,he(t,sH,!0),fc(t,l),Gr(t,f)}function mNn(e){var n,t;for(t=0;t0);t++);if(t>0&&t0);n++);return n>0&&t>16!=6&&n){if(k8(e,n))throw R(new Un(BS+eUe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Gde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,6,i)),i=Nle(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,6,n,n))}function Pz(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(k8(e,n))throw R(new Un(BS+GKe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Kde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,12,i)),i=Ole(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function Ebe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(k8(e,n))throw R(new Un(BS+FXe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Ude(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,9,i)),i=Ile(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,9,n,n))}function T8(e){var n,t,i,r,c;if(i=af(e),c=e.j,c==null&&i)return e.Hk()?null:i.gk();if(X(i,159)){if(t=i.hk(),t&&(r=t.ti(),r!=e.i)){if(n=u(i,159),n.lk())try{e.g=r.qi(n,c)}catch(o){if(o=sr(o),X(o,80))e.g=null;else throw R(o)}e.i=r}return e.g}return null}function GUe(e){var n;return n=new Te,Ce(n,new vy(new Ee(e.c,e.d),new Ee(e.c+e.b,e.d))),Ce(n,new vy(new Ee(e.c,e.d),new Ee(e.c,e.d+e.a))),Ce(n,new vy(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c+e.b,e.d))),Ce(n,new vy(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c,e.d+e.a))),n}function yNn(e){var n,t,i,r;for(i=e.a.d.j,r=e.c.d.j,t=new P(e.i.d);t.a>>0),t.toString(16)),QEn(Y7n(),(E9(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+Bb(n.Pm)+">";throw R(r)}}function jNn(e){var n,t,i,r,c,o,l,f,h;for(i=!1,n=336,t=0,c=new uNe(e.length),l=e,f=0,h=l.length;f1)for(n=Sw((t=new Rb,++e.b,t),e.d),l=St(c,0);l.b!=l.d.c;)o=u(jt(l),124),Hf(Nf(Of(If(Tf(new rf,1),0),n),o))}function $z(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=11&&n){if(k8(e,n))throw R(new Un(BS+Gbe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Vde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,10,i)),i=Ule(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,n,n))}function MNn(e,n,t){var i,r,c,o,l,f;if(c=0,o=0,e.c)for(f=new P(e.d.i.j);f.ac.a?-1:r.af){for(g=e.d,e.d=le(J8e,ime,67,2*f+4,0,1),c=0;c=9223372036854776e3?(V9(),Sme):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=gg&&(i=lc(e/gg),e-=i*gg),t=0,e>=p4&&(t=lc(e/p4),e-=t*p4),n=lc(e),c=_o(n,t,i),r&&eQ(c),c)}function BNn(e){var n,t,i,r,c;if(c=new Te,Ao(e.b,new eje(c)),e.b.c.length=0,c.c.length!=0){for(n=(kn(0,c.c.length),u(c.c[0],80)),t=1,i=c.c.length;t>16!=7&&n){if(k8(e,n))throw R(new Un(BS+VGe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?qde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,1,eD,i)),i=Tfe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,n,n))}function XUe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(k8(e,n))throw R(new Un(BS+RFe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Xde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,0,tD,i)),i=Ofe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function TW(e,n){N8();var t,i,r,c,o,l,f,h,g;return n.d>e.d&&(l=e,e=n,n=l),n.d<63?TIn(e,n):(o=(e.d&-2)<<4,h=Qae(e,o),g=Qae(n,o),i=VW(e,Hy(h,o)),r=VW(n,Hy(g,o)),f=TW(h,g),t=TW(i,r),c=TW(VW(h,i),VW(r,g)),c=tZ(tZ(c,f),t),c=Hy(c,o),f=Hy(f,o<<1),tZ(tZ(f,c),t))}function nN(){nN=Y,Vie=new Lv(UQe,0),Tye=new Lv("LONGEST_PATH",1),Oye=new Lv("LONGEST_PATH_SOURCE",2),Xie=new Lv("COFFMAN_GRAHAM",3),Cye=new Lv(cee,4),Nye=new Lv("STRETCH_WIDTH",5),MH=new Lv("MIN_WIDTH",6),Uie=new Lv("BF_MODEL_ORDER",7),Kie=new Lv("DF_MODEL_ORDER",8)}function GNn(e,n){var t,i,r,c,o,l;if(!e.tb){for(c=(!e.rb&&(e.rb=new C2(e,Ca,e)),e.rb),l=new my(c.i),r=new st(c);r.e!=r.i.gc();)i=u(ft(r),143),o=i.ve(),t=u(o==null?Ko(l.f,null,i):Jw(l.i,o,i),143),t&&(o==null?Ko(l.f,null,t):Jw(l.i,o,t));e.tb=l}return u(lo(e.tb,n),143)}function tN(e,n){var t,i,r,c,o;if((e.i==null&&Eh(e),e.i).length,!e.p){for(o=new my((3*e.g.i/2|0)+1),r=new My(e.g);r.e!=r.i.gc();)i=u(PQ(r),179),c=i.ve(),t=u(c==null?Ko(o.f,null,i):Jw(o.i,c,i),179),t&&(c==null?Ko(o.f,null,t):Jw(o.i,c,t));e.p=o}return u(lo(e.p,n),179)}function Tbe(e,n,t,i,r){var c,o,l,f,h;for(FEn(i+PR(t,t.ge()),r),EDe(n,rEn(t)),c=t.f,c&&Tbe(e,n,c,"Caused by: ",!1),l=(t.k==null&&(t.k=le(nte,Ae,80,0,0,1)),t.k),f=0,h=l.length;f=0;c+=t?1:-1)o=o|n.c.jg(f,c,t,i&&!ze(Be(C(n.j,(ve(),lb))))&&!ze(Be(C(n.j,(ve(),J3))))),o=o|n.q.tg(f,c,t),o=o|_Xe(e,f[c],t,i);return hr(e.c,n),o}function Bz(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(g=WLe(e.j),p=0,y=g.length;p1&&(e.a=!0),m3n(u(t.b,68),pi(pc(u(n.b,68).c),C1(Nr(pc(u(t.b,68).a),u(n.b,68).a),r))),sLe(e,n),VUe(e,t)}function YUe(e){var n,t,i,r,c,o,l;for(c=new P(e.a.a);c.a0&&c>0?o.p=n++:i>0?o.p=t++:c>0?o.p=r++:o.p=t++}En(),Tr(e.j,new _q)}function VNn(e){var n,t;t=null,n=u(Le(e.g,0),17);do{if(t=n.d.i,wi(t,(ve(),wf)))return u(C(t,wf),12).i;if(t.k!=(Fn(),Wi)&&ht(new Xn(Qn(Ii(t).a.Jc(),new ee))))n=u(rt(new Xn(Qn(Ii(t).a.Jc(),new ee))),17);else if(t.k!=Wi)return null}while(t&&t.k!=(Fn(),Wi));return t}function YNn(e,n){var t,i,r,c,o,l,f,h,g;for(l=n.j,o=n.g,f=u(Le(l,l.c.length-1),113),g=(kn(0,l.c.length),u(l.c[0],113)),h=QQ(e,o,f,g),c=1;ch&&(f=t,g=r,h=i);n.a=g,n.c=f}function Qw(e,n,t,i){var r,c;if(r=ue(C(t,(Oe(),mx)))===ue((B0(),Em)),c=u(C(t,F5e),16),wi(e,(ve(),Oi)))if(r){if(c.Gc(C(e,vx))&&c.Gc(C(n,vx)))return i*u(C(e,vx),15).a+u(C(e,Oi),15).a}else return u(C(e,Oi),15).a;else return-1;return u(C(e,Oi),15).a}function QNn(e,n,t){var i,r,c,o,l,f,h;for(h=new Ed(new yEe(e)),o=F(z(hin,1),wQe,12,0,[n,t]),l=0,f=o.length;lf-e.b&&lf-e.a&&lt.p?1:0:c.Ob()?1:-1}function cIn(e,n){var t,i,r,c,o,l;n.Tg(wWe,1),r=u(ke(e,(qa(),Hx)),104),c=(!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),o=Axn(c),l=k.Math.max(o.a,ne(re(ke(e,(Zh(),Jx))))-(r.b+r.c)),i=k.Math.max(o.b,ne(re(ke(e,KH)))-(r.d+r.a)),t=i-o.b,Ei(e,Fx,t),Ei(e,q4,l),Ei(e,F7,i+t),n.Ug()}function zz(e){var n,t;if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i==0)return a1e(e);for(n=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),kt((!n.a&&(n.a=new mr(kl,n,5)),n.a)),i3(n,0),r3(n,0),n3(n,0),t3(n,0),t=(!e.a&&(e.a=new pe($i,e,6,6)),e.a);t.i>1;)tm(t,t.i-1);return n}function Po(e,n){Tc();var t,i,r,c;return n?n==(Si(),xhn)||(n==dhn||n==Bg||n==hhn)&&e!=g7e?new Cge(e,n):(i=u(n,682),t=i.Yk(),t||(z9(Vc((ls(),nc),n)),t=i.Yk()),c=(!t.i&&(t.i=new wt),t.i),r=u(bu(Xc(c.f,e)),2003),!r&&ei(c,e,r=new Cge(e,n)),r):lhn}function uIn(e,n){var t,i;if(i=FT(e.b,n.b),!i)throw R(new Uc("Invalid hitboxes for scanline constraint calculation."));(Oze(n.b,u(Cgn(e.b,n.b),60))||Oze(n.b,u(Mgn(e.b,n.b),60)))&&Sd(),e.a[n.b.f]=u(BX(e.b,n.b),60),t=u(RX(e.b,n.b),60),t&&(e.a[t.f]=n.b)}function oIn(e,n){var t,i,r,c,o,l,f,h,g;for(f=u(C(e,(ve(),mi)),12),h=mu(F(z(Lr,1),Ae,8,0,[f.i.n,f.n,f.a])).a,g=e.i.n.b,t=ph(e.e),r=t,c=0,o=r.length;c0?c.a?(l=c.b.Kf().a,t>l&&(r=(t-l)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:lE(e.u)&&(i=y0e(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Kf().a&&(c.d.c=i.c+i.b-c.b.Kf().a))}function dIn(e,n){var t,i,r,c,o;o=new Te,t=n;do c=u(zn(e.b,t),132),c.B=t.c,c.D=t.d,qn(o.c,c),t=u(zn(e.k,t),17);while(t);return i=(kn(0,o.c.length),u(o.c[0],132)),i.j=!0,i.A=u(i.d.a.ec().Jc().Pb(),17).c.i,r=u(Le(o,o.c.length-1),132),r.q=!0,r.C=u(r.d.a.ec().Jc().Pb(),17).d.i,o}function bIn(e){var n,t;t=u(C(e,(Oe(),ku)),165),n=u(C(e,(ve(),xg)),315),t==(Xs(),Q1)?(he(e,ku,dI),he(e,xg,(P1(),z3))):t==Mg?(he(e,ku,dI),he(e,xg,(P1(),D4))):n==(P1(),z3)?(he(e,ku,Q1),he(e,xg,lI)):n==D4&&(he(e,ku,Mg),he(e,xg,lI))}function Fz(){Fz=Y,SI=new Yp,Kon=qt(new or,(zr(),eo),(Ur(),OJ)),Qon=Eo(qt(new or,eo,RJ),Pc,$J),Won=yh(yh(_j(Eo(qt(new or,Kf,JJ),Pc,FJ),no),zJ),HJ),Von=Eo(qt(qt(qt(new or,o1,IJ),no,_J),no,y7),Pc,DJ),Yon=Eo(qt(qt(new or,no,y7),no,TJ),Pc,CJ)}function oS(){oS=Y,nsn=qt(Eo(new or,(zr(),Pc),(Ur(),Gve)),eo,OJ),csn=yh(yh(_j(Eo(qt(new or,Kf,JJ),Pc,FJ),no),zJ),HJ),tsn=Eo(qt(qt(qt(new or,o1,IJ),no,_J),no,y7),Pc,DJ),rsn=qt(qt(new or,eo,RJ),Pc,$J),isn=Eo(qt(qt(new or,no,y7),no,TJ),Pc,CJ)}function gIn(e,n,t,i,r){var c,o;(!uc(n)&&n.c.i.c==n.d.i.c||!$Be(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])),t))&&!uc(n)&&(n.c==r?M9(n.a,0,new wc(t)):Vt(n.a,new wc(t)),i&&!cf(e.a,t)&&(o=u(C(n,(Oe(),Wc)),78),o||(o=new xs,he(n,Wc,o)),c=new wc(t),Ki(o,c,o.c.b,o.c),hr(e.a,c)))}function ZUe(e,n){var t,i,r,c;for(c=Rt(hc(t1,Vh(Rt(hc(n==null?0:Ni(n),i1)),15))),t=c&e.b.length-1,r=null,i=e.b[t];i;r=i,i=i.a)if(i.d==c&&O1(i.i,n))return r?r.a=i.a:e.b[t]=i.a,pAe(u(of(i.c),593),u(of(i.f),593)),WC(u(of(i.b),227),u(of(i.e),227)),--e.f,++e.e,!0;return!1}function wIn(e){var n,t;for(t=new Xn(Qn(cr(e).a.Jc(),new ee));ht(t);)if(n=u(rt(t),17),n.c.i.k!=(Fn(),Uu))throw R(new yd(ree+zO(e)+"' 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 eXe(e,n){var t,i,r,c,o,l,f,h,g,p,y;r=n?new ow:new fM,c=!1;do for(c=!1,h=n?Ks(e.b):e.b,f=h.Jc();f.Ob();)for(l=u(f.Pb(),25),y=Wb(l.a),n||Ks(y),p=new P(y);p.a=0;o+=r?1:-1){for(l=n[o],f=i==(Ie(),nt)?r?vu(l,i):Ks(vu(l,i)):r?Ks(vu(l,i)):vu(l,i),c&&(e.c[l.p]=f.gc()),p=f.Jc();p.Ob();)g=u(p.Pb(),12),e.d[g.p]=h++;Sr(t,f)}}function tXe(e,n,t){var i,r,c,o,l,f,h,g;for(c=ne(re(e.b.Jc().Pb())),h=ne(re(Q7n(n.b))),i=C1(pc(e.a),h-t),r=C1(pc(n.a),t-c),g=pi(i,r),C1(g,1/(h-c)),this.a=g,this.b=new Te,l=!0,o=e.b.Jc(),o.Pb();o.Ob();)f=ne(re(o.Pb())),l&&f-t>Kee&&(this.b.Ec(t),l=!1),this.b.Ec(f);l&&this.b.Ec(t)}function mIn(e){var n,t,i,r;if(LDn(e,e.n),e.d.c.length>0){for(Sj(e.c);lbe(e,u(L(new P(e.e.a)),124))>5,n&=31,i>=e.d)return e.e<0?(jh(),ann):(jh(),WS);if(c=e.d-i,r=le($t,ni,30,c+1,15,1),jCn(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n!=0){for(t=0;t=0?!1:(t=v3((ls(),nc),r,n),t?(i=t.Gk(),(i>1||i==-1)&&Nw(Vc(nc,t))!=3):!0)):!1}function SIn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;if(f=e.c.d,h=e.d.d,f.j!=h.j)for(S=e.b,g=null,l=null,o=BEn(e),o&&S.i&&(g=e.b.i.i,l=S.i.j),r=f.j,p=null;r!=h.j;)p=n==0?XB(r):V1e(r),c=Mde(r,S.d[r.g],t),y=Mde(p,S.d[p.g],t),o&&g&&l&&(r==g?VFe(c,g,l):p==g&&VFe(y,g,l)),Vt(i,pi(c,y)),r=p}function Ibe(e,n,t){var i,r,c,o,l,f;if(i=bgn(t,e.length),o=e[i],c=jAe(t,o.length),o[c].k==(Fn(),wr))for(f=n.j,r=0;r0&&(t[0]+=e.d,o-=t[0]),t[2]>0&&(t[2]+=e.d,o-=t[2]),c=k.Math.max(0,o),t[1]=k.Math.max(t[1],o),Zae(e,No,r.c+i.b+t[0]-(t[1]-o)/2,t),n==No&&(e.c.b=c,e.c.c=r.c+i.b+(c-o)/2)}function fXe(){this.c=le(Jr,Jc,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),this.a=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),sse(this.c,Vi),sse(this.b,Ir),sse(this.a,Ir)}function OIn(e,n,t,i){var r,c,o,l,f;for(f=n.i,l=t[f.g][e.d[f.g]],r=!1,o=new P(n.d);o.a=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||g3(e)}}function NIn(e,n,t){var i,r,c,o,l,f,h;for(h=n.d,e.a=new xo(h.c.length),e.c=new wt,l=new P(h);l.a=0?e.Ih(h,!1,!0):Yw(e,t,!1),61));e:for(c=p.Jc();c.Ob();){for(r=u(c.Pb(),57),g=0;ge.d[o.p]&&(t+=qae(e.b,c),_0(e.a,ye(c)));for(;!xj(e.a);)xhe(e.b,u(Ly(e.a),15).a)}return t}function dXe(e,n,t){var i,r,c,o;for(c=(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i,r=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ft(r),26),(!i.a&&(i.a=new pe(Ft,i,10,11)),i.a).i==0||(c+=dXe(e,i,!1));if(t)for(o=Fi(n);o;)c+=(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i,o=Fi(o);return c}function tm(e,n){var t,i,r,c;return e.Nj()?(i=null,r=e.Oj(),e.Rj()&&(i=e.Tj(e.Yi(n),null)),t=e.Gj(4,c=r4(e,n),null,n,r),e.Kj()&&c!=null&&(i=e.Mj(c,i)),i?(i.lj(t),i.mj()):e.Hj(t),c):(c=r4(e,n),e.Kj()&&c!=null&&(i=e.Mj(c,null),i&&i.mj()),c)}function RIn(e){var n,t,i,r,c,o,l,f,h,g;for(h=e.a,n=new ar,f=0,i=new P(e.d);i.al.d&&(g=l.d+l.a+h));t.c.d=g,n.a.yc(t,n),f=k.Math.max(f,t.c.d+t.c.a)}return f}function BIn(e,n,t){var i,r,c,o,l,f;for(o=u(C(e,(ve(),pie)),16).Jc();o.Ob();){switch(c=u(o.Pb(),9),u(C(c,(Oe(),ku)),165).g){case 2:Or(c,n);break;case 4:Or(c,t)}for(r=new Xn(Qn(mh(c).a.Jc(),new ee));ht(r);)i=u(rt(r),17),!(i.c&&i.d)&&(l=!i.d,f=u(C(i,Z3e),12),l?Gr(i,f):fc(i,f))}}function Ic(){Ic=Y,nH=new g2("COMMENTS",0),Vl=new g2("EXTERNAL_PORTS",1),lx=new g2("HYPEREDGES",2),tH=new g2("HYPERNODES",3),T7=new g2("NON_FREE_PORTS",4),B3=new g2("NORTH_SOUTH_PORTS",5),fx=new g2(_Qe,6),M7=new g2("CENTER_LABELS",7),C7=new g2("END_LABELS",8),iH=new g2("PARTITIONS",9)}function zIn(e,n,t,i,r){return i<0?(i=b3(e,r,F(z(Je,1),Ae,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=b3(e,r,F(z(Je,1),Ae,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function FIn(e,n,t,i,r){return i<0?(i=b3(e,r,F(z(Je,1),Ae,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=b3(e,r,F(z(Je,1),Ae,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function JIn(e,n,t,i,r,c){var o,l,f,h;if(l=32,i<0){if(n[0]>=e.length||(l=rc(e,n[0]),l!=43&&l!=45)||(++n[0],i=Oz(e,n),i<0))return!1;l==45&&(i=-i)}return l==32&&n[0]-t==2&&r.b==2&&(f=new u$,h=f.q.getFullYear()-Z0+Z0-80,o=h%100,c.a=i==o,i+=(h/100|0)*100+(i=0?G0(e):hE(G0(Id(e)))),ZS[n]=D$(Xh(e,n),0)?G0(Xh(e,n)):hE(G0(Id(Xh(e,n)))),e=hc(e,5);for(;n=h&&(f=i);f&&(g=k.Math.max(g,f.a.o.a)),g>y&&(p=h,y=g)}return p}function XIn(e){var n,t,i,r,c,o,l;for(c=new Ed(u(Ot(new Dp),51)),l=Ir,t=new P(e.d);t.afWe?Tr(f,e.b):i<=fWe&&i>aWe?Tr(f,e.d):i<=aWe&&i>hWe?Tr(f,e.c):i<=hWe&&Tr(f,e.a),c=pXe(e,f,c);return r}function mXe(e,n,t,i){var r,c,o,l,f,h;for(r=(i.c+i.a)/2,qs(n.j),Vt(n.j,r),qs(t.e),Vt(t.e,r),h=new yAe,l=new P(e.f);l.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),CE(n.a,F(z(Lr,1),Ae,8,0,[y,p]))}function Lbe(e,n,t){var i,r;for(n=48;t--)wA[t]=t-48<<24>>24;for(i=70;i>=65;i--)wA[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)wA[r]=r-97+10<<24>>24;for(c=0;c<10;c++)IG[c]=48+c&yr;for(e=10;e<=15;e++)IG[e]=65+e-10&yr}function jXe(e,n){n.Tg("Process graph bounds",1),he(e,(Ti(),pre),fT(GY(N2(new pn(null,new yn(e.b,16)),new eU)))),he(e,mre,fT(GY(N2(new pn(null,new yn(e.b,16)),new Bs)))),he(e,y4e,fT(HY(N2(new pn(null,new yn(e.b,16)),new xM)))),he(e,k4e,fT(HY(N2(new pn(null,new yn(e.b,16)),new AM)))),n.Ug()}function WIn(e){var n,t,i,r,c;r=u(C(e,(Oe(),Tg)),22),c=u(C(e,EH),22),t=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new wc(t),r.Gc((Vs(),qm))&&(i=u(C(e,I7),8),c.Gc((_s(),Y7))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=k.Math.max(t.a,i.a),n.b=k.Math.max(t.b,i.b)),ze(Be(C(e,Bie)))||SLn(e,t,n)}function ZIn(e){var n,t,i,r,c,o,l;for(n=!1,t=0,r=new P(e.d.b);r.a>19!=0)return"-"+EXe(c8(e));for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=lY(uF),t=yge(t,r,!0),n=""+RAe(rb),!(t.l==0&&t.m==0&&t.h==0))for(c=9-n.length;c>0;c--)n="0"+n;i=n+i}return i}function eDn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",n=Object.create(null);if(n[e]!==void 0)return!1;var t=Object.getOwnPropertyNames(n);return!(t.length!=0||(n[e]=42,n[e]!==42)||Object.getOwnPropertyNames(n).length==0)}function nDn(e,n,t){var i,r,c,o,l,f,h,g,p;for(i=t.c,r=t.d,l=$a(n.c),f=$a(n.d),i==n.c?(l=kbe(e,l,r),f=SGe(n.d)):(l=SGe(n.c),f=kbe(e,f,r)),h=new VP(n.a),Ki(h,l,h.a,h.a.a),Ki(h,f,h.c.b,h.c),o=n.c==i,p=new hxe,c=0;c=e.a||!w0e(n,t))return-1;if(L2(u(i.Kb(n),20)))return 1;for(r=0,o=u(i.Kb(n),20).Jc();o.Ob();)if(c=u(o.Pb(),17),f=c.c.i==n?c.d.i:c.c.i,l=Rbe(e,f,t,i),l==-1||(r=k.Math.max(r,l),r>e.c-1))return-1;return r+1}function qa(){qa=Y,YH=new Yr((Xt(),J7),1.3),_ln=new Yr(zm,($n(),!1)),E6e=new Ew(15),Hx=new Yr(f1,E6e),Gx=new Yr(Zd,15),Oln=PI,Dln=Lg,Lln=r5,Pln=wb,Iln=i5,Ure=zI,$ln=Fm,M6e=(ige(),Mln),A6e=Aln,Kre=Tln,C6e=Cln,j6e=Eln,Xre=jln,k6e=kln,x6e=xln,v6e=BI,Nln=pce,OI=mln,m6e=pln,NI=vln,S6e=Sln,y6e=yln}function SXe(e,n){var t,i,r,c,o,l;if(ue(n)===ue(e))return!0;if(!X(n,16)||(i=u(n,16),l=e.gc(),i.gc()!=l))return!1;if(o=i.Jc(),e.Wi()){for(t=0;t0){if(e.Zj(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw R(new hh("Invalid hexadecimal"))}}function AXe(e,n,t,i){var r,c,o,l,f,h;for(f=iW(e,t),h=iW(n,t),r=!1;f&&h&&(i||oxn(f,h,t));)o=iW(f,t),l=iW(h,t),sO(n),sO(e),c=f.c,iZ(f,!1),iZ(h,!1),t?(q0(n,h.p,c),n.p=h.p,q0(e,f.p+1,c),e.p=f.p):(q0(e,f.p,c),e.p=f.p,q0(n,h.p+1,c),n.p=h.p),Or(f,null),Or(h,null),f=o,h=l,r=!0;return r}function MXe(e){switch(e.g){case 0:return new sP;case 1:return new lP;case 3:return new PMe;case 4:return new N6;case 5:return new aNe;case 6:return new ko;case 2:return new fP;case 7:return new AC;case 8:return new xC;default:throw R(new Un("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function cDn(e,n,t,i){var r,c,o,l,f;for(r=!1,c=!1,l=new P(i.j);l.a=n.length)throw R(new jo("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new _T(i),RY(this.e,this.c,(Ie(),Yn)),this.i=new _T(i),RY(this.i,this.c,nt),this.f=new PIe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Fn(),wr),this.a&&MCn(this,e,n.length)}function TXe(e,n){var t,i,r,c,o,l;c=!e.B.Gc((_s(),QI)),o=e.B.Gc(Oce),e.a=new hJe(o,c,e.c),e.n&&fae(e.a.n,e.n),AX(e.g,(pa(),No),e.a),n||(i=new UE(1,c,e.c),i.n.a=e.k,Py(e.p,(Ie(),Vn),i),r=new UE(1,c,e.c),r.n.d=e.k,Py(e.p,bt,r),l=new UE(0,c,e.c),l.n.c=e.k,Py(e.p,Yn,l),t=new UE(0,c,e.c),t.n.b=e.k,Py(e.p,nt,t))}function oDn(e){var n,t,i;switch(n=u(C(e.d,(Oe(),W1)),222),n.g){case 2:t=VRn(e);break;case 3:t=(i=new Te,er(li(So(lu(lu(new pn(null,new yn(e.d.b,16)),new rw),new i_),new Ek),new b0),new Yje(i)),i);break;default:throw R(new Uc("Compaction not supported for "+n+" edges."))}vPn(e,t),cc(new it(e.g),new Uje(e))}function sDn(e,n){var t,i,r,c,o,l,f;if(n.Tg("Process directions",1),t=u(C(e,(Mu(),Sp)),86),t!=(vr(),th))for(r=St(e.b,0);r.b!=r.d.c;){switch(i=u(jt(r),40),l=u(C(i,(Ti(),MI)),15).a,f=u(C(i,CI),15).a,t.g){case 4:f*=-1;break;case 1:c=l,l=f,f=c;break;case 2:o=l,l=-f,f=o}he(i,MI,ye(l)),he(i,CI,ye(f))}n.Ug()}function lDn(e){var n,t,i,r,c,o,l,f;for(f=new UPe,l=new P(e.a);l.a0&&n=0)return!1;if(n.p=t.b,Ce(t.e,n),r==(Fn(),dr)||r==wo){for(o=new P(n.j);o.ae.d[l.p]&&(t+=qae(e.b,c),_0(e.a,ye(c)))):++o;for(t+=e.b.d*o;!xj(e.a);)xhe(e.b,u(Ly(e.a),15).a)}return t}function zXe(e){var n,t,i,r,c,o;return c=0,n=af(e),n.ik()&&(c|=4),(e.Bb&as)!=0&&(c|=2),X(e,103)?(t=u(e,19),r=Oc(t),(t.Bb&Ru)!=0&&(c|=32),r&&(dt(D2(r)),c|=8,o=r.t,(o>1||o==-1)&&(c|=16),(r.Bb&Ru)!=0&&(c|=64)),(t.Bb&Ec)!=0&&(c|=Q0),c|=qf):X(n,459)?c|=512:(i=n.ik(),i&&(i.i&1)!=0&&(c|=256)),(e.Bb&512)!=0&&(c|=128),c}function kDn(e,n){var t;return e.f==Gce?(t=Nw(Vc((ls(),nc),n)),e.e?t==4&&n!=(l4(),i6)&&n!=(l4(),t6)&&n!=(l4(),qce)&&n!=(l4(),Uce):t==2):e.d&&(e.d.Gc(n)||e.d.Gc(Fy(Vc((ls(),nc),n)))||e.d.Gc(v3((ls(),nc),e.b,n)))?!0:e.f&&Sbe((ls(),e.f),GT(Vc(nc,n)))?(t=Nw(Vc(nc,n)),e.e?t==4:t==2):!1}function jDn(e,n){var t,i,r,c,o,l,f,h;for(c=new Te,n.b.c.length=0,t=u(gs(xae(new pn(null,new yn(new it(e.a.b),1))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),r=t.Jc();r.Ob();)if(i=u(r.Pb(),15),o=Rae(e.a,i),o.b!=0)for(l=new Xu(n),qn(c.c,l),l.p=i.a,h=St(o,0);h.b!=h.d.c;)f=u(jt(h),9),Or(f,l);Sr(n.b,c)}function LW(e){var n,t,i,r,c,o,l;for(l=new wt,i=new P(e.a.b);i.amg&&(r-=mg),l=u(ke(i,Y4),8),h=l.a,p=l.b+e,c=k.Math.atan2(p,h),c<0&&(c+=mg),c+=n,c>mg&&(c-=mg),Da(),Bf(1e-10),k.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:Jb(isNaN(r),isNaN(c))}function Hbe(e,n,t,i){var r,c,o;n&&(c=ne(re(C(n,(Ti(),Qd))))+i,o=t+ne(re(C(n,zH)))/2,he(n,MI,ye(Rt(Lu(k.Math.round(c))))),he(n,CI,ye(Rt(Lu(k.Math.round(o))))),n.d.b==0||Hbe(e,u(z$((r=St(new A1(n).a.d,0),new Nv(r))),40),t+ne(re(C(n,zH)))+e.b,i+ne(re(C(n,z7)))),C(n,yre)!=null&&Hbe(e,u(C(n,yre),40),t,i))}function ADn(e,n){var t,i,r,c;if(c=u(ke(e,(Xt(),c5)),64).g-u(ke(n,c5),64).g,c!=0)return c;if(t=u(ke(e,jce),15),i=u(ke(n,jce),15),t&&i&&(r=t.a-i.a,r!=0))return r;switch(u(ke(e,c5),64).g){case 1:return ji(e.i,n.i);case 2:return ji(e.j,n.j);case 3:return ji(n.i,e.i);case 4:return ji(n.j,e.j);default:throw R(new Uc(gwe))}}function Gbe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new il(z2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new pe(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(vw(Kt(vw(Kt(vw(Kt(vw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function FXe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new il(F2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new pe(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(vw(Kt(vw(Kt(vw(Kt(vw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function MDn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;for(S=-1,A=0,g=n,p=0,y=g.length;p0&&++A;++S}return A}function CDn(e,n){var t,i,r,c,o;for(n==(PE(),ure)&&KO(u(vi(e.a,(Y2(),rI)),16)),r=u(vi(e.a,(Y2(),rI)),16).Jc();r.Ob();)switch(i=u(r.Pb(),107),t=u(Le(i.j,0),113).d.j,c=new bs(i.j),Tr(c,new P5),n.g){case 2:sW(e,c,t,(zw(),sb),1);break;case 1:case 0:o=mNn(c),sW(e,new D0(c,0,o),t,(zw(),sb),0),sW(e,new D0(c,o,c.c.length),t,sb,1)}}function TDn(e){var n,t,i,r,c,o,l;for(r=u(C(e,(ve(),pp)),9),i=e.j,t=(kn(0,i.c.length),u(i.c[0],12)),o=new P(r.j);o.ar.p?(Ar(c,bt),c.d&&(l=c.o.b,n=c.a.b,c.a.b=l-n)):c.j==bt&&r.p>e.p&&(Ar(c,Vn),c.d&&(l=c.o.b,n=c.a.b,c.a.b=-(l-n)));break}return r}function qbe(e,n){var t,i,r,c,o,l,f;if(n==null||n.length==0)return null;if(r=u(lo(e.a,n),144),!r){for(i=(l=new ot(e.b).a.vc().Jc(),new Hi(l));i.a.Ob();)if(t=(c=u(i.a.Pb(),45),u(c.kd(),144)),o=t.c,f=n.length,bn(o.substr(o.length-f,f),n)&&(n.length==o.length||rc(o,o.length-n.length-1)==46)){if(r)return null;r=t}r&&Kc(e.a,n,r)}return r}function I8(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=new Ee(n,t),g=new P(e.a);g.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),CE(n.a,F(z(Lr,1),Ae,8,0,[y,p]))}function V0(){V0=Y,OH=new w2(ya,0),yI=new w2("NIKOLOV",1),kI=new w2("NIKOLOV_PIXEL",2),Rye=new w2("NIKOLOV_IMPROVED",3),Bye=new w2("NIKOLOV_IMPROVED_PIXEL",4),$ye=new w2("DUMMYNODE_PERCENTAGE",5),zye=new w2("NODECOUNT_PERCENTAGE",6),NH=new w2("NO_BOUNDARY",7),$7=new w2("MODEL_ORDER_LEFT_TO_RIGHT",8),Cx=new w2("MODEL_ORDER_RIGHT_TO_LEFT",9)}function $W(e,n){var t,i,r,c,o,l,f,h,g,p,y,S;return g=null,y=bbe(e,n),i=null,l=u(ke(n,(Xt(),Lfn)),300),l?i=l:i=(AE(),KI),S=i,S==(AE(),KI)&&(r=null,h=u(zn(e.r,y),300),h?r=h:r=Tce,S=r),ei(e.r,n,S),c=null,f=u(ke(n,_fn),278),f?c=f:c=(a8(),JI),p=c,p==(a8(),JI)&&(o=null,t=u(zn(e.b,y),278),t?o=t:o=fG,p=o),g=u(ei(e.b,n,p),278),g}function zDn(e){var n,t,i,r,c;for(i=e.length,n=new Aj,c=0;c=40,o&&B_n(e),QLn(e),mIn(e),t=GFe(e),i=0;t&&i0&&Vt(e.g,c)):(e.d[o]-=h+1,e.d[o]<=0&&e.a[o]>0&&Vt(e.f,c))))}function eKe(e,n,t,i){var r,c,o,l,f,h,g;for(f=new Ee(t,i),Nr(f,u(C(n,(Ti(),B7)),8)),g=St(n.b,0);g.b!=g.d.c;)h=u(jt(g),40),pi(h.e,f),Vt(e.b,h);for(l=u(gs(jae(new pn(null,new yn(n.a,16))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16).Jc();l.Ob();){for(o=u(l.Pb(),65),c=St(o.a,0);c.b!=c.d.c;)r=u(jt(c),8),r.a+=f.a,r.b+=f.b;Vt(e.a,o)}}function Zbe(e,n){var t,i,r,c;if(0<(X(e,18)?u(e,18).gc():da(e.Jc()))){if(r=n,1=0&&f1)&&n==1&&u(e.a[e.b],9).k==(Fn(),Uu)?h4(u(e.a[e.b],9),(al(),a1)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&u(e.a[e.c-1&e.a.length-1],9).k==(Fn(),Uu)?h4(u(e.a[e.c-1&e.a.length-1],9),(al(),pb)):(e.c-e.b&e.a.length-1)==2?(h4(u(DE(e),9),(al(),a1)),h4(u(DE(e),9),pb)):$On(e,r),Jae(e)}function i_n(e){var n,t,i,r,c,o,l,f;for(f=new wt,n=new wX,o=e.Jc();o.Ob();)r=u(o.Pb(),9),l=Sw(uT(new Rb,r),n),Ko(f.f,r,l);for(c=e.Jc();c.Ob();)for(r=u(c.Pb(),9),i=new Xn(Qn(Ii(r).a.Jc(),new ee));ht(i);)t=u(rt(i),17),!uc(t)&&Hf(Nf(Of(Tf(If(new rf,k.Math.max(1,u(C(t,(Oe(),pye)),15).a)),1),u(zn(f,t.c.i),124)),u(zn(f,t.d.i),124)));return n}function iKe(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;if(_8n(e,n,t),c=n[t],S=i?(Ie(),Yn):(Ie(),nt),rpn(n.length,t,i)){for(r=n[i?t-1:t+1],uhe(e,r,i?(Nc(),Io):(Nc(),ys)),f=c,g=0,y=f.length;gc*2?(g=new pB(p),h=us(o)/Gs(o),f=oZ(g,n,new ay,t,i,r,h),pi(aa(g.e),f),p.c.length=0,c=0,qn(p.c,g),qn(p.c,o),c=us(g)*Gs(g)+us(o)*Gs(o)):(qn(p.c,o),c+=us(o)*Gs(o));return p}function c_n(e,n){var t,i,r,c,o,l,f;for(n.Tg("Port order processing",1),f=u(C(e,(Oe(),wye)),421),i=new P(e.b);i.at?n:t;h<=p;++h)h==t?l=i++:(c=r[h],g=A.$l(c.Jk()),h==n&&(f=h==p&&!g?i-1:i),g&&++i);return y=u(JE(e,n,t),75),l!=f&&d9(e,new oO(e.e,7,o,ye(l),S.kd(),f)),y}}else return u(EW(e,n,t),75);return u(JE(e,n,t),75)}function ege(e,n){var t,i,r,c,o,l,f,h,g,p;for(p=0,c=new Gv,_0(c,n);c.b!=c.c;)for(f=u(Ly(c),218),h=0,g=u(C(n.j,(Oe(),l1)),269),u(C(n.j,mx),329),o=ne(re(C(n.j,bI))),l=ne(re(C(n.j,Mie))),g!=(H1(),hb)&&(h+=o*GOn(n.j,f.e,g),h+=l*MDn(n.j,f.e)),p+=AHe(f.d,f.e)+h,r=new P(f.b);r.a=0&&(l=yxn(e,o),!(l&&(h<22?f.l|=1<>>1,o.m=g>>>1|(p&1)<<21,o.l=y>>>1|(g&1)<<21,--h;return t&&eQ(f),c&&(i?(rb=c8(e),r&&(rb=Ize(rb,(V9(),xme)))):rb=_o(e.l,e.m,e.h)),f}function s_n(e,n){var t,i,r,c,o,l,f,h,g,p;for(h=e.e[n.c.p][n.p]+1,f=n.c.a.c.length+1,l=new P(e.a);l.a0&&(Wn(0,e.length),e.charCodeAt(0)==45||(Wn(0,e.length),e.charCodeAt(0)==43))?1:0,i=o;it)throw R(new hh(tp+e+'"'));return l}function l_n(e){var n,t,i,r,c,o,l;for(o=new xi,c=new P(e.a);c.a=e.length)return t.o=0,!0;switch(rc(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++n[0],c=n[0],o=Oz(e,n),o==0&&n[0]==c)return!1;if(n[0]l&&(l=r,g.c.length=0),r==l&&Ce(g,new jc(t.c.i,t)));En(),Tr(g,e.c),Hb(e.b,f.p,g)}}function g_n(e,n){var t,i,r,c,o,l,f,h,g;for(o=new P(n.b);o.al&&(l=r,g.c.length=0),r==l&&Ce(g,new jc(t.d.i,t)));En(),Tr(g,e.c),Hb(e.f,f.p,g)}}function w_n(e){var n,t,i,r,c,o,l;for(c=Pa(e),r=new st((!e.e&&(e.e=new In(pr,e,7,4)),e.e));r.e!=r.i.gc();)if(i=u(ft(r),85),l=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)),!B2(l,c))return!0;for(t=new st((!e.d&&(e.d=new In(pr,e,8,5)),e.d));t.e!=t.i.gc();)if(n=u(ft(t),85),o=iu(u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84)),!B2(o,c))return!0;return!1}function p_n(e){var n,t,i,r,c;i=u(C(e,(ve(),mi)),26),c=u(ke(i,(Oe(),Tg)),182).Gc((Vs(),$g)),e.e||(r=u(C(e,po),22),n=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Gc((Ic(),Vl))?(Ei(i,Zi,(Br(),to)),Zw(i,n.a,n.b,!1,!0)):ze(Be(ke(i,Bie)))||Zw(i,n.a,n.b,!0,!0)),c?Ei(i,Tg,rn($g)):Ei(i,Tg,(t=u(fa(uA),10),new Ll(t,u(_f(t,t.length),10),0)))}function m_n(e,n){var t,i,r,c,o,l,f,h;if(h=Be(C(n,(Mu(),Csn))),h==null||(Ln(h),h)){for(XTn(e,n),r=new Te,f=St(n.b,0);f.b!=f.d.c;)o=u(jt(f),40),t=R0e(e,o,null),t&&(Pu(t,n),qn(r.c,t));if(e.a=null,e.b=null,r.c.length>1)for(i=new P(r);i.a=0&&l!=t&&(c=new Dr(e,1,l,o,null),i?i.lj(c):i=c),t>=0&&(c=new Dr(e,1,t,l==t?o:null,n),i?i.lj(c):i=c)),i}function cKe(e){var n,t,i;if(e.b==null){if(i=new kd,e.i!=null&&(Bc(i,e.i),i.a+=":"),(e.f&256)!=0){for((e.f&256)!=0&&e.a!=null&&(N5n(e.i)||(i.a+="//"),Bc(i,e.a)),e.d!=null&&(i.a+="/",Bc(i,e.d)),(e.f&16)!=0&&(i.a+="/"),n=0,t=e.j.length;ny?!1:(p=(f=bS(i,y,!1),f.a),g+l+p<=n.b&&(cO(t,c-t.s),t.c=!0,cO(i,c-t.s),RO(i,t.s,t.t+t.d+l),i.k=!0,c1e(t.q,i),S=!0,r&&(EB(n,i),i.j=n,e.c.length>o&&(JO((kn(o,e.c.length),u(e.c[o],186)),i),(kn(o,e.c.length),u(e.c[o],186)).a.c.length==0&&Od(e,o)))),S)}function x_n(e,n){var t,i,r,c,o,l;if(n.Tg("Partition midprocessing",1),r=new _w,er(li(new pn(null,new yn(e.a,16)),new k6),new Oje(r)),r.d!=0){for(l=u(gs(xae((c=r.i,new pn(null,(c||(r.i=new Uv(r,r.c))).Lc()))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),i=l.Jc(),t=u(i.Pb(),15);i.Ob();)o=u(i.Pb(),15),pNn(u(vi(r,t),22),u(vi(r,o),22)),t=o;n.Ug()}}function fS(e,n){var t,i,r,c,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(r=u(e.Ab.g,1995),n==null){for(c=0;ct.s&&lf+A&&(O=p.g+y.g,y.a=(y.g*y.a+p.g*p.a)/O,y.g=O,p.f=y,t=!0)),c=l,p=y;return t}function C_n(e,n,t){var i,r,c,o,l,f,h,g;for(t.Tg(ZQe,1),Hu(e.b),Hu(e.a),l=null,c=St(n.b,0);!l&&c.b!=c.d.c;)h=u(jt(c),40),ze(Be(C(h,(Ti(),gb))))&&(l=h);for(f=new xi,Ki(f,l,f.c.b,f.c),RVe(e,f),g=St(n.b,0);g.b!=g.d.c;)h=u(jt(g),40),o=Pt(C(h,(Ti(),$x))),r=lo(e.b,o)!=null?u(lo(e.b,o),15).a:0,he(h,wre,ye(r)),i=1+(lo(e.a,o)!=null?u(lo(e.a,o),15).a:0),he(h,v4e,ye(i));t.Ug()}function aKe(e){b2(e,new Kw(h2(l2(a2(f2(new pd,sp),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new VM))),Se(e,sp,am,p9e),Se(e,sp,fm,15),Se(e,sp,CN,ye(0)),Se(e,sp,N2e,_e(b9e)),Se(e,sp,S3,_e(jfn)),Se(e,sp,k4,_e(Efn)),Se(e,sp,V8,EWe),Se(e,sp,AS,_e(g9e)),Se(e,sp,j4,_e(w9e)),Se(e,sp,I2e,_e(fce)),Se(e,sp,IF,_e(kfn))}function hKe(e,n){var t,i,r,c,o,l,f,h,g;if(r=e.i,o=r.o.a,c=r.o.b,o<=0&&c<=0)return Ie(),ju;switch(h=e.n.a,g=e.n.b,l=e.o.a,t=e.o.b,n.g){case 2:case 1:if(h<0)return Ie(),Yn;if(h+l>o)return Ie(),nt;break;case 4:case 3:if(g<0)return Ie(),Vn;if(g+t>c)return Ie(),bt}return f=(h+l/2)/o,i=(g+t/2)/c,f+i<=1&&f-i<=0?(Ie(),Yn):f+i>=1&&f-i>=0?(Ie(),nt):i<.5?(Ie(),Vn):(Ie(),bt)}function dKe(e,n,t,i,r,c,o){var l,f,h,g,p,y;for(y=new Sy,h=n.Jc();h.Ob();)for(l=u(h.Pb(),837),p=new P(l.Pf());p.a0?l.a?(h=l.b.Kf().b,r>h&&(e.v||l.c.d.c.length==1?(o=(r-h)/2,l.d.d=o,l.d.a=o):(t=u(Le(l.c.d,0),187).Kf().b,i=(t-h)/2,l.d.d=k.Math.max(0,i),l.d.a=r-i-h))):l.d.a=e.t+r:lE(e.u)&&(c=y0e(l.b),c.d<0&&(l.d.d=-c.d),c.d+c.a>l.b.Kf().b&&(l.d.a=c.d+c.a-l.b.Kf().b))}function Gf(){Gf=Y,O4=new Yr((Xt(),FI),ye(1)),EJ=new Yr(Zd,80),Ntn=new Yr(X9e,5),ktn=new Yr(J7,K8),Ttn=new Yr(Sce,ye(1)),Otn=new Yr(xce,($n(),!0)),ove=new Ew(50),Mtn=new Yr(f1,ove),rve=BI,sve=Wx,jtn=new Yr(bce,!1),uve=zI,xtn=zm,Atn=wb,Stn=Lg,Etn=i5,Ctn=Fm,cve=(O0e(),btn),jte=mtn,jJ=dtn,kte=gtn,lve=ptn,_tn=q7,Ltn=sG,Dtn=Hm,Itn=G7,fve=(Zy(),Um),new Yr(W4,fve)}function N_n(e,n){var t;switch(bO(e)){case 6:return $r(n);case 7:return m2(n);case 8:return p2(n);case 3:return Array.isArray(n)&&(t=bO(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===hZ;case 12:return n!=null&&(typeof n===dN||typeof n==hZ);case 0:return $Q(n,e.__elementTypeId$);case 2:return mV(n)&&n.Rm!==vn;case 1:return mV(n)&&n.Rm!==vn||$Q(n,e.__elementTypeId$);default:return!0}}function I_n(e){var n,t,i,r;i=e.o,j2(),e.A.dc()||gi(e.A,Zme)?r=i.a:(e.D?r=k.Math.max(i.a,nS(e.f)):r=nS(e.f),e.A.Gc((Vs(),VI))&&!e.B.Gc((_s(),oA))&&(r=k.Math.max(r,nS(u(zc(e.p,(Ie(),Vn)),253))),r=k.Math.max(r,nS(u(zc(e.p,bt),253)))),n=sze(e),n&&(r=k.Math.max(r,n.a))),ze(Be(e.e.Rf().mf((Xt(),zm))))?i.a=k.Math.max(i.a,r):i.a=r,t=e.f.i,t.c=0,t.b=r,GW(e.f)}function bKe(e,n){var t,i,r,c;return i=k.Math.min(k.Math.abs(e.c-(n.c+n.b)),k.Math.abs(e.c+e.b-n.c)),c=k.Math.min(k.Math.abs(e.d-(n.d+n.a)),k.Math.abs(e.d+e.a-n.d)),t=k.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=k.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:k.Math.min(i/t,c/r)+1}function D_n(e,n){var t,i,r,c,o,l,f;for(c=0,l=0,f=0,r=new P(e.f.e);r.a0&&e.d!=(SE(),xte)&&(l+=o*(i.d.a+e.a[n.a][i.a]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(SE(),Ete)&&(f+=o*(i.d.b+e.a[n.a][i.a]*(n.d.b-i.d.b)/t)));switch(e.d.g){case 1:return new Ee(l/c,n.d.b);case 2:return new Ee(n.d.a,f/c);default:return new Ee(l/c,f/c)}}function gKe(e){var n,t,i,r,c,o;for(t=(!e.a&&(e.a=new mr(kl,e,5)),e.a).i+2,o=new xo(t),Ce(o,new Ee(e.j,e.k)),er(new pn(null,(!e.a&&(e.a=new mr(kl,e,5)),new yn(e.a,16))),new lSe(o)),Ce(o,new Ee(e.b,e.c)),n=1;n0&&(AO(f,!1,(vr(),Zc)),AO(f,!0,ru)),Ao(n.g,new oCe(e,t)),ei(e.g,n,t)}function ige(){ige=Y,Sln=new an(f2e,($n(),!1)),ye(-1),pln=new an(a2e,ye(-1)),ye(-1),mln=new an(h2e,ye(-1)),vln=new an(d2e,!1),yln=new an(b2e,!1),p6e=(ZR(),Vre),Cln=new an(g2e,p6e),Tln=new an(w2e,-1),w6e=(QB(),qre),Mln=new an(p2e,w6e),Aln=new an(m2e,!0),b6e=(sB(),Yre),Eln=new an(v2e,b6e),jln=new an(y2e,!1),ye(1),kln=new an(k2e,ye(1)),g6e=(UB(),Qre),xln=new an(j2e,g6e)}function mKe(){mKe=Y;var e;for(Dme=F(z($t,1),ni,30,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]),cte=le($t,ni,30,37,15,1),snn=F(z($t,1),ni,30,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]),_me=le(Tp,NYe,30,37,14,1),e=2;e<=36;e++)cte[e]=lc(k.Math.pow(e,Dme[e])),_me[e]=GO(pN,cte[e])}function __n(e){var n;if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i!=1)throw R(new Un(XWe+(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i));return n=new xs,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84))&&ac(n,tYe(e,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84)),!1)),VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84))&&ac(n,tYe(e,VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84)),!0)),n}function vKe(e,n){var t,i,r,c,o;for(n.d?r=e.a.c==(gh(),Ep)?cr(n.b):Ii(n.b):r=e.a.c==(gh(),Yd)?cr(n.b):Ii(n.b),c=!1,i=new Xn(Qn(r.a.Jc(),new ee));ht(i);)if(t=u(rt(i),17),o=ze(e.a.f[e.a.g[n.b.p].p]),!(!o&&!uc(t)&&t.c.i.c==t.d.i.c)&&!(ze(e.a.n[e.a.g[n.b.p].p])||ze(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,cf(e.b,e.a.g[ixn(t,n.b).p])))return n.c=!0,n.a=t,n;return n.c=c,n.a=null,n}function rge(e,n,t){var i,r,c,o,l,f,h;if(i=t.gc(),i==0)return!1;if(e.Nj())if(f=e.Oj(),ade(e,n,t),o=i==1?e.Gj(3,null,t.Jc().Pb(),n,f):e.Gj(5,null,t,n,f),e.Kj()){for(l=i<100?null:new E0(i),c=n+i,r=n;r0){for(o=0;o>16==-15&&e.Cb.Vh()&&EY(new mY(e.Cb,9,13,t,e.c,Bd(Ts(u(e.Cb,62)),e))):X(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(n=e.c,X(n,88)||(n=(jn(),Ef)),X(t,88)||(t=(jn(),Ef)),EY(new mY(e.Cb,9,10,t,n,Bd(Vu(u(e.Cb,29)),e)))))),e.c}function jKe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;if(n==t)return!0;if(n=sbe(e,n),t=sbe(e,t),i=GQ(n),i){if(g=GQ(t),g!=i)return g?(f=i.kk(),A=g.kk(),f==A&&f!=null):!1;if(o=(!n.d&&(n.d=new mr(Rc,n,1)),n.d),c=o.i,y=(!t.d&&(t.d=new mr(Rc,t,1)),t.d),c==y.i){for(h=0;h0,l=YB(n,c),hle(t?l.b:l.g,n),o3(l).c.length==1&&Ki(i,l,i.c.b,i.c),r=new jc(c,n),_0(e.o,r),qo(e.e.a,c))}function xKe(e,n){var t,i,r,c,o,l,f;return i=k.Math.abs(kR(e.b).a-kR(n.b).a),l=k.Math.abs(kR(e.b).b-kR(n.b).b),r=0,f=0,t=1,o=1,i>e.b.b/2+n.b.b/2&&(r=k.Math.min(k.Math.abs(e.b.c-(n.b.c+n.b.b)),k.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),l>e.b.a/2+n.b.a/2&&(f=k.Math.min(k.Math.abs(e.b.d-(n.b.d+n.b.a)),k.Math.abs(e.b.d+e.b.a-n.b.d)),o=1-f/l),c=k.Math.min(t,o),(1-c)*k.Math.sqrt(i*i+l*l)}function z_n(e){var n,t,i,r;for(uZ(e,e.e,e.f,(Lw(),bb),!0,e.c,e.i),uZ(e,e.e,e.f,bb,!1,e.c,e.i),uZ(e,e.e,e.f,Y3,!0,e.c,e.i),uZ(e,e.e,e.f,Y3,!1,e.c,e.i),$_n(e,e.c,e.e,e.f,e.i),i=new qr(e.i,0);i.b=65;t--)oh[t]=t-65<<24>>24;for(i=122;i>=97;i--)oh[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)oh[r]=r-48+52<<24>>24;for(oh[43]=62,oh[47]=63,c=0;c<=25;c++)u0[c]=65+c&yr;for(o=26,f=0;o<=51;++o,f++)u0[o]=97+f&yr;for(e=52,l=0;e<=61;++e,l++)u0[e]=48+l&yr;u0[62]=43,u0[63]=47}function AKe(e,n){var t,i,r,c,o,l;return r=e1e(e),l=e1e(n),r==l?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:k.Math.floor((e.a-1)*IYe)+1)-(n.d>0?n.d:k.Math.floor((n.a-1)*IYe)+1),t>i+1?r:t0&&(o=Qv(o,RKe(i))),MJe(c,o))):rh&&(y=0,S+=f+n,f=0),I8(o,y,S),t=k.Math.max(t,y+g.a),f=k.Math.max(f,g.b),y+=g.a+n;return new Ee(t+n,S+f+n)}function sge(e,n){var t,i,r,c,o,l,f;if(!Pa(e))throw R(new Uc(UWe));if(i=Pa(e),c=i.g,r=i.f,c<=0&&r<=0)return Ie(),ju;switch(l=e.i,f=e.j,n.g){case 2:case 1:if(l<0)return Ie(),Yn;if(l+e.g>c)return Ie(),nt;break;case 4:case 3:if(f<0)return Ie(),Vn;if(f+e.f>r)return Ie(),bt}return o=(l+e.g/2)/c,t=(f+e.f/2)/r,o+t<=1&&o-t<=0?(Ie(),Yn):o+t>=1&&o-t>=0?(Ie(),nt):t<.5?(Ie(),Vn):(Ie(),bt)}function H_n(e,n,t,i,r){var c,o;if(c=mc(Rr(n[0],Dc),Rr(i[0],Dc)),e[0]=Rt(c),c=Mw(c,32),t>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=c.b[0]-1),n=1;n0&&(Pb(f,f.d-r.d),r.c==(ba(),db)&&iX(f,f.a-r.d),f.d<=0&&f.i>0&&Ki(n,f,n.c.b,n.c)));for(c=new P(e.f);c.a0&&(y0(l,l.i-r.d),r.c==(ba(),db)&&OP(l,l.b-r.d),l.i<=0&&l.d>0&&Ki(t,l,t.c.b,t.c)))}function U_n(e,n,t,i,r){var c,o,l,f,h,g,p,y,S;for(En(),Tr(e,new WM),o=$T(e),S=new Te,y=new Te,l=null,f=0;o.b!=0;)c=u(o.b==0?null:(at(o.b!=0),Rl(o,o.a.a)),167),!l||us(l)*Gs(l)/21&&(f>us(l)*Gs(l)/2||o.b==0)&&(p=new pB(y),g=us(l)/Gs(l),h=oZ(p,n,new ay,t,i,r,g),pi(aa(p.e),h),l=p,qn(S.c,p),f=0,y.c.length=0));return Sr(S,y),S}function Wu(e,n,t,i,r){Sd();var c,o,l,f,h,g,p;if(zfe(e,"src"),zfe(t,"dest"),p=Us(e),f=Us(t),hfe((p.i&4)!=0,"srcType is not an array"),hfe((f.i&4)!=0,"destType is not an array"),g=p.c,o=f.c,hfe((g.i&1)!=0?g==o:(o.i&1)==0,"Array types don't match"),pkn(e,n,t,i,r),(g.i&1)==0&&p!=f)if(h=Ky(e),c=Ky(t),ue(e)===ue(t)&&ni;)ir(c,l,h[--n]);else for(l=i+r;i0),i.a.Xb(i.c=--i.b),p>y+f&&As(i);for(o=new P(S);o.a0),i.a.Xb(i.c=--i.b)}}function K_n(){ai();var e,n,t,i,r,c;if(Kce)return Kce;for(e=new ul(4),cm(e,Y0(Une,!0)),pS(e,Y0("M",!0)),pS(e,Y0("C",!0)),c=new ul(4),i=0;i<11;i++)ho(c,i,i);return n=new ul(4),cm(n,Y0("M",!0)),ho(n,4448,4607),ho(n,65438,65439),r=new Wj(2),dg(r,e),dg(r,mA),t=new Wj(2),t.Hm(gR(c,Y0("L",!0))),t.Hm(n),t=new P2(3,t),t=new Jfe(r,t),Kce=t,Kce}function rm(e,n){var t,i,r,c,o,l,f,h;for(t=new RegExp(n,"g"),f=le(Je,Ae,2,0,6,1),i=0,h=e,c=null;;)if(l=t.exec(h),l==null||h==""){f[i]=h;break}else o=l.index,f[i]=(Qr(0,o,h.length),h.substr(0,o)),h=sf(h,o+l[0].length,h.length),t.lastIndex=0,c==h&&(f[i]=(Qr(0,1,h.length),h.substr(0,1)),h=(Wn(1,h.length+1),h.substr(1))),c=h,++i;if(e.length>0){for(r=f.length;r>0&&f[r-1]=="";)--r;rg&&(g=f);for(h=k.Math.pow(4,n),g>h&&(h=g),y=(k.Math.log(h)-k.Math.log(1))/n,c=k.Math.exp(y),r=c,o=0;o0&&(p-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(p-=i[2]+e.c),i[1]=k.Math.max(i[1],p),pR(e.a[1],t.c+n.b+i[0]-(i[1]-p)/2,i[1]);for(c=e.a,l=0,h=c.length;l0?(e.n.c.length-1)*e.i:0,i=new P(e.n);i.a1)for(i=St(r,0);i.b!=i.d.c;)for(t=u(jt(i),235),c=0,f=new P(t.e);f.a0&&(n[0]+=e.c,p-=n[0]),n[2]>0&&(p-=n[2]+e.c),n[1]=k.Math.max(n[1],p),mR(e.a[1],i.d+t.d+n[0]-(n[1]-p)/2,n[1]);else for(A=i.d+t.d,S=i.a-t.d-t.a,o=e.a,f=0,g=o.length;f=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(o=u(Le(n.n,n.n.c.length-1),208),o.e+o.d+t.g+r<=i&&(c=u(Le(n.n,n.n.c.length-1),208),c.f-e.f+t.f<=e.b||e.a.c.length==1))return tde(n,t),!0;if(n.s+t.g<=i&&n.t+n.d+t.f+r<=e.f+e.b)return Ce(n.b,t),l=u(Le(n.n,n.n.c.length-1),208),Ce(n.n,new zR(n.s,l.f+l.a+n.i,n.i)),Lde(u(Le(n.n,n.n.c.length-1),208),t),TKe(n,t),!0}return!1}function Xz(e,n,t,i){var r,c,o,l,f;if(f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o0||Hw(r.b.d,e.b.d+e.b.a)==0&&i.b<0||Hw(r.b.d+r.b.a,e.b.d)==0&&i.b>0){l=0;break}}else l=k.Math.min(l,vqe(e,r,i));l=k.Math.min(l,NKe(e,c,l,i))}return l}function fge(e,n){var t,i,r,c,o,l,f;if(e.b<2)throw R(new Un("The vector chain must contain at least a source and a target point."));for(r=(at(e.b!=0),u(e.a.a.c,8)),ST(n,r.a,r.b),f=new Ay((!n.a&&(n.a=new mr(kl,n,5)),n.a)),o=St(e,1);o.a=0&&c!=t))throw R(new Un(JN));for(r=0,f=0;fne(_a(o.g,o.d[0]).a)?(at(f.b>0),f.a.Xb(f.c=--f.b),E2(f,o),r=!0):l.e&&l.e.gc()>0&&(c=(!l.e&&(l.e=new Te),l.e).Kc(n),h=(!l.e&&(l.e=new Te),l.e).Kc(t),(c||h)&&((!l.e&&(l.e=new Te),l.e).Ec(o),++o.c));r||qn(i.c,o)}function iLn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;return p=e.a.i+e.a.g/2,y=e.a.i+e.a.g/2,A=n.i+n.g/2,D=n.j+n.f/2,l=new Ee(A,D),h=u(ke(n,(Xt(),Y4)),8),h.a=h.a+p,h.b=h.b+y,c=(l.b-h.b)/(l.a-h.a),i=l.b-c*l.a,O=t.i+t.g/2,B=t.j+t.f/2,f=new Ee(O,B),g=u(ke(t,Y4),8),g.a=g.a+p,g.b=g.b+y,o=(f.b-g.b)/(f.a-g.a),r=f.b-o*f.a,S=(i-r)/(o-c),h.a>>0,"0"+n.toString(16)),i="\\x"+sf(t,t.length-2,t.length)):e>=Ec?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+sf(t,t.length-6,t.length)):i=""+String.fromCharCode(e&yr)}return i}function PKe(e,n){var t,i,r,c,o,l,f,h,g;for(c=new P(e.b);c.at){n.Ug();return}switch(u(C(e,(Oe(),Gie)),350).g){case 2:c=new C6;break;case 0:c=new qp;break;default:c=new hM}if(i=c.mg(e,r),!c.ng())switch(u(C(e,xH),351).g){case 2:i=yqe(r,i);break;case 1:i=fGe(r,i)}rPn(e,r,i),n.Ug()}function aS(e,n){var t,i,r,c,o,l,f,h;n%=24,e.q.getHours()!=n&&(i=new k.Date(e.q.getTime()),i.setDate(i.getDate()+1),l=e.q.getTimezoneOffset()-i.getTimezoneOffset(),l>0&&(f=l/60|0,h=l%60,r=e.q.getDate(),t=e.q.getHours(),t+f>=24&&++r,c=new k.Date(e.q.getFullYear(),e.q.getMonth(),r,n+f,e.q.getMinutes()+h,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),o=e.q.getTime(),e.q.setTime(o+36e5),e.q.getHours()!=n&&e.q.setTime(o)}function fLn(e,n){var t,i,r,c;if(Gyn(e.d,e.e),e.c.a.$b(),ne(re(C(n.j,(Oe(),bI))))!=0||ne(re(C(n.j,bI)))!=0)for(t=A3,ue(C(n.j,l1))!==ue((H1(),hb))&&he(n.j,(ve(),lb),($n(),!0)),c=u(C(n.j,xx),15).a,r=0;rr&&++h,Ce(o,(kn(l+h,n.c.length),u(n.c[l+h],15))),f+=(kn(l+h,n.c.length),u(n.c[l+h],15)).a-i,++t;t=D&&e.e[f.p]>A*e.b||V>=t*D)&&(qn(y.c,l),l=new Te,ac(o,c),c.a.$b(),h-=g,S=k.Math.max(S,h*e.b+O),h+=V,U=V,V=0,g=0,O=0);return new jc(S,y)}function UW(e){var n,t,i,r,c,o,l;if(!e.d){if(l=new dU,n=hA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),nr(l,UW(t));n.a.Ac(e)!=null,n.a.gc()==0}for(o=l.i,r=(!e.q&&(e.q=new pe(kf,e,11,10)),new st(e.q));r.e!=r.i.gc();++o)u(ft(r),403);nr(l,(!e.q&&(e.q=new pe(kf,e,11,10)),e.q)),G2(l),e.d=new Bv((u(K(we((O0(),Bn).o),9),19),l.i),l.g),e.e=u(l.g,678),e.e==null&&(e.e=rhn),Ms(e).b&=-17}return e.d}function _8(e,n,t,i){var r,c,o,l,f,h;if(h=Po(e.e.Ah(),n),f=0,r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o1||A==-1)if(p=u(O,72),y=u(g,72),p.dc())y.$b();else for(o=!!Oc(n),c=0,l=e.a?p.Jc():p.Gi();l.Ob();)h=u(l.Pb(),57),r=u(Ba(e,h),57),r?(o?(f=y.bd(r),f==-1?y.Ei(c,r):c!=f&&y.Si(c,r)):y.Ei(c,r),++c):e.b&&!o&&(y.Ei(c,h),++c);else O==null?g.Wb(null):(r=Ba(e,O),r==null?e.b&&!Oc(n)&&g.Wb(O):g.Wb(r))}function gLn(e,n){var t,i,r,c,o,l,f,h;for(t=new v6,r=new Xn(Qn(cr(n).a.Jc(),new ee));ht(r);)if(i=u(rt(r),17),!uc(i)&&(l=i.c.i,w0e(l,MJ))){if(h=Rbe(e,l,MJ,AJ),h==-1)continue;t.b=k.Math.max(t.b,h),!t.a&&(t.a=new Te),Ce(t.a,l)}for(o=new Xn(Qn(Ii(n).a.Jc(),new ee));ht(o);)if(c=u(rt(o),17),!uc(c)&&(f=c.d.i,w0e(f,AJ))){if(h=Rbe(e,f,AJ,MJ),h==-1)continue;t.d=k.Math.max(t.d,h),!t.c&&(t.c=new Te),Ce(t.c,f)}return t}function wLn(e,n,t,i){var r,c,o,l,f,h,g;if(t.d.i!=n.i){for(r=new Ja(e),Cf(r,(Fn(),dr)),he(r,(ve(),mi),t),he(r,(Oe(),Zi),(Br(),to)),qn(i.c,r),o=new Qu,wu(o,r),Ar(o,(Ie(),Yn)),l=new Qu,wu(l,r),Ar(l,nt),g=t.d,Gr(t,o),c=new Dw,Pu(c,t),he(c,Wc,null),fc(c,l),Gr(c,g),h=new qr(t.b,0);h.b1e6)throw R(new qP("power of ten too big"));if(e<=oi)return Hy(WO(M4[1],n),n);for(i=WO(M4[1],oi),r=i,t=Lu(e-oi),n=lc(e%oi);ao(t,oi)>0;)r=Qv(r,i),t=ff(t,oi);for(r=Qv(r,WO(M4[1],n)),r=Hy(r,oi),t=Lu(e-oi);ao(t,oi)>0;)r=Hy(r,oi),t=ff(t,oi);return r=Hy(r,n),r}function BKe(e){var n,t,i,r,c,o,l,f,h,g;for(f=new P(e.a);f.ah&&i>h)g=l,h=ne(n.p[l.p])+ne(n.d[l.p])+l.o.b+l.d.a;else{r=!1,t.$g()&&t.ah("bk node placement breaks on "+l+" which should have been after "+g);break}if(!r)break}return t.$g()&&t.ah(n+" is feasible: "+r),r}function dge(e,n,t,i){var r,c,o,l,f,h,g,p,y;if(c=new Ja(e),Cf(c,(Fn(),wo)),he(c,(Oe(),Zi),(Br(),to)),r=0,n){for(o=new Qu,he(o,(ve(),mi),n),he(c,mi,n.i),Ar(o,(Ie(),Yn)),wu(o,c),y=ph(n.e),h=y,g=0,p=h.length;g0){if(r<0&&g.a&&(r=f,c=h[0],i=0),r>=0){if(l=g.b,f==r&&(l-=i++,l==0))return 0;if(!FVe(n,h,g,l,o)){f=r-1,h[0]=c;continue}}else if(r=-1,!FVe(n,h,g,0,o))return 0}else{if(r=-1,rc(g.c,0)==32){if(p=h[0],DRe(n,h),h[0]>p)continue}else if(nyn(n,g.c,h[0])){h[0]+=g.c.length;continue}return 0}return lRn(o,t)?h[0]:0}function kLn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(g=new yR(new oje(t)),l=le(ts,va,30,e.f.e.c.length,16,1),Bfe(l,l.length),t[n.a]=0,h=new P(e.f.e);h.a=l.a?c.b>=l.b?(i.a=l.a+(c.a-l.a)/2+r,i.b=l.b+(c.b-l.b)/2-r-e.e.b):(i.a=l.a+(c.a-l.a)/2+r,i.b=c.b+(l.b-c.b)/2+r):c.b>=l.b?(i.a=c.a+(l.a-c.a)/2+r,i.b=l.b+(c.b-l.b)/2+r):(i.a=c.a+(l.a-c.a)/2+r,i.b=c.b+(l.b-c.b)/2-r-e.e.b))}function dS(e){var n,t,i,r,c,o,l,f;if(!e.f){if(f=new uC,l=new uC,n=hA,o=n.a.yc(e,n),o==null){for(c=new st(tu(e));c.e!=c.i.gc();)r=u(ft(c),29),nr(f,dS(r));n.a.Ac(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new pe(ns,e,21,17)),new st(e.s));i.e!=i.i.gc();)t=u(ft(i),179),X(t,103)&&Et(l,u(t,19));G2(l),e.r=new dIe(e,(u(K(we((O0(),Bn).o),6),19),l.i),l.g),nr(f,e.r),G2(f),e.f=new Bv((u(K(we(Bn.o),5),19),f.i),f.g),Ms(e).b&=-3}return e.f}function Kz(){Kz=Y,z8e=F(z(Zl,1),xh,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),_an=new RegExp(`[ -\r\f]+`);try{lA=F(z(uzn,1),Nn,2076,0,[new QC((Bse(),nz("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",IT((JP(),JP(),YS))))),new QC(nz("yyyy-MM-dd'T'HH:mm:ss'.'SSS",IT(YS))),new QC(nz("yyyy-MM-dd'T'HH:mm:ss",IT(YS))),new QC(nz("yyyy-MM-dd'T'HH:mm",IT(YS))),new QC(nz("yyyy-MM-dd",IT(YS)))])}catch(e){if(e=sr(e),!X(e,80))throw R(e)}}function jLn(e){var n,t,i,r,c,o,l;for(t=null,l=null,i=u(C(e.b,(Oe(),Die)),348),i==(PE(),jI)&&(t=new Te,l=new Te),o=new P(e.d);o.at);return c}function FKe(e,n){var t,i,r,c;if(r=Ds(e.d,1)!=0,i=Tz(e,n),i==0&&ze(Be(C(n.j,(ve(),lb)))))return 0;!ze(Be(C(n.j,(ve(),lb))))&&!ze(Be(C(n.j,J3)))||ue(C(n.j,(Oe(),l1)))===ue((H1(),hb))?n.c.kg(n.e,r):r=ze(Be(C(n.j,lb))),iN(e,n,r,!0),ze(Be(C(n.j,J3)))&&he(n.j,J3,($n(),!1)),ze(Be(C(n.j,lb)))&&(he(n.j,lb,($n(),!1)),he(n.j,J3,!0)),t=Tz(e,n);do{if(Zhe(e),t==0)return 0;r=!r,c=t,iN(e,n,r,!1),t=Tz(e,n)}while(c>t);return c}function SLn(e,n,t){var i,r,c,o,l;if(i=u(C(e,(Oe(),Oie)),22),t.a>n.a&&(i.Gc((ag(),Kx))?e.c.a+=(t.a-n.a)/2:i.Gc(Vx)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((ag(),Qx))?e.c.b+=(t.b-n.b)/2:i.Gc(Yx)&&(e.c.b+=t.b-n.b)),u(C(e,(ve(),po)),22).Gc((Ic(),Vl))&&(t.a>n.a||t.b>n.b))for(l=new P(e.a);l.an.a&&(i.Gc((ag(),Kx))?e.c.a+=(t.a-n.a)/2:i.Gc(Vx)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((ag(),Qx))?e.c.b+=(t.b-n.b)/2:i.Gc(Yx)&&(e.c.b+=t.b-n.b)),u(C(e,(ve(),po)),22).Gc((Ic(),Vl))&&(t.a>n.a||t.b>n.b))for(o=new P(e.a);o.a=0&&p<=1&&y>=0&&y<=1?pi(new Ee(e.a,e.b),C1(new Ee(n.a,n.b),p)):null}function bS(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=0,o=e.t,r=0,i=0,f=0,y=0,p=0,t&&(e.n.c.length=0,Ce(e.n,new zR(e.s,e.t,e.i))),l=0,g=new P(e.b);g.a0?e.i:0)>n&&f>0&&(c=0,o+=f+e.i,r=k.Math.max(r,y),i+=f+e.i,f=0,y=0,t&&(++p,Ce(e.n,new zR(e.s,o,e.i))),l=0),y+=h.g+(l>0?e.i:0),f=k.Math.max(f,h.f),t&&Lde(u(Le(e.n,p),208),h),c+=h.g+(l>0?e.i:0),++l;return r=k.Math.max(r,y),i+=f,t&&(e.r=r,e.d=i,Rde(e.j)),new Lf(e.s,e.t,r,i)}function Vz(e){var n,t,i;return t=ue(ke(e,(Oe(),H4)))===ue((ZO(),nie))||ue(ke(e,H4))===ue(Yte)||ue(ke(e,H4))===ue(Qte)||ue(ke(e,H4))===ue(Zte)||ue(ke(e,H4))===ue(tie)||ue(ke(e,H4))===ue(uI),i=ue(ke(e,mH))===ue((nN(),Uie))||ue(ke(e,mH))===ue(Kie)||ue(ke(e,wI))===ue((V0(),$7))||ue(ke(e,wI))===ue((V0(),Cx)),n=ue(ke(e,l1))!==ue((H1(),hb))||ze(Be(ke(e,N7)))||ue(ke(e,px))!==ue((t4(),ix))||ne(re(ke(e,bI)))!=0||ne(re(ke(e,Mie)))!=0,t||i||n}function m3(e){var n,t,i,r,c,o,l,f;if(!e.a){if(e.o=null,f=new qSe(e),n=new Mf,t=hA,l=t.a.yc(e,t),l==null){for(o=new st(tu(e));o.e!=o.i.gc();)c=u(ft(o),29),nr(f,m3(c));t.a.Ac(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new pe(ns,e,21,17)),new st(e.s));r.e!=r.i.gc();)i=u(ft(r),179),X(i,335)&&Et(n,u(i,38));G2(n),e.k=new hIe(e,(u(K(we((O0(),Bn).o),7),19),n.i),n.g),nr(f,e.k),G2(f),e.a=new Bv((u(K(we(Bn.o),4),19),f.i),f.g),Ms(e).b&=-2}return e.a}function MLn(e){var n,t,i,r,c,o,l,f,h,g,p,y;if(l=e.d,p=u(C(e,(ve(),F4)),16),n=u(C(e,_4),16),!(!p&&!n)){if(c=ne(re(X2(e,(Oe(),zie)))),o=ne(re(X2(e,mye))),y=0,p){for(h=0,r=p.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),y+=i.o.a;y+=c*(p.gc()-1),l.d+=h+o}if(t=0,n){for(h=0,r=n.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),t+=i.o.a;t+=c*(n.gc()-1),l.a+=h+o}f=k.Math.max(y,t),f>e.o.a&&(g=(f-e.o.a)/2,l.b=k.Math.max(l.b,g),l.c=k.Math.max(l.c,g))}}function wge(e,n,t,i){var r,c,o,l,f,h,g;if(g=Po(e.e.Ah(),n),r=0,c=u(e.g,122),f=null,Tc(),u(n,69).vk()){for(l=0;ll?1:-1:T1e(e.a,n.a,c),r==-1)p=-f,g=o==f?hY(n.a,l,e.a,c):bY(n.a,l,e.a,c);else if(p=o,o==f){if(r==0)return jh(),WS;g=hY(e.a,c,n.a,l)}else g=bY(e.a,c,n.a,l);return h=new Xb(p,g.length,g),mE(h),h}function OLn(e,n){var t,i,r,c;if(c=MKe(n),!n.c&&(n.c=new pe($s,n,9,9)),er(new pn(null,(!n.c&&(n.c=new pe($s,n,9,9)),new yn(n.c,16))),new aje(c)),r=u(C(c,(ve(),po)),22),A$n(n,r),r.Gc((Ic(),Vl)))for(i=new st((!n.c&&(n.c=new pe($s,n,9,9)),n.c));i.e!=i.i.gc();)t=u(ft(i),125),Q$n(e,n,c,t);return u(ke(n,(Oe(),Tg)),182).gc()!=0&&bXe(n,c),ze(Be(C(c,dye)))&&r.Ec(iH),wi(c,pI)&&rAe(new rde(ne(re(C(c,pI)))),c),ue(ke(n,Am))===ue((F1(),e0))?vBn(e,n,c):iRn(e,n,c),c}function bo(e,n){var t,i,r,c,o,l,f;if(e==null)return null;if(c=e.length,c==0)return"";for(f=le(Zl,xh,30,c,15,1),Qr(0,c,e.length),Qr(0,c,f.length),aDe(e,0,c,f,0),t=null,l=n,r=0,o=0;r0?sf(t.a,0,c-1):""):(Qr(0,c-1,e.length),e.substr(0,c-1)):t?t.a:e}function NLn(e,n,t){var i,r,c;if(wi(n,(Oe(),ku))&&(ue(C(n,ku))===ue((Xs(),Q1))||ue(C(n,ku))===ue(Mg))||wi(t,ku)&&(ue(C(t,ku))===ue((Xs(),Q1))||ue(C(t,ku))===ue(Mg)))return 0;if(i=_r(n),r=vDn(e,n,t),r!=0)return r;if(wi(n,(ve(),Oi))&&wi(t,Oi)){if(c=oo(Qw(n,t,i,u(C(i,fb),15).a),Qw(t,n,i,u(C(i,fb),15).a)),ue(C(i,mx))===ue((B0(),sI))&&ue(C(n,vx))!==ue(C(t,vx))&&(c=0),c<0)return rN(e,n,t),c;if(c>0)return rN(e,t,n),c}return UTn(e,n,t)}function JKe(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(i=new Xn(Qn(K0(n).a.Jc(),new ee));ht(i);)t=u(rt(i),85),X(K((!t.b&&(t.b=new In(mt,t,4,7)),t.b),0),193)||(f=iu(u(K((!t.c&&(t.c=new In(mt,t,5,8)),t.c),0),84)),iS(t)||(o=n.i+n.g/2,l=n.j+n.f/2,g=f.i+f.g/2,p=f.j+f.f/2,y=new Vr,y.a=g-o,y.b=p-l,c=new Ee(y.a,y.b),j8(c,n.g,n.f),y.a-=c.a,y.b-=c.b,o=g-y.a,l=p-y.b,h=new Ee(y.a,y.b),j8(h,f.g,f.f),y.a-=h.a,y.b-=h.b,g=o+y.a,p=l+y.b,r=zz(t),i3(r,o),r3(r,l),n3(r,g),t3(r,p),JKe(e,f)))}function cm(e,n){var t,i,r,c,o;if(o=u(n,137),g3(e),g3(o),o.b!=null){if(e.c=!0,e.b==null){e.b=le($t,ni,30,o.b.length,15,1),Wu(o.b,0,e.b,0,o.b.length);return}for(c=le($t,ni,30,e.b.length+o.b.length,15,1),t=0,i=0,r=0;t=e.b.length?(c[r++]=o.b[i++],c[r++]=o.b[i++]):i>=o.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):o.b[i]0?e.i:0)),++n;for(Y1e(e.n,f),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=Vi,e.p=Vi,c=new P(e.b);c.a0&&(r=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!r||Kt(Kt((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new In(mt,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new In(mt,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",Kt(n,ile(new IX,new st(e.b))),t&&(n.a+="]"),n.a+=nee,t&&(n.a+="["),Kt(n,ile(new IX,new st(e.c))),t&&(n.a+="]"),n.a)}function DLn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(be=e.c,fe=n.c,t=pu(be.a,e,0),i=pu(fe.a,n,0),V=u(Gw(e,(Nc(),ys)).Jc().Pb(),12),cn=u(Gw(e,Io).Jc().Pb(),12),te=u(Gw(n,ys).Jc().Pb(),12),On=u(Gw(n,Io).Jc().Pb(),12),B=ph(V.e),De=ph(cn.g),U=ph(te.e),un=ph(On.g),q0(e,i,fe),o=U,g=0,A=o.length;g0&&f[i]&&(A=Hv(e.b,f[i],r)),O=k.Math.max(O,r.c.c.b+A);for(c=new P(g.e);c.ag?new Qb((ba(),Pm),t,n,h-g):h>0&&g>0&&(new Qb((ba(),Pm),n,t,0),new Qb(Pm,t,n,0))),o)}function $Ln(e,n,t){var i,r,c;for(e.a=new Te,c=St(n.b,0);c.b!=c.d.c;){for(r=u(jt(c),40);u(C(r,(Mu(),Lh)),15).a>e.a.c.length-1;)Ce(e.a,new jc(A3,Hpe));i=u(C(r,Lh),15).a,t==(vr(),Zc)||t==ru?(r.e.ane(re(u(Le(e.a,i),49).b))&&UC(u(Le(e.a,i),49),r.e.a+r.f.a)):(r.e.bne(re(u(Le(e.a,i),49).b))&&UC(u(Le(e.a,i),49),r.e.b+r.f.b))}}function qKe(e,n,t,i){var r,c,o,l,f,h,g;if(c=KB(i),l=ze(Be(C(i,(Oe(),oye)))),(l||ze(Be(C(e,pH))))&&!zv(u(C(e,Zi),102)))r=e4(c),f=tge(e,t,t==(Nc(),Io)?r:_O(r));else switch(f=new Qu,wu(f,e),n?(g=f.n,g.a=n.a-e.n.a,g.b=n.b-e.n.b,UGe(g,0,0,e.o.a,e.o.b),Ar(f,hKe(f,c))):(r=e4(c),Ar(f,t==(Nc(),Io)?r:_O(r))),o=u(C(i,(ve(),po)),22),h=f.j,c.g){case 2:case 1:(h==(Ie(),Vn)||h==bt)&&o.Ec((Ic(),B3));break;case 4:case 3:(h==(Ie(),nt)||h==Yn)&&o.Ec((Ic(),B3))}return f}function UKe(e,n){var t,i,r,c,o,l;for(o=new J2(new sn(e.f.b).a);o.b;){if(c=c3(o),r=u(c.jd(),591),n==1){if(r.yf()!=(vr(),Yl)&&r.yf()!=th)continue}else if(r.yf()!=(vr(),Zc)&&r.yf()!=ru)continue;switch(i=u(u(c.kd(),49).b,82),l=u(u(c.kd(),49).a,194),t=l.c,r.yf().g){case 2:i.g.c=e.e.a,i.g.b=k.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=k.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=k.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=k.Math.max(1,i.g.a-t)}}}function RLn(e,n){var t,i,r,c,o,l,f,h,g,p;for(n.Tg("Simple node placement",1),p=u(C(e,(ve(),H3)),316),l=0,c=new P(e.b);c.a1)throw R(new Un(XN));f||(c=Yh(n,i.Jc().Pb()),o.Ec(c))}return b1e(e,L0e(e,n,t),o)}function Qz(e,n,t){var i,r,c,o,l,f,h,g;if(G1(e.e,n))f=(Tc(),u(n,69).vk()?new sR(n,e):new jT(n,e)),Nz(f.c,f.b),Zj(f,u(t,18));else{for(g=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o"}f!=null&&(n.a+=""+f)}else e.e?(l=e.e.zb,l!=null&&(n.a+=""+l)):(n.a+="?",e.b?(n.a+=" super ",QW(e.b,n)):e.f&&(n.a+=" extends ",QW(e.f,n)))}function qLn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function ULn(e){var n,t,i,r;if(i=fZ((!e.c&&(e.c=YT(Lu(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(n=e1e(e)<0?1:0,t=e.e,r=(i.length+1+k.Math.abs(lc(e.e)),new wy),n==1&&(r.a+="-"),e.e>0)if(t-=i.length-n,t>=0){for(r.a+="0.";t>Sg.length;t-=Sg.length)DIe(r,Sg);cNe(r,Sg,lc(t)),Kt(r,(Wn(n,i.length+1),i.substr(n)))}else t=n-t,Kt(r,sf(i,n,lc(t))),r.a+=".",Kt(r,Xfe(i,lc(t)));else{for(Kt(r,(Wn(n,i.length+1),i.substr(n)));t<-Sg.length;t+=Sg.length)DIe(r,Sg);cNe(r,Sg,lc(-t))}return r.a}function WW(e){var n,t,i,r,c,o,l,f,h;return!(e.k!=(Fn(),Wi)||e.j.c.length<=1||(c=u(C(e,(Oe(),Zi)),102),c==(Br(),to))||(r=(V2(),(e.q?e.q:(En(),En(),u1))._b(kp)?i=u(C(e,kp),203):i=u(C(_r(e),Ex),203),i),r==TH)||!(r==V3||r==K3)&&(o=ne(re(X2(e,Sx))),n=u(C(e,vI),140),!n&&(n=new Ble(o,o,o,o)),h=vu(e,(Ie(),Yn)),f=n.d+n.a+(h.gc()-1)*o,f>e.o.b||(t=vu(e,nt),l=n.d+n.a+(t.gc()-1)*o,l>e.o.b)))}function XLn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;n.Tg("Orthogonal edge routing",1),h=ne(re(C(e,(Oe(),_m)))),t=ne(re(C(e,Im))),i=ne(re(C(e,ab))),y=new EV(0,t),D=0,o=new qr(e.b,0),l=null,g=null,f=null,p=null;do g=o.b0?(S=(A-1)*t,l&&(S+=i),g&&(S+=i),S0;for(l=u(C(e.c.i,Cm),15).a,c=u(gs(li(n.Mc(),new Ije(l)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),o=new xi,g=new ar,Vt(o,e.c.i),hr(g,e.c.i);o.b!=0;){if(t=u(o.b==0?null:(at(o.b!=0),Rl(o,o.a.a)),9),c.Gc(t))return!0;for(r=new Xn(Qn(Ii(t).a.Jc(),new ee));ht(r);)i=u(rt(r),17),f=i.d.i,g.a._b(f)||(g.a.yc(f,g),Ki(o,f,o.c.b,o.c))}return!1}function QKe(e,n,t){var i,r,c,o,l,f,h,g,p;for(p=new Te,g=new Oae(0,t),c=0,EB(g,new iQ(0,0,g,t)),r=0,h=new st(e);h.e!=h.i.gc();)f=u(ft(h),26),i=u(Le(g.a,g.a.c.length-1),173),l=r+f.g+(u(Le(g.a,0),173).b.c.length==0?0:t),(l>n||ze(Be(ke(f,(qa(),NI)))))&&(r=0,c+=g.b+t,qn(p.c,g),g=new Oae(c,t),i=new iQ(0,g.f,g,t),EB(g,i),r=0),i.b.c.length==0||!ze(Be(ke(Fi(f),(qa(),Xre))))&&(f.f>=i.o&&f.f<=i.f||i.a*.5<=f.f&&i.a*1.5>=f.f)?tde(i,f):(o=new iQ(i.s+i.r+t,g.f,g,t),EB(g,o),tde(o,f)),r=f.i+f.g;return qn(p.c,g),p}function gS(e){var n,t,i,r;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,r=0;r=e.b[r+1])r+=2;else if(t0)for(i=new bs(u(vi(e.a,c),22)),En(),Tr(i,new ioe(n)),r=new qr(c.b,0);r.b0&&i>=-6?i>=0?xT(c,t-lc(e.e),"."):(UY(c,n-1,n-1,"0."),xT(c,n+1,vh(Sg,0,-lc(i)-1))):(t-n>=1&&(xT(c,n,"."),++t),xT(c,t,"E"),i>0&&xT(c,++t,"+"),xT(c,++t,""+sE(Lu(i)))),e.g=c.a,e.g))}function iPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De;i=ne(re(C(n,(Oe(),fye)))),be=u(C(n,xx),15).a,y=4,r=3,fe=20/be,S=!1,f=0,o=oi;do{for(c=f!=1,p=f!=0,De=0,D=e.a,U=0,te=D.length;Ube)?(f=2,o=oi):f==0?(f=1,o=De):(f=0,o=De)):(S=De>=o||o-De=Ec?Bc(t,Q1e(i)):$9(t,i&yr),o=new JV(10,null,0),R3n(e.a,o,l-1)):(t=(o.Km().length+c,new Aj),Bc(t,o.Km())),n.e==0?(i=n.Im(),i>=Ec?Bc(t,Q1e(i)):$9(t,i&yr)):Bc(t,n.Km()),u(o,517).b=t.a}}function rPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(!t.dc()){for(l=0,y=0,i=t.Jc(),A=u(i.Pb(),15).a;l0?1:Jb(isNaN(i),isNaN(0)))>=0^(Bf(Th),(k.Math.abs(l)<=Th||l==0||isNaN(l)&&isNaN(0)?0:l<0?-1:l>0?1:Jb(isNaN(l),isNaN(0)))>=0)?k.Math.max(l,i):(Bf(Th),(k.Math.abs(i)<=Th||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Jb(isNaN(i),isNaN(0)))>0?k.Math.sqrt(l*l+i*i):-k.Math.sqrt(l*l+i*i))}function sPn(e){var n,t,i,r;r=e.o,j2(),e.A.dc()||gi(e.A,Zme)?n=r.b:(e.D?n=k.Math.max(r.b,eS(e.f)):n=eS(e.f),e.A.Gc((Vs(),VI))&&!e.B.Gc((_s(),oA))&&(n=k.Math.max(n,eS(u(zc(e.p,(Ie(),nt)),253))),n=k.Math.max(n,eS(u(zc(e.p,Yn),253)))),t=sze(e),t&&(n=k.Math.max(n,t.b)),e.A.Gc(YI)&&(e.q==(Br(),d1)||e.q==to)&&(n=k.Math.max(n,uR(u(zc(e.b,(Ie(),nt)),127))),n=k.Math.max(n,uR(u(zc(e.b,Yn),127))))),ze(Be(e.e.Rf().mf((Xt(),zm))))?r.b=k.Math.max(r.b,n):r.b=n,i=e.f.i,i.d=0,i.a=n,qW(e.f)}function lPn(e,n,t,i,r,c,o,l){var f,h,g,p;switch(f=$f(F(z(ezn,1),Nn,238,0,[n,t,i,r])),p=null,e.b.g){case 1:p=$f(F(z(T6e,1),Nn,523,0,[new Bk,new RM,new B6]));break;case 0:p=$f(F(z(T6e,1),Nn,523,0,[new B6,new RM,new Bk]));break;case 2:p=$f(F(z(T6e,1),Nn,523,0,[new RM,new Bk,new B6]))}for(g=new P(p);g.a1&&(f=h.Gg(f,e.a,l));return f.c.length==1?u(Le(f,f.c.length-1),238):f.c.length==2?VLn((kn(0,f.c.length),u(f.c[0],238)),(kn(1,f.c.length),u(f.c[1],238)),o,c):null}function fPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;r=new s9(e),c=new iUe,i=(eO(c.n),eO(c.p),Hu(c.c),eO(c.f),eO(c.o),Hu(c.q),Hu(c.d),Hu(c.g),Hu(c.k),Hu(c.e),Hu(c.i),Hu(c.j),Hu(c.r),Hu(c.b),y=Mqe(c,r,null),CUe(c,r),y),n&&(f=new s9(n),o=CLn(f),T0e(i,F(z(s9e,1),Nn,524,0,[o]))),p=!1,g=!1,t&&(f=new s9(t),KF in f.a&&(p=I1(f,KF).oe().a),mZe in f.a&&(g=I1(f,mZe).oe().a)),h=EAe(mBe(new hy,p),g),pCn(new HM,i,h),KF in r.a&&Rf(r,KF,null),(p||g)&&(l=new dy,kKe(h,l,p,g),Rf(r,KF,l)),S=new MSe(c),Xze(new MK(i),S),A=new CSe(c),Xze(new MK(i),A)}function aPn(e,n,t){var i,r,c,o,l,f,h;for(t.Tg("Find roots",1),e.a.c.length=0,r=St(n.b,0);r.b!=r.d.c;)i=u(jt(r),40),i.b.b==0&&(he(i,(Ti(),gb),($n(),!0)),Ce(e.a,i));switch(e.a.c.length){case 0:c=new tQ(0,n,"DUMMY_ROOT"),he(c,(Ti(),gb),($n(),!0)),he(c,gre,!0),Vt(n.b,c);break;case 1:break;default:for(o=new tQ(0,n,PF),f=new P(e.a);f.a=k.Math.abs(i.b)?(i.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(n=new Dse(e.i,e.g),t=e.i,c=t<100?null:new E0(t),e.Rj())for(i=0;i0){for(l=e.g,h=e.i,EE(e),c=h<100?null:new E0(h),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,l=n.l&8191,f=n.l>>13|(n.m&15)<<9,h=n.m>>4&8191,g=n.m>>17|(n.h&255)<<5,p=(n.h&1048320)>>8,un=t*l,cn=i*l,On=r*l,Dn=c*l,lt=o*l,f!=0&&(cn+=t*f,On+=i*f,Dn+=r*f,lt+=c*f),h!=0&&(On+=t*h,Dn+=i*h,lt+=r*h),g!=0&&(Dn+=t*g,lt+=i*g),p!=0&&(lt+=t*p),S=un&Ls,A=(cn&511)<<13,y=S+A,D=un>>22,B=cn>>9,U=(On&262143)<<4,V=(Dn&31)<<17,O=D+B+U+V,be=On>>18,fe=Dn>>5,De=(lt&4095)<<8,te=be+fe+De,O+=y>>22,y&=Ls,te+=O>>22,O&=Ls,te&=U1,_o(y,O,te)}function nVe(e){var n,t,i,r,c,o,l;if(l=u(Le(e.j,0),12),l.g.c.length!=0&&l.e.c.length!=0)throw R(new Uc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(l.g.c.length!=0){for(c=Vi,t=new P(l.g);t.a0&&ZGe(e,l,p);for(r=new P(p);r.a4)if(e.dk(n)){if(e.$k()){if(r=u(n,52),i=r.Bh(),f=i==e.e&&(e.kl()?r.vh(r.Ch(),e.gl())==e.hl():-1-r.Ch()==e.Jj()),e.ll()&&!f&&!i&&r.Gh()){for(c=0;ce.d[o.p]&&(t+=qae(e.b,c)*u(f.b,15).a,_0(e.a,ye(c)));for(;!xj(e.a);)xhe(e.b,u(Ly(e.a),15).a)}return t}function wPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;for(n.Tg(KQe,1),S=new Te,g=k.Math.max(e.a.c.length,u(C(e,(ve(),fb)),15).a),t=g*u(C(e,fI),15).a,l=ue(C(e,(Oe(),J4)))===ue((B0(),Em)),O=new P(e.a);O.a0&&(h=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(h=e.n.b/r)}he(e,(ve(),mp),h)}if(f=e.o,o=e.a,i)o.a=i.a,o.b=i.b,e.d=!0;else if(n!=rh&&n!=vb&&l!=ju)switch(l.g){case 1:o.a=f.a/2;break;case 2:o.a=f.a,o.b=f.b/2;break;case 3:o.a=f.a/2,o.b=f.b;break;case 4:o.b=f.b/2}else o.a=f.a/2,o.b=f.b/2}function wS(e){var n,t,i,r,c,o,l,f,h,g;if(e.Nj())if(g=e.Cj(),f=e.Oj(),g>0)if(n=new r1e(e.nj()),t=g,c=t<100?null:new E0(t),OT(e,t,n.g),r=t==1?e.Gj(4,K(n,0),null,0,f):e.Gj(6,n,null,-1,f),e.Kj()){for(i=new st(n);i.e!=i.i.gc();)c=e.Mj(ft(i),c);c?(c.lj(r),c.mj()):e.Hj(r)}else c?(c.lj(r),c.mj()):e.Hj(r);else OT(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(En(),Sc),null,-1,f));else if(e.Kj())if(g=e.Cj(),g>0){for(l=e.Dj(),h=g,OT(e,g,l),c=h<100?null:new E0(h),i=0;i1&&us(o)*Gs(o)/2>l[0]){for(c=0;cl[c];)++c;A=new D0(O,0,c+1),p=new pB(A),g=us(o)/Gs(o),f=oZ(p,n,new ay,t,i,r,g),pi(aa(p.e),f),Iy(S8(y,p),G8),S=new D0(O,c+1,O.c.length),Jde(y,S),O.c.length=0,h=0,$Ie(l,l.length,0)}else D=y.b.c.length==0?null:Le(y.b,0),D!=null&&$Y(y,0),h>0&&(l[h]=l[h-1]),l[h]+=us(o)*Gs(o),++h,qn(O.c,o);return O}function xPn(e,n){var t,i,r,c;t=n.b,c=new bs(t.j),r=0,i=t.j,i.c.length=0,Cw(u(ig(e.b,(Ie(),Vn),(zw(),gp)),16),t),r=BO(c,r,new A6,i),Cw(u(ig(e.b,Vn,sb),16),t),r=BO(c,r,new dd,i),Cw(u(ig(e.b,Vn,bp),16),t),Cw(u(ig(e.b,nt,gp),16),t),Cw(u(ig(e.b,nt,sb),16),t),r=BO(c,r,new bd,i),Cw(u(ig(e.b,nt,bp),16),t),Cw(u(ig(e.b,bt,gp),16),t),r=BO(c,r,new Fp,i),Cw(u(ig(e.b,bt,sb),16),t),r=BO(c,r,new Nb,i),Cw(u(ig(e.b,bt,bp),16),t),Cw(u(ig(e.b,Yn,gp),16),t),r=BO(c,r,new hd,i),Cw(u(ig(e.b,Yn,sb),16),t),Cw(u(ig(e.b,Yn,bp),16),t)}function APn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(n.Tg("Layer size calculation",1),g=Vi,h=Ir,r=!1,l=new P(e.b);l.a.5?B-=o*2*(A-.5):A<.5&&(B+=c*2*(.5-A)),r=l.d.b,BD.a-O-g&&(B=D.a-O-g),l.n.a=n+B}}function CPn(e){var n,t,i,r,c;if(i=u(C(e,(Oe(),ku)),165),i==(Xs(),Q1)){for(t=new Xn(Qn(cr(e).a.Jc(),new ee));ht(t);)if(n=u(rt(t),17),!WPe(n))throw R(new yd(ree+zO(e)+"' 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(i==Mg){for(c=new Xn(Qn(Ii(e).a.Jc(),new ee));ht(c);)if(r=u(rt(c),17),!WPe(r))throw R(new yd(ree+zO(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function lN(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(e.e&&e.c.c>19!=0&&(n=c8(n),f=!f),o=dNn(n),c=!1,r=!1,i=!1,e.h==yN&&e.m==0&&e.l==0)if(r=!0,c=!0,o==-1)e=jTe((V9(),Sme)),i=!0,f=!f;else return l=abe(e,o),f&&eQ(l),t&&(rb=_o(0,0,0)),l;else e.h>>19!=0&&(c=!0,e=c8(e),i=!0,f=!f);return o!=-1?Ekn(e,o,f,c,t):Yde(e,n)<0?(t&&(c?rb=c8(e):rb=_o(e.l,e.m,e.h)),_o(0,0,0)):o_n(i?e:_o(e.l,e.m,e.h),n,f,c,r,t)}function tZ(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(o=e.e,f=n.e,o==0)return n;if(f==0)return e;if(c=e.d,l=n.d,c+l==2)return t=Rr(e.a[0],Dc),i=Rr(n.a[0],Dc),o==f?(g=mc(t,i),A=Rt(g),S=Rt(Ub(g,32)),S==0?new _1(o,A):new Xb(o,2,F(z($t,1),ni,30,15,[A,S]))):(jh(),D$(o<0?ff(i,t):ff(t,i),0)?G0(o<0?ff(i,t):ff(t,i)):hE(G0(Id(o<0?ff(i,t):ff(t,i)))));if(o==f)y=o,p=c>=l?bY(e.a,c,n.a,l):bY(n.a,l,e.a,c);else{if(r=c!=l?c>l?1:-1:T1e(e.a,n.a,c),r==0)return jh(),WS;r==1?(y=o,p=hY(e.a,c,n.a,l)):(y=f,p=hY(n.a,l,e.a,c))}return h=new Xb(y,p.length,p),mE(h),h}function OPn(e,n){var t,i,r,c,o,l,f;if(!(e.g>n.f||n.g>e.f)){for(t=0,i=0,o=e.w.a.ec().Jc();o.Ob();)r=u(o.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;for(l=e.r.a.ec().Jc();l.Ob();)r=u(l.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;for(f=n.w.a.ec().Jc();f.Ob();)r=u(f.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;for(c=n.r.a.ec().Jc();c.Ob();)r=u(c.Pb(),12),bQ(mu(F(z(Lr,1),Ae,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;t=0)return t;switch(Nw(Vc(e,t))){case 2:{if(bn("",Pd(e,t.ok()).ve())){if(f=GT(Vc(e,t)),l=z9(Vc(e,t)),g=pbe(e,n,f,l),g)return g;for(r=Xbe(e,n),o=0,p=r.gc();o1)throw R(new Un(XN));for(g=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o1,h=new Ra(y.b);gu(h.a)||gu(h.b);)f=u(gu(h.a)?L(h.a):L(h.b),17),p=f.c==y?f.d:f.c,k.Math.abs(mu(F(z(Lr,1),Ae,8,0,[p.i.n,p.n,p.a])).b-o.b)>1&&gIn(e,f,o,c,y)}}function LPn(e){var n,t,i,r,c,o;if(r=new qr(e.e,0),i=new qr(e.a,0),e.d)for(t=0;tKee;){for(c=n,o=0;k.Math.abs(n-c)0),r.a.Xb(r.c=--r.b),X_n(e,e.b-o,c,i,r),at(r.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(t=0;t0?(e.f[g.p]=S/(g.e.c.length+g.g.c.length),e.c=k.Math.min(e.c,e.f[g.p]),e.b=k.Math.max(e.b,e.f[g.p])):l&&(e.f[g.p]=S)}}function $Pn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function RPn(e,n,t){var i,r,c,o;for(t.Tg("Graph transformation ("+e.a+")",1),o=Wb(n.a),c=new P(n.b);c.a=l.b.c)&&(l.b=n),(!l.c||n.c<=l.c.c)&&(l.d=l.c,l.c=n),(!l.e||n.d>=l.e.d)&&(l.e=n),(!l.f||n.d<=l.f.d)&&(l.f=n);return i=new lz((r8(),dp)),WT(e,cin,new Su(F(z(eI,1),Nn,377,0,[i]))),o=new lz(mm),WT(e,rin,new Su(F(z(eI,1),Nn,377,0,[o]))),r=new lz(pm),WT(e,iin,new Su(F(z(eI,1),Nn,377,0,[r]))),c=new lz(D3),WT(e,tin,new Su(F(z(eI,1),Nn,377,0,[c]))),CW(i.c,dp),CW(r.c,pm),CW(c.c,D3),CW(o.c,mm),l.a.c.length=0,Sr(l.a,i.c),Sr(l.a,Ks(r.c)),Sr(l.a,c.c),Sr(l.a,Ks(o.c)),l}function FPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;for(n.Tg(wWe,1),S=ne(re(ke(e,(Zh(),$m)))),o=ne(re(ke(e,(qa(),Gx)))),l=u(ke(e,Hx),104),Whe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a)),g=QKe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),S,o),!e.a&&(e.a=new pe(Ft,e,10,11)),h=new P(g);h.a0&&(e.a=f+(S-1)*c,n.c.b+=e.a,n.f.b+=e.a)),A.a.gc()!=0&&(y=new EV(1,c),S=Sge(y,n,A,O,n.f.b+f-n.c.b),S>0&&(n.f.b+=f+(S-1)*c))}function rVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;for(g=ne(re(C(e,(Oe(),Ng)))),i=ne(re(C(e,yye))),y=new H6,he(y,Ng,g+i),h=n,B=h.d,O=h.c.i,U=h.d.i,D=Jse(O.c),V=Jse(U.c),r=new Te,p=D;p<=V;p++)l=new Ja(e),Cf(l,(Fn(),dr)),he(l,(ve(),mi),h),he(l,Zi,(Br(),to)),he(l,SH,y),S=u(Le(e.b,p),25),p==D?q0(l,S.a.c.length-t,S):Or(l,S),te=ne(re(C(h,Kd))),te<0&&(te=0,he(h,Kd,te)),l.o.b=te,A=k.Math.floor(te/2),o=new Qu,Ar(o,(Ie(),Yn)),wu(o,l),o.n.b=A,f=new Qu,Ar(f,nt),wu(f,l),f.n.b=A,Gr(h,o),c=new Dw,Pu(c,h),he(c,Wc,null),fc(c,f),Gr(c,B),Vxn(l,h,c),qn(r.c,c),h=c;return r}function HPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;if(O=n.b.c.length,!(O<3)){for(S=le($t,ni,30,O,15,1),p=0,g=new P(n.b);g.ao)&&hr(e.b,u(D.b,17));++l}c=o}}}function iZ(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(f=u(zd(e,(Ie(),Yn)).Jc().Pb(),12).e,S=u(zd(e,nt).Jc().Pb(),12).g,l=f.c.length,V=$a(u(Le(e.j,0),12));l-- >0;){for(O=(kn(0,f.c.length),u(f.c[0],17)),r=(kn(0,S.c.length),u(S.c[0],17)),U=r.d.e,c=pu(U,r,0),e6n(O,r.d,c),fc(r,null),Gr(r,null),A=O.a,n&&Vt(A,new wc(V)),i=St(r.a,0);i.b!=i.d.c;)t=u(jt(i),8),Vt(A,new wc(t));for(B=O.b,y=new P(r.b);y.a-2;default:return!1}switch(n=e.Pj(),e.p){case 0:return n!=null&&ze(Be(n))!=Kj(e.k,0);case 1:return n!=null&&u(n,221).a!=Rt(e.k)<<24>>24;case 2:return n!=null&&u(n,180).a!=(Rt(e.k)&yr);case 6:return n!=null&&Kj(u(n,190).a,e.k);case 5:return n!=null&&u(n,15).a!=Rt(e.k);case 7:return n!=null&&u(n,191).a!=Rt(e.k)<<16>>16;case 3:return n!=null&&ne(re(n))!=e.j;case 4:return n!=null&&u(n,164).a!=e.j;default:return n==null?e.n!=null:!gi(n,e.n)}}function fN(e,n,t){var i,r,c,o;return e.ml()&&e.ll()&&(o=wV(e,u(t,57)),ue(o)!==ue(t))?(e.vj(n),e.Bj(n,U$e(e,n,o)),e.$k()&&(c=(r=u(t,52),e.kl()?e.il()?r.Qh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),null):r.Qh(e.b,Ji(r.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,null):r.Qh(e.b,-1-e.Jj(),null,null)),!u(o,52).Mh()&&(c=(i=u(o,52),e.kl()?e.il()?i.Oh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),c):i.Oh(e.b,Ji(i.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,c):i.Oh(e.b,-1-e.Jj(),null,c))),c&&c.mj()),Fs(e.b)&&e.Hj(e.Gj(9,t,o,n,!1)),o):t}function cVe(e){var n,t,i,r,c,o,l,f,h,g;for(i=new Te,o=new P(e.e.a);o.a0&&(o=k.Math.max(o,WBe(e.C.b+i.d.b,r))),g=i,p=r,y=c;e.C&&e.C.c>0&&(S=y+e.C.c,h&&(S+=g.d.c),o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(p-1)<=Xa||p==1||isNaN(p)&&isNaN(1)?0:S/(1-p)))),t.n.b=0,t.a.a=o}function oVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S;if(t=u(zc(e.b,n),127),f=u(u(vi(e.r,n),22),83),f.dc()){t.n.d=0,t.n.a=0;return}for(h=e.u.Gc((ps(),nd)),o=0,e.A.Gc((Vs(),$g))&&$Xe(e,n),l=f.Jc(),g=null,y=0,p=0;l.Ob();)i=u(l.Pb(),115),c=ne(re(i.b.mf((q$(),yJ)))),r=i.b.Kf().b,g?(S=p+g.d.a+e.w+i.d.d,o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(y-c)<=Xa||y==c||isNaN(y)&&isNaN(c)?0:S/(c-y)))):e.C&&e.C.d>0&&(o=k.Math.max(o,WBe(e.C.d+i.d.d,c))),g=i,y=c,p=r;e.C&&e.C.a>0&&(S=p+e.C.a,h&&(S+=g.d.a),o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(y-1)<=Xa||y==1||isNaN(y)&&isNaN(1)?0:S/(1-y)))),t.n.d=0,t.a.b=o}function sVe(e,n,t){var i,r,c,o,l,f;for(this.g=e,l=n.d.length,f=t.d.length,this.d=le(s1,Hd,9,l+f,0,1),o=0;o0?NY(this,this.f/this.a):_a(n.g,n.d[0]).a!=null&&_a(t.g,t.d[0]).a!=null?NY(this,(ne(_a(n.g,n.d[0]).a)+ne(_a(t.g,t.d[0]).a))/2):_a(n.g,n.d[0]).a!=null?NY(this,_a(n.g,n.d[0]).a):_a(t.g,t.d[0]).a!=null&&NY(this,_a(t.g,t.d[0]).a)}function qPn(e,n,t,i,r,c,o,l){var f,h,g,p,y,S,A,O,D,B;if(A=!1,h=xbe(t.q,n.f+n.b-t.q.f),S=i.f>n.b&&l,B=r-(t.q.e+h-o),p=(f=bS(i,B,!1),f.a),S&&p>i.f)return!1;if(S){for(y=0,D=new P(n.d);D.a=(kn(c,e.c.length),u(e.c[c],186)).e,!S&&p>n.b&&!g)?!1:((g||S||p<=n.b)&&(g&&p>n.b?(t.d=p,cO(t,HGe(t,p))):(rGe(t.q,h),t.c=!0),cO(i,r-(t.s+t.r)),RO(i,t.q.e+t.q.d,n.f),EB(n,i),e.c.length>c&&(JO((kn(c,e.c.length),u(e.c[c],186)),i),(kn(c,e.c.length),u(e.c[c],186)).a.c.length==0&&Od(e,c)),A=!0),A)}function UPn(e,n){var t,i,r,c,o,l,f,h,g,p;for(e.a=new ADe(mkn(Zx)),i=new P(n.a);i.a0&&(Wn(0,t.length),t.charCodeAt(0)!=47)))throw R(new Un("invalid opaquePart: "+t));if(e&&!(n!=null&&Cj(AG,n.toLowerCase()))&&!(t==null||!jQ(t,fA,aA)))throw R(new Un(KZe+t));if(e&&n!=null&&Cj(AG,n.toLowerCase())&&!qAn(t))throw R(new Un(KZe+t));if(!Qjn(i))throw R(new Un("invalid device: "+i));if(!Vkn(r))throw o=r==null?"invalid segments: null":"invalid segment: "+Hkn(r),R(new Un(o));if(!(c==null||dh(c,Xo(35))==-1))throw R(new Un("invalid query: "+c))}function fVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;if(y=new wc(e.o),B=n.a/y.a,l=n.b/y.b,O=n.a-y.a,c=n.b-y.b,t)for(r=ue(C(e,(Oe(),Zi)))===ue((Br(),to)),A=new P(e.j);A.a=1&&(D-o>0&&p>=0?(f.n.a+=O,f.n.b+=c*o):D-o<0&&g>=0&&(f.n.a+=O*D,f.n.b+=c));e.o.a=n.a,e.o.b=n.b,he(e,(Oe(),Tg),(Vs(),i=u(fa(uA),10),new Ll(i,u(_f(i,i.length),10),0)))}function YPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;if(t.Tg("Network simplex layering",1),e.b=n,B=u(C(n,(Oe(),xx)),15).a*4,D=e.b.a,D.c.length<1){t.Ug();return}for(c=HDn(e,D),O=null,r=St(c,0);r.b!=r.d.c;){for(i=u(jt(r),16),l=B*lc(k.Math.sqrt(i.gc())),o=i_n(i),zW(Poe(ign($oe(YK(o),l),O),!0),t.dh(1)),y=e.b.b,A=new P(o.a);A.a1)for(O=le($t,ni,30,e.b.b.c.length,15,1),p=0,h=new P(e.b.b);h.a0){uz(e,t,0),t.a+=String.fromCharCode(i),r=LEn(n,c),uz(e,t,r),c+=r-1;continue}i==39?c+10&&A.a<=0){f.c.length=0,qn(f.c,A);break}S=A.i-A.d,S>=l&&(S>l&&(f.c.length=0,l=S),qn(f.c,A))}f.c.length!=0&&(o=u(Le(f,hz(r,f.c.length)),116),V.a.Ac(o)!=null,o.g=g++,lge(o,n,t,i),f.c.length=0)}for(D=e.c.length+1,y=new P(e);y.aIr||n.o==Dg&&g=l&&r<=f)l<=r&&c<=f?(t[g++]=r,t[g++]=c,i+=2):l<=r?(t[g++]=r,t[g++]=f,e.b[i]=f+1,o+=2):c<=f?(t[g++]=l,t[g++]=c,i+=2):(t[g++]=l,t[g++]=f,e.b[i]=f+1);else if(fW0)&&l<10);Roe(e.c,new kc),aVe(e),q3n(e.c),BPn(e.f)}function s$n(e,n){var t,i,r,c,o,l,f,h,g,p,y;switch(e.k.g){case 1:if(i=u(C(e,(ve(),mi)),17),t=u(C(i,Y3e),78),t?ze(Be(C(i,Xd)))&&(t=E1e(t)):t=new xs,h=u(C(e,Sa),12),h){if(g=mu(F(z(Lr,1),Ae,8,0,[h.i.n,h.n,h.a])),n<=g.a)return g.b;Ki(t,g,t.a,t.a.a)}if(p=u(C(e,wf),12),p){if(y=mu(F(z(Lr,1),Ae,8,0,[p.i.n,p.n,p.a])),y.a<=n)return y.b;Ki(t,y,t.c.b,t.c)}if(t.b>=2){for(f=St(t,0),o=u(jt(f),8),l=u(jt(f),8);l.a0&&AO(h,!0,(vr(),ru)),l.k==(Fn(),wr)&&FDe(h),ei(e.f,l,n)}}function dVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U;for(h=Vi,g=Vi,l=Ir,f=Ir,y=new P(n.i);y.a=e.j?(++e.j,Ce(e.b,ye(1)),Ce(e.c,g)):(i=e.d[n.p][1],ol(e.b,h,ye(u(Le(e.b,h),15).a+1-i)),ol(e.c,h,ne(re(Le(e.c,h)))+g-i*e.f)),(e.r==(V0(),yI)&&(u(Le(e.b,h),15).a>e.k||u(Le(e.b,h-1),15).a>e.k)||e.r==kI&&(ne(re(Le(e.c,h)))>e.n||ne(re(Le(e.c,h-1)))>e.n))&&(f=!1),o=new Xn(Qn(cr(n).a.Jc(),new ee));ht(o);)c=u(rt(o),17),l=c.c.i,e.g[l.p]==h&&(p=bVe(e,l),r=r+u(p.a,15).a,f=f&&ze(Be(p.b)));return e.g[n.p]=h,r=r+e.d[n.p][0],new jc(ye(r),($n(),!!f))}function f$n(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;return y=e.c[n],S=e.c[t],A=u(C(y,(ve(),$4)),16),!!A&&A.gc()!=0&&A.Gc(S)||(O=y.k!=(Fn(),dr)&&S.k!=dr,D=u(C(y,pp),9),B=u(C(S,pp),9),U=D!=B,V=!!D&&D!=y||!!B&&B!=S,te=UQ(y,(Ie(),Vn)),be=UQ(S,bt),V=V|(UQ(y,bt)||UQ(S,Vn)),fe=V&&U||te||be,O&&fe)||y.k==(Fn(),wo)&&S.k==Wi||S.k==(Fn(),wo)&&y.k==Wi?!1:(g=e.c[n],c=e.c[t],r=YHe(e.e,g,c,(Ie(),Yn)),f=YHe(e.i,g,c,nt),$Nn(e.f,g,c),h=iFe(e.b,g,c)+u(r.a,15).a+u(f.a,15).a+e.f.d,l=iFe(e.b,c,g)+u(r.b,15).a+u(f.b,15).a+e.f.b,e.a&&(p=u(C(g,mi),12),o=u(C(c,mi),12),i=_He(e.g,p,o),h+=u(i.a,15).a,l+=u(i.b,15).a),h>l)}function gVe(e,n){var t,i,r,c,o;t=ne(re(C(n,(Oe(),Vf)))),t<2&&he(n,Vf,2),i=u(C(n,pl),86),i==(vr(),ih)&&he(n,pl,KB(n)),r=u(C(n,Bun),15),r.a==0?he(n,(ve(),B4),new yQ):he(n,(ve(),B4),new QR(r.a)),c=Be(C(n,jx)),c==null&&he(n,jx,($n(),ue(C(n,W1))===ue((J1(),K7)))),er(new pn(null,new yn(n.a,16)),new noe(e)),er(lu(new pn(null,new yn(n.b,16)),new w1),new toe(e)),o=new lVe(n),he(n,(ve(),H3),o),HT(e.a),ha(e.a,(zr(),Kf),u(C(n,H4),188)),ha(e.a,o1,u(C(n,mH),188)),ha(e.a,eo,u(C(n,yx),188)),ha(e.a,no,u(C(n,jH),188)),ha(e.a,Pc,F7n(u(C(n,W1),222))),Hse(e.a,cBn(n)),he(n,kie,lN(e.a,n))}function Sge(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,D,B;for(p=new wt,o=new Te,lqe(e,t,e.d.zg(),o,p),lqe(e,i,e.d.Ag(),o,p),e.b=.2*(O=wUe(lu(new pn(null,new yn(o,16)),new jM)),D=wUe(lu(new pn(null,new yn(o,16)),new EM)),k.Math.min(O,D)),c=0,l=0;l=2&&(B=RUe(o,!0,y),!e.e&&(e.e=new _Ee(e)),DEn(e.e,B,o,e.b)),gGe(o,y),w$n(o),S=-1,g=new P(o);g.a0&&(t+=f.n.a+f.o.a/2,++p),A=new P(f.j);A.a0&&(t/=p),B=le(Jr,Jc,30,i.a.c.length,15,1),l=0,h=new P(i.a);h.a-1){for(r=St(l,0);r.b!=r.d.c;)i=u(jt(r),132),i.v=o;for(;l.b!=0;)for(i=u(nW(l,0),132),t=new P(i.i);t.a-1){for(c=new P(l);c.a0)&&(ww(f,k.Math.min(f.o,r.o-1)),y0(f,f.i-1),f.i==0&&qn(l.c,f))}}function mVe(e,n,t,i,r){var c,o,l,f;return f=Vi,o=!1,l=gge(e,Nr(new Ee(n.a,n.b),e),pi(new Ee(t.a,t.b),r),Nr(new Ee(i.a,i.b),t)),c=!!l&&!(k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op||k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op),l=gge(e,Nr(new Ee(n.a,n.b),e),t,r),l&&((k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op)==(k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op)||c?f=k.Math.min(f,bE(Nr(l,t))):o=!0),l=gge(e,Nr(new Ee(n.a,n.b),e),i,r),l&&(o||(k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op)==(k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op)||c)&&(f=k.Math.min(f,bE(Nr(l,i)))),f}function vVe(e){b2(e,new Kw(KP(h2(l2(a2(f2(new pd,eb),hQe),"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 j5),$o))),Se(e,eb,AS,_e(gve)),Se(e,eb,dF,($n(),!0)),Se(e,eb,S3,_e(Jtn)),Se(e,eb,j4,_e(Htn)),Se(e,eb,k4,_e(Gtn)),Se(e,eb,Q8,_e(Ftn)),Se(e,eb,MS,_e(pve)),Se(e,eb,W8,_e(qtn)),Se(e,eb,fwe,_e(bve)),Se(e,eb,hwe,_e(hve)),Se(e,eb,dwe,_e(dve)),Se(e,eb,bwe,_e(wve)),Se(e,eb,awe,_e(xJ))}function p$n(e){var n,t,i,r,c,o,l,f;for(n=null,i=new P(e);i.a0&&t.c==0&&(!n&&(n=new Te),qn(n.c,t));if(n)for(;n.c.length!=0;){if(t=u(Od(n,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Te),new P(t.b));c.apu(e,t,0))return new jc(r,t)}else if(ne(_a(r.g,r.d[0]).a)>ne(_a(t.g,t.d[0]).a))return new jc(r,t)}for(l=(!t.e&&(t.e=new Te),t.e).Jc();l.Ob();)o=u(l.Pb(),239),f=(!o.b&&(o.b=new Te),o.b),_2(0,f.c.length),$j(f.c,0,t),o.c==f.c.length&&qn(n.c,o)}return null}function pS(e,n){var t,i,r,c,o,l,f,h,g;if(n.e==5){hVe(e,n);return}if(h=n,!(h.b==null||e.b==null)){for(g3(e),gS(e),g3(h),gS(h),t=le($t,ni,30,e.b.length+h.b.length,15,1),g=0,i=0,o=0;i=l&&r<=f)l<=r&&c<=f?i+=2:l<=r?(e.b[i]=f+1,o+=2):c<=f?(t[g++]=r,t[g++]=l-1,i+=2):(t[g++]=r,t[g++]=l-1,e.b[i]=f+1,o+=2);else if(f0),u(g.a.Xb(g.c=--g.b),17));c!=i&&g.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(at(g.b>0),u(g.a.Xb(g.c=--g.b),17));g.b>0&&As(g)}}function yVe(e,n,t){var i,r,c,o,l,f,h,g,p,y;if(t)for(i=-1,g=new qr(n,0);g.b0?r-=864e5:r+=864e5,f=new Sle(mc(Lu(n.q.getTime()),r))),g=new wy,h=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(o=c+1;o=h)throw R(new Un("Missing trailing '"));o+1=14&&g<=16))?n.a._b(i)?(t.a?Kt(t.a,t.b):t.a=new il(t.d),Yj(t.a,"[...]")):(l=Ky(i),h=new A2(n),L1(t,jVe(l,h))):X(i,171)?L1(t,aTn(u(i,171))):X(i,195)?L1(t,ZAn(u(i,195))):X(i,201)?L1(t,cCn(u(i,201))):X(i,2073)?L1(t,eMn(u(i,2073))):X(i,54)?L1(t,fTn(u(i,54))):X(i,584)?L1(t,STn(u(i,584))):X(i,830)?L1(t,lTn(u(i,830))):X(i,108)&&L1(t,sTn(u(i,108))):L1(t,i==null?Vo:fu(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function P8(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,s8(e,null)):(e.F=(Ln(n),n),i=dh(n,Xo(60)),i!=-1?(r=(Qr(0,i,n.length),n.substr(0,i)),dh(n,Xo(46))==-1&&!bn(r,d4)&&!bn(r,JS)&&!bn(r,QF)&&!bn(r,HS)&&!bn(r,GS)&&!bn(r,qS)&&!bn(r,US)&&!bn(r,XS)&&(r=oen),t=J$(n,Xo(62)),t!=-1&&(r+=""+(Wn(t+1,n.length+1),n.substr(t+1))),s8(e,r)):(r=n,dh(n,Xo(46))==-1&&(i=dh(n,Xo(91)),i!=-1&&(r=(Qr(0,i,n.length),n.substr(0,i))),!bn(r,d4)&&!bn(r,JS)&&!bn(r,QF)&&!bn(r,HS)&&!bn(r,GS)&&!bn(r,qS)&&!bn(r,US)&&!bn(r,XS)?(r=oen,i!=-1&&(r+=""+(Wn(i,n.length+1),n.substr(i)))):r=n),s8(e,r),r==n&&(e.F=e.D))),(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,5,c,n))}function S$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(e.c=e.e,A=Be(C(n,(Oe(),zun))),S=A==null||(Ln(A),A),c=u(C(n,(ve(),po)),22).Gc((Ic(),Vl)),r=u(C(n,Zi),102),t=!(r==(Br(),Pg)||r==d1||r==to),S&&(t||!c)){for(p=new P(n.a);p.a=0)return r=Xjn(e,(Qr(1,o,n.length),n.substr(1,o-1))),g=(Qr(o+1,f,n.length),n.substr(o+1,f-(o+1))),YRn(e,g,r)}else{if(t=-1,Tme==null&&(Tme=new RegExp("\\d")),Tme.test(String.fromCharCode(l))&&(t=qle(n,Xo(46),f-1),t>=0)){i=u(aY(e,tBe(e,(Qr(1,t,n.length),n.substr(1,t-1))),!1),61),h=0;try{h=hl((Wn(t+1,n.length+1),n.substr(t+1)),Xr,oi)}catch(y){throw y=sr(y),X(y,131)?(c=y,R(new fB(c))):R(y)}if(h>16==-10?t=u(e.Cb,293).Wk(n,t):e.Db>>16==-15&&(!n&&(n=(jn(),uh)),!h&&(h=(jn(),uh)),e.Cb.Vh()&&(f=new $1(e.Cb,1,13,h,n,Bd(Ts(u(e.Cb,62)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,88))e.Db>>16==-23&&(X(n,88)||(n=(jn(),Ef)),X(h,88)||(h=(jn(),Ef)),e.Cb.Vh()&&(f=new $1(e.Cb,1,10,h,n,Bd(Vu(u(e.Cb,29)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,446))for(l=u(e.Cb,834),o=(!l.b&&(l.b=new _P(new jX)),l.b),c=(i=new J2(new sn(o.a).a),new LP(i));c.a.b;)r=u(c3(c.a).jd(),87),t=$8(r,_z(r,l),t)}return t}function A$n(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(o=ze(Be(ke(e,(Oe(),Mm)))),y=u(ke(e,Om),22),f=!1,h=!1,p=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));p.e!=p.i.gc()&&(!f||!h);){for(c=u(ft(p),125),l=0,r=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!c.d&&(c.d=new In(pr,c,8,5)),c.d),(!c.e&&(c.e=new In(pr,c,7,4)),c.e)])));ht(r)&&(i=u(rt(r),85),g=o&&Vw(i)&&ze(Be(ke(i,Cg))),t=tVe((!i.b&&(i.b=new In(mt,i,4,7)),i.b),c)?e==Fi(iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))):e==Fi(iu(u(K((!i.b&&(i.b=new In(mt,i,4,7)),i.b),0),84))),!((g||t)&&(++l,l>1))););(l>0||y.Gc((ps(),nd))&&(!c.n&&(c.n=new pe(Eu,c,1,7)),c.n).i>0)&&(f=!0),l>1&&(h=!0)}f&&n.Ec((Ic(),Vl)),h&&n.Ec((Ic(),lx))}function SVe(e){var n,t,i,r,c,o,l,f,h,g,p,y;if(y=u(ke(e,(Xt(),Lg)),22),y.dc())return null;if(l=0,o=0,y.Gc((Vs(),YI))){for(g=u(ke(e,Wx),102),i=2,t=2,r=2,c=2,n=Fi(e)?u(ke(Fi(e),_g),86):u(ke(e,_g),86),h=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));h.e!=h.i.gc();)if(f=u(ft(h),125),p=u(ke(f,c5),64),p==(Ie(),ju)&&(p=sge(f,n),Ei(f,c5,p)),g==(Br(),to))switch(p.g){case 1:i=k.Math.max(i,f.i+f.g);break;case 2:t=k.Math.max(t,f.j+f.f);break;case 3:r=k.Math.max(r,f.i+f.g);break;case 4:c=k.Math.max(c,f.j+f.f)}else switch(p.g){case 1:i+=f.g+2;break;case 2:t+=f.f+2;break;case 3:r+=f.g+2;break;case 4:c+=f.f+2}l=k.Math.max(i,r),o=k.Math.max(t,c)}return Zw(e,l,o,!0,!0)}function M$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(r=null,i=new P(n.a);i.a1)for(r=e.e.b,Vt(e.e,f),l=f.a.ec().Jc();l.Ob();)o=u(l.Pb(),9),ei(e.c,o,ye(r))}}function C$n(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;for(c=new Jqe(n),p=nDn(e,n,c),S=k.Math.max(ne(re(C(n,(Oe(),Kd)))),1),g=new P(p.a);g.a=0){for(f=null,l=new qr(g.a,h+1);l.b0,h?h&&(y=B.p,o?++y:--y,p=u(Le(B.c.a,y),9),i=$ze(p),S=!(qUe(i,fe,t[0])||nDe(i,fe,t[0]))):S=!0),A=!1,be=n.D.i,be&&be.c&&l.e&&(g=o&&be.p>0||!o&&be.p=0&&Oo?1:Jb(isNaN(0),isNaN(o)))<0&&(Bf(Th),(k.Math.abs(o-1)<=Th||o==1||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:Jb(isNaN(o),isNaN(1)))<0)&&(Bf(Th),(k.Math.abs(0-l)<=Th||l==0||isNaN(0)&&isNaN(l)?0:0l?1:Jb(isNaN(0),isNaN(l)))<0)&&(Bf(Th),(k.Math.abs(l-1)<=Th||l==1||isNaN(l)&&isNaN(1)?0:l<1?-1:l>1?1:Jb(isNaN(l),isNaN(1)))<0)),c)}function P$n(e){var n,t,i,r,c,o,l,f,h,g,p;for(e.j=le($t,ni,30,e.g,15,1),e.o=new Te,er(lu(new pn(null,new yn(e.e.b,16)),new yv),new TEe(e)),e.a=le(ts,va,30,e.b,16,1),NO(new pn(null,new yn(e.e.b,16)),new NEe(e)),i=(p=new Te,er(li(lu(new pn(null,new yn(e.e.b,16)),new H5),new OEe(e)),new gCe(e,p)),p),f=new P(i);f.a=h.c.c.length?g=Fae((Fn(),Wi),dr):g=Fae((Fn(),dr),dr),g*=2,c=t.a.g,t.a.g=k.Math.max(c,c+(g-c)),o=t.b.g,t.b.g=k.Math.max(o,o+(g-o)),r=n}}function Zz(e,n){var t;if(e.e)throw R(new Uc((T1(gte),UZ+gte.k+XZ)));if(!Vgn(e.a,n))throw R(new du(GYe+n+qYe));if(n==e.d)return e;switch(t=e.d,e.d=n,t.g){case 0:switch(n.g){case 2:Uw(e);break;case 1:F0(e),Uw(e);break;case 4:h3(e),Uw(e);break;case 3:h3(e),F0(e),Uw(e)}break;case 2:switch(n.g){case 1:F0(e),LW(e);break;case 4:h3(e),Uw(e);break;case 3:h3(e),F0(e),Uw(e)}break;case 1:switch(n.g){case 2:F0(e),LW(e);break;case 4:F0(e),h3(e),Uw(e);break;case 3:F0(e),h3(e),F0(e),Uw(e)}break;case 4:switch(n.g){case 2:h3(e),Uw(e);break;case 1:h3(e),F0(e),Uw(e);break;case 3:F0(e),LW(e)}break;case 3:switch(n.g){case 2:F0(e),h3(e),Uw(e);break;case 1:F0(e),h3(e),F0(e),Uw(e);break;case 4:F0(e),LW(e)}}return e}function y3(e,n){var t;if(e.d)throw R(new Uc((T1(Tte),UZ+Tte.k+XZ)));if(!Kgn(e.a,n))throw R(new du(GYe+n+qYe));if(n==e.c)return e;switch(t=e.c,e.c=n,t.g){case 0:switch(n.g){case 2:ug(e);break;case 1:z0(e),ug(e);break;case 4:d3(e),ug(e);break;case 3:d3(e),z0(e),ug(e)}break;case 2:switch(n.g){case 1:z0(e),PW(e);break;case 4:d3(e),ug(e);break;case 3:d3(e),z0(e),ug(e)}break;case 1:switch(n.g){case 2:z0(e),PW(e);break;case 4:z0(e),d3(e),ug(e);break;case 3:z0(e),d3(e),z0(e),ug(e)}break;case 4:switch(n.g){case 2:d3(e),ug(e);break;case 1:d3(e),z0(e),ug(e);break;case 3:z0(e),PW(e)}break;case 3:switch(n.g){case 2:z0(e),d3(e),ug(e);break;case 1:z0(e),d3(e),z0(e),ug(e);break;case 4:z0(e),PW(e)}}return e}function $$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(p=e.b,g=new qr(p,0),E2(g,new Xu(e)),U=!1,o=1;g.b0&&(n.a+=To),eF(u(ft(l),174),n);for(n.a+=nee,f=new Ay((!i.c&&(i.c=new In(mt,i,5,8)),i.c));f.e!=f.i.gc();)f.e>0&&(n.a+=To),eF(u(ft(f),174),n);n.a+=")"}}function R$n(e,n,t){var i,r,c,o,l,f,h,g;for(f=new st((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a));f.e!=f.i.gc();)for(l=u(ft(f),26),r=new Xn(Qn(K0(l).a.Jc(),new ee));ht(r);){if(i=u(rt(r),85),!i.b&&(i.b=new In(mt,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new In(mt,i,5,8)),i.c.i<=1)))throw R(new gy("Graph must not contain hyperedges."));if(!iS(i)&&l!=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)))for(h=new sNe,Pu(h,i),he(h,($0(),N4),i),MP(h,u(bu(Xc(t.f,l)),155)),nX(h,u(zn(t,iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))),155)),Ce(n.c,h),o=new st((!i.n&&(i.n=new pe(Eu,i,1,7)),i.n));o.e!=o.i.gc();)c=u(ft(o),157),g=new wPe(h,c.a),Pu(g,c),he(g,N4,c),g.e.a=k.Math.max(c.g,1),g.e.b=k.Math.max(c.f,1),bge(g),Ce(n.d,g)}}function B$n(e,n,t){var i,r,c,o,l,f,h,g,p,y;switch(t.Tg("Node promotion heuristic",1),e.i=n,e.r=u(C(n,(Oe(),wI)),243),e.r!=(V0(),$7)&&e.r!=Cx?aRn(e):$In(e),g=u(C(e.i,cye),15).a,c=new Nq,e.r.g){case 2:case 1:L8(e,c);break;case 3:for(e.r=NH,L8(e,c),f=0,l=new P(e.b);l.ae.k&&(e.r=yI,L8(e,c));break;case 4:for(e.r=NH,L8(e,c),h=0,r=new P(e.c);r.ae.n&&(e.r=kI,L8(e,c));break;case 6:y=lc(k.Math.ceil(e.g.length*g/100)),L8(e,new Cje(y));break;case 5:p=lc(k.Math.ceil(e.e*g/100)),L8(e,new Tje(p));break;case 8:uYe(e,!0);break;case 9:uYe(e,!1);break;default:L8(e,c)}e.r!=$7&&e.r!=Cx?iIn(e,n):jDn(e,n),t.Ug()}function z$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(p=new Tge(e),Cyn(p,!(n==(vr(),Yl)||n==th)),g=p.a,y=new ay,r=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),o=0,f=r.length;o0&&(y.d+=g.n.d,y.d+=g.d),y.a>0&&(y.a+=g.n.a,y.a+=g.d),y.b>0&&(y.b+=g.n.b,y.b+=g.d),y.c>0&&(y.c+=g.n.c,y.c+=g.d),y}function MVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;for(y=t.d,p=t.c,c=new Ee(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),o=c.b,h=new P(e.a);h.a0&&(e.c[n.c.p][n.p].d+=Ds(e.i,24)*SN*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}function J$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;for(A=new P(e);A.ai.d,i.d=k.Math.max(i.d,n),l&&t&&(i.d=k.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=k.Math.max(i.a,n),l&&t&&(i.a=k.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=k.Math.max(i.c,n),l&&t&&(i.c=k.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=k.Math.max(i.b,n),l&&t&&(i.b=k.Math.max(i.b,i.c),i.c=i.b+r)}}}function TVe(e,n){var t,i,r,c,o,l,f,h,g;return h="",n.length==0?e.le(Gge,pZ,-1,-1):(g=W2(n),bn(g.substr(0,3),"at ")&&(g=(Wn(3,g.length+1),g.substr(3))),g=g.replace(/\[.*?\]/g,""),o=g.indexOf("("),o==-1?(o=g.indexOf("@"),o==-1?(h=g,g=""):(h=W2((Wn(o+1,g.length+1),g.substr(o+1))),g=W2((Qr(0,o,g.length),g.substr(0,o))))):(t=g.indexOf(")",o),h=(Qr(o+1,t,g.length),g.substr(o+1,t-(o+1))),g=W2((Qr(0,o,g.length),g.substr(0,o)))),o=dh(g,Xo(46)),o!=-1&&(g=(Wn(o+1,g.length+1),g.substr(o+1))),(g.length==0||bn(g,"Anonymous function"))&&(g=pZ),l=J$(h,Xo(58)),r=qle(h,Xo(58),l-1),f=-1,i=-1,c=Gge,l!=-1&&r!=-1&&(c=(Qr(0,r,h.length),h.substr(0,r)),f=MOe((Qr(r+1,l,h.length),h.substr(r+1,l-(r+1)))),i=MOe((Wn(l+1,h.length+1),h.substr(l+1)))),e.le(c,g,f,i))}function G$n(e){var n,t,i,r,c,o,l,f,h,g,p;for(h=new P(e);h.a0||g.j==Yn&&g.e.c.length-g.g.c.length<0)){n=!1;break}for(r=new P(g.g);r.a=h&&be>=D&&(y+=A.n.b+O.n.b+O.a.b-te,++l));if(t)for(o=new P(U.e);o.a=h&&be>=D&&(y+=A.n.b+O.n.b+O.a.b-te,++l))}l>0&&(fe+=y/l,++S)}S>0?(n.a=r*fe/S,n.g=S):(n.a=0,n.g=0)}function Mge(e,n,t,i){var r,c,o,l,f;return l=new Tge(n),zNn(l,i),r=!0,e&&e.nf((Xt(),_g))&&(c=u(e.mf((Xt(),_g)),86),r=c==(vr(),ih)||c==Zc||c==ru),TXe(l,!1),Ao(l.e.Pf(),new Yle(l,!1,r)),HV(l,l.f,(pa(),Ou),(Ie(),Vn)),HV(l,l.f,Nu,bt),HV(l,l.g,Ou,Yn),HV(l,l.g,Nu,nt),YJe(l,Vn),YJe(l,bt),qDe(l,nt),qDe(l,Yn),j2(),o=l.A.Gc((Vs(),qm))&&l.B.Gc((_s(),WI))?lJe(l):null,o&&cgn(l.a,o),H$n(l),fxn(l),axn(l),v$n(l),I_n(l),Pxn(l),NQ(l,Vn),NQ(l,bt),yDn(l),sPn(l),t&&(tEn(l),$xn(l),NQ(l,nt),NQ(l,Yn),f=l.B.Gc((_s(),oA)),wqe(l,f,Vn),wqe(l,f,bt),pqe(l,f,nt),pqe(l,f,Yn),er(new pn(null,new yn(new ot(l.i),0)),new Xg),er(li(new pn(null,Gfe(l.r).a.oc()),new Kg),new Vg),VAn(l),l.e.Nf(l.o),er(new pn(null,Gfe(l.r).a.oc()),new fd)),l.o}function U$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(h=Vi,i=new P(e.a.b);i.a1)for(S=new mge(A,V,i),cc(V,new pCe(e,S)),qn(o.c,S),p=V.a.ec().Jc();p.Ob();)g=u(p.Pb(),49),qo(c,g.b);if(l.a.gc()>1)for(S=new mge(A,l,i),cc(l,new mCe(e,S)),qn(o.c,S),p=l.a.ec().Jc();p.Ob();)g=u(p.Pb(),49),qo(c,g.b)}}function Y$n(e,n){var t,i,r,c,o,l;if(u(C(n,(ve(),po)),22).Gc((Ic(),Vl))){for(l=new P(n.a);l.a=0&&o0&&(u(zc(e.b,n),127).a.b=t)}function iRn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;for(S=0,i=new ar,c=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));c.e!=c.i.gc();)r=u(ft(c),26),ze(Be(ke(r,(Oe(),Og))))||(p=Fi(r),Vz(p)&&!ze(Be(ke(r,dH)))&&(Ei(r,(ve(),Oi),ye(S)),++S,ga(r,xm)&&hr(i,u(ke(r,xm),15))),NVe(e,r,t));for(he(t,(ve(),fb),ye(S)),he(t,fI,ye(i.a.gc())),S=0,g=new st((!n.b&&(n.b=new pe(pr,n,12,3)),n.b));g.e!=g.i.gc();)f=u(ft(g),85),Vz(n)&&(Ei(f,Oi,ye(S)),++S),D=dW(f),B=CGe(f),y=ze(Be(ke(D,(Oe(),Mm)))),O=!ze(Be(ke(f,Og))),A=y&&Vw(f)&&ze(Be(ke(f,Cg))),o=Fi(D)==n&&Fi(D)==Fi(B),l=(Fi(D)==n&&B==n)^(Fi(B)==n&&D==n),O&&!A&&(l||o)&&_ge(e,f,n,t);if(Fi(n))for(h=new st(WDe(Fi(n)));h.e!=h.i.gc();)f=u(ft(h),85),D=dW(f),D==n&&Vw(f)&&(A=ze(Be(ke(D,(Oe(),Mm))))&&ze(Be(ke(f,Cg))),A&&_ge(e,f,n,t))}function rRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn;for(fe=new Te,A=new P(e.b);A.a=n.length)return{done:!0};var r=n[i++];return{value:[r,t.get(r)],done:!1}}}},eDn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,t){this.obj[":"+n]=t},e.prototype[FZ]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var t in this.obj)t.charCodeAt(0)==58&&n.push(t.substring(1));return n}),e}function Ti(){Ti=Y,Rx=new ki(lwe),new Pi("DEPTH",ye(0)),wre=new Pi("FAN",ye(0)),v4e=new Pi(nWe,ye(0)),gb=new Pi("ROOT",($n(),!1)),vre=new Pi("LEFTNEIGHBOR",null),asn=new Pi("RIGHTNEIGHBOR",null),BH=new Pi("LEFTSIBLING",null),yre=new Pi("RIGHTSIBLING",null),gre=new Pi("DUMMY",!1),new Pi("LEVEL",ye(0)),j4e=new Pi("REMOVABLE_EDGES",new xi),MI=new Pi("XCOOR",ye(0)),CI=new Pi("YCOOR",ye(0)),zH=new Pi("LEVELHEIGHT",0),xa=new Pi("LEVELMIN",0),Yf=new Pi("LEVELMAX",0),pre=new Pi("GRAPH_XMIN",0),mre=new Pi("GRAPH_YMIN",0),y4e=new Pi("GRAPH_XMAX",0),k4e=new Pi("GRAPH_YMAX",0),m4e=new Pi("COMPACT_LEVEL_ASCENSION",!1),bre=new Pi("COMPACT_CONSTRAINTS",new Te),$x=new Pi("ID",""),Bx=new Pi("POSITION",ye(0)),Qd=new Pi("PRELIM",0),z7=new Pi("MODIFIER",0),B7=new ki(fQe),AI=new ki(aQe)}function sRn(e){oge();var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(e==null)return null;if(p=e.length*8,p==0)return"";for(l=p%24,S=p/24|0,y=l!=0?S+1:S,c=null,c=le(Zl,xh,30,y*4,15,1),h=0,g=0,n=0,t=0,i=0,o=0,r=0,f=0;f>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,D=(i&-128)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[o++]=u0[A],c[o++]=u0[O|h<<4],c[o++]=u0[g<<2|D],c[o++]=u0[i&63];return l==8?(n=e[r],h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,c[o++]=u0[A],c[o++]=u0[h<<4],c[o++]=61,c[o++]=61):l==16&&(n=e[r],t=e[r+1],g=(t&15)<<24>>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,c[o++]=u0[A],c[o++]=u0[O|h<<4],c[o++]=u0[g<<2],c[o++]=61),vh(c,0,c.length)}function lRn(e,n){var t,i,r,c,o,l,f;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Xr&&Hae(n,e.p-Z0),o=n.q.getDate(),VT(n,1),e.k>=0&&Byn(n,e.k),e.c>=0?VT(n,e.c):e.k>=0?(f=new v1e(n.q.getFullYear()-Z0,n.q.getMonth(),35),i=35-f.q.getDate(),VT(n,k.Math.min(i,o))):VT(n,o),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Vwn(n,e.f==24&&e.g?0:e.f),e.j>=0&&p9n(n,e.j),e.n>=0&&O9n(n,e.n),e.i>=0&&fTe(n,mc(hc(GO(Lu(n.q.getTime()),Jd),Jd),e.i)),e.a&&(r=new u$,Hae(r,r.q.getFullYear()-Z0-80),HX(Lu(n.q.getTime()),Lu(r.q.getTime()))&&Hae(n,r.q.getFullYear()-Z0+100)),e.d>=0){if(e.c==-1)t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),l=n.q.getMonth(),VT(n,n.q.getDate()+t),n.q.getMonth()!=l&&VT(n,n.q.getDate()+(t>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>Xr&&(c=n.q.getTimezoneOffset(),fTe(n,mc(Lu(n.q.getTime()),(e.o-c)*60*Jd))),!0}function LVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;if(r=C(n,(ve(),mi)),!!X(r,206)){for(A=u(r,26),O=n.e,y=new wc(n.c),c=n.d,y.a+=c.b,y.b+=c.d,te=u(ke(A,(Oe(),EH)),182),cs(te,(_s(),dG))&&(S=u(ke(A,aye),104),WU(S,c.a),tX(S,c.d),ZU(S,c.b),eX(S,c.c)),t=new Te,g=new P(n.a);g.ai.c.length-1;)Ce(i,new jc(A3,Hpe));t=u(C(r,Lh),15).a,M1(u(C(e,Sp),86))?(r.e.ane(re((kn(t,i.c.length),u(i.c[t],49)).b))&&UC((kn(t,i.c.length),u(i.c[t],49)),r.e.a+r.f.a)):(r.e.bne(re((kn(t,i.c.length),u(i.c[t],49)).b))&&UC((kn(t,i.c.length),u(i.c[t],49)),r.e.b+r.f.b))}for(c=St(e.b,0);c.b!=c.d.c;)r=u(jt(c),40),t=u(C(r,(Mu(),Lh)),15).a,he(r,(Ti(),xa),re((kn(t,i.c.length),u(i.c[t],49)).a)),he(r,Yf,re((kn(t,i.c.length),u(i.c[t],49)).b));n.Ug()}function aRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(e.o=ne(re(C(e.i,(Oe(),Ig)))),e.f=ne(re(C(e.i,ab))),e.j=e.i.b.c.length,l=e.j-1,y=0,e.k=0,e.n=0,e.b=$f(le(jr,Ae,15,e.j,0,1)),e.c=$f(le(gr,Ae,346,e.j,7,1)),o=new P(e.i.b);o.a0&&Ce(e.q,g),Ce(e.p,g);n-=i,S=f+n,h+=n*e.f,ol(e.b,l,ye(S)),ol(e.c,l,h),e.k=k.Math.max(e.k,S),e.n=k.Math.max(e.n,h),e.e+=n,n+=O}}function RVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;if(n.b!=0){for(S=new xi,l=null,A=null,i=lc(k.Math.floor(k.Math.log(n.b)*k.Math.LOG10E)+1),f=0,V=St(n,0);V.b!=V.d.c;)for(B=u(jt(V),40),ue(A)!==ue(C(B,(Ti(),$x)))&&(A=Pt(C(B,$x)),f=0),A!=null?l=A+yLe(f++,i):l=yLe(f++,i),he(B,$x,l),D=(r=St(new A1(B).a.d,0),new Nv(r));nT(D.a);)O=u(jt(D.a),65).c,Ki(S,O,S.c.b,S.c),he(O,$x,l);for(y=new wt,o=0;o0&&(V-=S),vge(o,V),g=0,y=new P(o.a);y.a0),l.a.Xb(l.c=--l.b)),f=.4*i*g,!c&&l.b0&&(f=(Wn(0,n.length),n.charCodeAt(0)),f!=64)){if(f==37&&(p=n.lastIndexOf("%"),h=!1,p!=0&&(p==y-1||(h=(Wn(p+1,n.length),n.charCodeAt(p+1)==46))))){if(o=(Qr(1,p,n.length),n.substr(1,p-1)),V=bn("%",o)?null:Nge(o),i=0,h)try{i=hl((Wn(p+2,n.length+1),n.substr(p+2)),Xr,oi)}catch(te){throw te=sr(te),X(te,131)?(l=te,R(new fB(l))):R(te)}for(D=Khe(e.Dh());D.Ob();)if(A=_B(D),X(A,504)&&(r=u(A,587),U=r.d,(V==null?U==null:bn(V,U))&&i--==0))return r;return null}if(g=n.lastIndexOf("."),S=g==-1?n:(Qr(0,g,n.length),n.substr(0,g)),t=0,g!=-1)try{t=hl((Wn(g+1,n.length+1),n.substr(g+1)),Xr,oi)}catch(te){if(te=sr(te),X(te,131))S=n;else throw R(te)}for(S=bn("%",S)?null:Nge(S),O=Khe(e.Dh());O.Ob();)if(A=_B(O),X(A,197)&&(c=u(A,197),B=c.ve(),(S==null?B==null:bn(S,B))&&t--==0))return c;return null}return EVe(e,n)}function mRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U;for(g=new wt,f=new _w,i=new P(e.a.a.b);i.an.d.c){if(S=e.c[n.a.d],D=e.c[p.a.d],S==D)continue;Hf(Nf(Of(If(Tf(new rf,1),100),S),D))}}}}}function vRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;if(y=u(u(vi(e.r,n),22),83),n==(Ie(),nt)||n==Yn){IVe(e,n);return}for(c=n==Vn?(Fw(),QN):(Fw(),WN),te=n==Vn?(Uo(),Ea):(Uo(),Xf),t=u(zc(e.b,n),127),i=t.i,r=i.c+Zv(F(z(Jr,1),Jc,30,15,[t.n.b,e.C.b,e.k])),B=i.c+i.b-Zv(F(z(Jr,1),Jc,30,15,[t.n.c,e.C.c,e.k])),o=Boe(Qle(c),e.t),U=n==Vn?Ir:Vi,p=y.Jc();p.Ob();)h=u(p.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(D=h.b.Kf(),O=h.e,S=h.c,A=S.i,A.b=(f=S.n,S.e.a+f.b+f.c),A.a=(l=S.n,S.e.b+l.d+l.a),UT(te,twe),S.f=te,wa(S,(ws(),Uf)),A.c=O.a-(A.b-D.a)/2,be=k.Math.min(r,O.a),fe=k.Math.max(B,O.a+D.a),A.cfe&&(A.c=fe-A.b),Ce(o.d,new aV(A,K1e(o,A))),U=n==Vn?k.Math.max(U,O.b+h.b.Kf().b):k.Math.min(U,O.b));for(U+=n==Vn?e.t:-e.t,V=dde((o.e=U,o)),V>0&&(u(zc(e.b,n),127).a.b=V),g=y.Jc();g.Ob();)h=u(g.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(A=h.c.i,A.c-=h.e.a,A.d-=h.e.b)}function yRn(e,n){KW();var t,i,r,c,o,l,f,h,g,p,y,S,A,O;if(f=ao(e,0)<0,f&&(e=Id(e)),ao(e,0)==0)switch(n){case 0:return"0";case 1:return H8;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 S=new j0,n<0?S.a+="0E+":S.a+="0E",S.a+=n==Xr?"2147483648":""+-n,S.a}g=18,p=le(Zl,xh,30,g+1,15,1),t=g,O=e;do h=O,O=GO(O,10),p[--t]=Rt(mc(48,ff(h,hc(O,10))))&yr;while(ao(O,0)!=0);if(r=ff(ff(ff(g,t),n),1),n==0)return f&&(p[--t]=45),vh(p,t,g-t);if(n>0&&ao(r,-6)>=0){if(ao(r,0)>=0){for(c=t+Rt(r),l=g-1;l>=c;l--)p[l+1]=p[l];return p[++c]=46,f&&(p[--t]=45),vh(p,t,g-t+1)}for(o=2;HX(o,mc(Id(r),1));o++)p[--t]=48;return p[--t]=46,p[--t]=48,f&&(p[--t]=45),vh(p,t,g-t)}return A=t+1,i=g,y=new wy,f&&(y.a+="-"),i-A>=1?(Kb(y,p[t]),y.a+=".",y.a+=vh(p,t+1,g-t-1)):y.a+=vh(p,t,g-t),y.a+="E",ao(r,0)>0&&(y.a+="+"),y.a+=""+sE(r),y.a}function BVe(e){b2(e,new Kw(KP(h2(l2(a2(f2(new pd,ql),"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 LM),ql))),Se(e,ql,DF,_e(oln)),Se(e,ql,fm,_e(sln)),Se(e,ql,S3,_e(iln)),Se(e,ql,j4,_e(rln)),Se(e,ql,k4,_e(cln)),Se(e,ql,Q8,_e(tln)),Se(e,ql,MS,_e(Q4e)),Se(e,ql,W8,_e(uln)),Se(e,ql,ene,_e(Dre)),Se(e,ql,Zee,_e(_re)),Se(e,ql,BF,_e(Z4e)),Se(e,ql,nne,_e(Lre)),Se(e,ql,tne,_e(e6e)),Se(e,ql,o2e,_e(n6e)),Se(e,ql,u2e,_e(W4e)),Se(e,ql,t2e,_e(qH)),Se(e,ql,i2e,_e(UH)),Se(e,ql,r2e,_e(TI)),Se(e,ql,c2e,_e(t6e)),Se(e,ql,n2e,_e(Y4e))}function Zw(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;if(D=new Ee(e.g,e.f),O=z0e(e),O.a=k.Math.max(O.a,n),O.b=k.Math.max(O.b,t),fe=O.a/D.a,g=O.b/D.b,te=O.a-D.a,f=O.b-D.b,i)for(o=Fi(e)?u(ke(Fi(e),(Xt(),_g)),86):u(ke(e,(Xt(),_g)),86),l=ue(ke(e,(Xt(),Wx)))===ue((Br(),to)),U=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));U.e!=U.i.gc();)switch(B=u(ft(U),125),V=u(ke(B,c5),64),V==(Ie(),ju)&&(V=sge(B,o),Ei(B,c5,V)),V.g){case 1:l||Os(B,B.i*fe);break;case 2:Os(B,B.i+te),l||Ns(B,B.j*g);break;case 3:l||Os(B,B.i*fe),Ns(B,B.j+f);break;case 4:l||Ns(B,B.j*g)}if(jw(e,O.a,O.b),r)for(y=new st((!e.n&&(e.n=new pe(Eu,e,1,7)),e.n));y.e!=y.i.gc();)p=u(ft(y),157),S=p.i+p.g/2,A=p.j+p.f/2,be=S/D.a,h=A/D.b,be+h>=1&&(be-h>0&&A>=0?(Os(p,p.i+te),Ns(p,p.j+f*h)):be-h<0&&S>=0&&(Os(p,p.i+te*be),Ns(p,p.j+f)));return Ei(e,(Xt(),Lg),(Vs(),c=u(fa(uA),10),new Ll(c,u(_f(c,c.length),10),0))),new Ee(fe,g)}function nF(e){var n,t,i,r,c,o,l,f,h,g,p;if(e==null)throw R(new hh(Vo));if(h=e,c=e.length,f=!1,c>0&&(n=(Wn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Wn(1,e.length+1),e.substr(1)),--c,f=n==45)),c==0)throw R(new hh(tp+h+'"'));for(;e.length>0&&(Wn(0,e.length),e.charCodeAt(0)==48);)e=(Wn(1,e.length+1),e.substr(1)),--c;if(c>(mKe(),snn)[10])throw R(new hh(tp+h+'"'));for(r=0;r0&&(p=-parseInt((Qr(0,i,e.length),e.substr(0,i)),10),e=(Wn(i,e.length+1),e.substr(i)),c-=i,t=!1);c>=o;){if(i=parseInt((Qr(0,o,e.length),e.substr(0,o)),10),e=(Wn(o,e.length+1),e.substr(o)),c-=o,t)t=!1;else{if(ao(p,l)<0)throw R(new hh(tp+h+'"'));p=hc(p,g)}p=ff(p,i)}if(ao(p,0)>0)throw R(new hh(tp+h+'"'));if(!f&&(p=Id(p),ao(p,0)<0))throw R(new hh(tp+h+'"'));return p}function Nge(e){eZ();var n,t,i,r,c,o,l,f;if(e==null)return null;if(r=dh(e,Xo(37)),r<0)return e;for(f=new il((Qr(0,r,e.length),e.substr(0,r))),n=le(ds,T3,30,4,15,1),l=0,i=0,o=e.length;rr+2&&ZY((Wn(r+1,e.length),e.charCodeAt(r+1)),U8e,X8e)&&ZY((Wn(r+2,e.length),e.charCodeAt(r+2)),U8e,X8e))if(t=qvn((Wn(r+1,e.length),e.charCodeAt(r+1)),(Wn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[l++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[l++]=t<<24>>24,i=2):(t&240)==224?(n[l++]=t<<24>>24,i=3):(t&248)==240&&(n[l++]=t<<24>>24,i=4)),i>0){if(l==i){switch(l){case 2:{Kb(f,((n[0]&31)<<6|n[1]&63)&yr);break}case 3:{Kb(f,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&yr);break}}l=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i==0)t=(S0(),r=new yo,r),Et((!e.a&&(e.a=new pe($i,e,6,6)),e.a),t);else if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i>1)for(y=new Ay((!e.a&&(e.a=new pe($i,e,6,6)),e.a));y.e!=y.i.gc();)WE(y);fge(n,u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170))}if(p)for(i=new st((!e.a&&(e.a=new pe($i,e,6,6)),e.a));i.e!=i.i.gc();)for(t=u(ft(i),170),h=new st((!t.a&&(t.a=new mr(kl,t,5)),t.a));h.e!=h.i.gc();)f=u(ft(h),372),l.a=k.Math.max(l.a,f.a),l.b=k.Math.max(l.b,f.b);for(o=new st((!e.n&&(e.n=new pe(Eu,e,1,7)),e.n));o.e!=o.i.gc();)c=u(ft(o),157),g=u(ke(c,eA),8),g&&Dl(c,g.a,g.b),p&&(l.a=k.Math.max(l.a,c.i+c.g),l.b=k.Math.max(l.b,c.j+c.f));return l}function FVe(e,n,t,i,r){var c,o,l;if(DRe(e,n),o=n[0],c=rc(t.c,0),l=-1,S1e(t))if(i>0){if(o+i>e.length)return!1;l=Oz((Qr(0,o+i,e.length),e.substr(0,o+i)),n)}else l=Oz(e,n);switch(c){case 71:return l=b3(e,o,F(z(Je,1),Ae,2,6,[xYe,AYe]),n),r.e=l,!0;case 77:return zIn(e,n,r,l,o);case 76:return FIn(e,n,r,l,o);case 69:return HCn(e,n,o,r);case 99:return GCn(e,n,o,r);case 97:return l=b3(e,o,F(z(Je,1),Ae,2,6,["AM","PM"]),n),r.b=l,!0;case 121:return JIn(e,n,o,l,t,r);case 100:return l<=0?!1:(r.c=l,!0);case 83:return l<0?!1:kEn(l,o,n[0],r);case 104:l==12&&(l=0);case 75:case 72:return l<0?!1:(r.f=l,r.g=!1,!0);case 107:return l<0?!1:(r.f=l,r.g=!0,!0);case 109:return l<0?!1:(r.j=l,!0);case 115:return l<0?!1:(r.n=l,!0);case 90:if(oun[f]&&(D=f),p=new P(e.a.b);p.a=l){at(U.b>0),U.a.Xb(U.c=--U.b);break}else D.a>f&&(i?(Sr(i.b,D.b),i.a=k.Math.max(i.a,D.a),As(U)):(Ce(D.b,g),D.c=k.Math.min(D.c,f),D.a=k.Math.max(D.a,l),i=D));i||(i=new mxe,i.c=f,i.a=l,E2(U,i),Ce(i.b,g))}for(o=e.b,h=0,B=new P(t);B.a1;){if(r=DNn(n),p=c.g,A=u(ke(n,Hx),104),O=ne(re(ke(n,YH))),(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i>1&&ne(re(ke(n,(Zh(),Gre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))1&&ne(re(ke(n,(Zh(),Hre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))>O&&Ei(r,(Zh(),$m),k.Math.max(ne(re(ke(n,Jx))),ne(re(ke(r,$m)))-ne(re(ke(n,Hre))))),S=new Ise(i,g),f=rYe(S,r,y),h=f.g,h>=p&&h==h){for(o=0;o<(!r.a&&(r.a=new pe(Ft,r,10,11)),r.a).i;o++)Nqe(e,u(K((!r.a&&(r.a=new pe(Ft,r,10,11)),r.a),o),26),u(K((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a),o),26));rBe(n,S),Ayn(c,f.c),xyn(c,f.b)}--l}Ei(n,(Zh(),F7),c.b),Ei(n,q4,c.c),t.Ug()}function xRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn;for(n.Tg("Compound graph postprocessor",1),t=ze(Be(C(e,(Oe(),Hie)))),l=u(C(e,(ve(),X3e)),229),g=new ar,B=l.ec().Jc();B.Ob();){for(D=u(B.Pb(),17),o=new bs(l.cc(D)),En(),Tr(o,new ioe(e)),be=S7n((kn(0,o.c.length),u(o.c[0],250))),De=ZBe(u(Le(o,o.c.length-1),250)),V=be.i,e8(De.i,V)?U=V.e:U=_r(V),p=aSn(D,o),qs(D.a),y=null,c=new P(o);c.aMh,cn=k.Math.abs(y.b-A.b)>Mh,(!t&&un&&cn||t&&(un||cn))&&Vt(D.a,te)),ac(D.a,i),i.b==0?y=te:y=(at(i.b!=0),u(i.c.b.c,8)),nkn(S,p,O),ZBe(r)==De&&(_r(De.i)!=r.a&&(O=new Vr,$0e(O,_r(De.i),U)),he(D,Eie,O)),oCn(S,D,U),g.a.yc(S,g);fc(D,be),Gr(D,De)}for(h=g.a.ec().Jc();h.Ob();)f=u(h.Pb(),17),fc(f,null),Gr(f,null);n.Ug()}function ARn(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(r=u(C(e,(Mu(),Sp)),86),g=r==(vr(),Zc)||r==ru?th:ru,t=u(gs(li(new pn(null,new yn(e.b,16)),new jv),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),f=u(gs(So(t.Mc(),new JEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),f.Fc(u(gs(So(t.Mc(),new HEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),18)),f.gd(new GEe(g)),y=new Ed(new qEe(r)),i=new wt,l=f.Jc();l.Ob();)o=u(l.Pb(),240),h=u(o.a,40),ze(Be(o.c))?(y.a.yc(h,($n(),cb))==null,new f9(y.a.Xc(h,!1)).a.gc()>0&&ei(i,h,u(new f9(y.a.Xc(h,!1)).a.Tc(),40)),new f9(y.a.$c(h,!0)).a.gc()>1&&ei(i,sJe(y,h),h)):(new f9(y.a.Xc(h,!1)).a.gc()>0&&(c=u(new f9(y.a.Xc(h,!1)).a.Tc(),40),ue(c)===ue(bu(Xc(i.f,h)))&&u(C(h,(Ti(),bre)),16).Ec(c)),new f9(y.a.$c(h,!0)).a.gc()>1&&(p=sJe(y,h),ue(bu(Xc(i.f,p)))===ue(h)&&u(C(p,(Ti(),bre)),16).Ec(h)),y.a.Ac(h)!=null)}function JVe(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new eB;for(r=e.Jc();r.Ob();){for(t=u(r.Pb(),235),A=0,g=oi,p=oi,f=Xr,h=Xr,S=new P(t.e);S.al&&(V=0,te+=o+B,o=0),e_n(O,t,V,te),n=k.Math.max(n,V+D.a),o=k.Math.max(o,D.b),V+=D.a+B;return O}function MRn(e){oge();var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(e==null||(c=aB(e),A=jjn(c),A%4!=0))return null;if(O=A/4|0,O==0)return le(ds,T3,30,0,15,1);for(p=null,n=0,t=0,i=0,r=0,o=0,l=0,f=0,h=0,S=0,y=0,g=0,p=le(ds,T3,30,O*3,15,1);S>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24}return!rT(o=c[g++])||!rT(l=c[g++])?null:(n=oh[o],t=oh[l],f=c[g++],h=c[g++],oh[f]==-1||oh[h]==-1?f==61&&h==61?(t&15)!=0?null:(D=le(ds,T3,30,S*3+1,15,1),Wu(p,0,D,0,S*3),D[y]=(n<<2|t>>4)<<24>>24,D):f!=61&&h==61?(i=oh[f],(i&3)!=0?null:(D=le(ds,T3,30,S*3+2,15,1),Wu(p,0,D,0,S*3),D[y++]=(n<<2|t>>4)<<24>>24,D[y]=((t&15)<<4|i>>2&15)<<24>>24,D)):null:(i=oh[f],r=oh[h],p[y++]=(n<<2|t>>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24,p))}function CRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be;for(n.Tg(NQe,1),A=u(C(e,(Oe(),W1)),222),r=new P(e.b);r.a=2){for(O=!0,y=new P(c.j),t=u(L(y),12),S=null;y.a0)if(i=p.gc(),h=lc(k.Math.floor((i+1)/2))-1,r=lc(k.Math.ceil((i+1)/2))-1,n.o==Za)for(g=r;g>=h;g--)n.a[te.p]==te&&(O=u(p.Xb(g),49),A=u(O.a,9),!cf(t,O.b)&&S>e.b.e[A.p]&&(n.a[A.p]=te,n.g[te.p]=n.g[A.p],n.a[te.p]=n.g[te.p],n.f[n.g[te.p].p]=($n(),!!(ze(n.f[n.g[te.p].p])&te.k==(Fn(),dr))),S=e.b.e[A.p]));else for(g=h;g<=r;g++)n.a[te.p]==te&&(B=u(p.Xb(g),49),D=u(B.a,9),!cf(t,B.b)&&S0&&(r=u(Le(D.c.a,fe-1),9),o=e.i[r.p],un=k.Math.ceil(Hv(e.n,r,D)),c=be.a.e-D.d.d-(o.a.e+r.o.b+r.d.a)-un),h=Vi,fe0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)<0,A=V.a.e.e-V.a.a-(V.b.e.e-V.b.a)<0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)>0,S=V.a.e.e+V.b.aDe.b.e.e+De.a.a,te=0,!O&&!A&&(y?c+p>0?te=p:h-i>0&&(te=i):S&&(c+l>0?te=l:h-U>0&&(te=U))),be.a.e+=te,be.b&&(be.d.e+=te),!1))}function GVe(e,n,t){var i,r,c,o,l,f,h,g,p,y;if(i=new Lf(n.Jf().a,n.Jf().b,n.Kf().a,n.Kf().b),r=new Sy,e.c)for(o=new P(n.Pf());o.a0&&Or(S,(kn(t,n.c.length),u(n.c[t],25))),c=0,y=!0,B=Ks(Wb(cr(S))),f=B.Jc();f.Ob();){for(l=u(f.Pb(),17),y=!1,p=l,h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):q0(r,i+c,(kn(h,n.c.length),u(n.c[h],25))),p=OW(p,r);t>0&&(c+=1)}if(y){for(h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):q0(r,i+c,(kn(h,n.c.length),u(n.c[h],25)));t>0&&(c+=1)}for(o=!1,O=new Xn(Qn(Ii(S).a.Jc(),new ee));ht(O);){for(A=u(rt(O),17),p=A,g=t+1;g(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(D,(kn(h,n.c.length),u(n.c[h],25))):q0(D,i+1,(kn(h,n.c.length),u(n.c[h],25))));o&&(c+=1),o=!0}return c>0?c-1:0}function Y0(e,n){ai();var t,i,r,c,o,l,f,h,g,p,y,S,A;if(Tj(Z7)==0){for(p=le(ozn,Ae,121,Thn.length,0,1),o=0;oh&&(i.a+=YTe(le(Zl,xh,30,-h,15,1))),i.a+="Is",dh(f,Xo(32))>=0)for(r=0;r=i.o.b/2}else U=!p;U?(B=u(C(i,(ve(),F4)),16),B?y?c=B:(r=u(C(i,_4),16),r?B.gc()<=r.gc()?c=B:c=r:(c=new Te,he(i,_4,c))):(c=new Te,he(i,F4,c))):(r=u(C(i,(ve(),_4)),16),r?p?c=r:(B=u(C(i,F4),16),B?r.gc()<=B.gc()?c=r:c=B:(c=new Te,he(i,F4,c))):(c=new Te,he(i,_4,c))),c.Ec(e),he(e,(ve(),rH),t),n.d==t?(Gr(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null),Ckn(t)):(fc(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null)),qs(n.a)}function DRn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(t.Tg("MinWidth layering",1),S=n.b,De=n.a,Ui=u(C(n,(Oe(),iye)),15).a,l=u(C(n,rye),15).a,e.b=ne(re(C(n,Vf))),e.d=Vi,te=new P(De);te.aS&&(c&&(gc(fe,y),gc(un,ye(h.b-1))),Qt=t.b,Ui+=y+n,y=0,g=k.Math.max(g,t.b+t.c+lt)),Os(l,Qt),Ns(l,Ui),g=k.Math.max(g,Qt+lt+t.c),y=k.Math.max(y,p),Qt+=lt+n;if(g=k.Math.max(g,i),Dn=Ui+y+t.a,Dn0?(h=0,D&&(h+=l),h+=(cn-1)*o,V&&(h+=l),un&&V&&(h=k.Math.max(h,ZNn(V,o,U,De))),h=e.a&&(i=gLn(e,U),g=k.Math.max(g,i.b),te=k.Math.max(te,i.d),Ce(l,new jc(U,i)));for(un=new Te,h=0;h0),D.a.Xb(D.c=--D.b),cn=new Xu(e.b),E2(D,cn),at(D.b0){for(y=g<100?null:new E0(g),h=new r1e(n),A=h.g,B=le($t,ni,30,g,15,1),i=0,te=new $w(g),r=0;r=0;)if(S!=null?gi(S,A[f]):ue(S)===ue(A[f])){B.length<=i&&(D=B,B=le($t,ni,30,2*B.length,15,1),Wu(D,0,B,0,i)),B[i++]=r,Et(te,A[f]);break e}if(S=S,ue(S)===ue(l))break}}if(h=te,A=te.g,g=i,i>B.length&&(D=B,B=le($t,ni,30,i,15,1),Wu(D,0,B,0,i)),i>0){for(V=!0,c=0;c=0;)r4(e,B[o]);if(i!=g){for(r=g;--r>=i;)r4(h,r);D=B,B=le($t,ni,30,i,15,1),Wu(D,0,B,0,i)}n=h}}}else for(n=pxn(e,n),r=e.i;--r>=0;)n.Gc(e.g[r])&&(r4(e,r),V=!0);if(V){if(B!=null){for(t=n.gc(),p=t==1?pE(e,4,n.Jc().Pb(),null,B[0],O):pE(e,6,n,B,B[0],O),y=t<100?null:new E0(t),r=n.Jc();r.Ob();)S=r.Pb(),y=Xle(e,u(S,75),y);y?(y.lj(p),y.mj()):hi(e.e,p)}else{for(y=A2n(n.gc()),r=n.Jc();r.Ob();)S=r.Pb(),y=Xle(e,u(S,75),y);y&&y.mj()}return!0}else return!1}function RRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V;for(t=new ZJe(n),t.a||a_n(n),h=lDn(n),f=new _w,D=new fXe,O=new P(n.a);O.a0||t.o==Za&&r=t}function zRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(V=e.a,te=0,be=V.length;te0?(p=u(Le(y.c.a,o-1),9),un=Hv(e.b,y,p),D=y.n.b-y.d.d-(p.n.b+p.o.b+p.d.a+un)):D=y.n.b-y.d.d,h=k.Math.min(D,h),o1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,1),8).b-g.b)))));else for(O=new P(n.j);O.ar&&(c=y.a-r,o=oi,i.c.length=0,r=y.a),y.a>=r&&(qn(i.c,l),l.a.b>1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,l.a.b-2),8).b-y.b)))));if(i.c.length!=0&&c>n.o.a/2&&o>n.o.b/2){for(S=new Qu,wu(S,n),Ar(S,(Ie(),Vn)),S.n.a=n.o.a/2,B=new Qu,wu(B,n),Ar(B,bt),B.n.a=n.o.a/2,B.n.b=n.o.b,f=new P(i);f.a=h.b?fc(l,B):fc(l,S)):(h=u(_vn(l.a),8),D=l.a.b==0?$a(l.c):u(Df(l.a),8),D.b>=h.b?Gr(l,B):Gr(l,S)),p=u(C(l,(Oe(),Wc)),78),p&&U2(p,h,!0);n.n.a=r-n.o.a/2}}function HRn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(l=St(e.b,0);l.b!=l.d.c;)if(o=u(jt(l),40),!bn(o.c,PF))for(h=pOn(o,e),n==(vr(),Zc)||n==ru?Tr(h,new A_):Tr(h,new iU),f=h.c.length,i=0;i=0?S=e4(l):S=_O(e4(l)),e.of(D7,S)),h=new Vr,y=!1,e.nf(jp)?(mle(h,u(e.mf(jp),8)),y=!0):cpn(h,o.a/2,o.b/2),S.g){case 4:he(g,ku,(Xs(),Q1)),he(g,uH,(cg(),R3)),g.o.b=o.b,O<0&&(g.o.a=-O),Ar(p,(Ie(),nt)),y||(h.a=o.a),h.a-=o.a;break;case 2:he(g,ku,(Xs(),Mg)),he(g,uH,(cg(),A7)),g.o.b=o.b,O<0&&(g.o.a=-O),Ar(p,(Ie(),Yn)),y||(h.a=0);break;case 1:he(g,xg,(P1(),z3)),g.o.a=o.a,O<0&&(g.o.b=-O),Ar(p,(Ie(),bt)),y||(h.b=o.b),h.b-=o.b;break;case 3:he(g,xg,(P1(),D4)),g.o.a=o.a,O<0&&(g.o.b=-O),Ar(p,(Ie(),Vn)),y||(h.b=0)}if(mle(p.n,h),he(g,jp,h),n==Pg||n==d1||n==to){if(A=0,n==Pg&&e.nf(Vd))switch(S.g){case 1:case 2:A=u(e.mf(Vd),15).a;break;case 3:case 4:A=-u(e.mf(Vd),15).a}else switch(S.g){case 4:case 2:A=c.b,n==d1&&(A/=r.b);break;case 1:case 3:A=c.a,n==d1&&(A/=r.a)}he(g,mp,A)}return he(g,Iu,S),g}function GRn(){Joe();function e(i){var r=this;this.dispatch=function(c){var o=c.data;switch(o.cmd){case"algorithms":var l=hde((En(),new Hr(new ot(Rg.b))));i.postMessage({id:o.id,data:l});break;case"categories":var f=hde((En(),new Hr(new ot(Rg.c))));i.postMessage({id:o.id,data:f});break;case"options":var h=hde((En(),new Hr(new ot(Rg.d))));i.postMessage({id:o.id,data:h});break;case"register":pPn(o.algorithms),i.postMessage({id:o.id});break;case"layout":fPn(o.graph,o.layoutOptions||{},o.options||{}),i.postMessage({id:o.id,data:o.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(o){i.postMessage({id:c.data.id,error:o})}}}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===qZ&&typeof self!==qZ){var t=new e(self);self.onmessage=t.saveDispatch}else typeof M!==qZ&&M.exports&&(Object.defineProperty(N,"__esModule",{value:!0}),M.exports={default:n,Worker:n})}function oZ(e,n,t,i,r,c,o){var l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(O=0,On=0,h=new P(e.b);h.aO&&(c&&(gc(fe,S),gc(un,ye(g.b-1)),Ce(e.d,A),l.c.length=0),Qt=t.b,Ui+=S+n,S=0,p=k.Math.max(p,t.b+t.c+lt)),qn(l.c,f),XJe(f,Qt,Ui),p=k.Math.max(p,Qt+lt+t.c),S=k.Math.max(S,y),Qt+=lt+n,A=f;if(Sr(e.a,l),Ce(e.d,u(Le(l,l.c.length-1),167)),p=k.Math.max(p,i),Dn=Ui+S+t.a,Dnr.d.d+r.d.a?g.f.d=!0:(g.f.d=!0,g.f.a=!0))),i.b!=i.d.c&&(n=t);g&&(c=u(zn(e.f,o.d.i),60),n.bc.d.d+c.d.a?g.f.d=!0:(g.f.d=!0,g.f.a=!0))}for(l=new Xn(Qn(cr(S).a.Jc(),new ee));ht(l);)o=u(rt(l),17),o.a.b!=0&&(n=u(Df(o.a),8),o.d.j==(Ie(),Vn)&&(D=new hS(n,new Ee(n.a,r.d.d),r,o),D.f.a=!0,D.a=o.d,qn(O.c,D)),o.d.j==bt&&(D=new hS(n,new Ee(n.a,r.d.d+r.d.a),r,o),D.f.d=!0,D.a=o.d,qn(O.c,D)))}return O}function YRn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(f=new Te,p=n.length,o=g1e(t),h=0;h=A&&(U>A&&(S.c.length=0,A=U),qn(S.c,o));S.c.length!=0&&(y=u(Le(S,hz(n,S.c.length)),132),Dn.a.Ac(y)!=null,y.s=O++,ybe(y,cn,fe),S.c.length=0)}for(te=e.c.length+1,l=new P(e);l.aOn.s&&(As(t),qo(On.i,i),i.c>0&&(i.a=On,Ce(On.t,i),i.b=De,Ce(De.i,i)))}function YVe(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn;for(O=new xo(n.b),te=new xo(n.b),y=new xo(n.b),un=new xo(n.b),D=new xo(n.b),De=St(n,0);De.b!=De.d.c;)for(be=u(jt(De),12),l=new P(be.g);l.a0,B=be.g.c.length>0,h&&B?qn(y.c,be):h?qn(O.c,be):B&&qn(te.c,be);for(A=new P(O);A.aU.mh()-h.b&&(y=U.mh()-h.b),S>U.nh()-h.d&&(S=U.nh()-h.d),g0){for(V=St(e.f,0);V.b!=V.d.c;)U=u(jt(V),9),U.p+=y-e.e;P0e(e),qs(e.f),Lbe(e,i,S)}else{for(Vt(e.f,S),S.p=i,e.e=k.Math.max(e.e,i),c=new Xn(Qn(cr(S).a.Jc(),new ee));ht(c);)r=u(rt(c),17),!r.c.i.c&&r.c.i.k==(Fn(),Uu)&&(Vt(e.f,r.c.i),r.c.i.p=i-1);e.c=i}else P0e(e),qs(e.f),i=0,ht(new Xn(Qn(cr(S).a.Jc(),new ee)))?(y=0,y=QJe(y,S),i=y+2,Lbe(e,i,S)):(Vt(e.f,S),S.p=0,e.e=k.Math.max(e.e,0),e.b=u(Le(e.d.b,0),25),e.c=0);for(e.f.b==0||P0e(e),e.d.a.c.length=0,B=new Te,h=new P(e.d.b);h.a=48&&n<=57){for(i=n-48;r=48&&n<=57;)if(i=i*10+n-48,i<0)throw R(new Bt(Ht((Lt(),nme))))}else throw R(new Bt(Ht((Lt(),BZe))));if(t=i,n==44){if(r>=e.j)throw R(new Bt(Ht((Lt(),FZe))));if((n=rc(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;)if(t=t*10+n-48,t<0)throw R(new Bt(Ht((Lt(),nme))));if(i>t)throw R(new Bt(Ht((Lt(),JZe))))}else t=-1}if(n!=125)throw R(new Bt(Ht((Lt(),zZe))));e._l(r)?(c=(ai(),ai(),new P2(9,c)),e.d=r+1):(c=(ai(),ai(),new P2(3,c)),e.d=r),c.Mm(i),c.Lm(t),fi(e)}}return c}function tBn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be;for(r=1,S=new Te,i=0;i=u(Le(e.b,i),25).a.c.length/4)continue}if(u(Le(e.b,i),25).a.c.length>n){for(te=new Te,Ce(te,u(Le(e.b,i),25)),o=0;o1)for(A=new Ay((!e.a&&(e.a=new pe($i,e,6,6)),e.a));A.e!=A.i.gc();)WE(A);for(o=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),D=Qt,Qt>be+te?D=be+te:Qtfe+O?B=fe+O:Uibe-te&&Dfe-O&&BQt+lt?un=Qt+lt:beUi+De?cn=Ui+De:feQt-lt&&unUi-De&&cnt&&(y=t-1),S=o0+Ds(n,24)*SN*p-p/2,S<0?S=1:S>i&&(S=i-1),r=(S0(),f=new qk,f),mB(r,y),vB(r,S),Et((!o.a&&(o.a=new mr(kl,o,5)),o.a),r)}function fZ(e,n){KW();var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De;if(V=e.e,g=e.d,r=e.a,V==0)switch(n){case 0:return"0";case 1:return H8;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 B=new j0,B.a+="0E",B.a+=-n,B.a}if(O=g*10+1+7,D=le(Zl,xh,30,O+1,15,1),t=O,g==1)if(c=r[0],c<0){De=Rr(c,Dc);do p=De,De=GO(De,10),D[--t]=48+Rt(ff(p,hc(De,10)))&yr;while(ao(De,0)!=0)}else{De=c;do p=De,De=De/10|0,D[--t]=48+(p-De*10)&yr;while(De!=0)}else{te=le($t,ni,30,g,15,1),fe=g,Wu(r,0,te,0,fe);e:for(;;){for(U=0,l=fe-1;l>=0;l--)be=mc(Xh(U,32),Rr(te[l],Dc)),S=sMn(be),te[l]=Rt(S),U=Rt(Mw(S,32));A=Rt(U),y=t;do D[--t]=48+A%10&yr;while((A=A/10|0)!=0&&t!=0);for(i=9-y+t,o=0;o0;o++)D[--t]=48;for(f=fe-1;te[f]==0;f--)if(f==0)break e;fe=f+1}for(;D[t]==48;)++t}return h=V<0,h&&(D[--t]=45),vh(D,t,O-t)}function eYe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;switch(e.c=n,e.g=new wt,t=(Fb(),new k0(e.c)),i=new IP(t),lde(i),V=Pt(ke(e.c,(UO(),X6e))),f=u(ke(e.c,cce),330),be=u(ke(e.c,uce),427),o=u(ke(e.c,G6e),477),te=u(ke(e.c,rce),428),e.j=ne(re(ke(e.c,Qln))),l=e.a,f.g){case 0:l=e.a;break;case 1:l=e.b;break;case 2:l=e.i;break;case 3:l=e.e;break;case 4:l=e.f;break;default:throw R(new Un(FF+(f.f!=null?f.f:""+f.g)))}if(e.d=new $_e(l,be,o),he(e.d,(t8(),nx),Be(ke(e.c,Vln))),e.d.c=ze(Be(ke(e.c,q6e))),IR(e.c).i==0)return e.d;for(p=new st(IR(e.c));p.e!=p.i.gc();){for(g=u(ft(p),26),S=g.g/2,y=g.f/2,fe=new Ee(g.i+S,g.j+y);so(e.g,fe);)k2(fe,(k.Math.random()-.5)*Mh,(k.Math.random()-.5)*Mh);O=u(ke(g,(Xt(),H7)),140),D=new Z_e(fe,new Lf(fe.a-S-e.j/2-O.b,fe.b-y-e.j/2-O.d,g.g+e.j+(O.b+O.c),g.f+e.j+(O.d+O.a))),Ce(e.d.i,D),ei(e.g,fe,new jc(D,g))}switch(te.g){case 0:if(V==null)e.d.d=u(Le(e.d.i,0),68);else for(U=new P(e.d.i);U.a0?lt+1:1);for(o=new P(fe.g);o.a0?lt+1:1)}e.d[h]==0?Vt(e.f,O):e.a[h]==0&&Vt(e.g,O),++h}for(A=-1,S=1,p=new Te,e.e=u(C(n,(ve(),B4)),234);jl>0;){for(;e.f.b!=0;)Ui=u(nV(e.f),9),e.c[Ui.p]=A--,Wbe(e,Ui),--jl;for(;e.g.b!=0;)Es=u(nV(e.g),9),e.c[Es.p]=S++,Wbe(e,Es),--jl;if(jl>0){for(y=Xr,U=new P(V);U.a=y&&(te>y&&(p.c.length=0,y=te),qn(p.c,O)));g=e.qg(p),e.c[g.p]=S++,Wbe(e,g),--jl}}for(Qt=V.c.length+1,h=0;he.c[eu]&&(Fd(i,!0),he(n,L4,($n(),!0)));e.a=null,e.d=null,e.c=null,qs(e.g),qs(e.f),t.Ug()}function tYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;for(be=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),g=new xs,te=new wt,fe=gKe(be),Ko(te.f,be,fe),y=new wt,i=new xi,A=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!n.d&&(n.d=new In(pr,n,8,5)),n.d),(!n.e&&(n.e=new In(pr,n,7,4)),n.e)])));ht(A);){if(S=u(rt(A),85),(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i!=1)throw R(new Un(XWe+(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i));S!=e&&(D=u(K((!S.a&&(S.a=new pe($i,S,6,6)),S.a),0),170),Ki(i,D,i.c.b,i.c),O=u(bu(Xc(te.f,D)),13),O||(O=gKe(D),Ko(te.f,D,O)),p=t?Nr(new wc(u(Le(fe,fe.c.length-1),8)),u(Le(O,O.c.length-1),8)):Nr(new wc((kn(0,fe.c.length),u(fe.c[0],8))),(kn(0,O.c.length),u(O.c[0],8))),Ko(y.f,D,p))}if(i.b!=0)for(B=u(Le(fe,t?fe.c.length-1:0),8),h=1;h1&&Ki(g,B,g.c.b,g.c),OY(r)));B=U}return g}function iYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(t.Tg(rWe,1),On=u(gs(li(new pn(null,new yn(n,16)),new C_),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),g=u(gs(li(new pn(null,new yn(n,16)),new XEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),A=u(gs(li(new pn(null,new yn(n,16)),new UEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),O=le(RH,$F,40,n.gc(),0,1),o=0;o=0&&cn=0&&!O[S]){O[S]=r,g.ed(l),--l;break}if(S=cn-y,S=0&&!O[S]){O[S]=r,g.ed(l),--l;break}}for(A.gd(new DM),f=O.length-1;f>=0;f--)!O[f]&&!A.dc()&&(O[f]=u(A.Xb(0),40),A.ed(0));for(h=0;hy&&JO((kn(y,n.c.length),u(n.c[y],186)),g),g=null;n.c.length>y&&(kn(y,n.c.length),u(n.c[y],186)).a.c.length==0;)qo(n,(kn(y,n.c.length),n.c[y]));if(!g){--o;continue}if(!ze(Be(u(Le(g.b,0),26).mf((qa(),NI))))&&S_n(n,A,c,g,D,t,y,i)){O=!0;continue}if(D){if(S=A.b,p=g.f,!ze(Be(u(Le(g.b,0),26).mf(NI)))&&qPn(n,A,c,g,t,y,i,r)){if(O=!0,S=e.j){e.a=-1,e.c=1;return}if(n=rc(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j)throw R(new Bt(Ht((Lt(),VF))));e.a=rc(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||rc(e.i,e.d)!=63)break;if(++e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));switch(n=rc(e.i,e.d++),n){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(e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));if(n=rc(e.i,e.d++),n==61)i=16;else if(n==33)i=17;else throw R(new Bt(Ht((Lt(),kZe))));break;case 35:for(;e.d=e.j)throw R(new Bt(Ht((Lt(),VF))));e.a=rc(e.i,e.d++);break;default:i=0}e.c=i}function hBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D;if(t.Tg("Process compaction",1),!!ze(Be(C(n,(Mu(),A4e))))){for(r=u(C(n,Sp),86),S=ne(re(C(n,jre))),$Ln(e,n,r),ARn(n,S/2/2),A=n.b,tg(A,new BEe(r)),h=St(A,0);h.b!=h.d.c;)if(f=u(jt(h),40),!ze(Be(C(f,(Ti(),gb))))){if(i=fDn(f,r),O=cLn(f,n),p=0,y=0,i)switch(D=i.e,r.g){case 2:p=D.a-S-f.f.a,O.e.a-S-f.f.ap&&(p=O.e.a+O.f.a+S),y=p+f.f.a;break;case 4:p=D.b-S-f.f.b,O.e.b-S-f.f.bp&&(p=O.e.b+O.f.b+S),y=p+f.f.b}else if(O)switch(r.g){case 2:p=O.e.a-S-f.f.a,y=p+f.f.a;break;case 1:p=O.e.a+O.f.a+S,y=p+f.f.a;break;case 4:p=O.e.b-S-f.f.b,y=p+f.f.b;break;case 3:p=O.e.b+O.f.b+S,y=p+f.f.b}ue(C(n,kre))===ue((LE(),xI))?(c=p,o=y,l=z1(li(new pn(null,new yn(e.a,16)),new kCe(c,o))),l.a!=null?r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p:(r==(vr(),Zc)||r==Yl?l=z1(li(oBe(new pn(null,new yn(e.a,16))),new zEe(c))):l=z1(li(oBe(new pn(null,new yn(e.a,16))),new FEe(c))),l.a!=null&&(r==Zc||r==ru?f.e.a=ne(re((at(l.a!=null),u(l.a,49)).a)):f.e.b=ne(re((at(l.a!=null),u(l.a,49)).a)))),l.a!=null&&(g=pu(e.a,(at(l.a!=null),l.a),0),g>0&&g!=u(C(f,Lh),15).a&&(he(f,m4e,($n(),!0)),he(f,Lh,ye(g))))):r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p}t.Ug()}}function dBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be;if(t.Tg("Coffman-Graham Layering",1),n.a.c.length==0){t.Ug();return}for(be=u(C(n,(Oe(),tye)),15).a,f=0,o=0,y=new P(n.a);y.a=be||!CEn(B,i))&&(i=GDe(n,g)),Or(B,i),c=new Xn(Qn(cr(B).a.Jc(),new ee));ht(c);)r=u(rt(c),17),!e.a[r.p]&&(O=r.c.i,--e.e[O.p],e.e[O.p]==0&&Iy(S8(S,O),G8));for(h=g.c.length-1;h>=0;--h)Ce(n.b,(kn(h,g.c.length),u(g.c[h],25)));n.a.c.length=0,t.Ug()}function cYe(e){var n,t,i,r,c,o,l,f,h;for(e.b=1,fi(e),n=null,e.c==0&&e.a==94?(fi(e),n=(ai(),ai(),new ul(4)),ho(n,0,b7),l=new ul(4)):l=(ai(),ai(),new ul(4)),r=!0;(h=e.c)!=1;){if(h==0&&e.a==93&&!r){n&&(pS(n,l),l=n);break}if(t=e.a,i=!1,h==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:cm(l,D8(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(cm(l,D8(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(f=Z0e(e,t),!f)throw R(new Bt(Ht((Lt(),Ine))));cm(l,f),i=!0;break;default:t=$be(e)}else if(h==24&&!r){if(n&&(pS(n,l),l=n),c=cYe(e),pS(l,c),e.c!=0||e.a!=93)throw R(new Bt(Ht((Lt(),NZe))));break}if(fi(e),!i){if(h==0){if(t==91)throw R(new Bt(Ht((Lt(),Z2e))));if(t==93)throw R(new Bt(Ht((Lt(),eme))));if(t==45&&!r&&e.a!=93)throw R(new Bt(Ht((Lt(),Dne))))}if(e.c!=0||e.a!=45||t==45&&r)ho(l,t,t);else{if(fi(e),(h=e.c)==1)throw R(new Bt(Ht((Lt(),YF))));if(h==0&&e.a==93)ho(l,t,t),ho(l,45,45);else{if(h==0&&e.a==93||h==24)throw R(new Bt(Ht((Lt(),Dne))));if(o=e.a,h==0){if(o==91)throw R(new Bt(Ht((Lt(),Z2e))));if(o==93)throw R(new Bt(Ht((Lt(),eme))));if(o==45)throw R(new Bt(Ht((Lt(),Dne))))}else h==10&&(o=$be(e));if(fi(e),t>o)throw R(new Bt(Ht((Lt(),_Ze))));ho(l,t,o)}}}r=!1}if(e.c==1)throw R(new Bt(Ht((Lt(),YF))));return g3(l),gS(l),e.b=0,fi(e),l}function uYe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te;te=!1;do for(te=!1,c=n?new it(e.a.b).a.gc()-2:1;n?c>=0:cu(C(D,Oi),15).a)&&(V=!1);if(V){for(f=n?c+1:c-1,l=Rae(e.a,ye(f)),o=!1,U=!0,i=!1,g=St(l,0);g.b!=g.d.c;)h=u(jt(g),9),wi(h,Oi)?h.p!=p.p&&(o=o|(n?u(C(h,Oi),15).au(C(p,Oi),15).a),U=!1):!o&&U&&h.k==(Fn(),Uu)&&(i=!0,n?y=u(rt(new Xn(Qn(cr(h).a.Jc(),new ee))),17).c.i:y=u(rt(new Xn(Qn(Ii(h).a.Jc(),new ee))),17).d.i,y==p&&(n?t=u(rt(new Xn(Qn(Ii(h).a.Jc(),new ee))),17).d.i:t=u(rt(new Xn(Qn(cr(h).a.Jc(),new ee))),17).c.i,(n?u(y2(e.a,t),15).a-u(y2(e.a,y),15).a:u(y2(e.a,y),15).a-u(y2(e.a,t),15).a)<=2&&(U=!1)));if(i&&U&&(n?t=u(rt(new Xn(Qn(Ii(p).a.Jc(),new ee))),17).d.i:t=u(rt(new Xn(Qn(cr(p).a.Jc(),new ee))),17).c.i,(n?u(y2(e.a,t),15).a-u(y2(e.a,p),15).a:u(y2(e.a,p),15).a-u(y2(e.a,t),15).a)<=2&&t.k==(Fn(),Wi)&&(U=!1)),o||U){for(O=FUe(e,p,n);O.a.gc()!=0;)A=u(O.a.ec().Jc().Pb(),9),O.a.Ac(A)!=null,ac(O,FUe(e,A,n));--S,te=!0}}}while(te)}function bBn(e){Mt(e.c,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#decimal"])),Mt(e.d,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#integer"])),Mt(e.e,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#boolean"])),Mt(e.f,Ut,F(z(Je,1),Ae,2,6,[sc,"EBoolean",ui,"EBoolean:Object"])),Mt(e.i,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#byte"])),Mt(e.g,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Mt(e.j,Ut,F(z(Je,1),Ae,2,6,[sc,"EByte",ui,"EByte:Object"])),Mt(e.n,Ut,F(z(Je,1),Ae,2,6,[sc,"EChar",ui,"EChar:Object"])),Mt(e.t,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#double"])),Mt(e.u,Ut,F(z(Je,1),Ae,2,6,[sc,"EDouble",ui,"EDouble:Object"])),Mt(e.F,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#float"])),Mt(e.G,Ut,F(z(Je,1),Ae,2,6,[sc,"EFloat",ui,"EFloat:Object"])),Mt(e.I,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#int"])),Mt(e.J,Ut,F(z(Je,1),Ae,2,6,[sc,"EInt",ui,"EInt:Object"])),Mt(e.N,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#long"])),Mt(e.O,Ut,F(z(Je,1),Ae,2,6,[sc,"ELong",ui,"ELong:Object"])),Mt(e.Z,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#short"])),Mt(e.$,Ut,F(z(Je,1),Ae,2,6,[sc,"EShort",ui,"EShort:Object"])),Mt(e._,Ut,F(z(Je,1),Ae,2,6,[sc,"http://www.w3.org/2001/XMLSchema#string"]))}function Oe(){Oe=Y,zie=(Xt(),zfn),mye=Ffn,mI=Jfn,Vf=Hfn,X3=X9e,Ng=K9e,Dm=V9e,L7=Y9e,P7=Q9e,Fie=oG,Ig=Zd,Jie=Gfn,Sx=e8e,SH=Q4,pI=(Lge(),Vcn),Im=Ycn,ab=Qcn,_m=Wcn,Run=new Yr(FI,ye(0)),_7=Ucn,pye=Xcn,G4=Kcn,Mye=yun,yye=nun,kye=run,Gie=aun,jye=oun,Eye=lun,xH=Sun,qie=kun,xye=wun,Sye=bun,Aye=mun,uye=Ccn,Pie=Scn,vH=Ecn,$ie=Acn,kp=zcn,Ex=Fcn,_ie=Wrn,V5e=ecn,Hun=q7,Gun=sG,Jun=Hm,Fun=G7,vye=(Zy(),Um),new Yr(W4,vye),hye=new Ew(12),aye=new Yr(f1,hye),U5e=(J1(),K7),W1=new Yr(S9e,U5e),Tm=new Yr(Ps,0),Bun=new Yr(Sce,ye(1)),fH=new Yr(J7,K8),Og=uG,Zi=Wx,D7=c5,Nun=$I,Dh=Mfn,Am=n5,zun=new Yr(xce,($n(),!0)),Mm=RI,Cg=wce,Tg=Lg,EH=wb,Bie=zm,q5e=(vr(),ih),pl=new Yr(_g,q5e),yp=i5,kH=I9e,Om=Fm,$un=Ece,gye=q9e,bye=(l3(),UI),new Yr(z9e,bye),_un=vce,Lun=yce,Pun=kce,Dun=mce,Hie=eun,mH=jcn,wI=kcn,xx=Zcn,ku=bcn,H4=Grn,yx=Hrn,N7=Crn,J5e=Trn,Nie=Drn,gI=Orn,Iie=Frn,oye=Tcn,sye=Ocn,nye=scn,jH=Gcn,Rie=Dcn,Lie=icn,fye=Rcn,K5e=Yrn,Die=Qrn,Oie=PI,lye=Ncn,hH=frn,R5e=lrn,aH=srn,W5e=ucn,Q5e=ccn,Z5e=ocn,I7=r5,Wc=t5,Kd=Nfn,_h=gce,U3=bce,H5e=Lrn,Vd=jce,wx=Ofn,pH=Dfn,jp=J9e,dye=Pfn,Cm=$fn,iye=wcn,rye=mcn,Nm=Y4,Aie=orn,cye=ycn,wH=Xrn,gH=Urn,yH=H7,tye=acn,jx=Lcn,vI=W9e,G5e=qrn,wye=qcn,X5e=Krn,Cun=$rn,Tun=Rrn,Iun=dcn,Oun=Brn,eye=pce,kx=gcn,bH=zrn,l1=Mrn,Cie=Srn,bI=hrn,Mie=drn,dH=xrn,px=arn,Tie=Arn,xm=Ern,vx=jrn,Mun=krn,J4=brn,mx=yrn,F5e=vrn,B5e=grn,z5e=prn,Y5e=rcn}function gBn(e,n,t,i,r,c,o){var l,f,h,g,p,y,S,A;return y=u(i.a,15).a,S=u(i.b,15).a,p=e.b,A=e.c,l=0,g=0,n==(vr(),Zc)||n==ru?(g=fT(FFe(N2(So(new pn(null,new yn(t.b,16)),new D_),new OM))),p.e.b+p.f.b/2>g?(h=++S,l=ne(re(Js(M2(So(new pn(null,new yn(t.b,16)),new SCe(r,h)),new lw))))):(f=++y,l=ne(re(Js(_y(So(new pn(null,new yn(t.b,16)),new xCe(r,f)),new Pk)))))):(g=fT(FFe(N2(So(new pn(null,new yn(t.b,16)),new x_),new R6))),p.e.a+p.f.a/2>g?(h=++S,l=ne(re(Js(M2(So(new pn(null,new yn(t.b,16)),new ECe(r,h)),new NM))))):(f=++y,l=ne(re(Js(_y(So(new pn(null,new yn(t.b,16)),new jCe(r,f)),new IM)))))),n==Zc?(gc(e.a,new Ee(ne(re(C(p,(Ti(),xa))))-r,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a+A.f.a,A.e.b+A.f.b/2))):n==ru?(gc(e.a,new Ee(ne(re(C(p,(Ti(),Yf))))+r,p.e.b+p.f.b/2)),gc(e.a,new Ee(p.e.a+p.f.a+r,l)),gc(e.a,new Ee(A.e.a-r-c,l)),gc(e.a,new Ee(A.e.a-r-c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a,A.e.b+A.f.b/2))):n==Yl?(gc(e.a,new Ee(l,ne(re(C(p,(Ti(),xa))))-r)),gc(e.a,new Ee(l,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r))):(e.a.b==0||(u(Df(e.a),8).b=ne(re(C(p,(Ti(),Yf))))+r*u(o.b,15).a),gc(e.a,new Ee(l,ne(re(C(p,(Ti(),Yf))))+r*u(o.b,15).a)),gc(e.a,new Ee(l,A.e.b-r*u(o.a,15).a-c))),new jc(ye(y),ye(S))}function wBn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S;if(o=!0,p=null,i=null,r=null,n=!1,S=Han,h=null,c=null,l=0,f=IQ(e,l,K8e,V8e),f=0&&bn(e.substr(l,2),"//")?(l+=2,f=IQ(e,l,fA,aA),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f):p!=null&&(l==e.length||(Wn(l,e.length),e.charCodeAt(l)!=47))&&(o=!1,f=ule(e,Xo(35),l),f==-1&&(f=e.length),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f);if(!t&&l0&&rc(g,g.length-1)==58&&(r=g,l=f)),lo?(Ys(e,n,t),1):(Ys(e,t,n),-1)}for(U=e.f,V=0,te=U.length;V0?Ys(e,n,t):Ys(e,t,n),i;if(!wi(n,(ve(),Oi))||!wi(t,Oi))return c=cW(e,n),l=cW(e,t),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)}if(!y&&!A&&(i=sYe(e,n,t),i!=0))return i>0?Ys(e,n,t):Ys(e,t,n),i}return wi(n,(ve(),Oi))&&wi(t,Oi)?(c=Qw(n,t,e.c,u(C(e.c,fb),15).a),l=Qw(t,n,e.c,u(C(e.c,fb),15).a),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)):(Ys(e,t,n),-1)}function oYe(){oYe=Y,lZ(),Wt=new _w,gn(Wt,(Ie(),na),ch),gn(Wt,vf,ch),gn(Wt,ks,ch),gn(Wt,ta,ch),gn(Wt,es,ch),gn(Wt,js,ch),gn(Wt,ta,na),gn(Wt,ch,Ql),gn(Wt,na,Ql),gn(Wt,vf,Ql),gn(Wt,ks,Ql),gn(Wt,Zo,Ql),gn(Wt,ta,Ql),gn(Wt,es,Ql),gn(Wt,js,Ql),gn(Wt,zo,Ql),gn(Wt,ch,vl),gn(Wt,na,vl),gn(Wt,Ql,vl),gn(Wt,vf,vl),gn(Wt,ks,vl),gn(Wt,Zo,vl),gn(Wt,ta,vl),gn(Wt,zo,vl),gn(Wt,yl,vl),gn(Wt,es,vl),gn(Wt,hs,vl),gn(Wt,js,vl),gn(Wt,na,vf),gn(Wt,ks,vf),gn(Wt,ta,vf),gn(Wt,js,vf),gn(Wt,na,ks),gn(Wt,vf,ks),gn(Wt,ta,ks),gn(Wt,ks,ks),gn(Wt,es,ks),gn(Wt,ch,Wl),gn(Wt,na,Wl),gn(Wt,Ql,Wl),gn(Wt,vl,Wl),gn(Wt,vf,Wl),gn(Wt,ks,Wl),gn(Wt,Zo,Wl),gn(Wt,ta,Wl),gn(Wt,yl,Wl),gn(Wt,zo,Wl),gn(Wt,js,Wl),gn(Wt,es,Wl),gn(Wt,mo,Wl),gn(Wt,ch,yl),gn(Wt,na,yl),gn(Wt,Ql,yl),gn(Wt,vf,yl),gn(Wt,ks,yl),gn(Wt,Zo,yl),gn(Wt,ta,yl),gn(Wt,zo,yl),gn(Wt,js,yl),gn(Wt,hs,yl),gn(Wt,mo,yl),gn(Wt,na,zo),gn(Wt,vf,zo),gn(Wt,ks,zo),gn(Wt,ta,zo),gn(Wt,yl,zo),gn(Wt,js,zo),gn(Wt,es,zo),gn(Wt,ch,Wo),gn(Wt,na,Wo),gn(Wt,Ql,Wo),gn(Wt,vf,Wo),gn(Wt,ks,Wo),gn(Wt,Zo,Wo),gn(Wt,ta,Wo),gn(Wt,zo,Wo),gn(Wt,js,Wo),gn(Wt,na,es),gn(Wt,Ql,es),gn(Wt,vl,es),gn(Wt,ks,es),gn(Wt,ch,hs),gn(Wt,na,hs),gn(Wt,vl,hs),gn(Wt,vf,hs),gn(Wt,ks,hs),gn(Wt,Zo,hs),gn(Wt,ta,hs),gn(Wt,ta,mo),gn(Wt,ks,mo),gn(Wt,zo,ch),gn(Wt,zo,vf),gn(Wt,zo,Ql),gn(Wt,Zo,ch),gn(Wt,Zo,na),gn(Wt,Zo,vl)}function pBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;switch(t.Tg("Brandes & Koepf node placement",1),e.a=n,e.c=Y_n(n),i=u(C(n,(Oe(),Rie)),282),S=ze(Be(C(n,jx))),e.d=i==(qO(),eH)&&!S||i==lie,HPn(e,n),be=null,fe=null,B=null,U=null,D=(ll(4,om),new xo(4)),u(C(n,Rie),282).g){case 3:B=new p3(n,e.c.d,(La(),Dg),(gh(),Yd)),qn(D.c,B);break;case 1:U=new p3(n,e.c.d,(La(),Za),(gh(),Yd)),qn(D.c,U);break;case 4:be=new p3(n,e.c.d,(La(),Dg),(gh(),Ep)),qn(D.c,be);break;case 2:fe=new p3(n,e.c.d,(La(),Za),(gh(),Ep)),qn(D.c,fe);break;default:B=new p3(n,e.c.d,(La(),Dg),(gh(),Yd)),U=new p3(n,e.c.d,Za,Yd),be=new p3(n,e.c.d,Dg,Ep),fe=new p3(n,e.c.d,Za,Ep),qn(D.c,be),qn(D.c,fe),qn(D.c,B),qn(D.c,U)}for(r=new wCe(n,e.c),l=new P(D);l.aAW(c))&&(p=c);for(!p&&(p=(kn(0,D.c.length),u(D.c[0],185))),O=new P(n.b);O.a0?(Ys(e,t,n),1):(Ys(e,n,t),-1);if(g&&V)return Ys(e,t,n),1;if(p&&U)return Ys(e,n,t),-1;if(p&&V)return 0}else for(cn=new P(h.j);cn.ap&&(Dn=0,lt+=g+De,g=0),eKe(be,o,Dn,lt),n=k.Math.max(n,Dn+fe.a),g=k.Math.max(g,fe.b),Dn+=fe.a+De;for(te=new wt,t=new wt,cn=new P(e);cn.a=-1900?1:0,t>=4?Kt(e,F(z(Je,1),Ae,2,6,[xYe,AYe])[l]):Kt(e,F(z(Je,1),Ae,2,6,["BC","AD"])[l]);break;case 121:rSn(e,t,i);break;case 77:ZDn(e,t,i);break;case 107:f=r.q.getHours(),f==0?Qh(e,24,t):Qh(e,f,t);break;case 83:gNn(e,t,r);break;case 69:g=i.q.getDay(),t==5?Kt(e,F(z(Je,1),Ae,2,6,["S","M","T","W","T","F","S"])[g]):t==4?Kt(e,F(z(Je,1),Ae,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[g]):Kt(e,F(z(Je,1),Ae,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[g]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Kt(e,F(z(Je,1),Ae,2,6,["AM","PM"])[1]):Kt(e,F(z(Je,1),Ae,2,6,["AM","PM"])[0]);break;case 104:p=r.q.getHours()%12,p==0?Qh(e,12,t):Qh(e,p,t);break;case 75:y=r.q.getHours()%12,Qh(e,y,t);break;case 72:S=r.q.getHours(),Qh(e,S,t);break;case 99:A=i.q.getDay(),t==5?Kt(e,F(z(Je,1),Ae,2,6,["S","M","T","W","T","F","S"])[A]):t==4?Kt(e,F(z(Je,1),Ae,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[A]):t==3?Kt(e,F(z(Je,1),Ae,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[A]):Qh(e,A,1);break;case 76:O=i.q.getMonth(),t==5?Kt(e,F(z(Je,1),Ae,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[O]):t==4?Kt(e,F(z(Je,1),Ae,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ])[O]):t==3?Kt(e,F(z(Je,1),Ae,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[O]):Qh(e,O+1,t);break;case 81:D=i.q.getMonth()/3|0,t<4?Kt(e,F(z(Je,1),Ae,2,6,["Q1","Q2","Q3","Q4"])[D]):Kt(e,F(z(Je,1),Ae,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[D]);break;case 100:B=i.q.getDate(),Qh(e,B,t);break;case 109:h=r.q.getMinutes(),Qh(e,h,t);break;case 115:o=r.q.getSeconds(),Qh(e,o,t);break;case 122:t<4?Kt(e,c.c[0]):Kt(e,c.c[1]);break;case 118:Kt(e,c.b);break;case 90:t<3?Kt(e,mTn(c)):t==3?Kt(e,jTn(c)):Kt(e,ETn(c.a));break;default:return!1}return!0}function _ge(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt;if(JXe(n),f=u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84),g=u(K((!n.c&&(n.c=new In(mt,n,5,8)),n.c),0),84),l=iu(f),h=iu(g),o=(!n.a&&(n.a=new pe($i,n,6,6)),n.a).i==0?null:u(K((!n.a&&(n.a=new pe($i,n,6,6)),n.a),0),170),De=u(zn(e.a,l),9),Dn=u(zn(e.a,h),9),un=null,lt=null,X(f,193)&&(fe=u(zn(e.a,f),246),X(fe,12)?un=u(fe,12):X(fe,9)&&(De=u(fe,9),un=u(Le(De.j,0),12))),X(g,193)&&(On=u(zn(e.a,g),246),X(On,12)?lt=u(On,12):X(On,9)&&(Dn=u(On,9),lt=u(Le(Dn.j,0),12))),!De||!Dn)throw R(new gy("The source or the target of edge "+n+" 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(O=new Dw,Pu(O,n),he(O,(ve(),mi),n),he(O,(Oe(),Wc),null),S=u(C(i,po),22),De==Dn&&S.Ec((Ic(),fx)),un||(be=(Nc(),Io),cn=null,o&&zv(u(C(De,Zi),102))&&(cn=new Ee(o.j,o.k),pPe(cn,I2(n)),GPe(cn,t),B2(h,l)&&(be=ys,pi(cn,De.n))),un=qKe(De,cn,be,i)),lt||(be=(Nc(),ys),Qt=null,o&&zv(u(C(Dn,Zi),102))&&(Qt=new Ee(o.b,o.c),pPe(Qt,I2(n)),GPe(Qt,t)),lt=qKe(Dn,Qt,be,_r(Dn))),fc(O,un),Gr(O,lt),(un.e.c.length>1||un.g.c.length>1||lt.e.c.length>1||lt.g.c.length>1)&&S.Ec((Ic(),lx)),y=new st((!n.n&&(n.n=new pe(Eu,n,1,7)),n.n));y.e!=y.i.gc();)if(p=u(ft(y),157),!ze(Be(ke(p,Og)))&&p.a)switch(D=aQ(p),Ce(O.b,D),u(C(D,_h),279).g){case 1:case 2:S.Ec((Ic(),C7));break;case 0:S.Ec((Ic(),M7)),he(D,_h,(za(),U7))}if(c=u(C(i,yx),301),B=u(C(i,jH),328),r=c==(HE(),cI)||B==(XE(),Zie),o&&(!o.a&&(o.a=new mr(kl,o,5)),o.a).i!=0&&r){for(U=mCn(o),A=new xs,te=St(U,0);te.b!=te.d.c;)V=u(jt(te),8),Vt(A,new wc(V));he(O,Y3e,A)}return O}function kBn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(cn=0,On=0,De=new wt,be=u(Js(M2(So(new pn(null,new yn(e.b,16)),new S_),new Lk)),15).a+1,un=le($t,ni,30,be,15,1),D=le($t,ni,30,be,15,1),O=0;O1)for(l=lt+1;lh.b.e.b*(1-B)+h.c.e.b*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(Df(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.b>V.b&&h.c.e.b>V.b||A<=0&&Qt.bh.b.e.a*(1-B)+h.c.e.a*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(Df(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.a>V.a&&h.c.e.a>V.a||A<=0&&Qt.a=ne(re(C(e,(Ti(),k4e))))&&++On):(S.f&&S.d.e.a<=ne(re(C(e,(Ti(),pre))))&&++cn,S.g&&S.c.e.a+S.c.f.a>=ne(re(C(e,(Ti(),y4e))))&&++On)}else te==0?Y0e(h):te<0&&(++un[lt],++D[Ui],Dn=gBn(h,n,e,new jc(ye(cn),ye(On)),t,i,new jc(ye(D[Ui]),ye(un[lt]))),cn=u(Dn.a,15).a,On=u(Dn.b,15).a)}function jBn(e){e.gb||(e.gb=!0,e.b=Au(e,0),Yi(e.b,18),_i(e.b,19),e.a=Au(e,1),Yi(e.a,1),_i(e.a,2),_i(e.a,3),_i(e.a,4),_i(e.a,5),e.o=Au(e,2),Yi(e.o,8),Yi(e.o,9),_i(e.o,10),_i(e.o,11),_i(e.o,12),_i(e.o,13),_i(e.o,14),_i(e.o,15),_i(e.o,16),_i(e.o,17),_i(e.o,18),_i(e.o,19),_i(e.o,20),_i(e.o,21),_i(e.o,22),_i(e.o,23),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),e.p=Au(e,3),Yi(e.p,2),Yi(e.p,3),Yi(e.p,4),Yi(e.p,5),_i(e.p,6),_i(e.p,7),Yc(e.p),Yc(e.p),e.q=Au(e,4),Yi(e.q,8),e.v=Au(e,5),_i(e.v,9),Yc(e.v),Yc(e.v),Yc(e.v),e.w=Au(e,6),Yi(e.w,2),Yi(e.w,3),Yi(e.w,4),_i(e.w,5),e.B=Au(e,7),_i(e.B,1),Yc(e.B),Yc(e.B),Yc(e.B),e.Q=Au(e,8),_i(e.Q,0),Yc(e.Q),e.R=Au(e,9),Yi(e.R,1),e.S=Au(e,10),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),e.T=Au(e,11),_i(e.T,10),_i(e.T,11),_i(e.T,12),_i(e.T,13),_i(e.T,14),Yc(e.T),Yc(e.T),e.U=Au(e,12),Yi(e.U,2),Yi(e.U,3),_i(e.U,4),_i(e.U,5),_i(e.U,6),_i(e.U,7),Yc(e.U),e.V=Au(e,13),_i(e.V,10),e.W=Au(e,14),Yi(e.W,18),Yi(e.W,19),Yi(e.W,20),_i(e.W,21),_i(e.W,22),_i(e.W,23),e.bb=Au(e,15),Yi(e.bb,10),Yi(e.bb,11),Yi(e.bb,12),Yi(e.bb,13),Yi(e.bb,14),Yi(e.bb,15),Yi(e.bb,16),_i(e.bb,17),Yc(e.bb),Yc(e.bb),e.eb=Au(e,16),Yi(e.eb,2),Yi(e.eb,3),Yi(e.eb,4),Yi(e.eb,5),Yi(e.eb,6),Yi(e.eb,7),_i(e.eb,8),_i(e.eb,9),e.ab=Au(e,17),Yi(e.ab,0),Yi(e.ab,1),e.H=Au(e,18),_i(e.H,0),_i(e.H,1),_i(e.H,2),_i(e.H,3),_i(e.H,4),_i(e.H,5),Yc(e.H),e.db=Au(e,19),_i(e.db,2),e.c=ci(e,20),e.d=ci(e,21),e.e=ci(e,22),e.f=ci(e,23),e.i=ci(e,24),e.g=ci(e,25),e.j=ci(e,26),e.k=ci(e,27),e.n=ci(e,28),e.r=ci(e,29),e.s=ci(e,30),e.t=ci(e,31),e.u=ci(e,32),e.fb=ci(e,33),e.A=ci(e,34),e.C=ci(e,35),e.D=ci(e,36),e.F=ci(e,37),e.G=ci(e,38),e.I=ci(e,39),e.J=ci(e,40),e.L=ci(e,41),e.M=ci(e,42),e.N=ci(e,43),e.O=ci(e,44),e.P=ci(e,45),e.X=ci(e,46),e.Y=ci(e,47),e.Z=ci(e,48),e.$=ci(e,49),e._=ci(e,50),e.cb=ci(e,51),e.K=ci(e,52))}function EBn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A;for(p=St(e.b,0);p.b!=p.d.c;)if(g=u(jt(p),40),!bn(g.c,PF))for(c=u(gs(new pn(null,new yn(PTn(g,e),16)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),n==(vr(),Zc)||n==ru?c.gd(new O_):c.gd(new N_),A=c.gc(),r=0;r0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a+i/5.3,g.e.b+g.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a+i/5.3,g.e.b+g.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a,g.e.b+g.f.b*o))):n==ru?(h=ne(re(C(g,(Ti(),xa)))),g.e.a-i>h?gc(u(c.Xb(r),65).a,new Ee(h-t,g.e.b+g.f.b*o)):u(c.Xb(r),65).a.b>0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(g.e.a-i/5.3,g.e.b+g.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(g.e.a-i/5.3,g.e.b+g.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a,g.e.b+g.f.b*o))):n==Yl?(h=ne(re(C(g,(Ti(),Yf)))),g.e.b+g.f.b+i0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o-i/2,g.e.b+i/5.3+g.f.b)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o+i/2,g.e.b+i/5.3+g.f.b)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,g.e.b+g.f.b))):(h=ne(re(C(g,(Ti(),xa)))),Uze(u(c.Xb(r),65),e)?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,u(Df(u(c.Xb(r),65).a),8).b)):g.e.b-i>h?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,h-t)):u(c.Xb(r),65).a.b>0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o-i/2,g.e.b-i/5.3)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o+i/2,g.e.b-i/5.3)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,g.e.b)))}function fYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe;if(o=n,y=t,so(e.a,o)){if(cf(u(zn(e.a,o),47),y))return 1}else ei(e.a,o,new ar);if(so(e.a,y)){if(cf(u(zn(e.a,y),47),o))return-1}else ei(e.a,y,new ar);if(so(e.e,o)){if(cf(u(zn(e.e,o),47),y))return-1}else ei(e.e,o,new ar);if(so(e.e,y)){if(cf(u(zn(e.a,y),47),o))return 1}else ei(e.e,y,new ar);if(o.j!=y.j)return be=hwn(o.j,y.j),be>0?Gl(e,o,y,1):Gl(e,y,o,1),be;if(fe=1,o.e.c.length!=0&&y.e.c.length!=0){if((o.j==(Ie(),Yn)&&y.j==Yn||o.j==Vn&&y.j==Vn||o.j==bt&&y.j==bt)&&(fe=-fe),g=u(Le(o.e,0),17).c,D=u(Le(y.e,0),17).c,f=g.i,A=D.i,f==A)for(V=new P(f.j);V.a0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe);if(i=CFe(u(gs(vV(e.d),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),20),f,A),i!=0)return i>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe);if(e.c&&(be=rHe(e,o,y),be!=0))return be>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)}return o.g.c.length!=0&&y.g.c.length!=0?((o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),p=u(C(o,(ve(),vie)),9),B=u(C(y,vie),9),e.f==(H1(),tre)&&p&&B&&wi(p,Oi)&&wi(B,Oi)?(l=Qw(p,B,e.b,u(C(e.b,fb),15).a),S=Qw(B,p,e.b,u(C(e.b,fb),15).a),l>S?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)):e.c&&(be=rHe(e,o,y),be!=0)?be>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe):(h=0,O=0,wi(u(Le(o.g,0),17),Oi)&&(h=Qw(u(Le(o.g,0),246),u(Le(y.g,0),246),e.b,o.g.c.length+o.e.c.length)),wi(u(Le(y.g,0),17),Oi)&&(O=Qw(u(Le(y.g,0),246),u(Le(o.g,0),246),e.b,y.g.c.length+y.e.c.length)),p&&p==B||e.g&&(e.g._b(p)&&(h=u(e.g.xc(p),15).a),e.g._b(B)&&(O=u(e.g.xc(B),15).a)),h>O?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe))):o.e.c.length!=0&&y.g.c.length!=0?(Gl(e,o,y,fe),1):o.g.c.length!=0&&y.e.c.length!=0?(Gl(e,y,o,fe),-1):wi(o,(ve(),Oi))&&wi(y,Oi)?(c=o.i.j.c.length,l=Qw(o,y,e.b,c),S=Qw(y,o,e.b,c),(o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),l>S?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)):(Gl(e,y,o,fe),-fe)}function ve(){ve=Y;var e,n;mi=new ki(lwe),U3e=new ki("coordinateOrigin"),kie=new ki("processors"),q3e=new Pi("compoundNode",($n(),!1)),aI=new Pi("insideConnections",!1),Y3e=new ki("originalBendpoints"),Q3e=new ki("originalDummyNodePosition"),W3e=new ki("originalLabelEdge"),hx=new ki("representedLabels"),ax=new ki("endLabels"),P4=new ki("endLabel.origin"),R4=new Pi("labelSide",(al(),qI)),F3=new Pi("maxEdgeThickness",0),Xd=new Pi("reversed",!1),B4=new ki(lQe),Sa=new Pi("longEdgeSource",null),wf=new Pi("longEdgeTarget",null),Sm=new Pi("longEdgeHasLabelDummies",!1),hI=new Pi("longEdgeBeforeLabelDummy",!1),uH=new Pi("edgeConstraint",(cg(),iie)),pp=new ki("inLayerLayoutUnit"),xg=new Pi("inLayerConstraint",(P1(),lI)),$4=new Pi("inLayerSuccessorConstraint",new Te),V3e=new Pi("inLayerSuccessorConstraintBetweenNonDummies",!1),vs=new ki("portDummy"),cH=new Pi("crossingHint",ye(0)),po=new Pi("graphProperties",(n=u(fa(fie),10),new Ll(n,u(_f(n,n.length),10),0))),Iu=new Pi("externalPortSide",(Ie(),ju)),K3e=new Pi("externalPortSize",new Vr),wie=new ki("externalPortReplacedDummies"),oH=new ki("externalPortReplacedDummy"),Y1=new Pi("externalPortConnections",(e=u(fa(xc),10),new Ll(e,u(_f(e,e.length),10),0))),mp=new Pi(rQe,0),G3e=new ki("barycenterAssociates"),F4=new ki("TopSideComments"),_4=new ki("BottomSideComments"),rH=new ki("CommentConnectionPort"),mie=new Pi("inputCollect",!1),yie=new Pi("outputCollect",!1),L4=new Pi("cyclic",!1),X3e=new ki("crossHierarchyMap"),Eie=new ki("targetOffset"),new Pi("splineLabelSize",new Vr),H3=new ki("spacings"),sH=new Pi("partitionConstraint",!1),wp=new ki("breakingPoint.info"),n5e=new ki("splines.survivingEdge"),Ag=new ki("splines.route.start"),G3=new ki("splines.edgeChain"),e5e=new ki("originalPortConstraints"),vp=new ki("selfLoopHolder"),O7=new ki("splines.nsPortY"),Oi=new ki("modelOrder"),fb=new ki("modelOrder.maximum"),fI=new ki("modelOrderGroups.cb.number"),vie=new ki("longEdgeTargetNode"),lb=new Pi(LQe,!1),J3=new Pi(LQe,!1),pie=new ki("layerConstraints.hiddenNodes"),Z3e=new ki("layerConstraints.opposidePort"),jie=new ki("targetNode.modelOrder"),z4=new Pi("tarjan.lowlink",ye(oi)),dx=new Pi("tarjan.id",ye(-1)),lH=new Pi("tarjan.onstack",!1),rrn=new Pi("partOfCycle",!1),q3=new ki("medianHeuristic.weight")}function Xt(){Xt=Y;var e,n;V4=new ki(SWe),Jm=new ki(xWe),v9e=(Wh(),lce),Mfn=new an(vpe,v9e),J7=new an(V8,null),Cfn=new ki(D2e),k9e=(ag(),Ci(hce,F(z(dce,1),je,299,0,[ace]))),PI=new an(IF,k9e),$I=new an(BN,($n(),!1)),j9e=(vr(),ih),_g=new an(Jee,j9e),x9e=(J1(),Ace),S9e=new an(RN,x9e),Ifn=new an(N2e,!1),M9e=(F1(),aG),n5=new an(NF,M9e),R9e=new Ew(12),f1=new an(am,R9e),BI=new an(AS,!1),pce=new an(_F,!1),zI=new an(MS,!1),H9e=(Br(),vb),Wx=new an(ZZ,H9e),Y4=new ki(DF),FI=new ki(CN),Sce=new ki(hF),xce=new ki(xS),O9e=new xs,t5=new an(Ope,O9e),Ofn=new an(_pe,!1),Dfn=new an(Lpe,!1),new an(AWe,0),N9e=new yj,H7=new an($pe,N9e),uG=new an(ppe,!1),Bfn=new an(MWe,1),Bm=new ki(CWe),Rm=new ki(TWe),q7=new an(TN,!1),new an(OWe,!0),ye(0),new an(NWe,ye(100)),new an(IWe,!1),ye(0),new an(DWe,ye(4e3)),ye(0),new an(_We,ye(400)),new an(LWe,!1),new an(PWe,!1),new an($We,!0),new an(RWe,!1),y9e=(WB(),Ice),Tfn=new an(I2e,y9e),T9e=(AE(),KI),Lfn=new an(BWe,T9e),C9e=(a8(),JI),_fn=new an(zWe,C9e),zfn=new an(cpe,10),Ffn=new an(upe,10),Jfn=new an(ope,20),Hfn=new an(spe,10),X9e=new an(WZ,2),K9e=new an(Fee,10),V9e=new an(lpe,0),oG=new an(hpe,5),Y9e=new an(fpe,1),Q9e=new an(ape,1),Zd=new an(fm,20),Gfn=new an(dpe,10),e8e=new an(bpe,10),Q4=new ki(gpe),Z9e=new STe,W9e=new an(Rpe,Z9e),$fn=new ki(Gee),B9e=!1,Pfn=new an(Hee,B9e),D9e=new Ew(5),I9e=new an(jpe,D9e),_9e=(em(),n=u(fa($c),10),new Ll(n,u(_f(n,n.length),10),0)),i5=new an(Q8,_9e),F9e=(l3(),mb),z9e=new an(xpe,F9e),vce=new ki(Ape),yce=new ki(Mpe),kce=new ki(Cpe),mce=new ki(Tpe),L9e=(e=u(fa(uA),10),new Ll(e,u(_f(e,e.length),10),0)),Lg=new an(S3,L9e),$9e=rn((_s(),Y7)),wb=new an(k4,$9e),P9e=new Ee(0,0),r5=new an(j4,P9e),zm=new an(Y8,!1),E9e=(za(),U7),gce=new an(Ipe,E9e),bce=new an(dF,!1),ye(1),new an(FWe,null),J9e=new ki(Ppe),jce=new ki(Dpe),U9e=(Ie(),ju),c5=new an(mpe,U9e),Ps=new ki(wpe),G9e=(ps(),rn(yb)),Fm=new an(W8,G9e),Ece=new an(Epe,!1),q9e=new an(Spe,!0),ye(1),Vfn=new an(dne,ye(3)),ye(1),Qfn=new an(_2e,ye(4)),sG=new an(ON,1),lG=new an(bne,null),Hm=new an(NN,150),G7=new an(IN,1.414),W4=new an(rp,null),qfn=new an(L2e,1),RI=new an(ype,!1),wce=new an(kpe,!1),Nfn=new an(Npe,1),A9e=(Az(),Cce),new an(JWe,A9e),Rfn=!0,Yfn=(YR(),Nce),Xfn=(Zy(),Um),Kfn=Um,Ufn=Um}function Ur(){Ur=Y,Fve=new br("DIRECTION_PREPROCESSOR",0),Rve=new br("COMMENT_PREPROCESSOR",1),_3=new br("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),_te=new br("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),u3e=new br("PARTITION_PREPROCESSOR",4),IJ=new br("LABEL_DUMMY_INSERTER",5),JJ=new br("SELF_LOOP_PREPROCESSOR",6),ym=new br("LAYER_CONSTRAINT_PREPROCESSOR",7),r3e=new br("PARTITION_MIDPROCESSOR",8),Vve=new br("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),t3e=new br("NODE_PROMOTION",10),vm=new br("LAYER_CONSTRAINT_POSTPROCESSOR",11),c3e=new br("PARTITION_POSTPROCESSOR",12),Uve=new br("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),o3e=new br("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Ive=new br("BREAKING_POINT_INSERTER",15),PJ=new br("LONG_EDGE_SPLITTER",16),Lte=new br("PORT_SIDE_PROCESSOR",17),OJ=new br("INVERTED_PORT_PROCESSOR",18),BJ=new br("PORT_LIST_SORTER",19),l3e=new br("SORT_BY_INPUT_ORDER_OF_MODEL",20),RJ=new br("NORTH_SOUTH_PORT_PREPROCESSOR",21),Dve=new br("BREAKING_POINT_PROCESSOR",22),i3e=new br(MQe,23),f3e=new br(CQe,24),zJ=new br("SELF_LOOP_PORT_RESTORER",25),Nve=new br("ALTERNATING_LAYER_UNZIPPER",26),s3e=new br("SINGLE_EDGE_GRAPH_WRAPPER",27),NJ=new br("IN_LAYER_CONSTRAINT_PROCESSOR",28),Hve=new br("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),e3e=new br("LABEL_AND_NODE_SIZE_PROCESSOR",30),Zve=new br("INNERMOST_NODE_MARGIN_CALCULATOR",31),HJ=new br("SELF_LOOP_ROUTER",32),Pve=new br("COMMENT_NODE_MARGIN_CALCULATOR",33),TJ=new br("END_LABEL_PREPROCESSOR",34),_J=new br("LABEL_DUMMY_SWITCHER",35),Lve=new br("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),y7=new br("LABEL_SIDE_SELECTOR",37),Qve=new br("HYPEREDGE_DUMMY_MERGER",38),Xve=new br("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),n3e=new br("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),cx=new br("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),Bve=new br("CONSTRAINTS_POSTPROCESSOR",42),$ve=new br("COMMENT_POSTPROCESSOR",43),Wve=new br("HYPERNODE_PROCESSOR",44),Kve=new br("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),LJ=new br("LONG_EDGE_JOINER",46),FJ=new br("SELF_LOOP_POSTPROCESSOR",47),_ve=new br("BREAKING_POINT_REMOVER",48),$J=new br("NORTH_SOUTH_PORT_POSTPROCESSOR",49),Yve=new br("HORIZONTAL_COMPACTOR",50),DJ=new br("LABEL_DUMMY_REMOVER",51),Gve=new br("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),Jve=new br("END_LABEL_SORTER",53),I4=new br("REVERSED_EDGE_RESTORER",54),CJ=new br("END_LABEL_POSTPROCESSOR",55),qve=new br("HIERARCHICAL_NODE_RESIZER",56),zve=new br("DIRECTION_POSTPROCESSOR",57)}function SBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On,Dn,lt,Qt,Ui,Es,eu,jl,a5,o0,ia,id,ef,c6,vA,rd,Ta,s0,zg,Fg,u6,Jg,Hg,cd,ev,T7e,Op,yA,Vce,o6,kA,nv,jA,Yce,zhn;for(T7e=0,Qt=n,eu=0,o0=Qt.length;eu0&&(e.a[Ta.p]=T7e++)}for(kA=0,Ui=t,jl=0,ia=Ui.length;jl0;){for(Ta=(at(u6.b>0),u(u6.a.Xb(u6.c=--u6.b),12)),Fg=0,l=new P(Ta.e);l.a0&&(Ta.j==(Ie(),Vn)?(e.a[Ta.p]=kA,++kA):(e.a[Ta.p]=kA+id+c6,++c6))}kA+=c6}for(zg=new wt,A=new Hh,lt=n,Es=0,a5=lt.length;Esh.b&&(h.b=Jg)):Ta.i.c==ev&&(Jgh.c&&(h.c=Jg));for(X9(O,0,O.length,null),o6=le($t,ni,30,O.length,15,1),i=le($t,ni,30,kA+1,15,1),B=0;B0;)De%2>0&&(r+=Yce[De+1]),De=(De-1)/2|0,++Yce[De];for(cn=le(Con,Nn,370,O.length*2,0,1),te=0;te0&&XT(Es.f),ke(B,lG)!=null&&(!B.a&&(B.a=new pe(Ft,B,10,11)),!!B.a)&&(!B.a&&(B.a=new pe(Ft,B,10,11)),B.a).i>0?(l=u(ke(B,lG),521),Fg=l.Sg(B),jw(B,k.Math.max(B.g,Fg.a+id.b+id.c),k.Math.max(B.f,Fg.b+id.d+id.a))):(!B.a&&(B.a=new pe(Ft,B,10,11)),B.a).i!=0&&(Fg=new Ee(ne(re(ke(B,Hm))),ne(re(ke(B,Hm)))/ne(re(ke(B,G7)))),jw(B,k.Math.max(B.g,Fg.a+id.b+id.c),k.Math.max(B.f,Fg.b+id.d+id.a)));if(ia=u(ke(n,f1),104),S=n.g-(ia.b+ia.c),y=n.f-(ia.d+ia.a),Hg.ah("Available Child Area: ("+S+"|"+y+")"),Ei(n,J7,S/y),BJe(n,r,i.dh(a5)),u(ke(n,W4),281)==pG&&(sZ(n),jw(n,ia.b+ne(re(ke(n,Bm)))+ia.c,ia.d+ne(re(ke(n,Rm)))+ia.a)),Hg.ah("Executed layout algorithm: "+Pt(ke(n,V4))+" on node "+n.k),u(ke(n,W4),281)==Um){if(S<0||y<0)throw R(new yd("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));for(ga(n,Bm)||ga(n,Rm)||sZ(n),O=ne(re(ke(n,Bm))),A=ne(re(ke(n,Rm))),Hg.ah("Desired Child Area: ("+O+"|"+A+")"),c6=S/O,vA=y/A,ef=k.Math.min(c6,k.Math.min(vA,ne(re(ke(n,qfn))))),Ei(n,sG,ef),Hg.ah(n.k+" -- Local Scale Factor (X|Y): ("+c6+"|"+vA+")"),te=u(ke(n,PI),22),c=0,o=0,ef'?":bn(kZe,e)?"'(?<' or '(? toIndex: ",Wge=", toIndex: ",Zge="Index: ",ewe=", Size: ",q8="org.eclipse.elk.alg.common",Yt={51:1},zYe="org.eclipse.elk.alg.common.compaction",FYe="Scanline/EventHandler",r1="org.eclipse.elk.alg.common.compaction.oned",JYe="CNode belongs to another CGroup.",HYe="ISpacingsHandler/1",UZ="The ",XZ=" instance has been finished already.",GYe="The direction ",qYe=" is not supported by the CGraph instance.",UYe="OneDimensionalCompactor",XYe="OneDimensionalCompactor/lambda$0$Type",KYe="Quadruplet",VYe="ScanlineConstraintCalculator",YYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",QYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",WYe="ScanlineConstraintCalculator/Timestamp",ZYe="ScanlineConstraintCalculator/lambda$0$Type",Ah={178:1,48:1},jS="org.eclipse.elk.alg.common.networksimplex",va={171:1,3:1,4:1},eQe="org.eclipse.elk.alg.common.nodespacing",wg="org.eclipse.elk.alg.common.nodespacing.cellsystem",U8="CENTER",nQe={216:1,337:1},nwe={3:1,4:1,5:1,592:1},m4="LEFT",v4="RIGHT",twe="Vertical alignment cannot be null",iwe="BOTTOM",fF="org.eclipse.elk.alg.common.nodespacing.internal",ES="UNDEFINED",Xa=.01,xN="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",tQe="LabelPlacer/lambda$0$Type",iQe="LabelPlacer/lambda$1$Type",rQe="portRatioOrPosition",X8="org.eclipse.elk.alg.common.overlaps",KZ="DOWN",y4="org.eclipse.elk.alg.common.spore",lm={3:1,4:1,5:1,198:1},cQe={3:1,6:1,4:1,5:1,90:1,110:1},VZ="org.eclipse.elk.alg.force",rwe="ComponentsProcessor",uQe="ComponentsProcessor/1",cwe="ElkGraphImporter/lambda$0$Type",ip={214:1},E3="org.eclipse.elk.core",AN="org.eclipse.elk.graph.properties",oQe="IPropertyHolder",MN="org.eclipse.elk.alg.force.graph",sQe="Component Layout",uwe="org.eclipse.elk.alg.force.model",yu="org.eclipse.elk.core.data",aF="org.eclipse.elk.force.model",owe="org.eclipse.elk.force.iterations",swe="org.eclipse.elk.force.repulsivePower",YZ="org.eclipse.elk.force.temperature",Mh=.001,QZ="org.eclipse.elk.force.repulsion",Ka={148:1},SS="org.eclipse.elk.alg.force.options",K8=1.600000023841858,$o="org.eclipse.elk.force",CN="org.eclipse.elk.priority",fm="org.eclipse.elk.spacing.nodeNode",WZ="org.eclipse.elk.spacing.edgeLabel",V8="org.eclipse.elk.aspectRatio",hF="org.eclipse.elk.randomSeed",xS="org.eclipse.elk.separateConnectedComponents",am="org.eclipse.elk.padding",AS="org.eclipse.elk.interactive",ZZ="org.eclipse.elk.portConstraints",dF="org.eclipse.elk.edgeLabels.inline",MS="org.eclipse.elk.omitNodeMicroLayout",Y8="org.eclipse.elk.nodeSize.fixedGraphSize",k4="org.eclipse.elk.nodeSize.options",S3="org.eclipse.elk.nodeSize.constraints",Q8="org.eclipse.elk.nodeLabels.placement",W8="org.eclipse.elk.portLabels.placement",TN="org.eclipse.elk.topdownLayout",ON="org.eclipse.elk.topdown.scaleFactor",NN="org.eclipse.elk.topdown.hierarchicalNodeWidth",IN="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",rp="org.eclipse.elk.topdown.nodeType",lwe="origin",lQe="random",fQe="boundingBox.upLeft",aQe="boundingBox.lowRight",fwe="org.eclipse.elk.stress.fixed",awe="org.eclipse.elk.stress.desiredEdgeLength",hwe="org.eclipse.elk.stress.dimension",dwe="org.eclipse.elk.stress.epsilon",bwe="org.eclipse.elk.stress.iterationLimit",eb="org.eclipse.elk.stress",hQe="ELK Stress",j4="org.eclipse.elk.nodeSize.minimum",bF="org.eclipse.elk.alg.force.stress",dQe="Layered layout",E4="org.eclipse.elk.alg.layered",DN="org.eclipse.elk.alg.layered.compaction.components",CS="org.eclipse.elk.alg.layered.compaction.oned",gF="org.eclipse.elk.alg.layered.compaction.oned.algs",pg="org.eclipse.elk.alg.layered.compaction.recthull",Va="org.eclipse.elk.alg.layered.components",ya="NONE",eee="MODEL_ORDER",qu={3:1,6:1,4:1,10:1,5:1,126:1},bQe={3:1,6:1,4:1,5:1,135:1,90:1,110:1},wF="org.eclipse.elk.alg.layered.compound",Mi={43:1},Zu="org.eclipse.elk.alg.layered.graph",nee=" -> ",gQe="Not supported by LGraph",gwe="Port side is undefined",Z8={3:1,6:1,4:1,5:1,323:1,135:1,90:1,110:1},Hd={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},wQe={3:1,6:1,4:1,5:1,135:1,2004:1,209:1,90:1,110:1},pQe=`([{"' \r +`)}return[]}function bxn(e){var n;return n=(LBe(),onn),n[e>>>28]|n[e>>24&15]<<4|n[e>>20&15]<<8|n[e>>16&15]<<12|n[e>>12&15]<<16|n[e>>8&15]<<20|n[e>>4&15]<<24|n[e&15]<<28}function CHe(e){var n,t,i;e.b==e.c&&(i=e.a.length,t=w1e(k.Math.max(8,i))<<1,e.b!=0?(n=_f(e.a,t),zBe(e,n,i),e.a=n,e.b=0):o2(e.a,t),e.c=i)}function gxn(e,n){var t;return t=e.b,t.nf((Xt(),Ps))?t.$f()==(Ie(),Yn)?-t.Kf().a-te(re(t.mf(Ps))):n+te(re(t.mf(Ps))):t.$f()==(Ie(),Yn)?-t.Kf().a:n}function zO(e){var n;return e.b.c.length!=0&&u(Le(e.b,0),70).a?u(Le(e.b,0),70).a:(n=IV(e),n??""+(e.c?pu(e.c.a,e,0):-1))}function vz(e){var n;return e.f.c.length!=0&&u(Le(e.f,0),70).a?u(Le(e.f,0),70).a:(n=IV(e),n??""+(e.i?pu(e.i.j,e,0):-1))}function wxn(e,n){var t,i;if(n<0||n>=e.gc())return null;for(t=n;t0?e.c:0),r=k.Math.max(r,n.d),++i;e.e=c,e.b=r}function pxn(e){var n,t;if(!e.b)for(e.b=qR(u(e.f,125).jh().i),t=new st(u(e.f,125).jh());t.e!=t.i.gc();)n=u(ft(t),157),Ce(e.b,new MX(n));return e.b}function mxn(e,n){var t,i,r;if(n.dc())return T9(),T9(),cD;for(t=new nNe(e,n.gc()),r=new st(e);r.e!=r.i.gc();)i=ft(r),n.Gc(i)&&Et(t,i);return t}function Bde(e,n,t,i){return n==0?i?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),e.o):(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),rO(e.o)):az(e,n,t,i)}function ZQ(e){var n,t;if(e.rb)for(n=0,t=e.rb.i;n>22),r+=i>>22,r<0)?!1:(e.l=t&Ls,e.m=i&Ls,e.h=r&U1,!0)}function eW(e,n,t,i,r,c,o){var l,f;return!(n.Re()&&(f=e.a.Le(t,i),f<0||!r&&f==0)||n.Se()&&(l=e.a.Le(t,c),l>0||!o&&l==0))}function jxn(e,n){u8();var t;if(t=e.j.g-n.j.g,t!=0)return 0;switch(e.j.g){case 2:return kQ(n,b3e)-kQ(e,b3e);case 4:return kQ(e,d3e)-kQ(n,d3e)}return 0}function Exn(e){switch(e.g){case 0:return rie;case 1:return cie;case 2:return uie;case 3:return oie;case 4:return ZJ;case 5:return sie;default:return null}}function Qc(e,n,t){var i,r;return i=(r=new kX,sg(r,n),Mo(r,t),Et((!e.c&&(e.c=new pe(xp,e,12,10)),e.c),r),r),Dd(i,0),z2(i,1),Rd(i,!0),$d(i,!0),i}function r4(e,n){var t,i;if(n>=e.i)throw R(new EK(n,e.i));return++e.j,t=e.g[n],i=e.i-n-1,i>0&&Wu(e.g,n+1,e.g,n,i),ir(e.g,--e.i,null),e.Oi(n,t),e.Li(),t}function THe(e,n){var t,i;return e.Db>>16==17?e.Cb.Qh(e,21,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Sxn(e){var n,t,i,r;for(En(),Tr(e.c,e.a),r=new P(e.c);r.at.a.c.length))throw R(new Un("index must be >= 0 and <= layer node count"));e.c&&qo(e.c.a,e),e.c=t,t&&Hb(t.a,n,e)}function $He(e,n){this.c=new wt,this.a=e,this.b=n,this.d=u(C(e,(ve(),H3)),316),oe(C(e,(Oe(),l5e)))===oe((lO(),eH))?this.e=new Axe:this.e=new xxe}function Oxn(e,n){var t,i,r,c;for(c=0,i=new P(e);i.a0?n:0),++t;return new Ee(i,r)}function Nxn(e,n){var t,i;for(e.b=0,e.d=new JP,i=new P(n.a);i.a>16==6?e.Cb.Qh(e,6,pr,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),vG)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function qde(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,1,eD,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),$8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Ude(e,n){var t,i;return e.Db>>16==9?e.Cb.Qh(e,9,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),B8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function zHe(e,n){var t,i;return e.Db>>16==5?e.Cb.Qh(e,9,CG,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),i0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function FHe(e,n){var t,i;return e.Db>>16==7?e.Cb.Qh(e,6,Ma,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),c0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Xde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,0,tD,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),t0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Kde(e,n){var t,i;return e.Db>>16==3?e.Cb.Qh(e,12,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),P8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Lxn(e,n,t){var i,r,c;for(t<0&&(t=0),c=e.i,r=t;rRZ)return k8(e,i);if(i==e)return!0}}return!1}function $xn(e){switch(U$(),e.q.g){case 5:Cqe(e,(Ie(),Vn)),Cqe(e,bt);break;case 4:_Ue(e,(Ie(),Vn)),_Ue(e,bt);break;default:PVe(e,(Ie(),Vn)),PVe(e,bt)}}function Rxn(e){switch(U$(),e.q.g){case 5:Xqe(e,(Ie(),nt)),Xqe(e,Yn);break;case 4:UJe(e,(Ie(),nt)),UJe(e,Yn);break;default:$Ve(e,(Ie(),nt)),$Ve(e,Yn)}}function Bxn(e){var n,t;n=u(C(e,(Gf(),Ttn)),15),n?(t=n.a,t==0?he(e,($0(),xJ),new yQ):he(e,($0(),xJ),new WR(t))):he(e,($0(),xJ),new WR(1))}function zxn(e,n){var t;switch(t=e.i,n.g){case 1:return-(e.n.b+e.o.b);case 2:return e.n.a-t.o.a;case 3:return e.n.b-t.o.b;case 4:return-(e.n.a+e.o.a)}return 0}function Fxn(e,n){switch(e.g){case 0:return n==(Xs(),Q1)?qJ:UJ;case 1:return n==(Xs(),Q1)?qJ:iI;case 2:return n==(Xs(),Q1)?iI:UJ;default:return iI}}function JO(e,n){var t,i,r;for(qo(e.a,n),e.e-=n.r+(e.a.c.length==0?0:e.c),r=qee,i=new P(e.a);i.a>16==11?e.Cb.Qh(e,10,Ft,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(Gu(),R8e)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function JHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,11,yf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),r0)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function HHe(e,n){var t,i;return e.Db>>16==10?e.Cb.Qh(e,12,kf,n):(i=Oc(u(Cn((t=u(Kn(e,16),29),t||(jn(),Qm)),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function GHe(e,n){var t,i,r,c,o;if(n)for(r=n.a.length,t=new qb(r),o=(t.b-t.a)*t.c<0?(A0(),xb):new T0(t);o.Ob();)c=u(o.Pb(),15),i=G9(n,c.a),i&&CUe(e,i)}function Kxn(){ise();var e,n;for(gBn((O0(),Bn)),cBn(Bn),ZQ(Bn),Z8e=(jn(),uh),n=new P(s7e);n.a>19,h=n.h>>19,f!=h?h-f:(r=e.h,l=n.h,r!=l?r-l:(i=e.m,o=n.m,i!=o?i-o:(t=e.l,c=n.l,t-c)))}function qHe(e,n,t){var i,r,c,o,l;for(r=e[t.g],l=new P(n.d);l.a0?e.b:0),++t;n.b=i,n.e=r}function UHe(e){var n,t,i;if(i=e.b,jMe(e.i,i.length)){for(t=i.length*2,e.b=le(Wne,mN,308,t,0,1),e.c=le(Wne,mN,308,t,0,1),e.f=t-1,e.i=0,n=e.a;n;n=n.c)YO(e,n,n);++e.g}}function ZE(e,n){return e.b.a=k.Math.min(e.b.a,n.c),e.b.b=k.Math.min(e.b.b,n.d),e.a.a=k.Math.max(e.a.a,n.c),e.a.b=k.Math.max(e.a.b,n.d),qn(e.c,n),!0}function Yxn(e,n,t){var i;i=n.c.i,i.k==(Fn(),dr)?(he(e,(ve(),Sa),u(C(i,Sa),12)),he(e,wf,u(C(i,wf),12))):(he(e,(ve(),Sa),n.c),he(e,wf,t.d))}function j8(e,n,t){O8();var i,r,c,o,l,f;return o=n/2,c=t/2,i=k.Math.abs(e.a),r=k.Math.abs(e.b),l=1,f=1,i>o&&(l=o/i),r>c&&(f=c/r),C1(e,k.Math.min(l,f)),e}function Qxn(){Vz();var e,n;try{if(n=u(u0e((x0(),jf),f7),2075),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hU}function Wxn(){Vz();var e,n;try{if(n=u(u0e((x0(),jf),df),2002),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hw}function Zxn(){V$e();var e,n;try{if(n=u(u0e((x0(),jf),jg),2084),n)return n}catch(t){if(t=sr(t),X(t,101))e=t,Hfe((Lt(),e));else throw R(t)}return new hC}function eAn(e,n,t){var i,r;return r=e.e,e.e=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new Dr(e,1,4,r,n),t?t.lj(i):t=i),r!=n&&(n?t=$8(e,Lz(e,n),t):t=$8(e,e.a,t)),t}function XHe(){o$.call(this),this.e=-1,this.a=!1,this.p=Xr,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=Xr}function nAn(e,n){var t,i,r;if(i=e.b.d.d,e.a||(i+=e.b.d.a),r=n.b.d.d,n.a||(r+=n.b.d.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function tAn(e,n){var t,i,r;if(i=e.b.b.d,e.a||(i+=e.b.b.a),r=n.b.b.d,n.a||(r+=n.b.b.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function iAn(e,n){var t,i,r;if(i=e.b.g.d,e.a||(i+=e.b.g.a),r=n.b.g.d,n.a||(r+=n.b.g.a),t=ji(i,r),t==0){if(!e.a&&n.a)return-1;if(!n.a&&e.a)return 1}return t}function Qde(){Qde=Y,Xtn=Eo(qt(qt(qt(new or,(zr(),no),(Ur(),Zve)),no,e3e),Pc,n3e),Pc,Jve),Vtn=qt(qt(new or,no,Lve),no,Hve),Ktn=Eo(new or,Pc,qve)}function rAn(e){var n,t,i,r,c;for(n=u(C(e,(ve(),dx)),92),c=e.n,i=n.Bc().Jc();i.Ob();)t=u(i.Pb(),318),r=t.i,r.c+=c.a,r.d+=c.b,t.c?vXe(t):yXe(t);he(e,dx,null)}function cAn(e,n,t){var i,r;switch(r=e.b,i=r.d,n.g){case 1:return-i.d-t;case 2:return r.o.a+i.c+t;case 3:return r.o.b+i.a+t;case 4:return-i.b-t;default:return-1}}function KHe(e,n){var t,i;for(i=new P(n);i.a0&&(o=(c&oi)%e.d.length,r=ebe(e,o,c,n),r)?(l=r.ld(t),l):(i=e.ak(c,n,t),e.c.Ec(i),null)}function e0e(e,n){var t,i,r,c;switch(Pd(e,n).Il()){case 3:case 2:{for(t=m3(n),r=0,c=t.i;r=0;i--)if(bn(e[i].d,n)||bn(e[i].d,t)){e.length>=i+1&&e.splice(0,i+1);break}return e}function GO(e,n){var t;return su(e)&&su(n)&&(t=e/n,kN0&&(e.b+=2,e.a+=i):(e.b+=1,e.a+=k.Math.min(i,r))}function nGe(e,n){var t,i;if(i=!1,$r(n)&&(i=!0,$5(e,new O2(Pt(n)))),i||X(n,242)&&(i=!0,$5(e,(t=UK(u(n,242)),new Tv(t)))),!i)throw R(new CX(K2e))}function jAn(e,n,t,i){var r,c,o;return r=new $1(e.e,1,10,(o=n.c,X(o,88)?u(o,29):(jn(),Ef)),(c=t.c,X(c,88)?u(c,29):(jn(),Ef)),Bd(e,n),!1),i?i.lj(r):i=r,i}function i0e(e){var n,t;switch(u(C(_r(e),(Oe(),n5e)),420).g){case 0:return n=e.n,t=e.o,new Ee(n.a+t.a/2,n.b+t.b/2);case 1:return new wc(e.n);default:return null}}function qO(){qO=Y,nH=new Fj(ya,0),N3e=new Fj("LEFTUP",1),D3e=new Fj("RIGHTUP",2),O3e=new Fj("LEFTDOWN",3),I3e=new Fj("RIGHTDOWN",4),lie=new Fj("BALANCED",5)}function EAn(e,n,t){var i,r,c;if(i=ji(e.a[n.p],e.a[t.p]),i==0){if(r=u(C(n,(ve(),$4)),16),c=u(C(t,$4),16),r.Gc(t))return-1;if(c.Gc(n))return 1}return i}function SAn(e){switch(e.g){case 1:return new z_;case 2:return new Bk;case 3:return new Xy;case 0:return null;default:throw R(new Un(Wee+(e.f!=null?e.f:""+e.g)))}}function r0e(e,n,t){switch(n){case 1:!e.n&&(e.n=new pe(Eu,e,1,7)),kt(e.n),!e.n&&(e.n=new pe(Eu,e,1,7)),nr(e.n,u(t,18));return;case 2:W9(e,Pt(t));return}x1e(e,n,t)}function c0e(e,n,t){switch(n){case 3:Rw(e,te(re(t)));return;case 4:Bw(e,te(re(t)));return;case 5:Os(e,te(re(t)));return;case 6:Ns(e,te(re(t)));return}r0e(e,n,t)}function yz(e,n,t){var i,r,c;c=(i=new kX,i),r=Ha(c,n,null),r&&r.mj(),Mo(c,t),Et((!e.c&&(e.c=new pe(xp,e,12,10)),e.c),c),Dd(c,0),z2(c,1),Rd(c,!0),$d(c,!0)}function u0e(e,n){var t,i,r;return t=Rj(e.i,n),X(t,241)?(r=u(t,241),r.wi()==null,r.ti()):X(t,493)?(i=u(t,1999),r=i.b,r):null}function xAn(e,n,t,i){var r,c;return Ot(n),Ot(t),c=u(uE(e.d,n),15),ORe(!!c,"Row %s not in %s",n,e.e),r=u(uE(e.b,t),15),ORe(!!r,"Column %s not in %s",t,e.c),Tze(e,c.a,r.a,i)}function AAn(e){var n,t,i,r,c,o;for(t=null,r=e,c=0,o=r.length;c1||l==-1?(c=u(f,16),r.Wb(lEn(e,c))):r.Wb(FW(e,u(f,57)))))}function DAn(e,n,t,i){MMe();var r=Kne;function c(){for(var o=0;o0)return!1;return!0}function PAn(e){switch(u(C(e.b,(Oe(),Kye)),381).g){case 1:er(So(lu(new pn(null,new yn(e.d,16)),new cw),new o_),new uM);break;case 2:dDn(e);break;case 0:uTn(e)}}function $An(e,n,t){var i,r,c;for(i=t,!i&&(i=new h5),i.Tg("Layout",e.a.c.length),c=new P(e.a);c.aKee)return t;r>-1e-6&&++t}return t}function jz(e,n,t){if(X(n,271))return fNn(e,u(n,85),t);if(X(n,276))return Jxn(e,u(n,276),t);throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function Ez(e,n,t){if(X(n,271))return aNn(e,u(n,85),t);if(X(n,276))return Hxn(e,u(n,276),t);throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[n,t])))))}function s0e(e,n){var t;n!=e.b?(t=null,e.b&&(t=RR(e.b,e,-4,t)),n&&(t=i4(n,e,-4,t)),t=SFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function cGe(e,n){var t;n!=e.f?(t=null,e.f&&(t=RR(e.f,e,-1,t)),n&&(t=i4(n,e,-1,t)),t=xFe(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,0,n,n))}function JAn(e,n,t,i){var r,c,o,l;return Fs(e.e)&&(r=n.Jk(),l=n.kd(),c=t.kd(),o=I0(e,1,r,l,c,r.Hk()?_8(e,r,c,X(r,103)&&(u(r,19).Bb&Ec)!=0):-1,!0),i?i.lj(o):i=o),i}function uGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new kd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function oGe(e){var n,t,i;if(e==null)return null;if(t=u(e,16),t.dc())return"";for(i=new kd,n=t.Jc();n.Ob();)Bc(i,(Si(),Pt(n.Pb()))),i.a+=" ";return jK(i,i.a.length-1)}function HAn(e,n){var t,i,r,c,o;for(c=new P(n.a);c.a0&&rc(e,e.length-1)==33)try{return n=jUe(sf(e,0,e.length-1)),n.e==null}catch(t){if(t=sr(t),!X(t,32))throw R(t)}return!1}function XAn(e,n,t){var i,r,c;switch(i=_r(n),r=VB(i),c=new Qu,wu(c,n),t.g){case 1:Ar(c,_O(e4(r)));break;case 2:Ar(c,e4(r))}return he(c,(Oe(),Tm),re(C(e,Tm))),c}function l0e(e){var n,t;return n=u(rt(new Xn(Qn(cr(e.a).a.Jc(),new ne))),17),t=u(rt(new Xn(Qn(Ii(e.a).a.Jc(),new ne))),17),ze(Be(C(n,(ve(),Xd))))||ze(Be(C(t,Xd)))}function Y2(){Y2=Y,rI=new hT("ONE_SIDE",0),VJ=new hT("TWO_SIDES_CORNER",1),YJ=new hT("TWO_SIDES_OPPOSING",2),KJ=new hT("THREE_SIDES",3),XJ=new hT("FOUR_SIDES",4)}function fGe(e,n){var t,i,r,c;for(c=new Te,r=0,i=n.Jc();i.Ob();){for(t=ye(u(i.Pb(),15).a+r);t.a=e.f)break;qn(c.c,t)}return c}function KAn(e){var n,t;for(t=new P(e.e.b);t.a0&&NHe(this,this.c-1,(Ie(),nt)),this.c0&&e[0].length>0&&(this.c=ze(Be(C(_r(e[0][0]),(ve(),V3e))))),this.a=le(yon,Me,2079,e.length,0,2),this.b=le(kon,Me,2080,e.length,0,2),this.d=new mFe}function WAn(e){return e.c.length==0?!1:(kn(0,e.c.length),u(e.c[0],17)).c.i.k==(Fn(),dr)?!0:Wv(So(new pn(null,new yn(e,16)),new Mk),new h_)}function dGe(e,n){var t,i,r,c,o,l,f;for(l=nm(n),c=n.f,f=n.g,o=k.Math.sqrt(c*c+f*f),r=0,i=new P(l);i.a=0?(t=GO(e,oF),i=AQ(e,oF)):(n=Ub(e,1),t=GO(n,5e8),i=AQ(n,5e8),i=mc(Xh(i,1),Rr(e,1))),wh(Xh(i,32),Rr(t,Dc))}function fMn(e,n,t,i){var r,c,o,l,f;for(r=null,c=0,l=new P(n);l.a1;n>>=1)(n&1)!=0&&(i=Qv(i,t)),t.d==1?t=Qv(t,t):t=new IJe(uKe(t.a,t.d,le($t,ni,30,t.d<<1,15,1)));return i=Qv(i,t),i}function m0e(){m0e=Y;var e,n,t,i;for(Xme=le(Jr,Jc,30,25,15,1),Kme=le(Jr,Jc,30,33,15,1),i=152587890625e-16,n=32;n>=0;n--)Kme[n]=i,i*=.5;for(t=1,e=24;e>=0;e--)Xme[e]=t,t*=.5}function gMn(e){var n,t;if(ze(Be(ke(e,(Oe(),Mm))))){for(t=new Xn(Qn(K0(e).a.Jc(),new ne));ht(t);)if(n=u(rt(t),85),Vw(n)&&ze(Be(ke(n,Cg))))return!0}return!1}function wGe(e){var n,t,i,r;for(n=new xi,t=new xi,r=St(e,0);r.b!=r.d.c;)i=u(jt(r),12),i.e.c.length==0?Ki(t,i,t.c.b,t.c):Ki(n,i,n.c.b,n.c);return Ks(n).Fc(t),n}function pGe(e,n){var t,i,r;hr(e.f,n)&&(n.b=e,i=n.c,pu(e.j,i,0)!=-1||Ce(e.j,i),r=n.d,pu(e.j,r,0)!=-1||Ce(e.j,r),t=n.a.b,t.c.length!=0&&(!e.i&&(e.i=new PJe(e)),G7n(e.i,t)))}function wMn(e){var n,t,i,r,c;return t=e.c.d,i=t.j,r=e.d.d,c=r.j,i==c?t.p=0&&bn(e.substr(n,3),"GMT")||n>=0&&bn(e.substr(n,3),"UTC"))&&(t[0]=n+3),nge(e,t,i)}function mMn(e,n){var t,i,r,c,o;for(c=e.g.a,o=e.g.b,i=new P(e.d);i.at;c--)e[c]|=n[c-t-1]>>>o,e[c-1]=n[c-t-1]<0&&Wu(e.g,n,e.g,n+i,l),o=t.Jc(),e.i+=i,r=0;r>4&15,c=e[i]&15,o[r++]=z8e[t],o[r++]=z8e[c];return vh(o,0,o.length)}function Xo(e){var n,t;return e>=Ec?(n=jN+(e-Ec>>10&1023)&yr,t=56320+(e-Ec&1023)&yr,String.fromCharCode(n)+(""+String.fromCharCode(t))):String.fromCharCode(e&yr)}function CMn(e,n){j2();var t,i,r,c;return r=u(u(vi(e.r,n),22),83),r.gc()>=2?(i=u(r.Jc().Pb(),115),t=e.u.Gc((ps(),oA)),c=e.u.Gc(e6),!i.a&&!t&&(r.gc()==2||c)):!1}function kGe(e,n,t,i,r){var c,o,l;for(c=aXe(e,n,t,i,r),l=!1;!c;)Dz(e,r,!0),l=!0,c=aXe(e,n,t,i,r);l&&Dz(e,r,!1),o=QY(r),o.c.length!=0&&(e.d&&e.d.Fg(o),kGe(e,r,t,i,o))}function Az(){Az=Y,Jre=new S$("NODE_SIZE_REORDERER",0),Bre=new S$("INTERACTIVE_NODE_REORDERER",1),Fre=new S$("MIN_SIZE_PRE_PROCESSOR",2),zre=new S$("MIN_SIZE_POST_PROCESSOR",3)}function Mz(){Mz=Y,Cce=new Uj(ya,0),o8e=new Uj("DIRECTED",1),l8e=new Uj("UNDIRECTED",2),c8e=new Uj("ASSOCIATION",3),s8e=new Uj("GENERALIZATION",4),u8e=new Uj("DEPENDENCY",5)}function TMn(e,n){var t;if(!Pa(e))throw R(new Uc(UWe));switch(t=Pa(e),n.g){case 1:return-(e.j+e.f);case 2:return e.i-t.g;case 3:return e.j-t.f;case 4:return-(e.i+e.g)}return 0}function OMn(e,n,t){var i,r,c;return i=n.Jk(),c=n.kd(),r=i.Hk()?I0(e,4,i,c,null,_8(e,i,c,X(i,103)&&(u(i,19).Bb&Ec)!=0),!0):I0(e,i.rk()?2:1,i,c,i.gk(),-1,!0),t?t.lj(r):t=r,t}function S8(e,n){var t,i;for(Ln(n),i=e.b.c.length,Ce(e.b,n);i>0;){if(t=i,i=(i-1)/2|0,e.a.Le(Le(e.b,i),n)<=0)return ol(e.b,t,n),!0;ol(e.b,t,Le(e.b,i))}return ol(e.b,i,n),!0}function k0e(e,n,t,i){var r,c;if(r=0,t)r=GB(e.a[t.g][n.g],i);else for(c=0;c=l)}function jGe(e){switch(e.g){case 0:return new Q_;case 1:return new BM;default:throw R(new Un("No implementation is available for the width approximator "+(e.f!=null?e.f:""+e.g)))}}function j0e(e,n,t,i){var r;if(r=!1,$r(i)&&(r=!0,D9(n,t,Pt(i))),r||p2(i)&&(r=!0,j0e(e,n,t,i)),r||X(i,242)&&(r=!0,Yb(n,t,u(i,242))),!r)throw R(new CX(K2e))}function IMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=ma((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),hf),r!=null)){for(i=1;i<(ls(),f7e).length;++i)if(bn(f7e[i],r))return i}return 0}function DMn(e,n){var t,i,r;if(t=n.ni(e.a),t&&(r=ma((!t.b&&(t.b=new Hs((jn(),Ac),Du,t)),t.b),hf),r!=null)){for(i=1;i<(ls(),a7e).length;++i)if(bn(a7e[i],r))return i}return 0}function EGe(e,n){var t,i,r,c;if(Ln(n),c=e.a.gc(),c0?1:0;c.a[r]!=t;)c=c.a[r],r=e.a.Le(t.d,c.d)>0?1:0;c.a[r]=i,i.b=t.b,i.a[0]=t.a[0],i.a[1]=t.a[1],t.a[0]=null,t.a[1]=null}function PMn(e){var n,t,i,r;for(n=new Te,t=le(ts,va,30,e.a.c.length,16,1),Bfe(t,t.length),r=new P(e.a);r.a0&&nKe((kn(0,t.c.length),u(t.c[0],25)),e),t.c.length>1&&nKe(u(Le(t,t.c.length-1),25),e),n.Ug()}function RMn(e){ps();var n,t;return n=Ci(nd,F(z(dG,1),je,280,0,[yb])),!(yO(BR(n,e))>1||(t=Ci(oA,F(z(dG,1),je,280,0,[uA,e6])),yO(BR(t,e))>1))}function S0e(e,n){var t;t=lo((x0(),jf),e),X(t,493)?Kc(jf,e,new tTe(this,n)):Kc(jf,e,this),bW(this,n),n==(m9(),W8e)?(this.wb=u(this,2e3),u(n,2002)):this.wb=(O0(),Bn)}function BMn(e){var n,t,i;if(e==null)return null;for(n=null,t=0;tc}function MGe(e,n){var t,i,r;if(A0e(e,n))return!0;for(i=new P(n);i.a=r||n<0)throw R(new jo(Cne+n+yg+r));if(t>=r||t<0)throw R(new jo(Tne+t+yg+r));return n!=t?i=(c=e.Aj(t),e.oj(n,c),c):i=e.vj(t),i}function TGe(e){var n,t,i;if(i=e,e)for(n=0,t=e.Bh();t;t=t.Bh()){if(++n>RZ)return TGe(t);if(i=t,t==e)throw R(new Uc("There is a cycle in the containment hierarchy of "+e))}return i}function Ga(e){var n,t,i;for(i=new rg(To,"[","]"),t=e.Jc();t.Ob();)n=t.Pb(),L1(i,oe(n)===oe(e)?"(this Collection)":n==null?Vo:fu(n));return i.a?i.e.length==0?i.a.a:i.a.a+(""+i.e):i.c}function A0e(e,n){var t,i;if(i=!1,n.gc()<2)return!1;for(t=0;t1&&(e.j.b+=e.e)):(e.j.a+=t.a,e.j.b=k.Math.max(e.j.b,t.b),e.d.c.length>1&&(e.j.a+=e.e))}function U0(){U0=Y,Lin=F(z(xc,1),qu,64,0,[(Ie(),Vn),nt,bt]),_in=F(z(xc,1),qu,64,0,[nt,bt,Yn]),Pin=F(z(xc,1),qu,64,0,[bt,Yn,Vn]),$in=F(z(xc,1),qu,64,0,[Yn,Vn,nt])}function NGe(e){var n,t,i,r,c,o,l,f,h;for(this.a=eHe(e),this.b=new Te,t=e,i=0,r=t.length;iFK(e.d).c?(e.i+=e.g.c,TQ(e.d)):FK(e.d).c>FK(e.g).c?(e.e+=e.d.c,TQ(e.g)):(e.i+=OIe(e.g),e.e+=OIe(e.d),TQ(e.g),TQ(e.d))}function KMn(e,n,t){var i,r,c,o;for(c=n.q,o=n.r,new Qb((ba(),db),n,c,1),new Qb(db,c,o,1),r=new P(t);r.al&&(f=l/i),r>c&&(h=c/r),o=k.Math.min(f,h),e.a+=o*(n.a-e.a),e.b+=o*(n.b-e.b)}function WMn(e,n,t,i,r){var c,o;for(o=!1,c=u(Le(t.b,0),26);nLn(e,n,c,i,r)&&(o=!0,RAn(t,c),t.b.c.length!=0);)c=u(Le(t.b,0),26);return t.b.c.length==0&&JO(t.j,t),o&&pz(n.q),o}function C0e(e,n,t,i){var r,c;return t==0?(!e.o&&(e.o=new os((Gu(),b1),n0,e,0)),Q$(e.o,n,i)):(c=u(Cn((r=u(Kn(e,16),29),r||e.fi()),t),69),c.uk().yk(e,Lo(e),t-dt(e.fi()),n,i))}function bW(e,n){var t;n!=e.sb?(t=null,e.sb&&(t=u(e.sb,52).Qh(e,1,fA,t)),n&&(t=u(n,52).Oh(e,1,fA,t)),t=F1e(e,n,t),t&&t.mj()):(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,4,n,n))}function LGe(e,n){var t,i,r,c;if(n)r=B1(n,"x"),t=new mSe(e),n3(t.a,(Ln(r),r)),c=B1(n,"y"),i=new vSe(e),t3(i.a,(Ln(c),c));else throw R(new ah("All edge sections need an end point."))}function PGe(e,n){var t,i,r,c;if(n)r=B1(n,"x"),t=new gSe(e),i3(t.a,(Ln(r),r)),c=B1(n,"y"),i=new wSe(e),r3(i.a,(Ln(c),c));else throw R(new ah("All edge sections need a start point."))}function ZMn(e,n){var t,i,r,c,o,l,f;for(i=tFe(e),c=0,l=i.length;c>22-n,r=e.h<>22-n):n<44?(t=0,i=e.l<>44-n):(t=0,i=0,r=e.l<=Jd?"error":i>=900?"warn":i>=800?"info":"log"),EDe(t,e.a),e.b&&Tbe(n,t,e.b,"Exception: ",!0))}function zGe(e,n){var t,i,r,c,o;for(r=n==1?Cte:Mte,i=r.a.ec().Jc();i.Ob();)for(t=u(i.Pb(),86),o=u(vi(e.f.c,t),22).Jc();o.Ob();)c=u(o.Pb(),49),Ce(e.b.b,u(c.b,82)),Ce(e.b.a,u(c.b,82).d)}function FGe(e,n,t,i){var r,c,o,l,f;switch(f=e.b,c=n.d,o=c.j,l=Mde(o,f.d[o.g],t),r=pi(pc(c.n),c.a),c.j.g){case 3:case 1:l.a+=r.a;break;case 2:l.b+=r.b;break;case 4:l.b+=r.b}Ki(i,l,i.c.b,i.c)}function iCn(e,n){var t,i,r,c;for(c=n.b.j,e.a=le($t,ni,30,c.c.length,15,1),r=0,i=0;ie)throw R(new Un("k must be smaller than n"));return n==0||n==e?1:e==0?0:n0e(e)/(n0e(n)*n0e(e-n))}function T0e(e,n){var t,i,r,c;for(t=new MK(e);t.g==null&&!t.c?yae(t):t.g==null||t.i!=0&&u(t.g[t.i-1],50).Ob();)if(c=u(_z(t),57),X(c,174))for(i=u(c,174),r=0;r>4],n[t*2+1]=DG[c&15];return vh(n,0,n.length)}function wCn(e){var n,t,i;switch(i=e.c.length,i){case 0:return OV(),enn;case 1:return n=u(Eqe(new P(e)),45),Vpn(n.jd(),n.kd());default:return t=u(Fa(e,le(Eg,cF,45,e.c.length,0,1)),175),new cse(t)}}function zd(e,n){switch(n.g){case 1:return N5(e.j,(ss(),Mve));case 2:return N5(e.j,(ss(),xve));case 3:return N5(e.j,(ss(),Tve));case 4:return N5(e.j,(ss(),Ove));default:return En(),En(),Sc}}function pCn(e,n){var t,i,r;t=Gvn(n,e.e),i=u(zn(e.g.f,t),15).a,r=e.a.c.length-1,e.a.c.length!=0&&u(Le(e.a,r),295).c==i?(++u(Le(e.a,r),295).a,++u(Le(e.a,r),295).b):Ce(e.a,new _Oe(i))}function X0(){X0=Y,oln=(Xt(),Y4),sln=Zd,iln=Lg,rln=ry,cln=wb,tln=iy,Q4e=zI,uln=Fm,Dre=(Ube(),qsn),_re=Usn,Z4e=Ysn,Lre=Zsn,e6e=Qsn,n6e=Wsn,W4e=Xsn,UH=Ksn,XH=Vsn,TI=eln,t6e=nln,Y4e=Gsn}function HGe(e,n){var t,i,r,c,o;if(e.e<=n||E4n(e,e.g,n))return e.g;for(c=e.r,i=e.g,o=e.r,r=(c-i)/2+i;i+11&&(e.e.b+=e.a)):(e.e.a+=t.a,e.e.b=k.Math.max(e.e.b,t.b),e.d.c.length>1&&(e.e.a+=e.a))}function yCn(e){var n,t,i,r;switch(r=e.i,n=r.b,i=r.j,t=r.g,r.a.g){case 0:t.a=(e.g.b.o.a-i.a)/2;break;case 1:t.a=n.d.n.a+n.d.a.a;break;case 2:t.a=n.d.n.a+n.d.a.a-i.a;break;case 3:t.b=n.d.n.b+n.d.a.b}}function kCn(e,n,t){var i,r,c;for(r=new Xn(Qn(mh(t).a.Jc(),new ne));ht(r);)i=u(rt(r),17),!uc(i)&&!(!uc(i)&&i.c.i.c==i.d.i.c)&&(c=$Ue(e,i,t,new Sxe),c.c.length>1&&qn(n.c,c))}function UGe(e,n,t,i,r){if(ii&&(e.a=i),e.br&&(e.b=r),e}function jCn(e){if(X(e,144))return HNn(u(e,144));if(X(e,233))return eEn(u(e,233));if(X(e,21))return nCn(u(e,21));throw R(new Un(a7+Ga(new Su(F(z(Mr,1),Nn,1,5,[e])))))}function ECn(e,n,t,i,r){var c,o,l;for(c=!0,o=0;o>>r|t[o+i+1]<>>r,++o}return c}function D0e(e,n,t,i){var r,c,o;if(n.k==(Fn(),dr)){for(c=new Xn(Qn(cr(n).a.Jc(),new ne));ht(c);)if(r=u(rt(c),17),o=r.c.i.k,o==dr&&e.c.a[r.c.i.c.p]==i&&e.c.a[n.c.p]==t)return!0}return!1}function SCn(e,n){var t,i,r,c;return n&=63,t=e.h&U1,n<22?(c=t>>>n,r=e.m>>n|t<<22-n,i=e.l>>n|e.m<<22-n):n<44?(c=0,r=t>>>n-22,i=e.m>>n-22|e.h<<44-n):(c=0,r=0,i=t>>>n-44),_o(i&Ls,r&Ls,c&U1)}function XGe(e,n,t,i){var r;this.b=i,this.e=e==(og(),Dx),r=n[t],this.d=x2(ts,[Me,va],[171,30],16,[r.length,r.length],2),this.a=x2($t,[Me,ni],[54,30],15,[r.length,r.length],2),this.c=new b0e(n,t)}function xCn(e){var n,t,i;for(e.k=new Aae((Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,e.j.c.length),i=new P(e.j);i.a=t)return A8(e,n,i.p),!0;return!1}function b3(e,n,t,i){var r,c,o,l,f,h;for(o=t.length,c=0,r=-1,h=WRe((Wn(n,e.length+1),e.substr(n)),(VK(),qme)),l=0;lc&&L3n(h,WRe(t[l],qme))&&(r=l,c=f);return r>=0&&(i[0]=n+c),r}function CCn(e,n,t){var i,r,c,o,l,f,h,g;c=e.d.p,l=c.e,f=c.r,e.g=new _T(f),o=e.d.o.c.p,i=o>0?l[o-1]:le(s1,Hd,9,0,0,1),r=l[o],h=ot?H0e(e,t,"start index"):n<0||n>t?H0e(n,t,"end index"):fS("end index (%s) must not be less than start index (%s)",F(z(Mr,1),Nn,1,5,[ye(n),ye(e)]))}function WGe(e,n){var t,i,r,c;for(i=0,r=e.length;i0&&ZGe(e,c,t));n.p=0}function ICn(e){var n,t,i,r;for(n=Kb(Kt(new il("Predicates."),"and"),40),t=!0,r=new qc(e);r.b=0?e.hi(r):X0e(e,i);else throw R(new Un(ib+i.ve()+zS));else throw R(new Un(iZe+n+rZe));else Jl(e,t,i)}function _0e(e){var n,t;if(t=null,n=!1,X(e,210)&&(n=!0,t=u(e,210).a),n||X(e,265)&&(n=!0,t=""+u(e,265).a),n||X(e,479)&&(n=!0,t=""+u(e,479).a),!n)throw R(new CX(K2e));return t}function L0e(e,n,t){var i,r,c,o,l,f;for(f=Po(e.e.Ah(),n),i=0,l=e.i,r=u(e.g,122),o=0;o=e.d.b.c.length&&(n=new Xu(e.d),n.p=i.p-1,Ce(e.d.b,n),t=new Xu(e.d),t.p=i.p,Ce(e.d.b,t)),Or(i,u(Le(e.d.b,i.p),25))}function LCn(e){var n,t,i,r;for(t=new xi,ac(t,e.o),i=new JP;t.b!=0;)n=u(t.b==0?null:(at(t.b!=0),Rl(t,t.a.a)),500),r=HVe(e,n,!0),r&&Ce(i.a,n);for(;i.a.c.length!=0;)n=u(N1e(i),500),HVe(e,n,!1)}function qe(e){var n;this.c=new xi,this.f=e.e,this.e=e.d,this.i=e.g,this.d=e.c,this.b=e.b,this.k=e.j,this.a=e.a,e.i?this.j=e.i:this.j=(n=u(fa(eh),10),new Ll(n,u(_f(n,n.length),10),0)),this.g=e.f}function hg(){hg=Y,l9e=new k5(xS,0),xr=new k5("BOOLEAN",1),dc=new k5("INT",2),K4=new k5("STRING",3),ec=new k5("DOUBLE",4),Bi=new k5("ENUM",5),X4=new k5("ENUMSET",6),nh=new k5("OBJECT",7)}function nS(e,n){var t,i,r,c,o;i=k.Math.min(e.c,n.c),c=k.Math.min(e.d,n.d),r=k.Math.max(e.c+e.b,n.c+n.b),o=k.Math.max(e.d+e.a,n.d+n.a),r=(r/2|0))for(this.e=i?i.c:null,this.d=r;t++0;)Ahe(this);this.b=n,this.a=null}function RCn(e,n){var t,i;n.a?oIn(e,n):(t=u(BX(e.b,n.b),60),t&&t==e.a[n.b.f]&&t.a&&t.a!=n.b.a&&t.c.Ec(n.b),i=u(RX(e.b,n.b),60),i&&e.a[i.f]==n.b&&i.a&&i.a!=n.b.a&&n.b.c.Ec(i),DK(e.b,n.b))}function uqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.b=0,t.n.c=0;return}t.n.b=e.C.b,t.n.c=e.C.c,e.A.Gc((Vs(),$g))&&PXe(e,n),i=ESn(e,n),NW(e,n)==(l3(),mb)&&(i+=2*e.w),t.a.a=i}function oqe(e,n){var t,i;if(t=u(zc(e.b,n),127),u(u(vi(e.r,n),22),83).dc()){t.n.d=0,t.n.a=0;return}t.n.d=e.C.d,t.n.a=e.C.a,e.A.Gc((Vs(),$g))&&$Xe(e,n),i=jSn(e,n),NW(e,n)==(l3(),mb)&&(i+=2*e.w),t.a.b=i}function BCn(e,n){var t,i,r,c;for(c=new Te,i=new P(n);i.ai&&(Wn(n-1,e.length),e.charCodeAt(n-1)<=32);)--n;return i>0||nt.a&&(i.Gc((ag(),Yx))?r=(n.a-t.a)/2:i.Gc(Qx)&&(r=n.a-t.a)),n.b>t.b&&(i.Gc((ag(),Zx))?c=(n.b-t.b)/2:i.Gc(Wx)&&(c=n.b-t.b)),E0e(e,r,c)}function hqe(e,n,t,i,r,c,o,l,f,h,g,p,y){X(e.Cb,88)&&Z2(Ms(u(e.Cb,88)),4),Mo(e,t),e.f=o,b8(e,l),g8(e,f),h8(e,h),d8(e,g),Rd(e,p),w8(e,y),$d(e,!0),Dd(e,r),e.Xk(c),sg(e,n),i!=null&&(e.i=null,CB(e,i))}function H0e(e,n,t){if(e<0)return fS(dYe,F(z(Mr,1),Nn,1,5,[t,ye(e)]));if(n<0)throw R(new Un(bYe+n));return fS("%s (%s) must not be greater than size (%s)",F(z(Mr,1),Nn,1,5,[t,ye(e),ye(n)]))}function G0e(e,n,t,i,r,c){var o,l,f,h;if(o=i-t,o<7){Xjn(n,t,i,c);return}if(f=t+r,l=i+r,h=f+(l-f>>1),G0e(n,e,f,h,-r,c),G0e(n,e,h,l,-r,c),c.Le(e[h-1],e[h])<=0){for(;t=0?e.$h(c,t):jbe(e,r,t);else throw R(new Un(ib+r.ve()+zS));else throw R(new Un(iZe+n+rZe));else Hl(e,i,r,t)}function dqe(e){var n,t;if(e.f){for(;e.n>0;){if(n=u(e.k.Xb(e.n-1),75),t=n.Jk(),X(t,103)&&(u(t,19).Bb&Ru)!=0&&(!e.e||t.nk()!=Q7||t.Jj()!=0)&&n.kd()!=null)return!0;--e.n}return!1}else return e.n>0}function bqe(e){var n,t,i,r;if(t=u(e,52).Yh(),t)try{if(i=null,n=C8((x0(),jf),cKe(nEn(t))),n&&(r=n.Zh(),r&&(i=r.Dl(Hbn(t.e)))),i&&i!=e)return bqe(i)}catch(c){if(c=sr(c),!X(c,63))throw R(c)}return e}function nTn(e,n,t){var i,r,c;t.Tg("Remove overlaps",1),t.bh(n,Wpe),i=u(ke(n,(Xv(),W3)),26),e.f=i,e.a=RQ(u(ke(n,(X0(),TI)),303)),r=re(ke(n,(Xt(),Zd))),u5(e,(Ln(r),r)),c=nm(i),AVe(e,n,c,t),t.bh(n,BF)}function tTn(e){var n,t,i;if(ze(Be(ke(e,(Xt(),RI))))){for(i=new Te,t=new Xn(Qn(K0(e).a.Jc(),new ne));ht(t);)n=u(rt(t),85),Vw(n)&&ze(Be(ke(n,wce)))&&qn(i.c,n);return i}else return En(),En(),Sc}function gqe(e){if(!e)return oAe(),cnn;var n=e.valueOf?e.valueOf():e;if(n!==e){var t=rte[typeof n];return t?t(n):H1e(typeof n)}else return e instanceof Array||e instanceof k.Array?new u9(e):new s9(e)}function wqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=iS(i),r.a=tS(i),r.b=k.Math.max(r.b,c.a),r.b>c.a&&!n&&(r.b=c.a),r.c=-(r.b-c.a)/2,t.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}GW(i),qW(i)}function pqe(e,n,t){var i,r,c;switch(c=e.o,i=u(zc(e.p,t),253),r=i.i,r.b=iS(i),r.a=tS(i),r.a=k.Math.max(r.a,c.b),r.a>c.b&&!n&&(r.a=c.b),r.d=-(r.a-c.b)/2,t.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}GW(i),qW(i)}function iTn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=J5(n),r?k.Math.max(0,e.b/2-.5):(t=Yv(n),t?(i=te(re(X2(t,(Oe(),Ig)))),k.Math.max(0,i/2-.5)):Vi))}function rTn(e,n){var t,i,r;return X(n.g,9)&&u(n.g,9).k==(Fn(),wr)?Vi:(r=J5(n),r?k.Math.max(0,e.b/2-.5):(t=Yv(n),t?(i=te(re(X2(t,(Oe(),Ig)))),k.Math.max(0,i/2-.5)):Vi))}function cTn(e,n){var t,i,r,c,o;if(!n.dc()){if(r=u(n.Xb(0),132),n.gc()==1){nXe(e,r,r,1,0,n);return}for(t=1;t0)try{r=hl(n,Xr,oi)}catch(c){throw c=sr(c),X(c,131)?(i=c,R(new aB(i))):R(c)}return t=(!e.a&&(e.a=new dX(e)),e.a),r=0?u(K(t,r),57):null}function sTn(e,n){if(e<0)return fS(dYe,F(z(Mr,1),Nn,1,5,["index",ye(e)]));if(n<0)throw R(new Un(bYe+n));return fS("%s (%s) must be less than size (%s)",F(z(Mr,1),Nn,1,5,["index",ye(e),ye(n)]))}function lTn(e){var n,t,i,r,c;if(e==null)return Vo;for(c=new rg(To,"[","]"),t=e,i=0,r=t.length;i=0?e.Ih(t,!0,!0):Yw(e,r,!0),163)),u(i,219).Xl(n);else throw R(new Un(ib+n.ve()+zS))}function K0e(e){var n,t;return e>-0x800000000000&&e<0x800000000000?e==0?0:(n=e<0,n&&(e=-e),t=lc(k.Math.floor(k.Math.log(e)/.6931471805599453)),(!n||e!=k.Math.pow(2,t))&&++t,t):PFe(Lu(e))}function yTn(e){var n,t,i,r,c,o,l;for(c=new Hh,t=new P(e);t.a2&&l.e.b+l.j.b<=2&&(r=l,i=o),c.a.yc(r,c),r.q=i);return c}function kTn(e,n,t){t.Tg("Eades radial",1),t.bh(n,BF),e.d=u(ke(n,(Xv(),W3)),26),e.c=te(re(ke(n,(X0(),XH)))),e.e=RQ(u(ke(n,TI),303)),e.a=uEn(u(ke(n,t6e),426)),e.b=SAn(u(ke(n,W4e),354)),sAn(e),t.bh(n,BF)}function jTn(e,n){if(n.Tg("Target Width Setter",1),ga(e,(qa(),Kre)))Ei(e,(Zh(),$m),re(ke(e,Kre)));else throw R(new yd("A target width has to be set if the TargetWidthWidthApproximator should be used."));n.Ug()}function Sqe(e,n){var t,i,r;return i=new Ja(e),Pu(i,n),he(i,(ve(),sH),n),he(i,(Oe(),Zi),(Br(),to)),he(i,Dh,(Wh(),cG)),Cf(i,(Fn(),wr)),t=new Qu,wu(t,i),Ar(t,(Ie(),Yn)),r=new Qu,wu(r,i),Ar(r,nt),i}function xqe(e,n){var t,i,r,c,o;for(e.c[n.p]=!0,Ce(e.a,n),o=new P(n.j);o.a=c)o.$b();else for(r=o.Jc(),i=0;i0?Doe():o<0&&Oqe(e,n,-o),!0):!1}function tS(e){var n,t,i,r,c,o,l;if(l=0,e.b==0){for(o=sHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}else l=bAe(HY(N2(li(vV(e.a),new sd),new Np)));return l>0?l+e.n.d+e.n.a:0}function iS(e){var n,t,i,r,c,o,l;if(l=0,e.b==0)l=bAe(HY(N2(li(vV(e.a),new my),new a0)));else{for(o=lHe(e,!0),n=0,i=o,r=0,c=i.length;r0&&(l+=t,++n);n>1&&(l+=e.c*(n-1))}return l>0?l+e.n.b+e.n.c:0}function CTn(e){var n,t;if(e.c.length!=2)throw R(new Uc("Order only allowed for two paths."));n=(kn(0,e.c.length),u(e.c[0],17)),t=(kn(1,e.c.length),u(e.c[1],17)),n.d.i!=t.c.i&&(e.c.length=0,qn(e.c,t),qn(e.c,n))}function Nqe(e,n,t){var i;for(jw(t,n.g,n.f),Dl(t,n.i,n.j),i=0;i<(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i;i++)Nqe(e,u(K((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a),i),26),u(K((!t.a&&(t.a=new pe(Ft,t,10,11)),t.a),i),26))}function TTn(e,n){var t,i,r,c;for(c=u(zc(e.b,n),127),t=c.a,r=u(u(vi(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.c&&(t.a=k.Math.max(t.a,mfe(i.c)));if(t.a>0)switch(n.g){case 2:c.n.c=e.s;break;case 4:c.n.b=e.s}}function OTn(e,n){var t,i,r;return t=u(C(n,(Gf(),O4)),15).a-u(C(e,O4),15).a,t==0?(i=Nr(pc(u(C(e,($0(),ZN)),8)),u(C(e,rx),8)),r=Nr(pc(u(C(n,ZN),8)),u(C(n,rx),8)),ji(i.a*i.b,r.a*r.b)):t}function NTn(e,n){var t,i,r;return t=u(C(n,(Mu(),JH)),15).a-u(C(e,JH),15).a,t==0?(i=Nr(pc(u(C(e,(Ti(),AI)),8)),u(C(e,B7),8)),r=Nr(pc(u(C(n,AI),8)),u(C(n,B7),8)),ji(i.a*i.b,r.a*r.b)):t}function Iqe(e){var n,t;return t=new j0,t.a+="e_",n=K7n(e),n!=null&&(t.a+=""+n),e.c&&e.d&&(Kt((t.a+=" ",t),vz(e.c)),Kt(uo((t.a+="[",t),e.c.i),"]"),Kt((t.a+=nee,t),vz(e.d)),Kt(uo((t.a+="[",t),e.d.i),"]")),t.a}function Dqe(e){switch(e.g){case 0:return new DU;case 1:return new hP;case 2:return new _U;case 3:return new TC;default:throw R(new Un("No implementation is available for the layout phase "+(e.f!=null?e.f:""+e.g)))}}function Q0e(e,n,t,i,r){var c;switch(c=0,r.g){case 1:c=k.Math.max(0,n.b+e.b-(t.b+i));break;case 3:c=k.Math.max(0,-e.b-i);break;case 2:c=k.Math.max(0,-e.a-i);break;case 4:c=k.Math.max(0,n.a+e.a-(t.a+i))}return c}function _qe(e,n,t){var i,r,c,o,l;if(t)for(r=t.a.length,i=new qb(r),l=(i.b-i.a)*i.c<0?(A0(),xb):new T0(i);l.Ob();)o=u(l.Pb(),15),c=G9(t,o.a),H2e in c.a||Ane in c.a?LDn(e,c,n):tBn(e,c,n),spn(u(zn(e.c,m8(c)),85))}function W0e(e){var n,t;switch(e.b){case-1:return!0;case 0:return t=e.t,t>1||t==-1?(e.b=-1,!0):(n=af(e),n&&(Tc(),n.jk()==uen)?(e.b=-1,!0):(e.b=1,!1));default:case 1:return!1}}function Z0e(e,n){var t,i,r,c;if(fi(e),e.c!=0||e.a!=123)throw R(new Bt(Ht((Lt(),CZe))));if(c=n==112,i=e.d,t=A9(e.i,125,i),t<0)throw R(new Bt(Ht((Lt(),TZe))));return r=sf(e.i,i,t),e.d=t+1,H$e(r,c,(e.e&512)==512)}function ITn(e){var n,t,i,r,c,o,l;for(l=Gh(e.c.length),r=new P(e);r.a=0&&i=0?e.Ih(t,!0,!0):Yw(e,r,!0),163)),u(i,219).Ul(n);throw R(new Un(ib+n.ve()+pne))}function _Tn(){ise();var e;return uhn?u(C8((x0(),jf),df),2e3):(ti(Eg,new PL),S$n(),e=u(X(lo((x0(),jf),df),548)?lo(jf,df):new $De,548),uhn=!0,EBn(e),TBn(e),ei((tse(),Q8e),e,new Av),Kc(jf,df,e),e)}function LTn(e,n){var t,i,r,c;e.j=-1,Fs(e.e)?(t=e.i,c=e.i!=0,nO(e,n),i=new $1(e.e,3,e.c,null,n,t,c),r=n.xl(e.e,e.c,null),r=aGe(e,n,r),r?(r.lj(i),r.mj()):hi(e.e,i)):(nO(e,n),r=n.xl(e.e,e.c,null),r&&r.mj())}function Nz(e,n){var t,i,r;if(r=0,i=n[0],i>=e.length)return-1;for(t=(Wn(i,e.length),e.charCodeAt(i));t>=48&&t<=57&&(r=r*10+(t-48),++i,!(i>=e.length));)t=(Wn(i,e.length),e.charCodeAt(i));return i>n[0]?n[0]=i:r=-1,r}function PTn(e,n,t){var i,r,c,o,l;o=e.c,l=e.d,c=mu(F(z(Lr,1),Me,8,0,[o.i.n,o.n,o.a])).b,r=(c+mu(F(z(Lr,1),Me,8,0,[l.i.n,l.n,l.a])).b)/2,i=null,o.j==(Ie(),nt)?i=new Ee(n+o.i.c.c.a+t,r):i=new Ee(n-t,r),M9(e.a,0,i)}function Vw(e){var n,t,i,r;for(n=null,i=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!e.b&&(e.b=new In(mt,e,4,7)),e.b),(!e.c&&(e.c=new In(mt,e,5,8)),e.c)])));ht(i);)if(t=u(rt(i),84),r=iu(t),!n)n=r;else if(n!=r)return!1;return!0}function EW(e,n,t){var i;if(++e.j,n>=e.i)throw R(new jo(Cne+n+yg+e.i));if(t>=e.i)throw R(new jo(Tne+t+yg+e.i));return i=e.g[t],n!=t&&(n>16),n=i>>16&16,t=16-n,e=e>>n,i=e-256,n=i>>16&8,t+=n,e<<=n,i=e-sm,n=i>>16&4,t+=n,e<<=n,i=e-Sh,n=i>>16&2,t+=n,e<<=n,i=e>>14,n=i&~(i>>1),t+2-n)}function $Tn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.c.g==e.g&&oe(C(t.b,(Mu(),Lh)))!==oe(C(t.c,Lh))&&!Wv(new pn(null,new yn(r,16)),new $Ee(t))&&qn(r.c,t);return Tr(r,new Dk),r}function Pqe(e,n,t){var i,r,c,o;return X(n,155)&&X(t,155)?(c=u(n,155),o=u(t,155),e.a[c.a][o.a]+e.a[o.a][c.a]):X(n,251)&&X(t,251)&&(i=u(n,251),r=u(t,251),i.a==r.a)?u(C(r.a,(Gf(),O4)),15).a:0}function $qe(e,n){var t,i,r,c,o,l,f,h;for(h=te(re(C(n,(Oe(),Ax)))),f=e[0].n.a+e[0].o.a+e[0].d.c+h,l=1;l=0?t:(l=wE(Nr(new Ee(o.c+o.b/2,o.d+o.a/2),new Ee(c.c+c.b/2,c.d+c.a/2))),-(bKe(c,o)-1)*l)}function BTn(e,n,t){var i;er(new pn(null,(!t.a&&(t.a=new pe($i,t,6,6)),new yn(t.a,16))),new RCe(e,n)),er(new pn(null,(!t.n&&(t.n=new pe(Eu,t,1,7)),new yn(t.n,16))),new BCe(e,n)),i=u(ke(t,(Xt(),ty)),78),i&&n1e(i,e,n)}function Yw(e,n,t){var i,r,c;if(c=v3((ls(),nc),e.Ah(),n),c)return Tc(),u(c,69).vk()||(c=F5(Vc(nc,c))),r=(i=e.Fh(c),u(i>=0?e.Ih(i,!0,!0):Yw(e,c,!0),163)),u(r,219).Ql(n,t);throw R(new Un(ib+n.ve()+pne))}function ebe(e,n,t,i){var r,c,o,l,f;if(r=e.d[n],r){if(c=r.g,f=r.i,i!=null){for(l=0;l=t&&(i=n,h=(f.c+f.a)/2,o=h-t,f.c<=h-t&&(r=new WK(f.c,o),Hb(e,i++,r)),l=h+t,l<=f.a&&(c=new WK(l,f.a),_2(i,e.c.length),Bj(e.c,i,c)))}function Fqe(e,n,t){var i,r,c,o,l,f;if(!n.dc()){for(r=new xi,f=n.Jc();f.Ob();)for(l=u(f.Pb(),40),ei(e.a,ye(l.g),ye(t)),o=(i=St(new A1(l).a.d,0),new Nv(i));nT(o.a);)c=u(jt(o.a),65).c,Ki(r,c,r.c.b,r.c);Fqe(e,r,t+1)}}function nbe(e){var n;if(!e.c&&e.g==null)e.d=e._i(e.f),Et(e,e.d),n=e.d;else{if(e.g==null)return!0;if(e.i==0)return!1;n=u(e.g[e.i-1],50)}return n==e.b&&null.Tm>=null.Sm()?(_z(e),nbe(e)):n.Ob()}function Jqe(e){if(this.a=e,e.c.i.k==(Fn(),wr))this.c=e.c,this.d=u(C(e.c.i,(ve(),Iu)),64);else if(e.d.i.k==wr)this.c=e.d,this.d=u(C(e.d.i,(ve(),Iu)),64);else throw R(new Un("Edge "+e+" is not an external edge."))}function Hqe(e,n){var t,i,r;r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,r,e.b)),n?n!=e&&(Mo(e,n.zb),IY(e,n.d),t=(i=n.c,i??n.zb),_Y(e,t==null||bn(t,n.zb)?null:t)):(Mo(e,null),IY(e,0),_Y(e,null))}function Gqe(e){!tte&&(tte=NRn());var n=e.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 x5n(t)});return'"'+n+'"'}function tbe(e,n,t,i,r,c){var o,l,f,h,g;if(r!=0)for(oe(e)===oe(t)&&(e=e.slice(n,n+r),n=0),f=t,l=n,h=n+r;l=o)throw R(new S2(n,o));return r=t[n],o==1?i=null:(i=le(Bce,_ne,415,o-1,0,1),Wu(t,0,i,0,n),c=o-n-1,c>0&&Wu(t,n+1,i,n,c)),y8(e,i),aqe(e,n,r),r}function qqe(e){var n,t;if(e.f){for(;e.n0)for(o=e.c.d,l=e.d.d,r=C1(Nr(new Ee(l.a,l.b),o),1/(i+1)),c=new Ee(o.a,o.b),t=new P(e.a);t.a0?c=e4(t):c=_O(e4(t))),Ei(n,D7,c)}function Yqe(e,n){var t,i;if(e.c.length!=0){if(e.c.length==2)h4((kn(0,e.c.length),u(e.c[0],9)),(al(),a1)),h4((kn(1,e.c.length),u(e.c[1],9)),pb);else for(i=new P(e);i.a0&&rN(e,t,n),c):i.a!=null?(rN(e,n,t),-1):r.a!=null?(rN(e,t,n),1):0}function Qqe(e){UV();var n,t,i,r,c,o,l;for(t=new L0,r=new P(e.e.b);r.a=0;)i=t[c],o.$l(i.Jk())&&Et(r,i);!KVe(e,r)&&Fs(e.e)&&d9(e,n.Hk()?I0(e,6,n,(En(),Sc),null,-1,!1):I0(e,n.rk()?2:1,n,null,null,-1,!1))}function VTn(e,n){var t,i,r,c,o;return e.a==(x8(),fx)?!0:(c=n.a.c,t=n.a.c+n.a.b,!(n.j&&(i=n.A,o=i.c.c.a-i.o.a/2,r=c-(i.n.a+i.o.a),r>o)||n.q&&(i=n.C,o=i.c.c.a-i.o.a/2,r=i.n.a-t,r>o)))}function Zqe(e,n,t){var i,r,c,o,l,f;for(i=0,f=t,n||(i=t*(e.c.length-1),f*=-1),c=new P(e);c.a=0?e.xh(null):e.Mh().Qh(e,-1-n,null,null)),e.yh(u(r,52),t),i&&i.mj(),e.sh()&&e.th()&&t>-1&&hi(e,new Dr(e,9,t,c,r)),r):c}function ube(e,n){var t,i,r,c,o;for(c=e.b.Ae(n),i=(t=e.a.get(c),t??le(Mr,Nn,1,0,5,1)),o=0;o>5,r>=e.d)return e.e<0;if(t=e.a[r],n=1<<(n&31),e.e<0){if(i=rze(e),r>16)),16).bd(c),l0&&(!(M1(e.a.c)&&n.n.d)&&!(Fv(e.a.c)&&n.n.b)&&(n.g.d+=k.Math.max(0,i/2-.5)),!(M1(e.a.c)&&n.n.a)&&!(Fv(e.a.c)&&n.n.c)&&(n.g.a-=i-1))}function hUe(e,n,t){var i,r,c,o,l,f;c=u(Le(n.e,0),17).c,i=c.i,r=i.k,f=u(Le(t.g,0),17).d,o=f.i,l=o.k,r==(Fn(),dr)?he(e,(ve(),Sa),u(C(i,Sa),12)):he(e,(ve(),Sa),c),l==dr?he(e,(ve(),wf),u(C(o,wf),12)):he(e,(ve(),wf),f)}function dUe(e,n){var t,i,r,c,o,l;for(c=new P(e.b);c.a>n,c=e.m>>n|t<<22-n,r=e.l>>n|e.m<<22-n):n<44?(o=i?U1:0,c=t>>n-22,r=e.m>>n-22|t<<44-n):(o=i?U1:0,c=i?Ls:0,r=t>>n-44),_o(r&Ls,c&Ls,o&U1)}function bUe(e,n){var t,i,r,c,o,l,f,h,g;if(e.a.f>0&&X(n,45)&&(e.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Dle(e.a,c),t=e.a.d[o],t)){for(i=u(t.g,374),g=t.i,l=0;l=2)for(t=r.Jc(),n=re(t.Pb());t.Ob();)c=n,n=re(t.Pb()),i=k.Math.min(i,(Ln(n),n-(Ln(c),c)));return i}function mOn(e,n){var t,i,r;for(r=new Te,i=St(n.a,0);i.b!=i.d.c;)t=u(jt(i),65),t.b.g==e.g&&!bn(t.b.c,$F)&&oe(C(t.b,(Mu(),Lh)))!==oe(C(t.c,Lh))&&!Wv(new pn(null,new yn(r,16)),new REe(t))&&qn(r.c,t);return Tr(r,new sw),r}function vOn(e,n){var t,i,r;if(oe(n)===oe(Ot(e)))return!0;if(!X(n,16)||(i=u(n,16),r=e.gc(),r!=i.gc()))return!1;if(X(i,59)){for(t=0;t0&&(r=t),o=new P(e.f.e);o.a0?r+=n:r+=1;return r}function MOn(e,n){var t,i,r,c,o,l,f,h,g,p;h=e,f=kE(h,"individualSpacings"),f&&(i=ga(n,(Xt(),Q4)),o=!i,o&&(r=new H6,Ei(n,Q4,r)),l=u(ke(n,Q4),379),p=f,c=null,p&&(c=(g=zY(p,le(Je,Me,2,0,6,1)),new $X(p,g))),c&&(t=new VCe(p,l),cc(c,t)))}function COn(e,n){var t,i,r,c,o,l,f,h,g,p,y;return f=null,p=e,g=null,(dZe in p.a||bZe in p.a||UF in p.a)&&(h=null,y=a1e(n),o=kE(p,dZe),t=new jSe(y),tJe(t.a,o),l=kE(p,bZe),i=new NSe(y),iJe(i.a,l),c=Pw(p,UF),r=new _Se(y),h=(lGe(r.a,c),c),g=h),f=g,f}function TOn(e,n){var t,i,r;if(n===e)return!0;if(X(n,540)){if(r=u(n,833),e.a.d!=r.a.d||Kv(e).gc()!=Kv(r).gc())return!1;for(i=Kv(r).Jc();i.Ob();)if(t=u(i.Pb(),416),hLe(e,t.a.jd())!=u(t.a.kd(),18).gc())return!1;return!0}return!1}function OOn(e,n){var t,i,r,c;for(c=new P(n.a);c.an.c?1:e.bn.b?1:e.a!=n.a?Ni(e.a)-Ni(n.a):e.d==(SE(),Lx)&&n.d==_x?-1:e.d==_x&&n.d==Lx?1:0}function AW(e){var n,t,i,r,c,o,l,f;for(r=Vi,i=Ir,t=new P(e.e.b);t.a0&&r0):r<0&&-r0):!1}function IOn(e,n,t,i){var r,c,o,l,f,h,g,p;for(r=(n-e.d)/e.c.c.length,c=0,e.a+=t,e.d=n,p=new P(e.c);p.a>24;return o}function _On(e){if(e.xe()){var n=e.c;n.ye()?e.o="["+n.n:n.xe()?e.o="["+n.ve():e.o="[L"+n.ve()+";",e.b=n.ue()+"[]",e.k=n.we()+"[]";return}var t=e.j,i=e.d;i=i.split("/"),e.o=CQ(".",[t,CQ("$",i)]),e.b=CQ(".",[t,CQ(".",i)]),e.k=i[i.length-1]}function LOn(e,n){var t,i,r,c,o;for(o=null,c=new P(e.e.a);c.a0&&hN(n,(kn(i-1,e.c.length),u(e.c[i-1],9)),r)>0;)ol(e,i,(kn(i-1,e.c.length),u(e.c[i-1],9))),--i;kn(i,e.c.length),e.c[i]=r}n.b=new wt,n.g=new wt}function AUe(e,n,t){var i,r,c;for(i=1;i0&&n.Le((kn(r-1,e.c.length),u(e.c[r-1],9)),c)>0;)ol(e,r,(kn(r-1,e.c.length),u(e.c[r-1],9))),--r;kn(r,e.c.length),e.c[r]=c}t.a=new wt,t.b=new wt}function Dz(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=n.Jc();c.Ob();)r=u(c.Pb(),26),g=r.i+r.g/2,y=r.j+r.f/2,f=e.f,o=f.i+f.g/2,l=f.j+f.f/2,h=g-o,p=y-l,i=k.Math.sqrt(h*h+p*p),h*=e.e/i,p*=e.e/i,t?(g-=h,y-=p):(g+=h,y+=p),Os(r,g-r.g/2),Ns(r,y-r.f/2)}function g3(e){var n,t,i;if(!e.c&&e.b!=null){for(n=e.b.length-4;n>=0;n-=2)for(t=0;t<=n;t+=2)(e.b[t]>e.b[t+2]||e.b[t]===e.b[t+2]&&e.b[t+1]>e.b[t+3])&&(i=e.b[t+2],e.b[t+2]=e.b[t],e.b[t]=i,i=e.b[t+3],e.b[t+3]=e.b[t+1],e.b[t+1]=i);e.c=!0}}function Jf(e){var n,t;return t=new il(Bb(e.Pm)),t.a+="@",Kt(t,(n=Ni(e)>>>0,n.toString(16))),e.Sh()?(t.a+=" (eProxyURI: ",uo(t,e.Yh()),e.Hh()&&(t.a+=" eClass: ",uo(t,e.Hh())),t.a+=")"):e.Hh()&&(t.a+=" (eClass: ",uo(t,e.Hh()),t.a+=")"),t.a}function uS(e){var n,t,i,r;if(e.e)throw R(new Uc((T1(gte),UZ+gte.k+XZ)));for(e.d==(vr(),ih)&&eF(e,Zc),t=new P(e.a.a);t.a>24}return t}function FOn(e,n,t){var i,r,c;if(r=u(zc(e.i,n),318),!r)if(r=new YRe(e.d,n,t),P5(e.i,n,r),yde(n))opn(e.a,n.c,n.b,r);else switch(c=PCn(n),i=u(zc(e.p,c),253),c.g){case 1:case 3:r.j=!0,AX(i,n.b,r);break;case 4:case 2:r.k=!0,AX(i,n.c,r)}return r}function JOn(e,n,t,i){var r,c,o,l,f,h;if(l=new q6,f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk())for(o=0;o=0)return r;for(c=1,l=new P(n.j);l.a=0)return r;for(c=1,l=new P(n.j);l.a=0?(n||(n=new Cj,i>0&&Bc(n,(Qr(0,i,e.length),e.substr(0,i)))),n.a+="\\",$9(n,t&yr)):n&&$9(n,t&yr);return n?n.a:e}function GOn(e){var n,t,i;for(t=new P(e.a.a.b);t.a0&&(!(M1(e.a.c)&&n.n.d)&&!(Fv(e.a.c)&&n.n.b)&&(n.g.d-=k.Math.max(0,i/2-.5)),!(M1(e.a.c)&&n.n.a)&&!(Fv(e.a.c)&&n.n.c)&&(n.g.a+=k.Math.max(0,i-1)))}function IUe(e,n,t){var i,r;if((e.c-e.b&e.a.length-1)==2)n==(Ie(),Vn)||n==nt?(pB(u(LE(e),16),(al(),a1)),pB(u(LE(e),16),pb)):(pB(u(LE(e),16),(al(),pb)),pB(u(LE(e),16),a1));else for(r=new mE(e);r.a!=r.b;)i=u(qB(r),16),pB(i,t)}function qOn(e,n,t){var i,r,c,o,l,f,h,g,p;for(g=-1,p=0,l=n,f=0,h=l.length;f0&&++p;++g}return p}function UOn(e,n){var t,i,r,c,o,l,f;for(r=I9(new uoe(e)),l=new qr(r,r.c.length),c=I9(new uoe(n)),f=new qr(c,c.c.length),o=null;l.b>0&&f.b>0&&(t=(at(l.b>0),u(l.a.Xb(l.c=--l.b),26)),i=(at(f.b>0),u(f.a.Xb(f.c=--f.b),26)),t==i);)o=t;return o}function XOn(e,n){var t,i,r,c;for(n.Tg("Self-Loop pre-processing",1),i=new P(e.a);i.akLe(e,t)?(i=vu(t,(Ie(),nt)),e.d=i.dc()?0:iV(u(i.Xb(0),12)),o=vu(n,Yn),e.b=o.dc()?0:iV(u(o.Xb(0),12))):(r=vu(t,(Ie(),Yn)),e.d=r.dc()?0:iV(u(r.Xb(0),12)),c=vu(n,nt),e.b=c.dc()?0:iV(u(c.Xb(0),12)))}function KOn(e){var n,t,i,r,c,o,l,f;n=!0,r=null,c=null;e:for(f=new P(e.a);f.ae.c));o++)r.a>=e.s&&(c<0&&(c=o),l=o);return f=(e.s+e.c)/2,c>=0&&(i=DDn(e,n,c,l),f=Rgn((kn(i,n.c.length),u(n.c[i],340))),HTn(n,i,t)),f}function Mt(e,n,t){var i,r,c,o,l,f,h;for(o=(c=new _b,c),qhe(o,(Ln(n),n)),h=(!o.b&&(o.b=new Hs((jn(),Ac),Du,o)),o.b),f=1;f=2}function WOn(e,n,t,i,r){var c,o,l,f,h,g;for(c=e.c.d.j,o=u(Yu(t,0),8),g=1;g1||(n=Ci(Qf,F(z($c,1),je,96,0,[ed,Wf])),yO(BR(n,e))>1)||(i=Ci(ea,F(z($c,1),je,96,0,[h1,mf])),yO(BR(i,e))>1))}function LUe(e){var n,t,i,r,c,o,l;for(n=0,i=new P(e.a);i.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Vt(n,i.b));for(r=new P(e.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Vt(t,i.a))}function _z(e){var n,t,i,r,c;if(e.g==null&&(e.d=e._i(e.f),Et(e,e.d),e.c))return c=e.f,c;if(n=u(e.g[e.i-1],50),r=n.Pb(),e.e=n,t=e._i(r),t.Ob())e.d=t,Et(e,t);else for(e.d=null;!n.Ob()&&(ir(e.g,--e.i,null),e.i!=0);)i=u(e.g[e.i-1],50),n=i;return r}function eNn(e,n){var t,i,r,c,o,l;if(i=n,r=i.Jk(),G1(e.e,r)){if(r.Qi()&&KR(e,r,i.kd()))return!1}else for(l=Po(e.e.Ah(),r),t=u(e.g,122),c=0;c1||t>1)return 2;return n+t==1?2:0}function Ds(e,n){var t,i,r,c,o,l;return c=e.a*JZ+e.b*1502,l=e.b*JZ+11,t=k.Math.floor(l*SN),c+=t,l-=t*Kge,c%=Kge,e.a=c,e.b=l,n<=24?k.Math.floor(e.a*Xme[n]):(r=e.a*(1<=2147483648&&(i-=4294967296),i)}function RUe(e,n,t){var i,r,c,o,l,f,h;for(c=new Te,h=new xi,o=new xi,vLn(e,h,o,n),e$n(e,h,o,n,t),f=new P(e);f.ai.b.g&&qn(c.c,i);return c}function uNn(e,n,t){var i,r,c,o,l,f;for(l=e.c,o=(t.q?t.q:(En(),En(),u1)).vc().Jc();o.Ob();)c=u(o.Pb(),45),i=!v9(li(new pn(null,new yn(l,16)),new a9(new ACe(n,c)))).zd((zb(),C4)),i&&(f=c.kd(),X(f,4)&&(r=jde(f),r!=null&&(f=r)),n.of(u(c.jd(),147),f))}function oNn(e,n){var t,i,r,c;for(n.Tg("Resize child graph to fit parent.",1),i=new P(e.b);i.a1)for(r=new P(e.a);r.a=0?e.Ih(i,!0,!0):Yw(e,c,!0),163)),u(r,219).Vl(n,t)}else throw R(new Un(ib+n.ve()+zS))}function fNn(e,n,t){var i,r,c,o,l,f;if(f=xle(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Vse(e,I2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Vse(e,I2(n)),o=(Ln(t),t+(Ln(r),r)),c=Vse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function aNn(e,n,t){var i,r,c,o,l,f;if(f=xle(e,u(zn(e.e,n),26)),l=null,f)switch(f.g){case 3:i=Yse(e,I2(n)),l=(Ln(t),t+(Ln(i),i));break;case 2:r=Yse(e,I2(n)),o=(Ln(t),t+(Ln(r),r)),c=Yse(e,u(zn(e.e,n),26)),l=o-(Ln(c),c);break;default:l=t}else l=t;return l}function Lz(e,n){var t,i,r,c,o;if(n){for(c=X(e.Cb,88)||X(e.Cb,103),o=!c&&X(e.Cb,335),i=new st((!n.a&&(n.a=new sE(n,Rc,n)),n.a));i.e!=i.i.gc();)if(t=u(ft(i),87),r=Xz(t),c?X(r,88):o?X(r,159):r)return r;return c?(jn(),Ef):(jn(),uh)}else return null}function hNn(e,n){var t,i,r,c,o;for(t=new Te,r=lu(new pn(null,new yn(e,16)),new Gy),c=lu(new pn(null,new yn(e,16)),new Ik),o=t8n(E9n(N2(ENn(F(z(zBn,1),Nn,832,0,[r,c])),new k_))),i=1;i=2*n&&Ce(t,new WK(o[i-1]+n,o[i]-n));return t}function BUe(e,n,t){var i,r,c,o,l,f,h,g;if(t)for(c=t.a.length,i=new qb(c),l=(i.b-i.a)*i.c<0?(A0(),xb):new T0(i);l.Ob();)o=u(l.Pb(),15),r=G9(t,o.a),r&&(f=T6n(e,(h=(S0(),g=new koe,g),n&&Ebe(h,n),h),r),W9(f,D1(r,Oh)),xz(r,f),q0e(r,f),nQ(e,r,f))}function Pz(e){var n,t,i,r,c,o;if(!e.j){if(o=new AL,n=bA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),r=Pz(t),nr(o,r),Et(o,t);n.a.Ac(e)!=null}G2(o),e.j=new Bv((u(K(we((O0(),Bn).o),11),19),o.i),o.g),Ms(e).b&=-33}return e.j}function dNn(e){var n,t,i,r;if(e==null)return null;if(i=bo(e,!0),r=KN.length,bn(i.substr(i.length-r,r),KN)){if(t=i.length,t==4){if(n=(Wn(0,i.length),i.charCodeAt(0)),n==43)return p7e;if(n==45)return Mhn}else if(t==3)return p7e}return new doe(i)}function bNn(e){var n,t,i;return t=e.l,(t&t-1)!=0||(i=e.m,(i&i-1)!=0)||(n=e.h,(n&n-1)!=0)||n==0&&i==0&&t==0?-1:n==0&&i==0&&t!=0?Rhe(t):n==0&&i!=0&&t==0?Rhe(i)+22:n!=0&&i==0&&t==0?Rhe(n)+44:-1}function w3(e,n){var t,i,r,c,o;for(r=n.a&e.f,c=null,i=e.b[r];;i=i.b){if(i==n){c?c.b=n.b:e.b[r]=n.b;break}c=i}for(o=n.f&e.f,c=null,t=e.c[o];;t=t.d){if(t==n){c?c.d=n.d:e.c[o]=n.d;break}c=t}n.e?n.e.c=n.c:e.a=n.c,n.c?n.c.e=n.e:e.e=n.e,--e.i,++e.g}function gNn(e,n){var t;n.d?n.d.b=n.b:e.a=n.b,n.b?n.b.d=n.d:e.e=n.d,!n.e&&!n.c?(t=u(of(u(G5(e.b,n.a),262)),262),t.a=0,++e.c):(t=u(of(u(zn(e.b,n.a),262)),262),--t.a,n.e?n.e.c=n.c:t.b=u(of(n.c),497),n.c?n.c.e=n.e:t.c=u(of(n.e),497)),--e.d}function CW(e,n){var t,i,r,c;for(c=new qr(e,0),t=(at(c.b0),c.a.Xb(c.c=--c.b),E2(c,r),at(c.b3&&Qh(e,0,n-3))}function pNn(e){var n,t,i,r;return oe(C(e,(Oe(),Am)))===oe((F1(),e0))?!e.e&&oe(C(e,gI))!==oe((i8(),oI)):(i=u(C(e,Nie),302),r=ze(Be(C(e,Iie)))||oe(C(e,jx))===oe((qE(),cI)),n=u(C(e,Jye),15).a,t=e.a.c.length,!r&&i!=(i8(),oI)&&(n==0||n>t))}function mNn(e,n){var t,i,r,c,o,l,f;for(r=e.Jc();r.Ob();)for(i=u(r.Pb(),9),l=new Qu,wu(l,i),Ar(l,(Ie(),nt)),he(l,(ve(),lH),($n(),!0)),o=n.Jc();o.Ob();)c=u(o.Pb(),9),f=new Qu,wu(f,c),Ar(f,Yn),he(f,lH,!0),t=new Dw,he(t,lH,!0),fc(t,l),Gr(t,f)}function vNn(e){var n,t;for(t=0;t0);t++);if(t>0&&t0);n++);return n>0&&t>16!=6&&n){if(k8(e,n))throw R(new Un(FS+eUe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Gde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,6,i)),i=Nle(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,6,n,n))}function $z(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(k8(e,n))throw R(new Un(FS+GKe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Kde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,12,i)),i=Ole(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function Ebe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=9&&n){if(k8(e,n))throw R(new Un(FS+FXe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Ude(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,9,i)),i=Ile(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,9,n,n))}function T8(e){var n,t,i,r,c;if(i=af(e),c=e.j,c==null&&i)return e.Hk()?null:i.gk();if(X(i,159)){if(t=i.hk(),t&&(r=t.ti(),r!=e.i)){if(n=u(i,159),n.lk())try{e.g=r.qi(n,c)}catch(o){if(o=sr(o),X(o,80))e.g=null;else throw R(o)}e.i=r}return e.g}return null}function GUe(e){var n;return n=new Te,Ce(n,new v5(new Ee(e.c,e.d),new Ee(e.c+e.b,e.d))),Ce(n,new v5(new Ee(e.c,e.d),new Ee(e.c,e.d+e.a))),Ce(n,new v5(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c+e.b,e.d))),Ce(n,new v5(new Ee(e.c+e.b,e.d+e.a),new Ee(e.c,e.d+e.a))),n}function kNn(e){var n,t,i,r;for(i=e.a.d.j,r=e.c.d.j,t=new P(e.i.d);t.a>>0),t.toString(16)),WEn(Q7n(),(E9(),"Exception during lenientFormat for "+i),n),"<"+i+" threw "+Bb(n.Pm)+">";throw R(r)}}function ENn(e){var n,t,i,r,c,o,l,f,h;for(i=!1,n=336,t=0,c=new uNe(e.length),l=e,f=0,h=l.length;f1)for(n=Sw((t=new Rb,++e.b,t),e.d),l=St(c,0);l.b!=l.d.c;)o=u(jt(l),124),Hf(Nf(Of(If(Tf(new rf,1),0),n),o))}function Rz(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=11&&n){if(k8(e,n))throw R(new Un(FS+Gbe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Vde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=i4(n,e,10,i)),i=Ule(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,11,n,n))}function CNn(e,n,t){var i,r,c,o,l,f;if(c=0,o=0,e.c)for(f=new P(e.d.i.j);f.ac.a?-1:r.af){for(g=e.d,e.d=le(J8e,ime,67,2*f+4,0,1),c=0;c=9223372036854776e3?(V9(),Sme):(r=!1,e<0&&(r=!0,e=-e),i=0,e>=gg&&(i=lc(e/gg),e-=i*gg),t=0,e>=p4&&(t=lc(e/p4),e-=t*p4),n=lc(e),c=_o(n,t,i),r&&eQ(c),c)}function zNn(e){var n,t,i,r,c;if(c=new Te,Ao(e.b,new eje(c)),e.b.c.length=0,c.c.length!=0){for(n=(kn(0,c.c.length),u(c.c[0],80)),t=1,i=c.c.length;t>16!=7&&n){if(k8(e,n))throw R(new Un(FS+VGe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?qde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,1,eD,i)),i=Tfe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,7,n,n))}function XUe(e,n){var t,i;if(n!=e.Cb||e.Db>>16!=3&&n){if(k8(e,n))throw R(new Un(FS+RFe(e)));i=null,e.Cb&&(i=(t=e.Db>>16,t>=0?Xde(e,i):e.Cb.Qh(e,-1-t,null,i))),n&&(i=u(n,52).Oh(e,0,tD,i)),i=Ofe(e,n,i),i&&i.mj()}else(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,3,n,n))}function TW(e,n){N8();var t,i,r,c,o,l,f,h,g;return n.d>e.d&&(l=e,e=n,n=l),n.d<63?OIn(e,n):(o=(e.d&-2)<<4,h=Qae(e,o),g=Qae(n,o),i=VW(e,H5(h,o)),r=VW(n,H5(g,o)),f=TW(h,g),t=TW(i,r),c=TW(VW(h,i),VW(r,g)),c=tZ(tZ(c,f),t),c=H5(c,o),f=H5(f,o<<1),tZ(tZ(f,c),t))}function nN(){nN=Y,Vie=new Lv(UQe,0),T5e=new Lv("LONGEST_PATH",1),O5e=new Lv("LONGEST_PATH_SOURCE",2),Xie=new Lv("COFFMAN_GRAHAM",3),C5e=new Lv(cee,4),N5e=new Lv("STRETCH_WIDTH",5),CH=new Lv("MIN_WIDTH",6),Uie=new Lv("BF_MODEL_ORDER",7),Kie=new Lv("DF_MODEL_ORDER",8)}function qNn(e,n){var t,i,r,c,o,l;if(!e.tb){for(c=(!e.rb&&(e.rb=new C2(e,Ca,e)),e.rb),l=new m5(c.i),r=new st(c);r.e!=r.i.gc();)i=u(ft(r),143),o=i.ve(),t=u(o==null?Ko(l.f,null,i):Jw(l.i,o,i),143),t&&(o==null?Ko(l.f,null,t):Jw(l.i,o,t));e.tb=l}return u(lo(e.tb,n),143)}function tN(e,n){var t,i,r,c,o;if((e.i==null&&Eh(e),e.i).length,!e.p){for(o=new m5((3*e.g.i/2|0)+1),r=new M5(e.g);r.e!=r.i.gc();)i=u(PQ(r),179),c=i.ve(),t=u(c==null?Ko(o.f,null,i):Jw(o.i,c,i),179),t&&(c==null?Ko(o.f,null,t):Jw(o.i,c,t));e.p=o}return u(lo(e.p,n),179)}function Tbe(e,n,t,i,r){var c,o,l,f,h;for(JEn(i+$R(t,t.ge()),r),EDe(n,cEn(t)),c=t.f,c&&Tbe(e,n,c,"Caused by: ",!1),l=(t.k==null&&(t.k=le(nte,Me,80,0,0,1)),t.k),f=0,h=l.length;f=0;c+=t?1:-1)o=o|n.c.jg(f,c,t,i&&!ze(Be(C(n.j,(ve(),lb))))&&!ze(Be(C(n.j,(ve(),J3))))),o=o|n.q.tg(f,c,t),o=o|_Xe(e,f[c],t,i);return hr(e.c,n),o}function zz(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(g=WLe(e.j),p=0,y=g.length;p1&&(e.a=!0),v3n(u(t.b,68),pi(pc(u(n.b,68).c),C1(Nr(pc(u(t.b,68).a),u(n.b,68).a),r))),sLe(e,n),VUe(e,t)}function YUe(e){var n,t,i,r,c,o,l;for(c=new P(e.a.a);c.a0&&c>0?o.p=n++:i>0?o.p=t++:c>0?o.p=r++:o.p=t++}En(),Tr(e.j,new _q)}function YNn(e){var n,t;t=null,n=u(Le(e.g,0),17);do{if(t=n.d.i,wi(t,(ve(),wf)))return u(C(t,wf),12).i;if(t.k!=(Fn(),Wi)&&ht(new Xn(Qn(Ii(t).a.Jc(),new ne))))n=u(rt(new Xn(Qn(Ii(t).a.Jc(),new ne))),17);else if(t.k!=Wi)return null}while(t&&t.k!=(Fn(),Wi));return t}function QNn(e,n){var t,i,r,c,o,l,f,h,g;for(l=n.j,o=n.g,f=u(Le(l,l.c.length-1),113),g=(kn(0,l.c.length),u(l.c[0],113)),h=QQ(e,o,f,g),c=1;ch&&(f=t,g=r,h=i);n.a=g,n.c=f}function Qw(e,n,t,i){var r,c;if(r=oe(C(t,(Oe(),yx)))===oe((B0(),Em)),c=u(C(t,Fye),16),wi(e,(ve(),Oi)))if(r){if(c.Gc(C(e,kx))&&c.Gc(C(n,kx)))return i*u(C(e,kx),15).a+u(C(e,Oi),15).a}else return u(C(e,Oi),15).a;else return-1;return u(C(e,Oi),15).a}function WNn(e,n,t){var i,r,c,o,l,f,h;for(h=new Ed(new yEe(e)),o=F(z(hin,1),wQe,12,0,[n,t]),l=0,f=o.length;lf-e.b&&lf-e.a&&lt.p?1:0:c.Ob()?1:-1}function uIn(e,n){var t,i,r,c,o,l;n.Tg(wWe,1),r=u(ke(e,(qa(),qx)),104),c=(!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),o=Mxn(c),l=k.Math.max(o.a,te(re(ke(e,(Zh(),Gx))))-(r.b+r.c)),i=k.Math.max(o.b,te(re(ke(e,VH)))-(r.d+r.a)),t=i-o.b,Ei(e,Hx,t),Ei(e,q4,l),Ei(e,F7,i+t),n.Ug()}function Fz(e){var n,t;if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i==0)return a1e(e);for(n=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),kt((!n.a&&(n.a=new mr(kl,n,5)),n.a)),i3(n,0),r3(n,0),n3(n,0),t3(n,0),t=(!e.a&&(e.a=new pe($i,e,6,6)),e.a);t.i>1;)tm(t,t.i-1);return n}function Po(e,n){Tc();var t,i,r,c;return n?n==(Si(),xhn)||(n==dhn||n==Bg||n==hhn)&&e!=g7e?new Cge(e,n):(i=u(n,682),t=i.Yk(),t||(z9(Vc((ls(),nc),n)),t=i.Yk()),c=(!t.i&&(t.i=new wt),t.i),r=u(bu(Xc(c.f,e)),2003),!r&&ei(c,e,r=new Cge(e,n)),r):lhn}function oIn(e,n){var t,i;if(i=FT(e.b,n.b),!i)throw R(new Uc("Invalid hitboxes for scanline constraint calculation."));(Oze(n.b,u(Tgn(e.b,n.b),60))||Oze(n.b,u(Cgn(e.b,n.b),60)))&&Sd(),e.a[n.b.f]=u(BX(e.b,n.b),60),t=u(RX(e.b,n.b),60),t&&(e.a[t.f]=n.b)}function sIn(e,n){var t,i,r,c,o,l,f,h,g;for(f=u(C(e,(ve(),mi)),12),h=mu(F(z(Lr,1),Me,8,0,[f.i.n,f.n,f.a])).a,g=e.i.n.b,t=ph(e.e),r=t,c=0,o=r.length;c0?c.a?(l=c.b.Kf().a,t>l&&(r=(t-l)/2,c.d.b=r,c.d.c=r)):c.d.c=e.s+t:aE(e.u)&&(i=y0e(c.b),i.c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Kf().a&&(c.d.c=i.c+i.b-c.b.Kf().a))}function bIn(e,n){var t,i,r,c,o;o=new Te,t=n;do c=u(zn(e.b,t),132),c.B=t.c,c.D=t.d,qn(o.c,c),t=u(zn(e.k,t),17);while(t);return i=(kn(0,o.c.length),u(o.c[0],132)),i.j=!0,i.A=u(i.d.a.ec().Jc().Pb(),17).c.i,r=u(Le(o,o.c.length-1),132),r.q=!0,r.C=u(r.d.a.ec().Jc().Pb(),17).d.i,o}function gIn(e){var n,t;t=u(C(e,(Oe(),ku)),165),n=u(C(e,(ve(),xg)),315),t==(Xs(),Q1)?(he(e,ku,dI),he(e,xg,(P1(),z3))):t==Mg?(he(e,ku,dI),he(e,xg,(P1(),D4))):n==(P1(),z3)?(he(e,ku,Q1),he(e,xg,lI)):n==D4&&(he(e,ku,Mg),he(e,xg,lI))}function Jz(){Jz=Y,SI=new Yp,Kon=qt(new or,(zr(),eo),(Ur(),NJ)),Qon=Eo(qt(new or,eo,BJ),Pc,RJ),Won=yh(yh(Pj(Eo(qt(new or,Kf,HJ),Pc,JJ),no),FJ),GJ),Von=Eo(qt(qt(qt(new or,o1,DJ),no,LJ),no,y7),Pc,_J),Yon=Eo(qt(qt(new or,no,y7),no,OJ),Pc,TJ)}function lS(){lS=Y,nsn=qt(Eo(new or,(zr(),Pc),(Ur(),Gve)),eo,NJ),csn=yh(yh(Pj(Eo(qt(new or,Kf,HJ),Pc,JJ),no),FJ),GJ),tsn=Eo(qt(qt(qt(new or,o1,DJ),no,LJ),no,y7),Pc,_J),rsn=qt(qt(new or,eo,BJ),Pc,RJ),isn=Eo(qt(qt(new or,no,y7),no,OJ),Pc,TJ)}function wIn(e,n,t,i,r){var c,o;(!uc(n)&&n.c.i.c==n.d.i.c||!$Be(mu(F(z(Lr,1),Me,8,0,[r.i.n,r.n,r.a])),t))&&!uc(n)&&(n.c==r?M9(n.a,0,new wc(t)):Vt(n.a,new wc(t)),i&&!cf(e.a,t)&&(o=u(C(n,(Oe(),Wc)),78),o||(o=new xs,he(n,Wc,o)),c=new wc(t),Ki(o,c,o.c.b,o.c),hr(e.a,c)))}function ZUe(e,n){var t,i,r,c;for(c=Rt(hc(t1,Vh(Rt(hc(n==null?0:Ni(n),i1)),15))),t=c&e.b.length-1,r=null,i=e.b[t];i;r=i,i=i.a)if(i.d==c&&O1(i.i,n))return r?r.a=i.a:e.b[t]=i.a,pAe(u(of(i.c),593),u(of(i.f),593)),WC(u(of(i.b),227),u(of(i.e),227)),--e.f,++e.e,!0;return!1}function pIn(e){var n,t;for(t=new Xn(Qn(cr(e).a.Jc(),new ne));ht(t);)if(n=u(rt(t),17),n.c.i.k!=(Fn(),Uu))throw R(new yd(ree+zO(e)+"' 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 eXe(e,n){var t,i,r,c,o,l,f,h,g,p,y;r=n?new ow:new fM,c=!1;do for(c=!1,h=n?Ks(e.b):e.b,f=h.Jc();f.Ob();)for(l=u(f.Pb(),25),y=Wb(l.a),n||Ks(y),p=new P(y);p.a=0;o+=r?1:-1){for(l=n[o],f=i==(Ie(),nt)?r?vu(l,i):Ks(vu(l,i)):r?Ks(vu(l,i)):vu(l,i),c&&(e.c[l.p]=f.gc()),p=f.Jc();p.Ob();)g=u(p.Pb(),12),e.d[g.p]=h++;Sr(t,f)}}function tXe(e,n,t){var i,r,c,o,l,f,h,g;for(c=te(re(e.b.Jc().Pb())),h=te(re(W7n(n.b))),i=C1(pc(e.a),h-t),r=C1(pc(n.a),t-c),g=pi(i,r),C1(g,1/(h-c)),this.a=g,this.b=new Te,l=!0,o=e.b.Jc(),o.Pb();o.Ob();)f=te(re(o.Pb())),l&&f-t>Kee&&(this.b.Ec(t),l=!1),this.b.Ec(f);l&&this.b.Ec(t)}function vIn(e){var n,t,i,r;if(PDn(e,e.n),e.d.c.length>0){for(Aj(e.c);lbe(e,u(L(new P(e.e.a)),124))>5,n&=31,i>=e.d)return e.e<0?(jh(),ann):(jh(),ex);if(c=e.d-i,r=le($t,ni,30,c+1,15,1),ECn(r,c,e.a,i,n),e.e<0){for(t=0;t0&&e.a[t]<<32-n!=0){for(t=0;t=0?!1:(t=v3((ls(),nc),r,n),t?(i=t.Gk(),(i>1||i==-1)&&Nw(Vc(nc,t))!=3):!0)):!1}function xIn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;if(f=e.c.d,h=e.d.d,f.j!=h.j)for(S=e.b,g=null,l=null,o=zEn(e),o&&S.i&&(g=e.b.i.i,l=S.i.j),r=f.j,p=null;r!=h.j;)p=n==0?KB(r):V1e(r),c=Mde(r,S.d[r.g],t),y=Mde(p,S.d[p.g],t),o&&g&&l&&(r==g?VFe(c,g,l):p==g&&VFe(y,g,l)),Vt(i,pi(c,y)),r=p}function Ibe(e,n,t){var i,r,c,o,l,f;if(i=ggn(t,e.length),o=e[i],c=jAe(t,o.length),o[c].k==(Fn(),wr))for(f=n.j,r=0;r0&&(t[0]+=e.d,o-=t[0]),t[2]>0&&(t[2]+=e.d,o-=t[2]),c=k.Math.max(0,o),t[1]=k.Math.max(t[1],o),Zae(e,No,r.c+i.b+t[0]-(t[1]-o)/2,t),n==No&&(e.c.b=c,e.c.c=r.c+i.b+(c-o)/2)}function fXe(){this.c=le(Jr,Jc,30,(Ie(),F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn])).length,15,1),this.b=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),this.a=le(Jr,Jc,30,F(z(xc,1),qu,64,0,[ju,Vn,nt,bt,Yn]).length,15,1),sse(this.c,Vi),sse(this.b,Ir),sse(this.a,Ir)}function NIn(e,n,t,i){var r,c,o,l,f;for(f=n.i,l=t[f.g][e.d[f.g]],r=!1,o=new P(n.d);o.a=r&&(e.c=!1,e.a=!1),e.b[i++]=r,e.b[i]=c,e.c||g3(e)}}function IIn(e,n,t){var i,r,c,o,l,f,h;for(h=n.d,e.a=new xo(h.c.length),e.c=new wt,l=new P(h);l.a=0?e.Ih(h,!1,!0):Yw(e,t,!1),61));e:for(c=p.Jc();c.Ob();){for(r=u(c.Pb(),57),g=0;ge.d[o.p]&&(t+=qae(e.b,c),_0(e.a,ye(c)));for(;!Mj(e.a);)xhe(e.b,u(L5(e.a),15).a)}return t}function dXe(e,n,t){var i,r,c,o;for(c=(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i,r=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));r.e!=r.i.gc();)i=u(ft(r),26),(!i.a&&(i.a=new pe(Ft,i,10,11)),i.a).i==0||(c+=dXe(e,i,!1));if(t)for(o=Fi(n);o;)c+=(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i,o=Fi(o);return c}function tm(e,n){var t,i,r,c;return e.Nj()?(i=null,r=e.Oj(),e.Rj()&&(i=e.Tj(e.Yi(n),null)),t=e.Gj(4,c=r4(e,n),null,n,r),e.Kj()&&c!=null&&(i=e.Mj(c,i)),i?(i.lj(t),i.mj()):e.Hj(t),c):(c=r4(e,n),e.Kj()&&c!=null&&(i=e.Mj(c,null),i&&i.mj()),c)}function BIn(e){var n,t,i,r,c,o,l,f,h,g;for(h=e.a,n=new ar,f=0,i=new P(e.d);i.al.d&&(g=l.d+l.a+h));t.c.d=g,n.a.yc(t,n),f=k.Math.max(f,t.c.d+t.c.a)}return f}function zIn(e,n,t){var i,r,c,o,l,f;for(o=u(C(e,(ve(),pie)),16).Jc();o.Ob();){switch(c=u(o.Pb(),9),u(C(c,(Oe(),ku)),165).g){case 2:Or(c,n);break;case 4:Or(c,t)}for(r=new Xn(Qn(mh(c).a.Jc(),new ne));ht(r);)i=u(rt(r),17),!(i.c&&i.d)&&(l=!i.d,f=u(C(i,Z3e),12),l?Gr(i,f):fc(i,f))}}function Ic(){Ic=Y,tH=new g2("COMMENTS",0),Vl=new g2("EXTERNAL_PORTS",1),ax=new g2("HYPEREDGES",2),iH=new g2("HYPERNODES",3),T7=new g2("NON_FREE_PORTS",4),B3=new g2("NORTH_SOUTH_PORTS",5),hx=new g2(_Qe,6),M7=new g2("CENTER_LABELS",7),C7=new g2("END_LABELS",8),rH=new g2("PARTITIONS",9)}function FIn(e,n,t,i,r){return i<0?(i=b3(e,r,F(z(Je,1),Me,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=b3(e,r,F(z(Je,1),Me,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function JIn(e,n,t,i,r){return i<0?(i=b3(e,r,F(z(Je,1),Me,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ]),n),i<0&&(i=b3(e,r,F(z(Je,1),Me,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),n)),i<0?!1:(t.k=i,!0)):i>0?(t.k=i-1,!0):!1}function HIn(e,n,t,i,r,c){var o,l,f,h;if(l=32,i<0){if(n[0]>=e.length||(l=rc(e,n[0]),l!=43&&l!=45)||(++n[0],i=Nz(e,n),i<0))return!1;l==45&&(i=-i)}return l==32&&n[0]-t==2&&r.b==2&&(f=new o$,h=f.q.getFullYear()-Z0+Z0-80,o=h%100,c.a=i==o,i+=(h/100|0)*100+(i=0?G0(e):bE(G0(Id(e)))),nx[n]=_$(Xh(e,n),0)?G0(Xh(e,n)):bE(G0(Id(Xh(e,n)))),e=hc(e,5);for(;n=h&&(f=i);f&&(g=k.Math.max(g,f.a.o.a)),g>y&&(p=h,y=g)}return p}function KIn(e){var n,t,i,r,c,o,l;for(c=new Ed(u(Ot(new Dp),51)),l=Ir,t=new P(e.d);t.afWe?Tr(f,e.b):i<=fWe&&i>aWe?Tr(f,e.d):i<=aWe&&i>hWe?Tr(f,e.c):i<=hWe&&Tr(f,e.a),c=pXe(e,f,c);return r}function mXe(e,n,t,i){var r,c,o,l,f,h;for(r=(i.c+i.a)/2,qs(n.j),Vt(n.j,r),qs(t.e),Vt(t.e,r),h=new yAe,l=new P(e.f);l.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),OE(n.a,F(z(Lr,1),Me,8,0,[y,p]))}function Lbe(e,n,t){var i,r;for(n=48;t--)mA[t]=t-48<<24>>24;for(i=70;i>=65;i--)mA[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)mA[r]=r-97+10<<24>>24;for(c=0;c<10;c++)DG[c]=48+c&yr;for(e=10;e<=15;e++)DG[e]=65+e-10&yr}function jXe(e,n){n.Tg("Process graph bounds",1),he(e,(Ti(),pre),fT(GY(N2(new pn(null,new yn(e.b,16)),new eU)))),he(e,mre,fT(GY(N2(new pn(null,new yn(e.b,16)),new Bs)))),he(e,y4e,fT(HY(N2(new pn(null,new yn(e.b,16)),new xM)))),he(e,k4e,fT(HY(N2(new pn(null,new yn(e.b,16)),new AM)))),n.Ug()}function ZIn(e){var n,t,i,r,c;r=u(C(e,(Oe(),Tg)),22),c=u(C(e,SH),22),t=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),n=new wc(t),r.Gc((Vs(),qm))&&(i=u(C(e,I7),8),c.Gc((_s(),Y7))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),n.a=k.Math.max(t.a,i.a),n.b=k.Math.max(t.b,i.b)),ze(Be(C(e,Bie)))||xLn(e,t,n)}function eDn(e){var n,t,i,r,c,o,l;for(n=!1,t=0,r=new P(e.d.b);r.a>19!=0)return"-"+EXe(c8(e));for(t=e,i="";!(t.l==0&&t.m==0&&t.h==0);){if(r=lY(oF),t=yge(t,r,!0),n=""+RAe(rb),!(t.l==0&&t.m==0&&t.h==0))for(c=9-n.length;c>0;c--)n="0"+n;i=n+i}return i}function nDn(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var e="__proto__",n=Object.create(null);if(n[e]!==void 0)return!1;var t=Object.getOwnPropertyNames(n);return!(t.length!=0||(n[e]=42,n[e]!==42)||Object.getOwnPropertyNames(n).length==0)}function tDn(e,n,t){var i,r,c,o,l,f,h,g,p;for(i=t.c,r=t.d,l=$a(n.c),f=$a(n.d),i==n.c?(l=kbe(e,l,r),f=SGe(n.d)):(l=SGe(n.c),f=kbe(e,f,r)),h=new YP(n.a),Ki(h,l,h.a,h.a.a),Ki(h,f,h.c.b,h.c),o=n.c==i,p=new hxe,c=0;c=e.a||!w0e(n,t))return-1;if(L2(u(i.Kb(n),20)))return 1;for(r=0,o=u(i.Kb(n),20).Jc();o.Ob();)if(c=u(o.Pb(),17),f=c.c.i==n?c.d.i:c.c.i,l=Rbe(e,f,t,i),l==-1||(r=k.Math.max(r,l),r>e.c-1))return-1;return r+1}function qa(){qa=Y,QH=new Yr((Xt(),J7),1.3),_ln=new Yr(zm,($n(),!1)),E6e=new Ew(15),qx=new Yr(f1,E6e),Ux=new Yr(Zd,15),Oln=PI,Dln=Lg,Lln=ry,Pln=wb,Iln=iy,Ure=zI,$ln=Fm,M6e=(ige(),Mln),A6e=Aln,Kre=Tln,C6e=Cln,j6e=Eln,Xre=jln,k6e=kln,x6e=xln,v6e=BI,Nln=pce,OI=mln,m6e=pln,NI=vln,S6e=Sln,y6e=yln}function SXe(e,n){var t,i,r,c,o,l;if(oe(n)===oe(e))return!0;if(!X(n,16)||(i=u(n,16),l=e.gc(),i.gc()!=l))return!1;if(o=i.Jc(),e.Wi()){for(t=0;t0){if(e.Zj(),n!=null){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return e-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return e-65+10<<24>>24;default:throw R(new hh("Invalid hexadecimal"))}}function AXe(e,n,t,i){var r,c,o,l,f,h;for(f=iW(e,t),h=iW(n,t),r=!1;f&&h&&(i||sxn(f,h,t));)o=iW(f,t),l=iW(h,t),sO(n),sO(e),c=f.c,iZ(f,!1),iZ(h,!1),t?(q0(n,h.p,c),n.p=h.p,q0(e,f.p+1,c),e.p=f.p):(q0(e,f.p,c),e.p=f.p,q0(n,h.p+1,c),n.p=h.p),Or(f,null),Or(h,null),f=o,h=l,r=!0;return r}function MXe(e){switch(e.g){case 0:return new lP;case 1:return new fP;case 3:return new PMe;case 4:return new N6;case 5:return new aNe;case 6:return new ko;case 2:return new aP;case 7:return new AC;case 8:return new xC;default:throw R(new Un("No implementation is available for the layerer "+(e.f!=null?e.f:""+e.g)))}}function uDn(e,n,t,i){var r,c,o,l,f;for(r=!1,c=!1,l=new P(i.j);l.a=n.length)throw R(new jo("Greedy SwitchDecider: Free layer not in graph."));this.c=n[e],this.e=new _T(i),RY(this.e,this.c,(Ie(),Yn)),this.i=new _T(i),RY(this.i,this.c,nt),this.f=new PIe(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Fn(),wr),this.a&&CCn(this,e,n.length)}function TXe(e,n){var t,i,r,c,o,l;c=!e.B.Gc((_s(),QI)),o=e.B.Gc(Oce),e.a=new hJe(o,c,e.c),e.n&&fae(e.a.n,e.n),AX(e.g,(pa(),No),e.a),n||(i=new KE(1,c,e.c),i.n.a=e.k,P5(e.p,(Ie(),Vn),i),r=new KE(1,c,e.c),r.n.d=e.k,P5(e.p,bt,r),l=new KE(0,c,e.c),l.n.c=e.k,P5(e.p,Yn,l),t=new KE(0,c,e.c),t.n.b=e.k,P5(e.p,nt,t))}function sDn(e){var n,t,i;switch(n=u(C(e.d,(Oe(),W1)),222),n.g){case 2:t=YRn(e);break;case 3:t=(i=new Te,er(li(So(lu(lu(new pn(null,new yn(e.d.b,16)),new rw),new r_),new xk),new b0),new Yje(i)),i);break;default:throw R(new Uc("Compaction not supported for "+n+" edges."))}yPn(e,t),cc(new it(e.g),new Uje(e))}function lDn(e,n){var t,i,r,c,o,l,f;if(n.Tg("Process directions",1),t=u(C(e,(Mu(),Sp)),86),t!=(vr(),th))for(r=St(e.b,0);r.b!=r.d.c;){switch(i=u(jt(r),40),l=u(C(i,(Ti(),MI)),15).a,f=u(C(i,CI),15).a,t.g){case 4:f*=-1;break;case 1:c=l,l=f,f=c;break;case 2:o=l,l=-f,f=o}he(i,MI,ye(l)),he(i,CI,ye(f))}n.Ug()}function fDn(e){var n,t,i,r,c,o,l,f;for(f=new UPe,l=new P(e.a);l.a0&&n=0)return!1;if(n.p=t.b,Ce(t.e,n),r==(Fn(),dr)||r==wo){for(o=new P(n.j);o.ae.d[l.p]&&(t+=qae(e.b,c),_0(e.a,ye(c)))):++o;for(t+=e.b.d*o;!Mj(e.a);)xhe(e.b,u(L5(e.a),15).a)}return t}function zXe(e){var n,t,i,r,c,o;return c=0,n=af(e),n.ik()&&(c|=4),(e.Bb&as)!=0&&(c|=2),X(e,103)?(t=u(e,19),r=Oc(t),(t.Bb&Ru)!=0&&(c|=32),r&&(dt(D2(r)),c|=8,o=r.t,(o>1||o==-1)&&(c|=16),(r.Bb&Ru)!=0&&(c|=64)),(t.Bb&Ec)!=0&&(c|=Q0),c|=qf):X(n,459)?c|=512:(i=n.ik(),i&&(i.i&1)!=0&&(c|=256)),(e.Bb&512)!=0&&(c|=128),c}function jDn(e,n){var t;return e.f==Gce?(t=Nw(Vc((ls(),nc),n)),e.e?t==4&&n!=(l4(),i6)&&n!=(l4(),t6)&&n!=(l4(),qce)&&n!=(l4(),Uce):t==2):e.d&&(e.d.Gc(n)||e.d.Gc(F5(Vc((ls(),nc),n)))||e.d.Gc(v3((ls(),nc),e.b,n)))?!0:e.f&&Sbe((ls(),e.f),GT(Vc(nc,n)))?(t=Nw(Vc(nc,n)),e.e?t==4:t==2):!1}function EDn(e,n){var t,i,r,c,o,l,f,h;for(c=new Te,n.b.c.length=0,t=u(gs(xae(new pn(null,new yn(new it(e.a.b),1))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),r=t.Jc();r.Ob();)if(i=u(r.Pb(),15),o=Rae(e.a,i),o.b!=0)for(l=new Xu(n),qn(c.c,l),l.p=i.a,h=St(o,0);h.b!=h.d.c;)f=u(jt(h),9),Or(f,l);Sr(n.b,c)}function LW(e){var n,t,i,r,c,o,l;for(l=new wt,i=new P(e.a.b);i.amg&&(r-=mg),l=u(ke(i,Y4),8),h=l.a,p=l.b+e,c=k.Math.atan2(p,h),c<0&&(c+=mg),c+=n,c>mg&&(c-=mg),Da(),Bf(1e-10),k.Math.abs(r-c)<=1e-10||r==c||isNaN(r)&&isNaN(c)?0:rc?1:Jb(isNaN(r),isNaN(c))}function Hbe(e,n,t,i){var r,c,o;n&&(c=te(re(C(n,(Ti(),Qd))))+i,o=t+te(re(C(n,FH)))/2,he(n,MI,ye(Rt(Lu(k.Math.round(c))))),he(n,CI,ye(Rt(Lu(k.Math.round(o))))),n.d.b==0||Hbe(e,u(F$((r=St(new A1(n).a.d,0),new Nv(r))),40),t+te(re(C(n,FH)))+e.b,i+te(re(C(n,z7)))),C(n,yre)!=null&&Hbe(e,u(C(n,yre),40),t,i))}function MDn(e,n){var t,i,r,c;if(c=u(ke(e,(Xt(),cy)),64).g-u(ke(n,cy),64).g,c!=0)return c;if(t=u(ke(e,jce),15),i=u(ke(n,jce),15),t&&i&&(r=t.a-i.a,r!=0))return r;switch(u(ke(e,cy),64).g){case 1:return ji(e.i,n.i);case 2:return ji(e.j,n.j);case 3:return ji(n.i,e.i);case 4:return ji(n.j,e.j);default:throw R(new Uc(gwe))}}function Gbe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new il(z2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new pe(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(vw(Kt(vw(Kt(vw(Kt(vw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function FXe(e){var n,t,i;return(e.Db&64)!=0?gW(e):(n=new il(F2e),t=e.k,t?Kt(Kt((n.a+=' "',n),t),'"'):(!e.n&&(e.n=new pe(Eu,e,1,7)),e.n.i>0&&(i=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!i||Kt(Kt((n.a+=' "',n),i),'"'))),Kt(vw(Kt(vw(Kt(vw(Kt(vw((n.a+=" (",n),e.i),","),e.j)," | "),e.g),","),e.f),")"),n.a)}function CDn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;for(S=-1,A=0,g=n,p=0,y=g.length;p0&&++A;++S}return A}function TDn(e,n){var t,i,r,c,o;for(n==(RE(),ure)&&KO(u(vi(e.a,(Y2(),rI)),16)),r=u(vi(e.a,(Y2(),rI)),16).Jc();r.Ob();)switch(i=u(r.Pb(),107),t=u(Le(i.j,0),113).d.j,c=new bs(i.j),Tr(c,new Py),n.g){case 2:sW(e,c,t,(zw(),sb),1);break;case 1:case 0:o=vNn(c),sW(e,new D0(c,0,o),t,(zw(),sb),0),sW(e,new D0(c,o,c.c.length),t,sb,1)}}function ODn(e){var n,t,i,r,c,o,l;for(r=u(C(e,(ve(),pp)),9),i=e.j,t=(kn(0,i.c.length),u(i.c[0],12)),o=new P(r.j);o.ar.p?(Ar(c,bt),c.d&&(l=c.o.b,n=c.a.b,c.a.b=l-n)):c.j==bt&&r.p>e.p&&(Ar(c,Vn),c.d&&(l=c.o.b,n=c.a.b,c.a.b=-(l-n)));break}return r}function qbe(e,n){var t,i,r,c,o,l,f;if(n==null||n.length==0)return null;if(r=u(lo(e.a,n),144),!r){for(i=(l=new ot(e.b).a.vc().Jc(),new Hi(l));i.a.Ob();)if(t=(c=u(i.a.Pb(),45),u(c.kd(),144)),o=t.c,f=n.length,bn(o.substr(o.length-f,f),n)&&(n.length==o.length||rc(o,o.length-n.length-1)==46)){if(r)return null;r=t}r&&Kc(e.a,n,r)}return r}function I8(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=new Ee(n,t),g=new P(e.a);g.a1,l&&(i=new Ee(r,t.b),Vt(n.a,i)),OE(n.a,F(z(Lr,1),Me,8,0,[y,p]))}function V0(){V0=Y,NH=new w2(ya,0),yI=new w2("NIKOLOV",1),kI=new w2("NIKOLOV_PIXEL",2),R5e=new w2("NIKOLOV_IMPROVED",3),B5e=new w2("NIKOLOV_IMPROVED_PIXEL",4),$5e=new w2("DUMMYNODE_PERCENTAGE",5),z5e=new w2("NODECOUNT_PERCENTAGE",6),IH=new w2("NO_BOUNDARY",7),$7=new w2("MODEL_ORDER_LEFT_TO_RIGHT",8),Ox=new w2("MODEL_ORDER_RIGHT_TO_LEFT",9)}function $W(e,n){var t,i,r,c,o,l,f,h,g,p,y,S;return g=null,y=bbe(e,n),i=null,l=u(ke(n,(Xt(),Lfn)),300),l?i=l:i=(CE(),KI),S=i,S==(CE(),KI)&&(r=null,h=u(zn(e.r,y),300),h?r=h:r=Tce,S=r),ei(e.r,n,S),c=null,f=u(ke(n,_fn),278),f?c=f:c=(a8(),JI),p=c,p==(a8(),JI)&&(o=null,t=u(zn(e.b,y),278),t?o=t:o=aG,p=o),g=u(ei(e.b,n,p),278),g}function FDn(e){var n,t,i,r,c;for(i=e.length,n=new Cj,c=0;c=40,o&&z_n(e),WLn(e),vIn(e),t=GFe(e),i=0;t&&i0&&Vt(e.g,c)):(e.d[o]-=h+1,e.d[o]<=0&&e.a[o]>0&&Vt(e.f,c))))}function eKe(e,n,t,i){var r,c,o,l,f,h,g;for(f=new Ee(t,i),Nr(f,u(C(n,(Ti(),B7)),8)),g=St(n.b,0);g.b!=g.d.c;)h=u(jt(g),40),pi(h.e,f),Vt(e.b,h);for(l=u(gs(jae(new pn(null,new yn(n.a,16))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16).Jc();l.Ob();){for(o=u(l.Pb(),65),c=St(o.a,0);c.b!=c.d.c;)r=u(jt(c),8),r.a+=f.a,r.b+=f.b;Vt(e.a,o)}}function Zbe(e,n){var t,i,r,c;if(0<(X(e,18)?u(e,18).gc():da(e.Jc()))){if(r=n,1=0&&f1)&&n==1&&u(e.a[e.b],9).k==(Fn(),Uu)?h4(u(e.a[e.b],9),(al(),a1)):i&&(!t||(e.c-e.b&e.a.length-1)>1)&&n==1&&u(e.a[e.c-1&e.a.length-1],9).k==(Fn(),Uu)?h4(u(e.a[e.c-1&e.a.length-1],9),(al(),pb)):(e.c-e.b&e.a.length-1)==2?(h4(u(LE(e),9),(al(),a1)),h4(u(LE(e),9),pb)):ROn(e,r),Jae(e)}function r_n(e){var n,t,i,r,c,o,l,f;for(f=new wt,n=new wX,o=e.Jc();o.Ob();)r=u(o.Pb(),9),l=Sw(uT(new Rb,r),n),Ko(f.f,r,l);for(c=e.Jc();c.Ob();)for(r=u(c.Pb(),9),i=new Xn(Qn(Ii(r).a.Jc(),new ne));ht(i);)t=u(rt(i),17),!uc(t)&&Hf(Nf(Of(Tf(If(new rf,k.Math.max(1,u(C(t,(Oe(),p5e)),15).a)),1),u(zn(f,t.c.i),124)),u(zn(f,t.d.i),124)));return n}function iKe(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;if(L8n(e,n,t),c=n[t],S=i?(Ie(),Yn):(Ie(),nt),cpn(n.length,t,i)){for(r=n[i?t-1:t+1],uhe(e,r,i?(Nc(),Io):(Nc(),ys)),f=c,g=0,y=f.length;gc*2?(g=new mB(p),h=us(o)/Gs(o),f=oZ(g,n,new a5,t,i,r,h),pi(aa(g.e),f),p.c.length=0,c=0,qn(p.c,g),qn(p.c,o),c=us(g)*Gs(g)+us(o)*Gs(o)):(qn(p.c,o),c+=us(o)*Gs(o));return p}function u_n(e,n){var t,i,r,c,o,l,f;for(n.Tg("Port order processing",1),f=u(C(e,(Oe(),w5e)),421),i=new P(e.b);i.at?n:t;h<=p;++h)h==t?l=i++:(c=r[h],g=A.$l(c.Jk()),h==n&&(f=h==p&&!g?i-1:i),g&&++i);return y=u(GE(e,n,t),75),l!=f&&d9(e,new oO(e.e,7,o,ye(l),S.kd(),f)),y}}else return u(EW(e,n,t),75);return u(GE(e,n,t),75)}function ege(e,n){var t,i,r,c,o,l,f,h,g,p;for(p=0,c=new Gv,_0(c,n);c.b!=c.c;)for(f=u(L5(c),218),h=0,g=u(C(n.j,(Oe(),l1)),269),u(C(n.j,yx),329),o=te(re(C(n.j,bI))),l=te(re(C(n.j,Mie))),g!=(H1(),hb)&&(h+=o*qOn(n.j,f.e,g),h+=l*CDn(n.j,f.e)),p+=AHe(f.d,f.e)+h,r=new P(f.b);r.a=0&&(l=kxn(e,o),!(l&&(h<22?f.l|=1<>>1,o.m=g>>>1|(p&1)<<21,o.l=y>>>1|(g&1)<<21,--h;return t&&eQ(f),c&&(i?(rb=c8(e),r&&(rb=Ize(rb,(V9(),xme)))):rb=_o(e.l,e.m,e.h)),f}function l_n(e,n){var t,i,r,c,o,l,f,h,g,p;for(h=e.e[n.c.p][n.p]+1,f=n.c.a.c.length+1,l=new P(e.a);l.a0&&(Wn(0,e.length),e.charCodeAt(0)==45||(Wn(0,e.length),e.charCodeAt(0)==43))?1:0,i=o;it)throw R(new hh(tp+e+'"'));return l}function f_n(e){var n,t,i,r,c,o,l;for(o=new xi,c=new P(e.a);c.a=e.length)return t.o=0,!0;switch(rc(e,n[0])){case 43:r=1;break;case 45:r=-1;break;default:return t.o=0,!0}if(++n[0],c=n[0],o=Nz(e,n),o==0&&n[0]==c)return!1;if(n[0]l&&(l=r,g.c.length=0),r==l&&Ce(g,new jc(t.c.i,t)));En(),Tr(g,e.c),Hb(e.b,f.p,g)}}function w_n(e,n){var t,i,r,c,o,l,f,h,g;for(o=new P(n.b);o.al&&(l=r,g.c.length=0),r==l&&Ce(g,new jc(t.d.i,t)));En(),Tr(g,e.c),Hb(e.f,f.p,g)}}function p_n(e){var n,t,i,r,c,o,l;for(c=Pa(e),r=new st((!e.e&&(e.e=new In(pr,e,7,4)),e.e));r.e!=r.i.gc();)if(i=u(ft(r),85),l=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)),!B2(l,c))return!0;for(t=new st((!e.d&&(e.d=new In(pr,e,8,5)),e.d));t.e!=t.i.gc();)if(n=u(ft(t),85),o=iu(u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84)),!B2(o,c))return!0;return!1}function m_n(e){var n,t,i,r,c;i=u(C(e,(ve(),mi)),26),c=u(ke(i,(Oe(),Tg)),182).Gc((Vs(),$g)),e.e||(r=u(C(e,po),22),n=new Ee(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),r.Gc((Ic(),Vl))?(Ei(i,Zi,(Br(),to)),Zw(i,n.a,n.b,!1,!0)):ze(Be(ke(i,Bie)))||Zw(i,n.a,n.b,!0,!0)),c?Ei(i,Tg,rn($g)):Ei(i,Tg,(t=u(fa(sA),10),new Ll(t,u(_f(t,t.length),10),0)))}function v_n(e,n){var t,i,r,c,o,l,f,h;if(h=Be(C(n,(Mu(),Csn))),h==null||(Ln(h),h)){for(KTn(e,n),r=new Te,f=St(n.b,0);f.b!=f.d.c;)o=u(jt(f),40),t=R0e(e,o,null),t&&(Pu(t,n),qn(r.c,t));if(e.a=null,e.b=null,r.c.length>1)for(i=new P(r);i.a=0&&l!=t&&(c=new Dr(e,1,l,o,null),i?i.lj(c):i=c),t>=0&&(c=new Dr(e,1,t,l==t?o:null,n),i?i.lj(c):i=c)),i}function cKe(e){var n,t,i;if(e.b==null){if(i=new kd,e.i!=null&&(Bc(i,e.i),i.a+=":"),(e.f&256)!=0){for((e.f&256)!=0&&e.a!=null&&(Iyn(e.i)||(i.a+="//"),Bc(i,e.a)),e.d!=null&&(i.a+="/",Bc(i,e.d)),(e.f&16)!=0&&(i.a+="/"),n=0,t=e.j.length;ny?!1:(p=(f=wS(i,y,!1),f.a),g+l+p<=n.b&&(cO(t,c-t.s),t.c=!0,cO(i,c-t.s),RO(i,t.s,t.t+t.d+l),i.k=!0,c1e(t.q,i),S=!0,r&&(SB(n,i),i.j=n,e.c.length>o&&(JO((kn(o,e.c.length),u(e.c[o],186)),i),(kn(o,e.c.length),u(e.c[o],186)).a.c.length==0&&Od(e,o)))),S)}function A_n(e,n){var t,i,r,c,o,l;if(n.Tg("Partition midprocessing",1),r=new _w,er(li(new pn(null,new yn(e.a,16)),new k6),new Oje(r)),r.d!=0){for(l=u(gs(xae((c=r.i,new pn(null,(c||(r.i=new Uv(r,r.c))).Lc()))),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),i=l.Jc(),t=u(i.Pb(),15);i.Ob();)o=u(i.Pb(),15),mNn(u(vi(r,t),22),u(vi(r,o),22)),t=o;n.Ug()}}function hS(e,n){var t,i,r,c,o;if(e.Ab){if(e.Ab){if(o=e.Ab.i,o>0){if(r=u(e.Ab.g,1995),n==null){for(c=0;ct.s&&lf+A&&(O=p.g+y.g,y.a=(y.g*y.a+p.g*p.a)/O,y.g=O,p.f=y,t=!0)),c=l,p=y;return t}function T_n(e,n,t){var i,r,c,o,l,f,h,g;for(t.Tg(ZQe,1),Hu(e.b),Hu(e.a),l=null,c=St(n.b,0);!l&&c.b!=c.d.c;)h=u(jt(c),40),ze(Be(C(h,(Ti(),gb))))&&(l=h);for(f=new xi,Ki(f,l,f.c.b,f.c),RVe(e,f),g=St(n.b,0);g.b!=g.d.c;)h=u(jt(g),40),o=Pt(C(h,(Ti(),Bx))),r=lo(e.b,o)!=null?u(lo(e.b,o),15).a:0,he(h,wre,ye(r)),i=1+(lo(e.a,o)!=null?u(lo(e.a,o),15).a:0),he(h,v4e,ye(i));t.Ug()}function aKe(e){b2(e,new Kw(h2(l2(a2(f2(new pd,sp),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new VM))),xe(e,sp,am,p9e),xe(e,sp,fm,15),xe(e,sp,CN,ye(0)),xe(e,sp,N2e,_e(b9e)),xe(e,sp,S3,_e(jfn)),xe(e,sp,k4,_e(Efn)),xe(e,sp,V8,EWe),xe(e,sp,CS,_e(g9e)),xe(e,sp,j4,_e(w9e)),xe(e,sp,I2e,_e(fce)),xe(e,sp,DF,_e(kfn))}function hKe(e,n){var t,i,r,c,o,l,f,h,g;if(r=e.i,o=r.o.a,c=r.o.b,o<=0&&c<=0)return Ie(),ju;switch(h=e.n.a,g=e.n.b,l=e.o.a,t=e.o.b,n.g){case 2:case 1:if(h<0)return Ie(),Yn;if(h+l>o)return Ie(),nt;break;case 4:case 3:if(g<0)return Ie(),Vn;if(g+t>c)return Ie(),bt}return f=(h+l/2)/o,i=(g+t/2)/c,f+i<=1&&f-i<=0?(Ie(),Yn):f+i>=1&&f-i>=0?(Ie(),nt):i<.5?(Ie(),Vn):(Ie(),bt)}function dKe(e,n,t,i,r,c,o){var l,f,h,g,p,y;for(y=new S5,h=n.Jc();h.Ob();)for(l=u(h.Pb(),837),p=new P(l.Pf());p.a0?l.a?(h=l.b.Kf().b,r>h&&(e.v||l.c.d.c.length==1?(o=(r-h)/2,l.d.d=o,l.d.a=o):(t=u(Le(l.c.d,0),187).Kf().b,i=(t-h)/2,l.d.d=k.Math.max(0,i),l.d.a=r-i-h))):l.d.a=e.t+r:aE(e.u)&&(c=y0e(l.b),c.d<0&&(l.d.d=-c.d),c.d+c.a>l.b.Kf().b&&(l.d.a=c.d+c.a-l.b.Kf().b))}function Gf(){Gf=Y,O4=new Yr((Xt(),FI),ye(1)),SJ=new Yr(Zd,80),Ntn=new Yr(X9e,5),ktn=new Yr(J7,K8),Ttn=new Yr(Sce,ye(1)),Otn=new Yr(xce,($n(),!0)),ove=new Ew(50),Mtn=new Yr(f1,ove),rve=BI,sve=eA,jtn=new Yr(bce,!1),uve=zI,xtn=zm,Atn=wb,Stn=Lg,Etn=iy,Ctn=Fm,cve=(O0e(),btn),jte=mtn,EJ=dtn,kte=gtn,lve=ptn,_tn=q7,Ltn=lG,Dtn=Hm,Itn=G7,fve=(Z5(),Um),new Yr(W4,fve)}function I_n(e,n){var t;switch(bO(e)){case 6:return $r(n);case 7:return m2(n);case 8:return p2(n);case 3:return Array.isArray(n)&&(t=bO(n),!(t>=14&&t<=16));case 11:return n!=null&&typeof n===hZ;case 12:return n!=null&&(typeof n===dN||typeof n==hZ);case 0:return $Q(n,e.__elementTypeId$);case 2:return mV(n)&&n.Rm!==vn;case 1:return mV(n)&&n.Rm!==vn||$Q(n,e.__elementTypeId$);default:return!0}}function D_n(e){var n,t,i,r;i=e.o,j2(),e.A.dc()||gi(e.A,Zme)?r=i.a:(e.D?r=k.Math.max(i.a,iS(e.f)):r=iS(e.f),e.A.Gc((Vs(),VI))&&!e.B.Gc((_s(),lA))&&(r=k.Math.max(r,iS(u(zc(e.p,(Ie(),Vn)),253))),r=k.Math.max(r,iS(u(zc(e.p,bt),253)))),n=sze(e),n&&(r=k.Math.max(r,n.a))),ze(Be(e.e.Rf().mf((Xt(),zm))))?i.a=k.Math.max(i.a,r):i.a=r,t=e.f.i,t.c=0,t.b=r,GW(e.f)}function bKe(e,n){var t,i,r,c;return i=k.Math.min(k.Math.abs(e.c-(n.c+n.b)),k.Math.abs(e.c+e.b-n.c)),c=k.Math.min(k.Math.abs(e.d-(n.d+n.a)),k.Math.abs(e.d+e.a-n.d)),t=k.Math.abs(e.c+e.b/2-(n.c+n.b/2)),t>e.b/2+n.b/2||(r=k.Math.abs(e.d+e.a/2-(n.d+n.a/2)),r>e.a/2+n.a/2)?1:t==0&&r==0?0:t==0?c/r+1:r==0?i/t+1:k.Math.min(i/t,c/r)+1}function __n(e,n){var t,i,r,c,o,l,f;for(c=0,l=0,f=0,r=new P(e.f.e);r.a0&&e.d!=(AE(),xte)&&(l+=o*(i.d.a+e.a[n.a][i.a]*(n.d.a-i.d.a)/t)),t>0&&e.d!=(AE(),Ete)&&(f+=o*(i.d.b+e.a[n.a][i.a]*(n.d.b-i.d.b)/t)));switch(e.d.g){case 1:return new Ee(l/c,n.d.b);case 2:return new Ee(n.d.a,f/c);default:return new Ee(l/c,f/c)}}function gKe(e){var n,t,i,r,c,o;for(t=(!e.a&&(e.a=new mr(kl,e,5)),e.a).i+2,o=new xo(t),Ce(o,new Ee(e.j,e.k)),er(new pn(null,(!e.a&&(e.a=new mr(kl,e,5)),new yn(e.a,16))),new lSe(o)),Ce(o,new Ee(e.b,e.c)),n=1;n0&&(AO(f,!1,(vr(),Zc)),AO(f,!0,ru)),Ao(n.g,new oCe(e,t)),ei(e.g,n,t)}function ige(){ige=Y,Sln=new an(f2e,($n(),!1)),ye(-1),pln=new an(a2e,ye(-1)),ye(-1),mln=new an(h2e,ye(-1)),vln=new an(d2e,!1),yln=new an(b2e,!1),p6e=(eB(),Vre),Cln=new an(g2e,p6e),Tln=new an(w2e,-1),w6e=(WB(),qre),Mln=new an(p2e,w6e),Aln=new an(m2e,!0),b6e=(lB(),Yre),Eln=new an(v2e,b6e),jln=new an(y2e,!1),ye(1),kln=new an(k2e,ye(1)),g6e=(XB(),Qre),xln=new an(j2e,g6e)}function mKe(){mKe=Y;var e;for(Dme=F(z($t,1),ni,30,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]),cte=le($t,ni,30,37,15,1),snn=F(z($t,1),ni,30,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]),_me=le(Tp,NYe,30,37,14,1),e=2;e<=36;e++)cte[e]=lc(k.Math.pow(e,Dme[e])),_me[e]=GO(pN,cte[e])}function L_n(e){var n;if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i!=1)throw R(new Un(XWe+(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i));return n=new xs,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84))&&ac(n,tYe(e,VY(u(K((!e.b&&(e.b=new In(mt,e,4,7)),e.b),0),84)),!1)),VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84))&&ac(n,tYe(e,VY(u(K((!e.c&&(e.c=new In(mt,e,5,8)),e.c),0),84)),!0)),n}function vKe(e,n){var t,i,r,c,o;for(n.d?r=e.a.c==(gh(),Ep)?cr(n.b):Ii(n.b):r=e.a.c==(gh(),Yd)?cr(n.b):Ii(n.b),c=!1,i=new Xn(Qn(r.a.Jc(),new ne));ht(i);)if(t=u(rt(i),17),o=ze(e.a.f[e.a.g[n.b.p].p]),!(!o&&!uc(t)&&t.c.i.c==t.d.i.c)&&!(ze(e.a.n[e.a.g[n.b.p].p])||ze(e.a.n[e.a.g[n.b.p].p]))&&(c=!0,cf(e.b,e.a.g[rxn(t,n.b).p])))return n.c=!0,n.a=t,n;return n.c=c,n.a=null,n}function rge(e,n,t){var i,r,c,o,l,f,h;if(i=t.gc(),i==0)return!1;if(e.Nj())if(f=e.Oj(),ade(e,n,t),o=i==1?e.Gj(3,null,t.Jc().Pb(),n,f):e.Gj(5,null,t,n,f),e.Kj()){for(l=i<100?null:new E0(i),c=n+i,r=n;r0){for(o=0;o>16==-15&&e.Cb.Vh()&&EY(new mY(e.Cb,9,13,t,e.c,Bd(Ts(u(e.Cb,62)),e))):X(e.Cb,88)&&e.Db>>16==-23&&e.Cb.Vh()&&(n=e.c,X(n,88)||(n=(jn(),Ef)),X(t,88)||(t=(jn(),Ef)),EY(new mY(e.Cb,9,10,t,n,Bd(Vu(u(e.Cb,29)),e)))))),e.c}function jKe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;if(n==t)return!0;if(n=sbe(e,n),t=sbe(e,t),i=GQ(n),i){if(g=GQ(t),g!=i)return g?(f=i.kk(),A=g.kk(),f==A&&f!=null):!1;if(o=(!n.d&&(n.d=new mr(Rc,n,1)),n.d),c=o.i,y=(!t.d&&(t.d=new mr(Rc,t,1)),t.d),c==y.i){for(h=0;h0,l=QB(n,c),hle(t?l.b:l.g,n),o3(l).c.length==1&&Ki(i,l,i.c.b,i.c),r=new jc(c,n),_0(e.o,r),qo(e.e.a,c))}function xKe(e,n){var t,i,r,c,o,l,f;return i=k.Math.abs(jR(e.b).a-jR(n.b).a),l=k.Math.abs(jR(e.b).b-jR(n.b).b),r=0,f=0,t=1,o=1,i>e.b.b/2+n.b.b/2&&(r=k.Math.min(k.Math.abs(e.b.c-(n.b.c+n.b.b)),k.Math.abs(e.b.c+e.b.b-n.b.c)),t=1-r/i),l>e.b.a/2+n.b.a/2&&(f=k.Math.min(k.Math.abs(e.b.d-(n.b.d+n.b.a)),k.Math.abs(e.b.d+e.b.a-n.b.d)),o=1-f/l),c=k.Math.min(t,o),(1-c)*k.Math.sqrt(i*i+l*l)}function F_n(e){var n,t,i,r;for(uZ(e,e.e,e.f,(Lw(),bb),!0,e.c,e.i),uZ(e,e.e,e.f,bb,!1,e.c,e.i),uZ(e,e.e,e.f,Y3,!0,e.c,e.i),uZ(e,e.e,e.f,Y3,!1,e.c,e.i),R_n(e,e.c,e.e,e.f,e.i),i=new qr(e.i,0);i.b=65;t--)oh[t]=t-65<<24>>24;for(i=122;i>=97;i--)oh[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)oh[r]=r-48+52<<24>>24;for(oh[43]=62,oh[47]=63,c=0;c<=25;c++)u0[c]=65+c&yr;for(o=26,f=0;o<=51;++o,f++)u0[o]=97+f&yr;for(e=52,l=0;e<=61;++e,l++)u0[e]=48+l&yr;u0[62]=43,u0[63]=47}function AKe(e,n){var t,i,r,c,o,l;return r=e1e(e),l=e1e(n),r==l?e.e==n.e&&e.a<54&&n.a<54?e.fn.f?1:0:(i=e.e-n.e,t=(e.d>0?e.d:k.Math.floor((e.a-1)*IYe)+1)-(n.d>0?n.d:k.Math.floor((n.a-1)*IYe)+1),t>i+1?r:t0&&(o=Qv(o,RKe(i))),MJe(c,o))):rh&&(y=0,S+=f+n,f=0),I8(o,y,S),t=k.Math.max(t,y+g.a),f=k.Math.max(f,g.b),y+=g.a+n;return new Ee(t+n,S+f+n)}function sge(e,n){var t,i,r,c,o,l,f;if(!Pa(e))throw R(new Uc(UWe));if(i=Pa(e),c=i.g,r=i.f,c<=0&&r<=0)return Ie(),ju;switch(l=e.i,f=e.j,n.g){case 2:case 1:if(l<0)return Ie(),Yn;if(l+e.g>c)return Ie(),nt;break;case 4:case 3:if(f<0)return Ie(),Vn;if(f+e.f>r)return Ie(),bt}return o=(l+e.g/2)/c,t=(f+e.f/2)/r,o+t<=1&&o-t<=0?(Ie(),Yn):o+t>=1&&o-t>=0?(Ie(),nt):t<.5?(Ie(),Vn):(Ie(),bt)}function G_n(e,n,t,i,r){var c,o;if(c=mc(Rr(n[0],Dc),Rr(i[0],Dc)),e[0]=Rt(c),c=Mw(c,32),t>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=c.b[0]-1),n=1;n0&&(Pb(f,f.d-r.d),r.c==(ba(),db)&&iX(f,f.a-r.d),f.d<=0&&f.i>0&&Ki(n,f,n.c.b,n.c)));for(c=new P(e.f);c.a0&&(y0(l,l.i-r.d),r.c==(ba(),db)&&NP(l,l.b-r.d),l.i<=0&&l.d>0&&Ki(t,l,t.c.b,t.c)))}function X_n(e,n,t,i,r){var c,o,l,f,h,g,p,y,S;for(En(),Tr(e,new WM),o=$T(e),S=new Te,y=new Te,l=null,f=0;o.b!=0;)c=u(o.b==0?null:(at(o.b!=0),Rl(o,o.a.a)),167),!l||us(l)*Gs(l)/21&&(f>us(l)*Gs(l)/2||o.b==0)&&(p=new mB(y),g=us(l)/Gs(l),h=oZ(p,n,new a5,t,i,r,g),pi(aa(p.e),h),l=p,qn(S.c,p),f=0,y.c.length=0));return Sr(S,y),S}function Wu(e,n,t,i,r){Sd();var c,o,l,f,h,g,p;if(zfe(e,"src"),zfe(t,"dest"),p=Us(e),f=Us(t),hfe((p.i&4)!=0,"srcType is not an array"),hfe((f.i&4)!=0,"destType is not an array"),g=p.c,o=f.c,hfe((g.i&1)!=0?g==o:(o.i&1)==0,"Array types don't match"),mkn(e,n,t,i,r),(g.i&1)==0&&p!=f)if(h=K5(e),c=K5(t),oe(e)===oe(t)&&ni;)ir(c,l,h[--n]);else for(l=i+r;i0),i.a.Xb(i.c=--i.b),p>y+f&&As(i);for(o=new P(S);o.a0),i.a.Xb(i.c=--i.b)}}function V_n(){ai();var e,n,t,i,r,c;if(Kce)return Kce;for(e=new ul(4),cm(e,Y0(Une,!0)),vS(e,Y0("M",!0)),vS(e,Y0("C",!0)),c=new ul(4),i=0;i<11;i++)ho(c,i,i);return n=new ul(4),cm(n,Y0("M",!0)),ho(n,4448,4607),ho(n,65438,65439),r=new eE(2),dg(r,e),dg(r,yA),t=new eE(2),t.Hm(wR(c,Y0("L",!0))),t.Hm(n),t=new P2(3,t),t=new Jfe(r,t),Kce=t,Kce}function rm(e,n){var t,i,r,c,o,l,f,h;for(t=new RegExp(n,"g"),f=le(Je,Me,2,0,6,1),i=0,h=e,c=null;;)if(l=t.exec(h),l==null||h==""){f[i]=h;break}else o=l.index,f[i]=(Qr(0,o,h.length),h.substr(0,o)),h=sf(h,o+l[0].length,h.length),t.lastIndex=0,c==h&&(f[i]=(Qr(0,1,h.length),h.substr(0,1)),h=(Wn(1,h.length+1),h.substr(1))),c=h,++i;if(e.length>0){for(r=f.length;r>0&&f[r-1]=="";)--r;rg&&(g=f);for(h=k.Math.pow(4,n),g>h&&(h=g),y=(k.Math.log(h)-k.Math.log(1))/n,c=k.Math.exp(y),r=c,o=0;o0&&(p-=i[0]+e.c,i[0]+=e.c),i[2]>0&&(p-=i[2]+e.c),i[1]=k.Math.max(i[1],p),mR(e.a[1],t.c+n.b+i[0]-(i[1]-p)/2,i[1]);for(c=e.a,l=0,h=c.length;l0?(e.n.c.length-1)*e.i:0,i=new P(e.n);i.a1)for(i=St(r,0);i.b!=i.d.c;)for(t=u(jt(i),235),c=0,f=new P(t.e);f.a0&&(n[0]+=e.c,p-=n[0]),n[2]>0&&(p-=n[2]+e.c),n[1]=k.Math.max(n[1],p),vR(e.a[1],i.d+t.d+n[0]-(n[1]-p)/2,n[1]);else for(A=i.d+t.d,S=i.a-t.d-t.a,o=e.a,f=0,g=o.length;f=n.o&&t.f<=n.f||n.a*.5<=t.f&&n.a*1.5>=t.f){if(o=u(Le(n.n,n.n.c.length-1),208),o.e+o.d+t.g+r<=i&&(c=u(Le(n.n,n.n.c.length-1),208),c.f-e.f+t.f<=e.b||e.a.c.length==1))return tde(n,t),!0;if(n.s+t.g<=i&&n.t+n.d+t.f+r<=e.f+e.b)return Ce(n.b,t),l=u(Le(n.n,n.n.c.length-1),208),Ce(n.n,new FR(n.s,l.f+l.a+n.i,n.i)),Lde(u(Le(n.n,n.n.c.length-1),208),t),TKe(n,t),!0}return!1}function Kz(e,n,t,i){var r,c,o,l,f;if(f=Po(e.e.Ah(),n),r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o0||Hw(r.b.d,e.b.d+e.b.a)==0&&i.b<0||Hw(r.b.d+r.b.a,e.b.d)==0&&i.b>0){l=0;break}}else l=k.Math.min(l,vqe(e,r,i));l=k.Math.min(l,NKe(e,c,l,i))}return l}function fge(e,n){var t,i,r,c,o,l,f;if(e.b<2)throw R(new Un("The vector chain must contain at least a source and a target point."));for(r=(at(e.b!=0),u(e.a.a.c,8)),ST(n,r.a,r.b),f=new A5((!n.a&&(n.a=new mr(kl,n,5)),n.a)),o=St(e,1);o.a=0&&c!=t))throw R(new Un(JN));for(r=0,f=0;fte(_a(o.g,o.d[0]).a)?(at(f.b>0),f.a.Xb(f.c=--f.b),E2(f,o),r=!0):l.e&&l.e.gc()>0&&(c=(!l.e&&(l.e=new Te),l.e).Kc(n),h=(!l.e&&(l.e=new Te),l.e).Kc(t),(c||h)&&((!l.e&&(l.e=new Te),l.e).Ec(o),++o.c));r||qn(i.c,o)}function rLn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B;return p=e.a.i+e.a.g/2,y=e.a.i+e.a.g/2,A=n.i+n.g/2,_=n.j+n.f/2,l=new Ee(A,_),h=u(ke(n,(Xt(),Y4)),8),h.a=h.a+p,h.b=h.b+y,c=(l.b-h.b)/(l.a-h.a),i=l.b-c*l.a,O=t.i+t.g/2,B=t.j+t.f/2,f=new Ee(O,B),g=u(ke(t,Y4),8),g.a=g.a+p,g.b=g.b+y,o=(f.b-g.b)/(f.a-g.a),r=f.b-o*f.a,S=(i-r)/(o-c),h.a>>0,"0"+n.toString(16)),i="\\x"+sf(t,t.length-2,t.length)):e>=Ec?(t=(n=e>>>0,"0"+n.toString(16)),i="\\v"+sf(t,t.length-6,t.length)):i=""+String.fromCharCode(e&yr)}return i}function PKe(e,n){var t,i,r,c,o,l,f,h,g;for(c=new P(e.b);c.at){n.Ug();return}switch(u(C(e,(Oe(),Gie)),350).g){case 2:c=new C6;break;case 0:c=new qp;break;default:c=new hM}if(i=c.mg(e,r),!c.ng())switch(u(C(e,AH),351).g){case 2:i=yqe(r,i);break;case 1:i=fGe(r,i)}cPn(e,r,i),n.Ug()}function dS(e,n){var t,i,r,c,o,l,f,h;n%=24,e.q.getHours()!=n&&(i=new k.Date(e.q.getTime()),i.setDate(i.getDate()+1),l=e.q.getTimezoneOffset()-i.getTimezoneOffset(),l>0&&(f=l/60|0,h=l%60,r=e.q.getDate(),t=e.q.getHours(),t+f>=24&&++r,c=new k.Date(e.q.getFullYear(),e.q.getMonth(),r,n+f,e.q.getMinutes()+h,e.q.getSeconds(),e.q.getMilliseconds()),e.q.setTime(c.getTime()))),o=e.q.getTime(),e.q.setTime(o+36e5),e.q.getHours()!=n&&e.q.setTime(o)}function aLn(e,n){var t,i,r,c;if(q5n(e.d,e.e),e.c.a.$b(),te(re(C(n.j,(Oe(),bI))))!=0||te(re(C(n.j,bI)))!=0)for(t=A3,oe(C(n.j,l1))!==oe((H1(),hb))&&he(n.j,(ve(),lb),($n(),!0)),c=u(C(n.j,Mx),15).a,r=0;rr&&++h,Ce(o,(kn(l+h,n.c.length),u(n.c[l+h],15))),f+=(kn(l+h,n.c.length),u(n.c[l+h],15)).a-i,++t;t=_&&e.e[f.p]>A*e.b||V>=t*_)&&(qn(y.c,l),l=new Te,ac(o,c),c.a.$b(),h-=g,S=k.Math.max(S,h*e.b+O),h+=V,U=V,V=0,g=0,O=0);return new jc(S,y)}function UW(e){var n,t,i,r,c,o,l;if(!e.d){if(l=new dU,n=bA,c=n.a.yc(e,n),c==null){for(i=new st(tu(e));i.e!=i.i.gc();)t=u(ft(i),29),nr(l,UW(t));n.a.Ac(e)!=null,n.a.gc()==0}for(o=l.i,r=(!e.q&&(e.q=new pe(kf,e,11,10)),new st(e.q));r.e!=r.i.gc();++o)u(ft(r),403);nr(l,(!e.q&&(e.q=new pe(kf,e,11,10)),e.q)),G2(l),e.d=new Bv((u(K(we((O0(),Bn).o),9),19),l.i),l.g),e.e=u(l.g,678),e.e==null&&(e.e=rhn),Ms(e).b&=-17}return e.d}function _8(e,n,t,i){var r,c,o,l,f,h;if(h=Po(e.e.Ah(),n),f=0,r=u(e.g,122),Tc(),u(n,69).vk()){for(o=0;o1||A==-1)if(p=u(O,72),y=u(g,72),p.dc())y.$b();else for(o=!!Oc(n),c=0,l=e.a?p.Jc():p.Gi();l.Ob();)h=u(l.Pb(),57),r=u(Ba(e,h),57),r?(o?(f=y.bd(r),f==-1?y.Ei(c,r):c!=f&&y.Si(c,r)):y.Ei(c,r),++c):e.b&&!o&&(y.Ei(c,h),++c);else O==null?g.Wb(null):(r=Ba(e,O),r==null?e.b&&!Oc(n)&&g.Wb(O):g.Wb(r))}function wLn(e,n){var t,i,r,c,o,l,f,h;for(t=new v6,r=new Xn(Qn(cr(n).a.Jc(),new ne));ht(r);)if(i=u(rt(r),17),!uc(i)&&(l=i.c.i,w0e(l,CJ))){if(h=Rbe(e,l,CJ,MJ),h==-1)continue;t.b=k.Math.max(t.b,h),!t.a&&(t.a=new Te),Ce(t.a,l)}for(o=new Xn(Qn(Ii(n).a.Jc(),new ne));ht(o);)if(c=u(rt(o),17),!uc(c)&&(f=c.d.i,w0e(f,MJ))){if(h=Rbe(e,f,MJ,CJ),h==-1)continue;t.d=k.Math.max(t.d,h),!t.c&&(t.c=new Te),Ce(t.c,f)}return t}function pLn(e,n,t,i){var r,c,o,l,f,h,g;if(t.d.i!=n.i){for(r=new Ja(e),Cf(r,(Fn(),dr)),he(r,(ve(),mi),t),he(r,(Oe(),Zi),(Br(),to)),qn(i.c,r),o=new Qu,wu(o,r),Ar(o,(Ie(),Yn)),l=new Qu,wu(l,r),Ar(l,nt),g=t.d,Gr(t,o),c=new Dw,Pu(c,t),he(c,Wc,null),fc(c,l),Gr(c,g),h=new qr(t.b,0);h.b1e6)throw R(new UP("power of ten too big"));if(e<=oi)return H5(WO(M4[1],n),n);for(i=WO(M4[1],oi),r=i,t=Lu(e-oi),n=lc(e%oi);ao(t,oi)>0;)r=Qv(r,i),t=ff(t,oi);for(r=Qv(r,WO(M4[1],n)),r=H5(r,oi),t=Lu(e-oi);ao(t,oi)>0;)r=H5(r,oi),t=ff(t,oi);return r=H5(r,n),r}function BKe(e){var n,t,i,r,c,o,l,f,h,g;for(f=new P(e.a);f.ah&&i>h)g=l,h=te(n.p[l.p])+te(n.d[l.p])+l.o.b+l.d.a;else{r=!1,t.$g()&&t.ah("bk node placement breaks on "+l+" which should have been after "+g);break}if(!r)break}return t.$g()&&t.ah(n+" is feasible: "+r),r}function dge(e,n,t,i){var r,c,o,l,f,h,g,p,y;if(c=new Ja(e),Cf(c,(Fn(),wo)),he(c,(Oe(),Zi),(Br(),to)),r=0,n){for(o=new Qu,he(o,(ve(),mi),n),he(c,mi,n.i),Ar(o,(Ie(),Yn)),wu(o,c),y=ph(n.e),h=y,g=0,p=h.length;g0){if(r<0&&g.a&&(r=f,c=h[0],i=0),r>=0){if(l=g.b,f==r&&(l-=i++,l==0))return 0;if(!FVe(n,h,g,l,o)){f=r-1,h[0]=c;continue}}else if(r=-1,!FVe(n,h,g,0,o))return 0}else{if(r=-1,rc(g.c,0)==32){if(p=h[0],DRe(n,h),h[0]>p)continue}else if(t5n(n,g.c,h[0])){h[0]+=g.c.length;continue}return 0}return fRn(o,t)?h[0]:0}function jLn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(g=new kR(new oje(t)),l=le(ts,va,30,e.f.e.c.length,16,1),Bfe(l,l.length),t[n.a]=0,h=new P(e.f.e);h.a=l.a?c.b>=l.b?(i.a=l.a+(c.a-l.a)/2+r,i.b=l.b+(c.b-l.b)/2-r-e.e.b):(i.a=l.a+(c.a-l.a)/2+r,i.b=c.b+(l.b-c.b)/2+r):c.b>=l.b?(i.a=c.a+(l.a-c.a)/2+r,i.b=l.b+(c.b-l.b)/2+r):(i.a=c.a+(l.a-c.a)/2+r,i.b=c.b+(l.b-c.b)/2-r-e.e.b))}function gS(e){var n,t,i,r,c,o,l,f;if(!e.f){if(f=new uC,l=new uC,n=bA,o=n.a.yc(e,n),o==null){for(c=new st(tu(e));c.e!=c.i.gc();)r=u(ft(c),29),nr(f,gS(r));n.a.Ac(e)!=null,n.a.gc()==0}for(i=(!e.s&&(e.s=new pe(ns,e,21,17)),new st(e.s));i.e!=i.i.gc();)t=u(ft(i),179),X(t,103)&&Et(l,u(t,19));G2(l),e.r=new dIe(e,(u(K(we((O0(),Bn).o),6),19),l.i),l.g),nr(f,e.r),G2(f),e.f=new Bv((u(K(we(Bn.o),5),19),f.i),f.g),Ms(e).b&=-3}return e.f}function Vz(){Vz=Y,z8e=F(z(Zl,1),xh,30,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),_an=new RegExp(`[ +\r\f]+`);try{aA=F(z(ozn,1),Nn,2076,0,[new QC((Bse(),tz("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",IT((HP(),HP(),WS))))),new QC(tz("yyyy-MM-dd'T'HH:mm:ss'.'SSS",IT(WS))),new QC(tz("yyyy-MM-dd'T'HH:mm:ss",IT(WS))),new QC(tz("yyyy-MM-dd'T'HH:mm",IT(WS))),new QC(tz("yyyy-MM-dd",IT(WS)))])}catch(e){if(e=sr(e),!X(e,80))throw R(e)}}function ELn(e){var n,t,i,r,c,o,l;for(t=null,l=null,i=u(C(e.b,(Oe(),Die)),348),i==(RE(),jI)&&(t=new Te,l=new Te),o=new P(e.d);o.at);return c}function FKe(e,n){var t,i,r,c;if(r=Ds(e.d,1)!=0,i=Oz(e,n),i==0&&ze(Be(C(n.j,(ve(),lb)))))return 0;!ze(Be(C(n.j,(ve(),lb))))&&!ze(Be(C(n.j,J3)))||oe(C(n.j,(Oe(),l1)))===oe((H1(),hb))?n.c.kg(n.e,r):r=ze(Be(C(n.j,lb))),iN(e,n,r,!0),ze(Be(C(n.j,J3)))&&he(n.j,J3,($n(),!1)),ze(Be(C(n.j,lb)))&&(he(n.j,lb,($n(),!1)),he(n.j,J3,!0)),t=Oz(e,n);do{if(Zhe(e),t==0)return 0;r=!r,c=t,iN(e,n,r,!1),t=Oz(e,n)}while(c>t);return c}function xLn(e,n,t){var i,r,c,o,l;if(i=u(C(e,(Oe(),Oie)),22),t.a>n.a&&(i.Gc((ag(),Yx))?e.c.a+=(t.a-n.a)/2:i.Gc(Qx)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((ag(),Zx))?e.c.b+=(t.b-n.b)/2:i.Gc(Wx)&&(e.c.b+=t.b-n.b)),u(C(e,(ve(),po)),22).Gc((Ic(),Vl))&&(t.a>n.a||t.b>n.b))for(l=new P(e.a);l.an.a&&(i.Gc((ag(),Yx))?e.c.a+=(t.a-n.a)/2:i.Gc(Qx)&&(e.c.a+=t.a-n.a)),t.b>n.b&&(i.Gc((ag(),Zx))?e.c.b+=(t.b-n.b)/2:i.Gc(Wx)&&(e.c.b+=t.b-n.b)),u(C(e,(ve(),po)),22).Gc((Ic(),Vl))&&(t.a>n.a||t.b>n.b))for(o=new P(e.a);o.a=0&&p<=1&&y>=0&&y<=1?pi(new Ee(e.a,e.b),C1(new Ee(n.a,n.b),p)):null}function wS(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(c=0,o=e.t,r=0,i=0,f=0,y=0,p=0,t&&(e.n.c.length=0,Ce(e.n,new FR(e.s,e.t,e.i))),l=0,g=new P(e.b);g.a0?e.i:0)>n&&f>0&&(c=0,o+=f+e.i,r=k.Math.max(r,y),i+=f+e.i,f=0,y=0,t&&(++p,Ce(e.n,new FR(e.s,o,e.i))),l=0),y+=h.g+(l>0?e.i:0),f=k.Math.max(f,h.f),t&&Lde(u(Le(e.n,p),208),h),c+=h.g+(l>0?e.i:0),++l;return r=k.Math.max(r,y),i+=f,t&&(e.r=r,e.d=i,Rde(e.j)),new Lf(e.s,e.t,r,i)}function Yz(e){var n,t,i;return t=oe(ke(e,(Oe(),H4)))===oe((ZO(),nie))||oe(ke(e,H4))===oe(Yte)||oe(ke(e,H4))===oe(Qte)||oe(ke(e,H4))===oe(Zte)||oe(ke(e,H4))===oe(tie)||oe(ke(e,H4))===oe(uI),i=oe(ke(e,vH))===oe((nN(),Uie))||oe(ke(e,vH))===oe(Kie)||oe(ke(e,wI))===oe((V0(),$7))||oe(ke(e,wI))===oe((V0(),Ox)),n=oe(ke(e,l1))!==oe((H1(),hb))||ze(Be(ke(e,N7)))||oe(ke(e,vx))!==oe((t4(),cx))||te(re(ke(e,bI)))!=0||te(re(ke(e,Mie)))!=0,t||i||n}function m3(e){var n,t,i,r,c,o,l,f;if(!e.a){if(e.o=null,f=new qSe(e),n=new Mf,t=bA,l=t.a.yc(e,t),l==null){for(o=new st(tu(e));o.e!=o.i.gc();)c=u(ft(o),29),nr(f,m3(c));t.a.Ac(e)!=null,t.a.gc()==0}for(r=(!e.s&&(e.s=new pe(ns,e,21,17)),new st(e.s));r.e!=r.i.gc();)i=u(ft(r),179),X(i,335)&&Et(n,u(i,38));G2(n),e.k=new hIe(e,(u(K(we((O0(),Bn).o),7),19),n.i),n.g),nr(f,e.k),G2(f),e.a=new Bv((u(K(we(Bn.o),4),19),f.i),f.g),Ms(e).b&=-2}return e.a}function CLn(e){var n,t,i,r,c,o,l,f,h,g,p,y;if(l=e.d,p=u(C(e,(ve(),F4)),16),n=u(C(e,_4),16),!(!p&&!n)){if(c=te(re(X2(e,(Oe(),zie)))),o=te(re(X2(e,m5e))),y=0,p){for(h=0,r=p.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),y+=i.o.a;y+=c*(p.gc()-1),l.d+=h+o}if(t=0,n){for(h=0,r=n.Jc();r.Ob();)i=u(r.Pb(),9),h=k.Math.max(h,i.o.b),t+=i.o.a;t+=c*(n.gc()-1),l.a+=h+o}f=k.Math.max(y,t),f>e.o.a&&(g=(f-e.o.a)/2,l.b=k.Math.max(l.b,g),l.c=k.Math.max(l.c,g))}}function wge(e,n,t,i){var r,c,o,l,f,h,g;if(g=Po(e.e.Ah(),n),r=0,c=u(e.g,122),f=null,Tc(),u(n,69).vk()){for(l=0;ll?1:-1:T1e(e.a,n.a,c),r==-1)p=-f,g=o==f?hY(n.a,l,e.a,c):bY(n.a,l,e.a,c);else if(p=o,o==f){if(r==0)return jh(),ex;g=hY(e.a,c,n.a,l)}else g=bY(e.a,c,n.a,l);return h=new Xb(p,g.length,g),yE(h),h}function NLn(e,n){var t,i,r,c;if(c=MKe(n),!n.c&&(n.c=new pe($s,n,9,9)),er(new pn(null,(!n.c&&(n.c=new pe($s,n,9,9)),new yn(n.c,16))),new aje(c)),r=u(C(c,(ve(),po)),22),M$n(n,r),r.Gc((Ic(),Vl)))for(i=new st((!n.c&&(n.c=new pe($s,n,9,9)),n.c));i.e!=i.i.gc();)t=u(ft(i),125),W$n(e,n,c,t);return u(ke(n,(Oe(),Tg)),182).gc()!=0&&bXe(n,c),ze(Be(C(c,d5e)))&&r.Ec(rH),wi(c,pI)&&rAe(new rde(te(re(C(c,pI)))),c),oe(ke(n,Am))===oe((F1(),e0))?yBn(e,n,c):rRn(e,n,c),c}function bo(e,n){var t,i,r,c,o,l,f;if(e==null)return null;if(c=e.length,c==0)return"";for(f=le(Zl,xh,30,c,15,1),Qr(0,c,e.length),Qr(0,c,f.length),aDe(e,0,c,f,0),t=null,l=n,r=0,o=0;r0?sf(t.a,0,c-1):""):(Qr(0,c-1,e.length),e.substr(0,c-1)):t?t.a:e}function ILn(e,n,t){var i,r,c;if(wi(n,(Oe(),ku))&&(oe(C(n,ku))===oe((Xs(),Q1))||oe(C(n,ku))===oe(Mg))||wi(t,ku)&&(oe(C(t,ku))===oe((Xs(),Q1))||oe(C(t,ku))===oe(Mg)))return 0;if(i=_r(n),r=yDn(e,n,t),r!=0)return r;if(wi(n,(ve(),Oi))&&wi(t,Oi)){if(c=oo(Qw(n,t,i,u(C(i,fb),15).a),Qw(t,n,i,u(C(i,fb),15).a)),oe(C(i,yx))===oe((B0(),sI))&&oe(C(n,kx))!==oe(C(t,kx))&&(c=0),c<0)return rN(e,n,t),c;if(c>0)return rN(e,t,n),c}return XTn(e,n,t)}function JKe(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(i=new Xn(Qn(K0(n).a.Jc(),new ne));ht(i);)t=u(rt(i),85),X(K((!t.b&&(t.b=new In(mt,t,4,7)),t.b),0),193)||(f=iu(u(K((!t.c&&(t.c=new In(mt,t,5,8)),t.c),0),84)),cS(t)||(o=n.i+n.g/2,l=n.j+n.f/2,g=f.i+f.g/2,p=f.j+f.f/2,y=new Vr,y.a=g-o,y.b=p-l,c=new Ee(y.a,y.b),j8(c,n.g,n.f),y.a-=c.a,y.b-=c.b,o=g-y.a,l=p-y.b,h=new Ee(y.a,y.b),j8(h,f.g,f.f),y.a-=h.a,y.b-=h.b,g=o+y.a,p=l+y.b,r=Fz(t),i3(r,o),r3(r,l),n3(r,g),t3(r,p),JKe(e,f)))}function cm(e,n){var t,i,r,c,o;if(o=u(n,137),g3(e),g3(o),o.b!=null){if(e.c=!0,e.b==null){e.b=le($t,ni,30,o.b.length,15,1),Wu(o.b,0,e.b,0,o.b.length);return}for(c=le($t,ni,30,e.b.length+o.b.length,15,1),t=0,i=0,r=0;t=e.b.length?(c[r++]=o.b[i++],c[r++]=o.b[i++]):i>=o.b.length?(c[r++]=e.b[t++],c[r++]=e.b[t++]):o.b[i]0?e.i:0)),++n;for(Y1e(e.n,f),e.d=t,e.r=i,e.g=0,e.f=0,e.e=0,e.o=Vi,e.p=Vi,c=new P(e.b);c.a0&&(r=(!e.n&&(e.n=new pe(Eu,e,1,7)),u(K(e.n,0),157)).a,!r||Kt(Kt((n.a+=' "',n),r),'"'))),t=(!e.b&&(e.b=new In(mt,e,4,7)),!(e.b.i<=1&&(!e.c&&(e.c=new In(mt,e,5,8)),e.c.i<=1))),t?n.a+=" [":n.a+=" ",Kt(n,ile(new IX,new st(e.b))),t&&(n.a+="]"),n.a+=nee,t&&(n.a+="["),Kt(n,ile(new IX,new st(e.c))),t&&(n.a+="]"),n.a)}function _Ln(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On;for(be=e.c,fe=n.c,t=pu(be.a,e,0),i=pu(fe.a,n,0),V=u(Gw(e,(Nc(),ys)).Jc().Pb(),12),cn=u(Gw(e,Io).Jc().Pb(),12),ie=u(Gw(n,ys).Jc().Pb(),12),On=u(Gw(n,Io).Jc().Pb(),12),B=ph(V.e),De=ph(cn.g),U=ph(ie.e),un=ph(On.g),q0(e,i,fe),o=U,g=0,A=o.length;g0&&f[i]&&(A=Hv(e.b,f[i],r)),O=k.Math.max(O,r.c.c.b+A);for(c=new P(g.e);c.ag?new Qb((ba(),Pm),t,n,h-g):h>0&&g>0&&(new Qb((ba(),Pm),n,t,0),new Qb(Pm,t,n,0))),o)}function RLn(e,n,t){var i,r,c;for(e.a=new Te,c=St(n.b,0);c.b!=c.d.c;){for(r=u(jt(c),40);u(C(r,(Mu(),Lh)),15).a>e.a.c.length-1;)Ce(e.a,new jc(A3,Hpe));i=u(C(r,Lh),15).a,t==(vr(),Zc)||t==ru?(r.e.ate(re(u(Le(e.a,i),49).b))&&UC(u(Le(e.a,i),49),r.e.a+r.f.a)):(r.e.bte(re(u(Le(e.a,i),49).b))&&UC(u(Le(e.a,i),49),r.e.b+r.f.b))}}function qKe(e,n,t,i){var r,c,o,l,f,h,g;if(c=VB(i),l=ze(Be(C(i,(Oe(),o5e)))),(l||ze(Be(C(e,mH))))&&!zv(u(C(e,Zi),102)))r=e4(c),f=tge(e,t,t==(Nc(),Io)?r:_O(r));else switch(f=new Qu,wu(f,e),n?(g=f.n,g.a=n.a-e.n.a,g.b=n.b-e.n.b,UGe(g,0,0,e.o.a,e.o.b),Ar(f,hKe(f,c))):(r=e4(c),Ar(f,t==(Nc(),Io)?r:_O(r))),o=u(C(i,(ve(),po)),22),h=f.j,c.g){case 2:case 1:(h==(Ie(),Vn)||h==bt)&&o.Ec((Ic(),B3));break;case 4:case 3:(h==(Ie(),nt)||h==Yn)&&o.Ec((Ic(),B3))}return f}function UKe(e,n){var t,i,r,c,o,l;for(o=new J2(new sn(e.f.b).a);o.b;){if(c=c3(o),r=u(c.jd(),591),n==1){if(r.yf()!=(vr(),Yl)&&r.yf()!=th)continue}else if(r.yf()!=(vr(),Zc)&&r.yf()!=ru)continue;switch(i=u(u(c.kd(),49).b,82),l=u(u(c.kd(),49).a,194),t=l.c,r.yf().g){case 2:i.g.c=e.e.a,i.g.b=k.Math.max(1,i.g.b+t);break;case 1:i.g.c=i.g.c+t,i.g.b=k.Math.max(1,i.g.b-t);break;case 4:i.g.d=e.e.b,i.g.a=k.Math.max(1,i.g.a+t);break;case 3:i.g.d=i.g.d+t,i.g.a=k.Math.max(1,i.g.a-t)}}}function BLn(e,n){var t,i,r,c,o,l,f,h,g,p;for(n.Tg("Simple node placement",1),p=u(C(e,(ve(),H3)),316),l=0,c=new P(e.b);c.a1)throw R(new Un(XN));f||(c=Yh(n,i.Jc().Pb()),o.Ec(c))}return b1e(e,L0e(e,n,t),o)}function Wz(e,n,t){var i,r,c,o,l,f,h,g;if(G1(e.e,n))f=(Tc(),u(n,69).vk()?new lR(n,e):new jT(n,e)),Iz(f.c,f.b),nE(f,u(t,18));else{for(g=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o"}f!=null&&(n.a+=""+f)}else e.e?(l=e.e.zb,l!=null&&(n.a+=""+l)):(n.a+="?",e.b?(n.a+=" super ",QW(e.b,n)):e.f&&(n.a+=" extends ",QW(e.f,n)))}function ULn(e){e.b=null,e.a=null,e.o=null,e.q=null,e.v=null,e.w=null,e.B=null,e.p=null,e.Q=null,e.R=null,e.S=null,e.T=null,e.U=null,e.V=null,e.W=null,e.bb=null,e.eb=null,e.ab=null,e.H=null,e.db=null,e.c=null,e.d=null,e.f=null,e.n=null,e.r=null,e.s=null,e.u=null,e.G=null,e.J=null,e.e=null,e.j=null,e.i=null,e.g=null,e.k=null,e.t=null,e.F=null,e.I=null,e.L=null,e.M=null,e.O=null,e.P=null,e.$=null,e.N=null,e.Z=null,e.cb=null,e.K=null,e.D=null,e.A=null,e.C=null,e._=null,e.fb=null,e.X=null,e.Y=null,e.gb=!1,e.hb=!1}function XLn(e){var n,t,i,r;if(i=fZ((!e.c&&(e.c=YT(Lu(e.f))),e.c),0),e.e==0||e.a==0&&e.f!=-1&&e.e<0)return i;if(n=e1e(e)<0?1:0,t=e.e,r=(i.length+1+k.Math.abs(lc(e.e)),new w5),n==1&&(r.a+="-"),e.e>0)if(t-=i.length-n,t>=0){for(r.a+="0.";t>Sg.length;t-=Sg.length)DIe(r,Sg);cNe(r,Sg,lc(t)),Kt(r,(Wn(n,i.length+1),i.substr(n)))}else t=n-t,Kt(r,sf(i,n,lc(t))),r.a+=".",Kt(r,Xfe(i,lc(t)));else{for(Kt(r,(Wn(n,i.length+1),i.substr(n)));t<-Sg.length;t+=Sg.length)DIe(r,Sg);cNe(r,Sg,lc(-t))}return r.a}function WW(e){var n,t,i,r,c,o,l,f,h;return!(e.k!=(Fn(),Wi)||e.j.c.length<=1||(c=u(C(e,(Oe(),Zi)),102),c==(Br(),to))||(r=(V2(),(e.q?e.q:(En(),En(),u1))._b(kp)?i=u(C(e,kp),203):i=u(C(_r(e),xx),203),i),r==OH)||!(r==V3||r==K3)&&(o=te(re(X2(e,Ax))),n=u(C(e,vI),140),!n&&(n=new Ble(o,o,o,o)),h=vu(e,(Ie(),Yn)),f=n.d+n.a+(h.gc()-1)*o,f>e.o.b||(t=vu(e,nt),l=n.d+n.a+(t.gc()-1)*o,l>e.o.b)))}function KLn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_;n.Tg("Orthogonal edge routing",1),h=te(re(C(e,(Oe(),_m)))),t=te(re(C(e,Im))),i=te(re(C(e,ab))),y=new EV(0,t),_=0,o=new qr(e.b,0),l=null,g=null,f=null,p=null;do g=o.b0?(S=(A-1)*t,l&&(S+=i),g&&(S+=i),S0;for(l=u(C(e.c.i,Cm),15).a,c=u(gs(li(n.Mc(),new Ije(l)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),o=new xi,g=new ar,Vt(o,e.c.i),hr(g,e.c.i);o.b!=0;){if(t=u(o.b==0?null:(at(o.b!=0),Rl(o,o.a.a)),9),c.Gc(t))return!0;for(r=new Xn(Qn(Ii(t).a.Jc(),new ne));ht(r);)i=u(rt(r),17),f=i.d.i,g.a._b(f)||(g.a.yc(f,g),Ki(o,f,o.c.b,o.c))}return!1}function QKe(e,n,t){var i,r,c,o,l,f,h,g,p;for(p=new Te,g=new Oae(0,t),c=0,SB(g,new iQ(0,0,g,t)),r=0,h=new st(e);h.e!=h.i.gc();)f=u(ft(h),26),i=u(Le(g.a,g.a.c.length-1),173),l=r+f.g+(u(Le(g.a,0),173).b.c.length==0?0:t),(l>n||ze(Be(ke(f,(qa(),NI)))))&&(r=0,c+=g.b+t,qn(p.c,g),g=new Oae(c,t),i=new iQ(0,g.f,g,t),SB(g,i),r=0),i.b.c.length==0||!ze(Be(ke(Fi(f),(qa(),Xre))))&&(f.f>=i.o&&f.f<=i.f||i.a*.5<=f.f&&i.a*1.5>=f.f)?tde(i,f):(o=new iQ(i.s+i.r+t,g.f,g,t),SB(g,o),tde(o,f)),r=f.i+f.g;return qn(p.c,g),p}function pS(e){var n,t,i,r;if(!(e.b==null||e.b.length<=2)&&!e.a){for(n=0,r=0;r=e.b[r+1])r+=2;else if(t0)for(i=new bs(u(vi(e.a,c),22)),En(),Tr(i,new ioe(n)),r=new qr(c.b,0);r.b0&&i>=-6?i>=0?xT(c,t-lc(e.e),"."):(UY(c,n-1,n-1,"0."),xT(c,n+1,vh(Sg,0,-lc(i)-1))):(t-n>=1&&(xT(c,n,"."),++t),xT(c,t,"E"),i>0&&xT(c,++t,"+"),xT(c,++t,""+fE(Lu(i)))),e.g=c.a,e.g))}function rPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De;i=te(re(C(n,(Oe(),f5e)))),be=u(C(n,Mx),15).a,y=4,r=3,fe=20/be,S=!1,f=0,o=oi;do{for(c=f!=1,p=f!=0,De=0,_=e.a,U=0,ie=_.length;Ube)?(f=2,o=oi):f==0?(f=1,o=De):(f=0,o=De)):(S=De>=o||o-De=Ec?Bc(t,Q1e(i)):$9(t,i&yr),o=new JV(10,null,0),B3n(e.a,o,l-1)):(t=(o.Km().length+c,new Cj),Bc(t,o.Km())),n.e==0?(i=n.Im(),i>=Ec?Bc(t,Q1e(i)):$9(t,i&yr)):Bc(t,n.Km()),u(o,517).b=t.a}}function cPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_;if(!t.dc()){for(l=0,y=0,i=t.Jc(),A=u(i.Pb(),15).a;l0?1:Jb(isNaN(i),isNaN(0)))>=0^(Bf(Th),(k.Math.abs(l)<=Th||l==0||isNaN(l)&&isNaN(0)?0:l<0?-1:l>0?1:Jb(isNaN(l),isNaN(0)))>=0)?k.Math.max(l,i):(Bf(Th),(k.Math.abs(i)<=Th||i==0||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:Jb(isNaN(i),isNaN(0)))>0?k.Math.sqrt(l*l+i*i):-k.Math.sqrt(l*l+i*i))}function lPn(e){var n,t,i,r;r=e.o,j2(),e.A.dc()||gi(e.A,Zme)?n=r.b:(e.D?n=k.Math.max(r.b,tS(e.f)):n=tS(e.f),e.A.Gc((Vs(),VI))&&!e.B.Gc((_s(),lA))&&(n=k.Math.max(n,tS(u(zc(e.p,(Ie(),nt)),253))),n=k.Math.max(n,tS(u(zc(e.p,Yn),253)))),t=sze(e),t&&(n=k.Math.max(n,t.b)),e.A.Gc(YI)&&(e.q==(Br(),d1)||e.q==to)&&(n=k.Math.max(n,oR(u(zc(e.b,(Ie(),nt)),127))),n=k.Math.max(n,oR(u(zc(e.b,Yn),127))))),ze(Be(e.e.Rf().mf((Xt(),zm))))?r.b=k.Math.max(r.b,n):r.b=n,i=e.f.i,i.d=0,i.a=n,qW(e.f)}function fPn(e,n,t,i,r,c,o,l){var f,h,g,p;switch(f=$f(F(z(nzn,1),Nn,238,0,[n,t,i,r])),p=null,e.b.g){case 1:p=$f(F(z(T6e,1),Nn,523,0,[new Fk,new RM,new B6]));break;case 0:p=$f(F(z(T6e,1),Nn,523,0,[new B6,new RM,new Fk]));break;case 2:p=$f(F(z(T6e,1),Nn,523,0,[new RM,new Fk,new B6]))}for(g=new P(p);g.a1&&(f=h.Gg(f,e.a,l));return f.c.length==1?u(Le(f,f.c.length-1),238):f.c.length==2?YLn((kn(0,f.c.length),u(f.c[0],238)),(kn(1,f.c.length),u(f.c[1],238)),o,c):null}function aPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;r=new s9(e),c=new iUe,i=(eO(c.n),eO(c.p),Hu(c.c),eO(c.f),eO(c.o),Hu(c.q),Hu(c.d),Hu(c.g),Hu(c.k),Hu(c.e),Hu(c.i),Hu(c.j),Hu(c.r),Hu(c.b),y=Mqe(c,r,null),CUe(c,r),y),n&&(f=new s9(n),o=TLn(f),T0e(i,F(z(s9e,1),Nn,524,0,[o]))),p=!1,g=!1,t&&(f=new s9(t),VF in f.a&&(p=I1(f,VF).oe().a),mZe in f.a&&(g=I1(f,mZe).oe().a)),h=EAe(mBe(new h5,p),g),mCn(new HM,i,h),VF in r.a&&Rf(r,VF,null),(p||g)&&(l=new d5,kKe(h,l,p,g),Rf(r,VF,l)),S=new MSe(c),Xze(new MK(i),S),A=new CSe(c),Xze(new MK(i),A)}function hPn(e,n,t){var i,r,c,o,l,f,h;for(t.Tg("Find roots",1),e.a.c.length=0,r=St(n.b,0);r.b!=r.d.c;)i=u(jt(r),40),i.b.b==0&&(he(i,(Ti(),gb),($n(),!0)),Ce(e.a,i));switch(e.a.c.length){case 0:c=new tQ(0,n,"DUMMY_ROOT"),he(c,(Ti(),gb),($n(),!0)),he(c,gre,!0),Vt(n.b,c);break;case 1:break;default:for(o=new tQ(0,n,$F),f=new P(e.a);f.a=k.Math.abs(i.b)?(i.b=0,c.d+c.a>o.d&&c.do.c&&c.c0){if(n=new Dse(e.i,e.g),t=e.i,c=t<100?null:new E0(t),e.Rj())for(i=0;i0){for(l=e.g,h=e.i,xE(e),c=h<100?null:new E0(h),i=0;i>13|(e.m&15)<<9,r=e.m>>4&8191,c=e.m>>17|(e.h&255)<<5,o=(e.h&1048320)>>8,l=n.l&8191,f=n.l>>13|(n.m&15)<<9,h=n.m>>4&8191,g=n.m>>17|(n.h&255)<<5,p=(n.h&1048320)>>8,un=t*l,cn=i*l,On=r*l,Dn=c*l,lt=o*l,f!=0&&(cn+=t*f,On+=i*f,Dn+=r*f,lt+=c*f),h!=0&&(On+=t*h,Dn+=i*h,lt+=r*h),g!=0&&(Dn+=t*g,lt+=i*g),p!=0&&(lt+=t*p),S=un&Ls,A=(cn&511)<<13,y=S+A,_=un>>22,B=cn>>9,U=(On&262143)<<4,V=(Dn&31)<<17,O=_+B+U+V,be=On>>18,fe=Dn>>5,De=(lt&4095)<<8,ie=be+fe+De,O+=y>>22,y&=Ls,ie+=O>>22,O&=Ls,ie&=U1,_o(y,O,ie)}function nVe(e){var n,t,i,r,c,o,l;if(l=u(Le(e.j,0),12),l.g.c.length!=0&&l.e.c.length!=0)throw R(new Uc("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(l.g.c.length!=0){for(c=Vi,t=new P(l.g);t.a0&&ZGe(e,l,p);for(r=new P(p);r.a4)if(e.dk(n)){if(e.$k()){if(r=u(n,52),i=r.Bh(),f=i==e.e&&(e.kl()?r.vh(r.Ch(),e.gl())==e.hl():-1-r.Ch()==e.Jj()),e.ll()&&!f&&!i&&r.Gh()){for(c=0;ce.d[o.p]&&(t+=qae(e.b,c)*u(f.b,15).a,_0(e.a,ye(c)));for(;!Mj(e.a);)xhe(e.b,u(L5(e.a),15).a)}return t}function pPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_;for(n.Tg(KQe,1),S=new Te,g=k.Math.max(e.a.c.length,u(C(e,(ve(),fb)),15).a),t=g*u(C(e,fI),15).a,l=oe(C(e,(Oe(),J4)))===oe((B0(),Em)),O=new P(e.a);O.a0&&(h=e.n.a/c);break;case 2:case 4:r=e.i.o.b,r>0&&(h=e.n.b/r)}he(e,(ve(),mp),h)}if(f=e.o,o=e.a,i)o.a=i.a,o.b=i.b,e.d=!0;else if(n!=rh&&n!=vb&&l!=ju)switch(l.g){case 1:o.a=f.a/2;break;case 2:o.a=f.a,o.b=f.b/2;break;case 3:o.a=f.a/2,o.b=f.b;break;case 4:o.b=f.b/2}else o.a=f.a/2,o.b=f.b/2}function mS(e){var n,t,i,r,c,o,l,f,h,g;if(e.Nj())if(g=e.Cj(),f=e.Oj(),g>0)if(n=new r1e(e.nj()),t=g,c=t<100?null:new E0(t),OT(e,t,n.g),r=t==1?e.Gj(4,K(n,0),null,0,f):e.Gj(6,n,null,-1,f),e.Kj()){for(i=new st(n);i.e!=i.i.gc();)c=e.Mj(ft(i),c);c?(c.lj(r),c.mj()):e.Hj(r)}else c?(c.lj(r),c.mj()):e.Hj(r);else OT(e,e.Cj(),e.Dj()),e.Hj(e.Gj(6,(En(),Sc),null,-1,f));else if(e.Kj())if(g=e.Cj(),g>0){for(l=e.Dj(),h=g,OT(e,g,l),c=h<100?null:new E0(h),i=0;i1&&us(o)*Gs(o)/2>l[0]){for(c=0;cl[c];)++c;A=new D0(O,0,c+1),p=new mB(A),g=us(o)/Gs(o),f=oZ(p,n,new a5,t,i,r,g),pi(aa(p.e),f),I5(S8(y,p),G8),S=new D0(O,c+1,O.c.length),Jde(y,S),O.c.length=0,h=0,$Ie(l,l.length,0)}else _=y.b.c.length==0?null:Le(y.b,0),_!=null&&$Y(y,0),h>0&&(l[h]=l[h-1]),l[h]+=us(o)*Gs(o),++h,qn(O.c,o);return O}function APn(e,n){var t,i,r,c;t=n.b,c=new bs(t.j),r=0,i=t.j,i.c.length=0,Cw(u(ig(e.b,(Ie(),Vn),(zw(),gp)),16),t),r=BO(c,r,new A6,i),Cw(u(ig(e.b,Vn,sb),16),t),r=BO(c,r,new dd,i),Cw(u(ig(e.b,Vn,bp),16),t),Cw(u(ig(e.b,nt,gp),16),t),Cw(u(ig(e.b,nt,sb),16),t),r=BO(c,r,new bd,i),Cw(u(ig(e.b,nt,bp),16),t),Cw(u(ig(e.b,bt,gp),16),t),r=BO(c,r,new Fp,i),Cw(u(ig(e.b,bt,sb),16),t),r=BO(c,r,new Nb,i),Cw(u(ig(e.b,bt,bp),16),t),Cw(u(ig(e.b,Yn,gp),16),t),r=BO(c,r,new hd,i),Cw(u(ig(e.b,Yn,sb),16),t),Cw(u(ig(e.b,Yn,bp),16),t)}function MPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(n.Tg("Layer size calculation",1),g=Vi,h=Ir,r=!1,l=new P(e.b);l.a.5?B-=o*2*(A-.5):A<.5&&(B+=c*2*(.5-A)),r=l.d.b,B_.a-O-g&&(B=_.a-O-g),l.n.a=n+B}}function TPn(e){var n,t,i,r,c;if(i=u(C(e,(Oe(),ku)),165),i==(Xs(),Q1)){for(t=new Xn(Qn(cr(e).a.Jc(),new ne));ht(t);)if(n=u(rt(t),17),!WPe(n))throw R(new yd(ree+zO(e)+"' 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(i==Mg){for(c=new Xn(Qn(Ii(e).a.Jc(),new ne));ht(c);)if(r=u(rt(c),17),!WPe(r))throw R(new yd(ree+zO(e)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}}function lN(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(e.e&&e.c.c>19!=0&&(n=c8(n),f=!f),o=bNn(n),c=!1,r=!1,i=!1,e.h==yN&&e.m==0&&e.l==0)if(r=!0,c=!0,o==-1)e=jTe((V9(),Sme)),i=!0,f=!f;else return l=abe(e,o),f&&eQ(l),t&&(rb=_o(0,0,0)),l;else e.h>>19!=0&&(c=!0,e=c8(e),i=!0,f=!f);return o!=-1?Skn(e,o,f,c,t):Yde(e,n)<0?(t&&(c?rb=c8(e):rb=_o(e.l,e.m,e.h)),_o(0,0,0)):s_n(i?e:_o(e.l,e.m,e.h),n,f,c,r,t)}function tZ(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(o=e.e,f=n.e,o==0)return n;if(f==0)return e;if(c=e.d,l=n.d,c+l==2)return t=Rr(e.a[0],Dc),i=Rr(n.a[0],Dc),o==f?(g=mc(t,i),A=Rt(g),S=Rt(Ub(g,32)),S==0?new _1(o,A):new Xb(o,2,F(z($t,1),ni,30,15,[A,S]))):(jh(),_$(o<0?ff(i,t):ff(t,i),0)?G0(o<0?ff(i,t):ff(t,i)):bE(G0(Id(o<0?ff(i,t):ff(t,i)))));if(o==f)y=o,p=c>=l?bY(e.a,c,n.a,l):bY(n.a,l,e.a,c);else{if(r=c!=l?c>l?1:-1:T1e(e.a,n.a,c),r==0)return jh(),ex;r==1?(y=o,p=hY(e.a,c,n.a,l)):(y=f,p=hY(n.a,l,e.a,c))}return h=new Xb(y,p.length,p),yE(h),h}function NPn(e,n){var t,i,r,c,o,l,f;if(!(e.g>n.f||n.g>e.f)){for(t=0,i=0,o=e.w.a.ec().Jc();o.Ob();)r=u(o.Pb(),12),bQ(mu(F(z(Lr,1),Me,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++t;for(l=e.r.a.ec().Jc();l.Ob();)r=u(l.Pb(),12),bQ(mu(F(z(Lr,1),Me,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--t;for(f=n.w.a.ec().Jc();f.Ob();)r=u(f.Pb(),12),bQ(mu(F(z(Lr,1),Me,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++i;for(c=n.r.a.ec().Jc();c.Ob();)r=u(c.Pb(),12),bQ(mu(F(z(Lr,1),Me,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--i;t=0)return t;switch(Nw(Vc(e,t))){case 2:{if(bn("",Pd(e,t.ok()).ve())){if(f=GT(Vc(e,t)),l=z9(Vc(e,t)),g=pbe(e,n,f,l),g)return g;for(r=Xbe(e,n),o=0,p=r.gc();o1)throw R(new Un(XN));for(g=Po(e.e.Ah(),n),i=u(e.g,122),o=0;o1,h=new Ra(y.b);gu(h.a)||gu(h.b);)f=u(gu(h.a)?L(h.a):L(h.b),17),p=f.c==y?f.d:f.c,k.Math.abs(mu(F(z(Lr,1),Me,8,0,[p.i.n,p.n,p.a])).b-o.b)>1&&wIn(e,f,o,c,y)}}function PPn(e){var n,t,i,r,c,o;if(r=new qr(e.e,0),i=new qr(e.a,0),e.d)for(t=0;tKee;){for(c=n,o=0;k.Math.abs(n-c)0),r.a.Xb(r.c=--r.b),K_n(e,e.b-o,c,i,r),at(r.b0),i.a.Xb(i.c=--i.b)}if(!e.d)for(t=0;t0?(e.f[g.p]=S/(g.e.c.length+g.g.c.length),e.c=k.Math.min(e.c,e.f[g.p]),e.b=k.Math.max(e.b,e.f[g.p])):l&&(e.f[g.p]=S)}}function RPn(e){e.b=null,e.bb=null,e.fb=null,e.qb=null,e.a=null,e.c=null,e.d=null,e.e=null,e.f=null,e.n=null,e.M=null,e.L=null,e.Q=null,e.R=null,e.K=null,e.db=null,e.eb=null,e.g=null,e.i=null,e.j=null,e.k=null,e.gb=null,e.o=null,e.p=null,e.q=null,e.r=null,e.$=null,e.ib=null,e.S=null,e.T=null,e.t=null,e.s=null,e.u=null,e.v=null,e.w=null,e.B=null,e.A=null,e.C=null,e.D=null,e.F=null,e.G=null,e.H=null,e.I=null,e.J=null,e.P=null,e.Z=null,e.U=null,e.V=null,e.W=null,e.X=null,e.Y=null,e._=null,e.ab=null,e.cb=null,e.hb=null,e.nb=null,e.lb=null,e.mb=null,e.ob=null,e.pb=null,e.jb=null,e.kb=null,e.N=!1,e.O=!1}function BPn(e,n,t){var i,r,c,o;for(t.Tg("Graph transformation ("+e.a+")",1),o=Wb(n.a),c=new P(n.b);c.a=l.b.c)&&(l.b=n),(!l.c||n.c<=l.c.c)&&(l.d=l.c,l.c=n),(!l.e||n.d>=l.e.d)&&(l.e=n),(!l.f||n.d<=l.f.d)&&(l.f=n);return i=new fz((r8(),dp)),WT(e,cin,new Su(F(z(eI,1),Nn,377,0,[i]))),o=new fz(mm),WT(e,rin,new Su(F(z(eI,1),Nn,377,0,[o]))),r=new fz(pm),WT(e,iin,new Su(F(z(eI,1),Nn,377,0,[r]))),c=new fz(D3),WT(e,tin,new Su(F(z(eI,1),Nn,377,0,[c]))),CW(i.c,dp),CW(r.c,pm),CW(c.c,D3),CW(o.c,mm),l.a.c.length=0,Sr(l.a,i.c),Sr(l.a,Ks(r.c)),Sr(l.a,c.c),Sr(l.a,Ks(o.c)),l}function JPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;for(n.Tg(wWe,1),S=te(re(ke(e,(Zh(),$m)))),o=te(re(ke(e,(qa(),Ux)))),l=u(ke(e,qx),104),Whe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a)),g=QKe((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a),S,o),!e.a&&(e.a=new pe(Ft,e,10,11)),h=new P(g);h.a0&&(e.a=f+(S-1)*c,n.c.b+=e.a,n.f.b+=e.a)),A.a.gc()!=0&&(y=new EV(1,c),S=Sge(y,n,A,O,n.f.b+f-n.c.b),S>0&&(n.f.b+=f+(S-1)*c))}function rVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie;for(g=te(re(C(e,(Oe(),Ng)))),i=te(re(C(e,y5e))),y=new H6,he(y,Ng,g+i),h=n,B=h.d,O=h.c.i,U=h.d.i,_=Jse(O.c),V=Jse(U.c),r=new Te,p=_;p<=V;p++)l=new Ja(e),Cf(l,(Fn(),dr)),he(l,(ve(),mi),h),he(l,Zi,(Br(),to)),he(l,xH,y),S=u(Le(e.b,p),25),p==_?q0(l,S.a.c.length-t,S):Or(l,S),ie=te(re(C(h,Kd))),ie<0&&(ie=0,he(h,Kd,ie)),l.o.b=ie,A=k.Math.floor(ie/2),o=new Qu,Ar(o,(Ie(),Yn)),wu(o,l),o.n.b=A,f=new Qu,Ar(f,nt),wu(f,l),f.n.b=A,Gr(h,o),c=new Dw,Pu(c,h),he(c,Wc,null),fc(c,f),Gr(c,B),Yxn(l,h,c),qn(r.c,c),h=c;return r}function GPn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V;if(O=n.b.c.length,!(O<3)){for(S=le($t,ni,30,O,15,1),p=0,g=new P(n.b);g.ao)&&hr(e.b,u(_.b,17));++l}c=o}}}function iZ(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V;for(f=u(zd(e,(Ie(),Yn)).Jc().Pb(),12).e,S=u(zd(e,nt).Jc().Pb(),12).g,l=f.c.length,V=$a(u(Le(e.j,0),12));l-- >0;){for(O=(kn(0,f.c.length),u(f.c[0],17)),r=(kn(0,S.c.length),u(S.c[0],17)),U=r.d.e,c=pu(U,r,0),n6n(O,r.d,c),fc(r,null),Gr(r,null),A=O.a,n&&Vt(A,new wc(V)),i=St(r.a,0);i.b!=i.d.c;)t=u(jt(i),8),Vt(A,new wc(t));for(B=O.b,y=new P(r.b);y.a-2;default:return!1}switch(n=e.Pj(),e.p){case 0:return n!=null&&ze(Be(n))!=Yj(e.k,0);case 1:return n!=null&&u(n,221).a!=Rt(e.k)<<24>>24;case 2:return n!=null&&u(n,180).a!=(Rt(e.k)&yr);case 6:return n!=null&&Yj(u(n,190).a,e.k);case 5:return n!=null&&u(n,15).a!=Rt(e.k);case 7:return n!=null&&u(n,191).a!=Rt(e.k)<<16>>16;case 3:return n!=null&&te(re(n))!=e.j;case 4:return n!=null&&u(n,164).a!=e.j;default:return n==null?e.n!=null:!gi(n,e.n)}}function fN(e,n,t){var i,r,c,o;return e.ml()&&e.ll()&&(o=wV(e,u(t,57)),oe(o)!==oe(t))?(e.vj(n),e.Bj(n,U$e(e,n,o)),e.$k()&&(c=(r=u(t,52),e.kl()?e.il()?r.Qh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),null):r.Qh(e.b,Ji(r.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,null):r.Qh(e.b,-1-e.Jj(),null,null)),!u(o,52).Mh()&&(c=(i=u(o,52),e.kl()?e.il()?i.Oh(e.b,Oc(u(Cn(Go(e.b),e.Jj()),19)).n,u(Cn(Go(e.b),e.Jj()).Fk(),29).ik(),c):i.Oh(e.b,Ji(i.Ah(),Oc(u(Cn(Go(e.b),e.Jj()),19))),null,c):i.Oh(e.b,-1-e.Jj(),null,c))),c&&c.mj()),Fs(e.b)&&e.Hj(e.Gj(9,t,o,n,!1)),o):t}function cVe(e){var n,t,i,r,c,o,l,f,h,g;for(i=new Te,o=new P(e.e.a);o.a0&&(o=k.Math.max(o,WBe(e.C.b+i.d.b,r))),g=i,p=r,y=c;e.C&&e.C.c>0&&(S=y+e.C.c,h&&(S+=g.d.c),o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(p-1)<=Xa||p==1||isNaN(p)&&isNaN(1)?0:S/(1-p)))),t.n.b=0,t.a.a=o}function oVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S;if(t=u(zc(e.b,n),127),f=u(u(vi(e.r,n),22),83),f.dc()){t.n.d=0,t.n.a=0;return}for(h=e.u.Gc((ps(),nd)),o=0,e.A.Gc((Vs(),$g))&&$Xe(e,n),l=f.Jc(),g=null,y=0,p=0;l.Ob();)i=u(l.Pb(),115),c=te(re(i.b.mf((U$(),kJ)))),r=i.b.Kf().b,g?(S=p+g.d.a+e.w+i.d.d,o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(y-c)<=Xa||y==c||isNaN(y)&&isNaN(c)?0:S/(c-y)))):e.C&&e.C.d>0&&(o=k.Math.max(o,WBe(e.C.d+i.d.d,c))),g=i,y=c,p=r;e.C&&e.C.a>0&&(S=p+e.C.a,h&&(S+=g.d.a),o=k.Math.max(o,(Da(),Bf(Xa),k.Math.abs(y-1)<=Xa||y==1||isNaN(y)&&isNaN(1)?0:S/(1-y)))),t.n.d=0,t.a.b=o}function sVe(e,n,t){var i,r,c,o,l,f;for(this.g=e,l=n.d.length,f=t.d.length,this.d=le(s1,Hd,9,l+f,0,1),o=0;o0?NY(this,this.f/this.a):_a(n.g,n.d[0]).a!=null&&_a(t.g,t.d[0]).a!=null?NY(this,(te(_a(n.g,n.d[0]).a)+te(_a(t.g,t.d[0]).a))/2):_a(n.g,n.d[0]).a!=null?NY(this,_a(n.g,n.d[0]).a):_a(t.g,t.d[0]).a!=null&&NY(this,_a(t.g,t.d[0]).a)}function UPn(e,n,t,i,r,c,o,l){var f,h,g,p,y,S,A,O,_,B;if(A=!1,h=xbe(t.q,n.f+n.b-t.q.f),S=i.f>n.b&&l,B=r-(t.q.e+h-o),p=(f=wS(i,B,!1),f.a),S&&p>i.f)return!1;if(S){for(y=0,_=new P(n.d);_.a<_.c.c.length;)O=u(L(_),319),y+=xbe(O,i.f)+o;B=r-y}return B=(kn(c,e.c.length),u(e.c[c],186)).e,!S&&p>n.b&&!g)?!1:((g||S||p<=n.b)&&(g&&p>n.b?(t.d=p,cO(t,HGe(t,p))):(rGe(t.q,h),t.c=!0),cO(i,r-(t.s+t.r)),RO(i,t.q.e+t.q.d,n.f),SB(n,i),e.c.length>c&&(JO((kn(c,e.c.length),u(e.c[c],186)),i),(kn(c,e.c.length),u(e.c[c],186)).a.c.length==0&&Od(e,c)),A=!0),A)}function XPn(e,n){var t,i,r,c,o,l,f,h,g,p;for(e.a=new ADe(vkn(nA)),i=new P(n.a);i.a0&&(Wn(0,t.length),t.charCodeAt(0)!=47)))throw R(new Un("invalid opaquePart: "+t));if(e&&!(n!=null&&Oj(MG,n.toLowerCase()))&&!(t==null||!jQ(t,hA,dA)))throw R(new Un(KZe+t));if(e&&n!=null&&Oj(MG,n.toLowerCase())&&!UAn(t))throw R(new Un(KZe+t));if(!Wjn(i))throw R(new Un("invalid device: "+i));if(!Ykn(r))throw o=r==null?"invalid segments: null":"invalid segment: "+Gkn(r),R(new Un(o));if(!(c==null||dh(c,Xo(35))==-1))throw R(new Un("invalid query: "+c))}function fVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B;if(y=new wc(e.o),B=n.a/y.a,l=n.b/y.b,O=n.a-y.a,c=n.b-y.b,t)for(r=oe(C(e,(Oe(),Zi)))===oe((Br(),to)),A=new P(e.j);A.a=1&&(_-o>0&&p>=0?(f.n.a+=O,f.n.b+=c*o):_-o<0&&g>=0&&(f.n.a+=O*_,f.n.b+=c));e.o.a=n.a,e.o.b=n.b,he(e,(Oe(),Tg),(Vs(),i=u(fa(sA),10),new Ll(i,u(_f(i,i.length),10),0)))}function QPn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B;if(t.Tg("Network simplex layering",1),e.b=n,B=u(C(n,(Oe(),Mx)),15).a*4,_=e.b.a,_.c.length<1){t.Ug();return}for(c=GDn(e,_),O=null,r=St(c,0);r.b!=r.d.c;){for(i=u(jt(r),16),l=B*lc(k.Math.sqrt(i.gc())),o=r_n(i),zW(Poe(rgn($oe(YK(o),l),O),!0),t.dh(1)),y=e.b.b,A=new P(o.a);A.a1)for(O=le($t,ni,30,e.b.b.c.length,15,1),p=0,h=new P(e.b.b);h.a0){oz(e,t,0),t.a+=String.fromCharCode(i),r=PEn(n,c),oz(e,t,r),c+=r-1;continue}i==39?c+10&&A.a<=0){f.c.length=0,qn(f.c,A);break}S=A.i-A.d,S>=l&&(S>l&&(f.c.length=0,l=S),qn(f.c,A))}f.c.length!=0&&(o=u(Le(f,dz(r,f.c.length)),116),V.a.Ac(o)!=null,o.g=g++,lge(o,n,t,i),f.c.length=0)}for(_=e.c.length+1,y=new P(e);y.aIr||n.o==Dg&&g=l&&r<=f)l<=r&&c<=f?(t[g++]=r,t[g++]=c,i+=2):l<=r?(t[g++]=r,t[g++]=f,e.b[i]=f+1,o+=2):c<=f?(t[g++]=l,t[g++]=c,i+=2):(t[g++]=l,t[g++]=f,e.b[i]=f+1);else if(fW0)&&l<10);Roe(e.c,new kc),aVe(e),U3n(e.c),zPn(e.f)}function l$n(e,n){var t,i,r,c,o,l,f,h,g,p,y;switch(e.k.g){case 1:if(i=u(C(e,(ve(),mi)),17),t=u(C(i,Y3e),78),t?ze(Be(C(i,Xd)))&&(t=E1e(t)):t=new xs,h=u(C(e,Sa),12),h){if(g=mu(F(z(Lr,1),Me,8,0,[h.i.n,h.n,h.a])),n<=g.a)return g.b;Ki(t,g,t.a,t.a.a)}if(p=u(C(e,wf),12),p){if(y=mu(F(z(Lr,1),Me,8,0,[p.i.n,p.n,p.a])),y.a<=n)return y.b;Ki(t,y,t.c.b,t.c)}if(t.b>=2){for(f=St(t,0),o=u(jt(f),8),l=u(jt(f),8);l.a0&&AO(h,!0,(vr(),ru)),l.k==(Fn(),wr)&&FDe(h),ei(e.f,l,n)}}function dVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U;for(h=Vi,g=Vi,l=Ir,f=Ir,y=new P(n.i);y.a=e.j?(++e.j,Ce(e.b,ye(1)),Ce(e.c,g)):(i=e.d[n.p][1],ol(e.b,h,ye(u(Le(e.b,h),15).a+1-i)),ol(e.c,h,te(re(Le(e.c,h)))+g-i*e.f)),(e.r==(V0(),yI)&&(u(Le(e.b,h),15).a>e.k||u(Le(e.b,h-1),15).a>e.k)||e.r==kI&&(te(re(Le(e.c,h)))>e.n||te(re(Le(e.c,h-1)))>e.n))&&(f=!1),o=new Xn(Qn(cr(n).a.Jc(),new ne));ht(o);)c=u(rt(o),17),l=c.c.i,e.g[l.p]==h&&(p=bVe(e,l),r=r+u(p.a,15).a,f=f&&ze(Be(p.b)));return e.g[n.p]=h,r=r+e.d[n.p][0],new jc(ye(r),($n(),!!f))}function a$n(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;return y=e.c[n],S=e.c[t],A=u(C(y,(ve(),$4)),16),!!A&&A.gc()!=0&&A.Gc(S)||(O=y.k!=(Fn(),dr)&&S.k!=dr,_=u(C(y,pp),9),B=u(C(S,pp),9),U=_!=B,V=!!_&&_!=y||!!B&&B!=S,ie=UQ(y,(Ie(),Vn)),be=UQ(S,bt),V=V|(UQ(y,bt)||UQ(S,Vn)),fe=V&&U||ie||be,O&&fe)||y.k==(Fn(),wo)&&S.k==Wi||S.k==(Fn(),wo)&&y.k==Wi?!1:(g=e.c[n],c=e.c[t],r=YHe(e.e,g,c,(Ie(),Yn)),f=YHe(e.i,g,c,nt),RNn(e.f,g,c),h=iFe(e.b,g,c)+u(r.a,15).a+u(f.a,15).a+e.f.d,l=iFe(e.b,c,g)+u(r.b,15).a+u(f.b,15).a+e.f.b,e.a&&(p=u(C(g,mi),12),o=u(C(c,mi),12),i=_He(e.g,p,o),h+=u(i.a,15).a,l+=u(i.b,15).a),h>l)}function gVe(e,n){var t,i,r,c,o;t=te(re(C(n,(Oe(),Vf)))),t<2&&he(n,Vf,2),i=u(C(n,pl),86),i==(vr(),ih)&&he(n,pl,VB(n)),r=u(C(n,Bun),15),r.a==0?he(n,(ve(),B4),new yQ):he(n,(ve(),B4),new WR(r.a)),c=Be(C(n,Sx)),c==null&&he(n,Sx,($n(),oe(C(n,W1))===oe((J1(),K7)))),er(new pn(null,new yn(n.a,16)),new noe(e)),er(lu(new pn(null,new yn(n.b,16)),new w1),new toe(e)),o=new lVe(n),he(n,(ve(),H3),o),HT(e.a),ha(e.a,(zr(),Kf),u(C(n,H4),188)),ha(e.a,o1,u(C(n,vH),188)),ha(e.a,eo,u(C(n,jx),188)),ha(e.a,no,u(C(n,EH),188)),ha(e.a,Pc,J7n(u(C(n,W1),222))),Hse(e.a,uBn(n)),he(n,kie,lN(e.a,n))}function Sge(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,_,B;for(p=new wt,o=new Te,lqe(e,t,e.d.zg(),o,p),lqe(e,i,e.d.Ag(),o,p),e.b=.2*(O=wUe(lu(new pn(null,new yn(o,16)),new jM)),_=wUe(lu(new pn(null,new yn(o,16)),new EM)),k.Math.min(O,_)),c=0,l=0;l=2&&(B=RUe(o,!0,y),!e.e&&(e.e=new _Ee(e)),_En(e.e,B,o,e.b)),gGe(o,y),p$n(o),S=-1,g=new P(o);g.a0&&(t+=f.n.a+f.o.a/2,++p),A=new P(f.j);A.a0&&(t/=p),B=le(Jr,Jc,30,i.a.c.length,15,1),l=0,h=new P(i.a);h.a-1){for(r=St(l,0);r.b!=r.d.c;)i=u(jt(r),132),i.v=o;for(;l.b!=0;)for(i=u(nW(l,0),132),t=new P(i.i);t.a-1){for(c=new P(l);c.a0)&&(ww(f,k.Math.min(f.o,r.o-1)),y0(f,f.i-1),f.i==0&&qn(l.c,f))}}function mVe(e,n,t,i,r){var c,o,l,f;return f=Vi,o=!1,l=gge(e,Nr(new Ee(n.a,n.b),e),pi(new Ee(t.a,t.b),r),Nr(new Ee(i.a,i.b),t)),c=!!l&&!(k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op||k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op),l=gge(e,Nr(new Ee(n.a,n.b),e),t,r),l&&((k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op)==(k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op)||c?f=k.Math.min(f,wE(Nr(l,t))):o=!0),l=gge(e,Nr(new Ee(n.a,n.b),e),i,r),l&&(o||(k.Math.abs(l.a-e.a)<=op&&k.Math.abs(l.b-e.b)<=op)==(k.Math.abs(l.a-n.a)<=op&&k.Math.abs(l.b-n.b)<=op)||c)&&(f=k.Math.min(f,wE(Nr(l,i)))),f}function vVe(e){b2(e,new Kw(VP(h2(l2(a2(f2(new pd,eb),hQe),"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 jy),$o))),xe(e,eb,CS,_e(gve)),xe(e,eb,bF,($n(),!0)),xe(e,eb,S3,_e(Jtn)),xe(e,eb,j4,_e(Htn)),xe(e,eb,k4,_e(Gtn)),xe(e,eb,Q8,_e(Ftn)),xe(e,eb,TS,_e(pve)),xe(e,eb,W8,_e(qtn)),xe(e,eb,fwe,_e(bve)),xe(e,eb,hwe,_e(hve)),xe(e,eb,dwe,_e(dve)),xe(e,eb,bwe,_e(wve)),xe(e,eb,awe,_e(AJ))}function m$n(e){var n,t,i,r,c,o,l,f;for(n=null,i=new P(e);i.a0&&t.c==0&&(!n&&(n=new Te),qn(n.c,t));if(n)for(;n.c.length!=0;){if(t=u(Od(n,0),239),t.b&&t.b.c.length>0){for(c=(!t.b&&(t.b=new Te),new P(t.b));c.apu(e,t,0))return new jc(r,t)}else if(te(_a(r.g,r.d[0]).a)>te(_a(t.g,t.d[0]).a))return new jc(r,t)}for(l=(!t.e&&(t.e=new Te),t.e).Jc();l.Ob();)o=u(l.Pb(),239),f=(!o.b&&(o.b=new Te),o.b),_2(0,f.c.length),Bj(f.c,0,t),o.c==f.c.length&&qn(n.c,o)}return null}function vS(e,n){var t,i,r,c,o,l,f,h,g;if(n.e==5){hVe(e,n);return}if(h=n,!(h.b==null||e.b==null)){for(g3(e),pS(e),g3(h),pS(h),t=le($t,ni,30,e.b.length+h.b.length,15,1),g=0,i=0,o=0;i=l&&r<=f)l<=r&&c<=f?i+=2:l<=r?(e.b[i]=f+1,o+=2):c<=f?(t[g++]=r,t[g++]=l-1,i+=2):(t[g++]=r,t[g++]=l-1,e.b[i]=f+1,o+=2);else if(f0),u(g.a.Xb(g.c=--g.b),17));c!=i&&g.b>0;)e.a[c.p]=!0,e.a[i.p]=!0,c=(at(g.b>0),u(g.a.Xb(g.c=--g.b),17));g.b>0&&As(g)}}function yVe(e,n,t){var i,r,c,o,l,f,h,g,p,y;if(t)for(i=-1,g=new qr(n,0);g.b0?r-=864e5:r+=864e5,f=new Sle(mc(Lu(n.q.getTime()),r))),g=new w5,h=e.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(o=c+1;o=h)throw R(new Un("Missing trailing '"));o+1=14&&g<=16))?n.a._b(i)?(t.a?Kt(t.a,t.b):t.a=new il(t.d),Wj(t.a,"[...]")):(l=K5(i),h=new A2(n),L1(t,jVe(l,h))):X(i,171)?L1(t,hTn(u(i,171))):X(i,195)?L1(t,eMn(u(i,195))):X(i,201)?L1(t,uCn(u(i,201))):X(i,2073)?L1(t,nMn(u(i,2073))):X(i,54)?L1(t,aTn(u(i,54))):X(i,584)?L1(t,xTn(u(i,584))):X(i,830)?L1(t,fTn(u(i,830))):X(i,108)&&L1(t,lTn(u(i,108))):L1(t,i==null?Vo:fu(i));return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function P8(e,n){var t,i,r,c;c=e.F,n==null?(e.F=null,s8(e,null)):(e.F=(Ln(n),n),i=dh(n,Xo(60)),i!=-1?(r=(Qr(0,i,n.length),n.substr(0,i)),dh(n,Xo(46))==-1&&!bn(r,d4)&&!bn(r,GS)&&!bn(r,WF)&&!bn(r,qS)&&!bn(r,US)&&!bn(r,XS)&&!bn(r,KS)&&!bn(r,VS)&&(r=oen),t=H$(n,Xo(62)),t!=-1&&(r+=""+(Wn(t+1,n.length+1),n.substr(t+1))),s8(e,r)):(r=n,dh(n,Xo(46))==-1&&(i=dh(n,Xo(91)),i!=-1&&(r=(Qr(0,i,n.length),n.substr(0,i))),!bn(r,d4)&&!bn(r,GS)&&!bn(r,WF)&&!bn(r,qS)&&!bn(r,US)&&!bn(r,XS)&&!bn(r,KS)&&!bn(r,VS)?(r=oen,i!=-1&&(r+=""+(Wn(i,n.length+1),n.substr(i)))):r=n),s8(e,r),r==n&&(e.F=e.D))),(e.Db&4)!=0&&(e.Db&1)==0&&hi(e,new Dr(e,1,5,c,n))}function x$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A;if(e.c=e.e,A=Be(C(n,(Oe(),zun))),S=A==null||(Ln(A),A),c=u(C(n,(ve(),po)),22).Gc((Ic(),Vl)),r=u(C(n,Zi),102),t=!(r==(Br(),Pg)||r==d1||r==to),S&&(t||!c)){for(p=new P(n.a);p.a=0)return r=Kjn(e,(Qr(1,o,n.length),n.substr(1,o-1))),g=(Qr(o+1,f,n.length),n.substr(o+1,f-(o+1))),QRn(e,g,r)}else{if(t=-1,Tme==null&&(Tme=new RegExp("\\d")),Tme.test(String.fromCharCode(l))&&(t=qle(n,Xo(46),f-1),t>=0)){i=u(aY(e,tBe(e,(Qr(1,t,n.length),n.substr(1,t-1))),!1),61),h=0;try{h=hl((Wn(t+1,n.length+1),n.substr(t+1)),Xr,oi)}catch(y){throw y=sr(y),X(y,131)?(c=y,R(new aB(c))):R(y)}if(h>16==-10?t=u(e.Cb,293).Wk(n,t):e.Db>>16==-15&&(!n&&(n=(jn(),uh)),!h&&(h=(jn(),uh)),e.Cb.Vh()&&(f=new $1(e.Cb,1,13,h,n,Bd(Ts(u(e.Cb,62)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,88))e.Db>>16==-23&&(X(n,88)||(n=(jn(),Ef)),X(h,88)||(h=(jn(),Ef)),e.Cb.Vh()&&(f=new $1(e.Cb,1,10,h,n,Bd(Vu(u(e.Cb,29)),e),!1),t?t.lj(f):t=f));else if(X(e.Cb,446))for(l=u(e.Cb,834),o=(!l.b&&(l.b=new LP(new jX)),l.b),c=(i=new J2(new sn(o.a).a),new PP(i));c.a.b;)r=u(c3(c.a).jd(),87),t=$8(r,Lz(r,l),t)}return t}function M$n(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(o=ze(Be(ke(e,(Oe(),Mm)))),y=u(ke(e,Om),22),f=!1,h=!1,p=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));p.e!=p.i.gc()&&(!f||!h);){for(c=u(ft(p),125),l=0,r=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!c.d&&(c.d=new In(pr,c,8,5)),c.d),(!c.e&&(c.e=new In(pr,c,7,4)),c.e)])));ht(r)&&(i=u(rt(r),85),g=o&&Vw(i)&&ze(Be(ke(i,Cg))),t=tVe((!i.b&&(i.b=new In(mt,i,4,7)),i.b),c)?e==Fi(iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))):e==Fi(iu(u(K((!i.b&&(i.b=new In(mt,i,4,7)),i.b),0),84))),!((g||t)&&(++l,l>1))););(l>0||y.Gc((ps(),nd))&&(!c.n&&(c.n=new pe(Eu,c,1,7)),c.n).i>0)&&(f=!0),l>1&&(h=!0)}f&&n.Ec((Ic(),Vl)),h&&n.Ec((Ic(),ax))}function SVe(e){var n,t,i,r,c,o,l,f,h,g,p,y;if(y=u(ke(e,(Xt(),Lg)),22),y.dc())return null;if(l=0,o=0,y.Gc((Vs(),YI))){for(g=u(ke(e,eA),102),i=2,t=2,r=2,c=2,n=Fi(e)?u(ke(Fi(e),_g),86):u(ke(e,_g),86),h=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));h.e!=h.i.gc();)if(f=u(ft(h),125),p=u(ke(f,cy),64),p==(Ie(),ju)&&(p=sge(f,n),Ei(f,cy,p)),g==(Br(),to))switch(p.g){case 1:i=k.Math.max(i,f.i+f.g);break;case 2:t=k.Math.max(t,f.j+f.f);break;case 3:r=k.Math.max(r,f.i+f.g);break;case 4:c=k.Math.max(c,f.j+f.f)}else switch(p.g){case 1:i+=f.g+2;break;case 2:t+=f.f+2;break;case 3:r+=f.g+2;break;case 4:c+=f.f+2}l=k.Math.max(i,r),o=k.Math.max(t,c)}return Zw(e,l,o,!0,!0)}function C$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(r=null,i=new P(n.a);i.a1)for(r=e.e.b,Vt(e.e,f),l=f.a.ec().Jc();l.Ob();)o=u(l.Pb(),9),ei(e.c,o,ye(r))}}function T$n(e,n,t,i){var r,c,o,l,f,h,g,p,y,S;for(c=new Jqe(n),p=tDn(e,n,c),S=k.Math.max(te(re(C(n,(Oe(),Kd)))),1),g=new P(p.a);g.a=0){for(f=null,l=new qr(g.a,h+1);l.b0,h?h&&(y=B.p,o?++y:--y,p=u(Le(B.c.a,y),9),i=$ze(p),S=!(qUe(i,fe,t[0])||nDe(i,fe,t[0]))):S=!0),A=!1,be=n.D.i,be&&be.c&&l.e&&(g=o&&be.p>0||!o&&be.p=0&&Oo?1:Jb(isNaN(0),isNaN(o)))<0&&(Bf(Th),(k.Math.abs(o-1)<=Th||o==1||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:Jb(isNaN(o),isNaN(1)))<0)&&(Bf(Th),(k.Math.abs(0-l)<=Th||l==0||isNaN(0)&&isNaN(l)?0:0l?1:Jb(isNaN(0),isNaN(l)))<0)&&(Bf(Th),(k.Math.abs(l-1)<=Th||l==1||isNaN(l)&&isNaN(1)?0:l<1?-1:l>1?1:Jb(isNaN(l),isNaN(1)))<0)),c)}function $$n(e){var n,t,i,r,c,o,l,f,h,g,p;for(e.j=le($t,ni,30,e.g,15,1),e.o=new Te,er(lu(new pn(null,new yn(e.e.b,16)),new yv),new TEe(e)),e.a=le(ts,va,30,e.b,16,1),NO(new pn(null,new yn(e.e.b,16)),new NEe(e)),i=(p=new Te,er(li(lu(new pn(null,new yn(e.e.b,16)),new Hy),new OEe(e)),new gCe(e,p)),p),f=new P(i);f.a=h.c.c.length?g=Fae((Fn(),Wi),dr):g=Fae((Fn(),dr),dr),g*=2,c=t.a.g,t.a.g=k.Math.max(c,c+(g-c)),o=t.b.g,t.b.g=k.Math.max(o,o+(g-o)),r=n}}function eF(e,n){var t;if(e.e)throw R(new Uc((T1(gte),UZ+gte.k+XZ)));if(!Ygn(e.a,n))throw R(new du(GYe+n+qYe));if(n==e.d)return e;switch(t=e.d,e.d=n,t.g){case 0:switch(n.g){case 2:Uw(e);break;case 1:F0(e),Uw(e);break;case 4:h3(e),Uw(e);break;case 3:h3(e),F0(e),Uw(e)}break;case 2:switch(n.g){case 1:F0(e),LW(e);break;case 4:h3(e),Uw(e);break;case 3:h3(e),F0(e),Uw(e)}break;case 1:switch(n.g){case 2:F0(e),LW(e);break;case 4:F0(e),h3(e),Uw(e);break;case 3:F0(e),h3(e),F0(e),Uw(e)}break;case 4:switch(n.g){case 2:h3(e),Uw(e);break;case 1:h3(e),F0(e),Uw(e);break;case 3:F0(e),LW(e)}break;case 3:switch(n.g){case 2:F0(e),h3(e),Uw(e);break;case 1:F0(e),h3(e),F0(e),Uw(e);break;case 4:F0(e),LW(e)}}return e}function y3(e,n){var t;if(e.d)throw R(new Uc((T1(Tte),UZ+Tte.k+XZ)));if(!Vgn(e.a,n))throw R(new du(GYe+n+qYe));if(n==e.c)return e;switch(t=e.c,e.c=n,t.g){case 0:switch(n.g){case 2:ug(e);break;case 1:z0(e),ug(e);break;case 4:d3(e),ug(e);break;case 3:d3(e),z0(e),ug(e)}break;case 2:switch(n.g){case 1:z0(e),PW(e);break;case 4:d3(e),ug(e);break;case 3:d3(e),z0(e),ug(e)}break;case 1:switch(n.g){case 2:z0(e),PW(e);break;case 4:z0(e),d3(e),ug(e);break;case 3:z0(e),d3(e),z0(e),ug(e)}break;case 4:switch(n.g){case 2:d3(e),ug(e);break;case 1:d3(e),z0(e),ug(e);break;case 3:z0(e),PW(e)}break;case 3:switch(n.g){case 2:z0(e),d3(e),ug(e);break;case 1:z0(e),d3(e),z0(e),ug(e);break;case 4:z0(e),PW(e)}}return e}function R$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V;for(p=e.b,g=new qr(p,0),E2(g,new Xu(e)),U=!1,o=1;g.b0&&(n.a+=To),nF(u(ft(l),174),n);for(n.a+=nee,f=new A5((!i.c&&(i.c=new In(mt,i,5,8)),i.c));f.e!=f.i.gc();)f.e>0&&(n.a+=To),nF(u(ft(f),174),n);n.a+=")"}}function B$n(e,n,t){var i,r,c,o,l,f,h,g;for(f=new st((!e.a&&(e.a=new pe(Ft,e,10,11)),e.a));f.e!=f.i.gc();)for(l=u(ft(f),26),r=new Xn(Qn(K0(l).a.Jc(),new ne));ht(r);){if(i=u(rt(r),85),!i.b&&(i.b=new In(mt,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new In(mt,i,5,8)),i.c.i<=1)))throw R(new g5("Graph must not contain hyperedges."));if(!cS(i)&&l!=iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84)))for(h=new sNe,Pu(h,i),he(h,($0(),N4),i),CP(h,u(bu(Xc(t.f,l)),155)),nX(h,u(zn(t,iu(u(K((!i.c&&(i.c=new In(mt,i,5,8)),i.c),0),84))),155)),Ce(n.c,h),o=new st((!i.n&&(i.n=new pe(Eu,i,1,7)),i.n));o.e!=o.i.gc();)c=u(ft(o),157),g=new wPe(h,c.a),Pu(g,c),he(g,N4,c),g.e.a=k.Math.max(c.g,1),g.e.b=k.Math.max(c.f,1),bge(g),Ce(n.d,g)}}function z$n(e,n,t){var i,r,c,o,l,f,h,g,p,y;switch(t.Tg("Node promotion heuristic",1),e.i=n,e.r=u(C(n,(Oe(),wI)),243),e.r!=(V0(),$7)&&e.r!=Ox?hRn(e):RIn(e),g=u(C(e.i,c5e),15).a,c=new Nq,e.r.g){case 2:case 1:L8(e,c);break;case 3:for(e.r=IH,L8(e,c),f=0,l=new P(e.b);l.ae.k&&(e.r=yI,L8(e,c));break;case 4:for(e.r=IH,L8(e,c),h=0,r=new P(e.c);r.ae.n&&(e.r=kI,L8(e,c));break;case 6:y=lc(k.Math.ceil(e.g.length*g/100)),L8(e,new Cje(y));break;case 5:p=lc(k.Math.ceil(e.e*g/100)),L8(e,new Tje(p));break;case 8:uYe(e,!0);break;case 9:uYe(e,!1);break;default:L8(e,c)}e.r!=$7&&e.r!=Ox?rIn(e,n):EDn(e,n),t.Ug()}function F$n(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V;for(p=new Tge(e),T5n(p,!(n==(vr(),Yl)||n==th)),g=p.a,y=new a5,r=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),o=0,f=r.length;o0&&(y.d+=g.n.d,y.d+=g.d),y.a>0&&(y.a+=g.n.a,y.a+=g.d),y.b>0&&(y.b+=g.n.b,y.b+=g.d),y.c>0&&(y.c+=g.n.c,y.c+=g.d),y}function MVe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A;for(y=t.d,p=t.c,c=new Ee(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),o=c.b,h=new P(e.a);h.a0&&(e.c[n.c.p][n.p].d+=Ds(e.i,24)*SN*.07000000029802322-.03500000014901161,e.c[n.c.p][n.p].a=e.c[n.c.p][n.p].d/e.c[n.c.p][n.p].b)}}function H$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_;for(A=new P(e);A.ai.d,i.d=k.Math.max(i.d,n),l&&t&&(i.d=k.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:t=n>i.a,i.a=k.Math.max(i.a,n),l&&t&&(i.a=k.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:t=n>i.c,i.c=k.Math.max(i.c,n),l&&t&&(i.c=k.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:t=n>i.b,i.b=k.Math.max(i.b,n),l&&t&&(i.b=k.Math.max(i.b,i.c),i.c=i.b+r)}}}function TVe(e,n){var t,i,r,c,o,l,f,h,g;return h="",n.length==0?e.le(Gge,pZ,-1,-1):(g=W2(n),bn(g.substr(0,3),"at ")&&(g=(Wn(3,g.length+1),g.substr(3))),g=g.replace(/\[.*?\]/g,""),o=g.indexOf("("),o==-1?(o=g.indexOf("@"),o==-1?(h=g,g=""):(h=W2((Wn(o+1,g.length+1),g.substr(o+1))),g=W2((Qr(0,o,g.length),g.substr(0,o))))):(t=g.indexOf(")",o),h=(Qr(o+1,t,g.length),g.substr(o+1,t-(o+1))),g=W2((Qr(0,o,g.length),g.substr(0,o)))),o=dh(g,Xo(46)),o!=-1&&(g=(Wn(o+1,g.length+1),g.substr(o+1))),(g.length==0||bn(g,"Anonymous function"))&&(g=pZ),l=H$(h,Xo(58)),r=qle(h,Xo(58),l-1),f=-1,i=-1,c=Gge,l!=-1&&r!=-1&&(c=(Qr(0,r,h.length),h.substr(0,r)),f=MOe((Qr(r+1,l,h.length),h.substr(r+1,l-(r+1)))),i=MOe((Wn(l+1,h.length+1),h.substr(l+1)))),e.le(c,g,f,i))}function q$n(e){var n,t,i,r,c,o,l,f,h,g,p;for(h=new P(e);h.a0||g.j==Yn&&g.e.c.length-g.g.c.length<0)){n=!1;break}for(r=new P(g.g);r.a=h&&be>=_&&(y+=A.n.b+O.n.b+O.a.b-ie,++l));if(t)for(o=new P(U.e);o.a=h&&be>=_&&(y+=A.n.b+O.n.b+O.a.b-ie,++l))}l>0&&(fe+=y/l,++S)}S>0?(n.a=r*fe/S,n.g=S):(n.a=0,n.g=0)}function Mge(e,n,t,i){var r,c,o,l,f;return l=new Tge(n),FNn(l,i),r=!0,e&&e.nf((Xt(),_g))&&(c=u(e.mf((Xt(),_g)),86),r=c==(vr(),ih)||c==Zc||c==ru),TXe(l,!1),Ao(l.e.Pf(),new Yle(l,!1,r)),HV(l,l.f,(pa(),Ou),(Ie(),Vn)),HV(l,l.f,Nu,bt),HV(l,l.g,Ou,Yn),HV(l,l.g,Nu,nt),YJe(l,Vn),YJe(l,bt),qDe(l,nt),qDe(l,Yn),j2(),o=l.A.Gc((Vs(),qm))&&l.B.Gc((_s(),WI))?lJe(l):null,o&&ugn(l.a,o),G$n(l),axn(l),hxn(l),y$n(l),D_n(l),$xn(l),NQ(l,Vn),NQ(l,bt),kDn(l),lPn(l),t&&(iEn(l),Rxn(l),NQ(l,nt),NQ(l,Yn),f=l.B.Gc((_s(),lA)),wqe(l,f,Vn),wqe(l,f,bt),pqe(l,f,nt),pqe(l,f,Yn),er(new pn(null,new yn(new ot(l.i),0)),new Xg),er(li(new pn(null,Gfe(l.r).a.oc()),new Kg),new Vg),YAn(l),l.e.Nf(l.o),er(new pn(null,Gfe(l.r).a.oc()),new fd)),l.o}function X$n(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(h=Vi,i=new P(e.a.b);i.a1)for(S=new mge(A,V,i),cc(V,new pCe(e,S)),qn(o.c,S),p=V.a.ec().Jc();p.Ob();)g=u(p.Pb(),49),qo(c,g.b);if(l.a.gc()>1)for(S=new mge(A,l,i),cc(l,new mCe(e,S)),qn(o.c,S),p=l.a.ec().Jc();p.Ob();)g=u(p.Pb(),49),qo(c,g.b)}}function Q$n(e,n){var t,i,r,c,o,l;if(u(C(n,(ve(),po)),22).Gc((Ic(),Vl))){for(l=new P(n.a);l.a=0&&o0&&(u(zc(e.b,n),127).a.b=t)}function rRn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B;for(S=0,i=new ar,c=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));c.e!=c.i.gc();)r=u(ft(c),26),ze(Be(ke(r,(Oe(),Og))))||(p=Fi(r),Yz(p)&&!ze(Be(ke(r,bH)))&&(Ei(r,(ve(),Oi),ye(S)),++S,ga(r,xm)&&hr(i,u(ke(r,xm),15))),NVe(e,r,t));for(he(t,(ve(),fb),ye(S)),he(t,fI,ye(i.a.gc())),S=0,g=new st((!n.b&&(n.b=new pe(pr,n,12,3)),n.b));g.e!=g.i.gc();)f=u(ft(g),85),Yz(n)&&(Ei(f,Oi,ye(S)),++S),_=dW(f),B=CGe(f),y=ze(Be(ke(_,(Oe(),Mm)))),O=!ze(Be(ke(f,Og))),A=y&&Vw(f)&&ze(Be(ke(f,Cg))),o=Fi(_)==n&&Fi(_)==Fi(B),l=(Fi(_)==n&&B==n)^(Fi(B)==n&&_==n),O&&!A&&(l||o)&&_ge(e,f,n,t);if(Fi(n))for(h=new st(WDe(Fi(n)));h.e!=h.i.gc();)f=u(ft(h),85),_=dW(f),_==n&&Vw(f)&&(A=ze(Be(ke(_,(Oe(),Mm))))&&ze(Be(ke(f,Cg))),A&&_ge(e,f,n,t))}function cRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn;for(fe=new Te,A=new P(e.b);A.a=n.length)return{done:!0};var r=n[i++];return{value:[r,t.get(r)],done:!1}}}},nDn()||(e.prototype.createObject=function(){return{}},e.prototype.get=function(n){return this.obj[":"+n]},e.prototype.set=function(n,t){this.obj[":"+n]=t},e.prototype[FZ]=function(n){delete this.obj[":"+n]},e.prototype.keys=function(){var n=[];for(var t in this.obj)t.charCodeAt(0)==58&&n.push(t.substring(1));return n}),e}function Ti(){Ti=Y,zx=new ki(lwe),new Pi("DEPTH",ye(0)),wre=new Pi("FAN",ye(0)),v4e=new Pi(nWe,ye(0)),gb=new Pi("ROOT",($n(),!1)),vre=new Pi("LEFTNEIGHBOR",null),asn=new Pi("RIGHTNEIGHBOR",null),zH=new Pi("LEFTSIBLING",null),yre=new Pi("RIGHTSIBLING",null),gre=new Pi("DUMMY",!1),new Pi("LEVEL",ye(0)),j4e=new Pi("REMOVABLE_EDGES",new xi),MI=new Pi("XCOOR",ye(0)),CI=new Pi("YCOOR",ye(0)),FH=new Pi("LEVELHEIGHT",0),xa=new Pi("LEVELMIN",0),Yf=new Pi("LEVELMAX",0),pre=new Pi("GRAPH_XMIN",0),mre=new Pi("GRAPH_YMIN",0),y4e=new Pi("GRAPH_XMAX",0),k4e=new Pi("GRAPH_YMAX",0),m4e=new Pi("COMPACT_LEVEL_ASCENSION",!1),bre=new Pi("COMPACT_CONSTRAINTS",new Te),Bx=new Pi("ID",""),Fx=new Pi("POSITION",ye(0)),Qd=new Pi("PRELIM",0),z7=new Pi("MODIFIER",0),B7=new ki(fQe),AI=new ki(aQe)}function lRn(e){oge();var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_;if(e==null)return null;if(p=e.length*8,p==0)return"";for(l=p%24,S=p/24|0,y=l!=0?S+1:S,c=null,c=le(Zl,xh,30,y*4,15,1),h=0,g=0,n=0,t=0,i=0,o=0,r=0,f=0;f>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,_=(i&-128)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[o++]=u0[A],c[o++]=u0[O|h<<4],c[o++]=u0[g<<2|_],c[o++]=u0[i&63];return l==8?(n=e[r],h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,c[o++]=u0[A],c[o++]=u0[h<<4],c[o++]=61,c[o++]=61):l==16&&(n=e[r],t=e[r+1],g=(t&15)<<24>>24,h=(n&3)<<24>>24,A=(n&-128)==0?n>>2<<24>>24:(n>>2^192)<<24>>24,O=(t&-128)==0?t>>4<<24>>24:(t>>4^240)<<24>>24,c[o++]=u0[A],c[o++]=u0[O|h<<4],c[o++]=u0[g<<2],c[o++]=61),vh(c,0,c.length)}function fRn(e,n){var t,i,r,c,o,l,f;if(e.e==0&&e.p>0&&(e.p=-(e.p-1)),e.p>Xr&&Hae(n,e.p-Z0),o=n.q.getDate(),VT(n,1),e.k>=0&&z5n(n,e.k),e.c>=0?VT(n,e.c):e.k>=0?(f=new v1e(n.q.getFullYear()-Z0,n.q.getMonth(),35),i=35-f.q.getDate(),VT(n,k.Math.min(i,o))):VT(n,o),e.f<0&&(e.f=n.q.getHours()),e.b>0&&e.f<12&&(e.f+=12),Ywn(n,e.f==24&&e.g?0:e.f),e.j>=0&&m9n(n,e.j),e.n>=0&&N9n(n,e.n),e.i>=0&&fTe(n,mc(hc(GO(Lu(n.q.getTime()),Jd),Jd),e.i)),e.a&&(r=new o$,Hae(r,r.q.getFullYear()-Z0-80),HX(Lu(n.q.getTime()),Lu(r.q.getTime()))&&Hae(n,r.q.getFullYear()-Z0+100)),e.d>=0){if(e.c==-1)t=(7+e.d-n.q.getDay())%7,t>3&&(t-=7),l=n.q.getMonth(),VT(n,n.q.getDate()+t),n.q.getMonth()!=l&&VT(n,n.q.getDate()+(t>0?-7:7));else if(n.q.getDay()!=e.d)return!1}return e.o>Xr&&(c=n.q.getTimezoneOffset(),fTe(n,mc(Lu(n.q.getTime()),(e.o-c)*60*Jd))),!0}function LVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie;if(r=C(n,(ve(),mi)),!!X(r,206)){for(A=u(r,26),O=n.e,y=new wc(n.c),c=n.d,y.a+=c.b,y.b+=c.d,ie=u(ke(A,(Oe(),SH)),182),cs(ie,(_s(),bG))&&(S=u(ke(A,a5e),104),WU(S,c.a),tX(S,c.d),ZU(S,c.b),eX(S,c.c)),t=new Te,g=new P(n.a);g.ai.c.length-1;)Ce(i,new jc(A3,Hpe));t=u(C(r,Lh),15).a,M1(u(C(e,Sp),86))?(r.e.ate(re((kn(t,i.c.length),u(i.c[t],49)).b))&&UC((kn(t,i.c.length),u(i.c[t],49)),r.e.a+r.f.a)):(r.e.bte(re((kn(t,i.c.length),u(i.c[t],49)).b))&&UC((kn(t,i.c.length),u(i.c[t],49)),r.e.b+r.f.b))}for(c=St(e.b,0);c.b!=c.d.c;)r=u(jt(c),40),t=u(C(r,(Mu(),Lh)),15).a,he(r,(Ti(),xa),re((kn(t,i.c.length),u(i.c[t],49)).a)),he(r,Yf,re((kn(t,i.c.length),u(i.c[t],49)).b));n.Ug()}function hRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O;for(e.o=te(re(C(e.i,(Oe(),Ig)))),e.f=te(re(C(e.i,ab))),e.j=e.i.b.c.length,l=e.j-1,y=0,e.k=0,e.n=0,e.b=$f(le(jr,Me,15,e.j,0,1)),e.c=$f(le(gr,Me,346,e.j,7,1)),o=new P(e.i.b);o.a0&&Ce(e.q,g),Ce(e.p,g);n-=i,S=f+n,h+=n*e.f,ol(e.b,l,ye(S)),ol(e.c,l,h),e.k=k.Math.max(e.k,S),e.n=k.Math.max(e.n,h),e.e+=n,n+=O}}function RVe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V;if(n.b!=0){for(S=new xi,l=null,A=null,i=lc(k.Math.floor(k.Math.log(n.b)*k.Math.LOG10E)+1),f=0,V=St(n,0);V.b!=V.d.c;)for(B=u(jt(V),40),oe(A)!==oe(C(B,(Ti(),Bx)))&&(A=Pt(C(B,Bx)),f=0),A!=null?l=A+yLe(f++,i):l=yLe(f++,i),he(B,Bx,l),_=(r=St(new A1(B).a.d,0),new Nv(r));nT(_.a);)O=u(jt(_.a),65).c,Ki(S,O,S.c.b,S.c),he(O,Bx,l);for(y=new wt,o=0;o0&&(V-=S),vge(o,V),g=0,y=new P(o.a);y.a0),l.a.Xb(l.c=--l.b)),f=.4*i*g,!c&&l.b0&&(f=(Wn(0,n.length),n.charCodeAt(0)),f!=64)){if(f==37&&(p=n.lastIndexOf("%"),h=!1,p!=0&&(p==y-1||(h=(Wn(p+1,n.length),n.charCodeAt(p+1)==46))))){if(o=(Qr(1,p,n.length),n.substr(1,p-1)),V=bn("%",o)?null:Nge(o),i=0,h)try{i=hl((Wn(p+2,n.length+1),n.substr(p+2)),Xr,oi)}catch(ie){throw ie=sr(ie),X(ie,131)?(l=ie,R(new aB(l))):R(ie)}for(_=Khe(e.Dh());_.Ob();)if(A=LB(_),X(A,504)&&(r=u(A,587),U=r.d,(V==null?U==null:bn(V,U))&&i--==0))return r;return null}if(g=n.lastIndexOf("."),S=g==-1?n:(Qr(0,g,n.length),n.substr(0,g)),t=0,g!=-1)try{t=hl((Wn(g+1,n.length+1),n.substr(g+1)),Xr,oi)}catch(ie){if(ie=sr(ie),X(ie,131))S=n;else throw R(ie)}for(S=bn("%",S)?null:Nge(S),O=Khe(e.Dh());O.Ob();)if(A=LB(O),X(A,197)&&(c=u(A,197),B=c.ve(),(S==null?B==null:bn(S,B))&&t--==0))return c;return null}return EVe(e,n)}function vRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U;for(g=new wt,f=new _w,i=new P(e.a.a.b);i.an.d.c){if(S=e.c[n.a.d],_=e.c[p.a.d],S==_)continue;Hf(Nf(Of(If(Tf(new rf,1),100),S),_))}}}}}function yRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;if(y=u(u(vi(e.r,n),22),83),n==(Ie(),nt)||n==Yn){IVe(e,n);return}for(c=n==Vn?(Fw(),QN):(Fw(),WN),ie=n==Vn?(Uo(),Ea):(Uo(),Xf),t=u(zc(e.b,n),127),i=t.i,r=i.c+Zv(F(z(Jr,1),Jc,30,15,[t.n.b,e.C.b,e.k])),B=i.c+i.b-Zv(F(z(Jr,1),Jc,30,15,[t.n.c,e.C.c,e.k])),o=Boe(Qle(c),e.t),U=n==Vn?Ir:Vi,p=y.Jc();p.Ob();)h=u(p.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(_=h.b.Kf(),O=h.e,S=h.c,A=S.i,A.b=(f=S.n,S.e.a+f.b+f.c),A.a=(l=S.n,S.e.b+l.d+l.a),UT(ie,twe),S.f=ie,wa(S,(ws(),Uf)),A.c=O.a-(A.b-_.a)/2,be=k.Math.min(r,O.a),fe=k.Math.max(B,O.a+_.a),A.cfe&&(A.c=fe-A.b),Ce(o.d,new aV(A,K1e(o,A))),U=n==Vn?k.Math.max(U,O.b+h.b.Kf().b):k.Math.min(U,O.b));for(U+=n==Vn?e.t:-e.t,V=dde((o.e=U,o)),V>0&&(u(zc(e.b,n),127).a.b=V),g=y.Jc();g.Ob();)h=u(g.Pb(),115),!(!h.c||h.c.d.c.length<=0)&&(A=h.c.i,A.c-=h.e.a,A.d-=h.e.b)}function kRn(e,n){KW();var t,i,r,c,o,l,f,h,g,p,y,S,A,O;if(f=ao(e,0)<0,f&&(e=Id(e)),ao(e,0)==0)switch(n){case 0:return"0";case 1:return H8;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 S=new j0,n<0?S.a+="0E+":S.a+="0E",S.a+=n==Xr?"2147483648":""+-n,S.a}g=18,p=le(Zl,xh,30,g+1,15,1),t=g,O=e;do h=O,O=GO(O,10),p[--t]=Rt(mc(48,ff(h,hc(O,10))))&yr;while(ao(O,0)!=0);if(r=ff(ff(ff(g,t),n),1),n==0)return f&&(p[--t]=45),vh(p,t,g-t);if(n>0&&ao(r,-6)>=0){if(ao(r,0)>=0){for(c=t+Rt(r),l=g-1;l>=c;l--)p[l+1]=p[l];return p[++c]=46,f&&(p[--t]=45),vh(p,t,g-t+1)}for(o=2;HX(o,mc(Id(r),1));o++)p[--t]=48;return p[--t]=46,p[--t]=48,f&&(p[--t]=45),vh(p,t,g-t)}return A=t+1,i=g,y=new w5,f&&(y.a+="-"),i-A>=1?(Kb(y,p[t]),y.a+=".",y.a+=vh(p,t+1,g-t-1)):y.a+=vh(p,t,g-t),y.a+="E",ao(r,0)>0&&(y.a+="+"),y.a+=""+fE(r),y.a}function BVe(e){b2(e,new Kw(VP(h2(l2(a2(f2(new pd,ql),"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 LM),ql))),xe(e,ql,_F,_e(oln)),xe(e,ql,fm,_e(sln)),xe(e,ql,S3,_e(iln)),xe(e,ql,j4,_e(rln)),xe(e,ql,k4,_e(cln)),xe(e,ql,Q8,_e(tln)),xe(e,ql,TS,_e(Q4e)),xe(e,ql,W8,_e(uln)),xe(e,ql,ene,_e(Dre)),xe(e,ql,Zee,_e(_re)),xe(e,ql,zF,_e(Z4e)),xe(e,ql,nne,_e(Lre)),xe(e,ql,tne,_e(e6e)),xe(e,ql,o2e,_e(n6e)),xe(e,ql,u2e,_e(W4e)),xe(e,ql,t2e,_e(UH)),xe(e,ql,i2e,_e(XH)),xe(e,ql,r2e,_e(TI)),xe(e,ql,c2e,_e(t6e)),xe(e,ql,n2e,_e(Y4e))}function Zw(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;if(_=new Ee(e.g,e.f),O=z0e(e),O.a=k.Math.max(O.a,n),O.b=k.Math.max(O.b,t),fe=O.a/_.a,g=O.b/_.b,ie=O.a-_.a,f=O.b-_.b,i)for(o=Fi(e)?u(ke(Fi(e),(Xt(),_g)),86):u(ke(e,(Xt(),_g)),86),l=oe(ke(e,(Xt(),eA)))===oe((Br(),to)),U=new st((!e.c&&(e.c=new pe($s,e,9,9)),e.c));U.e!=U.i.gc();)switch(B=u(ft(U),125),V=u(ke(B,cy),64),V==(Ie(),ju)&&(V=sge(B,o),Ei(B,cy,V)),V.g){case 1:l||Os(B,B.i*fe);break;case 2:Os(B,B.i+ie),l||Ns(B,B.j*g);break;case 3:l||Os(B,B.i*fe),Ns(B,B.j+f);break;case 4:l||Ns(B,B.j*g)}if(jw(e,O.a,O.b),r)for(y=new st((!e.n&&(e.n=new pe(Eu,e,1,7)),e.n));y.e!=y.i.gc();)p=u(ft(y),157),S=p.i+p.g/2,A=p.j+p.f/2,be=S/_.a,h=A/_.b,be+h>=1&&(be-h>0&&A>=0?(Os(p,p.i+ie),Ns(p,p.j+f*h)):be-h<0&&S>=0&&(Os(p,p.i+ie*be),Ns(p,p.j+f)));return Ei(e,(Xt(),Lg),(Vs(),c=u(fa(sA),10),new Ll(c,u(_f(c,c.length),10),0))),new Ee(fe,g)}function tF(e){var n,t,i,r,c,o,l,f,h,g,p;if(e==null)throw R(new hh(Vo));if(h=e,c=e.length,f=!1,c>0&&(n=(Wn(0,e.length),e.charCodeAt(0)),(n==45||n==43)&&(e=(Wn(1,e.length+1),e.substr(1)),--c,f=n==45)),c==0)throw R(new hh(tp+h+'"'));for(;e.length>0&&(Wn(0,e.length),e.charCodeAt(0)==48);)e=(Wn(1,e.length+1),e.substr(1)),--c;if(c>(mKe(),snn)[10])throw R(new hh(tp+h+'"'));for(r=0;r0&&(p=-parseInt((Qr(0,i,e.length),e.substr(0,i)),10),e=(Wn(i,e.length+1),e.substr(i)),c-=i,t=!1);c>=o;){if(i=parseInt((Qr(0,o,e.length),e.substr(0,o)),10),e=(Wn(o,e.length+1),e.substr(o)),c-=o,t)t=!1;else{if(ao(p,l)<0)throw R(new hh(tp+h+'"'));p=hc(p,g)}p=ff(p,i)}if(ao(p,0)>0)throw R(new hh(tp+h+'"'));if(!f&&(p=Id(p),ao(p,0)<0))throw R(new hh(tp+h+'"'));return p}function Nge(e){eZ();var n,t,i,r,c,o,l,f;if(e==null)return null;if(r=dh(e,Xo(37)),r<0)return e;for(f=new il((Qr(0,r,e.length),e.substr(0,r))),n=le(ds,T3,30,4,15,1),l=0,i=0,o=e.length;rr+2&&ZY((Wn(r+1,e.length),e.charCodeAt(r+1)),U8e,X8e)&&ZY((Wn(r+2,e.length),e.charCodeAt(r+2)),U8e,X8e))if(t=Uvn((Wn(r+1,e.length),e.charCodeAt(r+1)),(Wn(r+2,e.length),e.charCodeAt(r+2))),r+=2,i>0?(t&192)==128?n[l++]=t<<24>>24:i=0:t>=128&&((t&224)==192?(n[l++]=t<<24>>24,i=2):(t&240)==224?(n[l++]=t<<24>>24,i=3):(t&248)==240&&(n[l++]=t<<24>>24,i=4)),i>0){if(l==i){switch(l){case 2:{Kb(f,((n[0]&31)<<6|n[1]&63)&yr);break}case 3:{Kb(f,((n[0]&15)<<12|(n[1]&63)<<6|n[2]&63)&yr);break}}l=0,i=0}}else{for(c=0;c=2){if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i==0)t=(S0(),r=new yo,r),Et((!e.a&&(e.a=new pe($i,e,6,6)),e.a),t);else if((!e.a&&(e.a=new pe($i,e,6,6)),e.a).i>1)for(y=new A5((!e.a&&(e.a=new pe($i,e,6,6)),e.a));y.e!=y.i.gc();)eS(y);fge(n,u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170))}if(p)for(i=new st((!e.a&&(e.a=new pe($i,e,6,6)),e.a));i.e!=i.i.gc();)for(t=u(ft(i),170),h=new st((!t.a&&(t.a=new mr(kl,t,5)),t.a));h.e!=h.i.gc();)f=u(ft(h),372),l.a=k.Math.max(l.a,f.a),l.b=k.Math.max(l.b,f.b);for(o=new st((!e.n&&(e.n=new pe(Eu,e,1,7)),e.n));o.e!=o.i.gc();)c=u(ft(o),157),g=u(ke(c,tA),8),g&&Dl(c,g.a,g.b),p&&(l.a=k.Math.max(l.a,c.i+c.g),l.b=k.Math.max(l.b,c.j+c.f));return l}function FVe(e,n,t,i,r){var c,o,l;if(DRe(e,n),o=n[0],c=rc(t.c,0),l=-1,S1e(t))if(i>0){if(o+i>e.length)return!1;l=Nz((Qr(0,o+i,e.length),e.substr(0,o+i)),n)}else l=Nz(e,n);switch(c){case 71:return l=b3(e,o,F(z(Je,1),Me,2,6,[xYe,AYe]),n),r.e=l,!0;case 77:return FIn(e,n,r,l,o);case 76:return JIn(e,n,r,l,o);case 69:return GCn(e,n,o,r);case 99:return qCn(e,n,o,r);case 97:return l=b3(e,o,F(z(Je,1),Me,2,6,["AM","PM"]),n),r.b=l,!0;case 121:return HIn(e,n,o,l,t,r);case 100:return l<=0?!1:(r.c=l,!0);case 83:return l<0?!1:jEn(l,o,n[0],r);case 104:l==12&&(l=0);case 75:case 72:return l<0?!1:(r.f=l,r.g=!1,!0);case 107:return l<0?!1:(r.f=l,r.g=!0,!0);case 109:return l<0?!1:(r.j=l,!0);case 115:return l<0?!1:(r.n=l,!0);case 90:if(oun[f]&&(_=f),p=new P(e.a.b);p.a=l){at(U.b>0),U.a.Xb(U.c=--U.b);break}else _.a>f&&(i?(Sr(i.b,_.b),i.a=k.Math.max(i.a,_.a),As(U)):(Ce(_.b,g),_.c=k.Math.min(_.c,f),_.a=k.Math.max(_.a,l),i=_));i||(i=new mxe,i.c=f,i.a=l,E2(U,i),Ce(i.b,g))}for(o=e.b,h=0,B=new P(t);B.a1;){if(r=_Nn(n),p=c.g,A=u(ke(n,qx),104),O=te(re(ke(n,QH))),(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i>1&&te(re(ke(n,(Zh(),Gre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))1&&te(re(ke(n,(Zh(),Hre))))!=Vi&&(c.c+(A.b+A.c))/(c.b+(A.d+A.a))>O&&Ei(r,(Zh(),$m),k.Math.max(te(re(ke(n,Gx))),te(re(ke(r,$m)))-te(re(ke(n,Hre))))),S=new Ise(i,g),f=rYe(S,r,y),h=f.g,h>=p&&h==h){for(o=0;o<(!r.a&&(r.a=new pe(Ft,r,10,11)),r.a).i;o++)Nqe(e,u(K((!r.a&&(r.a=new pe(Ft,r,10,11)),r.a),o),26),u(K((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a),o),26));rBe(n,S),M5n(c,f.c),A5n(c,f.b)}--l}Ei(n,(Zh(),F7),c.b),Ei(n,q4,c.c),t.Ug()}function ARn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn;for(n.Tg("Compound graph postprocessor",1),t=ze(Be(C(e,(Oe(),Hie)))),l=u(C(e,(ve(),X3e)),229),g=new ar,B=l.ec().Jc();B.Ob();){for(_=u(B.Pb(),17),o=new bs(l.cc(_)),En(),Tr(o,new ioe(e)),be=x7n((kn(0,o.c.length),u(o.c[0],250))),De=ZBe(u(Le(o,o.c.length-1),250)),V=be.i,e8(De.i,V)?U=V.e:U=_r(V),p=hSn(_,o),qs(_.a),y=null,c=new P(o);c.aMh,cn=k.Math.abs(y.b-A.b)>Mh,(!t&&un&&cn||t&&(un||cn))&&Vt(_.a,ie)),ac(_.a,i),i.b==0?y=ie:y=(at(i.b!=0),u(i.c.b.c,8)),tkn(S,p,O),ZBe(r)==De&&(_r(De.i)!=r.a&&(O=new Vr,$0e(O,_r(De.i),U)),he(_,Eie,O)),sCn(S,_,U),g.a.yc(S,g);fc(_,be),Gr(_,De)}for(h=g.a.ec().Jc();h.Ob();)f=u(h.Pb(),17),fc(f,null),Gr(f,null);n.Ug()}function MRn(e,n){var t,i,r,c,o,l,f,h,g,p,y;for(r=u(C(e,(Mu(),Sp)),86),g=r==(vr(),Zc)||r==ru?th:ru,t=u(gs(li(new pn(null,new yn(e.b,16)),new jv),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),f=u(gs(So(t.Mc(),new JEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),f.Fc(u(gs(So(t.Mc(),new HEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),18)),f.gd(new GEe(g)),y=new Ed(new qEe(r)),i=new wt,l=f.Jc();l.Ob();)o=u(l.Pb(),240),h=u(o.a,40),ze(Be(o.c))?(y.a.yc(h,($n(),cb))==null,new f9(y.a.Xc(h,!1)).a.gc()>0&&ei(i,h,u(new f9(y.a.Xc(h,!1)).a.Tc(),40)),new f9(y.a.$c(h,!0)).a.gc()>1&&ei(i,sJe(y,h),h)):(new f9(y.a.Xc(h,!1)).a.gc()>0&&(c=u(new f9(y.a.Xc(h,!1)).a.Tc(),40),oe(c)===oe(bu(Xc(i.f,h)))&&u(C(h,(Ti(),bre)),16).Ec(c)),new f9(y.a.$c(h,!0)).a.gc()>1&&(p=sJe(y,h),oe(bu(Xc(i.f,p)))===oe(h)&&u(C(p,(Ti(),bre)),16).Ec(h)),y.a.Ac(h)!=null)}function JVe(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie;if(e.gc()==1)return u(e.Xb(0),235);if(e.gc()<=0)return new nB;for(r=e.Jc();r.Ob();){for(t=u(r.Pb(),235),A=0,g=oi,p=oi,f=Xr,h=Xr,S=new P(t.e);S.al&&(V=0,ie+=o+B,o=0),n_n(O,t,V,ie),n=k.Math.max(n,V+_.a),o=k.Math.max(o,_.b),V+=_.a+B;return O}function CRn(e){oge();var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_;if(e==null||(c=hB(e),A=Ejn(c),A%4!=0))return null;if(O=A/4|0,O==0)return le(ds,T3,30,0,15,1);for(p=null,n=0,t=0,i=0,r=0,o=0,l=0,f=0,h=0,S=0,y=0,g=0,p=le(ds,T3,30,O*3,15,1);S>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24}return!rT(o=c[g++])||!rT(l=c[g++])?null:(n=oh[o],t=oh[l],f=c[g++],h=c[g++],oh[f]==-1||oh[h]==-1?f==61&&h==61?(t&15)!=0?null:(_=le(ds,T3,30,S*3+1,15,1),Wu(p,0,_,0,S*3),_[y]=(n<<2|t>>4)<<24>>24,_):f!=61&&h==61?(i=oh[f],(i&3)!=0?null:(_=le(ds,T3,30,S*3+2,15,1),Wu(p,0,_,0,S*3),_[y++]=(n<<2|t>>4)<<24>>24,_[y]=((t&15)<<4|i>>2&15)<<24>>24,_)):null:(i=oh[f],r=oh[h],p[y++]=(n<<2|t>>4)<<24>>24,p[y++]=((t&15)<<4|i>>2&15)<<24>>24,p[y++]=(i<<6|r)<<24>>24,p))}function TRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be;for(n.Tg(NQe,1),A=u(C(e,(Oe(),W1)),222),r=new P(e.b);r.a=2){for(O=!0,y=new P(c.j),t=u(L(y),12),S=null;y.a0)if(i=p.gc(),h=lc(k.Math.floor((i+1)/2))-1,r=lc(k.Math.ceil((i+1)/2))-1,n.o==Za)for(g=r;g>=h;g--)n.a[ie.p]==ie&&(O=u(p.Xb(g),49),A=u(O.a,9),!cf(t,O.b)&&S>e.b.e[A.p]&&(n.a[A.p]=ie,n.g[ie.p]=n.g[A.p],n.a[ie.p]=n.g[ie.p],n.f[n.g[ie.p].p]=($n(),!!(ze(n.f[n.g[ie.p].p])&ie.k==(Fn(),dr))),S=e.b.e[A.p]));else for(g=h;g<=r;g++)n.a[ie.p]==ie&&(B=u(p.Xb(g),49),_=u(B.a,9),!cf(t,B.b)&&S0&&(r=u(Le(_.c.a,fe-1),9),o=e.i[r.p],un=k.Math.ceil(Hv(e.n,r,_)),c=be.a.e-_.d.d-(o.a.e+r.o.b+r.d.a)-un),h=Vi,fe<_.c.a.c.length-1&&(f=u(Le(_.c.a,fe+1),9),g=e.i[f.p],un=k.Math.ceil(Hv(e.n,f,_)),h=g.a.e-f.d.d-(be.a.e+_.o.b+_.d.a)-un),t&&(Da(),Bf(Th),k.Math.abs(c-h)<=Th||c==h||isNaN(c)&&isNaN(h))?!0:(i=jV(V.a),l=-jV(V.b),p=-jV(De.a),U=jV(De.b),O=V.a.e.e-V.a.a-(V.b.e.e-V.b.a)>0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)<0,A=V.a.e.e-V.a.a-(V.b.e.e-V.b.a)<0&&De.a.e.e-De.a.a-(De.b.e.e-De.b.a)>0,S=V.a.e.e+V.b.aDe.b.e.e+De.a.a,ie=0,!O&&!A&&(y?c+p>0?ie=p:h-i>0&&(ie=i):S&&(c+l>0?ie=l:h-U>0&&(ie=U))),be.a.e+=ie,be.b&&(be.d.e+=ie),!1))}function GVe(e,n,t){var i,r,c,o,l,f,h,g,p,y;if(i=new Lf(n.Jf().a,n.Jf().b,n.Kf().a,n.Kf().b),r=new S5,e.c)for(o=new P(n.Pf());o.a0&&Or(S,(kn(t,n.c.length),u(n.c[t],25))),c=0,y=!0,B=Ks(Wb(cr(S))),f=B.Jc();f.Ob();){for(l=u(f.Pb(),17),y=!1,p=l,h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):q0(r,i+c,(kn(h,n.c.length),u(n.c[h],25))),p=OW(p,r);t>0&&(c+=1)}if(y){for(h=0;h(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(r,(kn(h,n.c.length),u(n.c[h],25))):q0(r,i+c,(kn(h,n.c.length),u(n.c[h],25)));t>0&&(c+=1)}for(o=!1,O=new Xn(Qn(Ii(S).a.Jc(),new ne));ht(O);){for(A=u(rt(O),17),p=A,g=t+1;g(kn(h,n.c.length),u(n.c[h],25)).a.c.length?Or(_,(kn(h,n.c.length),u(n.c[h],25))):q0(_,i+1,(kn(h,n.c.length),u(n.c[h],25))));o&&(c+=1),o=!0}return c>0?c-1:0}function Y0(e,n){ai();var t,i,r,c,o,l,f,h,g,p,y,S,A;if(Nj(Z7)==0){for(p=le(szn,Me,121,Thn.length,0,1),o=0;oh&&(i.a+=YTe(le(Zl,xh,30,-h,15,1))),i.a+="Is",dh(f,Xo(32))>=0)for(r=0;r=i.o.b/2}else U=!p;U?(B=u(C(i,(ve(),F4)),16),B?y?c=B:(r=u(C(i,_4),16),r?B.gc()<=r.gc()?c=B:c=r:(c=new Te,he(i,_4,c))):(c=new Te,he(i,F4,c))):(r=u(C(i,(ve(),_4)),16),r?p?c=r:(B=u(C(i,F4),16),B?r.gc()<=B.gc()?c=r:c=B:(c=new Te,he(i,F4,c))):(c=new Te,he(i,_4,c))),c.Ec(e),he(e,(ve(),cH),t),n.d==t?(Gr(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null),Tkn(t)):(fc(n,null),t.e.c.length+t.g.c.length==0&&wu(t,null)),qs(n.a)}function _Rn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(t.Tg("MinWidth layering",1),S=n.b,De=n.a,Ui=u(C(n,(Oe(),i5e)),15).a,l=u(C(n,r5e),15).a,e.b=te(re(C(n,Vf))),e.d=Vi,ie=new P(De);ie.aS&&(c&&(gc(fe,y),gc(un,ye(h.b-1))),Qt=t.b,Ui+=y+n,y=0,g=k.Math.max(g,t.b+t.c+lt)),Os(l,Qt),Ns(l,Ui),g=k.Math.max(g,Qt+lt+t.c),y=k.Math.max(y,p),Qt+=lt+n;if(g=k.Math.max(g,i),Dn=Ui+y+t.a,Dn0?(h=0,_&&(h+=l),h+=(cn-1)*o,V&&(h+=l),un&&V&&(h=k.Math.max(h,eIn(V,o,U,De))),h=e.a&&(i=wLn(e,U),g=k.Math.max(g,i.b),ie=k.Math.max(ie,i.d),Ce(l,new jc(U,i)));for(un=new Te,h=0;h0),_.a.Xb(_.c=--_.b),cn=new Xu(e.b),E2(_,cn),at(_.b<_.d.gc()),_.d.Xb(_.c=_.b++),cn));for(o=new P(l);o.a0){for(y=g<100?null:new E0(g),h=new r1e(n),A=h.g,B=le($t,ni,30,g,15,1),i=0,ie=new $w(g),r=0;r=0;)if(S!=null?gi(S,A[f]):oe(S)===oe(A[f])){B.length<=i&&(_=B,B=le($t,ni,30,2*B.length,15,1),Wu(_,0,B,0,i)),B[i++]=r,Et(ie,A[f]);break e}if(S=S,oe(S)===oe(l))break}}if(h=ie,A=ie.g,g=i,i>B.length&&(_=B,B=le($t,ni,30,i,15,1),Wu(_,0,B,0,i)),i>0){for(V=!0,c=0;c=0;)r4(e,B[o]);if(i!=g){for(r=g;--r>=i;)r4(h,r);_=B,B=le($t,ni,30,i,15,1),Wu(_,0,B,0,i)}n=h}}}else for(n=mxn(e,n),r=e.i;--r>=0;)n.Gc(e.g[r])&&(r4(e,r),V=!0);if(V){if(B!=null){for(t=n.gc(),p=t==1?vE(e,4,n.Jc().Pb(),null,B[0],O):vE(e,6,n,B,B[0],O),y=t<100?null:new E0(t),r=n.Jc();r.Ob();)S=r.Pb(),y=Xle(e,u(S,75),y);y?(y.lj(p),y.mj()):hi(e.e,p)}else{for(y=M2n(n.gc()),r=n.Jc();r.Ob();)S=r.Pb(),y=Xle(e,u(S,75),y);y&&y.mj()}return!0}else return!1}function BRn(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V;for(t=new ZJe(n),t.a||h_n(n),h=fDn(n),f=new _w,_=new fXe,O=new P(n.a);O.a0||t.o==Za&&r=t}function FRn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On;for(V=e.a,ie=0,be=V.length;ie0?(p=u(Le(y.c.a,o-1),9),un=Hv(e.b,y,p),_=y.n.b-y.d.d-(p.n.b+p.o.b+p.d.a+un)):_=y.n.b-y.d.d,h=k.Math.min(_,h),o1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,1),8).b-g.b)))));else for(O=new P(n.j);O.ar&&(c=y.a-r,o=oi,i.c.length=0,r=y.a),y.a>=r&&(qn(i.c,l),l.a.b>1&&(o=k.Math.min(o,k.Math.abs(u(Yu(l.a,l.a.b-2),8).b-y.b)))));if(i.c.length!=0&&c>n.o.a/2&&o>n.o.b/2){for(S=new Qu,wu(S,n),Ar(S,(Ie(),Vn)),S.n.a=n.o.a/2,B=new Qu,wu(B,n),Ar(B,bt),B.n.a=n.o.a/2,B.n.b=n.o.b,f=new P(i);f.a=h.b?fc(l,B):fc(l,S)):(h=u(Lvn(l.a),8),_=l.a.b==0?$a(l.c):u(Df(l.a),8),_.b>=h.b?Gr(l,B):Gr(l,S)),p=u(C(l,(Oe(),Wc)),78),p&&U2(p,h,!0);n.n.a=r-n.o.a/2}}function GRn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(l=St(e.b,0);l.b!=l.d.c;)if(o=u(jt(l),40),!bn(o.c,$F))for(h=mOn(o,e),n==(vr(),Zc)||n==ru?Tr(h,new M_):Tr(h,new iU),f=h.c.length,i=0;i=0?S=e4(l):S=_O(e4(l)),e.of(D7,S)),h=new Vr,y=!1,e.nf(jp)?(mle(h,u(e.mf(jp),8)),y=!0):upn(h,o.a/2,o.b/2),S.g){case 4:he(g,ku,(Xs(),Q1)),he(g,oH,(cg(),R3)),g.o.b=o.b,O<0&&(g.o.a=-O),Ar(p,(Ie(),nt)),y||(h.a=o.a),h.a-=o.a;break;case 2:he(g,ku,(Xs(),Mg)),he(g,oH,(cg(),A7)),g.o.b=o.b,O<0&&(g.o.a=-O),Ar(p,(Ie(),Yn)),y||(h.a=0);break;case 1:he(g,xg,(P1(),z3)),g.o.a=o.a,O<0&&(g.o.b=-O),Ar(p,(Ie(),bt)),y||(h.b=o.b),h.b-=o.b;break;case 3:he(g,xg,(P1(),D4)),g.o.a=o.a,O<0&&(g.o.b=-O),Ar(p,(Ie(),Vn)),y||(h.b=0)}if(mle(p.n,h),he(g,jp,h),n==Pg||n==d1||n==to){if(A=0,n==Pg&&e.nf(Vd))switch(S.g){case 1:case 2:A=u(e.mf(Vd),15).a;break;case 3:case 4:A=-u(e.mf(Vd),15).a}else switch(S.g){case 4:case 2:A=c.b,n==d1&&(A/=r.b);break;case 1:case 3:A=c.a,n==d1&&(A/=r.a)}he(g,mp,A)}return he(g,Iu,S),g}function qRn(){Joe();function e(i){var r=this;this.dispatch=function(c){var o=c.data;switch(o.cmd){case"algorithms":var l=hde((En(),new Hr(new ot(Rg.b))));i.postMessage({id:o.id,data:l});break;case"categories":var f=hde((En(),new Hr(new ot(Rg.c))));i.postMessage({id:o.id,data:f});break;case"options":var h=hde((En(),new Hr(new ot(Rg.d))));i.postMessage({id:o.id,data:h});break;case"register":mPn(o.algorithms),i.postMessage({id:o.id});break;case"layout":aPn(o.graph,o.layoutOptions||{},o.options||{}),i.postMessage({id:o.id,data:o.graph});break}},this.saveDispatch=function(c){try{r.dispatch(c)}catch(o){i.postMessage({id:c.data.id,error:o})}}}function n(i){var r=this;this.dispatcher=new e({postMessage:function(c){r.onmessage({data:c})}}),this.postMessage=function(c){setTimeout(function(){r.dispatcher.saveDispatch({data:c})},0)}}if(typeof document===qZ&&typeof self!==qZ){var t=new e(self);self.onmessage=t.saveDispatch}else typeof M!==qZ&&M.exports&&(Object.defineProperty(N,"__esModule",{value:!0}),M.exports={default:n,Worker:n})}function oZ(e,n,t,i,r,c,o){var l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(O=0,On=0,h=new P(e.b);h.aO&&(c&&(gc(fe,S),gc(un,ye(g.b-1)),Ce(e.d,A),l.c.length=0),Qt=t.b,Ui+=S+n,S=0,p=k.Math.max(p,t.b+t.c+lt)),qn(l.c,f),XJe(f,Qt,Ui),p=k.Math.max(p,Qt+lt+t.c),S=k.Math.max(S,y),Qt+=lt+n,A=f;if(Sr(e.a,l),Ce(e.d,u(Le(l,l.c.length-1),167)),p=k.Math.max(p,i),Dn=Ui+S+t.a,Dnr.d.d+r.d.a?g.f.d=!0:(g.f.d=!0,g.f.a=!0))),i.b!=i.d.c&&(n=t);g&&(c=u(zn(e.f,o.d.i),60),n.bc.d.d+c.d.a?g.f.d=!0:(g.f.d=!0,g.f.a=!0))}for(l=new Xn(Qn(cr(S).a.Jc(),new ne));ht(l);)o=u(rt(l),17),o.a.b!=0&&(n=u(Df(o.a),8),o.d.j==(Ie(),Vn)&&(_=new bS(n,new Ee(n.a,r.d.d),r,o),_.f.a=!0,_.a=o.d,qn(O.c,_)),o.d.j==bt&&(_=new bS(n,new Ee(n.a,r.d.d+r.d.a),r,o),_.f.d=!0,_.a=o.d,qn(O.c,_)))}return O}function QRn(e,n,t){var i,r,c,o,l,f,h,g,p,y;for(f=new Te,p=n.length,o=g1e(t),h=0;h=A&&(U>A&&(S.c.length=0,A=U),qn(S.c,o));S.c.length!=0&&(y=u(Le(S,dz(n,S.c.length)),132),Dn.a.Ac(y)!=null,y.s=O++,ybe(y,cn,fe),S.c.length=0)}for(ie=e.c.length+1,l=new P(e);l.aOn.s&&(As(t),qo(On.i,i),i.c>0&&(i.a=On,Ce(On.t,i),i.b=De,Ce(De.i,i)))}function YVe(e,n,t,i,r){var c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn;for(O=new xo(n.b),ie=new xo(n.b),y=new xo(n.b),un=new xo(n.b),_=new xo(n.b),De=St(n,0);De.b!=De.d.c;)for(be=u(jt(De),12),l=new P(be.g);l.a0,B=be.g.c.length>0,h&&B?qn(y.c,be):h?qn(O.c,be):B&&qn(ie.c,be);for(A=new P(O);A.aU.mh()-h.b&&(y=U.mh()-h.b),S>U.nh()-h.d&&(S=U.nh()-h.d),g0){for(V=St(e.f,0);V.b!=V.d.c;)U=u(jt(V),9),U.p+=y-e.e;P0e(e),qs(e.f),Lbe(e,i,S)}else{for(Vt(e.f,S),S.p=i,e.e=k.Math.max(e.e,i),c=new Xn(Qn(cr(S).a.Jc(),new ne));ht(c);)r=u(rt(c),17),!r.c.i.c&&r.c.i.k==(Fn(),Uu)&&(Vt(e.f,r.c.i),r.c.i.p=i-1);e.c=i}else P0e(e),qs(e.f),i=0,ht(new Xn(Qn(cr(S).a.Jc(),new ne)))?(y=0,y=QJe(y,S),i=y+2,Lbe(e,i,S)):(Vt(e.f,S),S.p=0,e.e=k.Math.max(e.e,0),e.b=u(Le(e.d.b,0),25),e.c=0);for(e.f.b==0||P0e(e),e.d.a.c.length=0,B=new Te,h=new P(e.d.b);h.a=48&&n<=57){for(i=n-48;r=48&&n<=57;)if(i=i*10+n-48,i<0)throw R(new Bt(Ht((Lt(),nme))))}else throw R(new Bt(Ht((Lt(),BZe))));if(t=i,n==44){if(r>=e.j)throw R(new Bt(Ht((Lt(),FZe))));if((n=rc(e.i,r++))>=48&&n<=57){for(t=n-48;r=48&&n<=57;)if(t=t*10+n-48,t<0)throw R(new Bt(Ht((Lt(),nme))));if(i>t)throw R(new Bt(Ht((Lt(),JZe))))}else t=-1}if(n!=125)throw R(new Bt(Ht((Lt(),zZe))));e._l(r)?(c=(ai(),ai(),new P2(9,c)),e.d=r+1):(c=(ai(),ai(),new P2(3,c)),e.d=r),c.Mm(i),c.Lm(t),fi(e)}}return c}function iBn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be;for(r=1,S=new Te,i=0;i=u(Le(e.b,i),25).a.c.length/4)continue}if(u(Le(e.b,i),25).a.c.length>n){for(ie=new Te,Ce(ie,u(Le(e.b,i),25)),o=0;o1)for(A=new A5((!e.a&&(e.a=new pe($i,e,6,6)),e.a));A.e!=A.i.gc();)eS(A);for(o=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),_=Qt,Qt>be+ie?_=be+ie:Qtfe+O?B=fe+O:Uibe-ie&&_fe-O&&BQt+lt?un=Qt+lt:beUi+De?cn=Ui+De:feQt-lt&&unUi-De&&cnt&&(y=t-1),S=o0+Ds(n,24)*SN*p-p/2,S<0?S=1:S>i&&(S=i-1),r=(S0(),f=new Xk,f),vB(r,y),yB(r,S),Et((!o.a&&(o.a=new mr(kl,o,5)),o.a),r)}function fZ(e,n){KW();var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De;if(V=e.e,g=e.d,r=e.a,V==0)switch(n){case 0:return"0";case 1:return H8;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 B=new j0,B.a+="0E",B.a+=-n,B.a}if(O=g*10+1+7,_=le(Zl,xh,30,O+1,15,1),t=O,g==1)if(c=r[0],c<0){De=Rr(c,Dc);do p=De,De=GO(De,10),_[--t]=48+Rt(ff(p,hc(De,10)))&yr;while(ao(De,0)!=0)}else{De=c;do p=De,De=De/10|0,_[--t]=48+(p-De*10)&yr;while(De!=0)}else{ie=le($t,ni,30,g,15,1),fe=g,Wu(r,0,ie,0,fe);e:for(;;){for(U=0,l=fe-1;l>=0;l--)be=mc(Xh(U,32),Rr(ie[l],Dc)),S=lMn(be),ie[l]=Rt(S),U=Rt(Mw(S,32));A=Rt(U),y=t;do _[--t]=48+A%10&yr;while((A=A/10|0)!=0&&t!=0);for(i=9-y+t,o=0;o0;o++)_[--t]=48;for(f=fe-1;ie[f]==0;f--)if(f==0)break e;fe=f+1}for(;_[t]==48;)++t}return h=V<0,h&&(_[--t]=45),vh(_,t,O-t)}function eYe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;switch(e.c=n,e.g=new wt,t=(Fb(),new k0(e.c)),i=new DP(t),lde(i),V=Pt(ke(e.c,(UO(),X6e))),f=u(ke(e.c,cce),330),be=u(ke(e.c,uce),427),o=u(ke(e.c,G6e),477),ie=u(ke(e.c,rce),428),e.j=te(re(ke(e.c,Qln))),l=e.a,f.g){case 0:l=e.a;break;case 1:l=e.b;break;case 2:l=e.i;break;case 3:l=e.e;break;case 4:l=e.f;break;default:throw R(new Un(JF+(f.f!=null?f.f:""+f.g)))}if(e.d=new $_e(l,be,o),he(e.d,(t8(),ix),Be(ke(e.c,Vln))),e.d.c=ze(Be(ke(e.c,q6e))),DR(e.c).i==0)return e.d;for(p=new st(DR(e.c));p.e!=p.i.gc();){for(g=u(ft(p),26),S=g.g/2,y=g.f/2,fe=new Ee(g.i+S,g.j+y);so(e.g,fe);)k2(fe,(k.Math.random()-.5)*Mh,(k.Math.random()-.5)*Mh);O=u(ke(g,(Xt(),H7)),140),_=new Z_e(fe,new Lf(fe.a-S-e.j/2-O.b,fe.b-y-e.j/2-O.d,g.g+e.j+(O.b+O.c),g.f+e.j+(O.d+O.a))),Ce(e.d.i,_),ei(e.g,fe,new jc(_,g))}switch(ie.g){case 0:if(V==null)e.d.d=u(Le(e.d.i,0),68);else for(U=new P(e.d.i);U.a0?lt+1:1);for(o=new P(fe.g);o.a0?lt+1:1)}e.d[h]==0?Vt(e.f,O):e.a[h]==0&&Vt(e.g,O),++h}for(A=-1,S=1,p=new Te,e.e=u(C(n,(ve(),B4)),234);jl>0;){for(;e.f.b!=0;)Ui=u(nV(e.f),9),e.c[Ui.p]=A--,Wbe(e,Ui),--jl;for(;e.g.b!=0;)Es=u(nV(e.g),9),e.c[Es.p]=S++,Wbe(e,Es),--jl;if(jl>0){for(y=Xr,U=new P(V);U.a=y&&(ie>y&&(p.c.length=0,y=ie),qn(p.c,O)));g=e.qg(p),e.c[g.p]=S++,Wbe(e,g),--jl}}for(Qt=V.c.length+1,h=0;he.c[eu]&&(Fd(i,!0),he(n,L4,($n(),!0)));e.a=null,e.d=null,e.c=null,qs(e.g),qs(e.f),t.Ug()}function tYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;for(be=u(K((!e.a&&(e.a=new pe($i,e,6,6)),e.a),0),170),g=new xs,ie=new wt,fe=gKe(be),Ko(ie.f,be,fe),y=new wt,i=new xi,A=Kh(Bl(F(z(Kl,1),Nn,20,0,[(!n.d&&(n.d=new In(pr,n,8,5)),n.d),(!n.e&&(n.e=new In(pr,n,7,4)),n.e)])));ht(A);){if(S=u(rt(A),85),(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i!=1)throw R(new Un(XWe+(!e.a&&(e.a=new pe($i,e,6,6)),e.a).i));S!=e&&(_=u(K((!S.a&&(S.a=new pe($i,S,6,6)),S.a),0),170),Ki(i,_,i.c.b,i.c),O=u(bu(Xc(ie.f,_)),13),O||(O=gKe(_),Ko(ie.f,_,O)),p=t?Nr(new wc(u(Le(fe,fe.c.length-1),8)),u(Le(O,O.c.length-1),8)):Nr(new wc((kn(0,fe.c.length),u(fe.c[0],8))),(kn(0,O.c.length),u(O.c[0],8))),Ko(y.f,_,p))}if(i.b!=0)for(B=u(Le(fe,t?fe.c.length-1:0),8),h=1;h1&&Ki(g,B,g.c.b,g.c),OY(r)));B=U}return g}function iYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On;for(t.Tg(rWe,1),On=u(gs(li(new pn(null,new yn(n,16)),new T_),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),g=u(gs(li(new pn(null,new yn(n,16)),new XEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),A=u(gs(li(new pn(null,new yn(n,16)),new UEe(n)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[Yo]))),16),O=le(BH,RF,40,n.gc(),0,1),o=0;o=0&&cn=0&&!O[S]){O[S]=r,g.ed(l),--l;break}if(S=cn-y,S=0&&!O[S]){O[S]=r,g.ed(l),--l;break}}for(A.gd(new DM),f=O.length-1;f>=0;f--)!O[f]&&!A.dc()&&(O[f]=u(A.Xb(0),40),A.ed(0));for(h=0;hy&&JO((kn(y,n.c.length),u(n.c[y],186)),g),g=null;n.c.length>y&&(kn(y,n.c.length),u(n.c[y],186)).a.c.length==0;)qo(n,(kn(y,n.c.length),n.c[y]));if(!g){--o;continue}if(!ze(Be(u(Le(g.b,0),26).mf((qa(),NI))))&&x_n(n,A,c,g,_,t,y,i)){O=!0;continue}if(_){if(S=A.b,p=g.f,!ze(Be(u(Le(g.b,0),26).mf(NI)))&&UPn(n,A,c,g,t,y,i,r)){if(O=!0,S=e.j){e.a=-1,e.c=1;return}if(n=rc(e.i,e.d++),e.a=n,e.b==1){switch(n){case 92:if(i=10,e.d>=e.j)throw R(new Bt(Ht((Lt(),YF))));e.a=rc(e.i,e.d++);break;case 45:(e.e&512)==512&&e.d=e.j||rc(e.i,e.d)!=63)break;if(++e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));switch(n=rc(e.i,e.d++),n){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(e.d>=e.j)throw R(new Bt(Ht((Lt(),Nne))));if(n=rc(e.i,e.d++),n==61)i=16;else if(n==33)i=17;else throw R(new Bt(Ht((Lt(),kZe))));break;case 35:for(;e.d=e.j)throw R(new Bt(Ht((Lt(),YF))));e.a=rc(e.i,e.d++);break;default:i=0}e.c=i}function dBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_;if(t.Tg("Process compaction",1),!!ze(Be(C(n,(Mu(),A4e))))){for(r=u(C(n,Sp),86),S=te(re(C(n,jre))),RLn(e,n,r),MRn(n,S/2/2),A=n.b,tg(A,new BEe(r)),h=St(A,0);h.b!=h.d.c;)if(f=u(jt(h),40),!ze(Be(C(f,(Ti(),gb))))){if(i=aDn(f,r),O=uLn(f,n),p=0,y=0,i)switch(_=i.e,r.g){case 2:p=_.a-S-f.f.a,O.e.a-S-f.f.ap&&(p=O.e.a+O.f.a+S),y=p+f.f.a;break;case 4:p=_.b-S-f.f.b,O.e.b-S-f.f.bp&&(p=O.e.b+O.f.b+S),y=p+f.f.b}else if(O)switch(r.g){case 2:p=O.e.a-S-f.f.a,y=p+f.f.a;break;case 1:p=O.e.a+O.f.a+S,y=p+f.f.a;break;case 4:p=O.e.b-S-f.f.b,y=p+f.f.b;break;case 3:p=O.e.b+O.f.b+S,y=p+f.f.b}oe(C(n,kre))===oe(($E(),xI))?(c=p,o=y,l=z1(li(new pn(null,new yn(e.a,16)),new kCe(c,o))),l.a!=null?r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p:(r==(vr(),Zc)||r==Yl?l=z1(li(oBe(new pn(null,new yn(e.a,16))),new zEe(c))):l=z1(li(oBe(new pn(null,new yn(e.a,16))),new FEe(c))),l.a!=null&&(r==Zc||r==ru?f.e.a=te(re((at(l.a!=null),u(l.a,49)).a)):f.e.b=te(re((at(l.a!=null),u(l.a,49)).a)))),l.a!=null&&(g=pu(e.a,(at(l.a!=null),l.a),0),g>0&&g!=u(C(f,Lh),15).a&&(he(f,m4e,($n(),!0)),he(f,Lh,ye(g))))):r==(vr(),Zc)||r==ru?f.e.a=p:f.e.b=p}t.Ug()}}function bBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be;if(t.Tg("Coffman-Graham Layering",1),n.a.c.length==0){t.Ug();return}for(be=u(C(n,(Oe(),t5e)),15).a,f=0,o=0,y=new P(n.a);y.a=be||!TEn(B,i))&&(i=GDe(n,g)),Or(B,i),c=new Xn(Qn(cr(B).a.Jc(),new ne));ht(c);)r=u(rt(c),17),!e.a[r.p]&&(O=r.c.i,--e.e[O.p],e.e[O.p]==0&&I5(S8(S,O),G8));for(h=g.c.length-1;h>=0;--h)Ce(n.b,(kn(h,g.c.length),u(g.c[h],25)));n.a.c.length=0,t.Ug()}function cYe(e){var n,t,i,r,c,o,l,f,h;for(e.b=1,fi(e),n=null,e.c==0&&e.a==94?(fi(e),n=(ai(),ai(),new ul(4)),ho(n,0,b7),l=new ul(4)):l=(ai(),ai(),new ul(4)),r=!0;(h=e.c)!=1;){if(h==0&&e.a==93&&!r){n&&(vS(n,l),l=n);break}if(t=e.a,i=!1,h==10)switch(t){case 100:case 68:case 119:case 87:case 115:case 83:cm(l,D8(t)),i=!0;break;case 105:case 73:case 99:case 67:t=(cm(l,D8(t)),-1),t<0&&(i=!0);break;case 112:case 80:if(f=Z0e(e,t),!f)throw R(new Bt(Ht((Lt(),Ine))));cm(l,f),i=!0;break;default:t=$be(e)}else if(h==24&&!r){if(n&&(vS(n,l),l=n),c=cYe(e),vS(l,c),e.c!=0||e.a!=93)throw R(new Bt(Ht((Lt(),NZe))));break}if(fi(e),!i){if(h==0){if(t==91)throw R(new Bt(Ht((Lt(),Z2e))));if(t==93)throw R(new Bt(Ht((Lt(),eme))));if(t==45&&!r&&e.a!=93)throw R(new Bt(Ht((Lt(),Dne))))}if(e.c!=0||e.a!=45||t==45&&r)ho(l,t,t);else{if(fi(e),(h=e.c)==1)throw R(new Bt(Ht((Lt(),QF))));if(h==0&&e.a==93)ho(l,t,t),ho(l,45,45);else{if(h==0&&e.a==93||h==24)throw R(new Bt(Ht((Lt(),Dne))));if(o=e.a,h==0){if(o==91)throw R(new Bt(Ht((Lt(),Z2e))));if(o==93)throw R(new Bt(Ht((Lt(),eme))));if(o==45)throw R(new Bt(Ht((Lt(),Dne))))}else h==10&&(o=$be(e));if(fi(e),t>o)throw R(new Bt(Ht((Lt(),_Ze))));ho(l,t,o)}}}r=!1}if(e.c==1)throw R(new Bt(Ht((Lt(),QF))));return g3(l),pS(l),e.b=0,fi(e),l}function uYe(e,n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie;ie=!1;do for(ie=!1,c=n?new it(e.a.b).a.gc()-2:1;n?c>=0:cu(C(_,Oi),15).a)&&(V=!1);if(V){for(f=n?c+1:c-1,l=Rae(e.a,ye(f)),o=!1,U=!0,i=!1,g=St(l,0);g.b!=g.d.c;)h=u(jt(g),9),wi(h,Oi)?h.p!=p.p&&(o=o|(n?u(C(h,Oi),15).au(C(p,Oi),15).a),U=!1):!o&&U&&h.k==(Fn(),Uu)&&(i=!0,n?y=u(rt(new Xn(Qn(cr(h).a.Jc(),new ne))),17).c.i:y=u(rt(new Xn(Qn(Ii(h).a.Jc(),new ne))),17).d.i,y==p&&(n?t=u(rt(new Xn(Qn(Ii(h).a.Jc(),new ne))),17).d.i:t=u(rt(new Xn(Qn(cr(h).a.Jc(),new ne))),17).c.i,(n?u(y2(e.a,t),15).a-u(y2(e.a,y),15).a:u(y2(e.a,y),15).a-u(y2(e.a,t),15).a)<=2&&(U=!1)));if(i&&U&&(n?t=u(rt(new Xn(Qn(Ii(p).a.Jc(),new ne))),17).d.i:t=u(rt(new Xn(Qn(cr(p).a.Jc(),new ne))),17).c.i,(n?u(y2(e.a,t),15).a-u(y2(e.a,p),15).a:u(y2(e.a,p),15).a-u(y2(e.a,t),15).a)<=2&&t.k==(Fn(),Wi)&&(U=!1)),o||U){for(O=FUe(e,p,n);O.a.gc()!=0;)A=u(O.a.ec().Jc().Pb(),9),O.a.Ac(A)!=null,ac(O,FUe(e,A,n));--S,ie=!0}}}while(ie)}function gBn(e){Mt(e.c,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#decimal"])),Mt(e.d,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#integer"])),Mt(e.e,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#boolean"])),Mt(e.f,Ut,F(z(Je,1),Me,2,6,[sc,"EBoolean",ui,"EBoolean:Object"])),Mt(e.i,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#byte"])),Mt(e.g,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Mt(e.j,Ut,F(z(Je,1),Me,2,6,[sc,"EByte",ui,"EByte:Object"])),Mt(e.n,Ut,F(z(Je,1),Me,2,6,[sc,"EChar",ui,"EChar:Object"])),Mt(e.t,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#double"])),Mt(e.u,Ut,F(z(Je,1),Me,2,6,[sc,"EDouble",ui,"EDouble:Object"])),Mt(e.F,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#float"])),Mt(e.G,Ut,F(z(Je,1),Me,2,6,[sc,"EFloat",ui,"EFloat:Object"])),Mt(e.I,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#int"])),Mt(e.J,Ut,F(z(Je,1),Me,2,6,[sc,"EInt",ui,"EInt:Object"])),Mt(e.N,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#long"])),Mt(e.O,Ut,F(z(Je,1),Me,2,6,[sc,"ELong",ui,"ELong:Object"])),Mt(e.Z,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#short"])),Mt(e.$,Ut,F(z(Je,1),Me,2,6,[sc,"EShort",ui,"EShort:Object"])),Mt(e._,Ut,F(z(Je,1),Me,2,6,[sc,"http://www.w3.org/2001/XMLSchema#string"]))}function Oe(){Oe=Y,zie=(Xt(),zfn),m5e=Ffn,mI=Jfn,Vf=Hfn,X3=X9e,Ng=K9e,Dm=V9e,L7=Y9e,P7=Q9e,Fie=sG,Ig=Zd,Jie=Gfn,Ax=e8e,xH=Q4,pI=(Lge(),Vcn),Im=Ycn,ab=Qcn,_m=Wcn,Run=new Yr(FI,ye(0)),_7=Ucn,p5e=Xcn,G4=Kcn,M5e=yun,y5e=nun,k5e=run,Gie=aun,j5e=oun,E5e=lun,AH=Sun,qie=kun,x5e=wun,S5e=bun,A5e=mun,u5e=Ccn,Pie=Scn,yH=Ecn,$ie=Acn,kp=zcn,xx=Fcn,_ie=Wrn,Vye=ecn,Hun=q7,Gun=lG,Jun=Hm,Fun=G7,v5e=(Z5(),Um),new Yr(W4,v5e),h5e=new Ew(12),a5e=new Yr(f1,h5e),Uye=(J1(),K7),W1=new Yr(S9e,Uye),Tm=new Yr(Ps,0),Bun=new Yr(Sce,ye(1)),aH=new Yr(J7,K8),Og=oG,Zi=eA,D7=cy,Nun=$I,Dh=Mfn,Am=ny,zun=new Yr(xce,($n(),!0)),Mm=RI,Cg=wce,Tg=Lg,SH=wb,Bie=zm,qye=(vr(),ih),pl=new Yr(_g,qye),yp=iy,jH=I9e,Om=Fm,$un=Ece,g5e=q9e,b5e=(l3(),UI),new Yr(z9e,b5e),_un=vce,Lun=yce,Pun=kce,Dun=mce,Hie=eun,vH=jcn,wI=kcn,Mx=Zcn,ku=bcn,H4=Grn,jx=Hrn,N7=Crn,Jye=Trn,Nie=Drn,gI=Orn,Iie=Frn,o5e=Tcn,s5e=Ocn,n5e=scn,EH=Gcn,Rie=Dcn,Lie=icn,f5e=Rcn,Kye=Yrn,Die=Qrn,Oie=PI,l5e=Ncn,dH=frn,Rye=lrn,hH=srn,Wye=ucn,Qye=ccn,Zye=ocn,I7=ry,Wc=ty,Kd=Nfn,_h=gce,U3=bce,Hye=Lrn,Vd=jce,mx=Ofn,mH=Dfn,jp=J9e,d5e=Pfn,Cm=$fn,i5e=wcn,r5e=mcn,Nm=Y4,Aie=orn,c5e=ycn,pH=Xrn,wH=Urn,kH=H7,t5e=acn,Sx=Lcn,vI=W9e,Gye=qrn,w5e=qcn,Xye=Krn,Cun=$rn,Tun=Rrn,Iun=dcn,Oun=Brn,e5e=pce,Ex=gcn,gH=zrn,l1=Mrn,Cie=Srn,bI=hrn,Mie=drn,bH=xrn,vx=arn,Tie=Arn,xm=Ern,kx=jrn,Mun=krn,J4=brn,yx=yrn,Fye=vrn,Bye=grn,zye=prn,Yye=rcn}function wBn(e,n,t,i,r,c,o){var l,f,h,g,p,y,S,A;return y=u(i.a,15).a,S=u(i.b,15).a,p=e.b,A=e.c,l=0,g=0,n==(vr(),Zc)||n==ru?(g=fT(FFe(N2(So(new pn(null,new yn(t.b,16)),new __),new OM))),p.e.b+p.f.b/2>g?(h=++S,l=te(re(Js(M2(So(new pn(null,new yn(t.b,16)),new SCe(r,h)),new lw))))):(f=++y,l=te(re(Js(_5(So(new pn(null,new yn(t.b,16)),new xCe(r,f)),new Rk)))))):(g=fT(FFe(N2(So(new pn(null,new yn(t.b,16)),new A_),new R6))),p.e.a+p.f.a/2>g?(h=++S,l=te(re(Js(M2(So(new pn(null,new yn(t.b,16)),new ECe(r,h)),new NM))))):(f=++y,l=te(re(Js(_5(So(new pn(null,new yn(t.b,16)),new jCe(r,f)),new IM)))))),n==Zc?(gc(e.a,new Ee(te(re(C(p,(Ti(),xa))))-r,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,l)),gc(e.a,new Ee(A.e.a+A.f.a+r+c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a+A.f.a,A.e.b+A.f.b/2))):n==ru?(gc(e.a,new Ee(te(re(C(p,(Ti(),Yf))))+r,p.e.b+p.f.b/2)),gc(e.a,new Ee(p.e.a+p.f.a+r,l)),gc(e.a,new Ee(A.e.a-r-c,l)),gc(e.a,new Ee(A.e.a-r-c,A.e.b+A.f.b/2)),gc(e.a,new Ee(A.e.a,A.e.b+A.f.b/2))):n==Yl?(gc(e.a,new Ee(l,te(re(C(p,(Ti(),xa))))-r)),gc(e.a,new Ee(l,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r+c)),gc(e.a,new Ee(A.e.a+A.f.a/2,A.e.b+A.f.b+r))):(e.a.b==0||(u(Df(e.a),8).b=te(re(C(p,(Ti(),Yf))))+r*u(o.b,15).a),gc(e.a,new Ee(l,te(re(C(p,(Ti(),Yf))))+r*u(o.b,15).a)),gc(e.a,new Ee(l,A.e.b-r*u(o.a,15).a-c))),new jc(ye(y),ye(S))}function pBn(e){var n,t,i,r,c,o,l,f,h,g,p,y,S;if(o=!0,p=null,i=null,r=null,n=!1,S=Han,h=null,c=null,l=0,f=IQ(e,l,K8e,V8e),f=0&&bn(e.substr(l,2),"//")?(l+=2,f=IQ(e,l,hA,dA),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f):p!=null&&(l==e.length||(Wn(l,e.length),e.charCodeAt(l)!=47))&&(o=!1,f=ule(e,Xo(35),l),f==-1&&(f=e.length),i=(Qr(l,f,e.length),e.substr(l,f-l)),l=f);if(!t&&l0&&rc(g,g.length-1)==58&&(r=g,l=f)),lo?(Ys(e,n,t),1):(Ys(e,t,n),-1)}for(U=e.f,V=0,ie=U.length;V0?Ys(e,n,t):Ys(e,t,n),i;if(!wi(n,(ve(),Oi))||!wi(t,Oi))return c=cW(e,n),l=cW(e,t),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)}if(!y&&!A&&(i=sYe(e,n,t),i!=0))return i>0?Ys(e,n,t):Ys(e,t,n),i}return wi(n,(ve(),Oi))&&wi(t,Oi)?(c=Qw(n,t,e.c,u(C(e.c,fb),15).a),l=Qw(t,n,e.c,u(C(e.c,fb),15).a),c>l?(Ys(e,n,t),1):(Ys(e,t,n),-1)):(Ys(e,t,n),-1)}function oYe(){oYe=Y,lZ(),Wt=new _w,gn(Wt,(Ie(),na),ch),gn(Wt,vf,ch),gn(Wt,ks,ch),gn(Wt,ta,ch),gn(Wt,es,ch),gn(Wt,js,ch),gn(Wt,ta,na),gn(Wt,ch,Ql),gn(Wt,na,Ql),gn(Wt,vf,Ql),gn(Wt,ks,Ql),gn(Wt,Zo,Ql),gn(Wt,ta,Ql),gn(Wt,es,Ql),gn(Wt,js,Ql),gn(Wt,zo,Ql),gn(Wt,ch,vl),gn(Wt,na,vl),gn(Wt,Ql,vl),gn(Wt,vf,vl),gn(Wt,ks,vl),gn(Wt,Zo,vl),gn(Wt,ta,vl),gn(Wt,zo,vl),gn(Wt,yl,vl),gn(Wt,es,vl),gn(Wt,hs,vl),gn(Wt,js,vl),gn(Wt,na,vf),gn(Wt,ks,vf),gn(Wt,ta,vf),gn(Wt,js,vf),gn(Wt,na,ks),gn(Wt,vf,ks),gn(Wt,ta,ks),gn(Wt,ks,ks),gn(Wt,es,ks),gn(Wt,ch,Wl),gn(Wt,na,Wl),gn(Wt,Ql,Wl),gn(Wt,vl,Wl),gn(Wt,vf,Wl),gn(Wt,ks,Wl),gn(Wt,Zo,Wl),gn(Wt,ta,Wl),gn(Wt,yl,Wl),gn(Wt,zo,Wl),gn(Wt,js,Wl),gn(Wt,es,Wl),gn(Wt,mo,Wl),gn(Wt,ch,yl),gn(Wt,na,yl),gn(Wt,Ql,yl),gn(Wt,vf,yl),gn(Wt,ks,yl),gn(Wt,Zo,yl),gn(Wt,ta,yl),gn(Wt,zo,yl),gn(Wt,js,yl),gn(Wt,hs,yl),gn(Wt,mo,yl),gn(Wt,na,zo),gn(Wt,vf,zo),gn(Wt,ks,zo),gn(Wt,ta,zo),gn(Wt,yl,zo),gn(Wt,js,zo),gn(Wt,es,zo),gn(Wt,ch,Wo),gn(Wt,na,Wo),gn(Wt,Ql,Wo),gn(Wt,vf,Wo),gn(Wt,ks,Wo),gn(Wt,Zo,Wo),gn(Wt,ta,Wo),gn(Wt,zo,Wo),gn(Wt,js,Wo),gn(Wt,na,es),gn(Wt,Ql,es),gn(Wt,vl,es),gn(Wt,ks,es),gn(Wt,ch,hs),gn(Wt,na,hs),gn(Wt,vl,hs),gn(Wt,vf,hs),gn(Wt,ks,hs),gn(Wt,Zo,hs),gn(Wt,ta,hs),gn(Wt,ta,mo),gn(Wt,ks,mo),gn(Wt,zo,ch),gn(Wt,zo,vf),gn(Wt,zo,Ql),gn(Wt,Zo,ch),gn(Wt,Zo,na),gn(Wt,Zo,vl)}function mBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;switch(t.Tg("Brandes & Koepf node placement",1),e.a=n,e.c=Q_n(n),i=u(C(n,(Oe(),Rie)),282),S=ze(Be(C(n,Sx))),e.d=i==(qO(),nH)&&!S||i==lie,GPn(e,n),be=null,fe=null,B=null,U=null,_=(ll(4,om),new xo(4)),u(C(n,Rie),282).g){case 3:B=new p3(n,e.c.d,(La(),Dg),(gh(),Yd)),qn(_.c,B);break;case 1:U=new p3(n,e.c.d,(La(),Za),(gh(),Yd)),qn(_.c,U);break;case 4:be=new p3(n,e.c.d,(La(),Dg),(gh(),Ep)),qn(_.c,be);break;case 2:fe=new p3(n,e.c.d,(La(),Za),(gh(),Ep)),qn(_.c,fe);break;default:B=new p3(n,e.c.d,(La(),Dg),(gh(),Yd)),U=new p3(n,e.c.d,Za,Yd),be=new p3(n,e.c.d,Dg,Ep),fe=new p3(n,e.c.d,Za,Ep),qn(_.c,be),qn(_.c,fe),qn(_.c,B),qn(_.c,U)}for(r=new wCe(n,e.c),l=new P(_);l.aAW(c))&&(p=c);for(!p&&(p=(kn(0,_.c.length),u(_.c[0],185))),O=new P(n.b);O.a0?(Ys(e,t,n),1):(Ys(e,n,t),-1);if(g&&V)return Ys(e,t,n),1;if(p&&U)return Ys(e,n,t),-1;if(p&&V)return 0}else for(cn=new P(h.j);cn.ap&&(Dn=0,lt+=g+De,g=0),eKe(be,o,Dn,lt),n=k.Math.max(n,Dn+fe.a),g=k.Math.max(g,fe.b),Dn+=fe.a+De;for(ie=new wt,t=new wt,cn=new P(e);cn.a=-1900?1:0,t>=4?Kt(e,F(z(Je,1),Me,2,6,[xYe,AYe])[l]):Kt(e,F(z(Je,1),Me,2,6,["BC","AD"])[l]);break;case 121:cSn(e,t,i);break;case 77:e_n(e,t,i);break;case 107:f=r.q.getHours(),f==0?Qh(e,24,t):Qh(e,f,t);break;case 83:wNn(e,t,r);break;case 69:g=i.q.getDay(),t==5?Kt(e,F(z(Je,1),Me,2,6,["S","M","T","W","T","F","S"])[g]):t==4?Kt(e,F(z(Je,1),Me,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[g]):Kt(e,F(z(Je,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[g]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?Kt(e,F(z(Je,1),Me,2,6,["AM","PM"])[1]):Kt(e,F(z(Je,1),Me,2,6,["AM","PM"])[0]);break;case 104:p=r.q.getHours()%12,p==0?Qh(e,12,t):Qh(e,p,t);break;case 75:y=r.q.getHours()%12,Qh(e,y,t);break;case 72:S=r.q.getHours(),Qh(e,S,t);break;case 99:A=i.q.getDay(),t==5?Kt(e,F(z(Je,1),Me,2,6,["S","M","T","W","T","F","S"])[A]):t==4?Kt(e,F(z(Je,1),Me,2,6,[OZ,NZ,IZ,DZ,_Z,LZ,PZ])[A]):t==3?Kt(e,F(z(Je,1),Me,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[A]):Qh(e,A,1);break;case 76:O=i.q.getMonth(),t==5?Kt(e,F(z(Je,1),Me,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[O]):t==4?Kt(e,F(z(Je,1),Me,2,6,[vZ,yZ,kZ,jZ,g4,EZ,SZ,xZ,AZ,MZ,CZ,TZ])[O]):t==3?Kt(e,F(z(Je,1),Me,2,6,["Jan","Feb","Mar","Apr",g4,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[O]):Qh(e,O+1,t);break;case 81:_=i.q.getMonth()/3|0,t<4?Kt(e,F(z(Je,1),Me,2,6,["Q1","Q2","Q3","Q4"])[_]):Kt(e,F(z(Je,1),Me,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[_]);break;case 100:B=i.q.getDate(),Qh(e,B,t);break;case 109:h=r.q.getMinutes(),Qh(e,h,t);break;case 115:o=r.q.getSeconds(),Qh(e,o,t);break;case 122:t<4?Kt(e,c.c[0]):Kt(e,c.c[1]);break;case 118:Kt(e,c.b);break;case 90:t<3?Kt(e,vTn(c)):t==3?Kt(e,ETn(c)):Kt(e,STn(c.a));break;default:return!1}return!0}function _ge(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn,lt,Qt;if(JXe(n),f=u(K((!n.b&&(n.b=new In(mt,n,4,7)),n.b),0),84),g=u(K((!n.c&&(n.c=new In(mt,n,5,8)),n.c),0),84),l=iu(f),h=iu(g),o=(!n.a&&(n.a=new pe($i,n,6,6)),n.a).i==0?null:u(K((!n.a&&(n.a=new pe($i,n,6,6)),n.a),0),170),De=u(zn(e.a,l),9),Dn=u(zn(e.a,h),9),un=null,lt=null,X(f,193)&&(fe=u(zn(e.a,f),246),X(fe,12)?un=u(fe,12):X(fe,9)&&(De=u(fe,9),un=u(Le(De.j,0),12))),X(g,193)&&(On=u(zn(e.a,g),246),X(On,12)?lt=u(On,12):X(On,9)&&(Dn=u(On,9),lt=u(Le(Dn.j,0),12))),!De||!Dn)throw R(new g5("The source or the target of edge "+n+" 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(O=new Dw,Pu(O,n),he(O,(ve(),mi),n),he(O,(Oe(),Wc),null),S=u(C(i,po),22),De==Dn&&S.Ec((Ic(),hx)),un||(be=(Nc(),Io),cn=null,o&&zv(u(C(De,Zi),102))&&(cn=new Ee(o.j,o.k),pPe(cn,I2(n)),GPe(cn,t),B2(h,l)&&(be=ys,pi(cn,De.n))),un=qKe(De,cn,be,i)),lt||(be=(Nc(),ys),Qt=null,o&&zv(u(C(Dn,Zi),102))&&(Qt=new Ee(o.b,o.c),pPe(Qt,I2(n)),GPe(Qt,t)),lt=qKe(Dn,Qt,be,_r(Dn))),fc(O,un),Gr(O,lt),(un.e.c.length>1||un.g.c.length>1||lt.e.c.length>1||lt.g.c.length>1)&&S.Ec((Ic(),ax)),y=new st((!n.n&&(n.n=new pe(Eu,n,1,7)),n.n));y.e!=y.i.gc();)if(p=u(ft(y),157),!ze(Be(ke(p,Og)))&&p.a)switch(_=aQ(p),Ce(O.b,_),u(C(_,_h),279).g){case 1:case 2:S.Ec((Ic(),C7));break;case 0:S.Ec((Ic(),M7)),he(_,_h,(za(),U7))}if(c=u(C(i,jx),301),B=u(C(i,EH),328),r=c==(qE(),cI)||B==(VE(),Zie),o&&(!o.a&&(o.a=new mr(kl,o,5)),o.a).i!=0&&r){for(U=vCn(o),A=new xs,ie=St(U,0);ie.b!=ie.d.c;)V=u(jt(ie),8),Vt(A,new wc(V));he(O,Y3e,A)}return O}function jBn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn,lt,Qt,Ui;for(cn=0,On=0,De=new wt,be=u(Js(M2(So(new pn(null,new yn(e.b,16)),new x_),new $k)),15).a+1,un=le($t,ni,30,be,15,1),_=le($t,ni,30,be,15,1),O=0;O1)for(l=lt+1;lh.b.e.b*(1-B)+h.c.e.b*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(Df(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.b>V.b&&h.c.e.b>V.b||A<=0&&Qt.bh.b.e.a*(1-B)+h.c.e.a*B));A++);if(fe.gc()>0&&(Qt=h.a.b==0?pc(h.b.e):u(Df(h.a),8),V=pi(pc(u(fe.Xb(fe.gc()-1),40).e),u(fe.Xb(fe.gc()-1),40).f),y=pi(pc(u(fe.Xb(0),40).e),u(fe.Xb(0),40).f),A>=fe.gc()-1&&Qt.a>V.a&&h.c.e.a>V.a||A<=0&&Qt.a=te(re(C(e,(Ti(),k4e))))&&++On):(S.f&&S.d.e.a<=te(re(C(e,(Ti(),pre))))&&++cn,S.g&&S.c.e.a+S.c.f.a>=te(re(C(e,(Ti(),y4e))))&&++On)}else ie==0?Y0e(h):ie<0&&(++un[lt],++_[Ui],Dn=wBn(h,n,e,new jc(ye(cn),ye(On)),t,i,new jc(ye(_[Ui]),ye(un[lt]))),cn=u(Dn.a,15).a,On=u(Dn.b,15).a)}function EBn(e){e.gb||(e.gb=!0,e.b=Au(e,0),Yi(e.b,18),_i(e.b,19),e.a=Au(e,1),Yi(e.a,1),_i(e.a,2),_i(e.a,3),_i(e.a,4),_i(e.a,5),e.o=Au(e,2),Yi(e.o,8),Yi(e.o,9),_i(e.o,10),_i(e.o,11),_i(e.o,12),_i(e.o,13),_i(e.o,14),_i(e.o,15),_i(e.o,16),_i(e.o,17),_i(e.o,18),_i(e.o,19),_i(e.o,20),_i(e.o,21),_i(e.o,22),_i(e.o,23),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),Yc(e.o),e.p=Au(e,3),Yi(e.p,2),Yi(e.p,3),Yi(e.p,4),Yi(e.p,5),_i(e.p,6),_i(e.p,7),Yc(e.p),Yc(e.p),e.q=Au(e,4),Yi(e.q,8),e.v=Au(e,5),_i(e.v,9),Yc(e.v),Yc(e.v),Yc(e.v),e.w=Au(e,6),Yi(e.w,2),Yi(e.w,3),Yi(e.w,4),_i(e.w,5),e.B=Au(e,7),_i(e.B,1),Yc(e.B),Yc(e.B),Yc(e.B),e.Q=Au(e,8),_i(e.Q,0),Yc(e.Q),e.R=Au(e,9),Yi(e.R,1),e.S=Au(e,10),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),Yc(e.S),e.T=Au(e,11),_i(e.T,10),_i(e.T,11),_i(e.T,12),_i(e.T,13),_i(e.T,14),Yc(e.T),Yc(e.T),e.U=Au(e,12),Yi(e.U,2),Yi(e.U,3),_i(e.U,4),_i(e.U,5),_i(e.U,6),_i(e.U,7),Yc(e.U),e.V=Au(e,13),_i(e.V,10),e.W=Au(e,14),Yi(e.W,18),Yi(e.W,19),Yi(e.W,20),_i(e.W,21),_i(e.W,22),_i(e.W,23),e.bb=Au(e,15),Yi(e.bb,10),Yi(e.bb,11),Yi(e.bb,12),Yi(e.bb,13),Yi(e.bb,14),Yi(e.bb,15),Yi(e.bb,16),_i(e.bb,17),Yc(e.bb),Yc(e.bb),e.eb=Au(e,16),Yi(e.eb,2),Yi(e.eb,3),Yi(e.eb,4),Yi(e.eb,5),Yi(e.eb,6),Yi(e.eb,7),_i(e.eb,8),_i(e.eb,9),e.ab=Au(e,17),Yi(e.ab,0),Yi(e.ab,1),e.H=Au(e,18),_i(e.H,0),_i(e.H,1),_i(e.H,2),_i(e.H,3),_i(e.H,4),_i(e.H,5),Yc(e.H),e.db=Au(e,19),_i(e.db,2),e.c=ci(e,20),e.d=ci(e,21),e.e=ci(e,22),e.f=ci(e,23),e.i=ci(e,24),e.g=ci(e,25),e.j=ci(e,26),e.k=ci(e,27),e.n=ci(e,28),e.r=ci(e,29),e.s=ci(e,30),e.t=ci(e,31),e.u=ci(e,32),e.fb=ci(e,33),e.A=ci(e,34),e.C=ci(e,35),e.D=ci(e,36),e.F=ci(e,37),e.G=ci(e,38),e.I=ci(e,39),e.J=ci(e,40),e.L=ci(e,41),e.M=ci(e,42),e.N=ci(e,43),e.O=ci(e,44),e.P=ci(e,45),e.X=ci(e,46),e.Y=ci(e,47),e.Z=ci(e,48),e.$=ci(e,49),e._=ci(e,50),e.cb=ci(e,51),e.K=ci(e,52))}function SBn(e,n,t,i){var r,c,o,l,f,h,g,p,y,S,A;for(p=St(e.b,0);p.b!=p.d.c;)if(g=u(jt(p),40),!bn(g.c,$F))for(c=u(gs(new pn(null,new yn($Tn(g,e),16)),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),16),n==(vr(),Zc)||n==ru?c.gd(new N_):c.gd(new I_),A=c.gc(),r=0;r0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a+i/5.3,g.e.b+g.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a+i/5.3,g.e.b+g.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a,g.e.b+g.f.b*o))):n==ru?(h=te(re(C(g,(Ti(),xa)))),g.e.a-i>h?gc(u(c.Xb(r),65).a,new Ee(h-t,g.e.b+g.f.b*o)):u(c.Xb(r),65).a.b>0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(f-S)/(k.Math.abs(l-y)/40)>50&&(S>f?gc(u(c.Xb(r),65).a,new Ee(g.e.a-i/5.3,g.e.b+g.f.b*o-i/2)):gc(u(c.Xb(r),65).a,new Ee(g.e.a-i/5.3,g.e.b+g.f.b*o+i/2)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a,g.e.b+g.f.b*o))):n==Yl?(h=te(re(C(g,(Ti(),Yf)))),g.e.b+g.f.b+i0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o-i/2,g.e.b+i/5.3+g.f.b)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o+i/2,g.e.b+i/5.3+g.f.b)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,g.e.b+g.f.b))):(h=te(re(C(g,(Ti(),xa)))),Uze(u(c.Xb(r),65),e)?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,u(Df(u(c.Xb(r),65).a),8).b)):g.e.b-i>h?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,h-t)):u(c.Xb(r),65).a.b>0&&(l=u(Df(u(c.Xb(r),65).a),8).a,y=g.e.a+g.f.a/2,f=u(Df(u(c.Xb(r),65).a),8).b,S=g.e.b+g.f.b/2,i>0&&k.Math.abs(l-y)/(k.Math.abs(f-S)/40)>50&&(y>l?gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o-i/2,g.e.b-i/5.3)):gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o+i/2,g.e.b-i/5.3)))),gc(u(c.Xb(r),65).a,new Ee(g.e.a+g.f.a*o,g.e.b)))}function fYe(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe;if(o=n,y=t,so(e.a,o)){if(cf(u(zn(e.a,o),47),y))return 1}else ei(e.a,o,new ar);if(so(e.a,y)){if(cf(u(zn(e.a,y),47),o))return-1}else ei(e.a,y,new ar);if(so(e.e,o)){if(cf(u(zn(e.e,o),47),y))return-1}else ei(e.e,o,new ar);if(so(e.e,y)){if(cf(u(zn(e.a,y),47),o))return 1}else ei(e.e,y,new ar);if(o.j!=y.j)return be=dwn(o.j,y.j),be>0?Gl(e,o,y,1):Gl(e,y,o,1),be;if(fe=1,o.e.c.length!=0&&y.e.c.length!=0){if((o.j==(Ie(),Yn)&&y.j==Yn||o.j==Vn&&y.j==Vn||o.j==bt&&y.j==bt)&&(fe=-fe),g=u(Le(o.e,0),17).c,_=u(Le(y.e,0),17).c,f=g.i,A=_.i,f==A)for(V=new P(f.j);V.a0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe);if(i=CFe(u(gs(vV(e.d),Cs(new zi,new bi,new Cc,F(z(Qo,1),je,130,0,[(Fl(),Yo)]))),20),f,A),i!=0)return i>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe);if(e.c&&(be=rHe(e,o,y),be!=0))return be>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)}return o.g.c.length!=0&&y.g.c.length!=0?((o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),p=u(C(o,(ve(),vie)),9),B=u(C(y,vie),9),e.f==(H1(),tre)&&p&&B&&wi(p,Oi)&&wi(B,Oi)?(l=Qw(p,B,e.b,u(C(e.b,fb),15).a),S=Qw(B,p,e.b,u(C(e.b,fb),15).a),l>S?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)):e.c&&(be=rHe(e,o,y),be!=0)?be>0?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe):(h=0,O=0,wi(u(Le(o.g,0),17),Oi)&&(h=Qw(u(Le(o.g,0),246),u(Le(y.g,0),246),e.b,o.g.c.length+o.e.c.length)),wi(u(Le(y.g,0),17),Oi)&&(O=Qw(u(Le(y.g,0),246),u(Le(o.g,0),246),e.b,y.g.c.length+y.e.c.length)),p&&p==B||e.g&&(e.g._b(p)&&(h=u(e.g.xc(p),15).a),e.g._b(B)&&(O=u(e.g.xc(B),15).a)),h>O?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe))):o.e.c.length!=0&&y.g.c.length!=0?(Gl(e,o,y,fe),1):o.g.c.length!=0&&y.e.c.length!=0?(Gl(e,y,o,fe),-1):wi(o,(ve(),Oi))&&wi(y,Oi)?(c=o.i.j.c.length,l=Qw(o,y,e.b,c),S=Qw(y,o,e.b,c),(o.j==(Ie(),Yn)&&y.j==Yn||o.j==bt&&y.j==bt)&&(fe=-fe),l>S?(Gl(e,o,y,fe),fe):(Gl(e,y,o,fe),-fe)):(Gl(e,y,o,fe),-fe)}function ve(){ve=Y;var e,n;mi=new ki(lwe),U3e=new ki("coordinateOrigin"),kie=new ki("processors"),q3e=new Pi("compoundNode",($n(),!1)),aI=new Pi("insideConnections",!1),Y3e=new ki("originalBendpoints"),Q3e=new ki("originalDummyNodePosition"),W3e=new ki("originalLabelEdge"),bx=new ki("representedLabels"),dx=new ki("endLabels"),P4=new ki("endLabel.origin"),R4=new Pi("labelSide",(al(),qI)),F3=new Pi("maxEdgeThickness",0),Xd=new Pi("reversed",!1),B4=new ki(lQe),Sa=new Pi("longEdgeSource",null),wf=new Pi("longEdgeTarget",null),Sm=new Pi("longEdgeHasLabelDummies",!1),hI=new Pi("longEdgeBeforeLabelDummy",!1),oH=new Pi("edgeConstraint",(cg(),iie)),pp=new ki("inLayerLayoutUnit"),xg=new Pi("inLayerConstraint",(P1(),lI)),$4=new Pi("inLayerSuccessorConstraint",new Te),V3e=new Pi("inLayerSuccessorConstraintBetweenNonDummies",!1),vs=new ki("portDummy"),uH=new Pi("crossingHint",ye(0)),po=new Pi("graphProperties",(n=u(fa(fie),10),new Ll(n,u(_f(n,n.length),10),0))),Iu=new Pi("externalPortSide",(Ie(),ju)),K3e=new Pi("externalPortSize",new Vr),wie=new ki("externalPortReplacedDummies"),sH=new ki("externalPortReplacedDummy"),Y1=new Pi("externalPortConnections",(e=u(fa(xc),10),new Ll(e,u(_f(e,e.length),10),0))),mp=new Pi(rQe,0),G3e=new ki("barycenterAssociates"),F4=new ki("TopSideComments"),_4=new ki("BottomSideComments"),cH=new ki("CommentConnectionPort"),mie=new Pi("inputCollect",!1),yie=new Pi("outputCollect",!1),L4=new Pi("cyclic",!1),X3e=new ki("crossHierarchyMap"),Eie=new ki("targetOffset"),new Pi("splineLabelSize",new Vr),H3=new ki("spacings"),lH=new Pi("partitionConstraint",!1),wp=new ki("breakingPoint.info"),nye=new ki("splines.survivingEdge"),Ag=new ki("splines.route.start"),G3=new ki("splines.edgeChain"),eye=new ki("originalPortConstraints"),vp=new ki("selfLoopHolder"),O7=new ki("splines.nsPortY"),Oi=new ki("modelOrder"),fb=new ki("modelOrder.maximum"),fI=new ki("modelOrderGroups.cb.number"),vie=new ki("longEdgeTargetNode"),lb=new Pi(LQe,!1),J3=new Pi(LQe,!1),pie=new ki("layerConstraints.hiddenNodes"),Z3e=new ki("layerConstraints.opposidePort"),jie=new ki("targetNode.modelOrder"),z4=new Pi("tarjan.lowlink",ye(oi)),gx=new Pi("tarjan.id",ye(-1)),fH=new Pi("tarjan.onstack",!1),rrn=new Pi("partOfCycle",!1),q3=new ki("medianHeuristic.weight")}function Xt(){Xt=Y;var e,n;V4=new ki(SWe),Jm=new ki(xWe),v9e=(Wh(),lce),Mfn=new an(vpe,v9e),J7=new an(V8,null),Cfn=new ki(D2e),k9e=(ag(),Ci(hce,F(z(dce,1),je,299,0,[ace]))),PI=new an(DF,k9e),$I=new an(BN,($n(),!1)),j9e=(vr(),ih),_g=new an(Jee,j9e),x9e=(J1(),Ace),S9e=new an(RN,x9e),Ifn=new an(N2e,!1),M9e=(F1(),hG),ny=new an(IF,M9e),R9e=new Ew(12),f1=new an(am,R9e),BI=new an(CS,!1),pce=new an(LF,!1),zI=new an(TS,!1),H9e=(Br(),vb),eA=new an(ZZ,H9e),Y4=new ki(_F),FI=new ki(CN),Sce=new ki(dF),xce=new ki(MS),O9e=new xs,ty=new an(Ope,O9e),Ofn=new an(_pe,!1),Dfn=new an(Lpe,!1),new an(AWe,0),N9e=new jj,H7=new an($pe,N9e),oG=new an(ppe,!1),Bfn=new an(MWe,1),Bm=new ki(CWe),Rm=new ki(TWe),q7=new an(TN,!1),new an(OWe,!0),ye(0),new an(NWe,ye(100)),new an(IWe,!1),ye(0),new an(DWe,ye(4e3)),ye(0),new an(_We,ye(400)),new an(LWe,!1),new an(PWe,!1),new an($We,!0),new an(RWe,!1),y9e=(ZB(),Ice),Tfn=new an(I2e,y9e),T9e=(CE(),KI),Lfn=new an(BWe,T9e),C9e=(a8(),JI),_fn=new an(zWe,C9e),zfn=new an(cpe,10),Ffn=new an(upe,10),Jfn=new an(ope,20),Hfn=new an(spe,10),X9e=new an(WZ,2),K9e=new an(Fee,10),V9e=new an(lpe,0),sG=new an(hpe,5),Y9e=new an(fpe,1),Q9e=new an(ape,1),Zd=new an(fm,20),Gfn=new an(dpe,10),e8e=new an(bpe,10),Q4=new ki(gpe),Z9e=new STe,W9e=new an(Rpe,Z9e),$fn=new ki(Gee),B9e=!1,Pfn=new an(Hee,B9e),D9e=new Ew(5),I9e=new an(jpe,D9e),_9e=(em(),n=u(fa($c),10),new Ll(n,u(_f(n,n.length),10),0)),iy=new an(Q8,_9e),F9e=(l3(),mb),z9e=new an(xpe,F9e),vce=new ki(Ape),yce=new ki(Mpe),kce=new ki(Cpe),mce=new ki(Tpe),L9e=(e=u(fa(sA),10),new Ll(e,u(_f(e,e.length),10),0)),Lg=new an(S3,L9e),$9e=rn((_s(),Y7)),wb=new an(k4,$9e),P9e=new Ee(0,0),ry=new an(j4,P9e),zm=new an(Y8,!1),E9e=(za(),U7),gce=new an(Ipe,E9e),bce=new an(bF,!1),ye(1),new an(FWe,null),J9e=new ki(Ppe),jce=new ki(Dpe),U9e=(Ie(),ju),cy=new an(mpe,U9e),Ps=new ki(wpe),G9e=(ps(),rn(yb)),Fm=new an(W8,G9e),Ece=new an(Epe,!1),q9e=new an(Spe,!0),ye(1),Vfn=new an(dne,ye(3)),ye(1),Qfn=new an(_2e,ye(4)),lG=new an(ON,1),fG=new an(bne,null),Hm=new an(NN,150),G7=new an(IN,1.414),W4=new an(rp,null),qfn=new an(L2e,1),RI=new an(ype,!1),wce=new an(kpe,!1),Nfn=new an(Npe,1),A9e=(Mz(),Cce),new an(JWe,A9e),Rfn=!0,Yfn=(QR(),Nce),Xfn=(Z5(),Um),Kfn=Um,Ufn=Um}function Ur(){Ur=Y,Fve=new br("DIRECTION_PREPROCESSOR",0),Rve=new br("COMMENT_PREPROCESSOR",1),_3=new br("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),_te=new br("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),u3e=new br("PARTITION_PREPROCESSOR",4),DJ=new br("LABEL_DUMMY_INSERTER",5),HJ=new br("SELF_LOOP_PREPROCESSOR",6),ym=new br("LAYER_CONSTRAINT_PREPROCESSOR",7),r3e=new br("PARTITION_MIDPROCESSOR",8),Vve=new br("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),t3e=new br("NODE_PROMOTION",10),vm=new br("LAYER_CONSTRAINT_POSTPROCESSOR",11),c3e=new br("PARTITION_POSTPROCESSOR",12),Uve=new br("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),o3e=new br("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Ive=new br("BREAKING_POINT_INSERTER",15),$J=new br("LONG_EDGE_SPLITTER",16),Lte=new br("PORT_SIDE_PROCESSOR",17),NJ=new br("INVERTED_PORT_PROCESSOR",18),zJ=new br("PORT_LIST_SORTER",19),l3e=new br("SORT_BY_INPUT_ORDER_OF_MODEL",20),BJ=new br("NORTH_SOUTH_PORT_PREPROCESSOR",21),Dve=new br("BREAKING_POINT_PROCESSOR",22),i3e=new br(MQe,23),f3e=new br(CQe,24),FJ=new br("SELF_LOOP_PORT_RESTORER",25),Nve=new br("ALTERNATING_LAYER_UNZIPPER",26),s3e=new br("SINGLE_EDGE_GRAPH_WRAPPER",27),IJ=new br("IN_LAYER_CONSTRAINT_PROCESSOR",28),Hve=new br("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",29),e3e=new br("LABEL_AND_NODE_SIZE_PROCESSOR",30),Zve=new br("INNERMOST_NODE_MARGIN_CALCULATOR",31),GJ=new br("SELF_LOOP_ROUTER",32),Pve=new br("COMMENT_NODE_MARGIN_CALCULATOR",33),OJ=new br("END_LABEL_PREPROCESSOR",34),LJ=new br("LABEL_DUMMY_SWITCHER",35),Lve=new br("CENTER_LABEL_MANAGEMENT_PROCESSOR",36),y7=new br("LABEL_SIDE_SELECTOR",37),Qve=new br("HYPEREDGE_DUMMY_MERGER",38),Xve=new br("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",39),n3e=new br("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",40),ox=new br("HIERARCHICAL_PORT_POSITION_PROCESSOR",41),Bve=new br("CONSTRAINTS_POSTPROCESSOR",42),$ve=new br("COMMENT_POSTPROCESSOR",43),Wve=new br("HYPERNODE_PROCESSOR",44),Kve=new br("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",45),PJ=new br("LONG_EDGE_JOINER",46),JJ=new br("SELF_LOOP_POSTPROCESSOR",47),_ve=new br("BREAKING_POINT_REMOVER",48),RJ=new br("NORTH_SOUTH_PORT_POSTPROCESSOR",49),Yve=new br("HORIZONTAL_COMPACTOR",50),_J=new br("LABEL_DUMMY_REMOVER",51),Gve=new br("FINAL_SPLINE_BENDPOINTS_CALCULATOR",52),Jve=new br("END_LABEL_SORTER",53),I4=new br("REVERSED_EDGE_RESTORER",54),TJ=new br("END_LABEL_POSTPROCESSOR",55),qve=new br("HIERARCHICAL_NODE_RESIZER",56),zve=new br("DIRECTION_POSTPROCESSOR",57)}function xBn(e,n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On,Dn,lt,Qt,Ui,Es,eu,jl,ay,o0,ia,id,ef,c6,kA,rd,Ta,s0,zg,Fg,u6,Jg,Hg,cd,ev,T7e,Op,jA,Vce,o6,EA,nv,SA,Yce,zhn;for(T7e=0,Qt=n,eu=0,o0=Qt.length;eu0&&(e.a[Ta.p]=T7e++)}for(EA=0,Ui=t,jl=0,ia=Ui.length;jl0;){for(Ta=(at(u6.b>0),u(u6.a.Xb(u6.c=--u6.b),12)),Fg=0,l=new P(Ta.e);l.a0&&(Ta.j==(Ie(),Vn)?(e.a[Ta.p]=EA,++EA):(e.a[Ta.p]=EA+id+c6,++c6))}EA+=c6}for(zg=new wt,A=new Hh,lt=n,Es=0,ay=lt.length;Esh.b&&(h.b=Jg)):Ta.i.c==ev&&(Jgh.c&&(h.c=Jg));for(X9(O,0,O.length,null),o6=le($t,ni,30,O.length,15,1),i=le($t,ni,30,EA+1,15,1),B=0;B0;)De%2>0&&(r+=Yce[De+1]),De=(De-1)/2|0,++Yce[De];for(cn=le(Con,Nn,370,O.length*2,0,1),ie=0;ie0&&XT(Es.f),ke(B,fG)!=null&&(!B.a&&(B.a=new pe(Ft,B,10,11)),!!B.a)&&(!B.a&&(B.a=new pe(Ft,B,10,11)),B.a).i>0?(l=u(ke(B,fG),521),Fg=l.Sg(B),jw(B,k.Math.max(B.g,Fg.a+id.b+id.c),k.Math.max(B.f,Fg.b+id.d+id.a))):(!B.a&&(B.a=new pe(Ft,B,10,11)),B.a).i!=0&&(Fg=new Ee(te(re(ke(B,Hm))),te(re(ke(B,Hm)))/te(re(ke(B,G7)))),jw(B,k.Math.max(B.g,Fg.a+id.b+id.c),k.Math.max(B.f,Fg.b+id.d+id.a)));if(ia=u(ke(n,f1),104),S=n.g-(ia.b+ia.c),y=n.f-(ia.d+ia.a),Hg.ah("Available Child Area: ("+S+"|"+y+")"),Ei(n,J7,S/y),BJe(n,r,i.dh(ay)),u(ke(n,W4),281)==mG&&(sZ(n),jw(n,ia.b+te(re(ke(n,Bm)))+ia.c,ia.d+te(re(ke(n,Rm)))+ia.a)),Hg.ah("Executed layout algorithm: "+Pt(ke(n,V4))+" on node "+n.k),u(ke(n,W4),281)==Um){if(S<0||y<0)throw R(new yd("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+n.k));for(ga(n,Bm)||ga(n,Rm)||sZ(n),O=te(re(ke(n,Bm))),A=te(re(ke(n,Rm))),Hg.ah("Desired Child Area: ("+O+"|"+A+")"),c6=S/O,kA=y/A,ef=k.Math.min(c6,k.Math.min(kA,te(re(ke(n,qfn))))),Ei(n,lG,ef),Hg.ah(n.k+" -- Local Scale Factor (X|Y): ("+c6+"|"+kA+")"),ie=u(ke(n,PI),22),c=0,o=0,ef'?":bn(kZe,e)?"'(?<' or '(? toIndex: ",Wge=", toIndex: ",Zge="Index: ",ewe=", Size: ",q8="org.eclipse.elk.alg.common",Yt={51:1},zYe="org.eclipse.elk.alg.common.compaction",FYe="Scanline/EventHandler",r1="org.eclipse.elk.alg.common.compaction.oned",JYe="CNode belongs to another CGroup.",HYe="ISpacingsHandler/1",UZ="The ",XZ=" instance has been finished already.",GYe="The direction ",qYe=" is not supported by the CGraph instance.",UYe="OneDimensionalCompactor",XYe="OneDimensionalCompactor/lambda$0$Type",KYe="Quadruplet",VYe="ScanlineConstraintCalculator",YYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler",QYe="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",WYe="ScanlineConstraintCalculator/Timestamp",ZYe="ScanlineConstraintCalculator/lambda$0$Type",Ah={178:1,48:1},SS="org.eclipse.elk.alg.common.networksimplex",va={171:1,3:1,4:1},eQe="org.eclipse.elk.alg.common.nodespacing",wg="org.eclipse.elk.alg.common.nodespacing.cellsystem",U8="CENTER",nQe={216:1,337:1},nwe={3:1,4:1,5:1,592:1},m4="LEFT",v4="RIGHT",twe="Vertical alignment cannot be null",iwe="BOTTOM",aF="org.eclipse.elk.alg.common.nodespacing.internal",xS="UNDEFINED",Xa=.01,xN="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",tQe="LabelPlacer/lambda$0$Type",iQe="LabelPlacer/lambda$1$Type",rQe="portRatioOrPosition",X8="org.eclipse.elk.alg.common.overlaps",KZ="DOWN",y4="org.eclipse.elk.alg.common.spore",lm={3:1,4:1,5:1,198:1},cQe={3:1,6:1,4:1,5:1,90:1,110:1},VZ="org.eclipse.elk.alg.force",rwe="ComponentsProcessor",uQe="ComponentsProcessor/1",cwe="ElkGraphImporter/lambda$0$Type",ip={214:1},E3="org.eclipse.elk.core",AN="org.eclipse.elk.graph.properties",oQe="IPropertyHolder",MN="org.eclipse.elk.alg.force.graph",sQe="Component Layout",uwe="org.eclipse.elk.alg.force.model",yu="org.eclipse.elk.core.data",hF="org.eclipse.elk.force.model",owe="org.eclipse.elk.force.iterations",swe="org.eclipse.elk.force.repulsivePower",YZ="org.eclipse.elk.force.temperature",Mh=.001,QZ="org.eclipse.elk.force.repulsion",Ka={148:1},AS="org.eclipse.elk.alg.force.options",K8=1.600000023841858,$o="org.eclipse.elk.force",CN="org.eclipse.elk.priority",fm="org.eclipse.elk.spacing.nodeNode",WZ="org.eclipse.elk.spacing.edgeLabel",V8="org.eclipse.elk.aspectRatio",dF="org.eclipse.elk.randomSeed",MS="org.eclipse.elk.separateConnectedComponents",am="org.eclipse.elk.padding",CS="org.eclipse.elk.interactive",ZZ="org.eclipse.elk.portConstraints",bF="org.eclipse.elk.edgeLabels.inline",TS="org.eclipse.elk.omitNodeMicroLayout",Y8="org.eclipse.elk.nodeSize.fixedGraphSize",k4="org.eclipse.elk.nodeSize.options",S3="org.eclipse.elk.nodeSize.constraints",Q8="org.eclipse.elk.nodeLabels.placement",W8="org.eclipse.elk.portLabels.placement",TN="org.eclipse.elk.topdownLayout",ON="org.eclipse.elk.topdown.scaleFactor",NN="org.eclipse.elk.topdown.hierarchicalNodeWidth",IN="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",rp="org.eclipse.elk.topdown.nodeType",lwe="origin",lQe="random",fQe="boundingBox.upLeft",aQe="boundingBox.lowRight",fwe="org.eclipse.elk.stress.fixed",awe="org.eclipse.elk.stress.desiredEdgeLength",hwe="org.eclipse.elk.stress.dimension",dwe="org.eclipse.elk.stress.epsilon",bwe="org.eclipse.elk.stress.iterationLimit",eb="org.eclipse.elk.stress",hQe="ELK Stress",j4="org.eclipse.elk.nodeSize.minimum",gF="org.eclipse.elk.alg.force.stress",dQe="Layered layout",E4="org.eclipse.elk.alg.layered",DN="org.eclipse.elk.alg.layered.compaction.components",OS="org.eclipse.elk.alg.layered.compaction.oned",wF="org.eclipse.elk.alg.layered.compaction.oned.algs",pg="org.eclipse.elk.alg.layered.compaction.recthull",Va="org.eclipse.elk.alg.layered.components",ya="NONE",eee="MODEL_ORDER",qu={3:1,6:1,4:1,10:1,5:1,126:1},bQe={3:1,6:1,4:1,5:1,135:1,90:1,110:1},pF="org.eclipse.elk.alg.layered.compound",Mi={43:1},Zu="org.eclipse.elk.alg.layered.graph",nee=" -> ",gQe="Not supported by LGraph",gwe="Port side is undefined",Z8={3:1,6:1,4:1,5:1,323:1,135:1,90:1,110:1},Hd={3:1,6:1,4:1,5:1,135:1,199:1,209:1,90:1,110:1},wQe={3:1,6:1,4:1,5:1,135:1,2004:1,209:1,90:1,110:1},pQe=`([{"' \r `,mQe=`)]}"' \r -`,vQe="The given string contains parts that cannot be parsed as numbers.",_N="org.eclipse.elk.core.math",yQe={3:1,4:1,140:1,213:1,414:1},kQe={3:1,4:1,104:1,213:1,414:1},Gd="org.eclipse.elk.alg.layered.graph.transform",jQe="ElkGraphImporter",EQe="ElkGraphImporter/lambda$1$Type",SQe="ElkGraphImporter/lambda$2$Type",xQe="ElkGraphImporter/lambda$4$Type",Zn="org.eclipse.elk.alg.layered.intermediate",AQe="Node margin calculation",MQe="ONE_SIDED_GREEDY_SWITCH",CQe="TWO_SIDED_GREEDY_SWITCH",tee="No implementation is available for the layout processor ",iee="IntermediateProcessorStrategy",ree="Node '",TQe="FIRST_SEPARATE",OQe="LAST_SEPARATE",NQe="Odd port side processing",lr="org.eclipse.elk.alg.layered.intermediate.compaction",TS="org.eclipse.elk.alg.layered.intermediate.greedyswitch",c1="org.eclipse.elk.alg.layered.p3order.counting",OS={220:1},S4="org.eclipse.elk.alg.layered.intermediate.loops",gl="org.eclipse.elk.alg.layered.intermediate.loops.ordering",nb="org.eclipse.elk.alg.layered.intermediate.loops.routing",pF="org.eclipse.elk.alg.layered.intermediate.preserveorder",Ch="org.eclipse.elk.alg.layered.intermediate.wrapping",Tu="org.eclipse.elk.alg.layered.options",cee="INTERACTIVE",wwe="GREEDY",IQe="DEPTH_FIRST",DQe="EDGE_LENGTH",_Qe="SELF_LOOPS",LQe="firstTryWithInitialOrder",pwe="org.eclipse.elk.layered.directionCongruency",mwe="org.eclipse.elk.layered.feedbackEdges",mF="org.eclipse.elk.layered.interactiveReferencePoint",vwe="org.eclipse.elk.layered.mergeEdges",ywe="org.eclipse.elk.layered.mergeHierarchyEdges",kwe="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",jwe="org.eclipse.elk.layered.portSortingStrategy",Ewe="org.eclipse.elk.layered.thoroughness",Swe="org.eclipse.elk.layered.unnecessaryBendpoints",xwe="org.eclipse.elk.layered.generatePositionAndLayerIds",LN="org.eclipse.elk.layered.cycleBreaking.strategy",PN="org.eclipse.elk.layered.layering.strategy",Awe="org.eclipse.elk.layered.layering.layerConstraint",Mwe="org.eclipse.elk.layered.layering.layerChoiceConstraint",Cwe="org.eclipse.elk.layered.layering.layerId",uee="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",oee="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",see="org.eclipse.elk.layered.layering.nodePromotion.strategy",lee="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",fee="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",NS="org.eclipse.elk.layered.crossingMinimization.strategy",Twe="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",aee="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",hee="org.eclipse.elk.layered.crossingMinimization.semiInteractive",Owe="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",Nwe="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",Iwe="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",Dwe="org.eclipse.elk.layered.crossingMinimization.positionId",_we="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",dee="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",vF="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",x3="org.eclipse.elk.layered.nodePlacement.strategy",yF="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",bee="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",gee="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",wee="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",pee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",mee="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",Lwe="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",Pwe="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",kF="org.eclipse.elk.layered.edgeRouting.splines.mode",jF="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",vee="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",$we="org.eclipse.elk.layered.spacing.baseValue",Rwe="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",Bwe="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",zwe="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",Fwe="org.eclipse.elk.layered.priority.direction",Jwe="org.eclipse.elk.layered.priority.shortness",Hwe="org.eclipse.elk.layered.priority.straightness",yee="org.eclipse.elk.layered.compaction.connectedComponents",Gwe="org.eclipse.elk.layered.compaction.postCompaction.strategy",qwe="org.eclipse.elk.layered.compaction.postCompaction.constraints",EF="org.eclipse.elk.layered.highDegreeNodes.treatment",kee="org.eclipse.elk.layered.highDegreeNodes.threshold",jee="org.eclipse.elk.layered.highDegreeNodes.treeHeight",X1="org.eclipse.elk.layered.wrapping.strategy",SF="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",xF="org.eclipse.elk.layered.wrapping.correctionFactor",IS="org.eclipse.elk.layered.wrapping.cutting.strategy",Eee="org.eclipse.elk.layered.wrapping.cutting.cuts",See="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",AF="org.eclipse.elk.layered.wrapping.validify.strategy",MF="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",CF="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",TF="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",xee="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",Aee="org.eclipse.elk.layered.layerUnzipping.strategy",Mee="org.eclipse.elk.layered.layerUnzipping.minimizeEdgeLength",Cee="org.eclipse.elk.layered.layerUnzipping.layerSplit",Tee="org.eclipse.elk.layered.layerUnzipping.resetOnLongEdges",Uwe="org.eclipse.elk.layered.edgeLabels.sideSelection",Xwe="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",OF="org.eclipse.elk.layered.considerModelOrder.strategy",Kwe="org.eclipse.elk.layered.considerModelOrder.portModelOrder",$N="org.eclipse.elk.layered.considerModelOrder.noModelOrder",Oee="org.eclipse.elk.layered.considerModelOrder.components",Vwe="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",Nee="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",Iee="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",Dee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cycleBreakingId",_ee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.crossingMinimizationId",Lee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.componentGroupId",Ywe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbGroupOrderStrategy",Pee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredSourceId",$ee="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cbPreferredTargetId",Qwe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmGroupOrderStrategy",Wwe="org.eclipse.elk.layered.considerModelOrder.groupModelOrder.cmEnforcedGroupOrders",Ree="layering",PQe="layering.minWidth",$Qe="layering.nodePromotion",e7="crossingMinimization",NF="org.eclipse.elk.hierarchyHandling",RQe="crossingMinimization.greedySwitch",BQe="nodePlacement",zQe="nodePlacement.bk",FQe="edgeRouting",RN="org.eclipse.elk.edgeRouting",Ya="spacing",Zwe="priority",epe="compaction",JQe="compaction.postCompaction",HQe="Specifies whether and how post-process compaction is applied.",npe="highDegreeNodes",tpe="wrapping",GQe="wrapping.cutting",qQe="wrapping.validify",ipe="wrapping.multiEdge",Bee="layerUnzipping",zee="edgeLabels",DS="considerModelOrder",n7="considerModelOrder.groupModelOrder",rpe="Group ID of the Node Type",cpe="org.eclipse.elk.spacing.commentComment",upe="org.eclipse.elk.spacing.commentNode",ope="org.eclipse.elk.spacing.componentComponent",spe="org.eclipse.elk.spacing.edgeEdge",Fee="org.eclipse.elk.spacing.edgeNode",lpe="org.eclipse.elk.spacing.labelLabel",fpe="org.eclipse.elk.spacing.labelPortHorizontal",ape="org.eclipse.elk.spacing.labelPortVertical",hpe="org.eclipse.elk.spacing.labelNode",dpe="org.eclipse.elk.spacing.nodeSelfLoop",bpe="org.eclipse.elk.spacing.portPort",gpe="org.eclipse.elk.spacing.individual",wpe="org.eclipse.elk.port.borderOffset",ppe="org.eclipse.elk.noLayout",mpe="org.eclipse.elk.port.side",BN="org.eclipse.elk.debugMode",vpe="org.eclipse.elk.alignment",ype="org.eclipse.elk.insideSelfLoops.activate",kpe="org.eclipse.elk.insideSelfLoops.yo",Jee="org.eclipse.elk.direction",jpe="org.eclipse.elk.nodeLabels.padding",Epe="org.eclipse.elk.portLabels.nextToPortIfPossible",Spe="org.eclipse.elk.portLabels.treatAsGroup",xpe="org.eclipse.elk.portAlignment.default",Ape="org.eclipse.elk.portAlignment.north",Mpe="org.eclipse.elk.portAlignment.south",Cpe="org.eclipse.elk.portAlignment.west",Tpe="org.eclipse.elk.portAlignment.east",IF="org.eclipse.elk.contentAlignment",Ope="org.eclipse.elk.junctionPoints",Npe="org.eclipse.elk.edge.thickness",Ipe="org.eclipse.elk.edgeLabels.placement",Dpe="org.eclipse.elk.port.index",_pe="org.eclipse.elk.commentBox",Lpe="org.eclipse.elk.hypernode",Ppe="org.eclipse.elk.port.anchor",Hee="org.eclipse.elk.partitioning.activate",Gee="org.eclipse.elk.partitioning.partition",DF="org.eclipse.elk.position",$pe="org.eclipse.elk.margins",Rpe="org.eclipse.elk.spacing.portsSurrounding",_F="org.eclipse.elk.interactiveLayout",$u="org.eclipse.elk.core.util",Bpe={3:1,4:1,5:1,590:1},UQe="NETWORK_SIMPLEX",zpe="SIMPLE",oc={95:1,43:1},cp="org.eclipse.elk.alg.layered.p1cycles",XQe="Depth-first cycle removal",KQe="Model order cycle breaking",K1="org.eclipse.elk.alg.layered.p2layers",Fpe={406:1,220:1},VQe={830:1,3:1,4:1},Ro="org.eclipse.elk.alg.layered.p3order",A3=17976931348623157e292,qee=5e-324,Lc="org.eclipse.elk.alg.layered.p4nodes",YQe={3:1,4:1,5:1,838:1},Th=1e-5,tb="org.eclipse.elk.alg.layered.p4nodes.bk",Uee="org.eclipse.elk.alg.layered.p5edges",ka="org.eclipse.elk.alg.layered.p5edges.orthogonal",Xee="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",Kee=1e-6,hm="org.eclipse.elk.alg.layered.p5edges.splines",Vee=.09999999999999998,LF=1e-8,QQe=4.71238898038469,WQe=1.5707963267948966,Jpe=3.141592653589793,V1="org.eclipse.elk.alg.mrtree",Yee=.10000000149011612,PF="SUPER_ROOT",_S="org.eclipse.elk.alg.mrtree.graph",Hpe=-17976931348623157e292,go="org.eclipse.elk.alg.mrtree.intermediate",ZQe="Processor compute fanout",$F={3:1,6:1,4:1,5:1,522:1,90:1,110:1},eWe="Set neighbors in level",zN="org.eclipse.elk.alg.mrtree.options",nWe="DESCENDANTS",Gpe="org.eclipse.elk.mrtree.compaction",qpe="org.eclipse.elk.mrtree.edgeEndTextureLength",Upe="org.eclipse.elk.mrtree.treeLevel",Xpe="org.eclipse.elk.mrtree.positionConstraint",Kpe="org.eclipse.elk.mrtree.weighting",Vpe="org.eclipse.elk.mrtree.edgeRoutingMode",Ype="org.eclipse.elk.mrtree.searchOrder",tWe="Position Constraint",Bo="org.eclipse.elk.mrtree",iWe="org.eclipse.elk.tree",rWe="Processor arrange level",t7="org.eclipse.elk.alg.mrtree.p2order",Qs="org.eclipse.elk.alg.mrtree.p4route",Qpe="org.eclipse.elk.alg.radial",mg=6.283185307179586,Wpe="Before",RF="After",Zpe="org.eclipse.elk.alg.radial.intermediate",cWe="COMPACTION",Qee="org.eclipse.elk.alg.radial.intermediate.compaction",uWe={3:1,4:1,5:1,90:1},e2e="org.eclipse.elk.alg.radial.intermediate.optimization",Wee="No implementation is available for the layout option ",LS="org.eclipse.elk.alg.radial.options",oWe="CompactionStrategy",n2e="org.eclipse.elk.radial.centerOnRoot",t2e="org.eclipse.elk.radial.orderId",i2e="org.eclipse.elk.radial.radius",BF="org.eclipse.elk.radial.rotate",Zee="org.eclipse.elk.radial.compactor",ene="org.eclipse.elk.radial.compactionStepSize",r2e="org.eclipse.elk.radial.sorter",c2e="org.eclipse.elk.radial.wedgeCriteria",u2e="org.eclipse.elk.radial.optimizationCriteria",nne="org.eclipse.elk.radial.rotation.targetAngle",tne="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",o2e="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",sWe="Compaction",s2e="rotation",ql="org.eclipse.elk.radial",lWe="org.eclipse.elk.alg.radial.p1position.wedge",l2e="org.eclipse.elk.alg.radial.sorting",fWe=5.497787143782138,aWe=3.9269908169872414,hWe=2.356194490192345,dWe="org.eclipse.elk.alg.rectpacking",PS="org.eclipse.elk.alg.rectpacking.intermediate",ine="org.eclipse.elk.alg.rectpacking.options",f2e="org.eclipse.elk.rectpacking.trybox",a2e="org.eclipse.elk.rectpacking.currentPosition",h2e="org.eclipse.elk.rectpacking.desiredPosition",d2e="org.eclipse.elk.rectpacking.inNewRow",b2e="org.eclipse.elk.rectpacking.orderBySize",g2e="org.eclipse.elk.rectpacking.widthApproximation.strategy",w2e="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",p2e="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",m2e="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",v2e="org.eclipse.elk.rectpacking.packing.strategy",y2e="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",k2e="org.eclipse.elk.rectpacking.packing.compaction.iterations",j2e="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",rne="widthApproximation",bWe="Compaction Strategy",gWe="packing.compaction",ms="org.eclipse.elk.rectpacking",i7="org.eclipse.elk.alg.rectpacking.p1widthapproximation",zF="org.eclipse.elk.alg.rectpacking.p2packing",wWe="No Compaction",E2e="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",FN="org.eclipse.elk.alg.rectpacking.util",FF="No implementation available for ",dm="org.eclipse.elk.alg.spore",bm="org.eclipse.elk.alg.spore.options",up="org.eclipse.elk.sporeCompaction",cne="org.eclipse.elk.underlyingLayoutAlgorithm",S2e="org.eclipse.elk.processingOrder.treeConstruction",x2e="org.eclipse.elk.processingOrder.spanningTreeCostFunction",une="org.eclipse.elk.processingOrder.preferredRoot",one="org.eclipse.elk.processingOrder.rootSelection",sne="org.eclipse.elk.structure.structureExtractionStrategy",A2e="org.eclipse.elk.compaction.compactionStrategy",M2e="org.eclipse.elk.compaction.orthogonal",C2e="org.eclipse.elk.overlapRemoval.maxIterations",T2e="org.eclipse.elk.overlapRemoval.runScanline",lne="processingOrder",pWe="overlapRemoval",r7="org.eclipse.elk.sporeOverlap",mWe="org.eclipse.elk.alg.spore.p1structure",fne="org.eclipse.elk.alg.spore.p2processingorder",ane="org.eclipse.elk.alg.spore.p3execution",vWe="Topdown Layout",yWe="Invalid index: ",c7="org.eclipse.elk.core.alg",M3={342:1},gm={296:1},kWe="Make sure its type is registered with the ",O2e=" utility class.",u7="true",hne="false",jWe="Couldn't clone property '",op=.05,Oo="org.eclipse.elk.core.options",EWe=1.2999999523162842,sp="org.eclipse.elk.box",N2e="org.eclipse.elk.expandNodes",I2e="org.eclipse.elk.box.packingMode",SWe="org.eclipse.elk.algorithm",xWe="org.eclipse.elk.resolvedAlgorithm",D2e="org.eclipse.elk.bendPoints",TBn="org.eclipse.elk.labelManager",AWe="org.eclipse.elk.softwrappingFuzziness",MWe="org.eclipse.elk.scaleFactor",CWe="org.eclipse.elk.childAreaWidth",TWe="org.eclipse.elk.childAreaHeight",OWe="org.eclipse.elk.animate",NWe="org.eclipse.elk.animTimeFactor",IWe="org.eclipse.elk.layoutAncestors",DWe="org.eclipse.elk.maxAnimTime",_We="org.eclipse.elk.minAnimTime",LWe="org.eclipse.elk.progressBar",PWe="org.eclipse.elk.validateGraph",$We="org.eclipse.elk.validateOptions",RWe="org.eclipse.elk.zoomToFit",BWe="org.eclipse.elk.json.shapeCoords",zWe="org.eclipse.elk.json.edgeCoords",OBn="org.eclipse.elk.font.name",FWe="org.eclipse.elk.font.size",dne="org.eclipse.elk.topdown.sizeCategories",_2e="org.eclipse.elk.topdown.sizeCategoriesHierarchicalNodeWeight",bne="org.eclipse.elk.topdown.sizeApproximator",L2e="org.eclipse.elk.topdown.scaleCap",JWe="org.eclipse.elk.edge.type",HWe="partitioning",GWe="nodeLabels",JF="portAlignment",gne="nodeSize",wne="port",P2e="portLabels",o7="topdown",qWe="insideSelfLoops",$2e="INHERIT",s7="org.eclipse.elk.fixed",HF="org.eclipse.elk.random",GF={3:1,35:1,23:1,521:1,288:1},UWe="port must have a parent node to calculate the port side",XWe="The edge needs to have exactly one edge section. Found: ",$S="org.eclipse.elk.core.util.adapters",Ul="org.eclipse.emf.ecore",C3="org.eclipse.elk.graph",KWe="EMapPropertyHolder",VWe="ElkBendPoint",YWe="ElkGraphElement",QWe="ElkConnectableShape",R2e="ElkEdge",WWe="ElkEdgeSection",ZWe="EModelElement",eZe="ENamedElement",B2e="ElkLabel",z2e="ElkNode",F2e="ElkPort",nZe={94:1,93:1},x4="org.eclipse.emf.common.notify.impl",ib="The feature '",RS="' is not a valid changeable feature",tZe="Expecting null",pne="' is not a valid feature",iZe="The feature ID",rZe=" is not a valid feature ID",Ru=32768,cZe={109:1,94:1,93:1,57:1,52:1,100:1},Jn="org.eclipse.emf.ecore.impl",vg="org.eclipse.elk.graph.impl",BS="Recursive containment not allowed for ",l7="The datatype '",lp="' is not a valid classifier",mne="The value '",T3={195:1,3:1,4:1},vne="The class '",f7="http://www.eclipse.org/elk/ElkGraph",J2e="property",zS="value",yne="source",uZe="properties",oZe="identifier",kne="height",jne="width",Ene="parent",Sne="text",xne="children",sZe="hierarchical",H2e="sources",Ane="targets",Mne="sections",qF="bendPoints",G2e="outgoingShape",q2e="incomingShape",U2e="outgoingSections",X2e="incomingSections",yc="org.eclipse.emf.common.util",K2e="Severe implementation error in the Json to ElkGraph importer.",Oh="id",Wr="org.eclipse.elk.graph.json",a7="Unhandled parameter types: ",lZe="startPoint",fZe="An edge must have at least one source and one target (edge id: '",h7="').",aZe="Referenced edge section does not exist: ",hZe=" (edge id: '",V2e="target",dZe="sourcePoint",bZe="targetPoint",UF="group",ui="name",gZe="connectableShape cannot be null",wZe="edge cannot be null",pZe="Passed edge is not 'simple'.",XF="org.eclipse.elk.graph.util",JN="The 'no duplicates' constraint is violated",Cne="targetIndex=",yg=", size=",Tne="sourceIndex=",Nh={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1},One={3:1,4:1,20:1,31:1,56:1,18:1,50:1,16:1,59:1,71:1,67:1,61:1,585:1},KF="logging",mZe="measureExecutionTime",vZe="parser.parse.1",yZe="parser.parse.2",VF="parser.next.1",Nne="parser.next.2",kZe="parser.next.3",jZe="parser.next.4",kg="parser.factor.1",Y2e="parser.factor.2",EZe="parser.factor.3",SZe="parser.factor.4",xZe="parser.factor.5",AZe="parser.factor.6",MZe="parser.atom.1",CZe="parser.atom.2",TZe="parser.atom.3",Q2e="parser.atom.4",Ine="parser.atom.5",W2e="parser.cc.1",YF="parser.cc.2",OZe="parser.cc.3",NZe="parser.cc.5",Z2e="parser.cc.6",eme="parser.cc.7",Dne="parser.cc.8",IZe="parser.ope.1",DZe="parser.ope.2",_Ze="parser.ope.3",qd="parser.descape.1",LZe="parser.descape.2",PZe="parser.descape.3",$Ze="parser.descape.4",RZe="parser.descape.5",Xl="parser.process.1",BZe="parser.quantifier.1",zZe="parser.quantifier.2",FZe="parser.quantifier.3",JZe="parser.quantifier.4",nme="parser.quantifier.5",HZe="org.eclipse.emf.common.notify",tme={415:1,676:1},GZe={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1},HN={373:1,151:1},FS="index=",_ne={3:1,4:1,5:1,129:1},qZe={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,61:1},ime={3:1,6:1,4:1,5:1,198:1},UZe={3:1,4:1,5:1,175:1,374:1},qf=1024,XZe=";/?:@&=+$,",KZe="invalid authority: ",VZe="EAnnotation",YZe="ETypedElement",QZe="EStructuralFeature",WZe="EAttribute",ZZe="EClassifier",een="EEnumLiteral",nen="EGenericType",ten="EOperation",ien="EParameter",ren="EReference",cen="ETypeParameter",Ri="org.eclipse.emf.ecore.util",Lne={77:1},rme={3:1,20:1,18:1,16:1,61:1,586:1,77:1,72:1,98:1},uen="org.eclipse.emf.ecore.util.FeatureMap$Entry",as=8192,JS="byte",QF="char",HS="double",GS="float",qS="int",US="long",XS="short",oen="java.lang.Object",O3={3:1,4:1,5:1,255:1},cme={3:1,4:1,5:1,678:1},sen={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,72:1},au={3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,72:1,98:1},GN="mixed",Ut="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",hf="kind",len={3:1,4:1,5:1,679:1},ume={3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,77:1,72:1,98:1},WF={20:1,31:1,56:1,18:1,16:1,61:1,72:1},ZF={50:1,128:1,287:1},eJ={75:1,344:1},nJ="The value of type '",tJ="' must be of type '",N3=1306,df="http://www.eclipse.org/emf/2002/Ecore",iJ=-32768,fp="constraints",sc="baseType",fen="getEStructuralFeature",aen="getFeatureID",KS="feature",hen="getOperationID",ome="operation",den="defaultValue",ben="eTypeParameters",gen="isInstance",wen="getEEnumLiteral",pen="eContainingClass",ii={58:1},men={3:1,4:1,5:1,122:1},ven="org.eclipse.emf.ecore.resource",yen={94:1,93:1,588:1,1996:1},Pne="org.eclipse.emf.ecore.resource.impl",sme="unspecified",qN="simple",rJ="attribute",ken="attributeWildcard",cJ="element",$ne="elementWildcard",ja="collapse",Rne="itemType",uJ="namespace",UN="##targetNamespace",bf="whiteSpace",lme="wildcards",jg="http://www.eclipse.org/emf/2003/XMLType",Bne="##any",d7="uninitialized",XN="The multiplicity constraint is violated",oJ="org.eclipse.emf.ecore.xml.type",jen="ProcessingInstruction",Een="SimpleAnyType",Sen="XMLTypeDocumentRoot",kr="org.eclipse.emf.ecore.xml.type.impl",KN="INF",xen="processing",Aen="ENTITIES_._base",fme="minLength",ame="ENTITY",sJ="NCName",Men="IDREFS_._base",hme="integer",zne="token",Fne="pattern",Cen="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",dme="\\i\\c*",Ten="[\\i-[:]][\\c-[:]]*",Oen="nonPositiveInteger",VN="maxInclusive",bme="NMTOKEN",Nen="NMTOKENS_._base",gme="nonNegativeInteger",YN="minInclusive",Ien="normalizedString",Den="unsignedByte",_en="unsignedInt",Len="18446744073709551615",Pen="unsignedShort",$en="processingInstruction",Ud="org.eclipse.emf.ecore.xml.type.internal",b7=1114111,Ren="Internal Error: shorthands: \\u",VS="xml:isDigit",Jne="xml:isWord",Hne="xml:isSpace",Gne="xml:isNameChar",qne="xml:isInitialNameChar",Ben="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",zen="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",Fen="Private Use",Une="ASSIGNED",Xne="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",wme="UNASSIGNED",g7={3:1,121:1},Jen="org.eclipse.emf.ecore.xml.type.util",lJ={3:1,4:1,5:1,376:1},pme="org.eclipse.xtext.xbase.lib",Hen="Cannot add elements to a Range",Gen="Cannot set elements in a Range",qen="Cannot remove elements from a Range",Uen="user.agent",s,fJ,Kne;k.goog=k.goog||{},k.goog.global=k.goog.global||k,fJ={},m(1,null,{},q),s.Fb=function(n){return kTe(this,n)},s.Gb=function(){return this.Pm},s.Hb=function(){return xw(this)},s.Ib=function(){var n;return Bb(Us(this))+"@"+(n=Ni(this)>>>0,n.toString(16))},s.equals=function(e){return this.Fb(e)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()};var Xen,Ken,Ven;m(298,1,{298:1,2086:1},p1e),s.te=function(n){var t;return t=new p1e,t.i=4,n>1?t.c=Y_e(this,n-1):t.c=this,t},s.ue=function(){return T1(this),this.b},s.ve=function(){return Bb(this)},s.we=function(){return T1(this),this.k},s.xe=function(){return(this.i&4)!=0},s.ye=function(){return(this.i&1)!=0},s.Ib=function(){return Mhe(this)},s.i=0;var Mr=v(Cu,"Object",1),mme=v(Cu,"Class",298);m(2058,1,bN),v(gN,"Optional",2058),m(1160,2058,bN,G),s.Fb=function(n){return n===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(n){return Ot(n),jj(),Vne};var Vne;v(gN,"Absent",1160),m(627,1,{},IX),v(gN,"Joiner",627);var NBn=Gi(gN,"Predicate");m(577,1,{178:1,577:1,3:1,48:1},PC),s.Mb=function(n){return Vze(this,n)},s.Lb=function(n){return Vze(this,n)},s.Fb=function(n){var t;return X(n,577)?(t=u(n,577),dbe(this.a,t.a)):!1},s.Hb=function(){return j1e(this.a)+306654252},s.Ib=function(){return NCn(this.a)},v(gN,"Predicates/AndPredicate",577),m(411,2058,{411:1,3:1},i9),s.Fb=function(n){var t;return X(n,411)?(t=u(n,411),gi(this.a,t.a)):!1},s.Hb=function(){return 1502476572+Ni(this.a)},s.Ib=function(){return gYe+this.a+")"},s.Jb=function(n){return new i9(DR(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},v(gN,"Present",411),m(204,1,R8),s.Nb=function(n){Zr(this,n)},s.Qb=function(){aAe()},v(dn,"UnmodifiableIterator",204),m(2038,204,B8),s.Qb=function(){aAe()},s.Rb=function(n){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(dn,"UnmodifiableListIterator",2038),m(392,2038,B8),s.Ob=function(){return this.b0},s.Pb=function(){if(this.b>=this.c)throw R(new hu);return this.Xb(this.b++)},s.Tb=function(){return this.b},s.Ub=function(){if(this.b<=0)throw R(new hu);return this.Xb(--this.b)},s.Vb=function(){return this.b-1},s.b=0,s.c=0,v(dn,"AbstractIndexedListIterator",392),m(702,204,R8),s.Ob=function(){return PY(this)},s.Pb=function(){return khe(this)},s.e=1,v(dn,"AbstractIterator",702),m(2046,1,{229:1}),s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.Fb=function(n){return rQ(this,n)},s.Hb=function(){return Ni(this.Zb())},s.dc=function(){return this.gc()==0},s.ec=function(){return Dy(this)},s.Ib=function(){return fu(this.Zb())},v(dn,"AbstractMultimap",2046),m(730,2046,bg),s.$b=function(){jB(this)},s._b=function(n){return CAe(this,n)},s.ac=function(){return new y9(this,this.c)},s.ic=function(n){return this.hc()},s.bc=function(){return new Uv(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new Yxe(this)},s.lc=function(){return aW(this.c.vc().Lc(),new Z,64,this.d)},s.cc=function(n){return vi(this,n)},s.fc=function(n){return TO(this,n)},s.gc=function(){return this.d},s.mc=function(n){return En(),new Hr(n)},s.nc=function(){return new Vxe(this)},s.oc=function(){return aW(this.c.Bc().Lc(),new ie,64,this.d)},s.pc=function(n,t){return new iB(this,n,t,null)},s.d=0,v(dn,"AbstractMapBasedMultimap",730),m(1661,730,bg),s.hc=function(){return new xo(this.a)},s.jc=function(){return En(),En(),Sc},s.cc=function(n){return u(vi(this,n),16)},s.fc=function(n){return u(TO(this,n),16)},s.Zb=function(){return By(this)},s.Fb=function(n){return rQ(this,n)},s.qc=function(n){return u(vi(this,n),16)},s.rc=function(n){return u(TO(this,n),16)},s.mc=function(n){return _R(u(n,16))},s.pc=function(n,t){return cPe(this,n,u(t,16),null)},v(dn,"AbstractListMultimap",1661),m(736,1,Fr),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var n;return this.e.Ob()||(n=u(this.c.Pb(),45),this.b=n.jd(),this.a=u(n.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),u(of(this.a),18).dc()&&this.c.Qb(),--this.d.d},v(dn,"AbstractMapBasedMultimap/Itr",736),m(1098,736,Fr,Vxe),s.sc=function(n,t){return t},v(dn,"AbstractMapBasedMultimap/1",1098),m(1099,1,{},ie),s.Kb=function(n){return u(n,18).Lc()},v(dn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1099),m(1100,736,Fr,Yxe),s.sc=function(n,t){return new yw(n,t)},v(dn,"AbstractMapBasedMultimap/2",1100);var vme=Gi(pt,"Map");m(2027,1,np),s.wc=function(n){vO(this,n)},s.$b=function(){this.vc().$b()},s.tc=function(n){return XQ(this,n)},s._b=function(n){return!!a0e(this,n,!1)},s.uc=function(n){var t,i,r;for(i=this.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),r=t.kd(),ue(n)===ue(r)||n!=null&&gi(n,r))return!0;return!1},s.Fb=function(n){var t,i,r;if(n===this)return!0;if(!X(n,92)||(r=u(n,92),this.gc()!=r.gc()))return!1;for(i=r.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),!this.tc(t))return!1;return!0},s.xc=function(n){return bu(a0e(this,n,!1))},s.Hb=function(){return d1e(this.vc())},s.dc=function(){return this.gc()==0},s.ec=function(){return new it(this)},s.yc=function(n,t){throw R(new vd("Put not supported on this map"))},s.zc=function(n){TE(this,n)},s.Ac=function(n){return bu(a0e(this,n,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return bGe(this)},s.Bc=function(){return new ot(this)},v(pt,"AbstractMap",2027),m(2047,2027,np),s.bc=function(){return new ZP(this)},s.vc=function(){return XIe(this)},s.ec=function(){var n;return n=this.g,n||(this.g=this.bc())},s.Bc=function(){var n;return n=this.i,n||(this.i=new vMe(this))},v(dn,"Maps/ViewCachingAbstractMap",2047),m(395,2047,np,y9),s.xc=function(n){return M8n(this,n)},s.Ac=function(n){return Rkn(this,n)},s.$b=function(){this.d==this.e.c?this.e.$b():fR(new jfe(this))},s._b=function(n){return MFe(this.d,n)},s.Dc=function(){return new pP(this)},s.Cc=function(){return this.Dc()},s.Fb=function(n){return this===n||gi(this.d,n)},s.Hb=function(){return Ni(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return fu(this.d)},v(dn,"AbstractMapBasedMultimap/AsMap",395);var Kl=Gi(Cu,"Iterable");m(31,1,um),s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new pn(null,this.Lc())},s.Ec=function(n){throw R(new vd("Add not supported on this collection"))},s.Fc=function(n){return ac(this,n)},s.$b=function(){uae(this)},s.Gc=function(n){return U2(this,n,!1)},s.Hc=function(n){return xO(this,n)},s.dc=function(){return this.gc()==0},s.Kc=function(n){return U2(this,n,!0)},s.Nc=function(){return Ife(this)},s.Oc=function(n){return KE(this,n)},s.Ib=function(){return Ga(this)},v(pt,"AbstractCollection",31);var gf=Gi(pt,"Set");m(Ua,31,fs),s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return TJe(this,n)},s.Hb=function(){return d1e(this)},v(pt,"AbstractSet",Ua),m(2030,Ua,fs),v(dn,"Sets/ImprovedAbstractSet",2030),m(2031,2030,fs),s.$b=function(){this.Pc().$b()},s.Gc=function(n){return fJe(this,n)},s.dc=function(){return this.Pc().dc()},s.Kc=function(n){var t;return this.Gc(n)&&X(n,45)?(t=u(n,45),this.Pc().ec().Kc(t.jd())):!1},s.gc=function(){return this.Pc().gc()},v(dn,"Maps/EntrySet",2031),m(1096,2031,fs,pP),s.Gc=function(n){return B1e(this.a.d.vc(),n)},s.Jc=function(){return new jfe(this.a)},s.Pc=function(){return this.a},s.Kc=function(n){var t;return B1e(this.a.d.vc(),n)?(t=u(of(u(n,45)),45),a9n(this.a.e,t.jd()),!0):!1},s.Lc=function(){return PT(this.a.d.vc().Lc(),new mP(this.a))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1096),m(1097,1,{},mP),s.Kb=function(n){return JPe(this.a,u(n,45))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1097),m(734,1,Fr,jfe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){var n;return n=u(this.b.Pb(),45),this.a=u(n.kd(),18),JPe(this.c,n)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){O9(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",734),m(530,2030,fs,ZP),s.$b=function(){this.b.$b()},s.Gc=function(n){return this.b._b(n)},s.Ic=function(n){Ot(n),this.b.wc(new lj(n))},s.dc=function(){return this.b.dc()},s.Jc=function(){return new Ej(this.b.vc().Jc())},s.Kc=function(n){return this.b._b(n)?(this.b.Ac(n),!0):!1},s.gc=function(){return this.b.gc()},v(dn,"Maps/KeySet",530),m(332,530,fs,Uv),s.$b=function(){var n;fR((n=this.b.vc().Jc(),new Koe(this,n)))},s.Hc=function(n){return this.b.ec().Hc(n)},s.Fb=function(n){return this===n||gi(this.b.ec(),n)},s.Hb=function(){return Ni(this.b.ec())},s.Jc=function(){var n;return n=this.b.vc().Jc(),new Koe(this,n)},s.Kc=function(n){var t,i;return i=0,t=u(this.b.Ac(n),18),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/KeySet",332),m(735,1,Fr,Koe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),45),this.a.jd()},s.Qb=function(){var n;O9(!!this.a),n=u(this.a.kd(),18),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/KeySet/1",735),m(489,395,{92:1,134:1},TT),s.bc=function(){return this.Qc()},s.ec=function(){return this.Sc()},s.Qc=function(){return new iT(this.c,this.Uc())},s.Rc=function(){return this.Uc().Rc()},s.Sc=function(){var n;return n=this.b,n||(this.b=this.Qc())},s.Tc=function(){return this.Uc().Tc()},s.Uc=function(){return u(this.d,134)},v(dn,"AbstractMapBasedMultimap/SortedAsMap",489),m(437,489,Bge,iE),s.bc=function(){return new k9(this.a,u(u(this.d,134),138))},s.Qc=function(){return new k9(this.a,u(u(this.d,134),138))},s.ec=function(){var n;return n=this.b,u(n||(this.b=new k9(this.a,u(u(this.d,134),138))),277)},s.Sc=function(){var n;return n=this.b,u(n||(this.b=new k9(this.a,u(u(this.d,134),138))),277)},s.Uc=function(){return u(u(this.d,134),138)},s.Vc=function(n){return u(u(this.d,134),138).Vc(n)},s.Wc=function(n){return u(u(this.d,134),138).Wc(n)},s.Xc=function(n,t){return new iE(this.a,u(u(this.d,134),138).Xc(n,t))},s.Yc=function(n){return u(u(this.d,134),138).Yc(n)},s.Zc=function(n){return u(u(this.d,134),138).Zc(n)},s.$c=function(n,t){return new iE(this.a,u(u(this.d,134),138).$c(n,t))},v(dn,"AbstractMapBasedMultimap/NavigableAsMap",437),m(488,332,wYe,iT),s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/SortedKeySet",488),m(394,488,zge,k9),v(dn,"AbstractMapBasedMultimap/NavigableKeySet",394),m(539,31,um,iB),s.Ec=function(n){var t,i;return Is(this),i=this.d.dc(),t=this.d.Ec(n),t&&(++this.f.d,i&&DT(this)),t},s.Fc=function(n){var t,i,r;return n.dc()?!1:(r=(Is(this),this.d.gc()),t=this.d.Fc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&DT(this)),t)},s.$b=function(){var n;n=(Is(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,wR(this))},s.Gc=function(n){return Is(this),this.d.Gc(n)},s.Hc=function(n){return Is(this),this.d.Hc(n)},s.Fb=function(n){return n===this?!0:(Is(this),gi(this.d,n))},s.Hb=function(){return Is(this),Ni(this.d)},s.Jc=function(){return Is(this),new ufe(this)},s.Kc=function(n){var t;return Is(this),t=this.d.Kc(n),t&&(--this.f.d,wR(this)),t},s.gc=function(){return lTe(this)},s.Lc=function(){return Is(this),this.d.Lc()},s.Ib=function(){return Is(this),fu(this.d)},v(dn,"AbstractMapBasedMultimap/WrappedCollection",539);var wl=Gi(pt,"List");m(732,539,{20:1,31:1,18:1,16:1},Dfe),s.gd=function(n){tg(this,n)},s.Lc=function(){return Is(this),this.d.Lc()},s._c=function(n,t){var i;Is(this),i=this.d.dc(),u(this.d,16)._c(n,t),++this.a.d,i&&DT(this)},s.ad=function(n,t){var i,r,c;return t.dc()?!1:(c=(Is(this),this.d.gc()),i=u(this.d,16).ad(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&DT(this)),i)},s.Xb=function(n){return Is(this),u(this.d,16).Xb(n)},s.bd=function(n){return Is(this),u(this.d,16).bd(n)},s.cd=function(){return Is(this),new zTe(this)},s.dd=function(n){return Is(this),new u_e(this,n)},s.ed=function(n){var t;return Is(this),t=u(this.d,16).ed(n),--this.a.d,wR(this),t},s.fd=function(n,t){return Is(this),u(this.d,16).fd(n,t)},s.hd=function(n,t){return Is(this),cPe(this.a,this.e,u(this.d,16).hd(n,t),this.b?this.b:this)},v(dn,"AbstractMapBasedMultimap/WrappedList",732),m(1095,732,{20:1,31:1,18:1,16:1,59:1},COe),v(dn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1095),m(619,1,Fr,ufe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return F9(this),this.b.Ob()},s.Pb=function(){return F9(this),this.b.Pb()},s.Qb=function(){aOe(this)},v(dn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",619),m(733,619,e1,zTe,u_e),s.Qb=function(){aOe(this)},s.Rb=function(n){var t;t=lTe(this.a)==0,(F9(this),u(this.b,128)).Rb(n),++this.a.a.d,t&&DT(this.a)},s.Sb=function(){return(F9(this),u(this.b,128)).Sb()},s.Tb=function(){return(F9(this),u(this.b,128)).Tb()},s.Ub=function(){return(F9(this),u(this.b,128)).Ub()},s.Vb=function(){return(F9(this),u(this.b,128)).Vb()},s.Wb=function(n){(F9(this),u(this.b,128)).Wb(n)},v(dn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",733),m(731,539,wYe,Ale),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSortedSet",731),m(1094,731,zge,LTe),v(dn,"AbstractMapBasedMultimap/WrappedNavigableSet",1094),m(1093,539,fs,eNe),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSet",1093),m(1102,1,{},Z),s.Kb=function(n){return k9n(u(n,45))},v(dn,"AbstractMapBasedMultimap/lambda$1$Type",1102),m(1101,1,{},r9),s.Kb=function(n){return new yw(this.a,n)},v(dn,"AbstractMapBasedMultimap/lambda$2$Type",1101);var Eg=Gi(pt,"Map/Entry");m(358,1,dZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),O1(this.jd(),t.jd())&&O1(this.kd(),t.kd())):!1},s.Hb=function(){var n,t;return n=this.jd(),t=this.kd(),(n==null?0:Ni(n))^(t==null?0:Ni(t))},s.ld=function(n){throw R(new _t)},s.Ib=function(){return this.jd()+"="+this.kd()},v(dn,pYe,358),m(Q0,31,um),s.$b=function(){this.md().$b()},s.Gc=function(n){var t;return X(n,45)?(t=u(n,45),H4n(this.md(),t.jd(),t.kd())):!1},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),GLe(this.md(),t.jd(),t.kd())):!1},s.gc=function(){return this.md().d},v(dn,"Multimaps/Entries",Q0),m(737,Q0,um,x1),s.Jc=function(){return this.a.kc()},s.md=function(){return this.a},s.Lc=function(){return this.a.lc()},v(dn,"AbstractMultimap/Entries",737),m(738,737,fs,Moe),s.Lc=function(){return this.a.lc()},s.Fb=function(n){return N0e(this,n)},s.Hb=function(){return KBe(this)},v(dn,"AbstractMultimap/EntrySet",738),m(739,31,um,$C),s.$b=function(){this.a.$b()},s.Gc=function(n){return _kn(this.a,n)},s.Jc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Lc=function(){return this.a.oc()},v(dn,"AbstractMultimap/Values",739),m(2049,31,{833:1,20:1,31:1,18:1}),s.Ic=function(n){Ot(n),Kv(this).Ic(new YU(n))},s.Lc=function(){var n;return n=Kv(this).Lc(),aW(n,new Ne,64|n.wd()&1296,this.a.d)},s.Ec=function(n){return Doe(),!0},s.Fc=function(n){return Ot(this),Ot(n),X(n,540)?Q4n(u(n,833)):!n.dc()&&MY(this,n.Jc())},s.Gc=function(n){var t;return t=u(q2(By(this.a),n),18),(t?t.gc():0)>0},s.Fb=function(n){return COn(this,n)},s.Hb=function(){return Ni(Kv(this))},s.dc=function(){return Kv(this).dc()},s.Kc=function(n){return Oqe(this,n,1)>0},s.Ib=function(){return fu(Kv(this))},v(dn,"AbstractMultiset",2049),m(2051,2030,fs),s.$b=function(){jB(this.a.a)},s.Gc=function(n){var t,i;return X(n,490)?(i=u(n,416),u(i.a.kd(),18).gc()<=0?!1:(t=hLe(this.a,i.a.jd()),t==u(i.a.kd(),18).gc())):!1},s.Kc=function(n){var t,i,r,c;return X(n,490)&&(i=u(n,416),t=i.a.jd(),r=u(i.a.kd(),18).gc(),r!=0)?(c=this.a,ATn(c,t,r)):!1},v(dn,"Multisets/EntrySet",2051),m(1108,2051,fs,sj),s.Jc=function(){return new nAe(XIe(By(this.a.a)).Jc())},s.gc=function(){return By(this.a.a).gc()},v(dn,"AbstractMultiset/EntrySet",1108),m(618,730,bg),s.hc=function(){return this.nd()},s.jc=function(){return this.od()},s.cc=function(n){return this.pd(n)},s.fc=function(n){return this.qd(n)},s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.od=function(){return En(),En(),wJ},s.Fb=function(n){return rQ(this,n)},s.pd=function(n){return u(vi(this,n),22)},s.qd=function(n){return u(TO(this,n),22)},s.mc=function(n){return En(),new g9(u(n,22))},s.pc=function(n,t){return new eNe(this,n,u(t,22))},v(dn,"AbstractSetMultimap",618),m(1689,618,bg),s.hc=function(){return new Ed(this.b)},s.nd=function(){return new Ed(this.b)},s.jc=function(){return Kfe(new Ed(this.b))},s.od=function(){return Kfe(new Ed(this.b))},s.cc=function(n){return u(u(vi(this,n),22),83)},s.pd=function(n){return u(u(vi(this,n),22),83)},s.fc=function(n){return u(u(TO(this,n),22),83)},s.qd=function(n){return u(u(TO(this,n),22),83)},s.mc=function(n){return X(n,277)?Kfe(u(n,277)):(En(),new lle(u(n,83)))},s.Zb=function(){var n;return n=this.f,n||(this.f=X(this.c,138)?new iE(this,u(this.c,138)):X(this.c,134)?new TT(this,u(this.c,134)):new y9(this,this.c))},s.pc=function(n,t){return X(t,277)?new LTe(this,n,u(t,277)):new Ale(this,n,u(t,83))},v(dn,"AbstractSortedSetMultimap",1689),m(1690,1689,bg),s.Zb=function(){var n;return n=this.f,u(u(n||(this.f=X(this.c,138)?new iE(this,u(this.c,138)):X(this.c,134)?new TT(this,u(this.c,134)):new y9(this,this.c)),134),138)},s.ec=function(){var n;return n=this.i,u(u(n||(this.i=X(this.c,138)?new k9(this,u(this.c,138)):X(this.c,134)?new iT(this,u(this.c,134)):new Uv(this,this.c)),83),277)},s.bc=function(){return X(this.c,138)?new k9(this,u(this.c,138)):X(this.c,134)?new iT(this,u(this.c,134)):new Uv(this,this.c)},v(dn,"AbstractSortedKeySortedSetMultimap",1690),m(2071,1,{2008:1}),s.Fb=function(n){return pAn(this,n)},s.Hb=function(){var n;return d1e((n=this.g,n||(this.g=new v0(this))))},s.Ib=function(){var n;return bGe((n=this.f,n||(this.f=new tle(this))))},v(dn,"AbstractTable",2071),m(669,Ua,fs,v0),s.$b=function(){hAe()},s.Gc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(q2(pDe(this.a),M0(t.c.e,t.b)),92),!!i&&B1e(i.vc(),new yw(M0(t.c.c,t.a),qy(t.c,t.b,t.a)))):!1},s.Jc=function(){return Y5n(this.a)},s.Kc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(q2(pDe(this.a),M0(t.c.e,t.b)),92),!!i&&rjn(i.vc(),new yw(M0(t.c.c,t.a),qy(t.c,t.b,t.a)))):!1},s.gc=function(){return EIe(this.a)},s.Lc=function(){return Z4n(this.a)},v(dn,"AbstractTable/CellSet",669),m(1987,31,um,JU),s.$b=function(){hAe()},s.Gc=function(n){return oMn(this.a,n)},s.Jc=function(){return Q5n(this.a)},s.gc=function(){return EIe(this.a)},s.Lc=function(){return $Le(this.a)},v(dn,"AbstractTable/Values",1987),m(1662,1661,bg),v(dn,"ArrayListMultimapGwtSerializationDependencies",1662),m(506,1662,bg,NX,Aae),s.hc=function(){return new xo(this.a)},s.a=0,v(dn,"ArrayListMultimap",506),m(668,2071,{668:1,2008:1,3:1},Tqe),v(dn,"ArrayTable",668),m(1983,392,B8,sOe),s.Xb=function(n){return new m1e(this.a,n)},v(dn,"ArrayTable/1",1983),m(1984,1,{},HU),s.rd=function(n){return new m1e(this.a,n)},v(dn,"ArrayTable/1methodref$getCell$Type",1984),m(2072,1,{687:1}),s.Fb=function(n){var t;return n===this?!0:X(n,468)?(t=u(n,687),O1(M0(this.c.e,this.b),M0(t.c.e,t.b))&&O1(M0(this.c.c,this.a),M0(t.c.c,t.a))&&O1(qy(this.c,this.b,this.a),qy(t.c,t.b,t.a))):!1},s.Hb=function(){return JB(F(z(Mr,1),Nn,1,5,[M0(this.c.e,this.b),M0(this.c.c,this.a),qy(this.c,this.b,this.a)]))},s.Ib=function(){return"("+M0(this.c.e,this.b)+","+M0(this.c.c,this.a)+")="+qy(this.c,this.b,this.a)},v(dn,"Tables/AbstractCell",2072),m(468,2072,{468:1,687:1},m1e),s.a=0,s.b=0,s.d=0,v(dn,"ArrayTable/2",468),m(1986,1,{},ty),s.rd=function(n){return X$e(this.a,n)},v(dn,"ArrayTable/2methodref$getValue$Type",1986),m(1985,392,B8,lOe),s.Xb=function(n){return X$e(this.a,n)},v(dn,"ArrayTable/3",1985),m(2039,2027,np),s.$b=function(){fR(this.kc())},s.vc=function(){return new fj(this)},s.lc=function(){return new YDe(this.kc(),this.gc())},v(dn,"Maps/IteratorBasedAbstractMap",2039),m(826,2039,np),s.$b=function(){throw R(new _t)},s._b=function(n){return TAe(this.c,n)},s.kc=function(){return new fOe(this,this.c.b.c.gc())},s.lc=function(){return rV(this.c.b.c.gc(),16,new vP(this))},s.xc=function(n){var t;return t=u(rE(this.c,n),15),t?this.td(t.a):null},s.dc=function(){return this.c.b.c.dc()},s.ec=function(){return dV(this.c)},s.yc=function(n,t){var i;if(i=u(rE(this.c,n),15),!i)throw R(new Un(this.sd()+" "+n+" not in "+dV(this.c)));return this.ud(i.a,t)},s.Ac=function(n){throw R(new _t)},s.gc=function(){return this.c.b.c.gc()},v(dn,"ArrayTable/ArrayMap",826),m(1982,1,{},vP),s.rd=function(n){return yDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1982),m(1980,358,dZ,iMe),s.jd=function(){return ypn(this.a,this.b)},s.kd=function(){return this.a.td(this.b)},s.ld=function(n){return this.a.ud(this.b,n)},s.b=0,v(dn,"ArrayTable/ArrayMap/1",1980),m(1981,392,B8,fOe),s.Xb=function(n){return yDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/2",1981),m(1979,826,np,sDe),s.sd=function(){return"Column"},s.td=function(n){return qy(this.b,this.a,n)},s.ud=function(n,t){return Tze(this.b,this.a,n,t)},s.a=0,v(dn,"ArrayTable/Row",1979),m(827,826,np,tle),s.td=function(n){return new sDe(this.a,n)},s.yc=function(n,t){return u(t,92),Hbn()},s.ud=function(n,t){return u(t,92),Gbn()},s.sd=function(){return"Row"},v(dn,"ArrayTable/RowMap",827),m(1126,1,bl,rMe),s.yd=function(n){return(this.a.wd()&-262&n)!=0},s.wd=function(){return this.a.wd()&-262},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Nb(new uMe(n,this.b))},s.zd=function(n){return this.a.zd(new cMe(n,this.b))},v(dn,"CollectSpliterators/1",1126),m(1127,1,ct,cMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$0$Type",1127),m(1128,1,ct,uMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$1$Type",1128),m(1123,1,bl,TNe),s.yd=function(n){return((16464|this.b)&n)!=0},s.wd=function(){return 16464|this.b},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Oe(new sMe(n,this.c))},s.zd=function(n){return this.a.Pe(new oMe(n,this.c))},s.b=0,v(dn,"CollectSpliterators/1WithCharacteristics",1123),m(1124,1,wN,oMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1124),m(1125,1,wN,sMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1125),m(1119,1,bl),s.yd=function(n){return(this.a&n)!=0},s.wd=function(){return this.a},s.xd=function(){return this.e&&(this.b=Use(this.b,this.e.xd())),Use(this.b,0)},s.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new lMe(this,n)),this.b=0},s.zd=function(n){for(;;){if(this.e&&this.e.zd(n))return Kj(this.b,pN)&&(this.b=ff(this.b,1)),!0;if(this.e=null,!this.c.zd(new iy(this)))return!1}},s.a=0,s.b=0,v(dn,"CollectSpliterators/FlatMapSpliterator",1119),m(1121,1,ct,iy),s.Ad=function(n){b2n(this.a,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1121),m(1122,1,ct,lMe),s.Ad=function(n){A5n(this.a,this.b,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1122),m(1120,1119,bl,gPe),v(dn,"CollectSpliterators/FlatMapSpliteratorOfObject",1120),m(254,1,bZ),s.Dd=function(n){return this.Cd(u(n,254))},s.Cd=function(n){var t;return n==(SX(),Qne)?1:n==(EX(),Yne)?-1:(t=(rR(),mO(this.a,n.a)),t!=0?t:($n(),X(this,513)==X(n,513)?0:X(this,513)?1:-1))},s.Gd=function(){return this.a},s.Fb=function(n){return $de(this,n)},v(dn,"Cut",254),m(1793,254,bZ,Kxe),s.Cd=function(n){return n==this?0:1},s.Ed=function(n){throw R(new aoe)},s.Fd=function(n){n.a+="+∞)"},s.Gd=function(){throw R(new Uc(vYe))},s.Hb=function(){return Sd(),Sde(this)},s.Hd=function(n){return!1},s.Ib=function(){return"+∞"};var Yne;v(dn,"Cut/AboveAll",1793),m(513,254,{254:1,513:1,3:1,35:1},bOe),s.Ed=function(n){uo((n.a+="(",n),this.a)},s.Fd=function(n){Kb(uo(n,this.a),93)},s.Hb=function(){return~Ni(this.a)},s.Hd=function(n){return rR(),mO(this.a,n)<0},s.Ib=function(){return"/"+this.a+"\\"},v(dn,"Cut/AboveValue",513),m(1792,254,bZ,Xxe),s.Cd=function(n){return n==this?0:-1},s.Ed=function(n){n.a+="(-∞"},s.Fd=function(n){throw R(new aoe)},s.Gd=function(){throw R(new Uc(vYe))},s.Hb=function(){return Sd(),Sde(this)},s.Hd=function(n){return!0},s.Ib=function(){return"-∞"};var Qne;v(dn,"Cut/BelowAll",1792),m(1794,254,bZ,gOe),s.Ed=function(n){uo((n.a+="[",n),this.a)},s.Fd=function(n){Kb(uo(n,this.a),41)},s.Hb=function(){return Ni(this.a)},s.Hd=function(n){return rR(),mO(this.a,n)<=0},s.Ib=function(){return"\\"+this.a+"/"},v(dn,"Cut/BelowValue",1794),m(535,1,n1),s.Ic=function(n){cc(this,n)},s.Ib=function(){return _jn(u(DR(this,"use Optional.orNull() instead of Optional.or(null)"),20).Jc())},v(dn,"FluentIterable",535),m(433,535,n1,Qj),s.Jc=function(){return new Xn(Qn(this.a.Jc(),new ee))},v(dn,"FluentIterable/2",433),m(36,1,{},ee),s.Kb=function(n){return u(n,20).Jc()},s.Fb=function(n){return this===n},v(dn,"FluentIterable/2/0methodref$iterator$Type",36),m(1040,535,n1,TTe),s.Jc=function(){return Kh(this)},v(dn,"FluentIterable/3",1040),m(714,392,B8,fle),s.Xb=function(n){return this.a[n].Jc()},v(dn,"FluentIterable/3/1",714),m(2032,1,{}),s.Ib=function(){return fu(this.Id().b)},v(dn,"ForwardingObject",2032),m(2033,2032,yYe),s.Id=function(){return this.Jd()},s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new pn(null,this.Lc())},s.Ec=function(n){return this.Jd(),DAe()},s.Fc=function(n){return this.Jd(),_Ae()},s.$b=function(){this.Jd(),LAe()},s.Gc=function(n){return this.Jd().Gc(n)},s.Hc=function(n){return this.Jd().Hc(n)},s.dc=function(){return this.Jd().b.dc()},s.Jc=function(){return this.Jd().Jc()},s.Kc=function(n){return this.Jd(),PAe()},s.gc=function(){return this.Jd().b.gc()},s.Nc=function(){return this.Jd().Nc()},s.Oc=function(n){return this.Jd().Oc(n)},v(dn,"ForwardingCollection",2033),m(2040,31,Fge),s.Jc=function(){return this.Md()},s.Ec=function(n){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.Kd=function(){var n;return n=this.c,n||(this.c=this.Ld())},s.$b=function(){throw R(new _t)},s.Gc=function(n){return n!=null&&U2(this,n,!1)},s.Ld=function(){switch(this.gc()){case 0:return lR(),ete;case 1:return new GK(Ot(this.Md().Pb()));default:return new ofe(this,this.Nc())}},s.Kc=function(n){throw R(new _t)},v(dn,"ImmutableCollection",2040),m(1259,2040,Fge,kP),s.Jc=function(){return Uy(new ic(this.a.b.Jc()))},s.Gc=function(n){return n!=null&&Cj(this.a,n)},s.Hc=function(n){return Yoe(this.a,n)},s.dc=function(){return this.a.b.dc()},s.Md=function(){return Uy(new ic(this.a.b.Jc()))},s.gc=function(){return this.a.b.gc()},s.Nc=function(){return this.a.b.Nc()},s.Oc=function(n){return Qoe(this.a,n)},s.Ib=function(){return fu(this.a.b)},v(dn,"ForwardingImmutableCollection",1259),m(311,2040,z8),s.Jc=function(){return this.Md()},s.cd=function(){return this.Nd(0)},s.dd=function(n){return this.Nd(n)},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.hd=function(n,t){return this.Od(n,t)},s._c=function(n,t){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Kd=function(){return this},s.Fb=function(n){return mOn(this,n)},s.Hb=function(){return q7n(this)},s.bd=function(n){return n==null?-1:WSn(this,n)},s.Md=function(){return this.Nd(0)},s.Nd=function(n){return PK(this,n)},s.ed=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},s.Od=function(n,t){var i;return VB((i=new pMe(this),new D0(i,n,t)))},v(dn,"ImmutableList",311),m(2067,311,z8),s.Jc=function(){return Uy(this.Pd().Jc())},s.hd=function(n,t){return VB(this.Pd().hd(n,t))},s.Gc=function(n){return n!=null&&this.Pd().Gc(n)},s.Hc=function(n){return this.Pd().Hc(n)},s.Fb=function(n){return gi(this.Pd(),n)},s.Xb=function(n){return M0(this,n)},s.Hb=function(){return Ni(this.Pd())},s.bd=function(n){return this.Pd().bd(n)},s.dc=function(){return this.Pd().dc()},s.Md=function(){return Uy(this.Pd().Jc())},s.gc=function(){return this.Pd().gc()},s.Od=function(n,t){return VB(this.Pd().hd(n,t))},s.Nc=function(){return this.Pd().Oc(le(Mr,Nn,1,this.Pd().gc(),5,1))},s.Oc=function(n){return this.Pd().Oc(n)},s.Ib=function(){return fu(this.Pd())},v(dn,"ForwardingImmutableList",2067),m(717,1,F8),s.vc=function(){return Gb(this)},s.wc=function(n){vO(this,n)},s.ec=function(){return dV(this)},s.Bc=function(){return this.Td()},s.$b=function(){throw R(new _t)},s._b=function(n){return this.xc(n)!=null},s.uc=function(n){return this.Td().Gc(n)},s.Rd=function(){return new UU(this)},s.Sd=function(){return new XU(this)},s.Fb=function(n){return Lkn(this,n)},s.Hb=function(){return Gb(this).Hb()},s.dc=function(){return this.gc()==0},s.yc=function(n,t){return qbn()},s.Ac=function(n){throw R(new _t)},s.Ib=function(){return nCn(this)},s.Td=function(){return this.e?this.e:this.e=this.Sd()},s.c=null,s.d=null,s.e=null,v(dn,"ImmutableMap",717),m(718,717,F8),s._b=function(n){return TAe(this,n)},s.uc=function(n){return SMe(this.b,n)},s.Qd=function(){return hFe(new yP(this))},s.Rd=function(){return hFe(JDe(this.b))},s.Sd=function(){return new kP(HDe(this.b))},s.Fb=function(n){return AMe(this.b,n)},s.xc=function(n){return rE(this,n)},s.Hb=function(){return Ni(this.b.c)},s.dc=function(){return this.b.c.dc()},s.gc=function(){return this.b.c.gc()},s.Ib=function(){return fu(this.b.c)},v(dn,"ForwardingImmutableMap",718),m(2034,2033,gZ),s.Id=function(){return this.Ud()},s.Jd=function(){return this.Ud()},s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return n===this||this.Ud().Fb(n)},s.Hb=function(){return this.Ud().Hb()},v(dn,"ForwardingSet",2034),m(1055,2034,gZ,yP),s.Id=function(){return B9(this.a.b)},s.Jd=function(){return B9(this.a.b)},s.Gc=function(n){if(X(n,45)&&u(n,45).jd()==null)return!1;try{return xMe(B9(this.a.b),n)}catch(t){if(t=sr(t),X(t,211))return!1;throw R(t)}},s.Ud=function(){return B9(this.a.b)},s.Oc=function(n){var t,i;return t=C_e(B9(this.a.b),n),B9(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=P$(k.Math.abs(i)%60),(AGe(),gnn)[this.q.getDay()]+" "+wnn[this.q.getMonth()]+" "+P$(this.q.getDate())+" "+P$(this.q.getHours())+":"+P$(this.q.getMinutes())+":"+P$(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var dJ=v(pt,"Date",205);m(1977,205,TYe,XHe),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,v("com.google.gwt.i18n.shared.impl","DateRecord",1977),m(2026,1,{}),s.ne=function(){return null},s.oe=function(){return null},s.pe=function(){return null},s.qe=function(){return null},s.re=function(){return null},v(w4,"JSONValue",2026),m(139,2026,{139:1},md,u9),s.Fb=function(n){return X(n,139)?Tae(this.a,u(n,139).a):!1},s.me=function(){return abn},s.Hb=function(){return dae(this.a)},s.ne=function(){return this},s.Ib=function(){var n,t,i;for(i=new il("["),t=0,n=this.a.length;t0&&(i.a+=","),uo(i,R2(this,t));return i.a+="]",i.a},v(w4,"JSONArray",139),m(479,2026,{479:1},o9),s.me=function(){return hbn},s.oe=function(){return this},s.Ib=function(){return $n(),""+this.a},s.a=!1;var inn,rnn;v(w4,"JSONBoolean",479),m(981,63,q1,tAe),v(w4,"JSONException",981),m(1017,2026,{},tt),s.me=function(){return wbn},s.Ib=function(){return Vo};var cnn;v(w4,"JSONNull",1017),m(265,2026,{265:1},Tv),s.Fb=function(n){return X(n,265)?this.a==u(n,265).a:!1},s.me=function(){return dbn},s.Hb=function(){return Ey(this.a)},s.pe=function(){return this},s.Ib=function(){return this.a+""},s.a=0,v(w4,"JSONNumber",265),m(149,2026,{149:1},dy,s9),s.Fb=function(n){return X(n,149)?Tae(this.a,u(n,149).a):!1},s.me=function(){return bbn},s.Hb=function(){return dae(this.a)},s.qe=function(){return this},s.Ib=function(){var n,t,i,r,c,o,l;for(l=new il("{"),n=!0,o=zY(this,le(Je,Ae,2,0,6,1)),i=o,r=0,c=i.length;r=0?":"+this.c:"")+")"},s.c=0;var Pme=v(Cu,"StackTraceElement",324);Ven={3:1,472:1,35:1,2:1};var Je=v(Cu,Jge,2);m(111,418,{472:1},kd,Aj,uf),v(Cu,"StringBuffer",111),m(106,418,{472:1},j0,wy,il),v(Cu,"StringBuilder",106),m(691,99,oF,_oe),v(Cu,"StringIndexOutOfBoundsException",691),m(2107,1,{});var lnn;m(46,63,{3:1,101:1,63:1,80:1,46:1},_t,vd),v(Cu,"UnsupportedOperationException",46),m(247,242,{3:1,35:1,242:1,247:1},IO,Goe),s.Dd=function(n){return AKe(this,u(n,247))},s.se=function(){return Q2(ZKe(this))},s.Fb=function(n){var t;return this===n?!0:X(n,247)?(t=u(n,247),this.e==t.e&&AKe(this,t)==0):!1},s.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=Lu(this.f),this.b=Rt(Rr(n,-1)),this.b=33*this.b+Rt(Rr(Mw(n,32),-1)),this.b=17*this.b+lc(this.e),this.b):(this.b=17*EFe(this.c)+lc(this.e),this.b)},s.Ib=function(){return ZKe(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var fnn,Sg,$me,Rme,Bme,zme,Fme,Jme,ute=v("java.math","BigDecimal",247);m(91,242,{3:1,35:1,242:1,91:1},_1,vLe,Xb,IJe,C0),s.Dd=function(n){return MJe(this,u(n,91))},s.se=function(){return Q2(fZ(this,0))},s.Fb=function(n){return sde(this,n)},s.Hb=function(){return EFe(this)},s.Ib=function(){return fZ(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var ann,bJ,hnn,ote,gJ,WS,I3=v("java.math","BigInteger",91),dnn,bnn,M4,ZS;m(484,2027,np),s.$b=function(){Hu(this)},s._b=function(n){return so(this,n)},s.uc=function(n){return oFe(this,n,this.i)||oFe(this,n,this.f)},s.vc=function(){return new sn(this)},s.xc=function(n){return zn(this,n)},s.yc=function(n,t){return ei(this,n,t)},s.Ac=function(n){return Gy(this,n)},s.gc=function(){return Tj(this)},s.g=0,v(pt,"AbstractHashMap",484),m(306,Ua,fs,sn),s.$b=function(){this.a.$b()},s.Gc=function(n){return VLe(this,n)},s.Jc=function(){return new J2(this.a)},s.Kc=function(n){var t;return VLe(this,n)?(t=u(n,45).jd(),this.a.Ac(t),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractHashMap/EntrySet",306),m(307,1,Fr,J2),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return c3(this)},s.Ob=function(){return this.b},s.Qb=function(){jRe(this)},s.b=!1,s.d=0,v(pt,"AbstractHashMap/EntrySetIterator",307),m(417,1,Fr,qc),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this)},s.Pb=function(){return lae(this)},s.Qb=function(){As(this)},s.b=0,s.c=-1,v(pt,"AbstractList/IteratorImpl",417),m(97,417,e1,qr),s.Qb=function(){As(this)},s.Rb=function(n){E2(this,n)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return at(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(n){v2(this.c!=-1),this.a.fd(this.c,n)},v(pt,"AbstractList/ListIteratorImpl",97),m(258,56,J8,D0),s._c=function(n,t){_2(n,this.b),this.c._c(this.a+n,t),++this.b},s.Xb=function(n){return kn(n,this.b),this.c.Xb(this.a+n)},s.ed=function(n){var t;return kn(n,this.b),t=this.c.ed(this.a+n),--this.b,t},s.fd=function(n,t){return kn(n,this.b),this.c.fd(this.a+n,t)},s.gc=function(){return this.b},s.a=0,s.b=0,v(pt,"AbstractList/SubList",258),m(232,Ua,fs,it),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new gt(n)},s.Kc=function(n){return this.a._b(n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/1",232),m(529,1,Fr,gt),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.jd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/1/1",529),m(230,31,um,ot),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a.uc(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new Hi(n)},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/2",230),m(304,1,Fr,Hi),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.kd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/2/1",304),m(480,1,{480:1,45:1}),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.d,t.jd())&&Ku(this.e,t.kd())):!1},s.jd=function(){return this.d},s.kd=function(){return this.e},s.Hb=function(){return Jv(this.d)^Jv(this.e)},s.ld=function(n){return _le(this,n)},s.Ib=function(){return this.d+"="+this.e},v(pt,"AbstractMap/AbstractEntry",480),m(390,480,{480:1,390:1,45:1},s$),v(pt,"AbstractMap/SimpleEntry",390),m(2044,1,BZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.jd(),t.jd())&&Ku(this.kd(),t.kd())):!1},s.Hb=function(){return Jv(this.jd())^Jv(this.kd())},s.Ib=function(){return this.jd()+"="+this.kd()},v(pt,pYe,2044),m(2052,2027,Bge),s.Vc=function(n){return LX(this.Ce(n))},s.tc=function(n){return HPe(this,n)},s._b=function(n){return Lle(this,n)},s.vc=function(){return new Xi(this)},s.Rc=function(){return lDe(this.Ee())},s.Wc=function(n){return LX(this.Fe(n))},s.xc=function(n){var t;return t=n,bu(this.De(t))},s.Yc=function(n){return LX(this.Ge(n))},s.ec=function(){return new _u(this)},s.Tc=function(){return lDe(this.He())},s.Zc=function(n){return LX(this.Ie(n))},v(pt,"AbstractNavigableMap",2052),m(620,Ua,fs,Xi),s.Gc=function(n){return X(n,45)&&HPe(this.b,u(n,45))},s.Jc=function(){return this.b.Be()},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),this.b.Je(t)):!1},s.gc=function(){return this.b.gc()},v(pt,"AbstractNavigableMap/EntrySet",620),m(1115,Ua,zge,_u),s.Lc=function(){return new a$(this)},s.$b=function(){this.a.$b()},s.Gc=function(n){return Lle(this.a,n)},s.Jc=function(){var n;return n=this.a.vc().b.Be(),new Fke(n)},s.Kc=function(n){return Lle(this.a,n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractNavigableMap/NavigableKeySet",1115),m(1116,1,Fr,Fke),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this.a.a)},s.Pb=function(){var n;return n=LOe(this.a),n.jd()},s.Qb=function(){RNe(this.a)},v(pt,"AbstractNavigableMap/NavigableKeySet/1",1116),m(2065,31,um),s.Ec=function(n){return Iy(S8(this,n),G8),!0},s.Fc=function(n){return Ln(n),RT(n!=this,"Can't add a queue to itself"),ac(this,n)},s.$b=function(){for(;CY(this)!=null;);},v(pt,"AbstractQueue",2065),m(314,31,{4:1,20:1,31:1,18:1},Gv,zLe),s.Ec=function(n){return $ae(this,n),!0},s.$b=function(){Jae(this)},s.Gc=function(n){return xze(new wE(this),n)},s.dc=function(){return xj(this)},s.Jc=function(){return new wE(this)},s.Kc=function(n){return Nyn(new wE(this),n)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Lc=function(){return new yn(this,272)},s.Oc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&ir(n,t,null),n},s.b=0,s.c=0,v(pt,"ArrayDeque",314),m(448,1,Fr,wE),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return GB(this)},s.Qb=function(){xBe(this)},s.a=0,s.b=0,s.c=-1,v(pt,"ArrayDeque/IteratorImpl",448),m(13,56,DYe,Te,xo,bs),s._c=function(n,t){Hb(this,n,t)},s.Ec=function(n){return Ce(this,n)},s.ad=function(n,t){return D1e(this,n,t)},s.Fc=function(n){return Sr(this,n)},s.$b=function(){o2(this.c,0)},s.Gc=function(n){return pu(this,n,0)!=-1},s.Ic=function(n){Ao(this,n)},s.Xb=function(n){return Le(this,n)},s.bd=function(n){return pu(this,n,0)},s.dc=function(){return this.c.length==0},s.Jc=function(){return new P(this)},s.ed=function(n){return Od(this,n)},s.Kc=function(n){return qo(this,n)},s.ae=function(n,t){aLe(this,n,t)},s.fd=function(n,t){return ol(this,n,t)},s.gc=function(){return this.c.length},s.gd=function(n){Tr(this,n)},s.Nc=function(){return cR(this.c)},s.Oc=function(n){return Fa(this,n)};var IBn=v(pt,"ArrayList",13);m(7,1,Fr,P),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return gu(this)},s.Pb=function(){return L(this)},s.Qb=function(){aE(this)},s.a=0,s.b=-1,v(pt,"ArrayList/1",7),m(2074,k.Function,{},wn),s.Ke=function(n,t){return ji(n,t)},m(123,56,_Ye,Su),s.Gc=function(n){return SBe(this,n)!=-1},s.Ic=function(n){var t,i,r,c;for(Ln(n),i=this.a,r=0,c=i.length;r0)throw R(new Un(Yge+n+" greater than "+this.e));return this.f.Re()?__e(this.c,this.b,this.a,n,t):lLe(this.c,n,t)},s.yc=function(n,t){if(!eW(this.c,this.f,n,this.b,this.a,this.e,this.d))throw R(new Un(n+" outside the range "+this.b+" to "+this.e));return Hze(this.c,n,t)},s.Ac=function(n){var t;return t=n,eW(this.c,this.f,t,this.b,this.a,this.e,this.d)?L_e(this.c,t):null},s.Je=function(n){return MR(this,n.jd())&&she(this.c,n)},s.gc=function(){var n,t,i;if(this.f.Re()?this.a?t=p8(this.c,this.b,!0):t=p8(this.c,this.b,!1):t=yhe(this.c),!(t&&MR(this,t.d)&&t))return 0;for(n=0,i=new FY(this.c,this.f,this.b,this.a,this.e,this.d);FX(i.a);i.b=u(lae(i.a),45))++n;return n},s.$c=function(n,t){if(this.f.Re()&&this.c.a.Le(n,this.b)<0)throw R(new Un(Yge+n+$Ye+this.b));return this.f.Se()?__e(this.c,n,t,this.e,this.d):fLe(this.c,n,t)},s.a=!1,s.d=!1,v(pt,"TreeMap/SubMap",622),m(309,23,HZ,l$),s.Re=function(){return!1},s.Se=function(){return!1};var fte,ate,hte,dte,pJ=yt(pt,"TreeMap/SubMapType",309,Ct,o6n,D2n);m(1112,309,HZ,DTe),s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/1",1112,pJ,null,null),m(1113,309,HZ,qTe),s.Re=function(){return!0},s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/2",1113,pJ,null,null),m(1114,309,HZ,_Te),s.Re=function(){return!0},yt(pt,"TreeMap/SubMapType/3",1114,pJ,null,null);var jnn;m(141,Ua,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},pX,ale,Ed,f9),s.Lc=function(){return new a$(this)},s.Ec=function(n){return FT(this,n)},s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){return this.a.ec().Jc()},s.Kc=function(n){return DK(this,n)},s.gc=function(){return this.a.gc()};var RBn=v(pt,"TreeSet",141);m(1052,1,{},Gke),s.Te=function(n,t){return Zpn(this.a,n,t)},v(GZ,"BinaryOperator/lambda$0$Type",1052),m(1053,1,{},qke),s.Te=function(n,t){return e2n(this.a,n,t)},v(GZ,"BinaryOperator/lambda$1$Type",1053),m(935,1,{},Fu),s.Kb=function(n){return n},v(GZ,"Function/lambda$0$Type",935),m(388,1,zt,a9),s.Mb=function(n){return!this.a.Mb(n)},v(GZ,"Predicate/lambda$2$Type",388),m(567,1,{567:1});var Enn=v(kS,"Handler",567);m(2069,1,bN),s.ve=function(){return"DUMMY"},s.Ib=function(){return this.ve()};var Vme;v(kS,"Level",2069),m(1672,2069,bN,Rs),s.ve=function(){return"INFO"},v(kS,"Level/LevelInfo",1672),m(1824,1,{},lxe);var bte;v(kS,"LogManager",1824),m(1866,1,bN,$Ne),s.b=null,v(kS,"LogRecord",1866),m(511,1,{511:1},oY),s.e=!1;var Snn=!1,xnn=!1,Qa=!1,Ann=!1,Mnn=!1;v(kS,"Logger",511),m(819,567,{567:1},Er),v(kS,"SimpleConsoleLogHandler",819),m(130,23,{3:1,35:1,23:1,130:1},GX);var Yme,Yo,Qme,Qo=yt(_c,"Collector/Characteristics",130,Ct,qyn,_2n),Cnn;m(746,1,{},Ffe),v(_c,"CollectorImpl",746),m(1050,1,{},Kr),s.Te=function(n,t){return pjn(u(n,212),u(t,212))},v(_c,"Collectors/10methodref$merge$Type",1050),m(1051,1,{},Dt),s.Kb=function(n){return BLe(u(n,212))},v(_c,"Collectors/11methodref$toString$Type",1051),m(152,1,{},bi),s.Wd=function(n,t){u(n,18).Ec(t)},v(_c,"Collectors/20methodref$add$Type",152),m(154,1,{},zi),s.Ve=function(){return new Te},v(_c,"Collectors/21methodref$ctor$Type",154),m(1049,1,{},cu),s.Wd=function(n,t){L1(u(n,212),u(t,472))},v(_c,"Collectors/9methodref$add$Type",1049),m(1048,1,{},tIe),s.Ve=function(){return new rg(this.a,this.b,this.c)},v(_c,"Collectors/lambda$15$Type",1048),m(153,1,{},Cc),s.Te=function(n,t){return Tgn(u(n,18),u(t,18))},v(_c,"Collectors/lambda$45$Type",153),m(538,1,{}),s.Ye=function(){gE(this)},s.d=!1,v(_c,"TerminatableStream",538),m(768,538,Qge,Mle),s.Ye=function(){gE(this)},v(_c,"DoubleStreamImpl",768),m(1297,724,bl,iIe),s.Pe=function(n){return GSn(this,u(n,189))},s.a=null,v(_c,"DoubleStreamImpl/2",1297),m(1298,1,EN,Uke),s.Ne=function(n){jwn(this.a,n)},v(_c,"DoubleStreamImpl/2/lambda$0$Type",1298),m(1295,1,EN,Xke),s.Ne=function(n){kwn(this.a,n)},v(_c,"DoubleStreamImpl/lambda$0$Type",1295),m(1296,1,EN,Kke),s.Ne=function(n){gJe(this.a,n)},v(_c,"DoubleStreamImpl/lambda$2$Type",1296),m(1351,723,bl,VPe),s.Pe=function(n){return Y4n(this,u(n,202))},s.a=0,s.b=0,s.c=0,v(_c,"IntStream/5",1351),m(793,538,Qge,Cle),s.Ye=function(){gE(this)},s.Ze=function(){return N0(this),this.a},v(_c,"IntStreamImpl",793),m(794,538,Qge,Woe),s.Ye=function(){gE(this)},s.Ze=function(){return N0(this),Wse(),knn},v(_c,"IntStreamImpl/Empty",794),m(1651,1,wN,Vke),s.Bd=function(n){oze(this.a,n)},v(_c,"IntStreamImpl/lambda$4$Type",1651);var BBn=Gi(_c,"Stream");m(28,538,{520:1,677:1,832:1},pn),s.Ye=function(){gE(this)};var C4;v(_c,"StreamImpl",28),m(1072,486,bl,CNe),s.zd=function(n){for(;Y9n(this);){if(this.a.zd(n))return!0;gE(this.b),this.b=null,this.a=null}return!1},v(_c,"StreamImpl/1",1072),m(1073,1,ct,Yke),s.Ad=function(n){Rvn(this.a,u(n,832))},v(_c,"StreamImpl/1/lambda$0$Type",1073),m(1074,1,zt,Qke),s.Mb=function(n){return hr(this.a,n)},v(_c,"StreamImpl/1methodref$add$Type",1074),m(1075,486,bl,o_e),s.zd=function(n){var t;return this.a||(t=new Te,this.b.a.Nb(new Wke(t)),En(),Tr(t,this.c),this.a=new yn(t,16)),VRe(this.a,n)},s.a=null,v(_c,"StreamImpl/5",1075),m(1076,1,ct,Wke),s.Ad=function(n){Ce(this.a,n)},v(_c,"StreamImpl/5/2methodref$add$Type",1076),m(725,486,bl,mhe),s.zd=function(n){for(this.b=!1;!this.b&&this.c.zd(new UMe(this,n)););return this.b},s.b=!1,v(_c,"StreamImpl/FilterSpliterator",725),m(1066,1,ct,UMe),s.Ad=function(n){O3n(this.a,this.b,n)},v(_c,"StreamImpl/FilterSpliterator/lambda$0$Type",1066),m(1061,724,bl,c$e),s.Pe=function(n){return S2n(this,u(n,189))},v(_c,"StreamImpl/MapToDoubleSpliterator",1061),m(1065,1,ct,XMe),s.Ad=function(n){qgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1065),m(1060,723,bl,u$e),s.Pe=function(n){return x2n(this,u(n,202))},v(_c,"StreamImpl/MapToIntSpliterator",1060),m(1064,1,ct,KMe),s.Ad=function(n){Ugn(this.a,this.b,n)},v(_c,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1064),m(722,486,bl,rhe),s.zd=function(n){return ONe(this,n)},v(_c,"StreamImpl/MapToObjSpliterator",722),m(1063,1,ct,VMe),s.Ad=function(n){Xgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1063),m(1062,486,bl,ABe),s.zd=function(n){for(;JX(this.b,0);){if(!this.a.zd(new nf))return!1;this.b=ff(this.b,1)}return this.a.zd(n)},s.b=0,v(_c,"StreamImpl/SkipSpliterator",1062),m(1067,1,ct,nf),s.Ad=function(n){},v(_c,"StreamImpl/SkipSpliterator/lambda$0$Type",1067),m(617,1,ct,Ia),s.Ad=function(n){AP(this,n)},v(_c,"StreamImpl/ValueConsumer",617),m(1068,1,ct,ra),s.Ad=function(n){zb()},v(_c,"StreamImpl/lambda$0$Type",1068),m(1069,1,ct,l0),s.Ad=function(n){zb()},v(_c,"StreamImpl/lambda$1$Type",1069),m(1070,1,{},Zke),s.Te=function(n,t){return N2n(this.a,n,t)},v(_c,"StreamImpl/lambda$4$Type",1070),m(1071,1,ct,YMe),s.Ad=function(n){u2n(this.b,this.a,n)},v(_c,"StreamImpl/lambda$5$Type",1071),m(1077,1,ct,eje),s.Ad=function(n){K7n(this.a,u(n,375))},v(_c,"TerminatableStream/lambda$0$Type",1077),m(2104,1,{}),m(1976,1,{},Cb),v("javaemul.internal","ConsoleLogger",1976);var zBn=0;m(2096,1,{}),m(1800,1,ct,xl),s.Ad=function(n){u(n,321)},v(q8,"BowyerWatsonTriangulation/lambda$0$Type",1800),m(1801,1,ct,nje),s.Ad=function(n){ac(this.a,u(n,321).e)},v(q8,"BowyerWatsonTriangulation/lambda$1$Type",1801),m(1802,1,ct,od),s.Ad=function(n){u(n,177)},v(q8,"BowyerWatsonTriangulation/lambda$2$Type",1802),m(1797,1,Yt,tje),s.Le=function(n,t){return L6n(this.a,u(n,177),u(t,177))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(q8,"NaiveMinST/lambda$0$Type",1797),m(440,1,{},wj),v(q8,"NodeMicroLayout",440),m(177,1,{177:1},vy),s.Fb=function(n){var t;return X(n,177)?(t=u(n,177),Ku(this.a,t.a)&&Ku(this.b,t.b)||Ku(this.a,t.b)&&Ku(this.b,t.a)):!1},s.Hb=function(){return Jv(this.a)+Jv(this.b)};var FBn=v(q8,"TEdge",177);m(321,1,{321:1},age),s.Fb=function(n){var t;return X(n,321)?(t=u(n,321),lB(this,t.a)&&lB(this,t.b)&&lB(this,t.c)):!1},s.Hb=function(){return Jv(this.a)+Jv(this.b)+Jv(this.c)},v(q8,"TTriangle",321),m(225,1,{225:1},R$),v(q8,"Tree",225),m(1183,1,{},Q_e),v(zYe,"Scanline",1183);var Tnn=Gi(zYe,FYe);m(1728,1,{},QRe),v(r1,"CGraph",1728),m(320,1,{320:1},G_e),s.b=0,s.c=0,s.d=0,s.g=0,s.i=0,s.k=Ir,v(r1,"CGroup",320),m(814,1,{},goe),v(r1,"CGroup/CGroupBuilder",814),m(60,1,{60:1},fNe),s.Ib=function(){var n;return this.j?Pt(this.j.Kb(this)):(T1(mJ),mJ.o+"@"+(n=xw(this)>>>0,n.toString(16)))},s.f=0,s.i=Ir;var mJ=v(r1,"CNode",60);m(813,1,{},woe),v(r1,"CNode/CNodeBuilder",813);var Onn;m(1551,1,{},f0),s.df=function(n,t){return 0},s.ef=function(n,t){return 0},v(r1,HYe,1551),m(1830,1,{},sh),s.af=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D;for(g=Vi,r=new P(n.a.b);r.ar.d.c||r.d.c==o.d.c&&r.d.b0?n+this.n.d+this.n.a:0},s.gf=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].gf());else if(this.g)c=cde(this,tW(this,null,!0));else for(t=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},s.hf=function(){var n,t,i,r,c;if(this.g)for(n=tW(this,null,!1),i=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=k.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=k.Math.max(r[1],i),ehe(this,No,t.d+n.d+r[0]-(r[1]-i)/2,r)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var wte=0,vJ=0;v(wg,"GridContainerCell",1499),m(461,23,{3:1,35:1,23:1,461:1},UX);var ub,Ih,Uf,$nn=yt(wg,"HorizontalLabelAlignment",461,Ct,o4n,L2n),Rnn;m(318,216,{216:1,318:1},P_e,YRe,T_e),s.ff=function(){return bIe(this)},s.gf=function(){return mfe(this)},s.a=0,s.c=!1;var JBn=v(wg,"LabelCell",318);m(253,337,{216:1,337:1,253:1},UE),s.ff=function(){return eS(this)},s.gf=function(){return nS(this)},s.hf=function(){GW(this)},s.jf=function(){qW(this)},s.b=0,s.c=0,s.d=!1,v(wg,"StripContainerCell",253),m(1655,1,zt,m5),s.Mb=function(n){return zbn(u(n,216))},v(wg,"StripContainerCell/lambda$0$Type",1655),m(1656,1,{},a0),s.We=function(n){return u(n,216).gf()},v(wg,"StripContainerCell/lambda$1$Type",1656),m(1657,1,zt,sd),s.Mb=function(n){return Fbn(u(n,216))},v(wg,"StripContainerCell/lambda$2$Type",1657),m(1658,1,{},Np),s.We=function(n){return u(n,216).ff()},v(wg,"StripContainerCell/lambda$3$Type",1658),m(462,23,{3:1,35:1,23:1,462:1},XX);var Xf,ob,Ea,Bnn=yt(wg,"VerticalLabelAlignment",462,Ct,s4n,P2n),znn;m(787,1,{},Tge),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,s.F=!1,v(fF,"NodeContext",787),m(1497,1,Yt,lh),s.Le=function(n,t){return xTe(u(n,64),u(t,64))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(fF,"NodeContext/0methodref$comparePortSides$Type",1497),m(1498,1,Yt,Ip),s.Le=function(n,t){return SMn(u(n,115),u(t,115))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(fF,"NodeContext/1methodref$comparePortContexts$Type",1498),m(168,23,{3:1,35:1,23:1,168:1},zl);var Fnn,Jnn,Hnn,Gnn,qnn,Unn,Xnn,Knn,Vnn,Ynn,Qnn,Wnn,Znn,etn,ntn,ttn,itn,rtn,ctn,utn,otn,pte,stn=yt(fF,"NodeLabelLocation",168,Ct,DQ,$2n),ltn;m(115,1,{115:1},Uqe),s.a=!1,v(fF,"PortContext",115),m(1502,1,ct,Xg),s.Ad=function(n){zAe(u(n,318))},v(xN,tQe,1502),m(1503,1,zt,Kg),s.Mb=function(n){return!!u(n,115).c},v(xN,iQe,1503),m(1504,1,ct,Vg),s.Ad=function(n){zAe(u(n,115).c)},v(xN,"LabelPlacer/lambda$2$Type",1504);var Zme;m(1501,1,ct,fd),s.Ad=function(n){j2(),vbn(u(n,115))},v(xN,"NodeLabelAndSizeUtilities/lambda$0$Type",1501),m(788,1,ct,Yle),s.Ad=function(n){Dgn(this.b,this.c,this.a,u(n,187))},s.a=!1,s.c=!1,v(xN,"NodeLabelCellCreator/lambda$0$Type",788),m(1500,1,ct,cje),s.Ad=function(n){Ebn(this.a,u(n,187))},v(xN,"PortContextCreator/lambda$0$Type",1500);var yJ;m(1872,1,{},Yg),v(X8,"GreedyRectangleStripOverlapRemover",1872),m(1873,1,Yt,Ob),s.Le=function(n,t){return apn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1873),m(1826,1,{},bxe),s.a=5,s.e=0,v(X8,"RectangleStripOverlapRemover",1826),m(1827,1,Yt,v5),s.Le=function(n,t){return hpn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1827),m(1829,1,Yt,Dp),s.Le=function(n,t){return U3n(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1829),m(409,23,{3:1,35:1,23:1,409:1},f$);var QN,mte,vte,WN,ftn=yt(X8,"RectangleStripOverlapRemover/OverlapRemovalDirection",409,Ct,c6n,R2n),atn;m(226,1,{226:1},aV),v(X8,"RectangleStripOverlapRemover/RectangleNode",226),m(1828,1,ct,uje),s.Ad=function(n){nxn(this.a,u(n,226))},v(X8,"RectangleStripOverlapRemover/lambda$1$Type",1828);var htn=!1,ex,eve;m(1798,1,ct,_p),s.Ad=function(n){eVe(u(n,225))},v(y4,"DepthFirstCompaction/0methodref$compactTree$Type",1798),m(810,1,ct,eoe),s.Ad=function(n){y5n(this.a,u(n,225))},v(y4,"DepthFirstCompaction/lambda$1$Type",810),m(1799,1,ct,FNe),s.Ad=function(n){JEn(this.a,this.b,this.c,u(n,225))},v(y4,"DepthFirstCompaction/lambda$2$Type",1799);var nx,nve;m(68,1,{68:1},Z_e),v(y4,"Node",68),m(1179,1,{},HTe),v(y4,"ScanlineOverlapCheck",1179),m(1180,1,{683:1},S_e),s._e=function(n){Ypn(this,u(n,442))},v(y4,"ScanlineOverlapCheck/OverlapsScanlineHandler",1180),m(1181,1,Yt,uu),s.Le=function(n,t){return Tjn(u(n,68),u(t,68))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(y4,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1181),m(442,1,{442:1},ase),s.a=!1,v(y4,"ScanlineOverlapCheck/Timestamp",442),m(1182,1,Yt,y5),s.Le=function(n,t){return nAn(u(n,442),u(t,442))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(y4,"ScanlineOverlapCheck/lambda$0$Type",1182),m(545,1,{},Qg),v("org.eclipse.elk.alg.common.utils","SVGImage",545),m(748,1,{},ov),v(VZ,rwe,748),m(1164,1,Yt,k5),s.Le=function(n,t){return TTn(u(n,235),u(t,235))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(VZ,uQe,1164),m(1165,1,ct,QMe),s.Ad=function(n){k4n(this.b,this.a,u(n,251))},v(VZ,cwe,1165),m(214,1,ip),v(E3,"AbstractLayoutProvider",214),m(726,214,ip,poe),s.kf=function(n,t){PUe(this,n,t)},v(VZ,"ForceLayoutProvider",726);var HBn=Gi(AN,oQe);m(150,1,{3:1,105:1,150:1},Wg),s.of=function(n,t){return MO(this,n,t)},s.lf=function(){return TIe(this)},s.mf=function(n){return C(this,n)},s.nf=function(n){return wi(this,n)},v(AN,"MapPropertyHolder",150),m(313,150,{3:1,313:1,105:1,150:1}),v(MN,"FParticle",313),m(251,313,{3:1,251:1,313:1,105:1,150:1},bDe),s.Ib=function(){var n;return this.a?(n=pu(this.a.a,this,0),n>=0?"b"+n+"["+iY(this.a)+"]":"b["+iY(this.a)+"]"):"b_"+xw(this)},v(MN,"FBendpoint",251),m(291,150,{3:1,291:1,105:1,150:1},sNe),s.Ib=function(){return iY(this)},v(MN,"FEdge",291),m(235,150,{3:1,235:1,105:1,150:1},eB);var GBn=v(MN,"FGraph",235);m(445,313,{3:1,445:1,313:1,105:1,150:1},wPe),s.Ib=function(){return this.b==null||this.b.length==0?"l["+iY(this.a)+"]":"l_"+this.b},v(MN,"FLabel",445),m(155,313,{3:1,155:1,313:1,105:1,150:1},GTe),s.Ib=function(){return Cae(this)},s.a=0,v(MN,"FNode",155),m(2062,1,{}),s.qf=function(n){cge(this,n)},s.rf=function(){yHe(this)},s.d=0,v(uwe,"AbstractForceModel",2062),m(631,2062,{631:1},lze),s.pf=function(n,t){var i,r,c,o,l;return iVe(this.f,n,t),c=Nr(pc(t.d),n.d),l=k.Math.sqrt(c.a*c.a+c.b*c.b),r=k.Math.max(0,l-bE(n.e)/2-bE(t.e)/2),i=Pqe(this.e,n,t),i>0?o=-$3n(r,this.c)*i:o=Apn(r,this.b)*u(C(n,(Gf(),O4)),15).a,C1(c,o/l),c},s.qf=function(n){cge(this,n),this.a=u(C(n,(Gf(),jJ)),15).a,this.c=ne(re(C(n,EJ))),this.b=ne(re(C(n,kte)))},s.sf=function(n){return n0&&(o-=Pbn(r,this.a)*i),C1(c,o*this.b/l),c},s.qf=function(n){var t,i,r,c,o,l,f;for(cge(this,n),this.b=ne(re(C(n,(Gf(),jte)))),this.c=this.b/u(C(n,jJ),15).a,r=n.e.c.length,o=0,c=0,f=new P(n.e);f.a0},s.a=0,s.b=0,s.c=0,v(uwe,"FruchtermanReingoldModel",632);var T4=Gi(yu,"ILayoutMetaDataProvider");m(844,1,Ka,jC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,aF),""),"Force Model"),"Determines the model for force calculation."),tve),(hg(),Bi)),ive),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,owe),""),"Iterations"),"The number of iterations on the force model."),ye(300)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,swe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,YZ),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Mh),ec),gr),rn(Tn)))),qi(n,YZ,aF,vtn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,QZ),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),ec),gr),rn(Tn)))),qi(n,QZ,aF,wtn),qVe((new rP,n))};var dtn,btn,tve,gtn,wtn,ptn,mtn,vtn;v(SS,"ForceMetaDataProvider",844),m(424,23,{3:1,35:1,23:1,424:1},hse);var yte,kJ,ive=yt(SS,"ForceModelStrategy",424,Ct,pyn,z2n),ytn;m(984,1,Ka,rP),s.tf=function(n){qVe(n)};var ktn,jtn,rve,jJ,cve,Etn,Stn,xtn,Atn,uve,Mtn,ove,sve,Ctn,O4,Ttn,kte,lve,Otn,Ntn,EJ,jte,Itn,Dtn,_tn,fve,Ltn;v(SS,"ForceOptions",984),m(985,1,{},sv),s.uf=function(){var n;return n=new poe,n},s.vf=function(n){},v(SS,"ForceOptions/ForceFactory",985);var ZN,tx,N4,SJ;m(845,1,Ka,cP),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fwe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),($n(),!1)),(hg(),xr)),Qi),rn((kh(),fr))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,awe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[Aa]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),ave),Bi),mve),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dwe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Mh),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),ye(oi)),dc),jr),rn(Tn)))),vVe((new AU,n))};var Ptn,$tn,ave,Rtn,Btn,ztn;v(SS,"StressMetaDataProvider",845),m(988,1,Ka,AU),s.tf=function(n){vVe(n)};var xJ,hve,dve,bve,gve,wve,Ftn,Jtn,Htn,Gtn,pve,qtn;v(SS,"StressOptions",988),m(989,1,{},j5),s.uf=function(){var n;return n=new lNe,n},s.vf=function(n){},v(SS,"StressOptions/StressFactory",989),m(1080,214,ip,lNe),s.kf=function(n,t){var i,r,c,o,l;for(t.Tg(hQe,1),ze(Be(ke(n,(FO(),gve))))?ze(Be(ke(n,pve)))||KT((i=new wj((Fb(),new k0(n))),i)):PUe(new poe,n,t.dh(1)),c=Rze(n),r=OKe(this.a,c),l=r.Jc();l.Ob();)o=u(l.Pb(),235),!(o.e.c.length<=1)&&(WLn(this.b,o),SOn(this.b),Ao(o.d,new E5));c=JVe(r),QVe(c),t.Ug()},v(bF,"StressLayoutProvider",1080),m(1081,1,ct,E5),s.Ad=function(n){bge(u(n,445))},v(bF,"StressLayoutProvider/lambda$0$Type",1081),m(986,1,{},sxe),s.c=0,s.e=0,s.g=0,v(bF,"StressMajorization",986),m(384,23,{3:1,35:1,23:1,384:1},KX);var Ete,Ste,xte,mve=yt(bF,"StressMajorization/Dimension",384,Ct,c4n,F2n),Utn;m(987,1,Yt,oje),s.Le=function(n,t){return p2n(this.a,u(n,155),u(t,155))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(bF,"StressMajorization/lambda$0$Type",987),m(1161,1,{},ELe),v(E4,"ElkLayered",1161),m(1162,1,ct,sje),s.Ad=function(n){hTn(this.a,u(n,37))},v(E4,"ElkLayered/lambda$0$Type",1162),m(1163,1,ct,lje),s.Ad=function(n){E2n(this.a,u(n,37))},v(E4,"ElkLayered/lambda$1$Type",1163),m(1246,1,{},JTe);var Xtn,Ktn,Vtn;v(E4,"GraphConfigurator",1246),m(757,1,ct,noe),s.Ad=function(n){$Ge(this.a,u(n,9))},v(E4,"GraphConfigurator/lambda$0$Type",757),m(758,1,{},w1),s.Kb=function(n){return Qde(),new pn(null,new yn(u(n,25).a,16))},v(E4,"GraphConfigurator/lambda$1$Type",758),m(759,1,ct,toe),s.Ad=function(n){$Ge(this.a,u(n,9))},v(E4,"GraphConfigurator/lambda$2$Type",759),m(1079,214,ip,fxe),s.kf=function(n,t){var i;i=OLn(new wxe,n),ue(ke(n,(Oe(),Am)))===ue((F1(),e0))?Bjn(this.a,i,t):yOn(this.a,i,t),t.Zg()||LVe(new SC,i)},v(E4,"LayeredLayoutProvider",1079),m(363,23,{3:1,35:1,23:1,363:1},aT);var Kf,o1,eo,no,Pc,vve=yt(E4,"LayeredPhases",363,Ct,n9n,J2n),Ytn;m(1683,1,{},TBe),s.i=0;var Qtn;v(DN,"ComponentsToCGraphTransformer",1683);var Wtn;m(1684,1,{},Zs),s.wf=function(n,t){return k.Math.min(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},s.xf=function(n,t){return k.Math.min(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},v(DN,"ComponentsToCGraphTransformer/1",1684),m(82,1,{82:1}),s.i=0,s.k=!0,s.o=Ir;var Ate=v(CS,"CNode",82);m(460,82,{460:1,82:1},ble,Ade),s.Ib=function(){return""},v(DN,"ComponentsToCGraphTransformer/CRectNode",460),m(1652,1,{},Af);var Mte,Cte;v(DN,"OneDimensionalComponentsCompaction",1652),m(1653,1,{},vt),s.Kb=function(n){return $yn(u(n,49))},s.Fb=function(n){return this===n},v(DN,"OneDimensionalComponentsCompaction/lambda$0$Type",1653),m(1654,1,{},kc),s.Kb=function(n){return Gjn(u(n,49))},s.Fb=function(n){return this===n},v(DN,"OneDimensionalComponentsCompaction/lambda$1$Type",1654),m(1686,1,{},ADe),v(CS,"CGraph",1686),m(194,1,{194:1},OQ),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Ir,v(CS,"CGroup",194),m(1685,1,{},tc),s.wf=function(n,t){return k.Math.max(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},s.xf=function(n,t){return k.Math.max(n.a!=null?ne(n.a):n.c.i,t.a!=null?ne(t.a):t.c.i)},v(CS,HYe,1685),m(1687,1,{},Rqe),s.d=!1;var Ztn,Tte=v(CS,UYe,1687);m(1688,1,{},ck),s.Kb=function(n){return nse(),$n(),u(u(n,49).a,82).d.e!=0},s.Fb=function(n){return this===n},v(CS,XYe,1688),m(817,1,{},yfe),s.a=!1,s.b=!1,s.c=!1,s.d=!1,v(CS,KYe,817),m(1868,1,{},zIe),v(gF,VYe,1868);var eI=Gi(pg,FYe);m(1869,1,{377:1},E_e),s._e=function(n){MIn(this,u(n,465))},v(gF,YYe,1869),m(1870,1,Yt,h0),s.Le=function(n,t){return O5n(u(n,82),u(t,82))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(gF,QYe,1870),m(465,1,{465:1},dse),s.a=!1,v(gF,WYe,465),m(1871,1,Yt,Zg),s.Le=function(n,t){return tAn(u(n,465),u(t,465))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(gF,ZYe,1871),m(146,1,{146:1},S9,lfe),s.Fb=function(n){var t;return n==null||qBn!=Us(n)?!1:(t=u(n,146),Ku(this.c,t.c)&&Ku(this.d,t.d))},s.Hb=function(){return JB(F(z(Mr,1),Nn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+To+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var qBn=v(pg,"Point",146);m(408,23,{3:1,35:1,23:1,408:1},h$);var dp,pm,D3,mm,ein=yt(pg,"Point/Quadrant",408,Ct,u6n,B2n),nin;m(1674,1,{},axe),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null;var tin,iin,rin,cin,uin;v(pg,"RectilinearConvexHull",1674),m(569,1,{377:1},lz),s._e=function(n){U9n(this,u(n,146))},s.b=0;var yve;v(pg,"RectilinearConvexHull/MaximalElementsEventHandler",569),m(1676,1,Yt,b6),s.Le=function(n,t){return C5n(re(n),re(t))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1676),m(1675,1,{377:1},LRe),s._e=function(n){HNn(this,u(n,146))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,v(pg,"RectilinearConvexHull/RectangleEventHandler",1675),m(1677,1,Yt,Lp),s.Le=function(n,t){return O4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$0$Type",1677),m(1678,1,Yt,Pp),s.Le=function(n,t){return N4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$1$Type",1678),m(1679,1,Yt,$p),s.Le=function(n,t){return D4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$2$Type",1679),m(1680,1,Yt,Rp),s.Le=function(n,t){return I4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$3$Type",1680),m(1681,1,Yt,Al),s.Le=function(n,t){return BMn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$4$Type",1681),m(1682,1,{},W_e),v(pg,"Scanline",1682),m(2066,1,{}),v(Va,"AbstractGraphPlacer",2066),m(336,1,{336:1},DOe),s.Df=function(n){return this.Ef(n)?(gn(this.b,u(C(n,(ve(),Y1)),22),n),!0):!1},s.Ef=function(n){var t,i,r,c;for(t=u(C(n,(ve(),Y1)),22),c=u(vi(Ai,t),22),r=c.Jc();r.Ob();)if(i=u(r.Pb(),22),!u(vi(this.b,i),16).dc())return!1;return!0};var Ai;v(Va,"ComponentGroup",336),m(766,2066,{},moe),s.Ff=function(n){var t,i;for(i=new P(this.a);i.ai&&(p=0,y+=f+r,f=0),h=o.c,I8(o,p+h.a,y+h.b),aa(h),c=k.Math.max(c,p+g.a),f=k.Math.max(f,g.b),p+=g.a+r;t.f.a=c,t.f.b=y+f},s.Hf=function(n,t){var i,r,c,o,l;if(ue(C(t,(Oe(),px)))===ue((t4(),ix))){for(r=n.Jc();r.Ob();){for(i=u(r.Pb(),37),l=0,o=new P(i.a);o.ai&&!u(C(o,(ve(),Y1)),22).Gc((Ie(),Vn))||h&&u(C(h,(ve(),Y1)),22).Gc((Ie(),nt))||u(C(o,(ve(),Y1)),22).Gc((Ie(),Yn)))&&(S=y,A+=f+r,f=0),g=o.c,u(C(o,(ve(),Y1)),22).Gc((Ie(),Vn))&&(S=c+r),I8(o,S+g.a,A+g.b),c=k.Math.max(c,S+p.a),u(C(o,Y1),22).Gc(bt)&&(y=k.Math.max(y,S+p.a+r)),aa(g),f=k.Math.max(f,p.b),S+=p.a+r,h=o;t.f.a=c,t.f.b=A+f},s.Hf=function(n,t){},v(Va,"ModelOrderRowGraphPlacer",1277),m(1275,1,Yt,DA),s.Le=function(n,t){return U7n(u(n,37),u(t,37))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Va,"SimpleRowGraphPlacer/1",1275);var sin;m(1245,1,Ah,g6),s.Lb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},s.Fb=function(n){return this===n},s.Mb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},v(wF,"CompoundGraphPostprocessor/1",1245),m(1244,1,Mi,pxe),s.If=function(n,t){tHe(this,u(n,37),t)},v(wF,"CompoundGraphPreprocessor",1244),m(444,1,{444:1},HFe),s.c=!1,v(wF,"CompoundGraphPreprocessor/ExternalPort",444),m(250,1,{250:1},eR),s.Ib=function(){return RK(this.c)+":"+Iqe(this.b)},v(wF,"CrossHierarchyEdge",250),m(764,1,Yt,ioe),s.Le=function(n,t){return Cxn(this,u(n,250),u(t,250))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(wF,"CrossHierarchyEdgeComparator",764),m(246,150,{3:1,246:1,105:1,150:1}),s.p=0,v(Zu,"LGraphElement",246),m(17,246,{3:1,17:1,246:1,105:1,150:1},Dw),s.Ib=function(){return Iqe(this)};var v7=v(Zu,"LEdge",17);m(37,246,{3:1,20:1,37:1,246:1,105:1,150:1},Bhe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.b)},s.Ib=function(){return this.b.c.length==0?"G-unlayered"+Ga(this.a):this.a.c.length==0?"G-layered"+Ga(this.b):"G[layerless"+Ga(this.a)+", layers"+Ga(this.b)+"]"};var lin=v(Zu,"LGraph",37),fin;m(655,1,{}),s.Jf=function(){return this.e.n},s.mf=function(n){return C(this.e,n)},s.Kf=function(){return this.e.o},s.Lf=function(){return this.e.p},s.nf=function(n){return wi(this.e,n)},s.Mf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},s.Nf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},s.Of=function(n){this.e.p=n},v(Zu,"LGraphAdapters/AbstractLShapeAdapter",655),m(464,1,{837:1},pj),s.Pf=function(){var n,t;if(!this.b)for(this.b=Gh(this.a.b.c.length),t=new P(this.a.b);t.a0&&vFe((Wn(t-1,n.length),n.charCodeAt(t-1)),mQe);)--t;if(o> ",n),mz(i)),Kt(uo((n.a+="[",n),i.i),"]")),n.a},s.c=!0,s.d=!1;var xve,Ave,Mve,Cve,Tve,Ove,hin=v(Zu,"LPort",12);m(399,1,n1,h9),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.e),new fje(n)},v(Zu,"LPort/1",399),m(1273,1,Fr,fje),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).c},s.Ob=function(){return gu(this.a)},s.Qb=function(){aE(this.a)},v(Zu,"LPort/1/1",1273),m(365,1,n1,oy),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.g),new roe(n)},v(Zu,"LPort/2",365),m(763,1,Fr,roe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).d},s.Ob=function(){return gu(this.a)},s.Qb=function(){aE(this.a)},v(Zu,"LPort/2/1",763),m(1266,1,n1,ZMe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new Ra(this)},v(Zu,"LPort/CombineIter",1266),m(207,1,Fr,Ra),s.Nb=function(n){Zr(this,n)},s.Qb=function(){IAe()},s.Ob=function(){return tE(this)},s.Pb=function(){return gu(this.a)?L(this.a):L(this.b)},v(Zu,"LPort/CombineIter/1",207),m(1267,1,Ah,x5),s.Lb=function(n){return QIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).g.c.length!=0},v(Zu,"LPort/lambda$0$Type",1267),m(1268,1,Ah,d0),s.Lb=function(n){return WIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).e.c.length!=0},v(Zu,"LPort/lambda$1$Type",1268),m(1269,1,Ah,Ph),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},v(Zu,"LPort/lambda$2$Type",1269),m(1270,1,Ah,lk),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),nt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),nt)},v(Zu,"LPort/lambda$3$Type",1270),m(1271,1,Ah,_A),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),bt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),bt)},v(Zu,"LPort/lambda$4$Type",1271),m(1272,1,Ah,A5),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},v(Zu,"LPort/lambda$5$Type",1272),m(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},Xu),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.a)},s.Ib=function(){return"L_"+pu(this.b.b,this,0)+Ga(this.a)},v(Zu,"Layer",25),m(1659,1,{},F$e),s.b=0,v(Zu,"Tarjan",1659),m(1282,1,{},wxe),v(Gd,jQe,1282),m(1286,1,{},fk),s.Kb=function(n){return iu(u(n,84))},v(Gd,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1286),m(1289,1,{},fv),s.Kb=function(n){return iu(u(n,84))},v(Gd,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1289),m(1283,1,ct,aje),s.Ad=function(n){Vqe(this.a,u(n,125))},v(Gd,cwe,1283),m(1284,1,ct,hje),s.Ad=function(n){Vqe(this.a,u(n,125))},v(Gd,EQe,1284),m(1285,1,{},$h),s.Kb=function(n){return new pn(null,new yn(rae(u(n,85)),16))},v(Gd,SQe,1285),m(1287,1,zt,dje),s.Mb=function(n){return vwn(this.a,u(n,26))},v(Gd,xQe,1287),m(1288,1,{},av),s.Kb=function(n){return new pn(null,new yn(x5n(u(n,85)),16))},v(Gd,"ElkGraphImporter/lambda$5$Type",1288),m(1290,1,zt,bje),s.Mb=function(n){return ywn(this.a,u(n,26))},v(Gd,"ElkGraphImporter/lambda$7$Type",1290),m(1291,1,zt,ak),s.Mb=function(n){return z5n(u(n,85))},v(Gd,"ElkGraphImporter/lambda$8$Type",1291),m(1261,1,{},SC);var din;v(Gd,"ElkGraphLayoutTransferrer",1261),m(1262,1,zt,gje),s.Mb=function(n){return a2n(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$0$Type",1262),m(1263,1,ct,wje),s.Ad=function(n){sT(),Ce(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$1$Type",1263),m(1264,1,zt,pje),s.Mb=function(n){return Qpn(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$2$Type",1264),m(1265,1,ct,mje),s.Ad=function(n){sT(),Ce(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$3$Type",1265),m(806,1,{},$le),v(Zn,"BiLinkedHashMultiMap",806),m(1511,1,Mi,w6),s.If=function(n,t){a7n(u(n,37),t)},v(Zn,"CommentNodeMarginCalculator",1511),m(1512,1,{},nw),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"CommentNodeMarginCalculator/lambda$0$Type",1512),m(1513,1,ct,ED),s.Ad=function(n){MLn(u(n,9))},v(Zn,"CommentNodeMarginCalculator/lambda$1$Type",1513),m(1514,1,Mi,LA),s.If=function(n,t){_In(u(n,37),t)},v(Zn,"CommentPostprocessor",1514),m(1515,1,Mi,SD),s.If=function(n,t){eRn(u(n,37),t)},v(Zn,"CommentPreprocessor",1515),m(1516,1,Mi,M5),s.If=function(n,t){XNn(u(n,37),t)},v(Zn,"ConstraintsPostprocessor",1516),m(1517,1,Mi,oq),s.If=function(n,t){P7n(u(n,37),t)},v(Zn,"EdgeAndLayerConstraintEdgeReverser",1517),m(1518,1,Mi,xD),s.If=function(n,t){aEn(u(n,37),t)},v(Zn,"EndLabelPostprocessor",1518),m(1519,1,{},AD),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPostprocessor/lambda$0$Type",1519),m(1520,1,zt,PA),s.Mb=function(n){return V6n(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$1$Type",1520),m(1521,1,ct,sq),s.Ad=function(n){iAn(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$2$Type",1521),m(1522,1,Mi,lq),s.If=function(n,t){BCn(u(n,37),t)},v(Zn,"EndLabelPreprocessor",1522),m(1523,1,{},hk),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPreprocessor/lambda$0$Type",1523),m(1524,1,ct,JNe),s.Ad=function(n){_gn(this.a,this.b,this.c,u(n,9))},s.a=0,s.b=0,s.c=!1,v(Zn,"EndLabelPreprocessor/lambda$1$Type",1524),m(1525,1,zt,tw),s.Mb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),X7))},v(Zn,"EndLabelPreprocessor/lambda$2$Type",1525),m(1526,1,ct,vje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$3$Type",1526),m(1527,1,zt,$A),s.Mb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),Gm))},v(Zn,"EndLabelPreprocessor/lambda$4$Type",1527),m(1528,1,ct,yje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$5$Type",1528),m(1576,1,Mi,MU),s.If=function(n,t){Ajn(u(n,37),t)};var bin;v(Zn,"EndLabelSorter",1576),m(1577,1,Yt,RA),s.Le=function(n,t){return XEn(u(n,455),u(t,455))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"EndLabelSorter/1",1577),m(455,1,{455:1},b_e),v(Zn,"EndLabelSorter/LabelGroup",455),m(1578,1,{},C5),s.Kb=function(n){return oT(),new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelSorter/lambda$0$Type",1578),m(1579,1,zt,T5),s.Mb=function(n){return oT(),u(n,9).k==(Fn(),Wi)},v(Zn,"EndLabelSorter/lambda$1$Type",1579),m(1580,1,ct,MD),s.Ad=function(n){ZMn(u(n,9))},v(Zn,"EndLabelSorter/lambda$2$Type",1580),m(1581,1,zt,BA),s.Mb=function(n){return oT(),ue(C(u(n,70),(Oe(),_h)))===ue((za(),Gm))},v(Zn,"EndLabelSorter/lambda$3$Type",1581),m(1582,1,zt,CD),s.Mb=function(n){return oT(),ue(C(u(n,70),(Oe(),_h)))===ue((za(),X7))},v(Zn,"EndLabelSorter/lambda$4$Type",1582),m(1529,1,Mi,p6),s.If=function(n,t){GLn(this,u(n,37))},s.b=0,s.c=0,v(Zn,"FinalSplineBendpointsCalculator",1529),m(1530,1,{},iw),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"FinalSplineBendpointsCalculator/lambda$0$Type",1530),m(1531,1,{},zA),s.Kb=function(n){return new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Zn,"FinalSplineBendpointsCalculator/lambda$1$Type",1531),m(1532,1,zt,m6),s.Mb=function(n){return!uc(u(n,17))},v(Zn,"FinalSplineBendpointsCalculator/lambda$2$Type",1532),m(1533,1,zt,zp),s.Mb=function(n){return wi(u(n,17),(ve(),Ag))},v(Zn,"FinalSplineBendpointsCalculator/lambda$3$Type",1533),m(1534,1,ct,kje),s.Ad=function(n){WDn(this.a,u(n,132))},v(Zn,"FinalSplineBendpointsCalculator/lambda$4$Type",1534),m(1535,1,ct,FA),s.Ad=function(n){KO(u(n,17).a)},v(Zn,"FinalSplineBendpointsCalculator/lambda$5$Type",1535),m(790,1,Mi,coe),s.If=function(n,t){RPn(this,u(n,37),t)},v(Zn,"GraphTransformer",790),m(502,23,{3:1,35:1,23:1,502:1},bse);var Dte,tI,gin=yt(Zn,"GraphTransformer/Mode",502,Ct,myn,q2n),win;m(1536,1,Mi,dk),s.If=function(n,t){uNn(u(n,37),t)},v(Zn,"HierarchicalNodeResizingProcessor",1536),m(1537,1,Mi,TD),s.If=function(n,t){W8n(u(n,37),t)},v(Zn,"HierarchicalPortConstraintProcessor",1537),m(1538,1,Yt,bk),s.Le=function(n,t){return dSn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortConstraintProcessor/NodeComparator",1538),m(1539,1,Mi,gk),s.If=function(n,t){q_n(u(n,37),t)},v(Zn,"HierarchicalPortDummySizeProcessor",1539),m(1540,1,Mi,OD),s.If=function(n,t){rDn(this,u(n,37),t)},s.a=0,v(Zn,"HierarchicalPortOrthogonalEdgeRouter",1540),m(1541,1,Yt,Rh),s.Le=function(n,t){return dpn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/1",1541),m(1542,1,Yt,hv),s.Le=function(n,t){return Q9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/2",1542),m(1543,1,Mi,wk),s.If=function(n,t){PMn(u(n,37),t)},v(Zn,"HierarchicalPortPositionProcessor",1543),m(1544,1,Mi,EC),s.If=function(n,t){$Rn(this,u(n,37))},s.a=0,s.c=0;var AJ,MJ;v(Zn,"HighDegreeNodeLayeringProcessor",1544),m(566,1,{566:1},v6),s.b=-1,s.d=-1,v(Zn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",566),m(1545,1,{},fq),s.Kb=function(n){return LT(),cr(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1545),m(1546,1,{},JA),s.Kb=function(n){return LT(),Ii(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1546),m(1552,1,Mi,HA),s.If=function(n,t){P_n(this,u(n,37),t)},v(Zn,"HyperedgeDummyMerger",1552),m(791,1,{},efe),s.a=!1,s.b=!1,s.c=!1,v(Zn,"HyperedgeDummyMerger/MergeState",791),m(1553,1,{},y6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"HyperedgeDummyMerger/lambda$0$Type",1553),m(1554,1,{},pk),s.Kb=function(n){return new pn(null,new yn(u(n,9).j,16))},v(Zn,"HyperedgeDummyMerger/lambda$1$Type",1554),m(1555,1,ct,ND),s.Ad=function(n){u(n,12).p=-1},v(Zn,"HyperedgeDummyMerger/lambda$2$Type",1555),m(1556,1,Mi,hq),s.If=function(n,t){L_n(u(n,37),t)},v(Zn,"HypernodesProcessor",1556),m(1557,1,Mi,dq),s.If=function(n,t){G_n(u(n,37),t)},v(Zn,"InLayerConstraintProcessor",1557),m(1558,1,Mi,GA),s.If=function(n,t){A7n(u(n,37),t)},v(Zn,"InnermostNodeMarginCalculator",1558),m(1559,1,Mi,bq),s.If=function(n,t){Y$n(this,u(n,37))},s.a=Ir,s.b=Ir,s.c=Vi,s.d=Vi;var UBn=v(Zn,"InteractiveExternalPortPositioner",1559);m(1560,1,{},gq),s.Kb=function(n){return u(n,17).d.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$0$Type",1560),m(1561,1,{},jje),s.Kb=function(n){return bpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$1$Type",1561),m(1562,1,{},wq),s.Kb=function(n){return u(n,17).c.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$2$Type",1562),m(1563,1,{},Eje),s.Kb=function(n){return gpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$3$Type",1563),m(1564,1,{},Sje),s.Kb=function(n){return l2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$4$Type",1564),m(1565,1,{},xje),s.Kb=function(n){return f2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$5$Type",1565),m(79,23,{3:1,35:1,23:1,79:1,196:1},br),s.bg=function(){switch(this.g){case 15:return new uw;case 22:return new Up;case 48:return new aM;case 29:case 36:return new Sq;case 33:return new w6;case 43:return new LA;case 1:return new SD;case 42:return new M5;case 57:return new coe((Z9(),tI));case 0:return new coe((Z9(),Dte));case 2:return new oq;case 55:return new xD;case 34:return new lq;case 52:return new p6;case 56:return new dk;case 13:return new TD;case 39:return new gk;case 45:return new OD;case 41:return new wk;case 9:return new EC;case 50:return new AOe;case 38:return new HA;case 44:return new hq;case 28:return new dq;case 31:return new GA;case 3:return new bq;case 18:return new aq;case 30:return new pq;case 5:return new CU;case 51:return new yq;case 35:return new n9;case 37:return new xq;case 53:return new MU;case 11:return new DD;case 7:return new TU;case 40:return new Aq;case 46:return new Mq;case 16:return new Cq;case 10:return new CCe;case 49:return new Iq;case 21:return new Dq;case 23:return new GP((og(),Nx));case 8:return new UA;case 12:return new Lq;case 4:return new _D;case 19:return new uP;case 17:return new zD;case 54:return new j6;case 6:return new Jq;case 25:return new vxe;case 26:return new lM;case 47:return new KA;case 32:return new dNe;case 14:return new KD;case 27:return new Yq;case 20:return new x6;case 24:return new GP((og(),DH));default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var Nve,Ive,Dve,_ve,Lve,Pve,$ve,Rve,Bve,zve,Fve,_3,CJ,TJ,Jve,Hve,Gve,qve,Uve,Xve,Kve,cx,Vve,Yve,Qve,Wve,Zve,_te,OJ,NJ,e3e,IJ,DJ,_J,y7,vm,ym,n3e,LJ,PJ,t3e,$J,RJ,i3e,r3e,c3e,u3e,BJ,Lte,I4,zJ,FJ,JJ,HJ,o3e,s3e,l3e,f3e,XBn=yt(Zn,iee,79,Ct,KUe,U2n),pin;m(1566,1,Mi,aq),s.If=function(n,t){X$n(u(n,37),t)},v(Zn,"InvertedPortProcessor",1566),m(1567,1,Mi,pq),s.If=function(n,t){UDn(u(n,37),t)},v(Zn,"LabelAndNodeSizeProcessor",1567),m(1568,1,zt,mq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"LabelAndNodeSizeProcessor/lambda$0$Type",1568),m(1569,1,zt,ID),s.Mb=function(n){return u(n,9).k==(Fn(),wr)},v(Zn,"LabelAndNodeSizeProcessor/lambda$1$Type",1569),m(1570,1,ct,qNe),s.Ad=function(n){Lgn(this.b,this.a,this.c,u(n,9))},s.a=!1,s.c=!1,v(Zn,"LabelAndNodeSizeProcessor/lambda$2$Type",1570),m(1571,1,Mi,CU),s.If=function(n,t){x$n(u(n,37),t)};var min;v(Zn,"LabelDummyInserter",1571),m(1572,1,Ah,vq),s.Lb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),U7))},s.Fb=function(n){return this===n},s.Mb=function(n){return ue(C(u(n,70),(Oe(),_h)))===ue((za(),U7))},v(Zn,"LabelDummyInserter/1",1572),m(1573,1,Mi,yq),s.If=function(n,t){h$n(u(n,37),t)},v(Zn,"LabelDummyRemover",1573),m(1574,1,zt,kq),s.Mb=function(n){return ze(Be(C(u(n,70),(Oe(),U3))))},v(Zn,"LabelDummyRemover/lambda$0$Type",1574),m(1332,1,Mi,n9),s.If=function(n,t){u$n(this,u(n,37),t)},s.a=null;var Pte;v(Zn,"LabelDummySwitcher",1332),m(294,1,{294:1},GXe),s.c=0,s.d=null,s.f=0,v(Zn,"LabelDummySwitcher/LabelDummyInfo",294),m(1333,1,{},jq),s.Kb=function(n){return Vy(),new pn(null,new yn(u(n,25).a,16))},v(Zn,"LabelDummySwitcher/lambda$0$Type",1333),m(1334,1,zt,qA),s.Mb=function(n){return Vy(),u(n,9).k==(Fn(),Uu)},v(Zn,"LabelDummySwitcher/lambda$1$Type",1334),m(1335,1,{},Aje),s.Kb=function(n){return Wpn(this.a,u(n,9))},v(Zn,"LabelDummySwitcher/lambda$2$Type",1335),m(1336,1,ct,Mje),s.Ad=function(n){e5n(this.a,u(n,294))},v(Zn,"LabelDummySwitcher/lambda$3$Type",1336),m(1337,1,Yt,Eq),s.Le=function(n,t){return T3n(u(n,294),u(t,294))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"LabelDummySwitcher/lambda$4$Type",1337),m(789,1,Mi,Sq),s.If=function(n,t){N9n(u(n,37),t)},v(Zn,"LabelManagementProcessor",789),m(1575,1,Mi,xq),s.If=function(n,t){EIn(u(n,37),t)},v(Zn,"LabelSideSelector",1575),m(1583,1,Mi,DD),s.If=function(n,t){sLn(u(n,37),t)},v(Zn,"LayerConstraintPostprocessor",1583),m(1584,1,Mi,TU),s.If=function(n,t){uOn(u(n,37),t)};var a3e;v(Zn,"LayerConstraintPreprocessor",1584),m(367,23,{3:1,35:1,23:1,367:1},b$);var iI,GJ,qJ,$te,vin=yt(Zn,"LayerConstraintPreprocessor/HiddenNodeConnections",367,Ct,l6n,Cmn),yin;m(1585,1,Mi,Aq),s.If=function(n,t){APn(u(n,37),t)},v(Zn,"LayerSizeAndGraphHeightCalculator",1585),m(1586,1,Mi,Mq),s.If=function(n,t){oNn(u(n,37),t)},v(Zn,"LongEdgeJoiner",1586),m(1587,1,Mi,Cq),s.If=function(n,t){tPn(u(n,37),t)},v(Zn,"LongEdgeSplitter",1587),m(1588,1,Mi,CCe),s.If=function(n,t){B$n(this,u(n,37),t)},s.e=0,s.f=0,s.j=0,s.k=0,s.n=0,s.o=0;var kin,jin;v(Zn,"NodePromotion",1588),m(1589,1,Yt,Tq),s.Le=function(n,t){return Okn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NodePromotion/1",1589),m(1590,1,Yt,Oq),s.Le=function(n,t){return Nkn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NodePromotion/2",1590),m(1591,1,{},Nq),s.Kb=function(n){return u(n,49),W$(),$n(),!0},s.Fb=function(n){return this===n},v(Zn,"NodePromotion/lambda$0$Type",1591),m(1592,1,{},Cje),s.Kb=function(n){return Pyn(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$1$Type",1592),m(1593,1,{},Tje),s.Kb=function(n){return Lyn(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$2$Type",1593),m(1594,1,Mi,Iq),s.If=function(n,t){CRn(u(n,37),t)},v(Zn,"NorthSouthPortPostprocessor",1594),m(1595,1,Mi,Dq),s.If=function(n,t){_Rn(u(n,37),t)},v(Zn,"NorthSouthPortPreprocessor",1595),m(1596,1,Yt,_q),s.Le=function(n,t){return V7n(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NorthSouthPortPreprocessor/lambda$0$Type",1596),m(1597,1,Mi,UA),s.If=function(n,t){x_n(u(n,37),t)},v(Zn,"PartitionMidprocessor",1597),m(1598,1,zt,k6),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionMidprocessor/lambda$0$Type",1598),m(1599,1,ct,Oje),s.Ad=function(n){B5n(this.a,u(n,9))},v(Zn,"PartitionMidprocessor/lambda$1$Type",1599),m(1600,1,Mi,Lq),s.If=function(n,t){CNn(u(n,37),t)},v(Zn,"PartitionPostprocessor",1600),m(1601,1,Mi,_D),s.If=function(n,t){NDn(u(n,37),t)},v(Zn,"PartitionPreprocessor",1601),m(1602,1,zt,LD),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionPreprocessor/lambda$0$Type",1602),m(1603,1,zt,PD),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionPreprocessor/lambda$1$Type",1603),m(1604,1,{},$D),s.Kb=function(n){return new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Zn,"PartitionPreprocessor/lambda$2$Type",1604),m(1605,1,zt,Nje),s.Mb=function(n){return mgn(this.a,u(n,17))},v(Zn,"PartitionPreprocessor/lambda$3$Type",1605),m(1606,1,ct,RD),s.Ad=function(n){skn(u(n,17))},v(Zn,"PartitionPreprocessor/lambda$4$Type",1606),m(1607,1,zt,Ije),s.Mb=function(n){return n5n(this.a,u(n,9))},s.a=0,v(Zn,"PartitionPreprocessor/lambda$5$Type",1607),m(1608,1,Mi,uP),s.If=function(n,t){c_n(u(n,37),t)};var h3e,Ein,Sin,xin,d3e,b3e;v(Zn,"PortListSorter",1608),m(1609,1,{},O5),s.Kb=function(n){return u8(),u(n,12).e},v(Zn,"PortListSorter/lambda$0$Type",1609),m(1610,1,{},Pq),s.Kb=function(n){return u8(),u(n,12).g},v(Zn,"PortListSorter/lambda$1$Type",1610),m(1611,1,Yt,$q),s.Le=function(n,t){return mPe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$2$Type",1611),m(1612,1,Yt,Rq),s.Le=function(n,t){return kxn(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$3$Type",1612),m(1613,1,Yt,BD),s.Le=function(n,t){return wKe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$4$Type",1613),m(1614,1,Mi,zD),s.If=function(n,t){dOn(u(n,37),t)},v(Zn,"PortSideProcessor",1614),m(1615,1,Mi,j6),s.If=function(n,t){pDn(u(n,37),t)},v(Zn,"ReversedEdgeRestorer",1615),m(1620,1,Mi,vxe),s.If=function(n,t){rxn(this,u(n,37),t)},v(Zn,"SelfLoopPortRestorer",1620),m(1621,1,{},E6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPortRestorer/lambda$0$Type",1621),m(1622,1,zt,Bq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPortRestorer/lambda$1$Type",1622),m(1623,1,zt,mk),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopPortRestorer/lambda$2$Type",1623),m(1624,1,{},FD),s.Kb=function(n){return u(C(u(n,9),(ve(),vp)),338)},v(Zn,"SelfLoopPortRestorer/lambda$3$Type",1624),m(1625,1,ct,Dje),s.Ad=function(n){dCn(this.a,u(n,338))},v(Zn,"SelfLoopPortRestorer/lambda$4$Type",1625),m(792,1,ct,XA),s.Ad=function(n){SCn(u(n,107))},v(Zn,"SelfLoopPortRestorer/lambda$5$Type",792),m(1627,1,Mi,KA),s.If=function(n,t){wSn(u(n,37),t)},v(Zn,"SelfLoopPostProcessor",1627),m(1628,1,{},VA),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPostProcessor/lambda$0$Type",1628),m(1629,1,zt,JD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPostProcessor/lambda$1$Type",1629),m(1630,1,zt,HD),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopPostProcessor/lambda$2$Type",1630),m(1631,1,ct,GD),s.Ad=function(n){yAn(u(n,9))},v(Zn,"SelfLoopPostProcessor/lambda$3$Type",1631),m(1632,1,{},zq),s.Kb=function(n){return new pn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPostProcessor/lambda$4$Type",1632),m(1633,1,ct,_je),s.Ad=function(n){i6n(this.a,u(n,341))},v(Zn,"SelfLoopPostProcessor/lambda$5$Type",1633),m(1634,1,zt,Fq),s.Mb=function(n){return!!u(n,107).i},v(Zn,"SelfLoopPostProcessor/lambda$6$Type",1634),m(1635,1,ct,Lje),s.Ad=function(n){Lbn(this.a,u(n,107))},v(Zn,"SelfLoopPostProcessor/lambda$7$Type",1635),m(1616,1,Mi,Jq),s.If=function(n,t){UOn(u(n,37),t)},v(Zn,"SelfLoopPreProcessor",1616),m(1617,1,{},Hq),s.Kb=function(n){return new pn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPreProcessor/lambda$0$Type",1617),m(1618,1,{},Gq),s.Kb=function(n){return u(n,341).a},v(Zn,"SelfLoopPreProcessor/lambda$1$Type",1618),m(1619,1,ct,p1),s.Ad=function(n){$wn(u(n,17))},v(Zn,"SelfLoopPreProcessor/lambda$2$Type",1619),m(1636,1,Mi,dNe),s.If=function(n,t){YMn(this,u(n,37),t)},v(Zn,"SelfLoopRouter",1636),m(1637,1,{},S6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopRouter/lambda$0$Type",1637),m(1638,1,zt,qD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopRouter/lambda$1$Type",1638),m(1639,1,zt,UD),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopRouter/lambda$2$Type",1639),m(1640,1,{},XD),s.Kb=function(n){return u(C(u(n,9),(ve(),vp)),338)},v(Zn,"SelfLoopRouter/lambda$3$Type",1640),m(1641,1,ct,eCe),s.Ad=function(n){D5n(this.a,this.b,u(n,338))},v(Zn,"SelfLoopRouter/lambda$4$Type",1641),m(1642,1,Mi,KD),s.If=function(n,t){fIn(u(n,37),t)},v(Zn,"SemiInteractiveCrossMinProcessor",1642),m(1643,1,zt,YA),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1643),m(1644,1,zt,qq),s.Mb=function(n){return TIe(u(n,9))._b((Oe(),Nm))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1644),m(1645,1,Yt,N5),s.Le=function(n,t){return s7n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1645),m(1646,1,{},QA),s.Te=function(n,t){return R5n(u(n,9),u(t,9))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1646),m(1648,1,Mi,x6),s.If=function(n,t){GPn(u(n,37),t)},v(Zn,"SortByInputModelProcessor",1648),m(1649,1,zt,WA),s.Mb=function(n){return u(n,12).g.c.length!=0},v(Zn,"SortByInputModelProcessor/lambda$0$Type",1649),m(1650,1,ct,Pje),s.Ad=function(n){TCn(this.a,u(n,12))},v(Zn,"SortByInputModelProcessor/lambda$1$Type",1650),m(1729,804,{},JBe),s.bf=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new Te,er(li(new pn(null,new yn(this.c.a.b,16)),new n_),new cCe(this,t)),VO(this,new dv),Ao(t,new I5),t.c.length=0,er(li(new pn(null,new yn(this.c.a.b,16)),new ZA),new Rje(t)),VO(this,new YD),Ao(t,new bv),t.c.length=0,i=FTe(GY(N2(new pn(null,new yn(this.c.a.b,16)),new Bje(this))),new QD),er(new pn(null,new yn(this.c.a.a,16)),new tCe(i,t)),VO(this,new ZD),Ao(t,new Uq),t.c.length=0;break;case 3:r=new Te,VO(this,new VD),c=FTe(GY(N2(new pn(null,new yn(this.c.a.b,16)),new $je(this))),new WD),er(li(new pn(null,new yn(this.c.a.b,16)),new Xq),new rCe(c,r)),VO(this,new Kq),Ao(r,new e_),r.c.length=0;break;default:throw R(new oxe)}},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation",1729),m(1730,1,Ah,VD),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1730),m(1731,1,{},$je),s.We=function(n){return tTn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1731),m(1739,1,cF,nCe),s.be=function(){YE(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1739),m(1741,1,Ah,dv),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1741),m(1742,1,ct,I5),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1742),m(1743,1,zt,ZA),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1743),m(1745,1,ct,Rje),s.Ad=function(n){qjn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1745),m(1744,1,cF,sCe),s.be=function(){YE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1744),m(1746,1,Ah,YD),s.Lb=function(n){return X(u(n,60).g,9)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1746),m(1747,1,ct,bv),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1747),m(1748,1,{},Bje),s.We=function(n){return iTn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1748),m(1749,1,{},QD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1749),m(1732,1,{},WD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1732),m(1751,1,ct,tCe),s.Ad=function(n){k3n(this.a,this.b,u(n,320))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1751),m(1750,1,cF,iCe),s.be=function(){mUe(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1750),m(1752,1,Ah,ZD),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1752),m(1753,1,ct,Uq),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1753),m(1733,1,zt,Xq),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1733),m(1735,1,ct,rCe),s.Ad=function(n){j3n(this.a,this.b,u(n,60))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1735),m(1734,1,cF,lCe),s.be=function(){YE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1734),m(1736,1,Ah,Kq),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1736),m(1737,1,ct,e_),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1737),m(1738,1,zt,n_),s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1738),m(1740,1,ct,cCe),s.Ad=function(n){N8n(this.a,this.b,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1740),m(1547,1,Mi,AOe),s.If=function(n,t){cPn(this,u(n,37),t)};var Ain;v(lr,"HorizontalGraphCompactor",1547),m(1548,1,{},zje),s.df=function(n,t){var i,r,c;return jhe(n,t)||(i=Yv(n),r=Yv(t),i&&i.k==(Fn(),wr)||r&&r.k==(Fn(),wr))?0:(c=u(C(this.a.a,(ve(),H3)),316),mpn(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},s.ef=function(n,t){var i,r,c;return jhe(n,t)?1:(i=Yv(n),r=Yv(t),c=u(C(this.a.a,(ve(),H3)),316),dle(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},v(lr,"HorizontalGraphCompactor/1",1548),m(1549,1,{},eM),s.cf=function(n,t){return Nj(),n.a.i==0},v(lr,"HorizontalGraphCompactor/lambda$0$Type",1549),m(1550,1,{},Fje),s.cf=function(n,t){return F5n(this.a,n,t)},v(lr,"HorizontalGraphCompactor/lambda$1$Type",1550),m(1696,1,{},yRe);var Min,Cin;v(lr,"LGraphToCGraphTransformer",1696),m(1704,1,zt,b0),s.Mb=function(n){return n!=null},v(lr,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1704),m(1697,1,{},vk),s.Kb=function(n){return rl(),fu(C(u(u(n,60).g,9),(ve(),mi)))},v(lr,"LGraphToCGraphTransformer/lambda$0$Type",1697),m(1698,1,{},ad),s.Kb=function(n){return rl(),_Fe(u(u(n,60).g,156))},v(lr,"LGraphToCGraphTransformer/lambda$1$Type",1698),m(1707,1,zt,D5),s.Mb=function(n){return rl(),X(u(n,60).g,9)},v(lr,"LGraphToCGraphTransformer/lambda$10$Type",1707),m(1708,1,ct,nM),s.Ad=function(n){I5n(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$11$Type",1708),m(1709,1,zt,yk),s.Mb=function(n){return rl(),X(u(n,60).g,156)},v(lr,"LGraphToCGraphTransformer/lambda$12$Type",1709),m(1713,1,ct,kk),s.Ad=function(n){fjn(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$13$Type",1713),m(1710,1,ct,Jje),s.Ad=function(n){dwn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$14$Type",1710),m(1711,1,ct,Hje),s.Ad=function(n){gwn(this.a,u(n,119))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$15$Type",1711),m(1712,1,ct,Gje),s.Ad=function(n){bwn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$16$Type",1712),m(1714,1,{},tM),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$17$Type",1714),m(1715,1,zt,gv),s.Mb=function(n){return rl(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$18$Type",1715),m(1716,1,ct,qje),s.Ad=function(n){o8n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$19$Type",1716),m(1700,1,ct,Uje),s.Ad=function(n){P4n(this.a,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$2$Type",1700),m(1717,1,{},t_),s.Kb=function(n){return rl(),new pn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$20$Type",1717),m(1718,1,{},jk),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$21$Type",1718),m(1719,1,{},_5),s.Kb=function(n){return rl(),u(C(u(n,17),(ve(),Ag)),16)},v(lr,"LGraphToCGraphTransformer/lambda$22$Type",1719),m(1720,1,zt,Vq),s.Mb=function(n){return vpn(u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$23$Type",1720),m(1721,1,ct,Xje),s.Ad=function(n){rTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$24$Type",1721),m(1722,1,{},m1),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$25$Type",1722),m(1723,1,zt,iM),s.Mb=function(n){return rl(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$26$Type",1723),m(1725,1,ct,Kje),s.Ad=function(n){e7n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$27$Type",1725),m(1724,1,ct,Vje),s.Ad=function(n){ugn(this.a,u(n,70))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$28$Type",1724),m(1699,1,ct,uCe),s.Ad=function(n){P6n(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$3$Type",1699),m(1701,1,{},rw),s.Kb=function(n){return rl(),new pn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$4$Type",1701),m(1702,1,{},i_),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(lr,"LGraphToCGraphTransformer/lambda$5$Type",1702),m(1703,1,{},Ek),s.Kb=function(n){return rl(),u(C(u(n,17),(ve(),Ag)),16)},v(lr,"LGraphToCGraphTransformer/lambda$6$Type",1703),m(1705,1,ct,Yje),s.Ad=function(n){gTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$8$Type",1705),m(1706,1,ct,oCe),s.Ad=function(n){Rwn(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$9$Type",1706),m(1695,1,{},wv),s.af=function(n){var t,i,r,c,o;for(this.a=n,this.d=new wX,this.c=le(Wme,Nn,124,this.a.a.a.c.length,0,1),this.b=0,i=new P(this.a.a.a);i.a>>0,n.toString(16))},s.equals=function(e){return this.Fb(e)},s.hashCode=function(){return this.Hb()},s.toString=function(){return this.Ib()};var Xen,Ken,Ven;m(298,1,{298:1,2086:1},p1e),s.te=function(n){var t;return t=new p1e,t.i=4,n>1?t.c=Y_e(this,n-1):t.c=this,t},s.ue=function(){return T1(this),this.b},s.ve=function(){return Bb(this)},s.we=function(){return T1(this),this.k},s.xe=function(){return(this.i&4)!=0},s.ye=function(){return(this.i&1)!=0},s.Ib=function(){return Mhe(this)},s.i=0;var Mr=v(Cu,"Object",1),mme=v(Cu,"Class",298);m(2058,1,bN),v(gN,"Optional",2058),m(1160,2058,bN,G),s.Fb=function(n){return n===this},s.Hb=function(){return 2040732332},s.Ib=function(){return"Optional.absent()"},s.Jb=function(n){return Ot(n),Sj(),Vne};var Vne;v(gN,"Absent",1160),m(627,1,{},IX),v(gN,"Joiner",627);var IBn=Gi(gN,"Predicate");m(577,1,{178:1,577:1,3:1,48:1},PC),s.Mb=function(n){return Vze(this,n)},s.Lb=function(n){return Vze(this,n)},s.Fb=function(n){var t;return X(n,577)?(t=u(n,577),dbe(this.a,t.a)):!1},s.Hb=function(){return j1e(this.a)+306654252},s.Ib=function(){return ICn(this.a)},v(gN,"Predicates/AndPredicate",577),m(411,2058,{411:1,3:1},i9),s.Fb=function(n){var t;return X(n,411)?(t=u(n,411),gi(this.a,t.a)):!1},s.Hb=function(){return 1502476572+Ni(this.a)},s.Ib=function(){return gYe+this.a+")"},s.Jb=function(n){return new i9(_R(n.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},v(gN,"Present",411),m(204,1,R8),s.Nb=function(n){Zr(this,n)},s.Qb=function(){aAe()},v(dn,"UnmodifiableIterator",204),m(2038,204,B8),s.Qb=function(){aAe()},s.Rb=function(n){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(dn,"UnmodifiableListIterator",2038),m(392,2038,B8),s.Ob=function(){return this.b0},s.Pb=function(){if(this.b>=this.c)throw R(new hu);return this.Xb(this.b++)},s.Tb=function(){return this.b},s.Ub=function(){if(this.b<=0)throw R(new hu);return this.Xb(--this.b)},s.Vb=function(){return this.b-1},s.b=0,s.c=0,v(dn,"AbstractIndexedListIterator",392),m(702,204,R8),s.Ob=function(){return PY(this)},s.Pb=function(){return khe(this)},s.e=1,v(dn,"AbstractIterator",702),m(2046,1,{229:1}),s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.Fb=function(n){return rQ(this,n)},s.Hb=function(){return Ni(this.Zb())},s.dc=function(){return this.gc()==0},s.ec=function(){return D5(this)},s.Ib=function(){return fu(this.Zb())},v(dn,"AbstractMultimap",2046),m(730,2046,bg),s.$b=function(){EB(this)},s._b=function(n){return CAe(this,n)},s.ac=function(){return new y9(this,this.c)},s.ic=function(n){return this.hc()},s.bc=function(){return new Uv(this,this.c)},s.jc=function(){return this.mc(this.hc())},s.kc=function(){return new Yxe(this)},s.lc=function(){return aW(this.c.vc().Lc(),new ee,64,this.d)},s.cc=function(n){return vi(this,n)},s.fc=function(n){return TO(this,n)},s.gc=function(){return this.d},s.mc=function(n){return En(),new Hr(n)},s.nc=function(){return new Vxe(this)},s.oc=function(){return aW(this.c.Bc().Lc(),new Z,64,this.d)},s.pc=function(n,t){return new rB(this,n,t,null)},s.d=0,v(dn,"AbstractMapBasedMultimap",730),m(1661,730,bg),s.hc=function(){return new xo(this.a)},s.jc=function(){return En(),En(),Sc},s.cc=function(n){return u(vi(this,n),16)},s.fc=function(n){return u(TO(this,n),16)},s.Zb=function(){return B5(this)},s.Fb=function(n){return rQ(this,n)},s.qc=function(n){return u(vi(this,n),16)},s.rc=function(n){return u(TO(this,n),16)},s.mc=function(n){return LR(u(n,16))},s.pc=function(n,t){return cPe(this,n,u(t,16),null)},v(dn,"AbstractListMultimap",1661),m(736,1,Fr),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()||this.e.Ob()},s.Pb=function(){var n;return this.e.Ob()||(n=u(this.c.Pb(),45),this.b=n.jd(),this.a=u(n.kd(),18),this.e=this.a.Jc()),this.sc(this.b,this.e.Pb())},s.Qb=function(){this.e.Qb(),u(of(this.a),18).dc()&&this.c.Qb(),--this.d.d},v(dn,"AbstractMapBasedMultimap/Itr",736),m(1098,736,Fr,Vxe),s.sc=function(n,t){return t},v(dn,"AbstractMapBasedMultimap/1",1098),m(1099,1,{},Z),s.Kb=function(n){return u(n,18).Lc()},v(dn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1099),m(1100,736,Fr,Yxe),s.sc=function(n,t){return new yw(n,t)},v(dn,"AbstractMapBasedMultimap/2",1100);var vme=Gi(pt,"Map");m(2027,1,np),s.wc=function(n){vO(this,n)},s.$b=function(){this.vc().$b()},s.tc=function(n){return XQ(this,n)},s._b=function(n){return!!a0e(this,n,!1)},s.uc=function(n){var t,i,r;for(i=this.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),r=t.kd(),oe(n)===oe(r)||n!=null&&gi(n,r))return!0;return!1},s.Fb=function(n){var t,i,r;if(n===this)return!0;if(!X(n,92)||(r=u(n,92),this.gc()!=r.gc()))return!1;for(i=r.vc().Jc();i.Ob();)if(t=u(i.Pb(),45),!this.tc(t))return!1;return!0},s.xc=function(n){return bu(a0e(this,n,!1))},s.Hb=function(){return d1e(this.vc())},s.dc=function(){return this.gc()==0},s.ec=function(){return new it(this)},s.yc=function(n,t){throw R(new vd("Put not supported on this map"))},s.zc=function(n){NE(this,n)},s.Ac=function(n){return bu(a0e(this,n,!0))},s.gc=function(){return this.vc().gc()},s.Ib=function(){return bGe(this)},s.Bc=function(){return new ot(this)},v(pt,"AbstractMap",2027),m(2047,2027,np),s.bc=function(){return new e$(this)},s.vc=function(){return XIe(this)},s.ec=function(){var n;return n=this.g,n||(this.g=this.bc())},s.Bc=function(){var n;return n=this.i,n||(this.i=new vMe(this))},v(dn,"Maps/ViewCachingAbstractMap",2047),m(395,2047,np,y9),s.xc=function(n){return C8n(this,n)},s.Ac=function(n){return Bkn(this,n)},s.$b=function(){this.d==this.e.c?this.e.$b():aR(new jfe(this))},s._b=function(n){return MFe(this.d,n)},s.Dc=function(){return new mP(this)},s.Cc=function(){return this.Dc()},s.Fb=function(n){return this===n||gi(this.d,n)},s.Hb=function(){return Ni(this.d)},s.ec=function(){return this.e.ec()},s.gc=function(){return this.d.gc()},s.Ib=function(){return fu(this.d)},v(dn,"AbstractMapBasedMultimap/AsMap",395);var Kl=Gi(Cu,"Iterable");m(31,1,um),s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new pn(null,this.Lc())},s.Ec=function(n){throw R(new vd("Add not supported on this collection"))},s.Fc=function(n){return ac(this,n)},s.$b=function(){uae(this)},s.Gc=function(n){return U2(this,n,!1)},s.Hc=function(n){return xO(this,n)},s.dc=function(){return this.gc()==0},s.Kc=function(n){return U2(this,n,!0)},s.Nc=function(){return Ife(this)},s.Oc=function(n){return YE(this,n)},s.Ib=function(){return Ga(this)},v(pt,"AbstractCollection",31);var gf=Gi(pt,"Set");m(Ua,31,fs),s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return TJe(this,n)},s.Hb=function(){return d1e(this)},v(pt,"AbstractSet",Ua),m(2030,Ua,fs),v(dn,"Sets/ImprovedAbstractSet",2030),m(2031,2030,fs),s.$b=function(){this.Pc().$b()},s.Gc=function(n){return fJe(this,n)},s.dc=function(){return this.Pc().dc()},s.Kc=function(n){var t;return this.Gc(n)&&X(n,45)?(t=u(n,45),this.Pc().ec().Kc(t.jd())):!1},s.gc=function(){return this.Pc().gc()},v(dn,"Maps/EntrySet",2031),m(1096,2031,fs,mP),s.Gc=function(n){return B1e(this.a.d.vc(),n)},s.Jc=function(){return new jfe(this.a)},s.Pc=function(){return this.a},s.Kc=function(n){var t;return B1e(this.a.d.vc(),n)?(t=u(of(u(n,45)),45),h9n(this.a.e,t.jd()),!0):!1},s.Lc=function(){return PT(this.a.d.vc().Lc(),new vP(this.a))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1096),m(1097,1,{},vP),s.Kb=function(n){return JPe(this.a,u(n,45))},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1097),m(734,1,Fr,jfe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){var n;return n=u(this.b.Pb(),45),this.a=u(n.kd(),18),JPe(this.c,n)},s.Ob=function(){return this.b.Ob()},s.Qb=function(){O9(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",734),m(530,2030,fs,e$),s.$b=function(){this.b.$b()},s.Gc=function(n){return this.b._b(n)},s.Ic=function(n){Ot(n),this.b.wc(new aj(n))},s.dc=function(){return this.b.dc()},s.Jc=function(){return new xj(this.b.vc().Jc())},s.Kc=function(n){return this.b._b(n)?(this.b.Ac(n),!0):!1},s.gc=function(){return this.b.gc()},v(dn,"Maps/KeySet",530),m(332,530,fs,Uv),s.$b=function(){var n;aR((n=this.b.vc().Jc(),new Koe(this,n)))},s.Hc=function(n){return this.b.ec().Hc(n)},s.Fb=function(n){return this===n||gi(this.b.ec(),n)},s.Hb=function(){return Ni(this.b.ec())},s.Jc=function(){var n;return n=this.b.vc().Jc(),new Koe(this,n)},s.Kc=function(n){var t,i;return i=0,t=u(this.b.Ac(n),18),t&&(i=t.gc(),t.$b(),this.a.d-=i),i>0},s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/KeySet",332),m(735,1,Fr,Koe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.c.Ob()},s.Pb=function(){return this.a=u(this.c.Pb(),45),this.a.jd()},s.Qb=function(){var n;O9(!!this.a),n=u(this.a.kd(),18),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},v(dn,"AbstractMapBasedMultimap/KeySet/1",735),m(489,395,{92:1,134:1},TT),s.bc=function(){return this.Qc()},s.ec=function(){return this.Sc()},s.Qc=function(){return new iT(this.c,this.Uc())},s.Rc=function(){return this.Uc().Rc()},s.Sc=function(){var n;return n=this.b,n||(this.b=this.Qc())},s.Tc=function(){return this.Uc().Tc()},s.Uc=function(){return u(this.d,134)},v(dn,"AbstractMapBasedMultimap/SortedAsMap",489),m(437,489,Bge,cE),s.bc=function(){return new k9(this.a,u(u(this.d,134),138))},s.Qc=function(){return new k9(this.a,u(u(this.d,134),138))},s.ec=function(){var n;return n=this.b,u(n||(this.b=new k9(this.a,u(u(this.d,134),138))),277)},s.Sc=function(){var n;return n=this.b,u(n||(this.b=new k9(this.a,u(u(this.d,134),138))),277)},s.Uc=function(){return u(u(this.d,134),138)},s.Vc=function(n){return u(u(this.d,134),138).Vc(n)},s.Wc=function(n){return u(u(this.d,134),138).Wc(n)},s.Xc=function(n,t){return new cE(this.a,u(u(this.d,134),138).Xc(n,t))},s.Yc=function(n){return u(u(this.d,134),138).Yc(n)},s.Zc=function(n){return u(u(this.d,134),138).Zc(n)},s.$c=function(n,t){return new cE(this.a,u(u(this.d,134),138).$c(n,t))},v(dn,"AbstractMapBasedMultimap/NavigableAsMap",437),m(488,332,wYe,iT),s.Lc=function(){return this.b.ec().Lc()},v(dn,"AbstractMapBasedMultimap/SortedKeySet",488),m(394,488,zge,k9),v(dn,"AbstractMapBasedMultimap/NavigableKeySet",394),m(539,31,um,rB),s.Ec=function(n){var t,i;return Is(this),i=this.d.dc(),t=this.d.Ec(n),t&&(++this.f.d,i&&DT(this)),t},s.Fc=function(n){var t,i,r;return n.dc()?!1:(r=(Is(this),this.d.gc()),t=this.d.Fc(n),t&&(i=this.d.gc(),this.f.d+=i-r,r==0&&DT(this)),t)},s.$b=function(){var n;n=(Is(this),this.d.gc()),n!=0&&(this.d.$b(),this.f.d-=n,pR(this))},s.Gc=function(n){return Is(this),this.d.Gc(n)},s.Hc=function(n){return Is(this),this.d.Hc(n)},s.Fb=function(n){return n===this?!0:(Is(this),gi(this.d,n))},s.Hb=function(){return Is(this),Ni(this.d)},s.Jc=function(){return Is(this),new ufe(this)},s.Kc=function(n){var t;return Is(this),t=this.d.Kc(n),t&&(--this.f.d,pR(this)),t},s.gc=function(){return lTe(this)},s.Lc=function(){return Is(this),this.d.Lc()},s.Ib=function(){return Is(this),fu(this.d)},v(dn,"AbstractMapBasedMultimap/WrappedCollection",539);var wl=Gi(pt,"List");m(732,539,{20:1,31:1,18:1,16:1},Dfe),s.gd=function(n){tg(this,n)},s.Lc=function(){return Is(this),this.d.Lc()},s._c=function(n,t){var i;Is(this),i=this.d.dc(),u(this.d,16)._c(n,t),++this.a.d,i&&DT(this)},s.ad=function(n,t){var i,r,c;return t.dc()?!1:(c=(Is(this),this.d.gc()),i=u(this.d,16).ad(n,t),i&&(r=this.d.gc(),this.a.d+=r-c,c==0&&DT(this)),i)},s.Xb=function(n){return Is(this),u(this.d,16).Xb(n)},s.bd=function(n){return Is(this),u(this.d,16).bd(n)},s.cd=function(){return Is(this),new zTe(this)},s.dd=function(n){return Is(this),new u_e(this,n)},s.ed=function(n){var t;return Is(this),t=u(this.d,16).ed(n),--this.a.d,pR(this),t},s.fd=function(n,t){return Is(this),u(this.d,16).fd(n,t)},s.hd=function(n,t){return Is(this),cPe(this.a,this.e,u(this.d,16).hd(n,t),this.b?this.b:this)},v(dn,"AbstractMapBasedMultimap/WrappedList",732),m(1095,732,{20:1,31:1,18:1,16:1,59:1},COe),v(dn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1095),m(619,1,Fr,ufe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return F9(this),this.b.Ob()},s.Pb=function(){return F9(this),this.b.Pb()},s.Qb=function(){aOe(this)},v(dn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",619),m(733,619,e1,zTe,u_e),s.Qb=function(){aOe(this)},s.Rb=function(n){var t;t=lTe(this.a)==0,(F9(this),u(this.b,128)).Rb(n),++this.a.a.d,t&&DT(this.a)},s.Sb=function(){return(F9(this),u(this.b,128)).Sb()},s.Tb=function(){return(F9(this),u(this.b,128)).Tb()},s.Ub=function(){return(F9(this),u(this.b,128)).Ub()},s.Vb=function(){return(F9(this),u(this.b,128)).Vb()},s.Wb=function(n){(F9(this),u(this.b,128)).Wb(n)},v(dn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",733),m(731,539,wYe,Ale),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSortedSet",731),m(1094,731,zge,LTe),v(dn,"AbstractMapBasedMultimap/WrappedNavigableSet",1094),m(1093,539,fs,eNe),s.Lc=function(){return Is(this),this.d.Lc()},v(dn,"AbstractMapBasedMultimap/WrappedSet",1093),m(1102,1,{},ee),s.Kb=function(n){return j9n(u(n,45))},v(dn,"AbstractMapBasedMultimap/lambda$1$Type",1102),m(1101,1,{},r9),s.Kb=function(n){return new yw(this.a,n)},v(dn,"AbstractMapBasedMultimap/lambda$2$Type",1101);var Eg=Gi(pt,"Map/Entry");m(358,1,dZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),O1(this.jd(),t.jd())&&O1(this.kd(),t.kd())):!1},s.Hb=function(){var n,t;return n=this.jd(),t=this.kd(),(n==null?0:Ni(n))^(t==null?0:Ni(t))},s.ld=function(n){throw R(new _t)},s.Ib=function(){return this.jd()+"="+this.kd()},v(dn,pYe,358),m(Q0,31,um),s.$b=function(){this.md().$b()},s.Gc=function(n){var t;return X(n,45)?(t=u(n,45),G4n(this.md(),t.jd(),t.kd())):!1},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),GLe(this.md(),t.jd(),t.kd())):!1},s.gc=function(){return this.md().d},v(dn,"Multimaps/Entries",Q0),m(737,Q0,um,x1),s.Jc=function(){return this.a.kc()},s.md=function(){return this.a},s.Lc=function(){return this.a.lc()},v(dn,"AbstractMultimap/Entries",737),m(738,737,fs,Moe),s.Lc=function(){return this.a.lc()},s.Fb=function(n){return N0e(this,n)},s.Hb=function(){return KBe(this)},v(dn,"AbstractMultimap/EntrySet",738),m(739,31,um,$C),s.$b=function(){this.a.$b()},s.Gc=function(n){return Lkn(this.a,n)},s.Jc=function(){return this.a.nc()},s.gc=function(){return this.a.d},s.Lc=function(){return this.a.oc()},v(dn,"AbstractMultimap/Values",739),m(2049,31,{833:1,20:1,31:1,18:1}),s.Ic=function(n){Ot(n),Kv(this).Ic(new YU(n))},s.Lc=function(){var n;return n=Kv(this).Lc(),aW(n,new Ne,64|n.wd()&1296,this.a.d)},s.Ec=function(n){return Doe(),!0},s.Fc=function(n){return Ot(this),Ot(n),X(n,540)?W4n(u(n,833)):!n.dc()&&MY(this,n.Jc())},s.Gc=function(n){var t;return t=u(q2(B5(this.a),n),18),(t?t.gc():0)>0},s.Fb=function(n){return TOn(this,n)},s.Hb=function(){return Ni(Kv(this))},s.dc=function(){return Kv(this).dc()},s.Kc=function(n){return Oqe(this,n,1)>0},s.Ib=function(){return fu(Kv(this))},v(dn,"AbstractMultiset",2049),m(2051,2030,fs),s.$b=function(){EB(this.a.a)},s.Gc=function(n){var t,i;return X(n,490)?(i=u(n,416),u(i.a.kd(),18).gc()<=0?!1:(t=hLe(this.a,i.a.jd()),t==u(i.a.kd(),18).gc())):!1},s.Kc=function(n){var t,i,r,c;return X(n,490)&&(i=u(n,416),t=i.a.jd(),r=u(i.a.kd(),18).gc(),r!=0)?(c=this.a,MTn(c,t,r)):!1},v(dn,"Multisets/EntrySet",2051),m(1108,2051,fs,fj),s.Jc=function(){return new nAe(XIe(B5(this.a.a)).Jc())},s.gc=function(){return B5(this.a.a).gc()},v(dn,"AbstractMultiset/EntrySet",1108),m(618,730,bg),s.hc=function(){return this.nd()},s.jc=function(){return this.od()},s.cc=function(n){return this.pd(n)},s.fc=function(n){return this.qd(n)},s.Zb=function(){var n;return n=this.f,n||(this.f=this.ac())},s.od=function(){return En(),En(),pJ},s.Fb=function(n){return rQ(this,n)},s.pd=function(n){return u(vi(this,n),22)},s.qd=function(n){return u(TO(this,n),22)},s.mc=function(n){return En(),new g9(u(n,22))},s.pc=function(n,t){return new eNe(this,n,u(t,22))},v(dn,"AbstractSetMultimap",618),m(1689,618,bg),s.hc=function(){return new Ed(this.b)},s.nd=function(){return new Ed(this.b)},s.jc=function(){return Kfe(new Ed(this.b))},s.od=function(){return Kfe(new Ed(this.b))},s.cc=function(n){return u(u(vi(this,n),22),83)},s.pd=function(n){return u(u(vi(this,n),22),83)},s.fc=function(n){return u(u(TO(this,n),22),83)},s.qd=function(n){return u(u(TO(this,n),22),83)},s.mc=function(n){return X(n,277)?Kfe(u(n,277)):(En(),new lle(u(n,83)))},s.Zb=function(){var n;return n=this.f,n||(this.f=X(this.c,138)?new cE(this,u(this.c,138)):X(this.c,134)?new TT(this,u(this.c,134)):new y9(this,this.c))},s.pc=function(n,t){return X(t,277)?new LTe(this,n,u(t,277)):new Ale(this,n,u(t,83))},v(dn,"AbstractSortedSetMultimap",1689),m(1690,1689,bg),s.Zb=function(){var n;return n=this.f,u(u(n||(this.f=X(this.c,138)?new cE(this,u(this.c,138)):X(this.c,134)?new TT(this,u(this.c,134)):new y9(this,this.c)),134),138)},s.ec=function(){var n;return n=this.i,u(u(n||(this.i=X(this.c,138)?new k9(this,u(this.c,138)):X(this.c,134)?new iT(this,u(this.c,134)):new Uv(this,this.c)),83),277)},s.bc=function(){return X(this.c,138)?new k9(this,u(this.c,138)):X(this.c,134)?new iT(this,u(this.c,134)):new Uv(this,this.c)},v(dn,"AbstractSortedKeySortedSetMultimap",1690),m(2071,1,{2008:1}),s.Fb=function(n){return mAn(this,n)},s.Hb=function(){var n;return d1e((n=this.g,n||(this.g=new v0(this))))},s.Ib=function(){var n;return bGe((n=this.f,n||(this.f=new tle(this))))},v(dn,"AbstractTable",2071),m(669,Ua,fs,v0),s.$b=function(){hAe()},s.Gc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(q2(pDe(this.a),M0(t.c.e,t.b)),92),!!i&&B1e(i.vc(),new yw(M0(t.c.c,t.a),q5(t.c,t.b,t.a)))):!1},s.Jc=function(){return Qyn(this.a)},s.Kc=function(n){var t,i;return X(n,468)?(t=u(n,687),i=u(q2(pDe(this.a),M0(t.c.e,t.b)),92),!!i&&cjn(i.vc(),new yw(M0(t.c.c,t.a),q5(t.c,t.b,t.a)))):!1},s.gc=function(){return EIe(this.a)},s.Lc=function(){return e6n(this.a)},v(dn,"AbstractTable/CellSet",669),m(1987,31,um,JU),s.$b=function(){hAe()},s.Gc=function(n){return sMn(this.a,n)},s.Jc=function(){return Wyn(this.a)},s.gc=function(){return EIe(this.a)},s.Lc=function(){return $Le(this.a)},v(dn,"AbstractTable/Values",1987),m(1662,1661,bg),v(dn,"ArrayListMultimapGwtSerializationDependencies",1662),m(506,1662,bg,NX,Aae),s.hc=function(){return new xo(this.a)},s.a=0,v(dn,"ArrayListMultimap",506),m(668,2071,{668:1,2008:1,3:1},Tqe),v(dn,"ArrayTable",668),m(1983,392,B8,sOe),s.Xb=function(n){return new m1e(this.a,n)},v(dn,"ArrayTable/1",1983),m(1984,1,{},HU),s.rd=function(n){return new m1e(this.a,n)},v(dn,"ArrayTable/1methodref$getCell$Type",1984),m(2072,1,{687:1}),s.Fb=function(n){var t;return n===this?!0:X(n,468)?(t=u(n,687),O1(M0(this.c.e,this.b),M0(t.c.e,t.b))&&O1(M0(this.c.c,this.a),M0(t.c.c,t.a))&&O1(q5(this.c,this.b,this.a),q5(t.c,t.b,t.a))):!1},s.Hb=function(){return HB(F(z(Mr,1),Nn,1,5,[M0(this.c.e,this.b),M0(this.c.c,this.a),q5(this.c,this.b,this.a)]))},s.Ib=function(){return"("+M0(this.c.e,this.b)+","+M0(this.c.c,this.a)+")="+q5(this.c,this.b,this.a)},v(dn,"Tables/AbstractCell",2072),m(468,2072,{468:1,687:1},m1e),s.a=0,s.b=0,s.d=0,v(dn,"ArrayTable/2",468),m(1986,1,{},t5),s.rd=function(n){return X$e(this.a,n)},v(dn,"ArrayTable/2methodref$getValue$Type",1986),m(1985,392,B8,lOe),s.Xb=function(n){return X$e(this.a,n)},v(dn,"ArrayTable/3",1985),m(2039,2027,np),s.$b=function(){aR(this.kc())},s.vc=function(){return new hj(this)},s.lc=function(){return new YDe(this.kc(),this.gc())},v(dn,"Maps/IteratorBasedAbstractMap",2039),m(826,2039,np),s.$b=function(){throw R(new _t)},s._b=function(n){return TAe(this.c,n)},s.kc=function(){return new fOe(this,this.c.b.c.gc())},s.lc=function(){return rV(this.c.b.c.gc(),16,new yP(this))},s.xc=function(n){var t;return t=u(uE(this.c,n),15),t?this.td(t.a):null},s.dc=function(){return this.c.b.c.dc()},s.ec=function(){return dV(this.c)},s.yc=function(n,t){var i;if(i=u(uE(this.c,n),15),!i)throw R(new Un(this.sd()+" "+n+" not in "+dV(this.c)));return this.ud(i.a,t)},s.Ac=function(n){throw R(new _t)},s.gc=function(){return this.c.b.c.gc()},v(dn,"ArrayTable/ArrayMap",826),m(1982,1,{},yP),s.rd=function(n){return yDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1982),m(1980,358,dZ,iMe),s.jd=function(){return kpn(this.a,this.b)},s.kd=function(){return this.a.td(this.b)},s.ld=function(n){return this.a.ud(this.b,n)},s.b=0,v(dn,"ArrayTable/ArrayMap/1",1980),m(1981,392,B8,fOe),s.Xb=function(n){return yDe(this.a,n)},v(dn,"ArrayTable/ArrayMap/2",1981),m(1979,826,np,sDe),s.sd=function(){return"Column"},s.td=function(n){return q5(this.b,this.a,n)},s.ud=function(n,t){return Tze(this.b,this.a,n,t)},s.a=0,v(dn,"ArrayTable/Row",1979),m(827,826,np,tle),s.td=function(n){return new sDe(this.a,n)},s.yc=function(n,t){return u(t,92),Gbn()},s.ud=function(n,t){return u(t,92),qbn()},s.sd=function(){return"Row"},v(dn,"ArrayTable/RowMap",827),m(1126,1,bl,rMe),s.yd=function(n){return(this.a.wd()&-262&n)!=0},s.wd=function(){return this.a.wd()&-262},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Nb(new uMe(n,this.b))},s.zd=function(n){return this.a.zd(new cMe(n,this.b))},v(dn,"CollectSpliterators/1",1126),m(1127,1,ct,cMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$0$Type",1127),m(1128,1,ct,uMe),s.Ad=function(n){this.a.Ad(this.b.Kb(n))},v(dn,"CollectSpliterators/1/lambda$1$Type",1128),m(1123,1,bl,TNe),s.yd=function(n){return((16464|this.b)&n)!=0},s.wd=function(){return 16464|this.b},s.xd=function(){return this.a.xd()},s.Nb=function(n){this.a.Oe(new sMe(n,this.c))},s.zd=function(n){return this.a.Pe(new oMe(n,this.c))},s.b=0,v(dn,"CollectSpliterators/1WithCharacteristics",1123),m(1124,1,wN,oMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1124),m(1125,1,wN,sMe),s.Bd=function(n){this.a.Ad(this.b.rd(n))},v(dn,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1125),m(1119,1,bl),s.yd=function(n){return(this.a&n)!=0},s.wd=function(){return this.a},s.xd=function(){return this.e&&(this.b=Use(this.b,this.e.xd())),Use(this.b,0)},s.Nb=function(n){this.e&&(this.e.Nb(n),this.e=null),this.c.Nb(new lMe(this,n)),this.b=0},s.zd=function(n){for(;;){if(this.e&&this.e.zd(n))return Yj(this.b,pN)&&(this.b=ff(this.b,1)),!0;if(this.e=null,!this.c.zd(new i5(this)))return!1}},s.a=0,s.b=0,v(dn,"CollectSpliterators/FlatMapSpliterator",1119),m(1121,1,ct,i5),s.Ad=function(n){g2n(this.a,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$0$Type",1121),m(1122,1,ct,lMe),s.Ad=function(n){Myn(this.a,this.b,n)},v(dn,"CollectSpliterators/FlatMapSpliterator/lambda$1$Type",1122),m(1120,1119,bl,gPe),v(dn,"CollectSpliterators/FlatMapSpliteratorOfObject",1120),m(254,1,bZ),s.Dd=function(n){return this.Cd(u(n,254))},s.Cd=function(n){var t;return n==(SX(),Qne)?1:n==(EX(),Yne)?-1:(t=(cR(),mO(this.a,n.a)),t!=0?t:($n(),X(this,513)==X(n,513)?0:X(this,513)?1:-1))},s.Gd=function(){return this.a},s.Fb=function(n){return $de(this,n)},v(dn,"Cut",254),m(1793,254,bZ,Kxe),s.Cd=function(n){return n==this?0:1},s.Ed=function(n){throw R(new aoe)},s.Fd=function(n){n.a+="+∞)"},s.Gd=function(){throw R(new Uc(vYe))},s.Hb=function(){return Sd(),Sde(this)},s.Hd=function(n){return!1},s.Ib=function(){return"+∞"};var Yne;v(dn,"Cut/AboveAll",1793),m(513,254,{254:1,513:1,3:1,35:1},bOe),s.Ed=function(n){uo((n.a+="(",n),this.a)},s.Fd=function(n){Kb(uo(n,this.a),93)},s.Hb=function(){return~Ni(this.a)},s.Hd=function(n){return cR(),mO(this.a,n)<0},s.Ib=function(){return"/"+this.a+"\\"},v(dn,"Cut/AboveValue",513),m(1792,254,bZ,Xxe),s.Cd=function(n){return n==this?0:-1},s.Ed=function(n){n.a+="(-∞"},s.Fd=function(n){throw R(new aoe)},s.Gd=function(){throw R(new Uc(vYe))},s.Hb=function(){return Sd(),Sde(this)},s.Hd=function(n){return!0},s.Ib=function(){return"-∞"};var Qne;v(dn,"Cut/BelowAll",1792),m(1794,254,bZ,gOe),s.Ed=function(n){uo((n.a+="[",n),this.a)},s.Fd=function(n){Kb(uo(n,this.a),41)},s.Hb=function(){return Ni(this.a)},s.Hd=function(n){return cR(),mO(this.a,n)<=0},s.Ib=function(){return"\\"+this.a+"/"},v(dn,"Cut/BelowValue",1794),m(535,1,n1),s.Ic=function(n){cc(this,n)},s.Ib=function(){return Ljn(u(_R(this,"use Optional.orNull() instead of Optional.or(null)"),20).Jc())},v(dn,"FluentIterable",535),m(433,535,n1,Zj),s.Jc=function(){return new Xn(Qn(this.a.Jc(),new ne))},v(dn,"FluentIterable/2",433),m(36,1,{},ne),s.Kb=function(n){return u(n,20).Jc()},s.Fb=function(n){return this===n},v(dn,"FluentIterable/2/0methodref$iterator$Type",36),m(1040,535,n1,TTe),s.Jc=function(){return Kh(this)},v(dn,"FluentIterable/3",1040),m(714,392,B8,fle),s.Xb=function(n){return this.a[n].Jc()},v(dn,"FluentIterable/3/1",714),m(2032,1,{}),s.Ib=function(){return fu(this.Id().b)},v(dn,"ForwardingObject",2032),m(2033,2032,yYe),s.Id=function(){return this.Jd()},s.Ic=function(n){cc(this,n)},s.Lc=function(){return new yn(this,0)},s.Mc=function(){return new pn(null,this.Lc())},s.Ec=function(n){return this.Jd(),DAe()},s.Fc=function(n){return this.Jd(),_Ae()},s.$b=function(){this.Jd(),LAe()},s.Gc=function(n){return this.Jd().Gc(n)},s.Hc=function(n){return this.Jd().Hc(n)},s.dc=function(){return this.Jd().b.dc()},s.Jc=function(){return this.Jd().Jc()},s.Kc=function(n){return this.Jd(),PAe()},s.gc=function(){return this.Jd().b.gc()},s.Nc=function(){return this.Jd().Nc()},s.Oc=function(n){return this.Jd().Oc(n)},v(dn,"ForwardingCollection",2033),m(2040,31,Fge),s.Jc=function(){return this.Md()},s.Ec=function(n){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.Kd=function(){var n;return n=this.c,n||(this.c=this.Ld())},s.$b=function(){throw R(new _t)},s.Gc=function(n){return n!=null&&U2(this,n,!1)},s.Ld=function(){switch(this.gc()){case 0:return fR(),ete;case 1:return new GK(Ot(this.Md().Pb()));default:return new ofe(this,this.Nc())}},s.Kc=function(n){throw R(new _t)},v(dn,"ImmutableCollection",2040),m(1259,2040,Fge,jP),s.Jc=function(){return U5(new ic(this.a.b.Jc()))},s.Gc=function(n){return n!=null&&Oj(this.a,n)},s.Hc=function(n){return Yoe(this.a,n)},s.dc=function(){return this.a.b.dc()},s.Md=function(){return U5(new ic(this.a.b.Jc()))},s.gc=function(){return this.a.b.gc()},s.Nc=function(){return this.a.b.Nc()},s.Oc=function(n){return Qoe(this.a,n)},s.Ib=function(){return fu(this.a.b)},v(dn,"ForwardingImmutableCollection",1259),m(311,2040,z8),s.Jc=function(){return this.Md()},s.cd=function(){return this.Nd(0)},s.dd=function(n){return this.Nd(n)},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.hd=function(n,t){return this.Od(n,t)},s._c=function(n,t){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Kd=function(){return this},s.Fb=function(n){return vOn(this,n)},s.Hb=function(){return U7n(this)},s.bd=function(n){return n==null?-1:ZSn(this,n)},s.Md=function(){return this.Nd(0)},s.Nd=function(n){return PK(this,n)},s.ed=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},s.Od=function(n,t){var i;return YB((i=new pMe(this),new D0(i,n,t)))},v(dn,"ImmutableList",311),m(2067,311,z8),s.Jc=function(){return U5(this.Pd().Jc())},s.hd=function(n,t){return YB(this.Pd().hd(n,t))},s.Gc=function(n){return n!=null&&this.Pd().Gc(n)},s.Hc=function(n){return this.Pd().Hc(n)},s.Fb=function(n){return gi(this.Pd(),n)},s.Xb=function(n){return M0(this,n)},s.Hb=function(){return Ni(this.Pd())},s.bd=function(n){return this.Pd().bd(n)},s.dc=function(){return this.Pd().dc()},s.Md=function(){return U5(this.Pd().Jc())},s.gc=function(){return this.Pd().gc()},s.Od=function(n,t){return YB(this.Pd().hd(n,t))},s.Nc=function(){return this.Pd().Oc(le(Mr,Nn,1,this.Pd().gc(),5,1))},s.Oc=function(n){return this.Pd().Oc(n)},s.Ib=function(){return fu(this.Pd())},v(dn,"ForwardingImmutableList",2067),m(717,1,F8),s.vc=function(){return Gb(this)},s.wc=function(n){vO(this,n)},s.ec=function(){return dV(this)},s.Bc=function(){return this.Td()},s.$b=function(){throw R(new _t)},s._b=function(n){return this.xc(n)!=null},s.uc=function(n){return this.Td().Gc(n)},s.Rd=function(){return new UU(this)},s.Sd=function(){return new XU(this)},s.Fb=function(n){return Pkn(this,n)},s.Hb=function(){return Gb(this).Hb()},s.dc=function(){return this.gc()==0},s.yc=function(n,t){return Ubn()},s.Ac=function(n){throw R(new _t)},s.Ib=function(){return tCn(this)},s.Td=function(){return this.e?this.e:this.e=this.Sd()},s.c=null,s.d=null,s.e=null,v(dn,"ImmutableMap",717),m(718,717,F8),s._b=function(n){return TAe(this,n)},s.uc=function(n){return SMe(this.b,n)},s.Qd=function(){return hFe(new kP(this))},s.Rd=function(){return hFe(JDe(this.b))},s.Sd=function(){return new jP(HDe(this.b))},s.Fb=function(n){return AMe(this.b,n)},s.xc=function(n){return uE(this,n)},s.Hb=function(){return Ni(this.b.c)},s.dc=function(){return this.b.c.dc()},s.gc=function(){return this.b.c.gc()},s.Ib=function(){return fu(this.b.c)},v(dn,"ForwardingImmutableMap",718),m(2034,2033,gZ),s.Id=function(){return this.Ud()},s.Jd=function(){return this.Ud()},s.Lc=function(){return new yn(this,1)},s.Fb=function(n){return n===this||this.Ud().Fb(n)},s.Hb=function(){return this.Ud().Hb()},v(dn,"ForwardingSet",2034),m(1055,2034,gZ,kP),s.Id=function(){return B9(this.a.b)},s.Jd=function(){return B9(this.a.b)},s.Gc=function(n){if(X(n,45)&&u(n,45).jd()==null)return!1;try{return xMe(B9(this.a.b),n)}catch(t){if(t=sr(t),X(t,211))return!1;throw R(t)}},s.Ud=function(){return B9(this.a.b)},s.Oc=function(n){var t,i;return t=C_e(B9(this.a.b),n),B9(this.a.b).b.gc()=0?"+":"")+(i/60|0),t=$$(k.Math.abs(i)%60),(AGe(),gnn)[this.q.getDay()]+" "+wnn[this.q.getMonth()]+" "+$$(this.q.getDate())+" "+$$(this.q.getHours())+":"+$$(this.q.getMinutes())+":"+$$(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var bJ=v(pt,"Date",205);m(1977,205,TYe,XHe),s.a=!1,s.b=0,s.c=0,s.d=0,s.e=0,s.f=0,s.g=!1,s.i=0,s.j=0,s.k=0,s.n=0,s.o=0,s.p=0,v("com.google.gwt.i18n.shared.impl","DateRecord",1977),m(2026,1,{}),s.ne=function(){return null},s.oe=function(){return null},s.pe=function(){return null},s.qe=function(){return null},s.re=function(){return null},v(w4,"JSONValue",2026),m(139,2026,{139:1},md,u9),s.Fb=function(n){return X(n,139)?Tae(this.a,u(n,139).a):!1},s.me=function(){return hbn},s.Hb=function(){return dae(this.a)},s.ne=function(){return this},s.Ib=function(){var n,t,i;for(i=new il("["),t=0,n=this.a.length;t0&&(i.a+=","),uo(i,R2(this,t));return i.a+="]",i.a},v(w4,"JSONArray",139),m(479,2026,{479:1},o9),s.me=function(){return dbn},s.oe=function(){return this},s.Ib=function(){return $n(),""+this.a},s.a=!1;var inn,rnn;v(w4,"JSONBoolean",479),m(981,63,q1,tAe),v(w4,"JSONException",981),m(1017,2026,{},tt),s.me=function(){return pbn},s.Ib=function(){return Vo};var cnn;v(w4,"JSONNull",1017),m(265,2026,{265:1},Tv),s.Fb=function(n){return X(n,265)?this.a==u(n,265).a:!1},s.me=function(){return bbn},s.Hb=function(){return E5(this.a)},s.pe=function(){return this},s.Ib=function(){return this.a+""},s.a=0,v(w4,"JSONNumber",265),m(149,2026,{149:1},d5,s9),s.Fb=function(n){return X(n,149)?Tae(this.a,u(n,149).a):!1},s.me=function(){return gbn},s.Hb=function(){return dae(this.a)},s.qe=function(){return this},s.Ib=function(){var n,t,i,r,c,o,l;for(l=new il("{"),n=!0,o=zY(this,le(Je,Me,2,0,6,1)),i=o,r=0,c=i.length;r=0?":"+this.c:"")+")"},s.c=0;var Pme=v(Cu,"StackTraceElement",324);Ven={3:1,472:1,35:1,2:1};var Je=v(Cu,Jge,2);m(111,418,{472:1},kd,Cj,uf),v(Cu,"StringBuffer",111),m(106,418,{472:1},j0,w5,il),v(Cu,"StringBuilder",106),m(691,99,sF,_oe),v(Cu,"StringIndexOutOfBoundsException",691),m(2107,1,{});var lnn;m(46,63,{3:1,101:1,63:1,80:1,46:1},_t,vd),v(Cu,"UnsupportedOperationException",46),m(247,242,{3:1,35:1,242:1,247:1},IO,Goe),s.Dd=function(n){return AKe(this,u(n,247))},s.se=function(){return Q2(ZKe(this))},s.Fb=function(n){var t;return this===n?!0:X(n,247)?(t=u(n,247),this.e==t.e&&AKe(this,t)==0):!1},s.Hb=function(){var n;return this.b!=0?this.b:this.a<54?(n=Lu(this.f),this.b=Rt(Rr(n,-1)),this.b=33*this.b+Rt(Rr(Mw(n,32),-1)),this.b=17*this.b+lc(this.e),this.b):(this.b=17*EFe(this.c)+lc(this.e),this.b)},s.Ib=function(){return ZKe(this)},s.a=0,s.b=0,s.d=0,s.e=0,s.f=0;var fnn,Sg,$me,Rme,Bme,zme,Fme,Jme,ute=v("java.math","BigDecimal",247);m(91,242,{3:1,35:1,242:1,91:1},_1,vLe,Xb,IJe,C0),s.Dd=function(n){return MJe(this,u(n,91))},s.se=function(){return Q2(fZ(this,0))},s.Fb=function(n){return sde(this,n)},s.Hb=function(){return EFe(this)},s.Ib=function(){return fZ(this,0)},s.b=-2,s.c=0,s.d=0,s.e=0;var ann,gJ,hnn,ote,wJ,ex,I3=v("java.math","BigInteger",91),dnn,bnn,M4,nx;m(484,2027,np),s.$b=function(){Hu(this)},s._b=function(n){return so(this,n)},s.uc=function(n){return oFe(this,n,this.i)||oFe(this,n,this.f)},s.vc=function(){return new sn(this)},s.xc=function(n){return zn(this,n)},s.yc=function(n,t){return ei(this,n,t)},s.Ac=function(n){return G5(this,n)},s.gc=function(){return Nj(this)},s.g=0,v(pt,"AbstractHashMap",484),m(306,Ua,fs,sn),s.$b=function(){this.a.$b()},s.Gc=function(n){return VLe(this,n)},s.Jc=function(){return new J2(this.a)},s.Kc=function(n){var t;return VLe(this,n)?(t=u(n,45).jd(),this.a.Ac(t),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractHashMap/EntrySet",306),m(307,1,Fr,J2),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return c3(this)},s.Ob=function(){return this.b},s.Qb=function(){jRe(this)},s.b=!1,s.d=0,v(pt,"AbstractHashMap/EntrySetIterator",307),m(417,1,Fr,qc),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this)},s.Pb=function(){return lae(this)},s.Qb=function(){As(this)},s.b=0,s.c=-1,v(pt,"AbstractList/IteratorImpl",417),m(97,417,e1,qr),s.Qb=function(){As(this)},s.Rb=function(n){E2(this,n)},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Ub=function(){return at(this.b>0),this.a.Xb(this.c=--this.b)},s.Vb=function(){return this.b-1},s.Wb=function(n){v2(this.c!=-1),this.a.fd(this.c,n)},v(pt,"AbstractList/ListIteratorImpl",97),m(258,56,J8,D0),s._c=function(n,t){_2(n,this.b),this.c._c(this.a+n,t),++this.b},s.Xb=function(n){return kn(n,this.b),this.c.Xb(this.a+n)},s.ed=function(n){var t;return kn(n,this.b),t=this.c.ed(this.a+n),--this.b,t},s.fd=function(n,t){return kn(n,this.b),this.c.fd(this.a+n,t)},s.gc=function(){return this.b},s.a=0,s.b=0,v(pt,"AbstractList/SubList",258),m(232,Ua,fs,it),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new gt(n)},s.Kc=function(n){return this.a._b(n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/1",232),m(529,1,Fr,gt),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.jd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/1/1",529),m(230,31,um,ot),s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a.uc(n)},s.Jc=function(){var n;return n=this.a.vc().Jc(),new Hi(n)},s.gc=function(){return this.a.gc()},v(pt,"AbstractMap/2",230),m(304,1,Fr,Hi),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a.Ob()},s.Pb=function(){var n;return n=u(this.a.Pb(),45),n.kd()},s.Qb=function(){this.a.Qb()},v(pt,"AbstractMap/2/1",304),m(480,1,{480:1,45:1}),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.d,t.jd())&&Ku(this.e,t.kd())):!1},s.jd=function(){return this.d},s.kd=function(){return this.e},s.Hb=function(){return Jv(this.d)^Jv(this.e)},s.ld=function(n){return _le(this,n)},s.Ib=function(){return this.d+"="+this.e},v(pt,"AbstractMap/AbstractEntry",480),m(390,480,{480:1,390:1,45:1},l$),v(pt,"AbstractMap/SimpleEntry",390),m(2044,1,BZ),s.Fb=function(n){var t;return X(n,45)?(t=u(n,45),Ku(this.jd(),t.jd())&&Ku(this.kd(),t.kd())):!1},s.Hb=function(){return Jv(this.jd())^Jv(this.kd())},s.Ib=function(){return this.jd()+"="+this.kd()},v(pt,pYe,2044),m(2052,2027,Bge),s.Vc=function(n){return LX(this.Ce(n))},s.tc=function(n){return HPe(this,n)},s._b=function(n){return Lle(this,n)},s.vc=function(){return new Xi(this)},s.Rc=function(){return lDe(this.Ee())},s.Wc=function(n){return LX(this.Fe(n))},s.xc=function(n){var t;return t=n,bu(this.De(t))},s.Yc=function(n){return LX(this.Ge(n))},s.ec=function(){return new _u(this)},s.Tc=function(){return lDe(this.He())},s.Zc=function(n){return LX(this.Ie(n))},v(pt,"AbstractNavigableMap",2052),m(620,Ua,fs,Xi),s.Gc=function(n){return X(n,45)&&HPe(this.b,u(n,45))},s.Jc=function(){return this.b.Be()},s.Kc=function(n){var t;return X(n,45)?(t=u(n,45),this.b.Je(t)):!1},s.gc=function(){return this.b.gc()},v(pt,"AbstractNavigableMap/EntrySet",620),m(1115,Ua,zge,_u),s.Lc=function(){return new h$(this)},s.$b=function(){this.a.$b()},s.Gc=function(n){return Lle(this.a,n)},s.Jc=function(){var n;return n=this.a.vc().b.Be(),new Fke(n)},s.Kc=function(n){return Lle(this.a,n)?(this.a.Ac(n),!0):!1},s.gc=function(){return this.a.gc()},v(pt,"AbstractNavigableMap/NavigableKeySet",1115),m(1116,1,Fr,Fke),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return FX(this.a.a)},s.Pb=function(){var n;return n=LOe(this.a),n.jd()},s.Qb=function(){RNe(this.a)},v(pt,"AbstractNavigableMap/NavigableKeySet/1",1116),m(2065,31,um),s.Ec=function(n){return I5(S8(this,n),G8),!0},s.Fc=function(n){return Ln(n),RT(n!=this,"Can't add a queue to itself"),ac(this,n)},s.$b=function(){for(;CY(this)!=null;);},v(pt,"AbstractQueue",2065),m(314,31,{4:1,20:1,31:1,18:1},Gv,zLe),s.Ec=function(n){return $ae(this,n),!0},s.$b=function(){Jae(this)},s.Gc=function(n){return xze(new mE(this),n)},s.dc=function(){return Mj(this)},s.Jc=function(){return new mE(this)},s.Kc=function(n){return I5n(new mE(this),n)},s.gc=function(){return this.c-this.b&this.a.length-1},s.Lc=function(){return new yn(this,272)},s.Oc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&ir(n,t,null),n},s.b=0,s.c=0,v(pt,"ArrayDeque",314),m(448,1,Fr,mE),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return this.a!=this.b},s.Pb=function(){return qB(this)},s.Qb=function(){xBe(this)},s.a=0,s.b=0,s.c=-1,v(pt,"ArrayDeque/IteratorImpl",448),m(13,56,DYe,Te,xo,bs),s._c=function(n,t){Hb(this,n,t)},s.Ec=function(n){return Ce(this,n)},s.ad=function(n,t){return D1e(this,n,t)},s.Fc=function(n){return Sr(this,n)},s.$b=function(){o2(this.c,0)},s.Gc=function(n){return pu(this,n,0)!=-1},s.Ic=function(n){Ao(this,n)},s.Xb=function(n){return Le(this,n)},s.bd=function(n){return pu(this,n,0)},s.dc=function(){return this.c.length==0},s.Jc=function(){return new P(this)},s.ed=function(n){return Od(this,n)},s.Kc=function(n){return qo(this,n)},s.ae=function(n,t){aLe(this,n,t)},s.fd=function(n,t){return ol(this,n,t)},s.gc=function(){return this.c.length},s.gd=function(n){Tr(this,n)},s.Nc=function(){return uR(this.c)},s.Oc=function(n){return Fa(this,n)};var DBn=v(pt,"ArrayList",13);m(7,1,Fr,P),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return gu(this)},s.Pb=function(){return L(this)},s.Qb=function(){dE(this)},s.a=0,s.b=-1,v(pt,"ArrayList/1",7),m(2074,k.Function,{},wn),s.Ke=function(n,t){return ji(n,t)},m(123,56,_Ye,Su),s.Gc=function(n){return SBe(this,n)!=-1},s.Ic=function(n){var t,i,r,c;for(Ln(n),i=this.a,r=0,c=i.length;r0)throw R(new Un(Yge+n+" greater than "+this.e));return this.f.Re()?__e(this.c,this.b,this.a,n,t):lLe(this.c,n,t)},s.yc=function(n,t){if(!eW(this.c,this.f,n,this.b,this.a,this.e,this.d))throw R(new Un(n+" outside the range "+this.b+" to "+this.e));return Hze(this.c,n,t)},s.Ac=function(n){var t;return t=n,eW(this.c,this.f,t,this.b,this.a,this.e,this.d)?L_e(this.c,t):null},s.Je=function(n){return CR(this,n.jd())&&she(this.c,n)},s.gc=function(){var n,t,i;if(this.f.Re()?this.a?t=p8(this.c,this.b,!0):t=p8(this.c,this.b,!1):t=yhe(this.c),!(t&&CR(this,t.d)&&t))return 0;for(n=0,i=new FY(this.c,this.f,this.b,this.a,this.e,this.d);FX(i.a);i.b=u(lae(i.a),45))++n;return n},s.$c=function(n,t){if(this.f.Re()&&this.c.a.Le(n,this.b)<0)throw R(new Un(Yge+n+$Ye+this.b));return this.f.Se()?__e(this.c,n,t,this.e,this.d):fLe(this.c,n,t)},s.a=!1,s.d=!1,v(pt,"TreeMap/SubMap",622),m(309,23,HZ,f$),s.Re=function(){return!1},s.Se=function(){return!1};var fte,ate,hte,dte,mJ=yt(pt,"TreeMap/SubMapType",309,Ct,s6n,_2n);m(1112,309,HZ,DTe),s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/1",1112,mJ,null,null),m(1113,309,HZ,qTe),s.Re=function(){return!0},s.Se=function(){return!0},yt(pt,"TreeMap/SubMapType/2",1113,mJ,null,null),m(1114,309,HZ,_Te),s.Re=function(){return!0},yt(pt,"TreeMap/SubMapType/3",1114,mJ,null,null);var jnn;m(141,Ua,{3:1,20:1,31:1,18:1,277:1,22:1,83:1,141:1},pX,ale,Ed,f9),s.Lc=function(){return new h$(this)},s.Ec=function(n){return FT(this,n)},s.$b=function(){this.a.$b()},s.Gc=function(n){return this.a._b(n)},s.Jc=function(){return this.a.ec().Jc()},s.Kc=function(n){return DK(this,n)},s.gc=function(){return this.a.gc()};var BBn=v(pt,"TreeSet",141);m(1052,1,{},Gke),s.Te=function(n,t){return e2n(this.a,n,t)},v(GZ,"BinaryOperator/lambda$0$Type",1052),m(1053,1,{},qke),s.Te=function(n,t){return n2n(this.a,n,t)},v(GZ,"BinaryOperator/lambda$1$Type",1053),m(935,1,{},Fu),s.Kb=function(n){return n},v(GZ,"Function/lambda$0$Type",935),m(388,1,zt,a9),s.Mb=function(n){return!this.a.Mb(n)},v(GZ,"Predicate/lambda$2$Type",388),m(567,1,{567:1});var Enn=v(ES,"Handler",567);m(2069,1,bN),s.ve=function(){return"DUMMY"},s.Ib=function(){return this.ve()};var Vme;v(ES,"Level",2069),m(1672,2069,bN,Rs),s.ve=function(){return"INFO"},v(ES,"Level/LevelInfo",1672),m(1824,1,{},lxe);var bte;v(ES,"LogManager",1824),m(1866,1,bN,$Ne),s.b=null,v(ES,"LogRecord",1866),m(511,1,{511:1},oY),s.e=!1;var Snn=!1,xnn=!1,Qa=!1,Ann=!1,Mnn=!1;v(ES,"Logger",511),m(819,567,{567:1},Er),v(ES,"SimpleConsoleLogHandler",819),m(130,23,{3:1,35:1,23:1,130:1},GX);var Yme,Yo,Qme,Qo=yt(_c,"Collector/Characteristics",130,Ct,U5n,L2n),Cnn;m(746,1,{},Ffe),v(_c,"CollectorImpl",746),m(1050,1,{},Kr),s.Te=function(n,t){return mjn(u(n,212),u(t,212))},v(_c,"Collectors/10methodref$merge$Type",1050),m(1051,1,{},Dt),s.Kb=function(n){return BLe(u(n,212))},v(_c,"Collectors/11methodref$toString$Type",1051),m(152,1,{},bi),s.Wd=function(n,t){u(n,18).Ec(t)},v(_c,"Collectors/20methodref$add$Type",152),m(154,1,{},zi),s.Ve=function(){return new Te},v(_c,"Collectors/21methodref$ctor$Type",154),m(1049,1,{},cu),s.Wd=function(n,t){L1(u(n,212),u(t,472))},v(_c,"Collectors/9methodref$add$Type",1049),m(1048,1,{},tIe),s.Ve=function(){return new rg(this.a,this.b,this.c)},v(_c,"Collectors/lambda$15$Type",1048),m(153,1,{},Cc),s.Te=function(n,t){return Ogn(u(n,18),u(t,18))},v(_c,"Collectors/lambda$45$Type",153),m(538,1,{}),s.Ye=function(){pE(this)},s.d=!1,v(_c,"TerminatableStream",538),m(768,538,Qge,Mle),s.Ye=function(){pE(this)},v(_c,"DoubleStreamImpl",768),m(1297,724,bl,iIe),s.Pe=function(n){return qSn(this,u(n,189))},s.a=null,v(_c,"DoubleStreamImpl/2",1297),m(1298,1,EN,Uke),s.Ne=function(n){Ewn(this.a,n)},v(_c,"DoubleStreamImpl/2/lambda$0$Type",1298),m(1295,1,EN,Xke),s.Ne=function(n){jwn(this.a,n)},v(_c,"DoubleStreamImpl/lambda$0$Type",1295),m(1296,1,EN,Kke),s.Ne=function(n){gJe(this.a,n)},v(_c,"DoubleStreamImpl/lambda$2$Type",1296),m(1351,723,bl,VPe),s.Pe=function(n){return Q4n(this,u(n,202))},s.a=0,s.b=0,s.c=0,v(_c,"IntStream/5",1351),m(793,538,Qge,Cle),s.Ye=function(){pE(this)},s.Ze=function(){return N0(this),this.a},v(_c,"IntStreamImpl",793),m(794,538,Qge,Woe),s.Ye=function(){pE(this)},s.Ze=function(){return N0(this),Wse(),knn},v(_c,"IntStreamImpl/Empty",794),m(1651,1,wN,Vke),s.Bd=function(n){oze(this.a,n)},v(_c,"IntStreamImpl/lambda$4$Type",1651);var zBn=Gi(_c,"Stream");m(28,538,{520:1,677:1,832:1},pn),s.Ye=function(){pE(this)};var C4;v(_c,"StreamImpl",28),m(1072,486,bl,CNe),s.zd=function(n){for(;Q9n(this);){if(this.a.zd(n))return!0;pE(this.b),this.b=null,this.a=null}return!1},v(_c,"StreamImpl/1",1072),m(1073,1,ct,Yke),s.Ad=function(n){Bvn(this.a,u(n,832))},v(_c,"StreamImpl/1/lambda$0$Type",1073),m(1074,1,zt,Qke),s.Mb=function(n){return hr(this.a,n)},v(_c,"StreamImpl/1methodref$add$Type",1074),m(1075,486,bl,o_e),s.zd=function(n){var t;return this.a||(t=new Te,this.b.a.Nb(new Wke(t)),En(),Tr(t,this.c),this.a=new yn(t,16)),VRe(this.a,n)},s.a=null,v(_c,"StreamImpl/5",1075),m(1076,1,ct,Wke),s.Ad=function(n){Ce(this.a,n)},v(_c,"StreamImpl/5/2methodref$add$Type",1076),m(725,486,bl,mhe),s.zd=function(n){for(this.b=!1;!this.b&&this.c.zd(new UMe(this,n)););return this.b},s.b=!1,v(_c,"StreamImpl/FilterSpliterator",725),m(1066,1,ct,UMe),s.Ad=function(n){N3n(this.a,this.b,n)},v(_c,"StreamImpl/FilterSpliterator/lambda$0$Type",1066),m(1061,724,bl,c$e),s.Pe=function(n){return x2n(this,u(n,189))},v(_c,"StreamImpl/MapToDoubleSpliterator",1061),m(1065,1,ct,XMe),s.Ad=function(n){Ugn(this.a,this.b,n)},v(_c,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1065),m(1060,723,bl,u$e),s.Pe=function(n){return A2n(this,u(n,202))},v(_c,"StreamImpl/MapToIntSpliterator",1060),m(1064,1,ct,KMe),s.Ad=function(n){Xgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1064),m(722,486,bl,rhe),s.zd=function(n){return ONe(this,n)},v(_c,"StreamImpl/MapToObjSpliterator",722),m(1063,1,ct,VMe),s.Ad=function(n){Kgn(this.a,this.b,n)},v(_c,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1063),m(1062,486,bl,ABe),s.zd=function(n){for(;JX(this.b,0);){if(!this.a.zd(new nf))return!1;this.b=ff(this.b,1)}return this.a.zd(n)},s.b=0,v(_c,"StreamImpl/SkipSpliterator",1062),m(1067,1,ct,nf),s.Ad=function(n){},v(_c,"StreamImpl/SkipSpliterator/lambda$0$Type",1067),m(617,1,ct,Ia),s.Ad=function(n){MP(this,n)},v(_c,"StreamImpl/ValueConsumer",617),m(1068,1,ct,ra),s.Ad=function(n){zb()},v(_c,"StreamImpl/lambda$0$Type",1068),m(1069,1,ct,l0),s.Ad=function(n){zb()},v(_c,"StreamImpl/lambda$1$Type",1069),m(1070,1,{},Zke),s.Te=function(n,t){return I2n(this.a,n,t)},v(_c,"StreamImpl/lambda$4$Type",1070),m(1071,1,ct,YMe),s.Ad=function(n){o2n(this.b,this.a,n)},v(_c,"StreamImpl/lambda$5$Type",1071),m(1077,1,ct,eje),s.Ad=function(n){V7n(this.a,u(n,375))},v(_c,"TerminatableStream/lambda$0$Type",1077),m(2104,1,{}),m(1976,1,{},Cb),v("javaemul.internal","ConsoleLogger",1976);var FBn=0;m(2096,1,{}),m(1800,1,ct,xl),s.Ad=function(n){u(n,321)},v(q8,"BowyerWatsonTriangulation/lambda$0$Type",1800),m(1801,1,ct,nje),s.Ad=function(n){ac(this.a,u(n,321).e)},v(q8,"BowyerWatsonTriangulation/lambda$1$Type",1801),m(1802,1,ct,od),s.Ad=function(n){u(n,177)},v(q8,"BowyerWatsonTriangulation/lambda$2$Type",1802),m(1797,1,Yt,tje),s.Le=function(n,t){return P6n(this.a,u(n,177),u(t,177))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(q8,"NaiveMinST/lambda$0$Type",1797),m(440,1,{},mj),v(q8,"NodeMicroLayout",440),m(177,1,{177:1},v5),s.Fb=function(n){var t;return X(n,177)?(t=u(n,177),Ku(this.a,t.a)&&Ku(this.b,t.b)||Ku(this.a,t.b)&&Ku(this.b,t.a)):!1},s.Hb=function(){return Jv(this.a)+Jv(this.b)};var JBn=v(q8,"TEdge",177);m(321,1,{321:1},age),s.Fb=function(n){var t;return X(n,321)?(t=u(n,321),fB(this,t.a)&&fB(this,t.b)&&fB(this,t.c)):!1},s.Hb=function(){return Jv(this.a)+Jv(this.b)+Jv(this.c)},v(q8,"TTriangle",321),m(225,1,{225:1},B$),v(q8,"Tree",225),m(1183,1,{},Q_e),v(zYe,"Scanline",1183);var Tnn=Gi(zYe,FYe);m(1728,1,{},QRe),v(r1,"CGraph",1728),m(320,1,{320:1},G_e),s.b=0,s.c=0,s.d=0,s.g=0,s.i=0,s.k=Ir,v(r1,"CGroup",320),m(814,1,{},goe),v(r1,"CGroup/CGroupBuilder",814),m(60,1,{60:1},fNe),s.Ib=function(){var n;return this.j?Pt(this.j.Kb(this)):(T1(vJ),vJ.o+"@"+(n=xw(this)>>>0,n.toString(16)))},s.f=0,s.i=Ir;var vJ=v(r1,"CNode",60);m(813,1,{},woe),v(r1,"CNode/CNodeBuilder",813);var Onn;m(1551,1,{},f0),s.df=function(n,t){return 0},s.ef=function(n,t){return 0},v(r1,HYe,1551),m(1830,1,{},sh),s.af=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_;for(g=Vi,r=new P(n.a.b);r.ar.d.c||r.d.c==o.d.c&&r.d.b0?n+this.n.d+this.n.a:0},s.gf=function(){var n,t,i,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].gf());else if(this.g)c=cde(this,tW(this,null,!0));else for(t=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),i=0,r=t.length;i0?c+this.n.b+this.n.c:0},s.hf=function(){var n,t,i,r,c;if(this.g)for(n=tW(this,null,!1),i=(pa(),F(z(wm,1),je,237,0,[Ou,No,Nu])),r=0,c=i.length;r0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=k.Math.max(0,i),this.c.d=t.d+n.d+(this.c.a-i)/2,r[1]=k.Math.max(r[1],i),ehe(this,No,t.d+n.d+r[0]-(r[1]-i)/2,r)},s.b=null,s.d=0,s.e=!1,s.f=!1,s.g=!1;var wte=0,yJ=0;v(wg,"GridContainerCell",1499),m(461,23,{3:1,35:1,23:1,461:1},UX);var ub,Ih,Uf,$nn=yt(wg,"HorizontalLabelAlignment",461,Ct,s4n,P2n),Rnn;m(318,216,{216:1,318:1},P_e,YRe,T_e),s.ff=function(){return bIe(this)},s.gf=function(){return mfe(this)},s.a=0,s.c=!1;var HBn=v(wg,"LabelCell",318);m(253,337,{216:1,337:1,253:1},KE),s.ff=function(){return tS(this)},s.gf=function(){return iS(this)},s.hf=function(){GW(this)},s.jf=function(){qW(this)},s.b=0,s.c=0,s.d=!1,v(wg,"StripContainerCell",253),m(1655,1,zt,my),s.Mb=function(n){return Fbn(u(n,216))},v(wg,"StripContainerCell/lambda$0$Type",1655),m(1656,1,{},a0),s.We=function(n){return u(n,216).gf()},v(wg,"StripContainerCell/lambda$1$Type",1656),m(1657,1,zt,sd),s.Mb=function(n){return Jbn(u(n,216))},v(wg,"StripContainerCell/lambda$2$Type",1657),m(1658,1,{},Np),s.We=function(n){return u(n,216).ff()},v(wg,"StripContainerCell/lambda$3$Type",1658),m(462,23,{3:1,35:1,23:1,462:1},XX);var Xf,ob,Ea,Bnn=yt(wg,"VerticalLabelAlignment",462,Ct,l4n,$2n),znn;m(787,1,{},Tge),s.c=0,s.d=0,s.k=0,s.s=0,s.t=0,s.v=!1,s.w=0,s.D=!1,s.F=!1,v(aF,"NodeContext",787),m(1497,1,Yt,lh),s.Le=function(n,t){return xTe(u(n,64),u(t,64))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(aF,"NodeContext/0methodref$comparePortSides$Type",1497),m(1498,1,Yt,Ip),s.Le=function(n,t){return xMn(u(n,115),u(t,115))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(aF,"NodeContext/1methodref$comparePortContexts$Type",1498),m(168,23,{3:1,35:1,23:1,168:1},zl);var Fnn,Jnn,Hnn,Gnn,qnn,Unn,Xnn,Knn,Vnn,Ynn,Qnn,Wnn,Znn,etn,ntn,ttn,itn,rtn,ctn,utn,otn,pte,stn=yt(aF,"NodeLabelLocation",168,Ct,DQ,R2n),ltn;m(115,1,{115:1},Uqe),s.a=!1,v(aF,"PortContext",115),m(1502,1,ct,Xg),s.Ad=function(n){zAe(u(n,318))},v(xN,tQe,1502),m(1503,1,zt,Kg),s.Mb=function(n){return!!u(n,115).c},v(xN,iQe,1503),m(1504,1,ct,Vg),s.Ad=function(n){zAe(u(n,115).c)},v(xN,"LabelPlacer/lambda$2$Type",1504);var Zme;m(1501,1,ct,fd),s.Ad=function(n){j2(),ybn(u(n,115))},v(xN,"NodeLabelAndSizeUtilities/lambda$0$Type",1501),m(788,1,ct,Yle),s.Ad=function(n){_gn(this.b,this.c,this.a,u(n,187))},s.a=!1,s.c=!1,v(xN,"NodeLabelCellCreator/lambda$0$Type",788),m(1500,1,ct,cje),s.Ad=function(n){Sbn(this.a,u(n,187))},v(xN,"PortContextCreator/lambda$0$Type",1500);var kJ;m(1872,1,{},Yg),v(X8,"GreedyRectangleStripOverlapRemover",1872),m(1873,1,Yt,Ob),s.Le=function(n,t){return hpn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1873),m(1826,1,{},bxe),s.a=5,s.e=0,v(X8,"RectangleStripOverlapRemover",1826),m(1827,1,Yt,vy),s.Le=function(n,t){return dpn(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1827),m(1829,1,Yt,Dp),s.Le=function(n,t){return X3n(u(n,226),u(t,226))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(X8,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1829),m(409,23,{3:1,35:1,23:1,409:1},a$);var QN,mte,vte,WN,ftn=yt(X8,"RectangleStripOverlapRemover/OverlapRemovalDirection",409,Ct,u6n,B2n),atn;m(226,1,{226:1},aV),v(X8,"RectangleStripOverlapRemover/RectangleNode",226),m(1828,1,ct,uje),s.Ad=function(n){txn(this.a,u(n,226))},v(X8,"RectangleStripOverlapRemover/lambda$1$Type",1828);var htn=!1,tx,eve;m(1798,1,ct,_p),s.Ad=function(n){eVe(u(n,225))},v(y4,"DepthFirstCompaction/0methodref$compactTree$Type",1798),m(810,1,ct,eoe),s.Ad=function(n){kyn(this.a,u(n,225))},v(y4,"DepthFirstCompaction/lambda$1$Type",810),m(1799,1,ct,FNe),s.Ad=function(n){HEn(this.a,this.b,this.c,u(n,225))},v(y4,"DepthFirstCompaction/lambda$2$Type",1799);var ix,nve;m(68,1,{68:1},Z_e),v(y4,"Node",68),m(1179,1,{},HTe),v(y4,"ScanlineOverlapCheck",1179),m(1180,1,{683:1},S_e),s._e=function(n){Qpn(this,u(n,442))},v(y4,"ScanlineOverlapCheck/OverlapsScanlineHandler",1180),m(1181,1,Yt,uu),s.Le=function(n,t){return Ojn(u(n,68),u(t,68))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(y4,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1181),m(442,1,{442:1},ase),s.a=!1,v(y4,"ScanlineOverlapCheck/Timestamp",442),m(1182,1,Yt,yy),s.Le=function(n,t){return tAn(u(n,442),u(t,442))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(y4,"ScanlineOverlapCheck/lambda$0$Type",1182),m(545,1,{},Qg),v("org.eclipse.elk.alg.common.utils","SVGImage",545),m(748,1,{},ov),v(VZ,rwe,748),m(1164,1,Yt,ky),s.Le=function(n,t){return OTn(u(n,235),u(t,235))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(VZ,uQe,1164),m(1165,1,ct,QMe),s.Ad=function(n){j4n(this.b,this.a,u(n,251))},v(VZ,cwe,1165),m(214,1,ip),v(E3,"AbstractLayoutProvider",214),m(726,214,ip,poe),s.kf=function(n,t){PUe(this,n,t)},v(VZ,"ForceLayoutProvider",726);var GBn=Gi(AN,oQe);m(150,1,{3:1,105:1,150:1},Wg),s.of=function(n,t){return MO(this,n,t)},s.lf=function(){return TIe(this)},s.mf=function(n){return C(this,n)},s.nf=function(n){return wi(this,n)},v(AN,"MapPropertyHolder",150),m(313,150,{3:1,313:1,105:1,150:1}),v(MN,"FParticle",313),m(251,313,{3:1,251:1,313:1,105:1,150:1},bDe),s.Ib=function(){var n;return this.a?(n=pu(this.a.a,this,0),n>=0?"b"+n+"["+iY(this.a)+"]":"b["+iY(this.a)+"]"):"b_"+xw(this)},v(MN,"FBendpoint",251),m(291,150,{3:1,291:1,105:1,150:1},sNe),s.Ib=function(){return iY(this)},v(MN,"FEdge",291),m(235,150,{3:1,235:1,105:1,150:1},nB);var qBn=v(MN,"FGraph",235);m(445,313,{3:1,445:1,313:1,105:1,150:1},wPe),s.Ib=function(){return this.b==null||this.b.length==0?"l["+iY(this.a)+"]":"l_"+this.b},v(MN,"FLabel",445),m(155,313,{3:1,155:1,313:1,105:1,150:1},GTe),s.Ib=function(){return Cae(this)},s.a=0,v(MN,"FNode",155),m(2062,1,{}),s.qf=function(n){cge(this,n)},s.rf=function(){yHe(this)},s.d=0,v(uwe,"AbstractForceModel",2062),m(631,2062,{631:1},lze),s.pf=function(n,t){var i,r,c,o,l;return iVe(this.f,n,t),c=Nr(pc(t.d),n.d),l=k.Math.sqrt(c.a*c.a+c.b*c.b),r=k.Math.max(0,l-wE(n.e)/2-wE(t.e)/2),i=Pqe(this.e,n,t),i>0?o=-R3n(r,this.c)*i:o=Mpn(r,this.b)*u(C(n,(Gf(),O4)),15).a,C1(c,o/l),c},s.qf=function(n){cge(this,n),this.a=u(C(n,(Gf(),EJ)),15).a,this.c=te(re(C(n,SJ))),this.b=te(re(C(n,kte)))},s.sf=function(n){return n0&&(o-=$bn(r,this.a)*i),C1(c,o*this.b/l),c},s.qf=function(n){var t,i,r,c,o,l,f;for(cge(this,n),this.b=te(re(C(n,(Gf(),jte)))),this.c=this.b/u(C(n,EJ),15).a,r=n.e.c.length,o=0,c=0,f=new P(n.e);f.a0},s.a=0,s.b=0,s.c=0,v(uwe,"FruchtermanReingoldModel",632);var T4=Gi(yu,"ILayoutMetaDataProvider");m(844,1,Ka,jC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hF),""),"Force Model"),"Determines the model for force calculation."),tve),(hg(),Bi)),ive),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,owe),""),"Iterations"),"The number of iterations on the force model."),ye(300)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,swe),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,YZ),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),Mh),ec),gr),rn(Tn)))),qi(n,YZ,hF,vtn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,QZ),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),ec),gr),rn(Tn)))),qi(n,QZ,hF,wtn),qVe((new cP,n))};var dtn,btn,tve,gtn,wtn,ptn,mtn,vtn;v(AS,"ForceMetaDataProvider",844),m(424,23,{3:1,35:1,23:1,424:1},hse);var yte,jJ,ive=yt(AS,"ForceModelStrategy",424,Ct,m5n,F2n),ytn;m(984,1,Ka,cP),s.tf=function(n){qVe(n)};var ktn,jtn,rve,EJ,cve,Etn,Stn,xtn,Atn,uve,Mtn,ove,sve,Ctn,O4,Ttn,kte,lve,Otn,Ntn,SJ,jte,Itn,Dtn,_tn,fve,Ltn;v(AS,"ForceOptions",984),m(985,1,{},sv),s.uf=function(){var n;return n=new poe,n},s.vf=function(n){},v(AS,"ForceOptions/ForceFactory",985);var ZN,rx,N4,xJ;m(845,1,Ka,uP),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fwe),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),($n(),!1)),(hg(),xr)),Qi),rn((kh(),fr))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,awe),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[Aa]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hwe),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),ave),Bi),mve),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dwe),""),"Stress Epsilon"),"Termination criterion for the iterative process."),Mh),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bwe),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),ye(oi)),dc),jr),rn(Tn)))),vVe((new AU,n))};var Ptn,$tn,ave,Rtn,Btn,ztn;v(AS,"StressMetaDataProvider",845),m(988,1,Ka,AU),s.tf=function(n){vVe(n)};var AJ,hve,dve,bve,gve,wve,Ftn,Jtn,Htn,Gtn,pve,qtn;v(AS,"StressOptions",988),m(989,1,{},jy),s.uf=function(){var n;return n=new lNe,n},s.vf=function(n){},v(AS,"StressOptions/StressFactory",989),m(1080,214,ip,lNe),s.kf=function(n,t){var i,r,c,o,l;for(t.Tg(hQe,1),ze(Be(ke(n,(FO(),gve))))?ze(Be(ke(n,pve)))||KT((i=new mj((Fb(),new k0(n))),i)):PUe(new poe,n,t.dh(1)),c=Rze(n),r=OKe(this.a,c),l=r.Jc();l.Ob();)o=u(l.Pb(),235),!(o.e.c.length<=1)&&(ZLn(this.b,o),xOn(this.b),Ao(o.d,new Ey));c=JVe(r),QVe(c),t.Ug()},v(gF,"StressLayoutProvider",1080),m(1081,1,ct,Ey),s.Ad=function(n){bge(u(n,445))},v(gF,"StressLayoutProvider/lambda$0$Type",1081),m(986,1,{},sxe),s.c=0,s.e=0,s.g=0,v(gF,"StressMajorization",986),m(384,23,{3:1,35:1,23:1,384:1},KX);var Ete,Ste,xte,mve=yt(gF,"StressMajorization/Dimension",384,Ct,u4n,J2n),Utn;m(987,1,Yt,oje),s.Le=function(n,t){return m2n(this.a,u(n,155),u(t,155))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(gF,"StressMajorization/lambda$0$Type",987),m(1161,1,{},ELe),v(E4,"ElkLayered",1161),m(1162,1,ct,sje),s.Ad=function(n){dTn(this.a,u(n,37))},v(E4,"ElkLayered/lambda$0$Type",1162),m(1163,1,ct,lje),s.Ad=function(n){S2n(this.a,u(n,37))},v(E4,"ElkLayered/lambda$1$Type",1163),m(1246,1,{},JTe);var Xtn,Ktn,Vtn;v(E4,"GraphConfigurator",1246),m(757,1,ct,noe),s.Ad=function(n){$Ge(this.a,u(n,9))},v(E4,"GraphConfigurator/lambda$0$Type",757),m(758,1,{},w1),s.Kb=function(n){return Qde(),new pn(null,new yn(u(n,25).a,16))},v(E4,"GraphConfigurator/lambda$1$Type",758),m(759,1,ct,toe),s.Ad=function(n){$Ge(this.a,u(n,9))},v(E4,"GraphConfigurator/lambda$2$Type",759),m(1079,214,ip,fxe),s.kf=function(n,t){var i;i=NLn(new wxe,n),oe(ke(n,(Oe(),Am)))===oe((F1(),e0))?zjn(this.a,i,t):kOn(this.a,i,t),t.Zg()||LVe(new SC,i)},v(E4,"LayeredLayoutProvider",1079),m(363,23,{3:1,35:1,23:1,363:1},aT);var Kf,o1,eo,no,Pc,vve=yt(E4,"LayeredPhases",363,Ct,t9n,H2n),Ytn;m(1683,1,{},TBe),s.i=0;var Qtn;v(DN,"ComponentsToCGraphTransformer",1683);var Wtn;m(1684,1,{},Zs),s.wf=function(n,t){return k.Math.min(n.a!=null?te(n.a):n.c.i,t.a!=null?te(t.a):t.c.i)},s.xf=function(n,t){return k.Math.min(n.a!=null?te(n.a):n.c.i,t.a!=null?te(t.a):t.c.i)},v(DN,"ComponentsToCGraphTransformer/1",1684),m(82,1,{82:1}),s.i=0,s.k=!0,s.o=Ir;var Ate=v(OS,"CNode",82);m(460,82,{460:1,82:1},ble,Ade),s.Ib=function(){return""},v(DN,"ComponentsToCGraphTransformer/CRectNode",460),m(1652,1,{},Af);var Mte,Cte;v(DN,"OneDimensionalComponentsCompaction",1652),m(1653,1,{},vt),s.Kb=function(n){return R5n(u(n,49))},s.Fb=function(n){return this===n},v(DN,"OneDimensionalComponentsCompaction/lambda$0$Type",1653),m(1654,1,{},kc),s.Kb=function(n){return qjn(u(n,49))},s.Fb=function(n){return this===n},v(DN,"OneDimensionalComponentsCompaction/lambda$1$Type",1654),m(1686,1,{},ADe),v(OS,"CGraph",1686),m(194,1,{194:1},OQ),s.b=0,s.c=0,s.e=0,s.g=!0,s.i=Ir,v(OS,"CGroup",194),m(1685,1,{},tc),s.wf=function(n,t){return k.Math.max(n.a!=null?te(n.a):n.c.i,t.a!=null?te(t.a):t.c.i)},s.xf=function(n,t){return k.Math.max(n.a!=null?te(n.a):n.c.i,t.a!=null?te(t.a):t.c.i)},v(OS,HYe,1685),m(1687,1,{},Rqe),s.d=!1;var Ztn,Tte=v(OS,UYe,1687);m(1688,1,{},ok),s.Kb=function(n){return nse(),$n(),u(u(n,49).a,82).d.e!=0},s.Fb=function(n){return this===n},v(OS,XYe,1688),m(817,1,{},yfe),s.a=!1,s.b=!1,s.c=!1,s.d=!1,v(OS,KYe,817),m(1868,1,{},zIe),v(wF,VYe,1868);var eI=Gi(pg,FYe);m(1869,1,{377:1},E_e),s._e=function(n){CIn(this,u(n,465))},v(wF,YYe,1869),m(1870,1,Yt,h0),s.Le=function(n,t){return Nyn(u(n,82),u(t,82))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(wF,QYe,1870),m(465,1,{465:1},dse),s.a=!1,v(wF,WYe,465),m(1871,1,Yt,Zg),s.Le=function(n,t){return iAn(u(n,465),u(t,465))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(wF,ZYe,1871),m(146,1,{146:1},S9,lfe),s.Fb=function(n){var t;return n==null||UBn!=Us(n)?!1:(t=u(n,146),Ku(this.c,t.c)&&Ku(this.d,t.d))},s.Hb=function(){return HB(F(z(Mr,1),Nn,1,5,[this.c,this.d]))},s.Ib=function(){return"("+this.c+To+this.d+(this.a?"cx":"")+this.b+")"},s.a=!0,s.c=0,s.d=0;var UBn=v(pg,"Point",146);m(408,23,{3:1,35:1,23:1,408:1},d$);var dp,pm,D3,mm,ein=yt(pg,"Point/Quadrant",408,Ct,o6n,z2n),nin;m(1674,1,{},axe),s.b=null,s.c=null,s.d=null,s.e=null,s.f=null;var tin,iin,rin,cin,uin;v(pg,"RectilinearConvexHull",1674),m(569,1,{377:1},fz),s._e=function(n){X9n(this,u(n,146))},s.b=0;var yve;v(pg,"RectilinearConvexHull/MaximalElementsEventHandler",569),m(1676,1,Yt,b6),s.Le=function(n,t){return Tyn(re(n),re(t))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1676),m(1675,1,{377:1},LRe),s._e=function(n){GNn(this,u(n,146))},s.a=0,s.b=null,s.c=null,s.d=null,s.e=null,v(pg,"RectilinearConvexHull/RectangleEventHandler",1675),m(1677,1,Yt,Lp),s.Le=function(n,t){return N4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$0$Type",1677),m(1678,1,Yt,Pp),s.Le=function(n,t){return I4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$1$Type",1678),m(1679,1,Yt,$p),s.Le=function(n,t){return _4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$2$Type",1679),m(1680,1,Yt,Rp),s.Le=function(n,t){return D4n(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$3$Type",1680),m(1681,1,Yt,Al),s.Le=function(n,t){return zMn(u(n,146),u(t,146))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pg,"RectilinearConvexHull/lambda$4$Type",1681),m(1682,1,{},W_e),v(pg,"Scanline",1682),m(2066,1,{}),v(Va,"AbstractGraphPlacer",2066),m(336,1,{336:1},DOe),s.Df=function(n){return this.Ef(n)?(gn(this.b,u(C(n,(ve(),Y1)),22),n),!0):!1},s.Ef=function(n){var t,i,r,c;for(t=u(C(n,(ve(),Y1)),22),c=u(vi(Ai,t),22),r=c.Jc();r.Ob();)if(i=u(r.Pb(),22),!u(vi(this.b,i),16).dc())return!1;return!0};var Ai;v(Va,"ComponentGroup",336),m(766,2066,{},moe),s.Ff=function(n){var t,i;for(i=new P(this.a);i.ai&&(p=0,y+=f+r,f=0),h=o.c,I8(o,p+h.a,y+h.b),aa(h),c=k.Math.max(c,p+g.a),f=k.Math.max(f,g.b),p+=g.a+r;t.f.a=c,t.f.b=y+f},s.Hf=function(n,t){var i,r,c,o,l;if(oe(C(t,(Oe(),vx)))===oe((t4(),cx))){for(r=n.Jc();r.Ob();){for(i=u(r.Pb(),37),l=0,o=new P(i.a);o.ai&&!u(C(o,(ve(),Y1)),22).Gc((Ie(),Vn))||h&&u(C(h,(ve(),Y1)),22).Gc((Ie(),nt))||u(C(o,(ve(),Y1)),22).Gc((Ie(),Yn)))&&(S=y,A+=f+r,f=0),g=o.c,u(C(o,(ve(),Y1)),22).Gc((Ie(),Vn))&&(S=c+r),I8(o,S+g.a,A+g.b),c=k.Math.max(c,S+p.a),u(C(o,Y1),22).Gc(bt)&&(y=k.Math.max(y,S+p.a+r)),aa(g),f=k.Math.max(f,p.b),S+=p.a+r,h=o;t.f.a=c,t.f.b=A+f},s.Hf=function(n,t){},v(Va,"ModelOrderRowGraphPlacer",1277),m(1275,1,Yt,DA),s.Le=function(n,t){return X7n(u(n,37),u(t,37))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Va,"SimpleRowGraphPlacer/1",1275);var sin;m(1245,1,Ah,g6),s.Lb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},s.Fb=function(n){return this===n},s.Mb=function(n){var t;return t=u(C(u(n,250).b,(Oe(),Wc)),78),!!t&&t.b!=0},v(pF,"CompoundGraphPostprocessor/1",1245),m(1244,1,Mi,pxe),s.If=function(n,t){tHe(this,u(n,37),t)},v(pF,"CompoundGraphPreprocessor",1244),m(444,1,{444:1},HFe),s.c=!1,v(pF,"CompoundGraphPreprocessor/ExternalPort",444),m(250,1,{250:1},nR),s.Ib=function(){return RK(this.c)+":"+Iqe(this.b)},v(pF,"CrossHierarchyEdge",250),m(764,1,Yt,ioe),s.Le=function(n,t){return Txn(this,u(n,250),u(t,250))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(pF,"CrossHierarchyEdgeComparator",764),m(246,150,{3:1,246:1,105:1,150:1}),s.p=0,v(Zu,"LGraphElement",246),m(17,246,{3:1,17:1,246:1,105:1,150:1},Dw),s.Ib=function(){return Iqe(this)};var v7=v(Zu,"LEdge",17);m(37,246,{3:1,20:1,37:1,246:1,105:1,150:1},Bhe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.b)},s.Ib=function(){return this.b.c.length==0?"G-unlayered"+Ga(this.a):this.a.c.length==0?"G-layered"+Ga(this.b):"G[layerless"+Ga(this.a)+", layers"+Ga(this.b)+"]"};var lin=v(Zu,"LGraph",37),fin;m(655,1,{}),s.Jf=function(){return this.e.n},s.mf=function(n){return C(this.e,n)},s.Kf=function(){return this.e.o},s.Lf=function(){return this.e.p},s.nf=function(n){return wi(this.e,n)},s.Mf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},s.Nf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},s.Of=function(n){this.e.p=n},v(Zu,"LGraphAdapters/AbstractLShapeAdapter",655),m(464,1,{837:1},vj),s.Pf=function(){var n,t;if(!this.b)for(this.b=Gh(this.a.b.c.length),t=new P(this.a.b);t.a0&&vFe((Wn(t-1,n.length),n.charCodeAt(t-1)),mQe);)--t;if(o> ",n),vz(i)),Kt(uo((n.a+="[",n),i.i),"]")),n.a},s.c=!0,s.d=!1;var xve,Ave,Mve,Cve,Tve,Ove,hin=v(Zu,"LPort",12);m(399,1,n1,h9),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.e),new fje(n)},v(Zu,"LPort/1",399),m(1273,1,Fr,fje),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).c},s.Ob=function(){return gu(this.a)},s.Qb=function(){dE(this.a)},v(Zu,"LPort/1/1",1273),m(365,1,n1,o5),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=new P(this.a.g),new roe(n)},v(Zu,"LPort/2",365),m(763,1,Fr,roe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(L(this.a),17).d},s.Ob=function(){return gu(this.a)},s.Qb=function(){dE(this.a)},v(Zu,"LPort/2/1",763),m(1266,1,n1,ZMe),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new Ra(this)},v(Zu,"LPort/CombineIter",1266),m(207,1,Fr,Ra),s.Nb=function(n){Zr(this,n)},s.Qb=function(){IAe()},s.Ob=function(){return rE(this)},s.Pb=function(){return gu(this.a)?L(this.a):L(this.b)},v(Zu,"LPort/CombineIter/1",207),m(1267,1,Ah,xy),s.Lb=function(n){return QIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).g.c.length!=0},v(Zu,"LPort/lambda$0$Type",1267),m(1268,1,Ah,d0),s.Lb=function(n){return WIe(n)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).e.c.length!=0},v(Zu,"LPort/lambda$1$Type",1268),m(1269,1,Ah,Ph),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Vn)},v(Zu,"LPort/lambda$2$Type",1269),m(1270,1,Ah,ak),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),nt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),nt)},v(Zu,"LPort/lambda$3$Type",1270),m(1271,1,Ah,_A),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),bt)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),bt)},v(Zu,"LPort/lambda$4$Type",1271),m(1272,1,Ah,Ay),s.Lb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},s.Fb=function(n){return this===n},s.Mb=function(n){return ss(),u(n,12).j==(Ie(),Yn)},v(Zu,"LPort/lambda$5$Type",1272),m(25,246,{3:1,20:1,246:1,25:1,105:1,150:1},Xu),s.Ic=function(n){cc(this,n)},s.Jc=function(){return new P(this.a)},s.Ib=function(){return"L_"+pu(this.b.b,this,0)+Ga(this.a)},v(Zu,"Layer",25),m(1659,1,{},F$e),s.b=0,v(Zu,"Tarjan",1659),m(1282,1,{},wxe),v(Gd,jQe,1282),m(1286,1,{},hk),s.Kb=function(n){return iu(u(n,84))},v(Gd,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1286),m(1289,1,{},fv),s.Kb=function(n){return iu(u(n,84))},v(Gd,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1289),m(1283,1,ct,aje),s.Ad=function(n){Vqe(this.a,u(n,125))},v(Gd,cwe,1283),m(1284,1,ct,hje),s.Ad=function(n){Vqe(this.a,u(n,125))},v(Gd,EQe,1284),m(1285,1,{},$h),s.Kb=function(n){return new pn(null,new yn(rae(u(n,85)),16))},v(Gd,SQe,1285),m(1287,1,zt,dje),s.Mb=function(n){return ywn(this.a,u(n,26))},v(Gd,xQe,1287),m(1288,1,{},av),s.Kb=function(n){return new pn(null,new yn(Ayn(u(n,85)),16))},v(Gd,"ElkGraphImporter/lambda$5$Type",1288),m(1290,1,zt,bje),s.Mb=function(n){return kwn(this.a,u(n,26))},v(Gd,"ElkGraphImporter/lambda$7$Type",1290),m(1291,1,zt,dk),s.Mb=function(n){return Fyn(u(n,85))},v(Gd,"ElkGraphImporter/lambda$8$Type",1291),m(1261,1,{},SC);var din;v(Gd,"ElkGraphLayoutTransferrer",1261),m(1262,1,zt,gje),s.Mb=function(n){return h2n(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$0$Type",1262),m(1263,1,ct,wje),s.Ad=function(n){sT(),Ce(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$1$Type",1263),m(1264,1,zt,pje),s.Mb=function(n){return Wpn(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$2$Type",1264),m(1265,1,ct,mje),s.Ad=function(n){sT(),Ce(this.a,u(n,17))},v(Gd,"ElkGraphLayoutTransferrer/lambda$3$Type",1265),m(806,1,{},$le),v(Zn,"BiLinkedHashMultiMap",806),m(1511,1,Mi,w6),s.If=function(n,t){h7n(u(n,37),t)},v(Zn,"CommentNodeMarginCalculator",1511),m(1512,1,{},nw),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"CommentNodeMarginCalculator/lambda$0$Type",1512),m(1513,1,ct,SD),s.Ad=function(n){CLn(u(n,9))},v(Zn,"CommentNodeMarginCalculator/lambda$1$Type",1513),m(1514,1,Mi,LA),s.If=function(n,t){LIn(u(n,37),t)},v(Zn,"CommentPostprocessor",1514),m(1515,1,Mi,xD),s.If=function(n,t){nRn(u(n,37),t)},v(Zn,"CommentPreprocessor",1515),m(1516,1,Mi,My),s.If=function(n,t){KNn(u(n,37),t)},v(Zn,"ConstraintsPostprocessor",1516),m(1517,1,Mi,oq),s.If=function(n,t){$7n(u(n,37),t)},v(Zn,"EdgeAndLayerConstraintEdgeReverser",1517),m(1518,1,Mi,AD),s.If=function(n,t){hEn(u(n,37),t)},v(Zn,"EndLabelPostprocessor",1518),m(1519,1,{},MD),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPostprocessor/lambda$0$Type",1519),m(1520,1,zt,PA),s.Mb=function(n){return Y6n(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$1$Type",1520),m(1521,1,ct,sq),s.Ad=function(n){rAn(u(n,9))},v(Zn,"EndLabelPostprocessor/lambda$2$Type",1521),m(1522,1,Mi,lq),s.If=function(n,t){zCn(u(n,37),t)},v(Zn,"EndLabelPreprocessor",1522),m(1523,1,{},bk),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelPreprocessor/lambda$0$Type",1523),m(1524,1,ct,JNe),s.Ad=function(n){Lgn(this.a,this.b,this.c,u(n,9))},s.a=0,s.b=0,s.c=!1,v(Zn,"EndLabelPreprocessor/lambda$1$Type",1524),m(1525,1,zt,tw),s.Mb=function(n){return oe(C(u(n,70),(Oe(),_h)))===oe((za(),X7))},v(Zn,"EndLabelPreprocessor/lambda$2$Type",1525),m(1526,1,ct,vje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$3$Type",1526),m(1527,1,zt,$A),s.Mb=function(n){return oe(C(u(n,70),(Oe(),_h)))===oe((za(),Gm))},v(Zn,"EndLabelPreprocessor/lambda$4$Type",1527),m(1528,1,ct,yje),s.Ad=function(n){Vt(this.a,u(n,70))},v(Zn,"EndLabelPreprocessor/lambda$5$Type",1528),m(1576,1,Mi,MU),s.If=function(n,t){Mjn(u(n,37),t)};var bin;v(Zn,"EndLabelSorter",1576),m(1577,1,Yt,RA),s.Le=function(n,t){return KEn(u(n,455),u(t,455))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"EndLabelSorter/1",1577),m(455,1,{455:1},b_e),v(Zn,"EndLabelSorter/LabelGroup",455),m(1578,1,{},Cy),s.Kb=function(n){return oT(),new pn(null,new yn(u(n,25).a,16))},v(Zn,"EndLabelSorter/lambda$0$Type",1578),m(1579,1,zt,Ty),s.Mb=function(n){return oT(),u(n,9).k==(Fn(),Wi)},v(Zn,"EndLabelSorter/lambda$1$Type",1579),m(1580,1,ct,CD),s.Ad=function(n){eCn(u(n,9))},v(Zn,"EndLabelSorter/lambda$2$Type",1580),m(1581,1,zt,BA),s.Mb=function(n){return oT(),oe(C(u(n,70),(Oe(),_h)))===oe((za(),Gm))},v(Zn,"EndLabelSorter/lambda$3$Type",1581),m(1582,1,zt,TD),s.Mb=function(n){return oT(),oe(C(u(n,70),(Oe(),_h)))===oe((za(),X7))},v(Zn,"EndLabelSorter/lambda$4$Type",1582),m(1529,1,Mi,p6),s.If=function(n,t){qLn(this,u(n,37))},s.b=0,s.c=0,v(Zn,"FinalSplineBendpointsCalculator",1529),m(1530,1,{},iw),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"FinalSplineBendpointsCalculator/lambda$0$Type",1530),m(1531,1,{},zA),s.Kb=function(n){return new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(Zn,"FinalSplineBendpointsCalculator/lambda$1$Type",1531),m(1532,1,zt,m6),s.Mb=function(n){return!uc(u(n,17))},v(Zn,"FinalSplineBendpointsCalculator/lambda$2$Type",1532),m(1533,1,zt,zp),s.Mb=function(n){return wi(u(n,17),(ve(),Ag))},v(Zn,"FinalSplineBendpointsCalculator/lambda$3$Type",1533),m(1534,1,ct,kje),s.Ad=function(n){ZDn(this.a,u(n,132))},v(Zn,"FinalSplineBendpointsCalculator/lambda$4$Type",1534),m(1535,1,ct,FA),s.Ad=function(n){KO(u(n,17).a)},v(Zn,"FinalSplineBendpointsCalculator/lambda$5$Type",1535),m(790,1,Mi,coe),s.If=function(n,t){BPn(this,u(n,37),t)},v(Zn,"GraphTransformer",790),m(502,23,{3:1,35:1,23:1,502:1},bse);var Dte,tI,gin=yt(Zn,"GraphTransformer/Mode",502,Ct,v5n,U2n),win;m(1536,1,Mi,gk),s.If=function(n,t){oNn(u(n,37),t)},v(Zn,"HierarchicalNodeResizingProcessor",1536),m(1537,1,Mi,OD),s.If=function(n,t){Z8n(u(n,37),t)},v(Zn,"HierarchicalPortConstraintProcessor",1537),m(1538,1,Yt,wk),s.Le=function(n,t){return bSn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortConstraintProcessor/NodeComparator",1538),m(1539,1,Mi,pk),s.If=function(n,t){U_n(u(n,37),t)},v(Zn,"HierarchicalPortDummySizeProcessor",1539),m(1540,1,Mi,ND),s.If=function(n,t){cDn(this,u(n,37),t)},s.a=0,v(Zn,"HierarchicalPortOrthogonalEdgeRouter",1540),m(1541,1,Yt,Rh),s.Le=function(n,t){return bpn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/1",1541),m(1542,1,Yt,hv),s.Le=function(n,t){return W9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"HierarchicalPortOrthogonalEdgeRouter/2",1542),m(1543,1,Mi,mk),s.If=function(n,t){$Mn(u(n,37),t)},v(Zn,"HierarchicalPortPositionProcessor",1543),m(1544,1,Mi,EC),s.If=function(n,t){RRn(this,u(n,37))},s.a=0,s.c=0;var MJ,CJ;v(Zn,"HighDegreeNodeLayeringProcessor",1544),m(566,1,{566:1},v6),s.b=-1,s.d=-1,v(Zn,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",566),m(1545,1,{},fq),s.Kb=function(n){return LT(),cr(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1545),m(1546,1,{},JA),s.Kb=function(n){return LT(),Ii(u(n,9))},s.Fb=function(n){return this===n},v(Zn,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1546),m(1552,1,Mi,HA),s.If=function(n,t){$_n(this,u(n,37),t)},v(Zn,"HyperedgeDummyMerger",1552),m(791,1,{},efe),s.a=!1,s.b=!1,s.c=!1,v(Zn,"HyperedgeDummyMerger/MergeState",791),m(1553,1,{},y6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"HyperedgeDummyMerger/lambda$0$Type",1553),m(1554,1,{},vk),s.Kb=function(n){return new pn(null,new yn(u(n,9).j,16))},v(Zn,"HyperedgeDummyMerger/lambda$1$Type",1554),m(1555,1,ct,ID),s.Ad=function(n){u(n,12).p=-1},v(Zn,"HyperedgeDummyMerger/lambda$2$Type",1555),m(1556,1,Mi,hq),s.If=function(n,t){P_n(u(n,37),t)},v(Zn,"HypernodesProcessor",1556),m(1557,1,Mi,dq),s.If=function(n,t){q_n(u(n,37),t)},v(Zn,"InLayerConstraintProcessor",1557),m(1558,1,Mi,GA),s.If=function(n,t){M7n(u(n,37),t)},v(Zn,"InnermostNodeMarginCalculator",1558),m(1559,1,Mi,bq),s.If=function(n,t){Q$n(this,u(n,37))},s.a=Ir,s.b=Ir,s.c=Vi,s.d=Vi;var XBn=v(Zn,"InteractiveExternalPortPositioner",1559);m(1560,1,{},gq),s.Kb=function(n){return u(n,17).d.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$0$Type",1560),m(1561,1,{},jje),s.Kb=function(n){return gpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$1$Type",1561),m(1562,1,{},wq),s.Kb=function(n){return u(n,17).c.i},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$2$Type",1562),m(1563,1,{},Eje),s.Kb=function(n){return wpn(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$3$Type",1563),m(1564,1,{},Sje),s.Kb=function(n){return f2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$4$Type",1564),m(1565,1,{},xje),s.Kb=function(n){return a2n(this.a,re(n))},s.Fb=function(n){return this===n},v(Zn,"InteractiveExternalPortPositioner/lambda$5$Type",1565),m(79,23,{3:1,35:1,23:1,79:1,196:1},br),s.bg=function(){switch(this.g){case 15:return new uw;case 22:return new Up;case 48:return new aM;case 29:case 36:return new Sq;case 33:return new w6;case 43:return new LA;case 1:return new xD;case 42:return new My;case 57:return new coe((Z9(),tI));case 0:return new coe((Z9(),Dte));case 2:return new oq;case 55:return new AD;case 34:return new lq;case 52:return new p6;case 56:return new gk;case 13:return new OD;case 39:return new pk;case 45:return new ND;case 41:return new mk;case 9:return new EC;case 50:return new AOe;case 38:return new HA;case 44:return new hq;case 28:return new dq;case 31:return new GA;case 3:return new bq;case 18:return new aq;case 30:return new pq;case 5:return new CU;case 51:return new yq;case 35:return new n9;case 37:return new xq;case 53:return new MU;case 11:return new _D;case 7:return new TU;case 40:return new Aq;case 46:return new Mq;case 16:return new Cq;case 10:return new CCe;case 49:return new Iq;case 21:return new Dq;case 23:return new qP((og(),Dx));case 8:return new UA;case 12:return new Lq;case 4:return new LD;case 19:return new oP;case 17:return new FD;case 54:return new j6;case 6:return new Jq;case 25:return new vxe;case 26:return new lM;case 47:return new KA;case 32:return new dNe;case 14:return new VD;case 27:return new Yq;case 20:return new x6;case 24:return new qP((og(),_H));default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var Nve,Ive,Dve,_ve,Lve,Pve,$ve,Rve,Bve,zve,Fve,_3,TJ,OJ,Jve,Hve,Gve,qve,Uve,Xve,Kve,ox,Vve,Yve,Qve,Wve,Zve,_te,NJ,IJ,e3e,DJ,_J,LJ,y7,vm,ym,n3e,PJ,$J,t3e,RJ,BJ,i3e,r3e,c3e,u3e,zJ,Lte,I4,FJ,JJ,HJ,GJ,o3e,s3e,l3e,f3e,KBn=yt(Zn,iee,79,Ct,KUe,X2n),pin;m(1566,1,Mi,aq),s.If=function(n,t){K$n(u(n,37),t)},v(Zn,"InvertedPortProcessor",1566),m(1567,1,Mi,pq),s.If=function(n,t){XDn(u(n,37),t)},v(Zn,"LabelAndNodeSizeProcessor",1567),m(1568,1,zt,mq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"LabelAndNodeSizeProcessor/lambda$0$Type",1568),m(1569,1,zt,DD),s.Mb=function(n){return u(n,9).k==(Fn(),wr)},v(Zn,"LabelAndNodeSizeProcessor/lambda$1$Type",1569),m(1570,1,ct,qNe),s.Ad=function(n){Pgn(this.b,this.a,this.c,u(n,9))},s.a=!1,s.c=!1,v(Zn,"LabelAndNodeSizeProcessor/lambda$2$Type",1570),m(1571,1,Mi,CU),s.If=function(n,t){A$n(u(n,37),t)};var min;v(Zn,"LabelDummyInserter",1571),m(1572,1,Ah,vq),s.Lb=function(n){return oe(C(u(n,70),(Oe(),_h)))===oe((za(),U7))},s.Fb=function(n){return this===n},s.Mb=function(n){return oe(C(u(n,70),(Oe(),_h)))===oe((za(),U7))},v(Zn,"LabelDummyInserter/1",1572),m(1573,1,Mi,yq),s.If=function(n,t){d$n(u(n,37),t)},v(Zn,"LabelDummyRemover",1573),m(1574,1,zt,kq),s.Mb=function(n){return ze(Be(C(u(n,70),(Oe(),U3))))},v(Zn,"LabelDummyRemover/lambda$0$Type",1574),m(1332,1,Mi,n9),s.If=function(n,t){o$n(this,u(n,37),t)},s.a=null;var Pte;v(Zn,"LabelDummySwitcher",1332),m(294,1,{294:1},GXe),s.c=0,s.d=null,s.f=0,v(Zn,"LabelDummySwitcher/LabelDummyInfo",294),m(1333,1,{},jq),s.Kb=function(n){return V5(),new pn(null,new yn(u(n,25).a,16))},v(Zn,"LabelDummySwitcher/lambda$0$Type",1333),m(1334,1,zt,qA),s.Mb=function(n){return V5(),u(n,9).k==(Fn(),Uu)},v(Zn,"LabelDummySwitcher/lambda$1$Type",1334),m(1335,1,{},Aje),s.Kb=function(n){return Zpn(this.a,u(n,9))},v(Zn,"LabelDummySwitcher/lambda$2$Type",1335),m(1336,1,ct,Mje),s.Ad=function(n){nyn(this.a,u(n,294))},v(Zn,"LabelDummySwitcher/lambda$3$Type",1336),m(1337,1,Yt,Eq),s.Le=function(n,t){return O3n(u(n,294),u(t,294))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"LabelDummySwitcher/lambda$4$Type",1337),m(789,1,Mi,Sq),s.If=function(n,t){I9n(u(n,37),t)},v(Zn,"LabelManagementProcessor",789),m(1575,1,Mi,xq),s.If=function(n,t){SIn(u(n,37),t)},v(Zn,"LabelSideSelector",1575),m(1583,1,Mi,_D),s.If=function(n,t){lLn(u(n,37),t)},v(Zn,"LayerConstraintPostprocessor",1583),m(1584,1,Mi,TU),s.If=function(n,t){oOn(u(n,37),t)};var a3e;v(Zn,"LayerConstraintPreprocessor",1584),m(367,23,{3:1,35:1,23:1,367:1},g$);var iI,qJ,UJ,$te,vin=yt(Zn,"LayerConstraintPreprocessor/HiddenNodeConnections",367,Ct,f6n,Tmn),yin;m(1585,1,Mi,Aq),s.If=function(n,t){MPn(u(n,37),t)},v(Zn,"LayerSizeAndGraphHeightCalculator",1585),m(1586,1,Mi,Mq),s.If=function(n,t){sNn(u(n,37),t)},v(Zn,"LongEdgeJoiner",1586),m(1587,1,Mi,Cq),s.If=function(n,t){iPn(u(n,37),t)},v(Zn,"LongEdgeSplitter",1587),m(1588,1,Mi,CCe),s.If=function(n,t){z$n(this,u(n,37),t)},s.e=0,s.f=0,s.j=0,s.k=0,s.n=0,s.o=0;var kin,jin;v(Zn,"NodePromotion",1588),m(1589,1,Yt,Tq),s.Le=function(n,t){return Nkn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NodePromotion/1",1589),m(1590,1,Yt,Oq),s.Le=function(n,t){return Ikn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NodePromotion/2",1590),m(1591,1,{},Nq),s.Kb=function(n){return u(n,49),Z$(),$n(),!0},s.Fb=function(n){return this===n},v(Zn,"NodePromotion/lambda$0$Type",1591),m(1592,1,{},Cje),s.Kb=function(n){return $5n(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$1$Type",1592),m(1593,1,{},Tje),s.Kb=function(n){return P5n(this.a,u(n,49))},s.Fb=function(n){return this===n},s.a=0,v(Zn,"NodePromotion/lambda$2$Type",1593),m(1594,1,Mi,Iq),s.If=function(n,t){TRn(u(n,37),t)},v(Zn,"NorthSouthPortPostprocessor",1594),m(1595,1,Mi,Dq),s.If=function(n,t){LRn(u(n,37),t)},v(Zn,"NorthSouthPortPreprocessor",1595),m(1596,1,Yt,_q),s.Le=function(n,t){return Y7n(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"NorthSouthPortPreprocessor/lambda$0$Type",1596),m(1597,1,Mi,UA),s.If=function(n,t){A_n(u(n,37),t)},v(Zn,"PartitionMidprocessor",1597),m(1598,1,zt,k6),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionMidprocessor/lambda$0$Type",1598),m(1599,1,ct,Oje),s.Ad=function(n){zyn(this.a,u(n,9))},v(Zn,"PartitionMidprocessor/lambda$1$Type",1599),m(1600,1,Mi,Lq),s.If=function(n,t){TNn(u(n,37),t)},v(Zn,"PartitionPostprocessor",1600),m(1601,1,Mi,LD),s.If=function(n,t){IDn(u(n,37),t)},v(Zn,"PartitionPreprocessor",1601),m(1602,1,zt,PD),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionPreprocessor/lambda$0$Type",1602),m(1603,1,zt,$D),s.Mb=function(n){return wi(u(n,9),(Oe(),Cm))},v(Zn,"PartitionPreprocessor/lambda$1$Type",1603),m(1604,1,{},RD),s.Kb=function(n){return new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(Zn,"PartitionPreprocessor/lambda$2$Type",1604),m(1605,1,zt,Nje),s.Mb=function(n){return vgn(this.a,u(n,17))},v(Zn,"PartitionPreprocessor/lambda$3$Type",1605),m(1606,1,ct,BD),s.Ad=function(n){lkn(u(n,17))},v(Zn,"PartitionPreprocessor/lambda$4$Type",1606),m(1607,1,zt,Ije),s.Mb=function(n){return tyn(this.a,u(n,9))},s.a=0,v(Zn,"PartitionPreprocessor/lambda$5$Type",1607),m(1608,1,Mi,oP),s.If=function(n,t){u_n(u(n,37),t)};var h3e,Ein,Sin,xin,d3e,b3e;v(Zn,"PortListSorter",1608),m(1609,1,{},Oy),s.Kb=function(n){return u8(),u(n,12).e},v(Zn,"PortListSorter/lambda$0$Type",1609),m(1610,1,{},Pq),s.Kb=function(n){return u8(),u(n,12).g},v(Zn,"PortListSorter/lambda$1$Type",1610),m(1611,1,Yt,$q),s.Le=function(n,t){return mPe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$2$Type",1611),m(1612,1,Yt,Rq),s.Le=function(n,t){return jxn(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$3$Type",1612),m(1613,1,Yt,zD),s.Le=function(n,t){return wKe(u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"PortListSorter/lambda$4$Type",1613),m(1614,1,Mi,FD),s.If=function(n,t){bOn(u(n,37),t)},v(Zn,"PortSideProcessor",1614),m(1615,1,Mi,j6),s.If=function(n,t){mDn(u(n,37),t)},v(Zn,"ReversedEdgeRestorer",1615),m(1620,1,Mi,vxe),s.If=function(n,t){cxn(this,u(n,37),t)},v(Zn,"SelfLoopPortRestorer",1620),m(1621,1,{},E6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPortRestorer/lambda$0$Type",1621),m(1622,1,zt,Bq),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPortRestorer/lambda$1$Type",1622),m(1623,1,zt,yk),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopPortRestorer/lambda$2$Type",1623),m(1624,1,{},JD),s.Kb=function(n){return u(C(u(n,9),(ve(),vp)),338)},v(Zn,"SelfLoopPortRestorer/lambda$3$Type",1624),m(1625,1,ct,Dje),s.Ad=function(n){bCn(this.a,u(n,338))},v(Zn,"SelfLoopPortRestorer/lambda$4$Type",1625),m(792,1,ct,XA),s.Ad=function(n){xCn(u(n,107))},v(Zn,"SelfLoopPortRestorer/lambda$5$Type",792),m(1627,1,Mi,KA),s.If=function(n,t){pSn(u(n,37),t)},v(Zn,"SelfLoopPostProcessor",1627),m(1628,1,{},VA),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopPostProcessor/lambda$0$Type",1628),m(1629,1,zt,HD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopPostProcessor/lambda$1$Type",1629),m(1630,1,zt,GD),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopPostProcessor/lambda$2$Type",1630),m(1631,1,ct,qD),s.Ad=function(n){kAn(u(n,9))},v(Zn,"SelfLoopPostProcessor/lambda$3$Type",1631),m(1632,1,{},zq),s.Kb=function(n){return new pn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPostProcessor/lambda$4$Type",1632),m(1633,1,ct,_je),s.Ad=function(n){r6n(this.a,u(n,341))},v(Zn,"SelfLoopPostProcessor/lambda$5$Type",1633),m(1634,1,zt,Fq),s.Mb=function(n){return!!u(n,107).i},v(Zn,"SelfLoopPostProcessor/lambda$6$Type",1634),m(1635,1,ct,Lje),s.Ad=function(n){Pbn(this.a,u(n,107))},v(Zn,"SelfLoopPostProcessor/lambda$7$Type",1635),m(1616,1,Mi,Jq),s.If=function(n,t){XOn(u(n,37),t)},v(Zn,"SelfLoopPreProcessor",1616),m(1617,1,{},Hq),s.Kb=function(n){return new pn(null,new yn(u(n,107).f,1))},v(Zn,"SelfLoopPreProcessor/lambda$0$Type",1617),m(1618,1,{},Gq),s.Kb=function(n){return u(n,341).a},v(Zn,"SelfLoopPreProcessor/lambda$1$Type",1618),m(1619,1,ct,p1),s.Ad=function(n){Rwn(u(n,17))},v(Zn,"SelfLoopPreProcessor/lambda$2$Type",1619),m(1636,1,Mi,dNe),s.If=function(n,t){QMn(this,u(n,37),t)},v(Zn,"SelfLoopRouter",1636),m(1637,1,{},S6),s.Kb=function(n){return new pn(null,new yn(u(n,25).a,16))},v(Zn,"SelfLoopRouter/lambda$0$Type",1637),m(1638,1,zt,UD),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SelfLoopRouter/lambda$1$Type",1638),m(1639,1,zt,XD),s.Mb=function(n){return wi(u(n,9),(ve(),vp))},v(Zn,"SelfLoopRouter/lambda$2$Type",1639),m(1640,1,{},KD),s.Kb=function(n){return u(C(u(n,9),(ve(),vp)),338)},v(Zn,"SelfLoopRouter/lambda$3$Type",1640),m(1641,1,ct,eCe),s.Ad=function(n){_yn(this.a,this.b,u(n,338))},v(Zn,"SelfLoopRouter/lambda$4$Type",1641),m(1642,1,Mi,VD),s.If=function(n,t){aIn(u(n,37),t)},v(Zn,"SemiInteractiveCrossMinProcessor",1642),m(1643,1,zt,YA),s.Mb=function(n){return u(n,9).k==(Fn(),Wi)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1643),m(1644,1,zt,qq),s.Mb=function(n){return TIe(u(n,9))._b((Oe(),Nm))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1644),m(1645,1,Yt,Ny),s.Le=function(n,t){return l7n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1645),m(1646,1,{},QA),s.Te=function(n,t){return Byn(u(n,9),u(t,9))},v(Zn,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1646),m(1648,1,Mi,x6),s.If=function(n,t){qPn(u(n,37),t)},v(Zn,"SortByInputModelProcessor",1648),m(1649,1,zt,WA),s.Mb=function(n){return u(n,12).g.c.length!=0},v(Zn,"SortByInputModelProcessor/lambda$0$Type",1649),m(1650,1,ct,Pje),s.Ad=function(n){OCn(this.a,u(n,12))},v(Zn,"SortByInputModelProcessor/lambda$1$Type",1650),m(1729,804,{},JBe),s.bf=function(n){var t,i,r,c;switch(this.c=n,this.a.g){case 2:t=new Te,er(li(new pn(null,new yn(this.c.a.b,16)),new t_),new cCe(this,t)),VO(this,new dv),Ao(t,new Iy),t.c.length=0,er(li(new pn(null,new yn(this.c.a.b,16)),new ZA),new Rje(t)),VO(this,new QD),Ao(t,new bv),t.c.length=0,i=FTe(GY(N2(new pn(null,new yn(this.c.a.b,16)),new Bje(this))),new WD),er(new pn(null,new yn(this.c.a.a,16)),new tCe(i,t)),VO(this,new e_),Ao(t,new Uq),t.c.length=0;break;case 3:r=new Te,VO(this,new YD),c=FTe(GY(N2(new pn(null,new yn(this.c.a.b,16)),new $je(this))),new ZD),er(li(new pn(null,new yn(this.c.a.b,16)),new Xq),new rCe(c,r)),VO(this,new Kq),Ao(r,new n_),r.c.length=0;break;default:throw R(new oxe)}},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation",1729),m(1730,1,Ah,YD),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1730),m(1731,1,{},$je),s.We=function(n){return iTn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1731),m(1739,1,uF,nCe),s.be=function(){WE(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1739),m(1741,1,Ah,dv),s.Lb=function(n){return X(u(n,60).g,156)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1741),m(1742,1,ct,Iy),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1742),m(1743,1,zt,ZA),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1743),m(1745,1,ct,Rje),s.Ad=function(n){Ujn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1745),m(1744,1,uF,sCe),s.be=function(){WE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1744),m(1746,1,Ah,QD),s.Lb=function(n){return X(u(n,60).g,9)},s.Fb=function(n){return this===n},s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1746),m(1747,1,ct,bv),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1747),m(1748,1,{},Bje),s.We=function(n){return rTn(this.a,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1748),m(1749,1,{},WD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1749),m(1732,1,{},ZD),s.Ue=function(){return 0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1732),m(1751,1,ct,tCe),s.Ad=function(n){j3n(this.a,this.b,u(n,320))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1751),m(1750,1,uF,iCe),s.be=function(){mUe(this.a,this.b,-1)},s.b=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1750),m(1752,1,Ah,e_),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1752),m(1753,1,ct,Uq),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1753),m(1733,1,zt,Xq),s.Mb=function(n){return X(u(n,60).g,9)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1733),m(1735,1,ct,rCe),s.Ad=function(n){E3n(this.a,this.b,u(n,60))},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1735),m(1734,1,uF,lCe),s.be=function(){WE(this.b,this.a,-1)},s.a=0,v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1734),m(1736,1,Ah,Kq),s.Lb=function(n){return u(n,60),!0},s.Fb=function(n){return this===n},s.Mb=function(n){return u(n,60),!0},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1736),m(1737,1,ct,n_),s.Ad=function(n){u(n,375).be()},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1737),m(1738,1,zt,t_),s.Mb=function(n){return X(u(n,60).g,156)},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1738),m(1740,1,ct,cCe),s.Ad=function(n){I8n(this.a,this.b,u(n,60))},v(lr,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1740),m(1547,1,Mi,AOe),s.If=function(n,t){uPn(this,u(n,37),t)};var Ain;v(lr,"HorizontalGraphCompactor",1547),m(1548,1,{},zje),s.df=function(n,t){var i,r,c;return jhe(n,t)||(i=Yv(n),r=Yv(t),i&&i.k==(Fn(),wr)||r&&r.k==(Fn(),wr))?0:(c=u(C(this.a.a,(ve(),H3)),316),vpn(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},s.ef=function(n,t){var i,r,c;return jhe(n,t)?1:(i=Yv(n),r=Yv(t),c=u(C(this.a.a,(ve(),H3)),316),dle(c,i?i.k:(Fn(),dr),r?r.k:(Fn(),dr)))},v(lr,"HorizontalGraphCompactor/1",1548),m(1549,1,{},eM),s.cf=function(n,t){return Dj(),n.a.i==0},v(lr,"HorizontalGraphCompactor/lambda$0$Type",1549),m(1550,1,{},Fje),s.cf=function(n,t){return Jyn(this.a,n,t)},v(lr,"HorizontalGraphCompactor/lambda$1$Type",1550),m(1696,1,{},yRe);var Min,Cin;v(lr,"LGraphToCGraphTransformer",1696),m(1704,1,zt,b0),s.Mb=function(n){return n!=null},v(lr,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1704),m(1697,1,{},kk),s.Kb=function(n){return rl(),fu(C(u(u(n,60).g,9),(ve(),mi)))},v(lr,"LGraphToCGraphTransformer/lambda$0$Type",1697),m(1698,1,{},ad),s.Kb=function(n){return rl(),_Fe(u(u(n,60).g,156))},v(lr,"LGraphToCGraphTransformer/lambda$1$Type",1698),m(1707,1,zt,Dy),s.Mb=function(n){return rl(),X(u(n,60).g,9)},v(lr,"LGraphToCGraphTransformer/lambda$10$Type",1707),m(1708,1,ct,nM),s.Ad=function(n){Dyn(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$11$Type",1708),m(1709,1,zt,jk),s.Mb=function(n){return rl(),X(u(n,60).g,156)},v(lr,"LGraphToCGraphTransformer/lambda$12$Type",1709),m(1713,1,ct,Ek),s.Ad=function(n){ajn(u(n,60))},v(lr,"LGraphToCGraphTransformer/lambda$13$Type",1713),m(1710,1,ct,Jje),s.Ad=function(n){bwn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$14$Type",1710),m(1711,1,ct,Hje),s.Ad=function(n){wwn(this.a,u(n,119))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$15$Type",1711),m(1712,1,ct,Gje),s.Ad=function(n){gwn(this.a,u(n,8))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$16$Type",1712),m(1714,1,{},tM),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(lr,"LGraphToCGraphTransformer/lambda$17$Type",1714),m(1715,1,zt,gv),s.Mb=function(n){return rl(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$18$Type",1715),m(1716,1,ct,qje),s.Ad=function(n){s8n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$19$Type",1716),m(1700,1,ct,Uje),s.Ad=function(n){$4n(this.a,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$2$Type",1700),m(1717,1,{},i_),s.Kb=function(n){return rl(),new pn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$20$Type",1717),m(1718,1,{},Sk),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(lr,"LGraphToCGraphTransformer/lambda$21$Type",1718),m(1719,1,{},_y),s.Kb=function(n){return rl(),u(C(u(n,17),(ve(),Ag)),16)},v(lr,"LGraphToCGraphTransformer/lambda$22$Type",1719),m(1720,1,zt,Vq),s.Mb=function(n){return ypn(u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$23$Type",1720),m(1721,1,ct,Xje),s.Ad=function(n){cTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$24$Type",1721),m(1722,1,{},m1),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(lr,"LGraphToCGraphTransformer/lambda$25$Type",1722),m(1723,1,zt,iM),s.Mb=function(n){return rl(),uc(u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$26$Type",1723),m(1725,1,ct,Kje),s.Ad=function(n){n7n(this.a,u(n,17))},v(lr,"LGraphToCGraphTransformer/lambda$27$Type",1725),m(1724,1,ct,Vje),s.Ad=function(n){ogn(this.a,u(n,70))},s.a=0,v(lr,"LGraphToCGraphTransformer/lambda$28$Type",1724),m(1699,1,ct,uCe),s.Ad=function(n){$6n(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$3$Type",1699),m(1701,1,{},rw),s.Kb=function(n){return rl(),new pn(null,new yn(u(n,25).a,16))},v(lr,"LGraphToCGraphTransformer/lambda$4$Type",1701),m(1702,1,{},r_),s.Kb=function(n){return rl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(lr,"LGraphToCGraphTransformer/lambda$5$Type",1702),m(1703,1,{},xk),s.Kb=function(n){return rl(),u(C(u(n,17),(ve(),Ag)),16)},v(lr,"LGraphToCGraphTransformer/lambda$6$Type",1703),m(1705,1,ct,Yje),s.Ad=function(n){wTn(this.a,u(n,16))},v(lr,"LGraphToCGraphTransformer/lambda$8$Type",1705),m(1706,1,ct,oCe),s.Ad=function(n){Bwn(this.a,this.b,u(n,156))},v(lr,"LGraphToCGraphTransformer/lambda$9$Type",1706),m(1695,1,{},wv),s.af=function(n){var t,i,r,c,o;for(this.a=n,this.d=new wX,this.c=le(Wme,Nn,124,this.a.a.a.c.length,0,1),this.b=0,i=new P(this.a.a.a);i.a=D&&(Ce(o,ye(p)),V=k.Math.max(V,te[p-1]-y),f+=O,B+=te[p-1]-B,y=te[p-1],O=h[p]),O=k.Math.max(O,h[p]),++p;f+=O}A=k.Math.min(1/V,1/t.b/f),A>r&&(r=A,i=o)}return i},s.ng=function(){return!1},v(Ch,"MSDCutIndexHeuristic",803),m(1647,1,Mi,Yq),s.If=function(n,t){lLn(u(n,37),t)},v(Ch,"SingleEdgeGraphWrapper",1647),m(231,23,{3:1,35:1,23:1,231:1},Rj);var P3,E7,S7,jm,ux,$3,x7=yt(Tu,"CenterEdgeLabelPlacementStrategy",231,Ct,D9n,Q2n),zin;m(422,23,{3:1,35:1,23:1,422:1},gse);var w3e,Kte,p3e=yt(Tu,"ConstraintCalculationStrategy",422,Ct,iyn,W2n),Fin;m(301,23,{3:1,35:1,23:1,301:1,188:1,196:1},w$),s.bg=function(){return MUe(this)},s.og=function(){return MUe(this)};var cI,ox,m3e,v3e,y3e=yt(Tu,"CrossingMinimizationStrategy",301,Ct,f6n,Z2n),Jin;m(350,23,{3:1,35:1,23:1,350:1},VX);var k3e,Vte,YJ,j3e=yt(Tu,"CuttingStrategy",350,Ct,Xyn,emn),Hin;m(267,23,{3:1,35:1,23:1,267:1,188:1,196:1},_v),s.bg=function(){return NXe(this)},s.og=function(){return NXe(this)};var Yte,E3e,Qte,Wte,Zte,eie,nie,tie,uI,S3e=yt(Tu,"CycleBreakingStrategy",267,Ct,X8n,nmn),Gin;m(419,23,{3:1,35:1,23:1,419:1},wse);var QJ,x3e,A3e=yt(Tu,"DirectionCongruency",419,Ct,ryn,tmn),qin;m(449,23,{3:1,35:1,23:1,449:1},QX);var A7,iie,R3,Uin=yt(Tu,"EdgeConstraint",449,Ct,Kyn,imn),Xin;m(284,23,{3:1,35:1,23:1,284:1},Fj);var rie,cie,uie,oie,WJ,sie,M3e=yt(Tu,"EdgeLabelSideSelection",284,Ct,_9n,rmn),Kin;m(476,23,{3:1,35:1,23:1,476:1},pse);var ZJ,C3e,T3e=yt(Tu,"EdgeStraighteningStrategy",476,Ct,cyn,cmn),Vin;m(282,23,{3:1,35:1,23:1,282:1},Bj);var lie,O3e,N3e,eH,I3e,D3e,_3e=yt(Tu,"FixedAlignment",282,Ct,L9n,umn),Yin;m(283,23,{3:1,35:1,23:1,283:1},zj);var L3e,P3e,$3e,R3e,sx,B3e,z3e=yt(Tu,"GraphCompactionStrategy",283,Ct,P9n,omn),Qin;m(261,23,{3:1,35:1,23:1,261:1},g2);var M7,nH,C7,Vl,lx,tH,T7,B3,iH,fx,fie=yt(Tu,"GraphProperties",261,Ct,y7n,smn),Win;m(302,23,{3:1,35:1,23:1,302:1},WX);var oI,aie,hie,die=yt(Tu,"GreedySwitchType",302,Ct,Vyn,lmn),Zin;m(329,23,{3:1,35:1,23:1,329:1},ZX);var Em,F3e,sI,bie=yt(Tu,"GroupOrderStrategy",329,Ct,Yyn,fmn),ern;m(315,23,{3:1,35:1,23:1,315:1},eK);var D4,lI,z3,nrn=yt(Tu,"InLayerConstraint",315,Ct,Qyn,amn),trn;m(420,23,{3:1,35:1,23:1,420:1},mse);var gie,J3e,H3e=yt(Tu,"InteractiveReferencePoint",420,Ct,uyn,hmn),irn,G3e,_4,wp,fI,rH,q3e,U3e,cH,X3e,L4,uH,ax,P4,Y1,wie,oH,Iu,K3e,lb,po,pie,mie,aI,xg,pp,$4,V3e,rrn,R4,hI,Sm,Sa,wf,vie,F3,fb,Oi,mi,Y3e,Q3e,W3e,Z3e,e5e,yie,sH,vs,mp,kie,B4,hx,Xd,J3,vp,H3,G3,O7,Ag,n5e,jie,Eie,dx,z4,lH,F4,q3;m(165,23,{3:1,35:1,23:1,165:1},dT);var bx,Q1,gx,Mg,dI,t5e=yt(Tu,"LayerConstraint",165,Ct,c9n,dmn),crn;m(423,23,{3:1,35:1,23:1,423:1},vse);var Sie,xie,i5e=yt(Tu,"LayerUnzippingStrategy",423,Ct,oyn,bmn),urn;m(843,1,Ka,CC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,pwe),""),"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."),w5e),(hg(),Bi)),A3e),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mwe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),($n(),!1)),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mF),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),j5e),Bi),H3e),rn(Tn)))),qi(n,mF,LN,fcn),qi(n,mF,NS,lcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vwe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ywe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(sgn(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kwe),""),"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),xr),Qi),rn(Wd)),F(z(Je,1),Ae,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jwe),""),"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."),D5e),Bi),Gye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ewe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),ye(7)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Swe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xwe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LN),"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)."),g5e),Bi),S3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,PN),Ree),"Node Layering Strategy"),"Strategy for node layering."),x5e),Bi),Iye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Awe),Ree),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),E5e),Bi),t5e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Mwe),Ree),"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."),null),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Cwe),Ree),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,uee),PQe),"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."),ye(4)),dc),jr),rn(Tn)))),qi(n,uee,PN,pcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,oee),PQe),"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."),ye(2)),dc),jr),rn(Tn)))),qi(n,oee,PN,vcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,see),$Qe),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),S5e),Bi),Fye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,lee),$Qe),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),ye(0)),dc),jr),rn(Tn)))),qi(n,lee,see,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fee),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),ye(oi)),dc),jr),rn(Tn)))),qi(n,fee,PN,hcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NS),e7),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),b5e),Bi),y3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Twe),e7),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,aee),e7),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),ec),gr),rn(Tn)))),qi(n,aee,NF,Prn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hee),e7),"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),xr),Qi),rn(Tn)))),qi(n,hee,NS,Jrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Owe),e7),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),K4),Je),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Nwe),e7),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),K4),Je),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Iwe),e7),"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."),null),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Dwe),e7),"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."),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_we),RQe),"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."),ye(40)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dee),RQe),"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."),d5e),Bi),die),rn(Tn)))),qi(n,dee,NS,_rn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vF),"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."),h5e),Bi),die),rn(Tn)))),qi(n,vF,NS,Nrn),qi(n,vF,NF,Irn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,x3),BQe),"Node Placement Strategy"),"Strategy for node placement."),I5e),Bi),Pye),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,yF),BQe),"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."),xr),Qi),rn(Tn)))),qi(n,yF,x3,Pcn),qi(n,yF,x3,$cn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bee),zQe),"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."),T5e),Bi),T3e),rn(Tn)))),qi(n,bee,x3,Icn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,gee),zQe),"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."),O5e),Bi),_3e),rn(Tn)))),qi(n,gee,x3,_cn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,wee),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),ec),gr),rn(Tn)))),qi(n,wee,x3,Bcn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,pee),"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."),Bi),Wie),rn(fr)))),qi(n,pee,x3,Hcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mee),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),N5e),Bi),Wie),rn(Tn)))),qi(n,mee,x3,Jcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lwe),FQe),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),v5e),Bi),Xye),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Pwe),FQe),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),y5e),Bi),Kye),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kF),"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."),k5e),Bi),Yye),rn(Tn)))),qi(n,kF,RN,Zrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jF),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),ec),gr),rn(Tn)))),qi(n,jF,RN,ncn),qi(n,jF,kF,tcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vee),"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),ec),gr),rn(Tn)))),qi(n,vee,RN,Vrn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,$we),Ya),"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."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Rwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Bwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,zwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Fwe),Zwe),"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."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Jwe),Zwe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Hwe),Zwe),"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."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,yee),epe),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),xr),Qi),rn(Tn)))),qi(n,yee,xS,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Gwe),JQe),"Post Compaction Strategy"),HQe),c5e),Bi),z3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,qwe),JQe),"Post Compaction Constraint Calculation"),HQe),r5e),Bi),p3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,EF),npe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kee),npe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),ye(16)),dc),jr),rn(Tn)))),qi(n,kee,EF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jee),npe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),ye(5)),dc),jr),rn(Tn)))),qi(n,jee,EF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,X1),tpe),"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'."),P5e),Bi),e4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,SF),tpe),"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),ec),gr),rn(Tn)))),qi(n,SF,X1,tun),qi(n,SF,X1,iun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xF),tpe),"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),ec),gr),rn(Tn)))),qi(n,xF,X1,cun),qi(n,xF,X1,uun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IS),GQe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),L5e),Bi),j3e),rn(Tn)))),qi(n,IS,X1,hun),qi(n,IS,X1,dun),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Eee),GQe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),nh),wl),rn(Tn)))),qi(n,Eee,IS,sun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,See),"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."),_5e),dc),jr),rn(Tn)))),qi(n,See,IS,fun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AF),qQe),"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."),$5e),Bi),Zye),rn(Tn)))),qi(n,AF,X1,xun),qi(n,AF,X1,Aun),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,MF),qQe),"Valid Indices for Wrapping"),null),nh),wl),rn(Tn)))),qi(n,MF,X1,jun),qi(n,MF,X1,Eun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,CF),ipe),"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),xr),Qi),rn(Tn)))),qi(n,CF,X1,pun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TF),ipe),"Distance Penalty When Improving Cuts"),null),2),ec),gr),rn(Tn)))),qi(n,TF,X1,gun),qi(n,TF,CF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xee),ipe),"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),xr),Qi),rn(Tn)))),qi(n,xee,X1,vun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Aee),Bee),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),C5e),Bi),i5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Mee),Bee),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),xr),Qi),rn(fr)))),qi(n,Mee,Cee,xcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Cee),Bee),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),A5e),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Tee),Bee),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),M5e),xr),Qi),rn(fr)))),qi(n,Tee,Aee,Mcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Uwe),zee),"Edge Label Side Selection"),"Method to decide on edge label sides."),m5e),Bi),M3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Xwe),zee),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),p5e),Bi),x7),Ci(Tn,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,OF),DS),"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."),a5e),Bi),Hye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Kwe),DS),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$N),DS),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Oee),DS),"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."),u5e),Bi),jve),rn(Tn)))),qi(n,Oee,xS,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Vwe),DS),"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."),f5e),Bi),_ye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Nee),DS),"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),ec),gr),rn(Tn)))),qi(n,Nee,OF,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Iee),DS),"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),ec),gr),rn(Tn)))),qi(n,Iee,OF,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Dee),n7),rpe),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),rn(fr)))),qi(n,Dee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_ee),n7),rpe),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd]))))),qi(n,_ee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lee),n7),rpe),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd]))))),qi(n,Lee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ywe),n7),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),o5e),Bi),bie),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Pee),n7),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),dc),jr),rn(Tn)))),qi(n,Pee,LN,wrn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,$ee),n7),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),dc),jr),rn(Tn)))),qi(n,$ee,LN,mrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Qwe),n7),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),l5e),Bi),bie),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Wwe),n7),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),s5e),nh),wl),rn(Tn)))),aYe((new NU,n))};var orn,srn,lrn,r5e,frn,c5e,arn,u5e,hrn,drn,brn,o5e,grn,wrn,prn,mrn,vrn,s5e,yrn,l5e,krn,jrn,Ern,Srn,f5e,xrn,Arn,Mrn,a5e,Crn,Trn,Orn,h5e,Nrn,Irn,Drn,d5e,_rn,Lrn,Prn,$rn,Rrn,Brn,zrn,Frn,Jrn,Hrn,b5e,Grn,g5e,qrn,w5e,Urn,p5e,Xrn,m5e,Krn,Vrn,Yrn,v5e,Qrn,y5e,Wrn,k5e,Zrn,ecn,ncn,tcn,icn,rcn,ccn,ucn,ocn,scn,j5e,lcn,fcn,acn,hcn,dcn,bcn,E5e,gcn,wcn,pcn,mcn,vcn,ycn,kcn,S5e,jcn,x5e,Ecn,A5e,Scn,xcn,Acn,M5e,Mcn,Ccn,C5e,Tcn,Ocn,Ncn,T5e,Icn,Dcn,O5e,_cn,Lcn,Pcn,$cn,Rcn,Bcn,zcn,Fcn,N5e,Jcn,Hcn,Gcn,I5e,qcn,D5e,Ucn,Xcn,Kcn,Vcn,Ycn,Qcn,Wcn,Zcn,eun,nun,tun,iun,run,cun,uun,oun,sun,lun,_5e,fun,aun,L5e,hun,dun,bun,gun,wun,pun,mun,vun,yun,P5e,kun,jun,Eun,Sun,$5e,xun,Aun;v(Tu,"LayeredMetaDataProvider",843),m(982,1,Ka,NU),s.tf=function(n){aYe(n)};var Dh,Aie,fH,wx,aH,R5e,hH,px,bI,Mie,J4,B5e,z5e,F5e,mx,Mun,vx,xm,Cie,dH,Tie,l1,Oie,N7,J5e,gI,Nie,H5e,Cun,Tun,Oun,bH,Iie,yx,H4,Nun,pl,G5e,q5e,gH,U3,_h,wH,W1,U5e,X5e,K5e,Die,_ie,V5e,Kd,Lie,Y5e,Am,Q5e,W5e,Z5e,pH,Mm,Cg,eye,nye,Wc,tye,Iun,ku,kx,iye,rye,cye,wI,mH,vH,Pie,$ie,uye,yH,oye,sye,kH,yp,lye,Rie,jx,fye,kp,Ex,jH,Tg,Bie,I7,EH,Og,aye,hye,dye,Cm,bye,Dun,_un,Lun,Pun,jp,Tm,Zi,Vd,$un,Om,gye,D7,wye,Nm,Run,_7,pye,G4,Bun,zun,pI,zie,mye,mI,Vf,Im,X3,Ng,ab,SH,Dm,Fie,L7,P7,Ig,_m,Jie,vI,Sx,xx,Fun,Jun,Hun,vye,Gun,Hie,yye,kye,jye,Eye,Gie,Sye,xye,Aye,Mye,qie,xH;v(Tu,"LayeredOptions",982),m(983,1,{},Qq),s.uf=function(){var n;return n=new fxe,n},s.vf=function(n){},v(Tu,"LayeredOptions/LayeredFactory",983),m(1345,1,{}),s.a=0;var qun;v($u,"ElkSpacings/AbstractSpacingsBuilder",1345),m(778,1345,{},rde);var AH,Uun;v(Tu,"LayeredSpacings/LayeredSpacingsBuilder",778),m(268,23,{3:1,35:1,23:1,268:1,188:1,196:1},Lv),s.bg=function(){return MXe(this)},s.og=function(){return MXe(this)};var Uie,Xie,Kie,Cye,Tye,Oye,MH,Vie,Nye,Iye=yt(Tu,"LayeringStrategy",268,Ct,K8n,gmn),Xun;m(352,23,{3:1,35:1,23:1,352:1},nK);var Yie,Dye,CH,_ye=yt(Tu,"LongEdgeOrderingStrategy",352,Ct,Wyn,wmn),Kun;m(203,23,{3:1,35:1,23:1,203:1},p$);var K3,V3,TH,Qie,Wie=yt(Tu,"NodeFlexibility",203,Ct,a6n,pmn),Vun;m(328,23,{3:1,35:1,23:1,328:1,188:1,196:1},bT),s.bg=function(){return gUe(this)},s.og=function(){return gUe(this)};var Ax,Zie,ere,Mx,Lye,Pye=yt(Tu,"NodePlacementStrategy",328,Ct,r9n,mmn),Yun;m(243,23,{3:1,35:1,23:1,243:1},w2);var $ye,$7,Cx,yI,Rye,Bye,kI,zye,OH,NH,Fye=yt(Tu,"NodePromotionStrategy",243,Ct,v7n,vmn),Qun;m(269,23,{3:1,35:1,23:1,269:1},m$);var Jye,hb,nre,tre,Hye=yt(Tu,"OrderingStrategy",269,Ct,h6n,ymn),Wun;m(421,23,{3:1,35:1,23:1,421:1},yse);var ire,rre,Gye=yt(Tu,"PortSortingStrategy",421,Ct,syn,kmn),Zun;m(452,23,{3:1,35:1,23:1,452:1},tK);var ys,Io,Tx,eon=yt(Tu,"PortType",452,Ct,Zyn,jmn),non;m(381,23,{3:1,35:1,23:1,381:1},iK);var qye,cre,Uye,Xye=yt(Tu,"SelfLoopDistributionStrategy",381,Ct,e4n,Emn),ton;m(348,23,{3:1,35:1,23:1,348:1},rK);var ure,jI,ore,Kye=yt(Tu,"SelfLoopOrderingStrategy",348,Ct,n4n,Smn),ion;m(316,1,{316:1},lVe),v(Tu,"Spacings",316),m(349,23,{3:1,35:1,23:1,349:1},cK);var sre,Vye,Ox,Yye=yt(Tu,"SplineRoutingMode",349,Ct,t4n,xmn),ron;m(351,23,{3:1,35:1,23:1,351:1},uK);var lre,Qye,Wye,Zye=yt(Tu,"ValidifyStrategy",351,Ct,i4n,Amn),con;m(382,23,{3:1,35:1,23:1,382:1},oK);var Lm,fre,R7,e4e=yt(Tu,"WrappingStrategy",382,Ct,r4n,Mmn),uon;m(1361,1,oc,MC),s.pg=function(n){return u(n,37),oon},s.If=function(n,t){XPn(this,u(n,37),t)};var oon;v(cp,"BFSNodeOrderCycleBreaker",1361),m(1359,1,oc,oP),s.pg=function(n){return u(n,37),son},s.If=function(n,t){JLn(this,u(n,37),t)};var son;v(cp,"DFSNodeOrderCycleBreaker",1359),m(1360,1,ct,GNe),s.Ad=function(n){GDn(this.a,this.c,this.b,u(n,17))},s.b=!1,v(cp,"DFSNodeOrderCycleBreaker/lambda$0$Type",1360),m(1353,1,oc,t9),s.pg=function(n){return u(n,37),lon},s.If=function(n,t){FLn(this,u(n,37),t)};var lon;v(cp,"DepthFirstCycleBreaker",1353),m(779,1,oc,Cfe),s.pg=function(n){return u(n,37),fon},s.If=function(n,t){sBn(this,u(n,37),t)},s.qg=function(n){return u(Le(n,hz(this.e,n.c.length)),9)};var fon;v(cp,"GreedyCycleBreaker",779),m(1356,779,oc,NCe),s.qg=function(n){var t,i,r,c,o,l,f,h,g;for(g=null,r=oi,h=k.Math.max(this.b.a.c.length,u(C(this.b,(ve(),fb)),15).a),t=h*u(C(this.b,fI),15).a,c=new T6,i=ue(C(this.b,(Oe(),J4)))===ue((B0(),Em)),f=new P(n);f.ao&&(r=o,g=l));return g||u(Le(n,hz(this.e,n.c.length)),9)},v(cp,"GreedyModelOrderCycleBreaker",1356),m(505,1,{},T6),s.a=0,s.b=0,v(cp,"GroupModelOrderCalculator",505),m(1354,1,oc,cj),s.pg=function(n){return u(n,37),aon},s.If=function(n,t){bPn(this,u(n,37),t)};var aon;v(cp,"InteractiveCycleBreaker",1354),m(1355,1,oc,rj),s.pg=function(n){return u(n,37),hon},s.If=function(n,t){wPn(u(n,37),t)};var hon;v(cp,"ModelOrderCycleBreaker",1355),m(780,1,oc),s.pg=function(n){return u(n,37),don},s.If=function(n,t){rLn(this,u(n,37),t)},s.rg=function(n,t){var i,r,c,o,l,f,h,g,p,y;for(l=0;lg&&(h=S,y=g),pda(new Xn(Qn(Ii(f).a.Jc(),new ee))))for(c=new Xn(Qn(cr(h).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(cp,"SCCNodeTypeCycleBreaker",1358),m(1357,780,oc,DCe),s.rg=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A;for(l=0;lg&&(h=S,y=g),pda(new Xn(Qn(Ii(f).a.Jc(),new ee))))for(c=new Xn(Qn(cr(h).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ee));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(cp,"SCConnectivity",1357),m(1373,1,oc,AC),s.pg=function(n){return u(n,37),bon},s.If=function(n,t){hRn(this,u(n,37),t)};var bon;v(K1,"BreadthFirstModelOrderLayerer",1373),m(1374,1,Yt,dM),s.Le=function(n,t){return QCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"BreadthFirstModelOrderLayerer/lambda$0$Type",1374),m(1364,1,oc,PMe),s.pg=function(n){return u(n,37),gon},s.If=function(n,t){dBn(this,u(n,37),t)};var gon;v(K1,"CoffmanGrahamLayerer",1364),m(1365,1,Yt,cEe),s.Le=function(n,t){return rIn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1365),m(1366,1,Yt,uEe),s.Le=function(n,t){return v3n(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"CoffmanGrahamLayerer/lambda$1$Type",1366),m(1375,1,oc,xC),s.pg=function(n){return u(n,37),won},s.If=function(n,t){ZRn(this,u(n,37),t)},s.c=0,s.e=0;var won;v(K1,"DepthFirstModelOrderLayerer",1375),m(1376,1,Yt,O6),s.Le=function(n,t){return WCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"DepthFirstModelOrderLayerer/lambda$0$Type",1376),m(1367,1,oc,N6),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_te)),o1,ym),eo,vm)},s.If=function(n,t){ERn(u(n,37),t)},v(K1,"InteractiveLayerer",1367),m(564,1,{564:1},mxe),s.a=0,s.c=0,v(K1,"InteractiveLayerer/LayerSpan",564),m(1363,1,oc,lP),s.pg=function(n){return u(n,37),pon},s.If=function(n,t){WNn(this,u(n,37),t)};var pon;v(K1,"LongestPathLayerer",1363),m(1372,1,oc,fP),s.pg=function(n){return u(n,37),mon},s.If=function(n,t){vIn(this,u(n,37),t)};var mon;v(K1,"LongestPathSourceLayerer",1372),m(1370,1,oc,ko),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)},s.If=function(n,t){DRn(this,u(n,37),t)},s.a=0,s.b=0,s.d=0;var n4e,t4e;v(K1,"MinWidthLayerer",1370),m(1371,1,Yt,oEe),s.Le=function(n,t){return z7n(this,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"MinWidthLayerer/MinOutgoingEdgesComparator",1371),m(1362,1,oc,sP),s.pg=function(n){return u(n,37),von},s.If=function(n,t){YPn(this,u(n,37),t)};var von;v(K1,"NetworkSimplexLayerer",1362),m(1368,1,oc,aNe),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)},s.If=function(n,t){L$n(this,u(n,37),t)},s.d=0,s.f=0,s.g=0,s.i=0,s.s=0,s.t=0,s.u=0,v(K1,"StretchWidthLayerer",1368),m(1369,1,Yt,Zq),s.Le=function(n,t){return y9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"StretchWidthLayerer/1",1369),m(406,1,Fpe),s.eg=function(n,t,i,r,c,o){},s.tg=function(n,t,i){return iKe(this,n,t,i)},s.dg=function(){this.g=le(Zm,VQe,30,this.d,15,1),this.f=le(Zm,VQe,30,this.d,15,1)},s.fg=function(n,t){this.e[n]=le($t,ni,30,t[n].length,15,1)},s.gg=function(n,t,i){var r;r=i[n][t],r.p=t,this.e[n][t]=t},s.hg=function(n,t,i,r){u(Le(r[n][t].j,i),12).p=this.d++},s.b=0,s.c=0,s.d=0,v(Ro,"AbstractBarycenterPortDistributor",406),m(1663,1,Yt,sEe),s.Le=function(n,t){return KEn(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Ro,"AbstractBarycenterPortDistributor/lambda$0$Type",1663),m(816,1,OS,Lae),s.eg=function(n,t,i,r,c,o){},s.gg=function(n,t,i){},s.hg=function(n,t,i,r){},s.cg=function(){return!1},s.dg=function(){this.c=this.e.a,this.g=this.f.g},s.fg=function(n,t){t[n][0].c.p=n},s.ig=function(){return!1},s.ug=function(n,t,i,r){i?KHe(this,n):(eGe(this,n,r),yVe(this,n,t)),n.c.length>1&&(ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),N7))))?AUe(n,this.d,u(this,660)):(En(),Tr(n,this.d)),wze(this.e,n))},s.jg=function(n,t,i,r){var c,o,l,f,h,g,p;for(t!=NIe(i,n.length)&&(o=n[t-(i?1:-1)],uhe(this.f,o,i?(Nc(),Io):(Nc(),ys))),c=n[t][0],p=!r||c.k==(Fn(),wr),g=$f(n[t]),this.ug(g,p,!1,i),l=0,h=new P(g);h.a"),n0?GV(this.a,n[t-1],n[t]):!i&&t1&&(ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),N7))))?AUe(n,this.d,this):(En(),Tr(n,this.d)),ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),N7)))||wze(this.e,n))},v(Ro,"ModelOrderBarycenterHeuristic",660),m(1843,1,Yt,wEe),s.Le=function(n,t){return NLn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Ro,"ModelOrderBarycenterHeuristic/lambda$0$Type",1843),m(1383,1,oc,hP),s.pg=function(n){var t;return u(n,37),t=$$(Mon),qt(t,(zr(),eo),(Ur(),BJ)),t},s.If=function(n,t){X5n((u(n,37),t))};var Mon;v(Ro,"NoCrossingMinimizer",1383),m(796,406,Fpe,zoe),s.sg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A;switch(y=this.g,i.g){case 1:{for(c=0,o=0,p=new P(n.j);p.a1&&(c.j==(Ie(),nt)?this.b[n]=!0:c.j==Yn&&n>0&&(this.b[n-1]=!0))},s.f=0,v(c1,"AllCrossingsCounter",1838),m(583,1,{},OB),s.b=0,s.d=0,v(c1,"BinaryIndexedTree",583),m(519,1,{},_T);var i4e,_H;v(c1,"CrossingsCounter",519),m(1912,1,Yt,pEe),s.Le=function(n,t){return l3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$0$Type",1912),m(1913,1,Yt,mEe),s.Le=function(n,t){return f3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$1$Type",1913),m(1914,1,Yt,vEe),s.Le=function(n,t){return a3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$2$Type",1914),m(1915,1,Yt,yEe),s.Le=function(n,t){return h3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$3$Type",1915),m(1916,1,ct,kEe),s.Ad=function(n){i8n(this.a,u(n,12))},v(c1,"CrossingsCounter/lambda$4$Type",1916),m(1917,1,zt,jEe),s.Mb=function(n){return Ygn(this.a,u(n,12))},v(c1,"CrossingsCounter/lambda$5$Type",1917),m(1918,1,ct,EEe),s.Ad=function(n){oTe(this,n)},v(c1,"CrossingsCounter/lambda$6$Type",1918),m(1919,1,ct,hCe),s.Ad=function(n){var t;N9(),_0(this.b,(t=this.a,u(n,12),t))},v(c1,"CrossingsCounter/lambda$7$Type",1919),m(823,1,Ah,pM),s.Lb=function(n){return N9(),wi(u(n,12),(ve(),vs))},s.Fb=function(n){return this===n},s.Mb=function(n){return N9(),wi(u(n,12),(ve(),vs))},v(c1,"CrossingsCounter/lambda$8$Type",823),m(1911,1,{},SEe),v(c1,"HyperedgeCrossingsCounter",1911),m(467,1,{35:1,467:1},hNe),s.Dd=function(n){return $En(this,u(n,467))},s.b=0,s.c=0,s.e=0,s.f=0;var KBn=v(c1,"HyperedgeCrossingsCounter/Hyperedge",467);m(370,1,{35:1,370:1},OR),s.Dd=function(n){return OOn(this,u(n,370))},s.b=0,s.c=0;var Con=v(c1,"HyperedgeCrossingsCounter/HyperedgeCorner",370);m(518,23,{3:1,35:1,23:1,518:1},kse);var Ix,Dx,Ton=yt(c1,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",518,Ct,lyn,Nmn),Oon;m(1385,1,oc,OU),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Non:null},s.If=function(n,t){uAn(this,u(n,37),t)};var Non;v(Lc,"InteractiveNodePlacer",1385),m(1386,1,oc,NC),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Ion:null},s.If=function(n,t){USn(this,u(n,37),t)};var Ion,LH,PH;v(Lc,"LinearSegmentsNodePlacer",1386),m(263,1,{35:1,263:1},voe),s.Dd=function(n){return fgn(this,u(n,263))},s.Fb=function(n){var t;return X(n,263)?(t=u(n,263),this.b==t.b):!1},s.Hb=function(){return this.b},s.Ib=function(){return"ls"+Ga(this.e)},s.a=0,s.b=0,s.c=-1,s.d=-1,s.g=0;var Don=v(Lc,"LinearSegmentsNodePlacer/LinearSegment",263);m(1388,1,oc,FIe),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?_on:null},s.If=function(n,t){eBn(this,u(n,37),t)},s.b=0,s.g=0;var _on;v(Lc,"NetworkSimplexPlacer",1388),m(1407,1,Yt,mv),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Lc,"NetworkSimplexPlacer/0methodref$compare$Type",1407),m(1409,1,Yt,gM),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Lc,"NetworkSimplexPlacer/1methodref$compare$Type",1409),m(644,1,{644:1},dCe);var VBn=v(Lc,"NetworkSimplexPlacer/EdgeRep",644);m(405,1,{405:1},oae),s.b=!1;var YBn=v(Lc,"NetworkSimplexPlacer/NodeRep",405);m(500,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,500:1},Sxe),v(Lc,"NetworkSimplexPlacer/Path",500),m(1389,1,{},xk),s.Kb=function(n){return u(n,17).d.i.k},v(Lc,"NetworkSimplexPlacer/Path/lambda$0$Type",1389),m(1390,1,zt,a_),s.Mb=function(n){return u(n,249)==(Fn(),dr)},v(Lc,"NetworkSimplexPlacer/Path/lambda$1$Type",1390),m(1391,1,{},h_),s.Kb=function(n){return u(n,17).d.i},v(Lc,"NetworkSimplexPlacer/Path/lambda$2$Type",1391),m(1392,1,zt,xEe),s.Mb=function(n){return WOe(aJe(u(n,9)))},v(Lc,"NetworkSimplexPlacer/Path/lambda$3$Type",1392),m(1393,1,zt,J5),s.Mb=function(n){return Yvn(u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$0$Type",1393),m(1394,1,ct,bCe),s.Ad=function(n){Jwn(this.a,this.b,u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$1$Type",1394),m(1403,1,ct,AEe),s.Ad=function(n){pTn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$10$Type",1403),m(1404,1,{},wM),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$11$Type",1404),m(1405,1,ct,MEe),s.Ad=function(n){QIn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$12$Type",1405),m(1406,1,{},Ak),s.Kb=function(n){return cl(),ye(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$13$Type",1406),m(1408,1,{},Mk),s.Kb=function(n){return cl(),ye(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$15$Type",1408),m(1410,1,zt,d_),s.Mb=function(n){return cl(),u(n,405).c.k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$17$Type",1410),m(1411,1,zt,b_),s.Mb=function(n){return cl(),u(n,405).c.j.c.length>1},v(Lc,"NetworkSimplexPlacer/lambda$18$Type",1411),m(1412,1,ct,KDe),s.Ad=function(n){oEn(this.c,this.b,this.d,this.a,u(n,405))},s.c=0,s.d=0,v(Lc,"NetworkSimplexPlacer/lambda$19$Type",1412),m(1395,1,{},vv),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$2$Type",1395),m(1413,1,ct,CEe),s.Ad=function(n){Uwn(this.a,u(n,12))},s.a=0,v(Lc,"NetworkSimplexPlacer/lambda$20$Type",1413),m(1414,1,{},yv),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$21$Type",1414),m(1415,1,ct,TEe),s.Ad=function(n){Wwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$22$Type",1415),m(1416,1,zt,g_),s.Mb=function(n){return WOe(n)},v(Lc,"NetworkSimplexPlacer/lambda$23$Type",1416),m(1417,1,{},H5),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$24$Type",1417),m(1418,1,zt,OEe),s.Mb=function(n){return cwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$25$Type",1418),m(1419,1,ct,gCe),s.Ad=function(n){yCn(this.a,this.b,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$26$Type",1419),m(1420,1,zt,I6),s.Mb=function(n){return cl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$27$Type",1420),m(1421,1,zt,Ck),s.Mb=function(n){return cl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$28$Type",1421),m(1422,1,{},NEe),s.Te=function(n,t){return qwn(this.a,u(n,25),u(t,25))},v(Lc,"NetworkSimplexPlacer/lambda$29$Type",1422),m(1396,1,{},D6),s.Kb=function(n){return cl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ee))))},v(Lc,"NetworkSimplexPlacer/lambda$3$Type",1396),m(1397,1,zt,Tk),s.Mb=function(n){return cl(),X4n(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$4$Type",1397),m(1398,1,ct,IEe),s.Ad=function(n){uLn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$5$Type",1398),m(1399,1,{},w_),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$6$Type",1399),m(1400,1,zt,kv),s.Mb=function(n){return cl(),u(n,9).k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$7$Type",1400),m(1401,1,{},p_),s.Kb=function(n){return cl(),new pn(null,new T2(new Xn(Qn(mh(u(n,9)).a.Jc(),new ee))))},v(Lc,"NetworkSimplexPlacer/lambda$8$Type",1401),m(1402,1,zt,Kp),s.Mb=function(n){return cl(),Kvn(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$9$Type",1402),m(1384,1,oc,IC),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Lon:null},s.If=function(n,t){RLn(u(n,37),t)};var Lon;v(Lc,"SimpleNodePlacer",1384),m(185,1,{185:1},p3),s.Ib=function(){var n;return n="",this.c==(gh(),Ep)?n+=v4:this.c==Yd&&(n+=m4),this.o==(La(),Dg)?n+=KZ:this.o==Za?n+="UP":n+="BALANCED",n},v(tb,"BKAlignedLayout",185),m(509,23,{3:1,35:1,23:1,509:1},jse);var Yd,Ep,Pon=yt(tb,"BKAlignedLayout/HDirection",509,Ct,ayn,Imn),$on;m(508,23,{3:1,35:1,23:1,508:1},Ese);var Dg,Za,Ron=yt(tb,"BKAlignedLayout/VDirection",508,Ct,fyn,Dmn),Bon;m(1664,1,{},wCe),v(tb,"BKAligner",1664),m(1667,1,{},$He),v(tb,"BKCompactor",1667),m(652,1,{652:1},mM),s.a=0,v(tb,"BKCompactor/ClassEdge",652),m(456,1,{456:1},yxe),s.a=null,s.b=0,v(tb,"BKCompactor/ClassNode",456),m(1387,1,oc,OCe),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?zon:null},s.If=function(n,t){pBn(this,u(n,37),t)},s.d=!1;var zon;v(tb,"BKNodePlacer",1387),m(1665,1,{},vM),s.d=0,v(tb,"NeighborhoodInformation",1665),m(1666,1,Yt,DEe),s.Le=function(n,t){return m8n(this,u(n,49),u(t,49))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(tb,"NeighborhoodInformation/NeighborComparator",1666),m(809,1,{}),v(tb,"ThresholdStrategy",809),m(1795,809,{},xxe),s.vg=function(n,t,i){return this.a.o==(La(),Za)?Vi:Ir},s.wg=function(){},v(tb,"ThresholdStrategy/NullThresholdStrategy",1795),m(576,1,{576:1},vCe),s.c=!1,s.d=!1,v(tb,"ThresholdStrategy/Postprocessable",576),m(1796,809,{},Axe),s.vg=function(n,t,i){var r,c,o;return c=t==i,r=this.a.a[i.p]==t,c||r?(o=n,this.a.c==(gh(),Ep)?(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))):(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))),o):n},s.wg=function(){for(var n,t,i,r,c;this.d.b!=0;)c=u(D_e(this.d),576),r=vKe(this,c),r.a&&(n=r.a,i=ze(this.a.f[this.a.g[c.b.p].p]),!(!i&&!uc(n)&&n.c.i.c==n.d.i.c)&&(t=kUe(this,c),t||ATe(this.e,c)));for(;this.e.a.c.length!=0;)kUe(this,u(N1e(this.e),576))},v(tb,"ThresholdStrategy/SimpleThresholdStrategy",1796),m(635,1,{635:1,188:1,196:1},Vp),s.bg=function(){return gze(this)},s.og=function(){return gze(this)};var are;v(Uee,"EdgeRouterFactory",635),m(1445,1,oc,LU),s.pg=function(n){return CIn(u(n,37))},s.If=function(n,t){XLn(u(n,37),t)};var Fon,Jon,Hon,Gon,qon,r4e,Uon,Xon;v(Uee,"OrthogonalEdgeRouter",1445),m(1438,1,oc,TCe),s.pg=function(n){return gAn(u(n,37))},s.If=function(n,t){wRn(this,u(n,37),t)};var Kon,Von,Yon,Qon,SI,Won;v(Uee,"PolylineEdgeRouter",1438),m(1439,1,Ah,Yp),s.Lb=function(n){return s1e(u(n,9))},s.Fb=function(n){return this===n},s.Mb=function(n){return s1e(u(n,9))},v(Uee,"PolylineEdgeRouter/1",1439),m(1851,1,zt,_6),s.Mb=function(n){return u(n,133).c==(ba(),db)},v(ka,"HyperEdgeCycleDetector/lambda$0$Type",1851),m(1852,1,{},yM),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$1$Type",1852),m(1853,1,zt,kM),s.Mb=function(n){return u(n,133).c==(ba(),db)},v(ka,"HyperEdgeCycleDetector/lambda$2$Type",1853),m(1854,1,{},L6),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$3$Type",1854),m(1855,1,{},P6),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$4$Type",1855),m(1856,1,{},m_),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$5$Type",1856),m(116,1,{35:1,116:1},EO),s.Dd=function(n){return agn(this,u(n,116))},s.Fb=function(n){var t;return X(n,116)?(t=u(n,116),this.g==t.g):!1},s.Hb=function(){return this.g},s.Ib=function(){var n,t,i,r;for(n=new il("{"),r=new P(this.n);r.a"+this.b+" ("+Cpn(this.c)+")"},s.d=0,v(ka,"HyperEdgeSegmentDependency",133),m(515,23,{3:1,35:1,23:1,515:1},Sse);var db,Pm,Zon=yt(ka,"HyperEdgeSegmentDependency/DependencyType",515,Ct,hyn,_mn),esn;m(1857,1,{},_Ee),v(ka,"HyperEdgeSegmentSplitter",1857),m(1858,1,{},yAe),s.a=0,s.b=0,v(ka,"HyperEdgeSegmentSplitter/AreaRating",1858),m(340,1,{340:1},WK),s.a=0,s.b=0,s.c=0,v(ka,"HyperEdgeSegmentSplitter/FreeArea",340),m(1859,1,Yt,v_),s.Le=function(n,t){return y2n(u(n,116),u(t,116))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(ka,"HyperEdgeSegmentSplitter/lambda$0$Type",1859),m(1860,1,ct,VDe),s.Ad=function(n){$6n(this.a,this.d,this.c,this.b,u(n,116))},s.b=0,v(ka,"HyperEdgeSegmentSplitter/lambda$1$Type",1860),m(1861,1,{},G5),s.Kb=function(n){return new pn(null,new yn(u(n,116).e,16))},v(ka,"HyperEdgeSegmentSplitter/lambda$2$Type",1861),m(1862,1,{},Ok),s.Kb=function(n){return new pn(null,new yn(u(n,116).j,16))},v(ka,"HyperEdgeSegmentSplitter/lambda$3$Type",1862),m(1863,1,{},y_),s.We=function(n){return ne(re(n))},v(ka,"HyperEdgeSegmentSplitter/lambda$4$Type",1863),m(653,1,{},EV),s.a=0,s.b=0,s.c=0,v(ka,"OrthogonalRoutingGenerator",653),m(1668,1,{},jM),s.Kb=function(n){return new pn(null,new yn(u(n,116).e,16))},v(ka,"OrthogonalRoutingGenerator/lambda$0$Type",1668),m(1669,1,{},EM),s.Kb=function(n){return new pn(null,new yn(u(n,116).j,16))},v(ka,"OrthogonalRoutingGenerator/lambda$1$Type",1669),m(661,1,{}),v(Xee,"BaseRoutingDirectionStrategy",661),m(1849,661,{},Mxe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t+n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Ww(this,l,c,r,!1),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1),o=t+S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1)),r=new Ee(D,o),Vt(l.a,r),Ww(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),bt},s.Ag=function(){return Ie(),Vn},v(Xee,"NorthToSouthRoutingStrategy",1849),m(1850,661,{},Cxe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t-n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Ww(this,l,c,r,!1),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1),o=t-S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1)),r=new Ee(D,o),Vt(l.a,r),Ww(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),Vn},s.Ag=function(){return Ie(),bt},v(Xee,"SouthToNorthRoutingStrategy",1850),m(1848,661,{},Txe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,D;if(!(n.r&&!n.q))for(p=t+n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(o,y),Vt(l.a,r),Ww(this,l,c,r,!0),S=n.r,S&&(A=ne(re(Yu(S.e,0))),r=new Ee(o,A),Vt(l.a,r),Ww(this,l,c,r,!0),o=t+S.o*i,c=S,r=new Ee(o,A),Vt(l.a,r),Ww(this,l,c,r,!0)),r=new Ee(o,D),Vt(l.a,r),Ww(this,l,c,r,!0)))},s.yg=function(n){return n.i.n.b+n.n.b+n.a.b},s.zg=function(){return Ie(),nt},s.Ag=function(){return Ie(),Yn},v(Xee,"WestToEastRoutingStrategy",1848),m(812,1,{},hge),s.Ib=function(){return Ga(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,v(hm,"NubSpline",812),m(410,1,{410:1},tXe,N_e),v(hm,"NubSpline/PolarCP",410),m(1440,1,oc,MHe),s.pg=function(n){return tMn(u(n,37))},s.If=function(n,t){PRn(this,u(n,37),t)};var nsn,tsn,isn,rsn,csn;v(hm,"SplineEdgeRouter",1440),m(273,1,{273:1},nB),s.Ib=function(){return this.a+" ->("+this.c+") "+this.b},s.c=0,v(hm,"SplineEdgeRouter/Dependency",273),m(454,23,{3:1,35:1,23:1,454:1},xse);var bb,Y3,usn=yt(hm,"SplineEdgeRouter/SideToProcess",454,Ct,dyn,Lmn),osn;m(1441,1,zt,v1),s.Mb=function(n){return oS(),!u(n,132).o},v(hm,"SplineEdgeRouter/lambda$0$Type",1441),m(1442,1,{},wd),s.Xe=function(n){return oS(),u(n,132).v+1},v(hm,"SplineEdgeRouter/lambda$1$Type",1442),m(1443,1,ct,pCe),s.Ad=function(n){Zvn(this.a,this.b,u(n,49))},v(hm,"SplineEdgeRouter/lambda$2$Type",1443),m(1444,1,ct,mCe),s.Ad=function(n){e3n(this.a,this.b,u(n,49))},v(hm,"SplineEdgeRouter/lambda$3$Type",1444),m(132,1,{35:1,132:1},fqe,mge),s.Dd=function(n){return hgn(this,u(n,132))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,v(hm,"SplineSegment",132),m(457,1,{457:1},Qp),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,v(hm,"SplineSegment/EdgeInformation",457),m(1167,1,{},SM),v(V1,rwe,1167),m(1168,1,Yt,k_),s.Le=function(n,t){return OTn(u(n,120),u(t,120))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(V1,uQe,1168),m(1166,1,{},FAe),v(V1,"MrTree",1166),m(398,23,{3:1,35:1,23:1,398:1,188:1,196:1},y$),s.bg=function(){return Dqe(this)},s.og=function(){return Dqe(this)};var $H,_x,Lx,Px,c4e=yt(V1,"TreeLayoutPhases",398,Ct,g6n,Pmn),ssn;m(1082,214,ip,bNe),s.kf=function(n,t){var i,r,c,o,l,f,h,g;for(ze(Be(ke(n,(Mu(),O4e))))||KT((i=new wj((Fb(),new k0(n))),i)),l=t.dh(Yee),l.Tg("build tGraph",1),f=(h=new tO,Pu(h,n),he(h,(Ti(),Rx),n),g=new wt,h_n(n,h,g),T_n(n,h,g),h),l.Ug(),l=t.dh(Yee),l.Tg("Split graph",1),o=m_n(this.a,f),l.Ug(),c=new P(o);c.a"+Zb(this.c):"e_"+Ni(this)},v(_S,"TEdge",65),m(120,150,{3:1,120:1,105:1,150:1},tO),s.Ib=function(){var n,t,i,r,c;for(c=null,r=St(this.b,0);r.b!=r.d.c;)i=u(jt(r),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` + endInLayerEdge=`,uo(n,this.c),n.a},v(Ch,"BreakingPointInserter/BPInfo",317),m(650,1,{650:1},rEe),s.a=!1,s.b=0,s.c=0,v(Ch,"BreakingPointInserter/Cut",650),m(1506,1,Mi,Up),s.If=function(n,t){tNn(u(n,37),t)},v(Ch,"BreakingPointProcessor",1506),m(1507,1,zt,ow),s.Mb=function(n){return XRe(u(n,9))},v(Ch,"BreakingPointProcessor/0methodref$isEnd$Type",1507),m(1508,1,zt,fM),s.Mb=function(n){return KRe(u(n,9))},v(Ch,"BreakingPointProcessor/1methodref$isStart$Type",1508),m(1509,1,Mi,aM),s.If=function(n,t){xNn(this,u(n,37),t)},v(Ch,"BreakingPointRemover",1509),m(1510,1,ct,By),s.Ad=function(n){u(n,132).k=!0},v(Ch,"BreakingPointRemover/lambda$0$Type",1510),m(798,1,{},fbe),s.b=0,s.e=0,s.f=0,s.j=0,v(Ch,"GraphStats",798),m(799,1,{},M6),s.Te=function(n,t){return k.Math.max(te(re(n)),te(re(t)))},v(Ch,"GraphStats/0methodref$max$Type",799),m(800,1,{},Xp),s.Te=function(n,t){return k.Math.max(te(re(n)),te(re(t)))},v(Ch,"GraphStats/2methodref$max$Type",800),m(1692,1,{},oa),s.Te=function(n,t){return Nmn(re(n),re(t))},v(Ch,"GraphStats/lambda$1$Type",1692),m(1693,1,{},tEe),s.Kb=function(n){return JJe(this.a,u(n,25))},v(Ch,"GraphStats/lambda$2$Type",1693),m(1694,1,{},iEe),s.Kb=function(n){return JUe(this.a,u(n,25))},v(Ch,"GraphStats/lambda$6$Type",1694),m(801,1,{},C6),s.mg=function(n,t){var i;return i=u(C(n,(Oe(),j5e)),16),i||(En(),En(),Sc)},s.ng=function(){return!1},v(Ch,"ICutIndexCalculator/ManualCutIndexCalculator",801),m(803,1,{},hM),s.mg=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be;for(be=(t.n==null&&gHe(t),t.n),h=(t.d==null&&gHe(t),t.d),ie=le(Jr,Jc,30,be.length,15,1),ie[0]=be[0],U=be[0],g=1;g=_&&(Ce(o,ye(p)),V=k.Math.max(V,ie[p-1]-y),f+=O,B+=ie[p-1]-B,y=ie[p-1],O=h[p]),O=k.Math.max(O,h[p]),++p;f+=O}A=k.Math.min(1/V,1/t.b/f),A>r&&(r=A,i=o)}return i},s.ng=function(){return!1},v(Ch,"MSDCutIndexHeuristic",803),m(1647,1,Mi,Yq),s.If=function(n,t){fLn(u(n,37),t)},v(Ch,"SingleEdgeGraphWrapper",1647),m(231,23,{3:1,35:1,23:1,231:1},zj);var P3,E7,S7,jm,sx,$3,x7=yt(Tu,"CenterEdgeLabelPlacementStrategy",231,Ct,_9n,W2n),zin;m(422,23,{3:1,35:1,23:1,422:1},gse);var w3e,Kte,p3e=yt(Tu,"ConstraintCalculationStrategy",422,Ct,r5n,Z2n),Fin;m(301,23,{3:1,35:1,23:1,301:1,188:1,196:1},p$),s.bg=function(){return MUe(this)},s.og=function(){return MUe(this)};var cI,lx,m3e,v3e,y3e=yt(Tu,"CrossingMinimizationStrategy",301,Ct,a6n,emn),Jin;m(350,23,{3:1,35:1,23:1,350:1},VX);var k3e,Vte,QJ,j3e=yt(Tu,"CuttingStrategy",350,Ct,K5n,nmn),Hin;m(267,23,{3:1,35:1,23:1,267:1,188:1,196:1},_v),s.bg=function(){return NXe(this)},s.og=function(){return NXe(this)};var Yte,E3e,Qte,Wte,Zte,eie,nie,tie,uI,S3e=yt(Tu,"CycleBreakingStrategy",267,Ct,K8n,tmn),Gin;m(419,23,{3:1,35:1,23:1,419:1},wse);var WJ,x3e,A3e=yt(Tu,"DirectionCongruency",419,Ct,c5n,imn),qin;m(449,23,{3:1,35:1,23:1,449:1},QX);var A7,iie,R3,Uin=yt(Tu,"EdgeConstraint",449,Ct,V5n,rmn),Xin;m(284,23,{3:1,35:1,23:1,284:1},Hj);var rie,cie,uie,oie,ZJ,sie,M3e=yt(Tu,"EdgeLabelSideSelection",284,Ct,L9n,cmn),Kin;m(476,23,{3:1,35:1,23:1,476:1},pse);var eH,C3e,T3e=yt(Tu,"EdgeStraighteningStrategy",476,Ct,u5n,umn),Vin;m(282,23,{3:1,35:1,23:1,282:1},Fj);var lie,O3e,N3e,nH,I3e,D3e,_3e=yt(Tu,"FixedAlignment",282,Ct,P9n,omn),Yin;m(283,23,{3:1,35:1,23:1,283:1},Jj);var L3e,P3e,$3e,R3e,fx,B3e,z3e=yt(Tu,"GraphCompactionStrategy",283,Ct,$9n,smn),Qin;m(261,23,{3:1,35:1,23:1,261:1},g2);var M7,tH,C7,Vl,ax,iH,T7,B3,rH,hx,fie=yt(Tu,"GraphProperties",261,Ct,k7n,lmn),Win;m(302,23,{3:1,35:1,23:1,302:1},WX);var oI,aie,hie,die=yt(Tu,"GreedySwitchType",302,Ct,Y5n,fmn),Zin;m(329,23,{3:1,35:1,23:1,329:1},ZX);var Em,F3e,sI,bie=yt(Tu,"GroupOrderStrategy",329,Ct,Q5n,amn),ern;m(315,23,{3:1,35:1,23:1,315:1},eK);var D4,lI,z3,nrn=yt(Tu,"InLayerConstraint",315,Ct,W5n,hmn),trn;m(420,23,{3:1,35:1,23:1,420:1},mse);var gie,J3e,H3e=yt(Tu,"InteractiveReferencePoint",420,Ct,o5n,dmn),irn,G3e,_4,wp,fI,cH,q3e,U3e,uH,X3e,L4,oH,dx,P4,Y1,wie,sH,Iu,K3e,lb,po,pie,mie,aI,xg,pp,$4,V3e,rrn,R4,hI,Sm,Sa,wf,vie,F3,fb,Oi,mi,Y3e,Q3e,W3e,Z3e,eye,yie,lH,vs,mp,kie,B4,bx,Xd,J3,vp,H3,G3,O7,Ag,nye,jie,Eie,gx,z4,fH,F4,q3;m(165,23,{3:1,35:1,23:1,165:1},dT);var wx,Q1,px,Mg,dI,tye=yt(Tu,"LayerConstraint",165,Ct,u9n,bmn),crn;m(423,23,{3:1,35:1,23:1,423:1},vse);var Sie,xie,iye=yt(Tu,"LayerUnzippingStrategy",423,Ct,s5n,gmn),urn;m(843,1,Ka,CC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,pwe),""),"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."),wye),(hg(),Bi)),A3e),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mwe),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),($n(),!1)),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vF),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),jye),Bi),H3e),rn(Tn)))),qi(n,vF,LN,fcn),qi(n,vF,DS,lcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vwe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ywe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(lgn(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kwe),""),"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),xr),Qi),rn(Wd)),F(z(Je,1),Me,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jwe),""),"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."),Dye),Bi),G5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ewe),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),ye(7)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Swe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xwe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LN),"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)."),gye),Bi),S3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,PN),Ree),"Node Layering Strategy"),"Strategy for node layering."),xye),Bi),I5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Awe),Ree),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),Eye),Bi),tye),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Mwe),Ree),"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."),null),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Cwe),Ree),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,uee),PQe),"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."),ye(4)),dc),jr),rn(Tn)))),qi(n,uee,PN,pcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,oee),PQe),"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."),ye(2)),dc),jr),rn(Tn)))),qi(n,oee,PN,vcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,see),$Qe),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),Sye),Bi),F5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,lee),$Qe),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),ye(0)),dc),jr),rn(Tn)))),qi(n,lee,see,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fee),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),ye(oi)),dc),jr),rn(Tn)))),qi(n,fee,PN,hcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,DS),e7),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),bye),Bi),y3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Twe),e7),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,aee),e7),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),ec),gr),rn(Tn)))),qi(n,aee,IF,Prn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hee),e7),"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),xr),Qi),rn(Tn)))),qi(n,hee,DS,Jrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Owe),e7),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),K4),Je),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Nwe),e7),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),K4),Je),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Iwe),e7),"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."),null),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Dwe),e7),"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."),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_we),RQe),"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."),ye(40)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dee),RQe),"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."),dye),Bi),die),rn(Tn)))),qi(n,dee,DS,_rn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,yF),"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."),hye),Bi),die),rn(Tn)))),qi(n,yF,DS,Nrn),qi(n,yF,IF,Irn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,x3),BQe),"Node Placement Strategy"),"Strategy for node placement."),Iye),Bi),P5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,kF),BQe),"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."),xr),Qi),rn(Tn)))),qi(n,kF,x3,Pcn),qi(n,kF,x3,$cn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bee),zQe),"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."),Tye),Bi),T3e),rn(Tn)))),qi(n,bee,x3,Icn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,gee),zQe),"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."),Oye),Bi),_3e),rn(Tn)))),qi(n,gee,x3,_cn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,wee),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),ec),gr),rn(Tn)))),qi(n,wee,x3,Bcn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,pee),"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."),Bi),Wie),rn(fr)))),qi(n,pee,x3,Hcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mee),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Nye),Bi),Wie),rn(Tn)))),qi(n,mee,x3,Jcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lwe),FQe),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),vye),Bi),X5e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Pwe),FQe),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),yye),Bi),K5e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jF),"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."),kye),Bi),Y5e),rn(Tn)))),qi(n,jF,RN,Zrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,EF),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),ec),gr),rn(Tn)))),qi(n,EF,RN,ncn),qi(n,EF,jF,tcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vee),"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),ec),gr),rn(Tn)))),qi(n,vee,RN,Vrn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,$we),Ya),"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."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Rwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Bwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,zwe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Fwe),Zwe),"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."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Jwe),Zwe),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Hwe),Zwe),"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."),ye(0)),dc),jr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,yee),epe),"Connected Components Compaction"),"Tries to further compact components (disconnected sub-graphs)."),!1),xr),Qi),rn(Tn)))),qi(n,yee,MS,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Gwe),JQe),"Post Compaction Strategy"),HQe),cye),Bi),z3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,qwe),JQe),"Post Compaction Constraint Calculation"),HQe),rye),Bi),p3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,SF),npe),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kee),npe),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),ye(16)),dc),jr),rn(Tn)))),qi(n,kee,SF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jee),npe),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),ye(5)),dc),jr),rn(Tn)))),qi(n,jee,SF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,X1),tpe),"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'."),Pye),Bi),e4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xF),tpe),"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),ec),gr),rn(Tn)))),qi(n,xF,X1,tun),qi(n,xF,X1,iun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AF),tpe),"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),ec),gr),rn(Tn)))),qi(n,AF,X1,cun),qi(n,AF,X1,uun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_S),GQe),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),Lye),Bi),j3e),rn(Tn)))),qi(n,_S,X1,hun),qi(n,_S,X1,dun),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Eee),GQe),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),nh),wl),rn(Tn)))),qi(n,Eee,_S,sun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,See),"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."),_ye),dc),jr),rn(Tn)))),qi(n,See,_S,fun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,MF),qQe),"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."),$ye),Bi),Z5e),rn(Tn)))),qi(n,MF,X1,xun),qi(n,MF,X1,Aun),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CF),qQe),"Valid Indices for Wrapping"),null),nh),wl),rn(Tn)))),qi(n,CF,X1,jun),qi(n,CF,X1,Eun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TF),ipe),"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),xr),Qi),rn(Tn)))),qi(n,TF,X1,pun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,OF),ipe),"Distance Penalty When Improving Cuts"),null),2),ec),gr),rn(Tn)))),qi(n,OF,X1,gun),qi(n,OF,TF,!0),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xee),ipe),"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),xr),Qi),rn(Tn)))),qi(n,xee,X1,vun),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Aee),Bee),"Layer Unzipping Strategy"),"The strategy to use for unzipping a layer into multiple sublayers while maintaining the existing ordering of nodes and edges after crossing minimization. The default value is 'NONE'."),Cye),Bi),iye),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Mee),Bee),"Minimize Edge Length Heuristic"),"Use a heuristic to decide whether or not to actually perform the layer split with the goal of minimizing the total edge length. This option only works when layerSplit is set to 2. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to true, then the value is set to true for the entire layer."),!1),xr),Qi),rn(fr)))),qi(n,Mee,Cee,xcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Cee),Bee),"Unzipping Layer Split"),"Defines the number of sublayers to split a layer into. The property can be set to the nodes in a layer, which then applies the property for the layer. If multiple nodes set the value to different values, then the lowest value is chosen."),Aye),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Tee),Bee),"Reset Alternation on Long Edges"),"If set to true, nodes will always be placed in the first sublayer after a long edge when using the ALTERNATING strategy. Otherwise long edge dummies are treated the same as regular nodes. The default value is true. The property can be set to the nodes in a layer, which then applies the property for the layer. If any node sets the value to false, then the value is set to false for the entire layer."),Mye),xr),Qi),rn(fr)))),qi(n,Tee,Aee,Mcn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Uwe),zee),"Edge Label Side Selection"),"Method to decide on edge label sides."),mye),Bi),M3e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Xwe),zee),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),pye),Bi),x7),Ci(Tn,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NF),LS),"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."),aye),Bi),H5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Kwe),LS),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$N),LS),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Oee),LS),"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."),uye),Bi),jve),rn(Tn)))),qi(n,Oee,MS,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Vwe),LS),"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."),fye),Bi),_5e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Nee),LS),"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),ec),gr),rn(Tn)))),qi(n,Nee,NF,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Iee),LS),"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),ec),gr),rn(Tn)))),qi(n,Iee,NF,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Dee),n7),rpe),"Used to define partial ordering groups during cycle breaking. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),rn(fr)))),qi(n,Dee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_ee),n7),rpe),"Used to define partial ordering groups during crossing minimization. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd]))))),qi(n,_ee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lee),n7),rpe),"Used to define partial ordering groups during component packing. A lower group id means that the group is sorted before other groups. A group model order of 0 is the default group."),ye(0)),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd]))))),qi(n,Lee,$N,!1),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ywe),n7),"Cycle Breaking Group Ordering Strategy"),"Determines how to count ordering violations during cycle breaking. NONE: They do not count. ENFORCED: A group with a higher model order is before a node with a smaller. MODEL_ORDER: The model order counts instead of the model order group id ordering."),oye),Bi),bie),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Pee),n7),"Cycle Breaking Preferred Source Id"),"The model order group id for which should be preferred as a source if possible."),dc),jr),rn(Tn)))),qi(n,Pee,LN,wrn),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,$ee),n7),"Cycle Breaking Preferred Target Id"),"The model order group id for which should be preferred as a target if possible."),dc),jr),rn(Tn)))),qi(n,$ee,LN,mrn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Qwe),n7),"Crossing Minimization Group Ordering Strategy"),"Determines how to count ordering violations during crossing minimization. NONE: They do not count. ENFORCED: A group with a lower id is before a group with a higher id. MODEL_ORDER: The model order counts instead of the model order group id ordering."),lye),Bi),bie),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Wwe),n7),"Crossing Minimization Enforced Group Orders"),"Holds all group ids which are enforcing their order during crossing minimization strategies. E.g. if only groups 2 and -1 (default) enforce their ordering. Other groups e.g. the group of timer nodes can be ordered arbitrarily if it helps and the mentioned groups may not change their order."),sye),nh),wl),rn(Tn)))),aYe((new NU,n))};var orn,srn,lrn,rye,frn,cye,arn,uye,hrn,drn,brn,oye,grn,wrn,prn,mrn,vrn,sye,yrn,lye,krn,jrn,Ern,Srn,fye,xrn,Arn,Mrn,aye,Crn,Trn,Orn,hye,Nrn,Irn,Drn,dye,_rn,Lrn,Prn,$rn,Rrn,Brn,zrn,Frn,Jrn,Hrn,bye,Grn,gye,qrn,wye,Urn,pye,Xrn,mye,Krn,Vrn,Yrn,vye,Qrn,yye,Wrn,kye,Zrn,ecn,ncn,tcn,icn,rcn,ccn,ucn,ocn,scn,jye,lcn,fcn,acn,hcn,dcn,bcn,Eye,gcn,wcn,pcn,mcn,vcn,ycn,kcn,Sye,jcn,xye,Ecn,Aye,Scn,xcn,Acn,Mye,Mcn,Ccn,Cye,Tcn,Ocn,Ncn,Tye,Icn,Dcn,Oye,_cn,Lcn,Pcn,$cn,Rcn,Bcn,zcn,Fcn,Nye,Jcn,Hcn,Gcn,Iye,qcn,Dye,Ucn,Xcn,Kcn,Vcn,Ycn,Qcn,Wcn,Zcn,eun,nun,tun,iun,run,cun,uun,oun,sun,lun,_ye,fun,aun,Lye,hun,dun,bun,gun,wun,pun,mun,vun,yun,Pye,kun,jun,Eun,Sun,$ye,xun,Aun;v(Tu,"LayeredMetaDataProvider",843),m(982,1,Ka,NU),s.tf=function(n){aYe(n)};var Dh,Aie,aH,mx,hH,Rye,dH,vx,bI,Mie,J4,Bye,zye,Fye,yx,Mun,kx,xm,Cie,bH,Tie,l1,Oie,N7,Jye,gI,Nie,Hye,Cun,Tun,Oun,gH,Iie,jx,H4,Nun,pl,Gye,qye,wH,U3,_h,pH,W1,Uye,Xye,Kye,Die,_ie,Vye,Kd,Lie,Yye,Am,Qye,Wye,Zye,mH,Mm,Cg,e5e,n5e,Wc,t5e,Iun,ku,Ex,i5e,r5e,c5e,wI,vH,yH,Pie,$ie,u5e,kH,o5e,s5e,jH,yp,l5e,Rie,Sx,f5e,kp,xx,EH,Tg,Bie,I7,SH,Og,a5e,h5e,d5e,Cm,b5e,Dun,_un,Lun,Pun,jp,Tm,Zi,Vd,$un,Om,g5e,D7,w5e,Nm,Run,_7,p5e,G4,Bun,zun,pI,zie,m5e,mI,Vf,Im,X3,Ng,ab,xH,Dm,Fie,L7,P7,Ig,_m,Jie,vI,Ax,Mx,Fun,Jun,Hun,v5e,Gun,Hie,y5e,k5e,j5e,E5e,Gie,S5e,x5e,A5e,M5e,qie,AH;v(Tu,"LayeredOptions",982),m(983,1,{},Qq),s.uf=function(){var n;return n=new fxe,n},s.vf=function(n){},v(Tu,"LayeredOptions/LayeredFactory",983),m(1345,1,{}),s.a=0;var qun;v($u,"ElkSpacings/AbstractSpacingsBuilder",1345),m(778,1345,{},rde);var MH,Uun;v(Tu,"LayeredSpacings/LayeredSpacingsBuilder",778),m(268,23,{3:1,35:1,23:1,268:1,188:1,196:1},Lv),s.bg=function(){return MXe(this)},s.og=function(){return MXe(this)};var Uie,Xie,Kie,C5e,T5e,O5e,CH,Vie,N5e,I5e=yt(Tu,"LayeringStrategy",268,Ct,V8n,wmn),Xun;m(352,23,{3:1,35:1,23:1,352:1},nK);var Yie,D5e,TH,_5e=yt(Tu,"LongEdgeOrderingStrategy",352,Ct,Z5n,pmn),Kun;m(203,23,{3:1,35:1,23:1,203:1},m$);var K3,V3,OH,Qie,Wie=yt(Tu,"NodeFlexibility",203,Ct,h6n,mmn),Vun;m(328,23,{3:1,35:1,23:1,328:1,188:1,196:1},bT),s.bg=function(){return gUe(this)},s.og=function(){return gUe(this)};var Cx,Zie,ere,Tx,L5e,P5e=yt(Tu,"NodePlacementStrategy",328,Ct,c9n,vmn),Yun;m(243,23,{3:1,35:1,23:1,243:1},w2);var $5e,$7,Ox,yI,R5e,B5e,kI,z5e,NH,IH,F5e=yt(Tu,"NodePromotionStrategy",243,Ct,y7n,ymn),Qun;m(269,23,{3:1,35:1,23:1,269:1},v$);var J5e,hb,nre,tre,H5e=yt(Tu,"OrderingStrategy",269,Ct,d6n,kmn),Wun;m(421,23,{3:1,35:1,23:1,421:1},yse);var ire,rre,G5e=yt(Tu,"PortSortingStrategy",421,Ct,l5n,jmn),Zun;m(452,23,{3:1,35:1,23:1,452:1},tK);var ys,Io,Nx,eon=yt(Tu,"PortType",452,Ct,e4n,Emn),non;m(381,23,{3:1,35:1,23:1,381:1},iK);var q5e,cre,U5e,X5e=yt(Tu,"SelfLoopDistributionStrategy",381,Ct,n4n,Smn),ton;m(348,23,{3:1,35:1,23:1,348:1},rK);var ure,jI,ore,K5e=yt(Tu,"SelfLoopOrderingStrategy",348,Ct,t4n,xmn),ion;m(316,1,{316:1},lVe),v(Tu,"Spacings",316),m(349,23,{3:1,35:1,23:1,349:1},cK);var sre,V5e,Ix,Y5e=yt(Tu,"SplineRoutingMode",349,Ct,i4n,Amn),ron;m(351,23,{3:1,35:1,23:1,351:1},uK);var lre,Q5e,W5e,Z5e=yt(Tu,"ValidifyStrategy",351,Ct,r4n,Mmn),con;m(382,23,{3:1,35:1,23:1,382:1},oK);var Lm,fre,R7,e4e=yt(Tu,"WrappingStrategy",382,Ct,c4n,Cmn),uon;m(1361,1,oc,MC),s.pg=function(n){return u(n,37),oon},s.If=function(n,t){KPn(this,u(n,37),t)};var oon;v(cp,"BFSNodeOrderCycleBreaker",1361),m(1359,1,oc,sP),s.pg=function(n){return u(n,37),son},s.If=function(n,t){HLn(this,u(n,37),t)};var son;v(cp,"DFSNodeOrderCycleBreaker",1359),m(1360,1,ct,GNe),s.Ad=function(n){qDn(this.a,this.c,this.b,u(n,17))},s.b=!1,v(cp,"DFSNodeOrderCycleBreaker/lambda$0$Type",1360),m(1353,1,oc,t9),s.pg=function(n){return u(n,37),lon},s.If=function(n,t){JLn(this,u(n,37),t)};var lon;v(cp,"DepthFirstCycleBreaker",1353),m(779,1,oc,Cfe),s.pg=function(n){return u(n,37),fon},s.If=function(n,t){lBn(this,u(n,37),t)},s.qg=function(n){return u(Le(n,dz(this.e,n.c.length)),9)};var fon;v(cp,"GreedyCycleBreaker",779),m(1356,779,oc,NCe),s.qg=function(n){var t,i,r,c,o,l,f,h,g;for(g=null,r=oi,h=k.Math.max(this.b.a.c.length,u(C(this.b,(ve(),fb)),15).a),t=h*u(C(this.b,fI),15).a,c=new T6,i=oe(C(this.b,(Oe(),J4)))===oe((B0(),Em)),f=new P(n);f.ao&&(r=o,g=l));return g||u(Le(n,dz(this.e,n.c.length)),9)},v(cp,"GreedyModelOrderCycleBreaker",1356),m(505,1,{},T6),s.a=0,s.b=0,v(cp,"GroupModelOrderCalculator",505),m(1354,1,oc,oj),s.pg=function(n){return u(n,37),aon},s.If=function(n,t){gPn(this,u(n,37),t)};var aon;v(cp,"InteractiveCycleBreaker",1354),m(1355,1,oc,uj),s.pg=function(n){return u(n,37),hon},s.If=function(n,t){pPn(u(n,37),t)};var hon;v(cp,"ModelOrderCycleBreaker",1355),m(780,1,oc),s.pg=function(n){return u(n,37),don},s.If=function(n,t){cLn(this,u(n,37),t)},s.rg=function(n,t){var i,r,c,o,l,f,h,g,p,y;for(l=0;lg&&(h=S,y=g),pda(new Xn(Qn(Ii(f).a.Jc(),new ne))))for(c=new Xn(Qn(cr(h).a.Jc(),new ne));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ne));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(cp,"SCCNodeTypeCycleBreaker",1358),m(1357,780,oc,DCe),s.rg=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A;for(l=0;lg&&(h=S,y=g),pda(new Xn(Qn(Ii(f).a.Jc(),new ne))))for(c=new Xn(Qn(cr(h).a.Jc(),new ne));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.c.i)&&Ce(this.c,r);else for(c=new Xn(Qn(Ii(f).a.Jc(),new ne));ht(c);)r=u(rt(c),17),u(Yu(this.d,l),22).Gc(r.d.i)&&Ce(this.c,r)}},v(cp,"SCConnectivity",1357),m(1373,1,oc,AC),s.pg=function(n){return u(n,37),bon},s.If=function(n,t){dRn(this,u(n,37),t)};var bon;v(K1,"BreadthFirstModelOrderLayerer",1373),m(1374,1,Yt,dM),s.Le=function(n,t){return WCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"BreadthFirstModelOrderLayerer/lambda$0$Type",1374),m(1364,1,oc,PMe),s.pg=function(n){return u(n,37),gon},s.If=function(n,t){bBn(this,u(n,37),t)};var gon;v(K1,"CoffmanGrahamLayerer",1364),m(1365,1,Yt,cEe),s.Le=function(n,t){return cIn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1365),m(1366,1,Yt,uEe),s.Le=function(n,t){return y3n(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"CoffmanGrahamLayerer/lambda$1$Type",1366),m(1375,1,oc,xC),s.pg=function(n){return u(n,37),won},s.If=function(n,t){eBn(this,u(n,37),t)},s.c=0,s.e=0;var won;v(K1,"DepthFirstModelOrderLayerer",1375),m(1376,1,Yt,O6),s.Le=function(n,t){return ZCn(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"DepthFirstModelOrderLayerer/lambda$0$Type",1376),m(1367,1,oc,N6),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_te)),o1,ym),eo,vm)},s.If=function(n,t){SRn(u(n,37),t)},v(K1,"InteractiveLayerer",1367),m(564,1,{564:1},mxe),s.a=0,s.c=0,v(K1,"InteractiveLayerer/LayerSpan",564),m(1363,1,oc,fP),s.pg=function(n){return u(n,37),pon},s.If=function(n,t){ZNn(this,u(n,37),t)};var pon;v(K1,"LongestPathLayerer",1363),m(1372,1,oc,aP),s.pg=function(n){return u(n,37),mon},s.If=function(n,t){yIn(this,u(n,37),t)};var mon;v(K1,"LongestPathSourceLayerer",1372),m(1370,1,oc,ko),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)},s.If=function(n,t){_Rn(this,u(n,37),t)},s.a=0,s.b=0,s.d=0;var n4e,t4e;v(K1,"MinWidthLayerer",1370),m(1371,1,Yt,oEe),s.Le=function(n,t){return F7n(this,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"MinWidthLayerer/MinOutgoingEdgesComparator",1371),m(1362,1,oc,lP),s.pg=function(n){return u(n,37),von},s.If=function(n,t){QPn(this,u(n,37),t)};var von;v(K1,"NetworkSimplexLayerer",1362),m(1368,1,oc,aNe),s.pg=function(n){return u(n,37),qt(qt(qt(new or,(zr(),Kf),(Ur(),_3)),o1,ym),eo,vm)},s.If=function(n,t){P$n(this,u(n,37),t)},s.d=0,s.f=0,s.g=0,s.i=0,s.s=0,s.t=0,s.u=0,v(K1,"StretchWidthLayerer",1368),m(1369,1,Yt,Zq),s.Le=function(n,t){return k9n(u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(K1,"StretchWidthLayerer/1",1369),m(406,1,Fpe),s.eg=function(n,t,i,r,c,o){},s.tg=function(n,t,i){return iKe(this,n,t,i)},s.dg=function(){this.g=le(Zm,VQe,30,this.d,15,1),this.f=le(Zm,VQe,30,this.d,15,1)},s.fg=function(n,t){this.e[n]=le($t,ni,30,t[n].length,15,1)},s.gg=function(n,t,i){var r;r=i[n][t],r.p=t,this.e[n][t]=t},s.hg=function(n,t,i,r){u(Le(r[n][t].j,i),12).p=this.d++},s.b=0,s.c=0,s.d=0,v(Ro,"AbstractBarycenterPortDistributor",406),m(1663,1,Yt,sEe),s.Le=function(n,t){return VEn(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Ro,"AbstractBarycenterPortDistributor/lambda$0$Type",1663),m(816,1,IS,Lae),s.eg=function(n,t,i,r,c,o){},s.gg=function(n,t,i){},s.hg=function(n,t,i,r){},s.cg=function(){return!1},s.dg=function(){this.c=this.e.a,this.g=this.f.g},s.fg=function(n,t){t[n][0].c.p=n},s.ig=function(){return!1},s.ug=function(n,t,i,r){i?KHe(this,n):(eGe(this,n,r),yVe(this,n,t)),n.c.length>1&&(ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),N7))))?AUe(n,this.d,u(this,660)):(En(),Tr(n,this.d)),wze(this.e,n))},s.jg=function(n,t,i,r){var c,o,l,f,h,g,p;for(t!=NIe(i,n.length)&&(o=n[t-(i?1:-1)],uhe(this.f,o,i?(Nc(),Io):(Nc(),ys))),c=n[t][0],p=!r||c.k==(Fn(),wr),g=$f(n[t]),this.ug(g,p,!1,i),l=0,h=new P(g);h.a"),n0?GV(this.a,n[t-1],n[t]):!i&&t1&&(ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),(Oe(),N7))))?AUe(n,this.d,this):(En(),Tr(n,this.d)),ze(Be(C(_r((kn(0,n.c.length),u(n.c[0],9))),N7)))||wze(this.e,n))},v(Ro,"ModelOrderBarycenterHeuristic",660),m(1843,1,Yt,wEe),s.Le=function(n,t){return ILn(this.a,u(n,9),u(t,9))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Ro,"ModelOrderBarycenterHeuristic/lambda$0$Type",1843),m(1383,1,oc,dP),s.pg=function(n){var t;return u(n,37),t=R$(Mon),qt(t,(zr(),eo),(Ur(),zJ)),t},s.If=function(n,t){Kyn((u(n,37),t))};var Mon;v(Ro,"NoCrossingMinimizer",1383),m(796,406,Fpe,zoe),s.sg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A;switch(y=this.g,i.g){case 1:{for(c=0,o=0,p=new P(n.j);p.a1&&(c.j==(Ie(),nt)?this.b[n]=!0:c.j==Yn&&n>0&&(this.b[n-1]=!0))},s.f=0,v(c1,"AllCrossingsCounter",1838),m(583,1,{},NB),s.b=0,s.d=0,v(c1,"BinaryIndexedTree",583),m(519,1,{},_T);var i4e,LH;v(c1,"CrossingsCounter",519),m(1912,1,Yt,pEe),s.Le=function(n,t){return f3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$0$Type",1912),m(1913,1,Yt,mEe),s.Le=function(n,t){return a3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$1$Type",1913),m(1914,1,Yt,vEe),s.Le=function(n,t){return h3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$2$Type",1914),m(1915,1,Yt,yEe),s.Le=function(n,t){return d3n(this.a,u(n,12),u(t,12))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(c1,"CrossingsCounter/lambda$3$Type",1915),m(1916,1,ct,kEe),s.Ad=function(n){r8n(this.a,u(n,12))},v(c1,"CrossingsCounter/lambda$4$Type",1916),m(1917,1,zt,jEe),s.Mb=function(n){return Qgn(this.a,u(n,12))},v(c1,"CrossingsCounter/lambda$5$Type",1917),m(1918,1,ct,EEe),s.Ad=function(n){oTe(this,n)},v(c1,"CrossingsCounter/lambda$6$Type",1918),m(1919,1,ct,hCe),s.Ad=function(n){var t;N9(),_0(this.b,(t=this.a,u(n,12),t))},v(c1,"CrossingsCounter/lambda$7$Type",1919),m(823,1,Ah,pM),s.Lb=function(n){return N9(),wi(u(n,12),(ve(),vs))},s.Fb=function(n){return this===n},s.Mb=function(n){return N9(),wi(u(n,12),(ve(),vs))},v(c1,"CrossingsCounter/lambda$8$Type",823),m(1911,1,{},SEe),v(c1,"HyperedgeCrossingsCounter",1911),m(467,1,{35:1,467:1},hNe),s.Dd=function(n){return REn(this,u(n,467))},s.b=0,s.c=0,s.e=0,s.f=0;var VBn=v(c1,"HyperedgeCrossingsCounter/Hyperedge",467);m(370,1,{35:1,370:1},NR),s.Dd=function(n){return NOn(this,u(n,370))},s.b=0,s.c=0;var Con=v(c1,"HyperedgeCrossingsCounter/HyperedgeCorner",370);m(518,23,{3:1,35:1,23:1,518:1},kse);var _x,Lx,Ton=yt(c1,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",518,Ct,f5n,Imn),Oon;m(1385,1,oc,OU),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Non:null},s.If=function(n,t){oAn(this,u(n,37),t)};var Non;v(Lc,"InteractiveNodePlacer",1385),m(1386,1,oc,NC),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Ion:null},s.If=function(n,t){XSn(this,u(n,37),t)};var Ion,PH,$H;v(Lc,"LinearSegmentsNodePlacer",1386),m(263,1,{35:1,263:1},voe),s.Dd=function(n){return agn(this,u(n,263))},s.Fb=function(n){var t;return X(n,263)?(t=u(n,263),this.b==t.b):!1},s.Hb=function(){return this.b},s.Ib=function(){return"ls"+Ga(this.e)},s.a=0,s.b=0,s.c=-1,s.d=-1,s.g=0;var Don=v(Lc,"LinearSegmentsNodePlacer/LinearSegment",263);m(1388,1,oc,FIe),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?_on:null},s.If=function(n,t){nBn(this,u(n,37),t)},s.b=0,s.g=0;var _on;v(Lc,"NetworkSimplexPlacer",1388),m(1407,1,Yt,mv),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Lc,"NetworkSimplexPlacer/0methodref$compare$Type",1407),m(1409,1,Yt,gM),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Lc,"NetworkSimplexPlacer/1methodref$compare$Type",1409),m(644,1,{644:1},dCe);var YBn=v(Lc,"NetworkSimplexPlacer/EdgeRep",644);m(405,1,{405:1},oae),s.b=!1;var QBn=v(Lc,"NetworkSimplexPlacer/NodeRep",405);m(500,13,{3:1,4:1,20:1,31:1,56:1,13:1,18:1,16:1,59:1,500:1},Sxe),v(Lc,"NetworkSimplexPlacer/Path",500),m(1389,1,{},Mk),s.Kb=function(n){return u(n,17).d.i.k},v(Lc,"NetworkSimplexPlacer/Path/lambda$0$Type",1389),m(1390,1,zt,h_),s.Mb=function(n){return u(n,249)==(Fn(),dr)},v(Lc,"NetworkSimplexPlacer/Path/lambda$1$Type",1390),m(1391,1,{},d_),s.Kb=function(n){return u(n,17).d.i},v(Lc,"NetworkSimplexPlacer/Path/lambda$2$Type",1391),m(1392,1,zt,xEe),s.Mb=function(n){return WOe(aJe(u(n,9)))},v(Lc,"NetworkSimplexPlacer/Path/lambda$3$Type",1392),m(1393,1,zt,Jy),s.Mb=function(n){return Qvn(u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$0$Type",1393),m(1394,1,ct,bCe),s.Ad=function(n){Hwn(this.a,this.b,u(n,12))},v(Lc,"NetworkSimplexPlacer/lambda$1$Type",1394),m(1403,1,ct,AEe),s.Ad=function(n){mTn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$10$Type",1403),m(1404,1,{},wM),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$11$Type",1404),m(1405,1,ct,MEe),s.Ad=function(n){WIn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$12$Type",1405),m(1406,1,{},Ck),s.Kb=function(n){return cl(),ye(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$13$Type",1406),m(1408,1,{},Tk),s.Kb=function(n){return cl(),ye(u(n,124).e)},v(Lc,"NetworkSimplexPlacer/lambda$15$Type",1408),m(1410,1,zt,b_),s.Mb=function(n){return cl(),u(n,405).c.k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$17$Type",1410),m(1411,1,zt,g_),s.Mb=function(n){return cl(),u(n,405).c.j.c.length>1},v(Lc,"NetworkSimplexPlacer/lambda$18$Type",1411),m(1412,1,ct,KDe),s.Ad=function(n){sEn(this.c,this.b,this.d,this.a,u(n,405))},s.c=0,s.d=0,v(Lc,"NetworkSimplexPlacer/lambda$19$Type",1412),m(1395,1,{},vv),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$2$Type",1395),m(1413,1,ct,CEe),s.Ad=function(n){Xwn(this.a,u(n,12))},s.a=0,v(Lc,"NetworkSimplexPlacer/lambda$20$Type",1413),m(1414,1,{},yv),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$21$Type",1414),m(1415,1,ct,TEe),s.Ad=function(n){Zwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$22$Type",1415),m(1416,1,zt,w_),s.Mb=function(n){return WOe(n)},v(Lc,"NetworkSimplexPlacer/lambda$23$Type",1416),m(1417,1,{},Hy),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$24$Type",1417),m(1418,1,zt,OEe),s.Mb=function(n){return uwn(this.a,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$25$Type",1418),m(1419,1,ct,gCe),s.Ad=function(n){kCn(this.a,this.b,u(n,9))},v(Lc,"NetworkSimplexPlacer/lambda$26$Type",1419),m(1420,1,zt,I6),s.Mb=function(n){return cl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$27$Type",1420),m(1421,1,zt,Ok),s.Mb=function(n){return cl(),!uc(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$28$Type",1421),m(1422,1,{},NEe),s.Te=function(n,t){return Uwn(this.a,u(n,25),u(t,25))},v(Lc,"NetworkSimplexPlacer/lambda$29$Type",1422),m(1396,1,{},D6),s.Kb=function(n){return cl(),new pn(null,new T2(new Xn(Qn(Ii(u(n,9)).a.Jc(),new ne))))},v(Lc,"NetworkSimplexPlacer/lambda$3$Type",1396),m(1397,1,zt,Nk),s.Mb=function(n){return cl(),K4n(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$4$Type",1397),m(1398,1,ct,IEe),s.Ad=function(n){oLn(this.a,u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$5$Type",1398),m(1399,1,{},p_),s.Kb=function(n){return cl(),new pn(null,new yn(u(n,25).a,16))},v(Lc,"NetworkSimplexPlacer/lambda$6$Type",1399),m(1400,1,zt,kv),s.Mb=function(n){return cl(),u(n,9).k==(Fn(),Wi)},v(Lc,"NetworkSimplexPlacer/lambda$7$Type",1400),m(1401,1,{},m_),s.Kb=function(n){return cl(),new pn(null,new T2(new Xn(Qn(mh(u(n,9)).a.Jc(),new ne))))},v(Lc,"NetworkSimplexPlacer/lambda$8$Type",1401),m(1402,1,zt,Kp),s.Mb=function(n){return cl(),Vvn(u(n,17))},v(Lc,"NetworkSimplexPlacer/lambda$9$Type",1402),m(1384,1,oc,IC),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?Lon:null},s.If=function(n,t){BLn(u(n,37),t)};var Lon;v(Lc,"SimpleNodePlacer",1384),m(185,1,{185:1},p3),s.Ib=function(){var n;return n="",this.c==(gh(),Ep)?n+=v4:this.c==Yd&&(n+=m4),this.o==(La(),Dg)?n+=KZ:this.o==Za?n+="UP":n+="BALANCED",n},v(tb,"BKAlignedLayout",185),m(509,23,{3:1,35:1,23:1,509:1},jse);var Yd,Ep,Pon=yt(tb,"BKAlignedLayout/HDirection",509,Ct,h5n,Dmn),$on;m(508,23,{3:1,35:1,23:1,508:1},Ese);var Dg,Za,Ron=yt(tb,"BKAlignedLayout/VDirection",508,Ct,a5n,_mn),Bon;m(1664,1,{},wCe),v(tb,"BKAligner",1664),m(1667,1,{},$He),v(tb,"BKCompactor",1667),m(652,1,{652:1},mM),s.a=0,v(tb,"BKCompactor/ClassEdge",652),m(456,1,{456:1},yxe),s.a=null,s.b=0,v(tb,"BKCompactor/ClassNode",456),m(1387,1,oc,OCe),s.pg=function(n){return u(C(u(n,37),(ve(),po)),22).Gc((Ic(),Vl))?zon:null},s.If=function(n,t){mBn(this,u(n,37),t)},s.d=!1;var zon;v(tb,"BKNodePlacer",1387),m(1665,1,{},vM),s.d=0,v(tb,"NeighborhoodInformation",1665),m(1666,1,Yt,DEe),s.Le=function(n,t){return v8n(this,u(n,49),u(t,49))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(tb,"NeighborhoodInformation/NeighborComparator",1666),m(809,1,{}),v(tb,"ThresholdStrategy",809),m(1795,809,{},xxe),s.vg=function(n,t,i){return this.a.o==(La(),Za)?Vi:Ir},s.wg=function(){},v(tb,"ThresholdStrategy/NullThresholdStrategy",1795),m(576,1,{576:1},vCe),s.c=!1,s.d=!1,v(tb,"ThresholdStrategy/Postprocessable",576),m(1796,809,{},Axe),s.vg=function(n,t,i){var r,c,o;return c=t==i,r=this.a.a[i.p]==t,c||r?(o=n,this.a.c==(gh(),Ep)?(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))):(c&&(o=YW(this,t,!0)),!isNaN(o)&&!isFinite(o)&&r&&(o=YW(this,i,!1))),o):n},s.wg=function(){for(var n,t,i,r,c;this.d.b!=0;)c=u(D_e(this.d),576),r=vKe(this,c),r.a&&(n=r.a,i=ze(this.a.f[this.a.g[c.b.p].p]),!(!i&&!uc(n)&&n.c.i.c==n.d.i.c)&&(t=kUe(this,c),t||ATe(this.e,c)));for(;this.e.a.c.length!=0;)kUe(this,u(N1e(this.e),576))},v(tb,"ThresholdStrategy/SimpleThresholdStrategy",1796),m(635,1,{635:1,188:1,196:1},Vp),s.bg=function(){return gze(this)},s.og=function(){return gze(this)};var are;v(Uee,"EdgeRouterFactory",635),m(1445,1,oc,LU),s.pg=function(n){return TIn(u(n,37))},s.If=function(n,t){KLn(u(n,37),t)};var Fon,Jon,Hon,Gon,qon,r4e,Uon,Xon;v(Uee,"OrthogonalEdgeRouter",1445),m(1438,1,oc,TCe),s.pg=function(n){return wAn(u(n,37))},s.If=function(n,t){pRn(this,u(n,37),t)};var Kon,Von,Yon,Qon,SI,Won;v(Uee,"PolylineEdgeRouter",1438),m(1439,1,Ah,Yp),s.Lb=function(n){return s1e(u(n,9))},s.Fb=function(n){return this===n},s.Mb=function(n){return s1e(u(n,9))},v(Uee,"PolylineEdgeRouter/1",1439),m(1851,1,zt,_6),s.Mb=function(n){return u(n,133).c==(ba(),db)},v(ka,"HyperEdgeCycleDetector/lambda$0$Type",1851),m(1852,1,{},yM),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$1$Type",1852),m(1853,1,zt,kM),s.Mb=function(n){return u(n,133).c==(ba(),db)},v(ka,"HyperEdgeCycleDetector/lambda$2$Type",1853),m(1854,1,{},L6),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$3$Type",1854),m(1855,1,{},P6),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$4$Type",1855),m(1856,1,{},v_),s.Xe=function(n){return u(n,133).d},v(ka,"HyperEdgeCycleDetector/lambda$5$Type",1856),m(116,1,{35:1,116:1},EO),s.Dd=function(n){return hgn(this,u(n,116))},s.Fb=function(n){var t;return X(n,116)?(t=u(n,116),this.g==t.g):!1},s.Hb=function(){return this.g},s.Ib=function(){var n,t,i,r;for(n=new il("{"),r=new P(this.n);r.a"+this.b+" ("+Tpn(this.c)+")"},s.d=0,v(ka,"HyperEdgeSegmentDependency",133),m(515,23,{3:1,35:1,23:1,515:1},Sse);var db,Pm,Zon=yt(ka,"HyperEdgeSegmentDependency/DependencyType",515,Ct,d5n,Lmn),esn;m(1857,1,{},_Ee),v(ka,"HyperEdgeSegmentSplitter",1857),m(1858,1,{},yAe),s.a=0,s.b=0,v(ka,"HyperEdgeSegmentSplitter/AreaRating",1858),m(340,1,{340:1},WK),s.a=0,s.b=0,s.c=0,v(ka,"HyperEdgeSegmentSplitter/FreeArea",340),m(1859,1,Yt,y_),s.Le=function(n,t){return k2n(u(n,116),u(t,116))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(ka,"HyperEdgeSegmentSplitter/lambda$0$Type",1859),m(1860,1,ct,VDe),s.Ad=function(n){R6n(this.a,this.d,this.c,this.b,u(n,116))},s.b=0,v(ka,"HyperEdgeSegmentSplitter/lambda$1$Type",1860),m(1861,1,{},Gy),s.Kb=function(n){return new pn(null,new yn(u(n,116).e,16))},v(ka,"HyperEdgeSegmentSplitter/lambda$2$Type",1861),m(1862,1,{},Ik),s.Kb=function(n){return new pn(null,new yn(u(n,116).j,16))},v(ka,"HyperEdgeSegmentSplitter/lambda$3$Type",1862),m(1863,1,{},k_),s.We=function(n){return te(re(n))},v(ka,"HyperEdgeSegmentSplitter/lambda$4$Type",1863),m(653,1,{},EV),s.a=0,s.b=0,s.c=0,v(ka,"OrthogonalRoutingGenerator",653),m(1668,1,{},jM),s.Kb=function(n){return new pn(null,new yn(u(n,116).e,16))},v(ka,"OrthogonalRoutingGenerator/lambda$0$Type",1668),m(1669,1,{},EM),s.Kb=function(n){return new pn(null,new yn(u(n,116).j,16))},v(ka,"OrthogonalRoutingGenerator/lambda$1$Type",1669),m(661,1,{}),v(Xee,"BaseRoutingDirectionStrategy",661),m(1849,661,{},Mxe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,_;if(!(n.r&&!n.q))for(p=t+n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Ww(this,l,c,r,!1),S=n.r,S&&(A=te(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1),o=t+S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1)),r=new Ee(_,o),Vt(l.a,r),Ww(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),bt},s.Ag=function(){return Ie(),Vn},v(Xee,"NorthToSouthRoutingStrategy",1849),m(1850,661,{},Cxe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,_;if(!(n.r&&!n.q))for(p=t-n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(y,o),Vt(l.a,r),Ww(this,l,c,r,!1),S=n.r,S&&(A=te(re(Yu(S.e,0))),r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1),o=t-S.o*i,c=S,r=new Ee(A,o),Vt(l.a,r),Ww(this,l,c,r,!1)),r=new Ee(_,o),Vt(l.a,r),Ww(this,l,c,r,!1)))},s.yg=function(n){return n.i.n.a+n.n.a+n.a.a},s.zg=function(){return Ie(),Vn},s.Ag=function(){return Ie(),bt},v(Xee,"SouthToNorthRoutingStrategy",1850),m(1848,661,{},Txe),s.xg=function(n,t,i){var r,c,o,l,f,h,g,p,y,S,A,O,_;if(!(n.r&&!n.q))for(p=t+n.o*i,g=new P(n.n);g.aMh&&(o=p,c=n,r=new Ee(o,y),Vt(l.a,r),Ww(this,l,c,r,!0),S=n.r,S&&(A=te(re(Yu(S.e,0))),r=new Ee(o,A),Vt(l.a,r),Ww(this,l,c,r,!0),o=t+S.o*i,c=S,r=new Ee(o,A),Vt(l.a,r),Ww(this,l,c,r,!0)),r=new Ee(o,_),Vt(l.a,r),Ww(this,l,c,r,!0)))},s.yg=function(n){return n.i.n.b+n.n.b+n.a.b},s.zg=function(){return Ie(),nt},s.Ag=function(){return Ie(),Yn},v(Xee,"WestToEastRoutingStrategy",1848),m(812,1,{},hge),s.Ib=function(){return Ga(this.a)},s.b=0,s.c=!1,s.d=!1,s.f=0,v(hm,"NubSpline",812),m(410,1,{410:1},tXe,N_e),v(hm,"NubSpline/PolarCP",410),m(1440,1,oc,MHe),s.pg=function(n){return iMn(u(n,37))},s.If=function(n,t){$Rn(this,u(n,37),t)};var nsn,tsn,isn,rsn,csn;v(hm,"SplineEdgeRouter",1440),m(273,1,{273:1},tB),s.Ib=function(){return this.a+" ->("+this.c+") "+this.b},s.c=0,v(hm,"SplineEdgeRouter/Dependency",273),m(454,23,{3:1,35:1,23:1,454:1},xse);var bb,Y3,usn=yt(hm,"SplineEdgeRouter/SideToProcess",454,Ct,b5n,Pmn),osn;m(1441,1,zt,v1),s.Mb=function(n){return lS(),!u(n,132).o},v(hm,"SplineEdgeRouter/lambda$0$Type",1441),m(1442,1,{},wd),s.Xe=function(n){return lS(),u(n,132).v+1},v(hm,"SplineEdgeRouter/lambda$1$Type",1442),m(1443,1,ct,pCe),s.Ad=function(n){e3n(this.a,this.b,u(n,49))},v(hm,"SplineEdgeRouter/lambda$2$Type",1443),m(1444,1,ct,mCe),s.Ad=function(n){n3n(this.a,this.b,u(n,49))},v(hm,"SplineEdgeRouter/lambda$3$Type",1444),m(132,1,{35:1,132:1},fqe,mge),s.Dd=function(n){return dgn(this,u(n,132))},s.b=0,s.e=!1,s.f=0,s.g=0,s.j=!1,s.k=!1,s.n=0,s.o=!1,s.p=!1,s.q=!1,s.s=0,s.u=0,s.v=0,s.F=0,v(hm,"SplineSegment",132),m(457,1,{457:1},Qp),s.a=0,s.b=!1,s.c=!1,s.d=!1,s.e=!1,s.f=0,v(hm,"SplineSegment/EdgeInformation",457),m(1167,1,{},SM),v(V1,rwe,1167),m(1168,1,Yt,j_),s.Le=function(n,t){return NTn(u(n,120),u(t,120))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(V1,uQe,1168),m(1166,1,{},FAe),v(V1,"MrTree",1166),m(398,23,{3:1,35:1,23:1,398:1,188:1,196:1},k$),s.bg=function(){return Dqe(this)},s.og=function(){return Dqe(this)};var RH,Px,$x,Rx,c4e=yt(V1,"TreeLayoutPhases",398,Ct,w6n,$mn),ssn;m(1082,214,ip,bNe),s.kf=function(n,t){var i,r,c,o,l,f,h,g;for(ze(Be(ke(n,(Mu(),O4e))))||KT((i=new mj((Fb(),new k0(n))),i)),l=t.dh(Yee),l.Tg("build tGraph",1),f=(h=new tO,Pu(h,n),he(h,(Ti(),zx),n),g=new wt,d_n(n,h,g),O_n(n,h,g),h),l.Ug(),l=t.dh(Yee),l.Tg("Split graph",1),o=v_n(this.a,f),l.Ug(),c=new P(o);c.a"+Zb(this.c):"e_"+Ni(this)},v(PS,"TEdge",65),m(120,150,{3:1,120:1,105:1,150:1},tO),s.Ib=function(){var n,t,i,r,c;for(c=null,r=St(this.b,0);r.b!=r.d.c;)i=u(jt(r),40),c+=(i.c==null||i.c.length==0?"n_"+i.g:"n_"+i.c)+` `;for(t=St(this.a,0);t.b!=t.d.c;)n=u(jt(t),65),c+=(n.b&&n.c?Zb(n.b)+"->"+Zb(n.c):"e_"+Ni(n))+` -`;return c};var QBn=v(_S,"TGraph",120);m(633,494,{3:1,494:1,633:1,105:1,150:1}),v(_S,"TShape",633),m(40,633,{3:1,494:1,40:1,633:1,105:1,150:1},tQ),s.Ib=function(){return Zb(this)};var RH=v(_S,"TNode",40);m(236,1,n1,A1),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=St(this.a.d,0),new Nv(n)},v(_S,"TNode/2",236),m(334,1,Fr,Nv),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(jt(this.a),65).c},s.Ob=function(){return nT(this.a)},s.Qb=function(){OY(this.a)},v(_S,"TNode/2/1",334),m(1893,1,Mi,vo),s.If=function(n,t){hBn(this,u(n,120),t)},v(go,"CompactionProcessor",1893),m(1894,1,Yt,BEe),s.Le=function(n,t){return R7n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$0$Type",1894),m(1895,1,zt,kCe),s.Mb=function(n){return eyn(this.b,this.a,u(n,49))},s.a=0,s.b=0,v(go,"CompactionProcessor/lambda$1$Type",1895),m(1904,1,Yt,Cl),s.Le=function(n,t){return X3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$10$Type",1904),m(1905,1,Yt,Ik),s.Le=function(n,t){return wpn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$11$Type",1905),m(1906,1,Yt,q5),s.Le=function(n,t){return K3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$12$Type",1906),m(1896,1,zt,zEe),s.Mb=function(n){return tpn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$2$Type",1896),m(1897,1,zt,FEe),s.Mb=function(n){return ipn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$3$Type",1897),m(1898,1,zt,jv),s.Mb=function(n){return u(n,40).c.indexOf(PF)==-1},v(go,"CompactionProcessor/lambda$4$Type",1898),m(1899,1,{},JEe),s.Kb=function(n){return q4n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$5$Type",1899),m(Z0,1,{},HEe),s.Kb=function(n){return c8n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$6$Type",Z0),m(1901,1,Yt,GEe),s.Le=function(n,t){return d9n(this.a,u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$7$Type",1901),m(1902,1,Yt,qEe),s.Le=function(n,t){return b9n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$8$Type",1902),m(1903,1,Yt,Dk),s.Le=function(n,t){return ppn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$9$Type",1903),m(1891,1,Mi,$6),s.If=function(n,t){sDn(u(n,120),t)},v(go,"DirectionProcessor",1891),m(1883,1,Mi,gNe),s.If=function(n,t){C_n(this,u(n,120),t)},v(go,"FanProcessor",1883),m(1251,1,Mi,U5),s.If=function(n,t){jXe(u(n,120),t)},v(go,"GraphBoundsProcessor",1251),m(1252,1,{},eU),s.We=function(n){return u(n,40).e.a},v(go,"GraphBoundsProcessor/lambda$0$Type",1252),m(1253,1,{},Bs),s.We=function(n){return u(n,40).e.b},v(go,"GraphBoundsProcessor/lambda$1$Type",1253),m(1254,1,{},xM),s.We=function(n){return Rgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$2$Type",1254),m(1255,1,{},AM),s.We=function(n){return Bgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$3$Type",1255),m(264,23,{3:1,35:1,23:1,264:1,196:1},kw),s.bg=function(){switch(this.g){case 0:return new Hxe;case 1:return new gNe;case 2:return new Jxe;case 3:return new CM;case 4:return new E_;case 8:return new j_;case 5:return new $6;case 6:return new fh;case 7:return new vo;case 9:return new U5;case 10:return new nl;default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var u4e,o4e,s4e,l4e,f4e,a4e,h4e,d4e,b4e,g4e,hre,WBn=yt(go,iee,264,Ct,bze,$mn),lsn;m(1890,1,Mi,j_),s.If=function(n,t){fRn(u(n,120),t)},v(go,"LevelCoordinatesProcessor",1890),m(1888,1,Mi,E_),s.If=function(n,t){INn(this,u(n,120),t)},s.a=0,v(go,"LevelHeightProcessor",1888),m(1889,1,n1,nU),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),j9(),m7},v(go,"LevelHeightProcessor/1",1889),m(1884,1,Mi,Jxe),s.If=function(n,t){qIn(this,u(n,120),t)},v(go,"LevelProcessor",1884),m(1885,1,zt,MM),s.Mb=function(n){return ze(Be(C(u(n,40),(Ti(),gb))))},v(go,"LevelProcessor/lambda$0$Type",1885),m(1886,1,Mi,CM),s.If=function(n,t){zCn(this,u(n,120),t)},s.a=0,v(go,"NeighborsProcessor",1886),m(1887,1,n1,TM),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),j9(),m7},v(go,"NeighborsProcessor/1",1887),m(1892,1,Mi,fh),s.If=function(n,t){A_n(this,u(n,120),t)},s.a=0,v(go,"NodePositionProcessor",1892),m(1882,1,Mi,Hxe),s.If=function(n,t){aPn(this,u(n,120),t)},v(go,"RootProcessor",1882),m(1907,1,Mi,nl),s.If=function(n,t){CSn(u(n,120),t)},v(go,"Untreeifyer",1907),m(385,23,{3:1,35:1,23:1,385:1},lK);var xI,dre,w4e,p4e=yt(zN,"EdgeRoutingMode",385,Ct,l4n,Rmn),fsn,AI,B7,bre,m4e,v4e,gre,wre,y4e,pre,k4e,mre,$x,vre,BH,zH,Yf,xa,z7,Rx,Bx,Qd,j4e,asn,yre,gb,MI,CI;m(846,1,Ka,OC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Gpe),""),tWe),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),($n(),!1)),(hg(),xr)),Qi),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,qpe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Upe),""),"Tree Level"),"The index for the tree level the node is in"),ye(0)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Xpe),""),tWe),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Kpe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),x4e),Bi),$4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Vpe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),E4e),Bi),p4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ype),""),"Search Order"),"Which search order to use when computing a spanning tree."),S4e),Bi),B4e),rn(Tn)))),UVe((new bP,n))};var hsn,dsn,bsn,E4e,gsn,wsn,S4e,psn,msn,x4e;v(zN,"MrTreeMetaDataProvider",846),m(990,1,Ka,bP),s.tf=function(n){UVe(n)};var vsn,A4e,M4e,Sp,C4e,T4e,kre,ysn,ksn,jsn,Esn,Ssn,xsn,Asn,O4e,N4e,I4e,Msn,Q3,FH,D4e,Csn,_4e,jre,Tsn,Osn,Nsn,L4e,Isn,Lh,P4e;v(zN,"MrTreeOptions",990),m(991,1,{},_k),s.uf=function(){var n;return n=new bNe,n},s.vf=function(n){},v(zN,"MrTreeOptions/MrtreeFactory",991),m(353,23,{3:1,35:1,23:1,353:1},k$);var Ere,JH,Sre,xre,$4e=yt(zN,"OrderWeighting",353,Ct,v6n,Bmn),Dsn;m(425,23,{3:1,35:1,23:1,425:1},Ase);var R4e,Are,B4e=yt(zN,"TreeifyingOrder",425,Ct,byn,zmn),_sn;m(1446,1,oc,DU),s.pg=function(n){return u(n,120),Lsn},s.If=function(n,t){b7n(this,u(n,120),t)};var Lsn;v("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1446),m(1447,1,oc,aP),s.pg=function(n){return u(n,120),Psn},s.If=function(n,t){VIn(this,u(n,120),t)};var Psn;v(t7,"NodeOrderer",1447),m(1454,1,{},tU),s.rd=function(n){return pIe(n)},v(t7,"NodeOrderer/0methodref$lambda$6$Type",1454),m(1448,1,zt,M_),s.Mb=function(n){return Xy(),ze(Be(C(u(n,40),(Ti(),gb))))},v(t7,"NodeOrderer/lambda$0$Type",1448),m(1449,1,zt,C_),s.Mb=function(n){return Xy(),u(C(u(n,40),(Mu(),Q3)),15).a<0},v(t7,"NodeOrderer/lambda$1$Type",1449),m(1450,1,zt,XEe),s.Mb=function(n){return n7n(this.a,u(n,40))},v(t7,"NodeOrderer/lambda$2$Type",1450),m(1451,1,zt,UEe),s.Mb=function(n){return U4n(this.a,u(n,40))},v(t7,"NodeOrderer/lambda$3$Type",1451),m(1452,1,Yt,DM),s.Le=function(n,t){return y8n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(t7,"NodeOrderer/lambda$4$Type",1452),m(1453,1,zt,T_),s.Mb=function(n){return Xy(),u(C(u(n,40),(Ti(),wre)),15).a!=0},v(t7,"NodeOrderer/lambda$5$Type",1453),m(1455,1,oc,_U),s.pg=function(n){return u(n,120),$sn},s.If=function(n,t){n_n(this,u(n,120),t)},s.b=0;var $sn;v("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1455),m(1456,1,oc,TC),s.pg=function(n){return u(n,120),Rsn},s.If=function(n,t){PDn(u(n,120),t)};var Rsn,ZBn=v(Qs,"EdgeRouter",1456);m(1458,1,Yt,Lk),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/0methodref$compare$Type",1458),m(1463,1,{},OM),s.We=function(n){return ne(re(n))},v(Qs,"EdgeRouter/1methodref$doubleValue$Type",1463),m(1465,1,Yt,lw),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/2methodref$compare$Type",1465),m(1467,1,Yt,Pk),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/3methodref$compare$Type",1467),m(1469,1,{},R6),s.We=function(n){return ne(re(n))},v(Qs,"EdgeRouter/4methodref$doubleValue$Type",1469),m(1471,1,Yt,NM),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/5methodref$compare$Type",1471),m(1473,1,Yt,IM),s.Le=function(n,t){return ji(ne(re(n)),ne(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/6methodref$compare$Type",1473),m(1457,1,{},S_),s.Kb=function(n){return R1(),u(C(u(n,40),(Mu(),Lh)),15)},v(Qs,"EdgeRouter/lambda$0$Type",1457),m(1468,1,{},x_),s.Kb=function(n){return Tpn(u(n,40))},v(Qs,"EdgeRouter/lambda$11$Type",1468),m(1470,1,{},ECe),s.Kb=function(n){return Qvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$13$Type",1470),m(1472,1,{},jCe),s.Kb=function(n){return Ipn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$15$Type",1472),m(1474,1,Yt,A_),s.Le=function(n,t){return uSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$17$Type",1474),m(1475,1,Yt,iU),s.Le=function(n,t){return oSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$18$Type",1475),m(1476,1,Yt,O_),s.Le=function(n,t){return lSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$19$Type",1476),m(1459,1,zt,KEe),s.Mb=function(n){return Tyn(this.a,u(n,40))},s.a=0,v(Qs,"EdgeRouter/lambda$2$Type",1459),m(1477,1,Yt,N_),s.Le=function(n,t){return sSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$20$Type",1477),m(1460,1,Yt,I_),s.Le=function(n,t){return zvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$3$Type",1460),m(1461,1,Yt,_M),s.Le=function(n,t){return Fvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$4$Type",1461),m(1462,1,{},D_),s.Kb=function(n){return Opn(u(n,40))},v(Qs,"EdgeRouter/lambda$5$Type",1462),m(1464,1,{},SCe),s.Kb=function(n){return Wvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$7$Type",1464),m(1466,1,{},xCe),s.Kb=function(n){return Npn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$9$Type",1466),m(662,1,{662:1},wHe),s.e=0,s.f=!1,s.g=!1,v(Qs,"MultiLevelEdgeNodeNodeGap",662),m(1864,1,Yt,__),s.Le=function(n,t){return Jyn(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1864),m(1865,1,Yt,L_),s.Le=function(n,t){return Hyn(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1865);var W3;m(487,23,{3:1,35:1,23:1,487:1,188:1,196:1},Mse),s.bg=function(){return eJe(this)},s.og=function(){return eJe(this)};var HH,Z3,z4e=yt(Qpe,"RadialLayoutPhases",487,Ct,gyn,Fmn),Bsn;m(1083,214,ip,GAe),s.kf=function(n,t){var i,r,c,o,l,f;if(i=WUe(this,n),t.Tg("Radial layout",i.c.length),ze(Be(ke(n,(X0(),Q4e))))||KT((r=new wj((Fb(),new k0(n))),r)),f=cMn(n),Ei(n,(Xv(),W3),f),!f)throw R(new Un("The given graph is not a tree!"));for(c=ne(re(ke(n,UH))),c==0&&(c=Aqe(n)),Ei(n,UH,c),l=new P(WUe(this,n));l.a=3)for(fe=u(K(te,0),26),De=u(K(te,1),26),o=0;o+2=fe.f+De.f+p||De.f>=be.f+fe.f+p){un=!0;break}else++o;else un=!0;if(!un){for(S=te.i,f=new st(te);f.e!=f.i.gc();)l=u(ft(f),26),Ei(l,(Xt(),FI),ye(S)),--S;CKe(n,new hy),t.Ug();return}for(i=(HT(this.a),ha(this.a,(tz(),zx),u(ke(n,C6e),188)),ha(this.a,XH,u(ke(n,j6e),188)),ha(this.a,Rre,u(ke(n,x6e),188)),Hse(this.a,(On=new or,qt(On,zx,(xz(),Fre)),qt(On,XH,zre),ze(Be(ke(n,y6e)))&&qt(On,zx,Jre),ze(Be(ke(n,v6e)))&&qt(On,zx,Bre),On)),lN(this.a,n)),g=1/i.c.length,O=new P(i);O.a0&&jFe((Wn(t-1,n.length),n.charCodeAt(t-1)),mQe);)--t;if(r>=t)throw R(new Un("The given string does not contain any numbers."));if(c=rm((Qr(r,t,n.length),n.substr(r,t-r)),`,|;|\r| -`),c.length!=2)throw R(new Un("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Q2(W2(c[0])),this.b=Q2(W2(c[1]))}catch(o){throw o=sr(o),X(o,131)?(i=o,R(new Un(vQe+i))):R(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var Lr=v(_N,"KVector",8);m(78,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,78:1,414:1},xs,VP,ROe),s.Nc=function(){return Pkn(this)},s.ag=function(n){var t,i,r,c,o,l;r=rm(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | -`),qs(this);try{for(i=0,o=0,c=0,l=0;i0&&(o%2==0?c=Q2(r[i]):l=Q2(r[i]),o>0&&o%2!=0&&Vt(this,new Ee(c,l)),++o),++i}catch(f){throw f=sr(f),X(f,131)?(t=f,R(new Un("The given string does not match the expected format for vectors."+t))):R(f)}},s.Ib=function(){var n,t,i;for(n=new il("("),t=St(this,0);t.b!=t.d.c;)i=u(jt(t),8),Kt(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var a9e=v(_N,"KVectorChain",78);m(256,23,{3:1,35:1,23:1,256:1},Jj);var lce,iG,rG,_I,LI,cG,h9e=yt(Oo,"Alignment",256,Ct,$9n,bvn),yfn;m(975,1,Ka,_C),s.tf=function(n){aKe(n)};var d9e,fce,kfn,b9e,g9e,jfn,w9e,Efn,Sfn,p9e,m9e,xfn;v(Oo,"BoxLayouterOptions",975),m(976,1,{},VM),s.uf=function(){var n;return n=new wL,n},s.vf=function(n){},v(Oo,"BoxLayouterOptions/BoxFactory",976),m(299,23,{3:1,35:1,23:1,299:1},Hj);var Kx,ace,Vx,Yx,Qx,hce,dce=yt(Oo,"ContentAlignment",299,Ct,R9n,gvn),Afn;m(689,1,Ka,DC),s.tf=function(n){en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,SWe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(hg(),K4)),Je),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,xWe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),nh),tzn),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vpe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),v9e),Bi),h9e),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,V8),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,D2e),""),"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."),nh),a9e),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IF),""),"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."),k9e),X4),dce),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,BN),""),"Debug Mode"),"Whether additional debug information shall be generated."),($n(),!1)),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Jee),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),j9e),Bi),Zx),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,RN),""),"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."),x9e),Bi),Mce),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,N2e),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NF),""),"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`."),M9e),Bi),w8e),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,am),""),"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."),R9e),nh),Sve),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AS),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_F),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,MS),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ZZ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),H9e),Bi),v8e),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,DF),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),nh),Lr),Ci(fr,F(z(eh,1),je,160,0,[Wd,Z1]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CN),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,hF),""),"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)."),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,xS),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ope),""),"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."),O9e),nh),a9e),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_pe),""),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lpe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,TBn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),nh),szn),Ci(Tn,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AWe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),ec),gr),rn(Z1)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$pe),""),"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."),N9e),nh),Eve),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ppe),""),"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),xr),Qi),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd,Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,MWe),""),"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),ec),gr),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CWe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,TWe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TN),""),vWe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),xr),Qi),rn(Tn)))),qi(n,TN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,OWe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NWe),""),"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'."),ye(100)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IWe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,DWe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),ye(4e3)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_We),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),ye(400)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LWe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,PWe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$We),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,RWe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,I2e),"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."),y9e),Bi),I8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,BWe),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),T9e),Bi),j8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,zWe),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),C9e),Bi),i8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,cpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,upe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ope),Ya),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,spe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,WZ),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Fee),Ya),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,lpe),Ya),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ape),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fm),Ya),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dpe),Ya),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bpe),Ya),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,gpe),Ya),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),nh),jan),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd,Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Rpe),Ya),"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."),Z9e),nh),Eve),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Gee),HWe),"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)."),dc),jr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,Gee,Hee,Rfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Hee),HWe),"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."),B9e),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jpe),GWe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),D9e),nh),Sve),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Q8),GWe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),_9e),X4),$c),Ci(fr,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xpe),JF),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),F9e),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Ape),JF),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Mpe),JF),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Cpe),JF),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Tpe),JF),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Bi),iA),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,S3),gne),"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."),L9e),X4),uA),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,k4),gne),"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."),$9e),X4),E8e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,j4),gne),"Node Size Minimum"),"The minimal size to which a node can be reduced."),P9e),nh),Lr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Y8),gne),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ipe),zee),"Edge Label Placement"),"Gives a hint on where to put edge labels."),E9e),Bi),r8e),rn(Z1)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dF),zee),"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),xr),Qi),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,OBn),"font"),"Font Name"),"Font name used for a label."),K4),Je),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,FWe),"font"),"Font Size"),"Font size used for a label."),dc),jr),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Ppe),wne),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),nh),Lr),rn(Wd)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Dpe),wne),"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."),dc),jr),rn(Wd)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mpe),wne),"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."),U9e),Bi),xc),rn(Wd)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,wpe),wne),"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."),ec),gr),rn(Wd)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,W8),P2e),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),G9e),X4),hG),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Epe),P2e),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Spe),P2e),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dne),o7),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),ye(3)),dc),jr),rn(Tn)))),qi(n,dne,bne,Yfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_2e),o7),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),ye(4)),dc),jr),rn(Tn)))),qi(n,_2e,dne,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ON),o7),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),ec),gr),rn(Tn)))),qi(n,ON,rp,Xfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bne),o7),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),nh),izn),rn(fr)))),qi(n,bne,rp,Kfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NN),o7),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,NN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IN),o7),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,IN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,rp),o7),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Bi),x8e),rn(fr)))),qi(n,rp,Y8,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,L2e),o7),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),ec),gr),rn(Tn)))),qi(n,L2e,rp,Ufn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ype),qWe),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kpe),qWe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xr),Qi),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Npe),"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),ec),gr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,JWe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),A9e),Bi),f8e),rn(Aa)))),Dj(n,new zy(Mj(p9(w9(new g0,Rn),"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.'))),Dj(n,new zy(Mj(p9(w9(new g0,"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.`))),Dj(n,new zy(Mj(p9(w9(new g0,$o),"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."))),Dj(n,new zy(Mj(p9(w9(new g0,"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."))),Dj(n,new zy(Mj(p9(w9(new g0,iWe),"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."))),Dj(n,new zy(Mj(p9(w9(new g0,"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."))),Dj(n,new zy(Mj(p9(w9(new g0,ql),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),VXe((new BU,n)),aKe((new _C,n)),kXe((new zU,n))};var V4,Mfn,v9e,J7,Cfn,Tfn,y9e,Rm,Bm,Ofn,PI,k9e,$I,_g,j9e,bce,gce,E9e,S9e,x9e,Nfn,A9e,Ifn,n5,M9e,Dfn,RI,wce,BI,pce,_fn,C9e,Lfn,T9e,t5,O9e,H7,N9e,I9e,D9e,i5,_9e,Lg,L9e,zm,r5,P9e,wb,$9e,uG,zI,f1,R9e,Pfn,B9e,$fn,Rfn,z9e,F9e,mce,vce,yce,kce,J9e,Ps,Wx,H9e,jce,Ece,Fm,G9e,q9e,c5,U9e,Y4,FI,Sce,Jm,Bfn,xce,zfn,Ffn,Jfn,Hfn,X9e,K9e,Q4,V9e,oG,Y9e,Q9e,Zd,Gfn,W9e,Z9e,e8e,G7,Hm,q7,W4,qfn,Ufn,sG,Xfn,lG,Kfn,Vfn,Yfn,Qfn;v(Oo,"CoreOptions",689),m(86,23,{3:1,35:1,23:1,86:1},vT);var th,Zc,ru,ih,Yl,Zx=yt(Oo,"Direction",86,Ct,Q6n,avn),Wfn;m(278,23,{3:1,35:1,23:1,278:1},S$);var fG,JI,n8e,t8e,i8e=yt(Oo,"EdgeCoords",278,Ct,y6n,hvn),Zfn;m(279,23,{3:1,35:1,23:1,279:1},pK);var U7,Gm,X7,r8e=yt(Oo,"EdgeLabelPlacement",279,Ct,p4n,dvn),ean;m(222,23,{3:1,35:1,23:1,222:1},x$);var K7,HI,Z4,Ace,Mce=yt(Oo,"EdgeRouting",222,Ct,k6n,fvn),nan;m(327,23,{3:1,35:1,23:1,327:1},Gj);var c8e,u8e,o8e,s8e,Cce,l8e,f8e=yt(Oo,"EdgeType",327,Ct,F9n,kvn),tan;m(973,1,Ka,BU),s.tf=function(n){VXe(n)};var a8e,h8e,d8e,b8e,ian,g8e,eA;v(Oo,"FixedLayouterOptions",973),m(974,1,{},YM),s.uf=function(){var n;return n=new fw,n},s.vf=function(n){},v(Oo,"FixedLayouterOptions/FixedFactory",974),m(347,23,{3:1,35:1,23:1,347:1},mK);var e0,aG,nA,w8e=yt(Oo,"HierarchyHandling",347,Ct,m4n,jvn),ran,izn=Gi(Oo,"ITopdownSizeApproximator");m(292,23,{3:1,35:1,23:1,292:1},A$);var a1,pb,GI,qI,can=yt(Oo,"LabelSide",292,Ct,j6n,yvn),uan;m(96,23,{3:1,35:1,23:1,96:1},Pv);var ed,Qf,pf,Wf,ml,Zf,mf,h1,ea,$c=yt(Oo,"NodeLabelPlacement",96,Ct,J8n,wvn),oan;m(257,23,{3:1,35:1,23:1,257:1},yT);var p8e,tA,mb,m8e,UI,iA=yt(Oo,"PortAlignment",257,Ct,l9n,pvn),san;m(102,23,{3:1,35:1,23:1,102:1},qj);var Pg,to,d1,V7,rh,vb,v8e=yt(Oo,"PortConstraints",102,Ct,z9n,mvn),lan;m(280,23,{3:1,35:1,23:1,280:1},Uj);var rA,cA,nd,XI,yb,e6,hG=yt(Oo,"PortLabelPlacement",280,Ct,B9n,vvn),fan;m(64,23,{3:1,35:1,23:1,64:1},kT);var nt,Vn,Ql,Wl,Wo,zo,ch,na,ks,hs,mo,js,Zo,es,ta,vl,yl,vf,bt,ju,Yn,xc=yt(Oo,"PortSide",64,Ct,W6n,Avn),aan;m(977,1,Ka,zU),s.tf=function(n){kXe(n)};var han,dan,y8e,ban,gan;v(Oo,"RandomLayouterOptions",977),m(978,1,{},QM),s.uf=function(){var n;return n=new nC,n},s.vf=function(n){},v(Oo,"RandomLayouterOptions/RandomFactory",978),m(300,23,{3:1,35:1,23:1,300:1},vK);var KI,Tce,k8e,j8e=yt(Oo,"ShapeCoords",300,Ct,v4n,Mvn),wan;m(380,23,{3:1,35:1,23:1,380:1},M$);var qm,VI,YI,$g,uA=yt(Oo,"SizeConstraint",380,Ct,S6n,Cvn),pan;m(266,23,{3:1,35:1,23:1,266:1},$v);var QI,dG,Y7,Oce,WI,oA,bG,gG,wG,E8e=yt(Oo,"SizeOptions",266,Ct,V8n,Svn),man;m(281,23,{3:1,35:1,23:1,281:1},yK);var Um,S8e,pG,x8e=yt(Oo,"TopdownNodeTypes",281,Ct,y4n,xvn),van;m(288,23,GF);var A8e,Nce,M8e,C8e,ZI=yt(Oo,"TopdownSizeApproximator",288,Ct,E6n,Evn);m(969,288,GF,jIe),s.Sg=function(n){return cHe(n)},yt(Oo,"TopdownSizeApproximator/1",969,ZI,null,null),m(970,288,GF,rDe),s.Sg=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn,On;for(t=u(ke(n,(Xt(),Jm)),144),De=(S0(),A=new kj,A),eN(De,n),un=new wt,o=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));o.e!=o.i.gc();)r=u(ft(o),26),V=(S=new kj,S),$z(V,De),eN(V,r),On=cHe(r),jw(V,k.Math.max(r.g,On.a),k.Math.max(r.f,On.b)),Ko(un.f,r,V);for(c=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(ft(c),26),p=new st((!r.e&&(r.e=new In(pr,r,7,4)),r.e));p.e!=p.i.gc();)g=u(ft(p),85),be=u(bu(Xc(un.f,r)),26),fe=u(zn(un,K((!g.c&&(g.c=new In(mt,g,5,8)),g.c),0)),26),te=(y=new Sv,y),Et((!te.b&&(te.b=new In(mt,te,4,7)),te.b),be),Et((!te.c&&(te.c=new In(mt,te,5,8)),te.c),fe),Pz(te,Fi(be)),eN(te,g);D=u(XT(t.f),214);try{D.kf(De,new w0),eae(t.f,D)}catch(Dn){throw Dn=sr(Dn),X(Dn,101)?(O=Dn,R(O)):R(Dn)}return ga(De,Bm)||ga(De,Rm)||sZ(De),h=ne(re(ke(De,Bm))),f=ne(re(ke(De,Rm))),l=h/f,i=ne(re(ke(De,Hm)))*k.Math.sqrt((!De.a&&(De.a=new pe(Ft,De,10,11)),De.a).i),cn=u(ke(De,f1),104),U=cn.b+cn.c+1,B=cn.d+cn.a+1,new Ee(k.Math.max(U,i),k.Math.max(B,i/l))},yt(Oo,"TopdownSizeApproximator/2",970,ZI,null,null),m(971,288,GF,O_e),s.Sg=function(n){var t,i,r,c,o,l;return i=ne(re(ke(n,(Xt(),Hm)))),t=i/ne(re(ke(n,G7))),r=V_n(n),o=u(ke(n,f1),104),c=ne(re(_e(Zd))),Fi(n)&&(c=ne(re(ke(Fi(n),Zd)))),l=C1(new Ee(i,t),r),pi(l,new Ee(-(o.b+o.c)-c,-(o.d+o.a)-c))},yt(Oo,"TopdownSizeApproximator/3",971,ZI,null,null),m(972,288,GF,cDe),s.Sg=function(n){var t,i,r,c,o,l,f,h,g,p;for(l=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));l.e!=l.i.gc();)o=u(ft(l),26),ke(o,(Xt(),lG))!=null&&(!o.a&&(o.a=new pe(Ft,o,10,11)),!!o.a)&&(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i>0?(i=u(ke(o,lG),521),p=i.Sg(o),g=u(ke(o,f1),104),jw(o,k.Math.max(o.g,p.a+g.b+g.c),k.Math.max(o.f,p.b+g.d+g.a))):(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i!=0&&jw(o,ne(re(ke(o,Hm))),ne(re(ke(o,Hm)))/ne(re(ke(o,G7))));t=u(ke(n,(Xt(),Jm)),144),h=u(XT(t.f),214);try{h.kf(n,new w0),eae(t.f,h)}catch(y){throw y=sr(y),X(y,101)?(f=y,R(f)):R(y)}return Ei(n,V4,s7),yPe(n),sZ(n),c=ne(re(ke(n,Bm))),r=ne(re(ke(n,Rm))),new Ee(c,r)},yt(Oo,"TopdownSizeApproximator/4",972,ZI,null,null);var yan;m(345,1,{852:1},hy),s.Tg=function(n,t){return mGe(this,n,t)},s.Ug=function(){GGe(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?_R(this.f):null},s.Xg=function(){return _R(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,Ce(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&R4n(this,(i=new vDe,r=FW(i,n),_$n(i),r),(zB(),Dce))},s.dh=function(n){var t;return this.b?null:(t=x8n(this,this.g),Vt(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&Qhe(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,v($u,"BasicProgressMonitor",345),m(706,214,ip,wL),s.kf=function(n,t){CKe(n,t)},v($u,"BoxLayoutProvider",706),m(965,1,Yt,uSe),s.Le=function(n,t){return _Nn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},s.a=!1,v($u,"BoxLayoutProvider/1",965),m(167,1,{167:1},pB,$Oe),s.Ib=function(){return this.c?Gbe(this.c):Ga(this.b)},v($u,"BoxLayoutProvider/Group",167),m(326,23,{3:1,35:1,23:1,326:1},C$);var T8e,O8e,N8e,Ice,I8e=yt($u,"BoxLayoutProvider/PackingMode",326,Ct,x6n,Tvn),kan;m(966,1,Yt,WM),s.Le=function(n,t){return G5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$0$Type",966),m(967,1,Yt,Hk),s.Le=function(n,t){return _5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$1$Type",967),m(968,1,Yt,ZM),s.Le=function(n,t){return L5n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$2$Type",968),m(1338,1,{829:1},pL),s.Lg=function(n,t){return t$(),!X(t,174)||BAe((Qy(),u(n,174)),t)},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1338),m(1339,1,ct,oSe),s.Ad=function(n){$kn(this.a,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1339),m(1340,1,ct,eC),s.Ad=function(n){u(n,105),t$()},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1340),m(1344,1,ct,sSe),s.Ad=function(n){l7n(this.a,u(n,105))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1344),m(1342,1,zt,_Ce),s.Mb=function(n){return vkn(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1342),m(1341,1,zt,LCe),s.Mb=function(n){return Dpn(this.a,this.b,u(n,829))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1341),m(1343,1,ct,PCe),s.Ad=function(n){I3n(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1343),m(930,1,{},mL),s.Kb=function(n){return NTe(n)},s.Fb=function(n){return this===n},v($u,"ElkUtil/lambda$0$Type",930),m(931,1,ct,$Ce),s.Ad=function(n){RTn(this.a,this.b,u(n,85))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$1$Type",931),m(932,1,ct,RCe),s.Ad=function(n){_bn(this.a,this.b,u(n,170))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$2$Type",932),m(933,1,ct,BCe),s.Ad=function(n){Cwn(this.a,this.b,u(n,157))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$3$Type",933),m(934,1,ct,lSe),s.Ad=function(n){n3n(this.a,u(n,372))},v($u,"ElkUtil/lambda$4$Type",934),m(331,1,{35:1,331:1},lbn),s.Dd=function(n){return Zwn(this,u(n,242))},s.Fb=function(n){var t;return X(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return lc(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,v($u,"ExclusiveBounds/ExclusiveLowerBound",331),m(1088,214,ip,fw),s.kf=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U,V,te,be,fe,De,un,cn;for(t.Tg("Fixed Layout",1),o=u(ke(n,(Xt(),S9e)),222),y=0,S=0,V=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));V.e!=V.i.gc();){for(B=u(ft(V),26),cn=u(ke(B,(FB(),eA)),8),cn&&(Dl(B,cn.a,cn.b),u(ke(B,h8e),182).Gc((Vs(),qm))&&(A=u(ke(B,b8e),8),A.a>0&&A.b>0&&Zw(B,A.a,A.b,!0,!0))),y=k.Math.max(y,B.i+B.g),S=k.Math.max(S,B.j+B.f),g=new st((!B.n&&(B.n=new pe(Eu,B,1,7)),B.n));g.e!=g.i.gc();)f=u(ft(g),157),cn=u(ke(f,eA),8),cn&&Dl(f,cn.a,cn.b),y=k.Math.max(y,B.i+f.i+f.g),S=k.Math.max(S,B.j+f.j+f.f);for(fe=new st((!B.c&&(B.c=new pe($s,B,9,9)),B.c));fe.e!=fe.i.gc();)for(be=u(ft(fe),125),cn=u(ke(be,eA),8),cn&&Dl(be,cn.a,cn.b),De=B.i+be.i,un=B.j+be.j,y=k.Math.max(y,De+be.g),S=k.Math.max(S,un+be.f),h=new st((!be.n&&(be.n=new pe(Eu,be,1,7)),be.n));h.e!=h.i.gc();)f=u(ft(h),157),cn=u(ke(f,eA),8),cn&&Dl(f,cn.a,cn.b),y=k.Math.max(y,De+f.i+f.g),S=k.Math.max(S,un+f.j+f.f);for(c=new Xn(Qn(K0(B).a.Jc(),new ee));ht(c);)i=u(rt(c),85),p=zVe(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b);for(r=new Xn(Qn(MW(B).a.Jc(),new ee));ht(r);)i=u(rt(r),85),Fi(dW(i))!=n&&(p=zVe(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b))}if(o==(J1(),K7))for(U=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));U.e!=U.i.gc();)for(B=u(ft(U),26),r=new Xn(Qn(K0(B).a.Jc(),new ee));ht(r);)i=u(rt(r),85),l=__n(i),l.b==0?Ei(i,t5,null):Ei(i,t5,l);ze(Be(ke(n,(FB(),d8e))))||(te=u(ke(n,ian),104),D=y+te.b+te.c,O=S+te.d+te.a,Zw(n,D,O,!0,!0)),t.Ug()},v($u,"FixedLayoutProvider",1088),m(379,150,{3:1,414:1,379:1,105:1,150:1},H6,CRe),s.ag=function(n){var t,i,r,c,o,l,f,h,g;if(n)try{for(h=rm(n,";,;"),o=h,l=0,f=o.length;l>16&yr|t^r<<16},s.Jc=function(){return new fSe(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+fu(this.b)+")":this.b==null?"pair("+fu(this.a)+",null)":"pair("+fu(this.a)+","+fu(this.b)+")"},v($u,"Pair",49),m(979,1,Fr,fSe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw R(new hu)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),R(new is)},s.b=!1,s.c=!1,v($u,"Pair/1",979),m(1078,214,ip,nC),s.kf=function(n,t){var i,r,c,o,l;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i==0){t.Ug();return}o=u(ke(n,(wde(),ban)),15),o&&o.a!=0?c=new QR(o.a):c=new yQ,i=eT(re(ke(n,han))),l=eT(re(ke(n,gan))),r=u(ke(n,dan),104),nRn(n,c,i,l,r),t.Ug()},v($u,"RandomLayoutProvider",1078),m(240,1,{240:1},eV),s.Fb=function(n){return Ku(this.a,u(n,240).a)&&Ku(this.b,u(n,240).b)&&Ku(this.c,u(n,240).c)},s.Hb=function(){return JB(F(z(Mr,1),Nn,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+To+this.b+To+this.c+")"},v($u,"Triple",240);var xan;m(550,1,{}),s.Jf=function(){return new Ee(this.f.i,this.f.j)},s.mf=function(n){return M_e(n,(Xt(),Ps))?ke(this.f,Aan):ke(this.f,n)},s.Kf=function(){return new Ee(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return ga(this.f,n)},s.Mf=function(n){Os(this.f,n.a),Ns(this.f,n.b)},s.Nf=function(n){Bw(this.f,n.a),Rw(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var Aan;v($S,"ElkGraphAdapters/AbstractElkGraphElementAdapter",550),m(552,1,{837:1},DP),s.Pf=function(){var n,t;if(!this.b)for(this.b=GR(NV(this.a).i),t=new st(NV(this.a));t.e!=t.i.gc();)n=u(ft(t),157),Ce(this.b,new MX(n));return this.b},s.b=null,v($S,"ElkGraphAdapters/ElkEdgeAdapter",552),m(260,550,{},k0),s.Qf=function(){return xHe(this)},s.a=null,v($S,"ElkGraphAdapters/ElkGraphAdapter",260),m(630,550,{187:1},MX),v($S,"ElkGraphAdapters/ElkLabelAdapter",630),m(551,550,{685:1},X$),s.Pf=function(){return sxn(this)},s.Tf=function(){var n;return n=u(ke(this.f,(Xt(),H7)),140),!n&&(n=new yj),n},s.Vf=function(){return lxn(this)},s.Xf=function(n){var t;t=new QK(n),Ei(this.f,(Xt(),H7),t)},s.Yf=function(n){Ei(this.f,(Xt(),f1),new Wle(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new Te,t=new Xn(Qn(MW(u(this.f,26)).a.Jc(),new ee));ht(t);)n=u(rt(t),85),Ce(this.a,new DP(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new Te,t=new Xn(Qn(K0(u(this.f,26)).a.Jc(),new ee));ht(t);)n=u(rt(t),85),Ce(this.c,new DP(n));return this.c},s.Wf=function(){return IR(u(this.f,26)).i!=0||ze(Be(u(this.f,26).mf((Xt(),RI))))},s.Zf=function(){u8n(this,(Fb(),xan))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,v($S,"ElkGraphAdapters/ElkNodeAdapter",551),m(1249,550,{836:1},aSe),s.Pf=function(){return wxn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=Gh(u(this.f,125).gh().i),t=new st(u(this.f,125).gh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.a,new DP(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=Gh(u(this.f,125).hh().i),t=new st(u(this.f,125).hh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.c,new DP(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((Xt(),c5)),64)},s._f=function(){var n,t,i,r,c,o,l,f;for(r=Pa(u(this.f,125)),i=new st(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(ft(i),85),f=new st((!n.c&&(n.c=new In(mt,n,5,8)),n.c));f.e!=f.i.gc();){if(l=u(ft(f),84),B2(iu(l),r))return!0;if(iu(l)==r&&ze(Be(ke(n,(Xt(),wce)))))return!0}for(t=new st(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(ft(t),85),o=new st((!n.b&&(n.b=new In(mt,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(ft(o),84),B2(iu(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,v($S,"ElkGraphAdapters/ElkPortAdapter",1249),m(1250,1,Yt,yL),s.Le=function(n,t){return ADn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($S,"ElkGraphAdapters/PortComparator",1250);var kb=Gi(Ul,"EObject"),Q7=Gi(C3,KWe),kl=Gi(C3,VWe),eD=Gi(C3,YWe),nD=Gi(C3,"ElkShape"),mt=Gi(C3,QWe),pr=Gi(C3,R2e),$i=Gi(C3,WWe),tD=Gi(Ul,ZWe),sA=Gi(Ul,"EFactory"),Man,_ce=Gi(Ul,eZe),Ma=Gi(Ul,"EPackage"),Pr,Can,Tan,P8e,mG,Oan,$8e,R8e,B8e,b1,Nan,Ian,Eu=Gi(C3,B2e),Ft=Gi(C3,z2e),$s=Gi(C3,F2e);m(93,1,nZe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){hi(this,n)},v(x4,"BasicNotifierImpl",93),m(100,93,cZe),s.Vh=function(){return Fs(this)},s.vh=function(n,t){return n},s.wh=function(){throw R(new _t)},s.xh=function(n){var t;return t=Oc(u(Cn(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw R(new _t)},s.zh=function(n,t,i){return dl(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return xW(this)},s.Ch=function(){throw R(new _t)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=(Lj(),n=gae(Eh(this.Ah())),n==null?Jce:new MT(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():Ji(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return fz(this,n,t,i)},s.Jh=function(n){return U9(this,n)},s.Kh=function(n,t){return aY(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw R(new _t)},s.Nh=function(){return cz(this)},s.Oh=function(n,t,i,r){return i4(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return $R(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return LQ(this,n)},s.Uh=function(n){return J_e(this,n)},s.Wh=function(n){return EVe(this,n)},s.Xh=function(){throw R(new _t)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return cz(this)},s.$h=function(n,t){yW(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=vc(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&((RW(this,this.Mh(),this.Ch()).Bb&Ec)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,l,f,h;if(i=this.Ah(),o=Ji(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(l=v3((ls(),nc),i,n),l){if(Tc(),u(l,69).vk()||(l=Fy(Vc(nc,l))),c=(r=this.Fh(l),u(r>=0?this.Ih(r,!0,!0):Yw(this,l,!0),163)),h=l.Gk(),h>1||h==-1)return u(u(c,219).Ql(n,!1),77)}else throw R(new Un(ib+n.ve()+pne));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):Yw(this,n,!1),77);return f=new nTe(this,n),f},s.ei=function(){return Ehe(this)},s.fi=function(){return(O0(),Bn).S},s.gi=function(){return dt(this.fi())},s.hi=function(n){pW(this,n)},s.Ib=function(){return Jf(this)},v(Jn,"BasicEObjectImpl",100);var Dan;m(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=She(this),t[n]},s.ji=function(n,t){var i;i=She(this),ir(i,n,t)},s.ki=function(n){var t;t=She(this),ir(t,n,null)},s.qh=function(){return u(Kn(this,4),129)},s.rh=function(){throw R(new _t)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw R(new _t)},s.li=function(n){n4(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return Go(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return Lj(),t=gae(Eh((n=u(Kn(this,16),29),n||this.fi()))),t==null?Jce:new MT(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(Kn(this,128),1996)},s.Hh=function(){return u(Kn(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(Kn(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw R(new _t)},s.Yh=function(){return u(Kn(this,64),290)},s._h=function(n){n4(this,16,n)},s.ai=function(n){n4(this,128,n)},s.bi=function(n){n4(this,64,n)},s.ei=function(){return Lo(this)},s.Db=0,v(Jn,"MinimalEObjectImpl",117),m(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},v(Jn,"MinimalEObjectImpl/Container",118),m(2045,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Bde(this,n,t,i)},s.Rh=function(n,t,i){return C0e(this,n,t,i)},s.Th=function(n){return Iae(this,n)},s.$h=function(n,t){x1e(this,n,t)},s.fi=function(){return Gu(),Ian},s.hi=function(n){h1e(this,n)},s.lf=function(){return qJe(this)},s.fh=function(){return!this.o&&(this.o=new os((Gu(),b1),n0,this,0)),this.o},s.mf=function(n){return ke(this,n)},s.nf=function(n){return ga(this,n)},s.of=function(n,t){return Ei(this,n,t)},v(vg,"EMapPropertyHolderImpl",2045),m(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},qk),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return fz(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:mB(this,ne(re(t)));return;case 1:vB(this,ne(re(t)));return}yW(this,n,t)},s.fi=function(){return Gu(),Can},s.hi=function(n){switch(n){case 0:mB(this,0);return;case 1:vB(this,0);return}pW(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (x: ",Iv(n,this.a),n.a+=", y: ",Iv(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,v(vg,"ElkBendPointImpl",559),m(727,2045,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return G1e(this,n,t,i)},s.Ph=function(n,t,i){return lW(this,n,t,i)},s.Rh=function(n,t,i){return KY(this,n,t,i)},s.Th=function(n){return u1e(this,n)},s.$h=function(n,t){r0e(this,n,t)},s.fi=function(){return Gu(),Oan},s.hi=function(n){z1e(this,n)},s.ih=function(){return this.k},s.jh=function(){return NV(this)},s.Ib=function(){return vQ(this)},s.k=null,v(vg,"ElkGraphElementImpl",727),m(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return ide(this,n,t,i)},s.Th=function(n){return fde(this,n)},s.$h=function(n,t){c0e(this,n,t)},s.fi=function(){return Gu(),Nan},s.hi=function(n){gde(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){jw(this,n,t)},s.ph=function(n,t){Dl(this,n,t)},s.Ib=function(){return gW(this)},s.f=0,s.g=0,s.i=0,s.j=0,v(vg,"ElkShapeImpl",728),m(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Dde(this,n,t,i)},s.Ph=function(n,t,i){return Wde(this,n,t,i)},s.Rh=function(n,t,i){return Zde(this,n,t,i)},s.Th=function(n){return k1e(this,n)},s.$h=function(n,t){hbe(this,n,t)},s.fi=function(){return Gu(),Tan},s.hi=function(n){Cde(this,n)},s.gh=function(){return!this.d&&(this.d=new In(pr,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new In(pr,this,7,4)),this.e},v(vg,"ElkConnectableShapeImpl",729),m(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Sv),s.xh=function(n){return Kde(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return I2(this);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new In(mt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new pe($i,this,6,6)),this.a;case 7:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return $n(),!!iS(this);case 9:return $n(),!!Vw(this);case 10:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return G1e(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?Kde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ole(this,u(n,26),i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),Co(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),Co(this.c,n,i);case 6:return!this.a&&(this.a=new pe($i,this,6,6)),Co(this.a,n,i)}return lW(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return Ole(this,null,i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),vc(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),vc(this.c,n,i);case 6:return!this.a&&(this.a=new pe($i,this,6,6)),vc(this.a,n,i)}return KY(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!I2(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return iS(this);case 9:return Vw(this);case 10:return!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return u1e(this,n)},s.$h=function(n,t){switch(n){case 3:Pz(this,u(t,26));return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b),!this.b&&(this.b=new In(mt,this,4,7)),nr(this.b,u(t,18));return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c),!this.c&&(this.c=new In(mt,this,5,8)),nr(this.c,u(t,18));return;case 6:!this.a&&(this.a=new pe($i,this,6,6)),kt(this.a),!this.a&&(this.a=new pe($i,this,6,6)),nr(this.a,u(t,18));return}r0e(this,n,t)},s.fi=function(){return Gu(),P8e},s.hi=function(n){switch(n){case 3:Pz(this,null);return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b);return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c);return;case 6:!this.a&&(this.a=new pe($i,this,6,6)),kt(this.a);return}z1e(this,n)},s.Ib=function(){return GKe(this)},v(vg,"ElkEdgeImpl",271),m(443,2045,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},yo),s.xh=function(n){return Gde(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new mr(kl,this,5)),this.a;case 6:return F_e(this);case 7:return t?zQ(this):this.i;case 8:return t?BQ(this):this.f;case 9:return!this.g&&(this.g=new In($i,this,9,10)),this.g;case 10:return!this.e&&(this.e=new In($i,this,10,9)),this.e;case 11:return this.d}return Bde(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Gde(this,i):this.Cb.Qh(this,-1-c,null,i))),Nle(this,u(n,85),i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),Co(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),Co(this.e,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(Gu(),mG)),t),69),o.uk().xk(this,Lo(this),t-dt((Gu(),mG)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new mr(kl,this,5)),vc(this.a,n,i);case 6:return Nle(this,null,i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),vc(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),vc(this.e,n,i)}return C0e(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!F_e(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Iae(this,n)},s.$h=function(n,t){switch(n){case 1:i3(this,ne(re(t)));return;case 2:r3(this,ne(re(t)));return;case 3:n3(this,ne(re(t)));return;case 4:t3(this,ne(re(t)));return;case 5:!this.a&&(this.a=new mr(kl,this,5)),kt(this.a),!this.a&&(this.a=new mr(kl,this,5)),nr(this.a,u(t,18));return;case 6:HUe(this,u(t,85));return;case 7:AB(this,u(t,84));return;case 8:xB(this,u(t,84));return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g),!this.g&&(this.g=new In($i,this,9,10)),nr(this.g,u(t,18));return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e),!this.e&&(this.e=new In($i,this,10,9)),nr(this.e,u(t,18));return;case 11:Vhe(this,Pt(t));return}x1e(this,n,t)},s.fi=function(){return Gu(),mG},s.hi=function(n){switch(n){case 1:i3(this,0);return;case 2:r3(this,0);return;case 3:n3(this,0);return;case 4:t3(this,0);return;case 5:!this.a&&(this.a=new mr(kl,this,5)),kt(this.a);return;case 6:HUe(this,null);return;case 7:AB(this,null);return;case 8:xB(this,null);return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g);return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e);return;case 11:Vhe(this,null);return}h1e(this,n)},s.Ib=function(){return eUe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,v(vg,"ElkEdgeSectionImpl",443),m(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab):$l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().xk(this,Lo(this),t-dt(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.Wh=function(n){return Oge(this,n)},s.$h=function(n,t){var i;if(n===0){!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.ai=function(n){n4(this,128,n)},s.fi=function(){return jn(),Qan},s.hi=function(n){var t;if(n===0){!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return fS(this,n)},s.Bb=0,v(Jn,"EModelElementImpl",161),m(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},LC),s.oi=function(n,t){return wVe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=sl(n)||(n.Bb&256)!=0)throw R(new Un(vne+n.zb+lp));for(r=tu(n);Vu(r.a).i!=0;){if(i=u(fN(r,0,(t=u(K(Vu(r.a),0),87),o=t.c,X(o,88)?u(o,29):(jn(),Ef))),29),Xw(i))return c=sl(i).ti().pi(i),u(c,52)._h(n),c;r=tu(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new kIe(n):new wfe(n)},s.qi=function(n,t){return ep(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.a}return $l(this,n-dt((jn(),Sb)),Cn((r=u(Kn(this,16),29),r||Sb),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,Ma,i)),R1e(this,u(n,241),i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sb)),t),69),c.uk().xk(this,Lo(this),t-dt((jn(),Sb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 1:return R1e(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Sb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Pl(this,n-dt((jn(),Sb)),Cn((t=u(Kn(this,16),29),t||Sb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:OGe(this,u(t,241));return}Hl(this,n-dt((jn(),Sb)),Cn((i=u(Kn(this,16),29),i||Sb),n),t)},s.fi=function(){return jn(),Sb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:OGe(this,null);return}Jl(this,n-dt((jn(),Sb)),Cn((t=u(Kn(this,16),29),t||Sb),n))};var lA,z8e,_an;v(Jn,"EFactoryImpl",710),m(1018,710,{109:1,2075:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},hU),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return fu(t);default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o,l,f,h;switch(n.G==-1&&(n.G=(t=sl(n),t?Bd(t.si(),n):-1)),n.G){case 4:return o=new tC,o;case 6:return l=new kj,l;case 7:return f=new koe,f;case 8:return r=new Sv,r;case 9:return i=new qk,i;case 10:return c=new yo,c;case 11:return h=new G6,h;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw R(new Un(l7+n.ve()+lp))}},v(vg,"ElkGraphFactoryImpl",1018),m(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(Kn(this,16),29),gae(Eh(n||this.fi()))),t==null?(Lj(),Lj(),Jce):new JOe(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.ve()}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Wan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){Mo(this,n)},s.Ib=function(){return RE(this)},s.zb=null,v(Jn,"ENamedElementImpl",439),m(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},h_e),s.xh=function(n){return FHe(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,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 C2(this,Ca,this)),this.rb;case 6:return!this.vb&&(this.vb=new Ty(Ma,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:K_e(this)}return $l(this,n-dt((jn(),c0)),Cn((r=u(Kn(this,16),29),r||c0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,sA,i)),F1e(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new C2(this,Ca,this)),Co(this.rb,n,i);case 6:return!this.vb&&(this.vb=new Ty(Ma,this,6,7)),Co(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?FHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,7,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),c0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),c0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 4:return F1e(this,null,i);case 5:return!this.rb&&(this.rb=new C2(this,Ca,this)),vc(this.rb,n,i);case 6:return!this.vb&&(this.vb=new Ty(Ma,this,6,7)),vc(this.vb,n,i);case 7:return dl(this,null,7,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),c0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),c0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!K_e(this)}return Pl(this,n-dt((jn(),c0)),Cn((t=u(Kn(this,16),29),t||c0),n))},s.Wh=function(n){var t;return t=GNn(this,n),t||Oge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:IB(this,Pt(t));return;case 3:NB(this,Pt(t));return;case 4:bW(this,u(t,469));return;case 5:!this.rb&&(this.rb=new C2(this,Ca,this)),kt(this.rb),!this.rb&&(this.rb=new C2(this,Ca,this)),nr(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new Ty(Ma,this,6,7)),kt(this.vb),!this.vb&&(this.vb=new Ty(Ma,this,6,7)),nr(this.vb,u(t,18));return}Hl(this,n-dt((jn(),c0)),Cn((i=u(Kn(this,16),29),i||c0),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new st(this.rb);i.e!=i.i.gc();)t=ft(i),X(t,360)&&(u(t,360).w=null);n4(this,64,n)},s.fi=function(){return jn(),c0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:IB(this,null);return;case 3:NB(this,null);return;case 4:bW(this,null);return;case 5:!this.rb&&(this.rb=new C2(this,Ca,this)),kt(this.rb);return;case 6:!this.vb&&(this.vb=new Ty(Ma,this,6,7)),kt(this.vb);return}Jl(this,n-dt((jn(),c0)),Cn((t=u(Kn(this,16),29),t||c0),n))},s.mi=function(){ZQ(this)},s.si=function(){return!this.rb&&(this.rb=new C2(this,Ca,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?RE(this):(n=new uf(RE(this)),n.a+=" (nsURI: ",Bc(n,this.yb),n.a+=", nsPrefix: ",Bc(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,v(Jn,"EPackageImpl",184),m(556,184,{109:1,2077:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},sUe),s.q=!1,s.r=!1;var Lan=!1;v(vg,"ElkGraphPackageImpl",556),m(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},tC),s.xh=function(n){return qde(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return kae(this);case 8:return this.a}return ide(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===7?(this.Cb&&(i=(r=this.Db>>16,r>=0?qde(this,i):this.Cb.Qh(this,-1-r,null,i))),Tfe(this,u(n,174),i)):lW(this,n,t,i)},s.Rh=function(n,t,i){return t==7?Tfe(this,null,i):KY(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!kae(this);case 8:return!bn("",this.a)}return fde(this,n)},s.$h=function(n,t){switch(n){case 7:Cbe(this,u(t,174));return;case 8:Uhe(this,Pt(t));return}c0e(this,n,t)},s.fi=function(){return Gu(),$8e},s.hi=function(n){switch(n){case 7:Cbe(this,null);return;case 8:Uhe(this,"");return}gde(this,n)},s.Ib=function(){return VGe(this)},s.a="",v(vg,"ElkLabelImpl",362),m(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},kj),s.xh=function(n){return Vde(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),this.c;case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),this.a;case 11:return Fi(this);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),this.b;case 13:return $n(),!this.a&&(this.a=new pe(Ft,this,10,11)),this.a.i>0}return Dde(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),Co(this.c,n,i);case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),Co(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Vde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ule(this,u(n,26),i);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),Co(this.b,n,i)}return Wde(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),vc(this.c,n,i);case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),vc(this.a,n,i);case 11:return Ule(this,null,i);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),vc(this.b,n,i)}return Zde(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Fi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new pe(Ft,this,10,11)),this.a.i>0}return k1e(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new pe($s,this,9,9)),kt(this.c),!this.c&&(this.c=new pe($s,this,9,9)),nr(this.c,u(t,18));return;case 10:!this.a&&(this.a=new pe(Ft,this,10,11)),kt(this.a),!this.a&&(this.a=new pe(Ft,this,10,11)),nr(this.a,u(t,18));return;case 11:$z(this,u(t,26));return;case 12:!this.b&&(this.b=new pe(pr,this,12,3)),kt(this.b),!this.b&&(this.b=new pe(pr,this,12,3)),nr(this.b,u(t,18));return}hbe(this,n,t)},s.fi=function(){return Gu(),R8e},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new pe($s,this,9,9)),kt(this.c);return;case 10:!this.a&&(this.a=new pe(Ft,this,10,11)),kt(this.a);return;case 11:$z(this,null);return;case 12:!this.b&&(this.b=new pe(pr,this,12,3)),kt(this.b);return}Cde(this,n)},s.Ib=function(){return Gbe(this)},v(vg,"ElkNodeImpl",206),m(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},koe),s.xh=function(n){return Ude(this,n)},s.Ih=function(n,t,i){return n==9?Pa(this):Dde(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===9?(this.Cb&&(i=(r=this.Db>>16,r>=0?Ude(this,i):this.Cb.Qh(this,-1-r,null,i))),Ile(this,u(n,26),i)):Wde(this,n,t,i)},s.Rh=function(n,t,i){return t==9?Ile(this,null,i):Zde(this,n,t,i)},s.Th=function(n){return n==9?!!Pa(this):k1e(this,n)},s.$h=function(n,t){if(n===9){Ebe(this,u(t,26));return}hbe(this,n,t)},s.fi=function(){return Gu(),B8e},s.hi=function(n){if(n===9){Ebe(this,null);return}Cde(this,n)},s.Ib=function(){return FXe(this)},v(vg,"ElkPortImpl",193);var Pan=Gi(yc,"BasicEMap/Entry");m(1091,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},G6),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return xw(this)},s.Ai=function(n){Jhe(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return fz(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:Jhe(this,u(t,147));return;case 1:Hhe(this,t);return}yW(this,n,t)},s.fi=function(){return Gu(),b1},s.hi=function(n){switch(n){case 0:Jhe(this,null);return;case 1:Hhe(this,null);return}pW(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?Ni(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,Hhe(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new j0,Kt(Kt(Kt(n,this.b?this.b.Og():Vo),nee),nE(this.c)),n.a)},s.a=-1,s.c=null;var n0=v(vg,"ElkPropertyToValueMapEntryImpl",1091);m(980,1,{},Zp),v(Wr,"JsonAdapter",980),m(215,63,q1,ah),v(Wr,"JsonImportException",215),m(850,1,{},iUe),v(Wr,"JsonImporter",850),m(884,1,{},zCe),s.Bi=function(n){QHe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$0$Type",884),m(885,1,{},FCe),s.Bi=function(n){_qe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$1$Type",885),m(893,1,{},hSe),s.Bi=function(n){UDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$10$Type",893),m(895,1,{},JCe),s.Bi=function(n){kqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$11$Type",895),m(896,1,{},HCe),s.Bi=function(n){jqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$12$Type",896),m(902,1,{},t_e),s.Bi=function(n){qGe(this.a,this.b,this.c,this.d,u(n,139))},v(Wr,"JsonImporter/lambda$13$Type",902),m(901,1,{},i_e),s.Bi=function(n){sKe(this.a,this.b,this.c,this.d,u(n,149))},v(Wr,"JsonImporter/lambda$14$Type",901),m(897,1,{},GCe),s.Bi=function(n){mNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$15$Type",897),m(898,1,{},qCe),s.Bi=function(n){vNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$16$Type",898),m(899,1,{},UCe),s.Bi=function(n){IHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$17$Type",899),m(900,1,{},XCe),s.Bi=function(n){DHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$18$Type",900),m(905,1,{},dSe),s.Bi=function(n){PGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$19$Type",905),m(886,1,{},bSe),s.Bi=function(n){GHe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$2$Type",886),m(903,1,{},gSe),s.Bi=function(n){i3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$20$Type",903),m(904,1,{},wSe),s.Bi=function(n){r3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$21$Type",904),m(908,1,{},pSe),s.Bi=function(n){LGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$22$Type",908),m(906,1,{},mSe),s.Bi=function(n){n3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$23$Type",906),m(907,1,{},vSe),s.Bi=function(n){t3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$24$Type",907),m(910,1,{},ySe),s.Bi=function(n){sGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$25$Type",910),m(909,1,{},kSe),s.Bi=function(n){XDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$26$Type",909),m(911,1,ct,KCe),s.Ad=function(n){G9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$27$Type",911),m(912,1,ct,VCe),s.Ad=function(n){q9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$28$Type",912),m(913,1,{},YCe),s.Bi=function(n){pUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$29$Type",913),m(889,1,{},jSe),s.Bi=function(n){tJe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$3$Type",889),m(914,1,{},QCe),s.Bi=function(n){BUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$30$Type",914),m(915,1,{},ESe),s.Bi=function(n){SRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$31$Type",915),m(916,1,{},SSe),s.Bi=function(n){xRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$32$Type",916),m(917,1,{},xSe),s.Bi=function(n){ARe(this.a,re(n))},v(Wr,"JsonImporter/lambda$33$Type",917),m(918,1,{},ASe),s.Bi=function(n){MRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$34$Type",918),m(919,1,{},MSe),s.Bi=function(n){FMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$35$Type",919),m(920,1,{},CSe),s.Bi=function(n){JMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$36$Type",920),m(924,1,{},n_e),v(Wr,"JsonImporter/lambda$37$Type",924),m(921,1,ct,QNe),s.Ad=function(n){p7n(this.a,this.c,this.b,u(n,372))},v(Wr,"JsonImporter/lambda$38$Type",921),m(922,1,ct,WCe),s.Ad=function(n){twn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$39$Type",922),m(887,1,{},TSe),s.Bi=function(n){i3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$4$Type",887),m(923,1,ct,ZCe),s.Ad=function(n){iwn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$40$Type",923),m(925,1,ct,WNe),s.Ad=function(n){m7n(this.a,this.b,this.c,u(n,8))},v(Wr,"JsonImporter/lambda$41$Type",925),m(888,1,{},OSe),s.Bi=function(n){r3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$5$Type",888),m(892,1,{},NSe),s.Bi=function(n){iJe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$6$Type",892),m(890,1,{},ISe),s.Bi=function(n){n3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$7$Type",890),m(891,1,{},DSe),s.Bi=function(n){t3(this.a,ne(re(n)))},v(Wr,"JsonImporter/lambda$8$Type",891),m(894,1,{},_Se),s.Bi=function(n){lGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$9$Type",894),m(944,1,ct,LSe),s.Ad=function(n){$y(this.a,new O2(Pt(n)))},v(Wr,"JsonMetaDataConverter/lambda$0$Type",944),m(945,1,ct,PSe),s.Ad=function(n){V3n(this.a,u(n,244))},v(Wr,"JsonMetaDataConverter/lambda$1$Type",945),m(946,1,ct,$Se),s.Ad=function(n){zyn(this.a,u(n,144))},v(Wr,"JsonMetaDataConverter/lambda$2$Type",946),m(947,1,ct,RSe),s.Ad=function(n){Y3n(this.a,u(n,160))},v(Wr,"JsonMetaDataConverter/lambda$3$Type",947),m(244,23,{3:1,35:1,23:1,244:1},jy);var vG,yG,Lce,kG,jG,EG,Pce,$ce,SG=yt(AN,"GraphFeature",244,Ct,E8n,Nvn),$an;m(11,1,{35:1,147:1},ki,Pi,an,Yr),s.Dd=function(n){return epn(this,u(n,147))},s.Fb=function(n){return M_e(this,n)},s.Rg=function(){return _e(this)},s.Og=function(){return this.b},s.Hb=function(){return _d(this.b)},s.Ib=function(){return this.b},v(AN,"Property",11),m(657,1,Yt,hX),s.Le=function(n,t){return Ljn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(AN,"PropertyHolderComparator",657),m(698,1,Fr,uoe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return V9n(this)},s.Qb=function(){IAe()},s.Ob=function(){return!!this.a},v(XF,"ElkGraphUtil/AncestorIterator",698);var F8e=Gi(yc,"EList");m(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){FE(this,n,t)},s.Ec=function(n){return Et(this,n)},s.ad=function(n,t){return b1e(this,n,t)},s.Fc=function(n){return nr(this,n)},s.Gi=function(){return new My(this)},s.Hi=function(){return new AT(this)},s.Ii=function(n){return pO(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){gY(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return SXe(this,n)},s.Hb=function(){return f1e(this)},s.Qi=function(){return!1},s.Jc=function(){return new st(this)},s.cd=function(){return new Ay(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw R(new S2(n,t));return new yV(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return hB(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return f3(this,n,t)},s.Ib=function(){return ude(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return o8(this,t)},v(yc,"AbstractEList",71),m(67,71,Nh,q6,$w,r1e),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return dHe(this,n)},s.Ei=function(n,t){OO(this,n,t)},s.Fi=function(n){nO(this,n)},s.Yi=function(n){return vhe(this,n)},s.$b=function(){EE(this)},s.Gc=function(n){return E8(this,n)},s.Xb=function(n){return K(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},v(yc,"DelegatingEList",2055),m(2056,2055,GZe),s.Ci=function(n,t){return rge(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){lUe(this,n,t)},s.Fi=function(n){Wqe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){wS(this)},s.Gj=function(n,t,i,r,c){return new x_e(this,n,t,i,r,c)},s.Hj=function(n){hi(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=x0e(this,n,t),this.Hj(this.Gj(7,ye(t),i,n,r)),i):x0e(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=oR(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=oR(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return yKe(this,n,t)},v(x4,"DelegatingNotifyingListImpl",2056),m(151,1,HN),s.lj=function(n){return f0e(this,n)},s.mj=function(){EY(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return cXe(this)},s.hj=function(){return null},s.ij=function(){return Dbe(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,l,f,h,g,p,y;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null))return g=jge(this),h=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,l=n.jj(),this.d=6,y=new $w(2),h<=l?(Et(y,this.n),Et(y,n.ij()),this.g=F(z($t,1),ni,30,15,[this.o=h,l+1])):(Et(y,n.ij()),Et(y,this.n),this.g=F(z($t,1),ni,30,15,[this.o=l,h])),this.n=y,g||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.hj())&&this.fj(null)==n.fj(null)){for(g=jge(this),l=n.jj(),p=u(this.g,54),r=le($t,ni,30,p.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{_X(r,this.d);break}}if(XXe(this)&&(r.a+=", touch: true"),r.a+=", position: ",_X(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",Vj(r,this.hj()),r.a+=", feature: ",Vj(r,this.Ij()),r.a+=", oldValue: ",Vj(r,Dbe(this)),r.a+=", newValue: ",this.d==6&&X(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new A2(this),this.a=this.j),cf(this.b,n)):E8(this,n)},s.Wi=function(){return!0},s.a=0,v(yc,"AbstractEList/1",949),m(305,99,oF,S2),v(yc,"AbstractEList/BasicIndexOutOfBoundsException",305),m(42,1,Fr,st),s.Nb=function(n){Zr(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw R(new Il)},s.Wj=function(){return ft(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){WE(this)},s.e=0,s.f=0,s.g=-1,v(yc,"AbstractEList/EIterator",42),m(286,42,e1,Ay,yV),s.Qb=function(){WE(this)},s.Rb=function(n){bJe(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Yj=function(n){bHe(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},v(yc,"AbstractEList/EListIterator",286),m(355,42,Fr,My),s.Wj=function(){return PQ(this)},s.Qb=function(){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEIterator",355),m(391,286,e1,AT,Vle),s.Rb=function(n){throw R(new _t)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEListIterator",391),m(2042,71,qZe),s.Ci=function(n,t){var i,r,c,o,l,f,h,g,p,y,S;if(c=t.gc(),c!=0){for(g=u(Kn(this.a,4),129),p=g==null?0:g.length,S=p+c,r=oQ(this,S),y=p-n,y>0&&Wu(g,n,r,n+c,y),h=t.Jc(),l=0;li)throw R(new S2(n,i));return new zDe(this,n)},s.$b=function(){var n,t;++this.j,n=u(Kn(this.a,4),129),t=n==null?0:n.length,y8(this,null),gY(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c=i)throw R(new S2(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;ii)throw R(new S2(n,i));return new BDe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=EJe(this),c=i==null?0:i.length,n>=c)throw R(new jo(Cne+n+yg+c));if(t>=c)throw R(new jo(Tne+t+yg+c));return r=i[t],n!=t&&(n0&&Wu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(Kn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.lengthr&&ir(n,r,null),n};var Ran;v(yc,"ArrayDelegatingEList",2042),m(1032,42,Fr,XPe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},s.Qb=function(){WE(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EIterator",1032),m(712,286,e1,uDe,BDe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},s.Yj=function(n){bHe(this,n),this.a=u(Kn(this.b.a,4),129)},s.Qb=function(){WE(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EListIterator",712),m(1033,355,Fr,KPe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},v(yc,"ArrayDelegatingEList/NonResolvingEIterator",1033),m(713,391,e1,oDe,zDe),s.Vj=function(){if(this.b.j!=this.f||ue(u(Kn(this.b.a,4),129))!==ue(this.a))throw R(new Il)},v(yc,"ArrayDelegatingEList/NonResolvingEListIterator",713),m(605,305,oF,EK),v(yc,"BasicEList/BasicIndexOutOfBoundsException",605),m(699,67,Nh,Dse),s._c=function(n,t){throw R(new _t)},s.Ec=function(n){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.$b=function(){throw R(new _t)},s.Zi=function(n){throw R(new _t)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw R(new _t)},s.Si=function(n,t){throw R(new _t)},s.ed=function(n){throw R(new _t)},s.Kc=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},v(yc,"BasicEList/UnmodifiableEList",699),m(711,1,{3:1,20:1,18:1,16:1,61:1,586:1}),s._c=function(n,t){Hwn(this,n,u(t,45))},s.Ec=function(n){return $pn(this,u(n,45))},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return u(K(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){Gwn(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return W3n(this,n,u(t,45))},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return xO(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=le(J8e,ime,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),dz(this,n);this.e=i}},s.Fb=function(n){return NNe(this,n)},s.Hb=function(){return f1e(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new BSe(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return rO(this)},s.ak=function(n,t,i){return new ZNe(n,t,i)},s.bk=function(){return new jL},s.Kc=function(n){return EBe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new D0(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return ude(this.c)},s.e=0,s.f=0,v(yc,"BasicEMap",711),m(1027,67,Nh,BSe),s.Ki=function(n,t){xbn(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){Abn(this,u(t,136))},s.Pi=function(n,t,i){Epn(this,u(t,136),u(i,136))},s.Mi=function(n,t){pze(this.a)},v(yc,"BasicEMap/1",1027),m(1028,67,Nh,jL),s.$i=function(n){return le(czn,UZe,611,n,0,1)},v(yc,"BasicEMap/2",1028),m(1029,Ua,fs,zSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xQ(this.a,n)},s.Jc=function(){return this.a.f==0?(T9(),cD.a):new SAe(this.a)},s.Kc=function(n){var t;return t=this.a.f,iz(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},v(yc,"BasicEMap/3",1029),m(1030,31,um,FSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xXe(this.a,n)},s.Jc=function(){return this.a.f==0?(T9(),cD.a):new xAe(this.a)},s.gc=function(){return this.a.f},v(yc,"BasicEMap/4",1030),m(1031,Ua,fs,JSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,l,f,h,g;if(this.a.f>0&&X(n,45)&&(this.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Dle(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),g=t.i,l=0;l"+this.c},s.a=0;var czn=v(yc,"BasicEMap/EntryImpl",611);m(534,1,{},X6),v(yc,"BasicEMap/View",534);var cD;m(769,1,{}),s.Fb=function(n){return dbe((En(),Sc),n)},s.Hb=function(){return j1e((En(),Sc))},s.Ib=function(){return Ga((En(),Sc))},v(yc,"ECollections/BasicEmptyUnmodifiableEList",769),m(1302,1,e1,iC),s.Nb=function(n){Zr(this,n)},s.Rb=function(n){throw R(new _t)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw R(new hu)},s.Tb=function(){return 0},s.Ub=function(){throw R(new hu)},s.Vb=function(){return-1},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"ECollections/BasicEmptyUnmodifiableEList/1",1302),m(1300,769,{20:1,18:1,16:1,61:1},Nxe),s._c=function(n,t){XAe()},s.Ec=function(n){return UAe()},s.ad=function(n,t){return KAe()},s.Fc=function(n){return VAe()},s.$b=function(){YAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Rse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return QAe()},s.Si=function(n,t){WAe()},s.ed=function(n){return ZAe()},s.Kc=function(n){return eMe()},s.fd=function(n,t){return nMe()},s.gc=function(){return 0},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.hd=function(n,t){return En(),new D0(Sc,n,t)},s.Nc=function(){return Ife((En(),Sc))},s.Oc=function(n){return En(),KE(Sc,n)},v(yc,"ECollections/EmptyUnmodifiableEList",1300),m(1301,769,{20:1,18:1,16:1,61:1,586:1},Ixe),s._c=function(n,t){XAe()},s.Ec=function(n){return UAe()},s.ad=function(n,t){return KAe()},s.Fc=function(n){return VAe()},s.$b=function(){YAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Rse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return QAe()},s.Si=function(n,t){WAe()},s.ed=function(n){return ZAe()},s.Kc=function(n){return eMe()},s.fd=function(n,t){return nMe()},s.gc=function(){return 0},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.hd=function(n,t){return En(),new D0(Sc,n,t)},s.Nc=function(){return Ife((En(),Sc))},s.Oc=function(n){return En(),KE(Sc,n)},s._j=function(){return En(),En(),u1},v(yc,"ECollections/EmptyUnmodifiableEMap",1301);var G8e=Gi(yc,"Enumerator"),xG;m(290,1,{290:1},DW),s.Fb=function(n){var t;return this===n?!0:X(n,290)?(t=u(n,290),this.f==t.f&&g3n(this.i,t.i)&&uV(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&uV(this.d,t.d)&&uV(this.g,t.g)&&uV(this.e,t.e)&&mSn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return cKe(this)},s.f=0;var Ban=0,zan=0,Fan=0,Jan=0,q8e=0,U8e=0,X8e=0,K8e=0,V8e=0,Han,fA=0,aA=0,Gan=0,qan=0,AG,Y8e;v(yc,"URI",290),m(1090,44,j3,Dxe),s.yc=function(n,t){return u(Kc(this,Pt(n),u(t,290)),290)},v(yc,"URI/URICache",1090),m(492,67,Nh,rC,dR),s.Qi=function(){return!0},v(yc,"UniqueEList",492),m(578,63,q1,fB),v(yc,"WrappedException",578);var Zt=Gi(Ul,VZe),Xm=Gi(Ul,YZe),ns=Gi(Ul,QZe),Km=Gi(Ul,WZe),Ca=Gi(Ul,ZZe),yf=Gi(Ul,"EClass"),zce=Gi(Ul,"EDataType"),Uan;m(1198,44,j3,_xe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(Ul,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1198);var MG=Gi(Ul,"EEnum"),td=Gi(Ul,een),Rc=Gi(Ul,nen),kf=Gi(Ul,ten),jf,xp=Gi(Ul,ien),Vm=Gi(Ul,ren);m(1023,1,{},cC),s.Ib=function(){return"NIL"},v(Ul,"EStructuralFeature/Internal/DynamicValueHolder/1",1023);var Xan;m(1022,44,j3,Lxe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(Ul,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1022);var Fo=Gi(Ul,cen),n6=Gi(Ul,"EValidator/PatternMatcher"),Q8e,W8e,Bn,t0,Ym,jb,Kan,Van,Yan,Eb,i0,Sb,Ap,uh,Qan,Wan,Ef,r0,Zan,c0,Qm,u5,Ac,ehn,nhn,Mp,CG=Gi(Ri,"FeatureMap/Entry");m(533,1,{75:1},O$),s.Jk=function(){return this.a},s.kd=function(){return this.b},v(Jn,"BasicEObjectImpl/1",533),m(1021,1,Lne,nTe),s.Dk=function(n){return aY(this.a,this.b,n)},s.Oj=function(){return J_e(this.a,this.b)},s.Wb=function(n){vae(this.a,this.b,n)},s.Ek=function(){m5n(this.a,this.b)},v(Jn,"BasicEObjectImpl/4",1021),m(2043,1,{114:1}),s.Kk=function(n){this.e=n==0?thn:le(Mr,Nn,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw R(new _t)},s.Nk=function(){throw R(new _t)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw R(new _t)},s.Sk=function(n){throw R(new _t)},s.Tk=function(n){this.d=n};var thn;v(Jn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2043),m(192,2043,{114:1},tl),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},v(Jn,"BasicEObjectImpl/EPropertiesHolderImpl",192),m(501,100,cZe,xv),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new tl),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(O0(),Bn).S},s.i=0,s.j=1,v(Jn,"EObjectImpl",501),m(785,501,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},wfe),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return Ji(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new EL),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=dt(this.d),this.e=n==0?ihn:le(Mr,Nn,1,n,5,1)),this},s.gi=function(){return 0};var ihn;v(Jn,"DynamicEObjectImpl",785),m(1483,785,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},kIe),s.Fb=function(n){return this===n},s.Hb=function(){return xw(this)},s._h=function(n){this.d=n,this.b=tN(n,"key"),this.c=tN(n,zS)},s.yi=function(){var n;return this.a==-1&&(n=SY(this,this.b),this.a=n==null?0:Ni(n)),this.a},s.jd=function(){return SY(this,this.b)},s.kd=function(){return SY(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){vae(this,this.b,n)},s.ld=function(n){var t;return t=SY(this,this.c),vae(this,this.c,n),t},s.a=0,v(Jn,"DynamicEObjectImpl/BasicEMapEntry",1483),m(1484,1,{114:1},EL),s.Kk=function(n){throw R(new _t)},s.ii=function(n){throw R(new _t)},s.ji=function(n,t){throw R(new _t)},s.ki=function(n){throw R(new _t)},s.Lk=function(){throw R(new _t)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw R(new _t)},s.Qk=function(n){throw R(new _t)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},v(Jn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1484),m(504,161,{109:1,94:1,93:1,587:1,158:1,57:1,114:1,52:1,100:1,504:1,161:1,117:1,118:1},_b),s.xh=function(n){return Xde(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b):(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),rO(this.b));case 3:return V_e(this);case 4:return!this.a&&(this.a=new mr(kb,this,4)),this.a;case 5:return!this.c&&(this.c=new qv(kb,this,5)),this.c}return $l(this,n-dt((jn(),t0)),Cn((r=u(Kn(this,16),29),r||t0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?Xde(this,i):this.Cb.Qh(this,-1-c,null,i))),Ofe(this,u(n,158),i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),Y$(this.b,n,i);case 3:return Ofe(this,null,i);case 4:return!this.a&&(this.a=new mr(kb,this,4)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!V_e(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Pl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:t3n(this,Pt(t));return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),DB(this.b,t);return;case 3:XUe(this,u(t,158));return;case 4:!this.a&&(this.a=new mr(kb,this,4)),kt(this.a),!this.a&&(this.a=new mr(kb,this,4)),nr(this.a,u(t,18));return;case 5:!this.c&&(this.c=new qv(kb,this,5)),kt(this.c),!this.c&&(this.c=new qv(kb,this,5)),nr(this.c,u(t,18));return}Hl(this,n-dt((jn(),t0)),Cn((i=u(Kn(this,16),29),i||t0),n),t)},s.fi=function(){return jn(),t0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:qhe(this,null);return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b.c.$b();return;case 3:XUe(this,null);return;case 4:!this.a&&(this.a=new mr(kb,this,4)),kt(this.a);return;case 5:!this.c&&(this.c=new qv(kb,this,5)),kt(this.c);return}Jl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.Ib=function(){return RFe(this)},s.d=null,v(Jn,"EAnnotationImpl",504),m(142,711,rme,os),s.Ei=function(n,t){Mwn(this,n,u(t,45))},s.Uk=function(n,t){return M2n(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return Y$(this,n,t)},s.Dk=function(n){return u(this.c,77).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,77).Oj()},s.ak=function(n,t,i){var r;return r=u(sl(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new soe(this)},s.Wb=function(n){DB(this,n)},s.Ek=function(){u(this.c,77).Ek()},v(Ri,"EcoreEMap",142),m(169,142,rme,Hs),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=le(J8e,ime,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&oi)%o.length,n=o[c],!n&&(n=o[c]=new soe(this)),n.Ec(t);this.d=o}},v(Jn,"EAnnotationImpl/1",169),m(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0)}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),nhn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.Xk(1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){af(this),this.Bb|=1},s.Fk=function(){return af(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return J1e(this,n,t)},s.Xk=function(n){z2(this,n)},s.Ib=function(){return rbe(this)},s.s=0,s.t=1,v(Jn,"ETypedElementImpl",293),m(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return THe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this)}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?THe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,17,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 17:return dl(this,null,17,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this)}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),ehn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.Xk(1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,MB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return T8(this)},s.ok=function(){return D2(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return yz(this)},s.uk=function(){var n,t,i,r,c,o,l,f,h;return this.p||(i=D2(this),(i.i==null&&Eh(i),i.i).length,r=this.sk(),r&&dt(D2(r)),c=af(this),l=c.ik(),n=l?(l.i&1)!=0?l==ts?Qi:l==$t?jr:l==Zm?p7:l==Jr?gr:l==Tp?ap:l==f5?hp:l==ds?A4:QS:l:null,t=T8(this),f=c.gk(),Fjn(this),(this.Bb&Sh)!=0&&((o=e0e((ls(),nc),i))&&o!=this||(o=Fy(Vc(nc,this))))?this.p=new iTe(this,o):this.Hk()?this.$k()?r?(this.Bb&as)!=0?n?this._k()?this.p=new Vb(47,n,this,r):this.p=new Vb(5,n,this,r):this._k()?this.p=new ng(46,this,r):this.p=new ng(4,this,r):n?this._k()?this.p=new Vb(49,n,this,r):this.p=new Vb(7,n,this,r):this._k()?this.p=new ng(48,this,r):this.p=new ng(6,this,r):(this.Bb&as)!=0?n?n==Eg?this.p=new Md(50,Pan,this):this._k()?this.p=new Md(43,n,this):this.p=new Md(1,n,this):this._k()?this.p=new Td(42,this):this.p=new Td(0,this):n?n==Eg?this.p=new Md(41,Pan,this):this._k()?this.p=new Md(45,n,this):this.p=new Md(3,n,this):this._k()?this.p=new Td(44,this):this.p=new Td(2,this):X(c,159)?n==CG?this.p=new Td(40,this):(this.Bb&512)!=0?(this.Bb&as)!=0?n?this.p=new Md(9,n,this):this.p=new Td(8,this):n?this.p=new Md(11,n,this):this.p=new Td(10,this):(this.Bb&as)!=0?n?this.p=new Md(13,n,this):this.p=new Td(12,this):n?this.p=new Md(15,n,this):this.p=new Td(14,this):r?(h=r.t,h>1||h==-1?this._k()?(this.Bb&as)!=0?n?this.p=new Vb(25,n,this,r):this.p=new ng(24,this,r):n?this.p=new Vb(27,n,this,r):this.p=new ng(26,this,r):(this.Bb&as)!=0?n?this.p=new Vb(29,n,this,r):this.p=new ng(28,this,r):n?this.p=new Vb(31,n,this,r):this.p=new ng(30,this,r):this._k()?(this.Bb&as)!=0?n?this.p=new Vb(33,n,this,r):this.p=new ng(32,this,r):n?this.p=new Vb(35,n,this,r):this.p=new ng(34,this,r):(this.Bb&as)!=0?n?this.p=new Vb(37,n,this,r):this.p=new ng(36,this,r):n?this.p=new Vb(39,n,this,r):this.p=new ng(38,this,r)):this._k()?(this.Bb&as)!=0?n?this.p=new Md(17,n,this):this.p=new Td(16,this):n?this.p=new Md(19,n,this):this.p=new Td(18,this):(this.Bb&as)!=0?n?this.p=new Md(21,n,this):this.p=new Td(20,this):n?this.p=new Md(23,n,this):this.p=new Td(22,this):this.Zk()?this._k()?this.p=new UNe(u(c,29),this,r):this.p=new wae(u(c,29),this,r):X(c,159)?n==CG?this.p=new Td(40,this):(this.Bb&as)!=0?n?this.p=new HIe(t,f,this,(MQ(),l==$t?c7e:l==ts?e7e:l==Tp?u7e:l==Zm?r7e:l==Jr?i7e:l==f5?o7e:l==ds?n7e:l==Zl?t7e:Hce)):this.p=new c_e(u(c,159),t,f,this):n?this.p=new JIe(t,f,this,(MQ(),l==$t?c7e:l==ts?e7e:l==Tp?u7e:l==Zm?r7e:l==Jr?i7e:l==f5?o7e:l==ds?n7e:l==Zl?t7e:Hce)):this.p=new r_e(u(c,159),t,f,this):this.$k()?r?(this.Bb&as)!=0?this._k()?this.p=new KNe(u(c,29),this,r):this.p=new nfe(u(c,29),this,r):this._k()?this.p=new XNe(u(c,29),this,r):this.p=new ZK(u(c,29),this,r):(this.Bb&as)!=0?this._k()?this.p=new GOe(u(c,29),this):this.p=new yle(u(c,29),this):this._k()?this.p=new HOe(u(c,29),this):this.p=new BK(u(c,29),this):this._k()?r?(this.Bb&as)!=0?this.p=new VNe(u(c,29),this,r):this.p=new tfe(u(c,29),this,r):(this.Bb&as)!=0?this.p=new qOe(u(c,29),this):this.p=new kle(u(c,29),this):r?(this.Bb&as)!=0?this.p=new YNe(u(c,29),this,r):this.p=new ife(u(c,29),this,r):(this.Bb&as)!=0?this.p=new UOe(u(c,29),this):this.p=new hR(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&qf)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&Sh)!=0},s.vk=function(){return AY(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&as)!=0},s.al=function(n){this.k=n},s.ri=function(n){XV(this,n)},s.Ib=function(){return Gz(this)},s.e=!1,s.n=0,v(Jn,"EStructuralFeatureImpl",451),m(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},vX),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!W0e(this);case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return t?XY(this):o$e(this)}return $l(this,n-dt((jn(),Ym)),Cn((r=u(Kn(this,16),29),r||Ym),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return W0e(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this);case 18:return(this.Bb&Ru)!=0;case 19:return!!o$e(this)}return Pl(this,n-dt((jn(),Ym)),Cn((t=u(Kn(this,16),29),t||Ym),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:NAe(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return;case 18:mQ(this,ze(Be(t)));return}Hl(this,n-dt((jn(),Ym)),Cn((i=u(Kn(this,16),29),i||Ym),n),t)},s.fi=function(){return jn(),Ym},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.b=0,z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,MB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return;case 18:mQ(this,!1);return}Jl(this,n-dt((jn(),Ym)),Cn((t=u(Kn(this,16),29),t||Ym),n))},s.mi=function(){XY(this),z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.Hk=function(){return W0e(this)},s.Wk=function(n,t){return this.b=0,this.a=null,J1e(this,n,t)},s.Xk=function(n){NAe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Gz(this):(n=new uf(Gz(this)),n.a+=" (iD: ",jd(n,(this.Bb&Ru)!=0),n.a+=")",n.a)},s.b=0,v(Jn,"EAttributeImpl",335),m(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return WQ(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xw(this);case 4:return this.gk();case 5:return this.F;case 6:return t?sl(this):H9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:JR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Kan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=sl(this),n?Bd(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return sl(this)},s.cl=function(){return this.v},s.ik=function(){return Xw(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return JW(this,n)},s.dl=function(n){this.v=n},s.el=function(n){YBe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){JR(this,n)},s.Ib=function(){return ZB(this)},s.C=null,s.D=null,s.G=-1,v(Jn,"EClassifierImpl",360),m(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},oj),s.bl=function(n){return d2n(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xw(this);case 4:return null;case 5:return this.F;case 6:return t?sl(this):H9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A;case 8:return $n(),(this.Bb&256)!=0;case 9:return $n(),(this.Bb&512)!=0;case 10:return tu(this);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),this.q;case 12:return m3(this);case 13:return dS(this);case 14:return dS(this),this.r;case 15:return m3(this),this.k;case 16:return F0e(this);case 17:return UW(this);case 18:return Eh(this);case 19:return Lz(this);case 20:return m3(this),this.o;case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),this.s;case 22:return Vu(this);case 23:return IW(this)}return $l(this,n-dt((jn(),jb)),Cn((r=u(Kn(this,16),29),r||jb),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),Co(this.q,n,i);case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),Co(this.s,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),vc(this.q,n,i);case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),vc(this.s,n,i);case 22:return vc(Vu(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Vu(this.u.a).i!=0&&!(this.n&&FQ(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return m3(this).i!=0;case 13:return dS(this).i!=0;case 14:return dS(this),this.r.i!=0;case 15:return m3(this),this.k.i!=0;case 16:return F0e(this).i!=0;case 17:return UW(this).i!=0;case 18:return Eh(this).i!=0;case 19:return Lz(this).i!=0;case 20:return m3(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&FQ(this.n);case 23:return IW(this).i!=0}return Pl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:tN(this,n),t||Oge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:JR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:q1e(this,ze(Be(t)));return;case 9:U1e(this,ze(Be(t)));return;case 10:wS(tu(this)),nr(tu(this),u(t,18));return;case 11:!this.q&&(this.q=new pe(kf,this,11,10)),kt(this.q),!this.q&&(this.q=new pe(kf,this,11,10)),nr(this.q,u(t,18));return;case 21:!this.s&&(this.s=new pe(ns,this,21,17)),kt(this.s),!this.s&&(this.s=new pe(ns,this,21,17)),nr(this.s,u(t,18));return;case 22:kt(Vu(this)),nr(Vu(this),u(t,18));return}Hl(this,n-dt((jn(),jb)),Cn((i=u(Kn(this,16),29),i||jb),n),t)},s.fi=function(){return jn(),jb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:q1e(this,!1);return;case 9:U1e(this,!1);return;case 10:this.u&&wS(this.u);return;case 11:!this.q&&(this.q=new pe(kf,this,11,10)),kt(this.q);return;case 21:!this.s&&(this.s=new pe(ns,this,21,17)),kt(this.s);return;case 22:this.n&&kt(this.n);return}Jl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.mi=function(){var n,t;if(m3(this),dS(this),F0e(this),UW(this),Eh(this),Lz(this),IW(this),EE(Lvn(Ms(this))),this.s)for(n=0,t=this.s.i;n=0;--t)K(this,t);return bde(this,n)},s.Ek=function(){kt(this)},s.Xi=function(n,t){return jBe(this,n,t)},v(Ri,"EcoreEList",623),m(491,623,au,BT),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,v(Ri,"EObjectEList",491),m(81,491,au,mr),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},v(Ri,"EObjectContainmentEList",81),m(543,81,au,F$),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.b,this.b=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,v(Ri,"EObjectContainmentEList/Unsettable",543),m(1130,543,au,GIe),s.Ri=function(n,t){var i,r;return i=u(JE(this,n,t),87),Fs(this.e)&&d9(this,new oO(this.a,7,(jn(),Van),ye(t),(r=i.c,X(r,88)?u(r,29):Ef),n)),i},s.Sj=function(n,t){return vEn(this,u(n,87),t)},s.Tj=function(n,t){return yEn(this,u(n,87),t)},s.Uj=function(n,t,i){return kAn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return pE(this,n,t,i,r,this.i>1);case 5:return pE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new $1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return FQ(this)},s.Ek=function(){kt(this)},v(Jn,"EClassImpl/1",1130),m(1144,1143,tme),s.bj=function(n){var t,i,r,c,o,l,f;if(i=n.ej(),i!=8){if(r=iSn(n),r==0)switch(i){case 1:case 9:{f=n.ij(),f!=null&&(t=Ms(u(f,471)),!t.c&&(t.c=new Nl),hB(t.c,n.hj())),l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29))));break}case 3:{l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29))));break}case 5:{if(l=n.gj(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29)));break}case 4:{f=n.ij(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),hB(t.c,n.hj())));break}case 6:{if(f=n.ij(),f!=null)for(o=u(f,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),hB(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){DXe(this,n)},s.b=63,v(Jn,"ESuperAdapter",1144),m(1145,1144,tme,GSe),s.ol=function(n){Z2(this,n)},v(Jn,"EClassImpl/10",1145),m(1134,699,au),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return dHe(this,n)},s.Ei=function(n,t){OO(this,n,t)},s.Fi=function(n){nO(this,n)},s.Yi=function(n){return vhe(this,n)},s.Vi=function(n,t){return xY(this,n,t)},s.Uk=function(n,t){throw R(new _t)},s.Gi=function(){return new My(this)},s.Hi=function(){return new AT(this)},s.Ii=function(n){return pO(this,n)},s.Vk=function(n,t){throw R(new _t)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw R(new _t)},s.Ek=function(){throw R(new _t)},v(Ri,"EcoreEList/UnmodifiableEList",1134),m(333,1134,au,Bv),s.Wi=function(){return!1},v(Ri,"EcoreEList/UnmodifiableEList/FastCompare",333),m(1137,333,au,Jze),s.bd=function(n){var t,i,r;if(X(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),f=i==this.b&&(this.kl()?r.vh(r.Ch(),u(Cn(Go(this.b),this.Jj()).Fk(),29).ik())==Oc(u(Cn(Go(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!f&&!i&&r.Gh()){for(c=0;c1||r==-1)):!1},s.kl=function(){var n,t,i;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),i=Oc(n),!!i):!1},s.ll=function(){var n,t;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),(n.Bb&Ec)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i=0;--n)fN(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)fN(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){wS(this)},s.Xi=function(n,t){return U$e(this,n,t)},v(Ri,"DelegatingEcoreEList",744),m(1140,744,ume,tNe),s.oj=function(n,t){Jpn(this,n,u(t,29))},s.pj=function(n){Twn(this,u(n,29))},s.vj=function(n){var t,i;return t=u(K(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),Ef)},s.Aj=function(n){var t,i;return t=u(tm(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),Ef)},s.Bj=function(n,t){return VSn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new XSe(this)},s.rj=function(){kt(Vu(this.a))},s.sj=function(n){return BFe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!BFe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(X(n,16)&&(r=u(n,16),r.gc()==Vu(this.a).i)){for(t=r.Jc(),i=new st(this);t.Ob();)if(ue(t.Pb())!==ue(ft(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),r=(c=n.c,X(c,88)?u(c,29):(jn(),Ef)),i=31*i+(r?xw(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new st(Vu(this.a));i.e!=i.i.gc();){if(t=u(ft(i),87),ue(n)===ue((c=t.c,X(c,88)?u(c,29):(jn(),Ef))))return r;++r}return-1},s.yj=function(){return Vu(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return Vu(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=Vu(this.a).i,c=le(Mr,Nn,1,o,5,1),i=0,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),c[i++]=(r=n.c,X(r,88)?u(r,29):(jn(),Ef));return c},s.Ej=function(n){var t,i,r,c,o,l,f;for(f=Vu(this.a).i,n.lengthf&&ir(n,f,null),r=0,i=new st(Vu(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,X(l,88)?u(l,29):(jn(),Ef)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new kd,c.a+="[",n=Vu(this.a),t=0,r=Vu(this.a).i;t>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i);case 9:return!this.a&&(this.a=new pe(td,this,9,5)),Co(this.a,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Eb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Eb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 9:return!this.a&&(this.a=new pe(td,this,9,5)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Eb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Eb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return!!I1e(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),Eb)),Cn((t=u(Kn(this,16),29),t||Eb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:JR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:qB(this,ze(Be(t)));return;case 9:!this.a&&(this.a=new pe(td,this,9,5)),kt(this.a),!this.a&&(this.a=new pe(td,this,9,5)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),Eb)),Cn((i=u(Kn(this,16),29),i||Eb),n),t)},s.fi=function(){return jn(),Eb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:qB(this,!0);return;case 9:!this.a&&(this.a=new pe(td,this,9,5)),kt(this.a);return}Jl(this,n-dt((jn(),Eb)),Cn((t=u(Kn(this,16),29),t||Eb),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?u(this.Cb,675):null}return $l(this,n-dt((jn(),i0)),Cn((r=u(Kn(this,16),29),r||i0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?zHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,5,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 5:return dl(this,null,5,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Pl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:IY(this,u(t,15).a);return;case 3:Hqe(this,u(t,2001));return;case 4:_Y(this,Pt(t));return}Hl(this,n-dt((jn(),i0)),Cn((i=u(Kn(this,16),29),i||i0),n),t)},s.fi=function(){return jn(),i0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:IY(this,0);return;case 3:Hqe(this,null);return;case 4:_Y(this,null);return}Jl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,v(Jn,"EEnumLiteralImpl",568);var uzn=Gi(Jn,"EFactoryImpl/InternalEDateTimeFormat");m(485,1,{2076:1},QC),v(Jn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),m(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},mw),s.zh=function(n,t,i){var r;return i=dl(this,n,t,i),this.e&&X(n,179)&&(r=_z(this,this.e),r!=this.c&&(i=$8(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new mr(Rc,this,1)),this.d;case 2:return t?Uz(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?GQ(this):this.a}return $l(this,n-dt((jn(),Ap)),Cn((r=u(Kn(this,16),29),r||Ap),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return xFe(this,null,i);case 1:return!this.d&&(this.d=new mr(Rc,this,1)),vc(this.d,n,i);case 3:return SFe(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Ap)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Ap)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Pl(this,n-dt((jn(),Ap)),Cn((t=u(Kn(this,16),29),t||Ap),n))},s.$h=function(n,t){var i;switch(n){case 0:cGe(this,u(t,87));return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d),!this.d&&(this.d=new mr(Rc,this,1)),nr(this.d,u(t,18));return;case 3:s0e(this,u(t,87));return;case 4:M0e(this,u(t,834));return;case 5:Y9(this,u(t,143));return}Hl(this,n-dt((jn(),Ap)),Cn((i=u(Kn(this,16),29),i||Ap),n),t)},s.fi=function(){return jn(),Ap},s.hi=function(n){var t;switch(n){case 0:cGe(this,null);return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d);return;case 3:s0e(this,null);return;case 4:M0e(this,null);return;case 5:Y9(this,null);return}Jl(this,n-dt((jn(),Ap)),Cn((t=u(Kn(this,16),29),t||Ap),n))},s.Ib=function(){var n;return n=new il(Jf(this)),n.a+=" (expression: ",QW(this,n),n.a+=")",n.a};var Z8e;v(Jn,"EGenericTypeImpl",248),m(2029,2024,WF),s.Ei=function(n,t){rNe(this,n,t)},s.Uk=function(n,t){return rNe(this,this.gc(),n),t},s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new QSe(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return U2(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=nW(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;U2(this,t,!0),i=this.dd(n),i.Rb(t)},v(Ri,"AbstractSequentialInternalEList",2029),m(482,2029,WF,MT),s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.b==null?(xd(),xd(),uD):this.ql()},s.nj=function(){return new ETe(this.a,this.b)},s.Hi=function(){return this.b==null?(xd(),xd(),uD):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw R(new jo(FS+n+", size=0"));return xd(),xd(),uD}for(i=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=Q7||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(Tc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),X(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?iqe(this,this.p):dqe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return _B(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw R(new hu)},s.Vb=function(){return this.a-1},s.Qb=function(){throw R(new _t)},s.sl=function(){return!1},s.Wb=function(n){throw R(new _t)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var uD;v(Ri,"EContentsEList/FeatureIteratorImpl",287),m(700,287,ZF,vle),s.sl=function(){return!0},v(Ri,"EContentsEList/ResolvingFeatureIteratorImpl",700),m(1147,700,ZF,zOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/1",1147),m(1148,287,ZF,FOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/2",1148),m(39,151,HN,$2,rY,Dr,mY,$1,Pf,Nhe,ALe,Ihe,MLe,Uae,CLe,Lhe,TLe,Xae,OLe,Dhe,NLe,fE,oO,RV,_he,ILe,Kae,DLe),s.Ij=function(){return dhe(this)},s.Pj=function(){var n;return n=dhe(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=dhe(this),n?n.rk():!1},s.b=-1,v(Jn,"ENotificationImpl",39),m(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},yX),s.xh=function(n){return JHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new rs(Fo,this,11)),this.d;case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),this.c;case 13:return!this.a&&(this.a=new NT(this,this)),this.a;case 14:return Ts(this)}return $l(this,n-dt((jn(),r0)),Cn((r=u(Kn(this,16),29),r||r0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?JHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,10,i);case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),Co(this.c,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),r0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),r0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return dl(this,null,10,i);case 11:return!this.d&&(this.d=new rs(Fo,this,11)),vc(this.d,n,i);case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),vc(this.c,n,i);case 14:return vc(Ts(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),r0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),r0)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ts(this.a.a).i!=0&&!(this.b&&JQ(this.b));case 14:return!!this.b&&JQ(this.b)}return Pl(this,n-dt((jn(),r0)),Cn((t=u(Kn(this,16),29),t||r0),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:z2(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d),!this.d&&(this.d=new rs(Fo,this,11)),nr(this.d,u(t,18));return;case 12:!this.c&&(this.c=new pe(xp,this,12,10)),kt(this.c),!this.c&&(this.c=new pe(xp,this,12,10)),nr(this.c,u(t,18));return;case 13:!this.a&&(this.a=new NT(this,this)),wS(this.a),!this.a&&(this.a=new NT(this,this)),nr(this.a,u(t,18));return;case 14:kt(Ts(this)),nr(Ts(this),u(t,18));return}Hl(this,n-dt((jn(),r0)),Cn((i=u(Kn(this,16),29),i||r0),n),t)},s.fi=function(){return jn(),r0},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d);return;case 12:!this.c&&(this.c=new pe(xp,this,12,10)),kt(this.c);return;case 13:this.a&&wS(this.a);return;case 14:this.b&&kt(this.b);return}Jl(this,n-dt((jn(),r0)),Cn((t=u(Kn(this,16),29),t||r0),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nf&&ir(n,f,null),r=0,i=new st(Ts(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,l||(jn(),uh)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new kd,c.a+="[",n=Ts(this.a),t=0,r=Ts(this.a).i;t1);case 5:return pE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new $1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return JQ(this)},s.Ek=function(){kt(this)},v(Jn,"EOperationImpl/2",1331),m(493,1,{1999:1,493:1},tTe),v(Jn,"EPackageImpl/1",493),m(14,81,au,pe),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectContainmentWithInverseEList",14),m(361,14,au,Ty),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Resolving",361),m(312,361,au,C2),s.Li=function(){this.a.tb=null},v(Jn,"EPackageImpl/2",312),m(1243,1,{},Ss),v(Jn,"EPackageImpl/3",1243),m(721,44,j3,joe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},v(Jn,"EPackageRegistryImpl",721),m(503,293,{109:1,94:1,93:1,158:1,197:1,57:1,2078:1,114:1,470:1,52:1,100:1,161:1,503:1,293:1,117:1,118:1},kX),s.xh=function(n){return HHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return $l(this,n-dt((jn(),Qm)),Cn((r=u(Kn(this,16),29),r||Qm),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?HHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,10,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Qm)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Qm)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return dl(this,null,10,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Qm)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Qm)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Pl(this,n-dt((jn(),Qm)),Cn((t=u(Kn(this,16),29),t||Qm),n))},s.fi=function(){return jn(),Qm},v(Jn,"EParameterImpl",503),m(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},Ele),s.Ih=function(n,t,i){var r,c,o,l;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),l=this.t,l>1||l==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return $n(),o=Oc(this),!!(o&&(o.Bb&Ru)!=0);case 20:return $n(),(this.Bb&Ec)!=0;case 21:return t?Oc(this):this.b;case 22:return t?g1e(this):YPe(this);case 23:return!this.a&&(this.a=new qv(Km,this,23)),this.a}return $l(this,n-dt((jn(),u5)),Cn((r=u(Kn(this,16),29),r||u5),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this);case 18:return(this.Bb&Ru)!=0;case 19:return r=Oc(this),!!r&&(r.Bb&Ru)!=0;case 20:return(this.Bb&Ec)==0;case 21:return!!this.b;case 22:return!!YPe(this);case 23:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),u5)),Cn((t=u(Kn(this,16),29),t||u5),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:z2(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return;case 18:Fyn(this,ze(Be(t)));return;case 20:W1e(this,ze(Be(t)));return;case 21:Yhe(this,u(t,19));return;case 23:!this.a&&(this.a=new qv(Km,this,23)),kt(this.a),!this.a&&(this.a=new qv(Km,this,23)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),u5)),Cn((i=u(Kn(this,16),29),i||u5),n),t)},s.fi=function(){return jn(),u5},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,MB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return;case 18:Z1e(this,!1),X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),2);return;case 20:W1e(this,!0);return;case 21:Yhe(this,null);return;case 23:!this.a&&(this.a=new qv(Km,this,23)),kt(this.a);return}Jl(this,n-dt((jn(),u5)),Cn((t=u(Kn(this,16),29),t||u5),n))},s.mi=function(){g1e(this),z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.sk=function(){return Oc(this)},s.Zk=function(){var n;return n=Oc(this),!!n&&(n.Bb&Ru)!=0},s.$k=function(){return(this.Bb&Ru)!=0},s._k=function(){return(this.Bb&Ec)!=0},s.Wk=function(n,t){return this.c=null,J1e(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?Gz(this):(n=new uf(Gz(this)),n.a+=" (containment: ",jd(n,(this.Bb&Ru)!=0),n.a+=", resolveProxies: ",jd(n,(this.Bb&Ec)!=0),n.a+=")",n.a)},v(Jn,"EReferenceImpl",103),m(549,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,549:1,117:1,118:1},Bh),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return xw(this)},s.Ai=function(n){i3n(this,Pt(n))},s.ld=function(n){return Uvn(this,Pt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return $l(this,n-dt((jn(),Ac)),Cn((r=u(Kn(this,16),29),r||Ac),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Pl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.$h=function(n,t){var i;switch(n){case 0:r3n(this,Pt(t));return;case 1:Ghe(this,Pt(t));return}Hl(this,n-dt((jn(),Ac)),Cn((i=u(Kn(this,16),29),i||Ac),n),t)},s.fi=function(){return jn(),Ac},s.hi=function(n){var t;switch(n){case 0:Xhe(this,null);return;case 1:Ghe(this,null);return}Jl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:_d(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (key: ",Bc(n,this.b),n.a+=", value: ",Bc(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var Du=v(Jn,"EStringToStringMapEntryImpl",549),chn=Gi(Ri,"FeatureMap/Entry/Internal");m(562,1,eJ),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:X(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:gi(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),Ni(this.c)^(n==null?0:Ni(n))},s.Ib=function(){var n,t;return n=this.c,t=sl(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},v(Jn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),m(777,562,eJ,Tle),s.wl=function(n){return new Tle(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return T7n(this,n,this.a,t,i)},s.yl=function(n,t,i){return O7n(this,n,this.a,t,i)},v(Jn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",777),m(1304,1,{},iTe),s.wk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(U9(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(U9(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(U9(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(U9(n,this.b),219),r.Wl(this.a).Ek()},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1304),m(89,1,{},Md,Vb,Td,ng),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=tF(this,n)),!c)switch(this.e){case 50:case 41:return u(o,586)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),l==null&&t.ji(i,l=tF(this,n)),o=u(l,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,77).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),77),!c&&t.ji(i,c=tF(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=tF(this,n)),X(c,77)?u(c,77):(r=u(t.ii(i),16),new VSe(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),77),!r&&t.ji(i,r=tF(this,n)),r.Ek()},s.b=0,s.e=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),m(498,1,{}),s.xk=function(n,t,i,r,c){throw R(new _t)},s.yk=function(n,t,i,r,c){throw R(new _t)},s.Bk=function(n,t,i){return new e_e(this,n,t,i)};var g1;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",498),m(1321,1,Lne,e_e),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1321),m(770,498,{},wae),s.wk=function(n,t,i,r,c){return RW(n,n.Mh(),n.Ch())==this.b?this._k()&&r?xW(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,l;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),l=Ji(n.Ah(),this.e),n.zh(r,l,c)},s.yk=function(n,t,i,r,c){var o;return o=Ji(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=Ji(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new b9(nJ+(X(r,57)?o0e(u(r,57).Ah()):Mhe(Us(r)))+tJ+this.a+"'"));if(c=n.Mh(),l=Ji(n.Ah(),this.e),ue(r)!==ue(c)||n.Ch()!=l&&r!=null){if(k8(n,u(r,57)))throw R(new Un(BS+n.Ib()));h=null,c&&(h=(o=n.Ch(),o>=0?n.xh(h):n.Mh().Qh(n,-1-o,null,h))),f=u(r,52),f&&(h=f.Oh(n,Ji(f.Ah(),this.b),null,h)),h=n.zh(f,l,h),h&&h.mj()}else n.sh()&&n.th()&&hi(n,new Dr(n,1,l,r,r))},s.Ck=function(n,t,i){var r,c,o,l;r=n.Mh(),r?(l=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=Ji(n.Ah(),this.e),l=n.zh(null,o,l),l&&l.mj()):n.sh()&&n.th()&&hi(n,new fE(n,1,this.e,null,null))},s._k=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",770),m(1305,770,{},UNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1305),m(560,498,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:ue(o)===ue(g1)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(ue(r)===ue(g1)||!gi(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:ue(o)===ue(g1)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,g1):t.ji(i,null):(this.zl(r),t.ji(i,r)),hi(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,g1):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:ue(c)===ue(g1)?null:c),t.ki(i),hi(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw R(new cxe)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),m(N3,1,{},aw),s.Al=function(n,t,i,r,c){return new fE(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new RV(n,t,i,r,c,o)};var e7e,n7e,t7e,i7e,r7e,c7e,u7e,Hce,o7e;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",N3),m(1322,N3,{},AL),s.Al=function(n,t,i,r,c){return new Kae(n,t,i,ze(Be(r)),ze(Be(c)))},s.Bl=function(n,t,i,r,c,o){return new DLe(n,t,i,ze(Be(r)),ze(Be(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1322),m(1323,N3,{},ML),s.Al=function(n,t,i,r,c){return new Nhe(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new ALe(n,t,i,u(r,221).a,u(c,221).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1323),m(1324,N3,{},CL),s.Al=function(n,t,i,r,c){return new Ihe(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new MLe(n,t,i,u(r,180).a,u(c,180).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1324),m(1325,N3,{},bU),s.Al=function(n,t,i,r,c){return new Uae(n,t,i,ne(re(r)),ne(re(c)))},s.Bl=function(n,t,i,r,c,o){return new CLe(n,t,i,ne(re(r)),ne(re(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1325),m(1326,N3,{},Uk),s.Al=function(n,t,i,r,c){return new Lhe(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new TLe(n,t,i,u(r,164).a,u(c,164).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1326),m(1327,N3,{},zh),s.Al=function(n,t,i,r,c){return new Xae(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new OLe(n,t,i,u(r,15).a,u(c,15).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1327),m(1328,N3,{},p0),s.Al=function(n,t,i,r,c){return new Dhe(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new NLe(n,t,i,u(r,190).a,u(c,190).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1328),m(1329,N3,{},TL),s.Al=function(n,t,i,r,c){return new _he(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new ILe(n,t,i,u(r,191).a,u(c,191).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1329),m(1307,560,{},r_e),s.zl=function(n){if(!this.a.dk(n))throw R(new b9(nJ+Us(n)+tJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1307),m(1308,560,{},JIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1308),m(771,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):ue(o)===ue(g1)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,g1):(this.zl(r),t.ji(i,r)),hi(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,g1):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):ue(c)===ue(g1)&&(c=null),t.ki(i),hi(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",771),m(1309,771,{},c_e),s.zl=function(n){if(!this.a.dk(n))throw R(new b9(nJ+Us(n)+tJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1309),m(1310,771,{},HIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1310),m(402,498,{},hR),s.wk=function(n,t,i,r,c){var o,l,f,h,g;if(g=t.ii(i),this.rk()&&ue(g)===ue(g1))return null;if(this._k()&&r&&g!=null){if(f=u(g,52),f.Sh()&&(h=J0(n,f),f!=h)){if(!JW(this.a,h))throw R(new b9(nJ+Us(h)+tJ+this.a+"'"));t.ji(i,g=h),this.$k()&&(o=u(h,52),l=f.Qh(n,this.b?Ji(f.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,null),!o.Mh()&&(l=o.Oh(n,this.b?Ji(o.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,l)),l&&l.mj()),n.sh()&&n.th()&&hi(n,new fE(n,9,this.e,f,h))}return g}else return g},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),ue(l)===ue(g1)&&(l=null),t.ji(i,r),this.Kj()?ue(l)!==ue(r)&&l!=null&&(o=u(l,52),c=o.Qh(n,Ji(o.Ah(),this.b),null,c)):this.$k()&&l!=null&&(c=u(l,52).Qh(n,-1-Ji(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new E0(4)),c.lj(new fE(n,1,this.e,l,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),ue(o)===ue(g1)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new E0(4)),this.rk()?c.lj(new fE(n,2,this.e,o,null)):c.lj(new fE(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new b9(nJ+(X(r,57)?o0e(u(r,57).Ah()):Mhe(Us(r)))+tJ+this.a+"'"));h=t.ii(i),f=h!=null,this.rk()&&ue(h)===ue(g1)&&(h=null),l=null,this.Kj()?ue(h)!==ue(r)&&(h!=null&&(c=u(h,52),l=c.Qh(n,Ji(c.Ah(),this.b),null,l)),r!=null&&(c=u(r,52),l=c.Oh(n,Ji(c.Ah(),this.b),null,l))):this.$k()&&ue(h)!==ue(r)&&(h!=null&&(l=u(h,52).Qh(n,-1-Ji(n.Ah(),this.e),null,l)),r!=null&&(l=u(r,52).Oh(n,-1-Ji(n.Ah(),this.e),null,l))),r==null&&this.rk()?t.ji(i,g1):t.ji(i,r),n.sh()&&n.th()?(o=new RV(n,1,this.e,h,r,this.rk()&&!f),l?(l.lj(o),l.mj()):hi(n,o)):l&&l.mj()},s.Ck=function(n,t,i){var r,c,o,l,f;f=t.ii(i),l=f!=null,this.rk()&&ue(f)===ue(g1)&&(f=null),o=null,f!=null&&(this.Kj()?(r=u(f,52),o=r.Qh(n,Ji(r.Ah(),this.b),null,o)):this.$k()&&(o=u(f,52).Qh(n,-1-Ji(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new RV(n,this.rk()?2:1,this.e,f,null,l),o?(o.lj(c),o.mj()):hi(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),m(561,402,{},BK),s.$k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),m(1313,561,{},HOe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1313),m(773,561,{},yle),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",773),m(1315,773,{},GOe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1315),m(638,561,{},ZK),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",638),m(1314,638,{},XNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1314),m(774,638,{},nfe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",774),m(1316,774,{},KNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1316),m(639,402,{},kle),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",639),m(1317,639,{},qOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1317),m(775,639,{},tfe),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",775),m(1318,775,{},VNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1318),m(1311,402,{},UOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1311),m(772,402,{},ife),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",772),m(1312,772,{},YNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1312),m(776,562,eJ,Zfe),s.wl=function(n){return new Zfe(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return A9n(this,n,this.b,i)},s.yl=function(n,t,i){return M9n(this,n,this.b,i)},v(Jn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",776),m(1319,1,Lne,VSe),s.Dk=function(n){return this.a},s.Oj=function(){return X(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){X(this.a,98)?u(this.a,98).Ek():this.a.$b()},v(Jn,"EStructuralFeatureImpl/SettingMany",1319),m(1320,562,eJ,jPe),s.vl=function(n){return new JK((Si(),gA),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1320),m(640,562,eJ,JK),s.vl=function(n){return new JK(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",640),m(396,492,Nh,Nl),s.$i=function(n){return le(yf,Nn,29,n,0,1)},s.Wi=function(){return!1},v(Jn,"ESuperAdapter/1",396),m(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,834:1,52:1,100:1,161:1,446:1,117:1,118:1},Xk),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new uE(this,Rc,this)),this.a}return $l(this,n-dt((jn(),Mp)),Cn((r=u(Kn(this,16),29),r||Mp),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.a&&(this.a=new uE(this,Rc,this)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Mp)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Mp)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),Mp)),Cn((t=u(Kn(this,16),29),t||Mp),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:!this.a&&(this.a=new uE(this,Rc,this)),kt(this.a),!this.a&&(this.a=new uE(this,Rc,this)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),Mp)),Cn((i=u(Kn(this,16),29),i||Mp),n),t)},s.fi=function(){return jn(),Mp},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:!this.a&&(this.a=new uE(this,Rc,this)),kt(this.a);return}Jl(this,n-dt((jn(),Mp)),Cn((t=u(Kn(this,16),29),t||Mp),n))},v(Jn,"ETypeParameterImpl",446),m(447,81,au,uE),s.Lj=function(n,t){return mMn(this,u(n,87),t)},s.Mj=function(n,t){return vMn(this,u(n,87),t)},v(Jn,"ETypeParameterImpl/1",447),m(637,44,j3,jX),s.ec=function(){return new _P(this)},v(Jn,"ETypeParameterImpl/2",637),m(557,Ua,fs,_P),s.Ec=function(n){return xNe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),ei(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){Hu(this.a)},s.Gc=function(n){return so(this.a,n)},s.Jc=function(){var n;return n=new J2(new sn(this.a).a),new LP(n)},s.Kc=function(n){return s$e(this,n)},s.gc=function(){return Tj(this.a)},v(Jn,"ETypeParameterImpl/2/1",557),m(558,1,Fr,LP),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(c3(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){jRe(this.a)},v(Jn,"ETypeParameterImpl/2/1/1",558),m(1281,44,j3,Rxe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},s.xc=function(n){var t,i;return t=$r(n)?lo(this,n):bu(Xc(this.f,n)),X(t,835)?(i=u(t,835),t=i.Ik(),ei(this,u(n,241),t),t):t??(n==null?(zX(),ohn):null)},v(Jn,"EValidatorRegistryImpl",1281),m(1303,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2002:1,52:1,100:1,161:1,117:1,118:1},hw),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 25:return R8n(t);case 27:return Z9n(t);case 28:return e8n(t);case 29:return t==null?null:KTe(lA[0],u(t,205));case 41:return t==null?"":Bb(u(t,298));case 42:return fu(t);case 50:return Pt(t);default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,D,B;switch(n.G==-1&&(n.G=(S=sl(n),S?Bd(S.si(),n):-1)),n.G){case 0:return i=new vX,i;case 1:return t=new _b,t;case 2:return r=new oj,r;case 4:return c=new RP,c;case 5:return o=new $xe,o;case 6:return l=new exe,l;case 7:return f=new LC,f;case 10:return g=new xv,g;case 11:return p=new yX,p;case 12:return y=new h_e,y;case 13:return A=new kX,A;case 14:return O=new Ele,O;case 17:return D=new Bh,D;case 18:return h=new mw,h;case 19:return B=new Xk,B;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new Goe(t);case 21:return t==null?null:new C0(t);case 23:case 22:return t==null?null:PEn(t);case 26:case 24:return t==null?null:dO(hl(t,-128,127)<<24>>24);case 25:return IOn(t);case 27:return mxn(t);case 28:return vxn(t);case 29:return RMn(t);case 32:case 31:return t==null?null:Q2(t);case 38:case 37:return t==null?null:new doe(t);case 40:case 39:return t==null?null:ye(hl(t,Xr,oi));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:K2(nF(t));case 49:case 48:return t==null?null:f8(hl(t,iJ,32767)<<16>>16);case 50:return t;default:throw R(new Un(l7+n.ve()+lp))}},v(Jn,"EcoreFactoryImpl",1303),m(548,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2e3:1,52:1,100:1,161:1,184:1,548:1,117:1,118:1,680:1},$De),s.gb=!1,s.hb=!1;var s7e,uhn=!1;v(Jn,"EcorePackageImpl",548),m(1199,1,{835:1},Av),s.Ik=function(){return pOe(),shn},v(Jn,"EcorePackageImpl/1",1199),m(1208,1,ii,dw),s.dk=function(n){return X(n,158)},s.ek=function(n){return le(tD,Nn,158,n,0,1)},v(Jn,"EcorePackageImpl/10",1208),m(1209,1,ii,oC),s.dk=function(n){return X(n,197)},s.ek=function(n){return le(_ce,Nn,197,n,0,1)},v(Jn,"EcorePackageImpl/11",1209),m(1210,1,ii,sC),s.dk=function(n){return X(n,57)},s.ek=function(n){return le(kb,Nn,57,n,0,1)},v(Jn,"EcorePackageImpl/12",1210),m(1211,1,ii,m0),s.dk=function(n){return X(n,403)},s.ek=function(n){return le(kf,cme,62,n,0,1)},v(Jn,"EcorePackageImpl/13",1211),m(1212,1,ii,OL),s.dk=function(n){return X(n,241)},s.ek=function(n){return le(Ma,Nn,241,n,0,1)},v(Jn,"EcorePackageImpl/14",1212),m(1213,1,ii,K5),s.dk=function(n){return X(n,503)},s.ek=function(n){return le(xp,Nn,2078,n,0,1)},v(Jn,"EcorePackageImpl/15",1213),m(1214,1,ii,V6),s.dk=function(n){return X(n,103)},s.ek=function(n){return le(Vm,O3,19,n,0,1)},v(Jn,"EcorePackageImpl/16",1214),m(1215,1,ii,Y6),s.dk=function(n){return X(n,179)},s.ek=function(n){return le(ns,O3,179,n,0,1)},v(Jn,"EcorePackageImpl/17",1215),m(1216,1,ii,V5),s.dk=function(n){return X(n,470)},s.ek=function(n){return le(Xm,Nn,470,n,0,1)},v(Jn,"EcorePackageImpl/18",1216),m(1217,1,ii,NL),s.dk=function(n){return X(n,549)},s.ek=function(n){return le(Du,UZe,549,n,0,1)},v(Jn,"EcorePackageImpl/19",1217),m(1200,1,ii,IL),s.dk=function(n){return X(n,335)},s.ek=function(n){return le(Km,O3,38,n,0,1)},v(Jn,"EcorePackageImpl/2",1200),m(1218,1,ii,Q6),s.dk=function(n){return X(n,248)},s.ek=function(n){return le(Rc,len,87,n,0,1)},v(Jn,"EcorePackageImpl/20",1218),m(1219,1,ii,DL),s.dk=function(n){return X(n,446)},s.ek=function(n){return le(Fo,Nn,834,n,0,1)},v(Jn,"EcorePackageImpl/21",1219),m(1220,1,ii,Kk),s.dk=function(n){return p2(n)},s.ek=function(n){return le(Qi,Ae,473,n,8,1)},v(Jn,"EcorePackageImpl/22",1220),m(1221,1,ii,_L),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(Jn,"EcorePackageImpl/23",1221),m(1222,1,ii,gU),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(A4,Ae,221,n,0,1)},v(Jn,"EcorePackageImpl/24",1222),m(1223,1,ii,wU),s.dk=function(n){return X(n,180)},s.ek=function(n){return le(QS,Ae,180,n,0,1)},v(Jn,"EcorePackageImpl/25",1223),m(1224,1,ii,Ju),s.dk=function(n){return X(n,205)},s.ek=function(n){return le(dJ,Ae,205,n,0,1)},v(Jn,"EcorePackageImpl/26",1224),m(1225,1,ii,Do),s.dk=function(n){return!1},s.ek=function(n){return le(A7e,Nn,2174,n,0,1)},v(Jn,"EcorePackageImpl/27",1225),m(1226,1,ii,Hc),s.dk=function(n){return m2(n)},s.ek=function(n){return le(gr,Ae,346,n,7,1)},v(Jn,"EcorePackageImpl/28",1226),m(1227,1,ii,nu),s.dk=function(n){return X(n,61)},s.ek=function(n){return le(F8e,lm,61,n,0,1)},v(Jn,"EcorePackageImpl/29",1227),m(1201,1,ii,io),s.dk=function(n){return X(n,504)},s.ek=function(n){return le(Zt,{3:1,4:1,5:1,1995:1},587,n,0,1)},v(Jn,"EcorePackageImpl/3",1201),m(1228,1,ii,k1),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(G8e,Nn,2001,n,0,1)},v(Jn,"EcorePackageImpl/30",1228),m(1229,1,ii,e2),s.dk=function(n){return X(n,163)},s.ek=function(n){return le(d7e,lm,163,n,0,1)},v(Jn,"EcorePackageImpl/31",1229),m(1230,1,ii,Y5),s.dk=function(n){return X(n,75)},s.ek=function(n){return le(CG,men,75,n,0,1)},v(Jn,"EcorePackageImpl/32",1230),m(1231,1,ii,lC),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(p7,Ae,164,n,0,1)},v(Jn,"EcorePackageImpl/33",1231),m(1232,1,ii,bw),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(Jn,"EcorePackageImpl/34",1232),m(1233,1,ii,zs),s.dk=function(n){return X(n,298)},s.ek=function(n){return le(mme,Nn,298,n,0,1)},v(Jn,"EcorePackageImpl/35",1233),m(1234,1,ii,n2),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Ae,190,n,0,1)},v(Jn,"EcorePackageImpl/36",1234),m(1235,1,ii,Mv),s.dk=function(n){return X(n,92)},s.ek=function(n){return le(vme,Nn,92,n,0,1)},v(Jn,"EcorePackageImpl/37",1235),m(1236,1,ii,fC),s.dk=function(n){return X(n,588)},s.ek=function(n){return le(l7e,Nn,588,n,0,1)},v(Jn,"EcorePackageImpl/38",1236),m(1237,1,ii,j1),s.dk=function(n){return!1},s.ek=function(n){return le(M7e,Nn,2175,n,0,1)},v(Jn,"EcorePackageImpl/39",1237),m(1202,1,ii,Q5),s.dk=function(n){return X(n,88)},s.ek=function(n){return le(yf,Nn,29,n,0,1)},v(Jn,"EcorePackageImpl/4",1202),m(1238,1,ii,W6),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Ae,191,n,0,1)},v(Jn,"EcorePackageImpl/40",1238),m(1239,1,ii,Fh),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(Jn,"EcorePackageImpl/41",1239),m(1240,1,ii,aC),s.dk=function(n){return X(n,585)},s.ek=function(n){return le(H8e,Nn,585,n,0,1)},v(Jn,"EcorePackageImpl/42",1240),m(1241,1,ii,Vk),s.dk=function(n){return!1},s.ek=function(n){return le(C7e,Ae,2176,n,0,1)},v(Jn,"EcorePackageImpl/43",1241),m(1242,1,ii,LL),s.dk=function(n){return X(n,45)},s.ek=function(n){return le(Eg,rF,45,n,0,1)},v(Jn,"EcorePackageImpl/44",1242),m(1203,1,ii,Yk),s.dk=function(n){return X(n,143)},s.ek=function(n){return le(Ca,Nn,143,n,0,1)},v(Jn,"EcorePackageImpl/5",1203),m(1204,1,ii,Qk),s.dk=function(n){return X(n,159)},s.ek=function(n){return le(zce,Nn,159,n,0,1)},v(Jn,"EcorePackageImpl/6",1204),m(1205,1,ii,t2),s.dk=function(n){return X(n,459)},s.ek=function(n){return le(MG,Nn,675,n,0,1)},v(Jn,"EcorePackageImpl/7",1205),m(1206,1,ii,tf),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(td,Nn,684,n,0,1)},v(Jn,"EcorePackageImpl/8",1206),m(1207,1,ii,i2),s.dk=function(n){return X(n,469)},s.ek=function(n){return le(sA,Nn,469,n,0,1)},v(Jn,"EcorePackageImpl/9",1207),m(1019,2042,qZe,sAe),s.Ki=function(n,t){gjn(this,u(t,415))},s.Oi=function(n,t){aqe(this,n,u(t,415))},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1019),m(1020,151,HN,MDe),s.hj=function(){return this.a.a},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1020),m(1047,1046,{},RTe),v("org.eclipse.emf.ecore.plugin","EcorePlugin",1047);var l7e=Gi(ven,"Resource");m(786,1485,yen),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new dX(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Wn(0,n.length),n.charCodeAt(0)==47){for(o=new xo(4),c=1,t=1;t0&&(n=(Qr(0,i,n.length),n.substr(0,i))));return xTn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return Bb(this.Pm)+"@"+(n=Ni(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,v(Pne,"ResourceImpl",786),m(1486,786,yen,YSe),v(Pne,"BinaryResourceImpl",1486),m(1159,697,One),s._i=function(n){return X(n,57)?tyn(this,u(n,57)):X(n,588)?new st(u(n,588).Cl()):ue(n)===ue(this.f)?u(n,18).Jc():(T9(),cD.a)},s.Ob=function(){return nbe(this)},s.a=!1,v(Ri,"EcoreUtil/ContentTreeIterator",1159),m(1487,1159,One,iDe),s._i=function(n){return ue(n)===ue(this.f)?u(n,16).Jc():new rPe(u(n,57))},v(Pne,"ResourceImpl/5",1487),m(647,2054,sen,dX),s.Gc=function(n){return this.i<=4?E8(this,n):X(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):gY(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return le(kb,Nn,57,n,0,1)},s.Wi=function(){return!1},v(Pne,"ResourceImpl/ContentsEList",647),m(953,2024,J8,QSe),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},v(Ri,"AbstractSequentialInternalEList/1",953);var f7e,a7e,nc,h7e;m(625,1,{},uIe);var TG,OG;v(Ri,"BasicExtendedMetaData",625),m(1150,1,{},rTe),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&KC(this,NMn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return En(),En(),Sc},s.ve=function(){return this.c==d7&&oX(this,DJe(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=d7,v(Ri,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1150),m(1151,1,{},LLe),s.Hl=function(){return this.a==(q9(),TG)&&NP(this,gDn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(q9(),TG)&&l9(this,wDn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&lX(this,Z_n(this.f,this.b)),this.d},s.ve=function(){return this.e==d7&&YC(this,DJe(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&d(this,WAn(this.f,this.b)),this.g},s.e=d7,s.g=-2,v(Ri,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1151),m(1149,1,{},cTe),s.b=!1,s.c=!1,v(Ri,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1149),m(1152,1,{},PLe),s.c=-2,s.e=d7,s.f=d7,v(Ri,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1152),m(581,623,au,iR),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,v(Ri,"EDataTypeEList",581);var d7e=Gi(Ri,"FeatureMap");m(76,581,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},tr),s._c=function(n,t){PNn(this,n,u(t,75))},s.Ec=function(n){return ZOn(this,u(n,75))},s.Fi=function(n){Q3n(this,u(n,75))},s.Lj=function(n,t){return C2n(this,u(n,75),t)},s.Mj=function(n,t){return Xle(this,u(n,75),t)},s.Ri=function(n,t){return u_n(this,n,t)},s.Ui=function(n,t){return KPn(this,n,u(t,75))},s.fd=function(n,t){return kIn(this,n,u(t,75))},s.Sj=function(n,t){return T2n(this,u(n,75),t)},s.Tj=function(n,t){return DNe(this,u(n,75),t)},s.Uj=function(n,t,i){return FAn(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return oW(this,n,u(t,75))},s.Ml=function(n,t){return Vbe(this,n,t)},s.ad=function(n,t){var i,r,c,o,l,f,h,g,p;for(g=new $w(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),G1(this.e,o))(!o.Qi()||!XR(this,o,r.kd())&&!E8(g,r))&&Et(g,r);else{for(p=Po(this.e.Ah(),o),i=u(this.g,122),l=!0,f=0;f=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},v(Ri,"BasicFeatureMap/FeatureEIterator",412),m(666,412,e1,SK),s.sl=function(){return!0},v(Ri,"BasicFeatureMap/ResolvingFeatureEIterator",666),m(951,482,WF,WTe),s.nj=function(){return this},v(Ri,"EContentsEList/1",951),m(952,482,WF,ETe),s.sl=function(){return!1},v(Ri,"EContentsEList/2",952),m(950,287,ZF,ZTe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},v(Ri,"EContentsEList/FeatureIteratorImpl/1",950),m(824,581,au,nle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EDataTypeEList/Unsettable",824),m(1920,581,au,cOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList",1920),m(1921,824,au,uOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList/Unsettable",1921),m(145,81,au,rs),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Resolving",145),m(1153,543,au,rOe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Unsettable/Resolving",1153),m(753,14,au,zle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectContainmentWithInverseEList/Unsettable",753),m(1187,753,au,yNe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1187),m(745,491,au,ele),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectEList/Unsettable",745),m(339,491,au,qv),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectResolvingEList",339),m(1825,745,au,oOe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectResolvingEList/Unsettable",1825),m(1488,1,{},W5);var ohn;v(Ri,"EObjectValidator",1488),m(547,491,au,jR),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectWithInverseEList",547),m(1190,547,au,kNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/ManyInverse",1190),m(626,547,au,qK),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectWithInverseEList/Unsettable",626),m(1189,626,au,jNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/Unsettable/ManyInverse",1189),m(754,547,au,Fle),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList",754),m(33,754,au,In),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/ManyInverse",33),m(755,626,au,Jle),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList/Unsettable",755),m(1188,755,au,ENe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1188),m(1154,623,au),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&Q0)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&qf)!=0},s.dk=function(n){return this.d?aPe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;kt(this),(this.b&2)!=0&&(Fs(this.e)?(n=(this.b&1)!=0,this.b&=-2,d9(this,new Pf(this.e,2,Ji(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,v(Ri,"EcoreEList/Generic",1154),m(1155,1154,au,w_e),s.Jk=function(){return this.a},v(Ri,"EcoreEList/Dynamic",1155),m(752,67,Nh,soe),s.$i=function(n){return wO(this.a.a,n)},v(Ri,"EcoreEMap/1",752),m(751,81,au,$fe),s.Ki=function(n,t){dz(this.b,u(t,136))},s.Mi=function(n,t){pze(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){wQ(this.b,u(t,136))},s.Pi=function(n,t,i){wQ(this.b,u(i,136)),ue(i)===ue(t)&&u(i,136).zi(Awn(u(t,136).jd())),dz(this.b,u(t,136))},v(Ri,"EcoreEMap/DelegateEObjectContainmentEList",751),m(1185,142,rme,CBe),v(Ri,"EcoreEMap/Unsettable",1185),m(1186,751,au,SNe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1186),m(1158,223,j3,vDe),s.a=!1,s.b=!1,v(Ri,"EcoreUtil/Copier",1158),m(747,1,Fr,rPe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return mJe(this)},s.Pb=function(){var n;return mJe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},v(Ri,"EcoreUtil/ProperContentIterator",747),m(1489,1488,{},FU);var shn;v(Ri,"EcoreValidator",1489);var lhn;Gi(Ri,"FeatureMapUtil/Validator"),m(1258,1,{2003:1},gw),s.$l=function(n){return!0},v(Ri,"FeatureMapUtil/1",1258),m(760,1,{2003:1},Cge),s.$l=function(n){var t;return this.c==n?!0:(t=Be(zn(this.a,n)),t==null?kDn(this,n)?(ZPe(this.a,n,($n(),w7)),!0):(ZPe(this.a,n,($n(),cb)),!1):t==($n(),w7))},s.e=!1;var Gce;v(Ri,"FeatureMapUtil/BasicValidator",760),m(761,44,j3,Qse),v(Ri,"FeatureMapUtil/BasicValidator/Cache",761),m(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,72:1,98:1},jT),s._c=function(n,t){uXe(this.c,this.b,n,t)},s.Ec=function(n){return Vbe(this.c,this.b,n)},s.ad=function(n,t){return zLn(this.c,this.b,n,t)},s.Fc=function(n){return Zj(this,n)},s.Ei=function(n,t){A8n(this.c,this.b,n,t)},s.Uk=function(n,t){return Fbe(this.c,this.b,n,t)},s.Yi=function(n){return Yz(this.c,this.b,n,!1)},s.Gi=function(){return ITe(this.c,this.b)},s.Hi=function(){return mwn(this.c,this.b)},s.Ii=function(n){return C9n(this.c,this.b,n)},s.Vk=function(n,t){return iNe(this,n,t)},s.$b=function(){fy(this)},s.Gc=function(n){return XR(this.c,this.b,n)},s.Hc=function(n){return M7n(this.c,this.b,n)},s.Xb=function(n){return Yz(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return R6n(this.c,this.b,n)},s.dc=function(){return N$(this)},s.Oj=function(){return!LO(this.c,this.b)},s.Jc=function(){return f8n(this.c,this.b)},s.cd=function(){return a8n(this.c,this.b)},s.dd=function(n){return Ijn(this.c,this.b,n)},s.Ri=function(n,t){return EKe(this.c,this.b,n,t)},s.Si=function(n,t){I9n(this.c,this.b,n,t)},s.ed=function(n){return YGe(this.c,this.b,n)},s.Kc=function(n){return qDn(this.c,this.b,n)},s.fd=function(n,t){return IKe(this.c,this.b,n,t)},s.Wb=function(n){Nz(this.c,this.b),Zj(this,u(n,16))},s.gc=function(){return Djn(this.c,this.b)},s.Nc=function(){return B4n(this.c,this.b)},s.Oc=function(n){return B6n(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new kd,t.a+="[",n=ITe(this.c,this.b);uQ(n);)Bc(t,nE(az(n))),uQ(n)&&(t.a+=To);return t.a+="]",t.a},s.Ek=function(){Nz(this.c,this.b)},v(Ri,"FeatureMapUtil/FeatureEList",495),m(634,39,HN,cY),s.fj=function(n){return zE(this,n)},s.kj=function(n){var t,i,r,c,o,l,f;switch(this.d){case 1:case 2:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.d=5,t=new $w(2),Et(t,this.g),Et(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return this.d=6,f=new $w(2),Et(f,this.n),Et(f,n.ij()),this.n=f,l=F(z($t,1),ni,30,15,[this.o,n.jj()]),this.g=l,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),ue(o)===ue(this.c)&&zE(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),l=u(this.g,54),r=le($t,ni,30,l.length+1,15,1),Wu(l,0,r,0,l.length),r[l.length]=n.jj(),this.g=r,!0;break}}break}}return!1},v(Ri,"FeatureMapUtil/FeatureENotificationImpl",634),m(553,495,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},sR),s.Ml=function(n,t){return Vbe(this.c,n,t)},s.Nl=function(n,t,i){return Fbe(this.c,n,t,i)},s.Ol=function(n,t,i){return wge(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return sN(this.c,n,t)},s.Rl=function(n){return u(Yz(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(Yz(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!LO(this.c,n)},s.Vl=function(n,t){Qz(this.c,n,t)},s.Wl=function(n){return PBe(this.c,n)},s.Xl=function(n){pHe(this.c,n)},v(Ri,"FeatureMapUtil/FeatureFeatureMap",553),m(1257,1,Lne,sTe),s.Dk=function(n){return Yz(this.b,this.a,-1,n)},s.Oj=function(){return!LO(this.b,this.a)},s.Wb=function(n){Qz(this.b,this.a,n)},s.Ek=function(){Nz(this.b,this.a)},v(Ri,"FeatureMapUtil/FeatureValue",1257);var t6,qce,Uce,i6,fhn,oD=Gi(oJ,"AnyType");m(670,63,q1,TX),v(oJ,"InvalidDatatypeValueException",670);var NG=Gi(oJ,jen),sD=Gi(oJ,Een),b7e=Gi(oJ,Sen),ahn,Bu,g7e,Bg,hhn,dhn,bhn,ghn,whn,phn,mhn,vhn,yhn,khn,jhn,o5,Ehn,s5,dA,Shn,Cp,lD,fD,xhn,bA,gA;m(828,501,{109:1,94:1,93:1,57:1,52:1,100:1,841:1},Eoe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b)}return $l(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new tr(this,0)),cN(this.c,n,i);case 1:return(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new tr(this,2)),cN(this.b,n,i)}return r=u(Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),t),69),r.uk().yk(this,Ehe(this),t-dt(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Pl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),JT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),JT(this.b,t);return}Hl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),g7e},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return}Jl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (mixed: ",Vj(n,this.c),n.a+=", anyAttribute: ",Vj(n,this.b),n.a+=")",n.a)},v(kr,"AnyTypeImpl",828),m(671,501,{109:1,94:1,93:1,57:1,52:1,100:1,2081:1,671:1},pU),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return $l(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Pl(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:T(this,Pt(t));return;case 1:Q(this,Pt(t));return}Hl(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),o5},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}Jl(this,n-dt((Si(),o5)),Cn((this.j&2)==0?o5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (data: ",Bc(n,this.a),n.a+=", target: ",Bc(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,v(kr,"ProcessingInstructionImpl",671),m(672,828,{109:1,94:1,93:1,57:1,52:1,100:1,841:1,2082:1,672:1},Bxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b);case 3:return!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0));case 4:return Gle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0))));case 5:return this.a}return $l(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0))!=null;case 4:return Gle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),dA),!0))))!=null;case 5:return!!this.a}return Pl(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),JT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),JT(this.b,t);return;case 3:Nae(this,Pt(t));return;case 4:Nae(this,Hle(this.a,t));return;case 5:I(this,u(t,159));return}Hl(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),s5},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return;case 3:!this.c&&(this.c=new tr(this,0)),Qz(this.c,(Si(),dA),null);return;case 4:Nae(this,Hle(this.a,null));return;case 5:this.a=null;return}Jl(this,n-dt((Si(),s5)),Cn((this.j&2)==0?s5:(!this.k&&(this.k=new tl),this.k).Lk(),n))},v(kr,"SimpleAnyTypeImpl",672),m(673,501,{109:1,94:1,93:1,57:1,52:1,100:1,2083:1,673:1},zxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new tr(this,0)),this.a):(!this.a&&(this.a=new tr(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b):(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),rO(this.b));case 2:return i?(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c):(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),rO(this.c));case 3:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),lD));case 4:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),fD));case 5:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),bA));case 6:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),gA))}return $l(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new tr(this,0)),cN(this.a,n,i);case 1:return!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),Y$(this.b,n,i);case 2:return!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),Y$(this.c,n,i);case 5:return!this.a&&(this.a=new tr(this,0)),iNe(fo(this.a,(Si(),bA)),n,i)}return r=u(Cn((this.j&2)==0?(Si(),Cp):(!this.k&&(this.k=new tl),this.k).Lk(),t),69),r.uk().yk(this,Ehe(this),t-dt((Si(),Cp)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),lD)));case 4:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),fD)));case 5:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),bA)));case 6:return!this.a&&(this.a=new tr(this,0)),!N$(fo(this.a,(Si(),gA)))}return Pl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),JT(this.a,t);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),DB(this.b,t);return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),DB(this.c,t);return;case 3:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),lD))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,lD),u(t,18));return;case 4:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),fD))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,fD),u(t,18));return;case 5:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),bA))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,bA),u(t,18));return;case 6:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),gA))),!this.a&&(this.a=new tr(this,0)),Zj(fo(this.a,gA),u(t,18));return}Hl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),Cp},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),kt(this.a);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),lD)));return;case 4:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),fD)));return;case 5:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),bA)));return;case 6:!this.a&&(this.a=new tr(this,0)),fy(fo(this.a,(Si(),gA)));return}Jl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (mixed: ",Vj(n,this.a),n.a+=")",n.a)},v(kr,"XMLTypeDocumentRootImpl",673),m(1990,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2084:1},hC),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Pt(t);case 6:return Xpn(u(t,195));case 12:case 47:case 49:case 11:return wVe(this,n,t);case 13:return t==null?null:ULn(u(t,247));case 15:case 14:return t==null?null:F3n(ne(re(t)));case 17:return uGe((Si(),t));case 18:return uGe(t);case 21:case 20:return t==null?null:J3n(u(t,164).a);case 27:return Upn(u(t,195));case 30:return mHe((Si(),u(t,16)));case 31:return mHe(u(t,16));case 40:return qpn((Si(),t));case 42:return oGe((Si(),t));case 43:return oGe(t);case 59:case 48:return Gpn((Si(),t));default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=sl(n),i?Bd(i.si(),n):-1)),n.G){case 0:return t=new Eoe,t;case 1:return r=new pU,r;case 2:return c=new Bxe,c;case 3:return o=new zxe,o;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,D,B,U;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return fSn(t);case 8:case 7:return t==null?null:KAn(t);case 9:return t==null?null:dO(hl((r=bo(t,!0),r.length>0&&(Wn(0,r.length),r.charCodeAt(0)==43)?(Wn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:dO(hl((c=bo(t,!0),c.length>0&&(Wn(0,c.length),c.charCodeAt(0)==43)?(Wn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Pt(ep(this,(Si(),bhn),t));case 12:return Pt(ep(this,(Si(),ghn),t));case 13:return t==null?null:new Goe(bo(t,!0));case 15:case 14:return tNn(t);case 16:return Pt(ep(this,(Si(),whn),t));case 17:return yJe((Si(),t));case 18:return yJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return bo(t,!0);case 21:case 20:return hNn(t);case 22:return Pt(ep(this,(Si(),phn),t));case 23:return Pt(ep(this,(Si(),mhn),t));case 24:return Pt(ep(this,(Si(),vhn),t));case 25:return Pt(ep(this,(Si(),yhn),t));case 26:return Pt(ep(this,(Si(),khn),t));case 27:return nSn(t);case 30:return kJe((Si(),t));case 31:return kJe(t);case 32:return t==null?null:ye(hl((p=bo(t,!0),p.length>0&&(Wn(0,p.length),p.charCodeAt(0)==43)?(Wn(1,p.length+1),p.substr(1)):p),Xr,oi));case 33:return t==null?null:new C0((y=bo(t,!0),y.length>0&&(Wn(0,y.length),y.charCodeAt(0)==43)?(Wn(1,y.length+1),y.substr(1)):y));case 34:return t==null?null:ye(hl((S=bo(t,!0),S.length>0&&(Wn(0,S.length),S.charCodeAt(0)==43)?(Wn(1,S.length+1),S.substr(1)):S),Xr,oi));case 36:return t==null?null:K2(nF((A=bo(t,!0),A.length>0&&(Wn(0,A.length),A.charCodeAt(0)==43)?(Wn(1,A.length+1),A.substr(1)):A)));case 37:return t==null?null:K2(nF((O=bo(t,!0),O.length>0&&(Wn(0,O.length),O.charCodeAt(0)==43)?(Wn(1,O.length+1),O.substr(1)):O)));case 40:return QSn((Si(),t));case 42:return jJe((Si(),t));case 43:return jJe(t);case 44:return t==null?null:new C0((D=bo(t,!0),D.length>0&&(Wn(0,D.length),D.charCodeAt(0)==43)?(Wn(1,D.length+1),D.substr(1)):D));case 45:return t==null?null:new C0((B=bo(t,!0),B.length>0&&(Wn(0,B.length),B.charCodeAt(0)==43)?(Wn(1,B.length+1),B.substr(1)):B));case 46:return bo(t,!1);case 47:return Pt(ep(this,(Si(),jhn),t));case 59:case 48:return YSn((Si(),t));case 49:return Pt(ep(this,(Si(),Ehn),t));case 50:return t==null?null:f8(hl((U=bo(t,!0),U.length>0&&(Wn(0,U.length),U.charCodeAt(0)==43)?(Wn(1,U.length+1),U.substr(1)):U),iJ,32767)<<16>>16);case 51:return t==null?null:f8(hl((o=bo(t,!0),o.length>0&&(Wn(0,o.length),o.charCodeAt(0)==43)?(Wn(1,o.length+1),o.substr(1)):o),iJ,32767)<<16>>16);case 53:return Pt(ep(this,(Si(),Shn),t));case 55:return t==null?null:f8(hl((l=bo(t,!0),l.length>0&&(Wn(0,l.length),l.charCodeAt(0)==43)?(Wn(1,l.length+1),l.substr(1)):l),iJ,32767)<<16>>16);case 56:return t==null?null:f8(hl((f=bo(t,!0),f.length>0&&(Wn(0,f.length),f.charCodeAt(0)==43)?(Wn(1,f.length+1),f.substr(1)):f),iJ,32767)<<16>>16);case 57:return t==null?null:K2(nF((h=bo(t,!0),h.length>0&&(Wn(0,h.length),h.charCodeAt(0)==43)?(Wn(1,h.length+1),h.substr(1)):h)));case 58:return t==null?null:K2(nF((g=bo(t,!0),g.length>0&&(Wn(0,g.length),g.charCodeAt(0)==43)?(Wn(1,g.length+1),g.substr(1)):g)));case 60:return t==null?null:ye(hl((i=bo(t,!0),i.length>0&&(Wn(0,i.length),i.charCodeAt(0)==43)?(Wn(1,i.length+1),i.substr(1)):i),Xr,oi));case 61:return t==null?null:ye(hl(bo(t,!0),Xr,oi));default:throw R(new Un(l7+n.ve()+lp))}};var Ahn,w7e,Mhn,p7e;v(kr,"XMLTypeFactoryImpl",1990),m(582,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2006:1,582:1},PDe),s.N=!1,s.O=!1;var Chn=!1;v(kr,"XMLTypePackageImpl",582),m(1923,1,{835:1},dC),s.Ik=function(){return uge(),$hn},v(kr,"XMLTypePackageImpl/1",1923),m(1932,1,ii,PL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/10",1932),m(1933,1,ii,Z6),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/11",1933),m(1934,1,ii,bC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/12",1934),m(1935,1,ii,E1),s.dk=function(n){return m2(n)},s.ek=function(n){return le(gr,Ae,346,n,7,1)},v(kr,"XMLTypePackageImpl/13",1935),m(1936,1,ii,$L),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/14",1936),m(1937,1,ii,Jh),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/15",1937),m(1938,1,ii,RL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/16",1938),m(1939,1,ii,BL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/17",1939),m(1940,1,ii,r2),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(p7,Ae,164,n,0,1)},v(kr,"XMLTypePackageImpl/18",1940),m(1941,1,ii,Wk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/19",1941),m(1924,1,ii,gC),s.dk=function(n){return X(n,841)},s.ek=function(n){return le(oD,Nn,841,n,0,1)},v(kr,"XMLTypePackageImpl/2",1924),m(1942,1,ii,Z5),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/20",1942),m(1943,1,ii,zL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/21",1943),m(1944,1,ii,FL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/22",1944),m(1945,1,ii,JL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/23",1945),m(1946,1,ii,HL),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(kr,"XMLTypePackageImpl/24",1946),m(1947,1,ii,Zk),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/25",1947),m(1948,1,ii,wC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/26",1948),m(1949,1,ii,mU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/27",1949),m(1950,1,ii,vU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/28",1950),m(1951,1,ii,yU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/29",1951),m(1925,1,ii,GL),s.dk=function(n){return X(n,671)},s.ek=function(n){return le(NG,Nn,2081,n,0,1)},v(kr,"XMLTypePackageImpl/3",1925),m(1952,1,ii,qL),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(kr,"XMLTypePackageImpl/30",1952),m(1953,1,ii,ey),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/31",1953),m(1954,1,ii,ej),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Ae,190,n,0,1)},v(kr,"XMLTypePackageImpl/32",1954),m(1955,1,ii,UL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/33",1955),m(1956,1,ii,XL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/34",1956),m(1957,1,ii,KL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/35",1957),m(1958,1,ii,VL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/36",1958),m(1959,1,ii,YL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/37",1959),m(1960,1,ii,QL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/38",1960),m(1961,1,ii,nj),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/39",1961),m(1926,1,ii,WL),s.dk=function(n){return X(n,672)},s.ek=function(n){return le(sD,Nn,2082,n,0,1)},v(kr,"XMLTypePackageImpl/4",1926),m(1962,1,ii,ZL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/40",1962),m(1963,1,ii,ro),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/41",1963),m(1964,1,ii,pC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/42",1964),m(1965,1,ii,kU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/43",1965),m(1966,1,ii,eP),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/44",1966),m(1967,1,ii,jU),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Ae,191,n,0,1)},v(kr,"XMLTypePackageImpl/45",1967),m(1968,1,ii,EU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/46",1968),m(1969,1,ii,SU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/47",1969),m(1970,1,ii,tj),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/48",1970),m(1971,1,ii,ny),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Ae,191,n,0,1)},v(kr,"XMLTypePackageImpl/49",1971),m(1927,1,ii,mC),s.dk=function(n){return X(n,673)},s.ek=function(n){return le(b7e,Nn,2083,n,0,1)},v(kr,"XMLTypePackageImpl/5",1927),m(1972,1,ii,ij),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Ae,190,n,0,1)},v(kr,"XMLTypePackageImpl/50",1972),m(1973,1,ii,vC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/51",1973),m(1974,1,ii,c2),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Ae,15,n,0,1)},v(kr,"XMLTypePackageImpl/52",1974),m(1928,1,ii,Lb),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Ae,2,n,6,1)},v(kr,"XMLTypePackageImpl/6",1928),m(1929,1,ii,e9),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Ae,195,n,0,2)},v(kr,"XMLTypePackageImpl/7",1929),m(1930,1,ii,xU),s.dk=function(n){return p2(n)},s.ek=function(n){return le(Qi,Ae,473,n,8,1)},v(kr,"XMLTypePackageImpl/8",1930),m(1931,1,ii,nP),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(A4,Ae,221,n,0,1)},v(kr,"XMLTypePackageImpl/9",1931);var oh,u0,wA,IG,J;m(53,63,q1,Bt),v(Ud,"RegEx/ParseException",53),m(820,1,{},yC),s._l=function(n){return ni*16)throw R(new Bt(Ht((Lt(),LZe))));i=i*16+c}while(!0);if(this.a!=125)throw R(new Bt(Ht((Lt(),PZe))));if(i>b7)throw R(new Bt(Ht((Lt(),$Ze))));n=i}else{if(c=0,this.c!=0||(c=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(i=c,fi(this),this.c!=0||(c=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));i=i*16+c,n=i}break;case 117:if(r=0,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));t=t*16+r,n=t;break;case 118:if(fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,t>b7)throw R(new Bt(Ht((Lt(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw R(new Bt(Ht((Lt(),RZe))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?Y0("Nd",!0):(ai(),DG);break;case 68:i=(this.e&32)==32?Y0("Nd",!1):(ai(),E7e);break;case 119:i=(this.e&32)==32?Y0("IsWord",!0):(ai(),ek);break;case 87:i=(this.e&32)==32?Y0("IsWord",!1):(ai(),x7e);break;case 115:i=(this.e&32)==32?Y0("IsSpace",!0):(ai(),r6);break;case 83:i=(this.e&32)==32?Y0("IsSpace",!1):(ai(),S7e);break;default:throw R(new du((t=n,Ren+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,l,f,h,g,p,y,S;for(this.b=1,fi(this),t=null,this.c==0&&this.a==94?(fi(this),n?p=(ai(),ai(),new ul(5)):(t=(ai(),ai(),new ul(4)),ho(t,0,b7),p=new ul(4))):p=(ai(),ai(),new ul(4)),c=!0;(S=this.c)!=1&&!(S==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,S==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:cm(p,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(p,i),i<0&&(r=!0);break;case 112:case 80:if(y=Z0e(this,i),!y)throw R(new Bt(Ht((Lt(),Ine))));cm(p,y),r=!0;break;default:i=this.am()}else if(S==20){if(l=A9(this.i,58,this.d),l<0)throw R(new Bt(Ht((Lt(),W2e))));if(f=!0,rc(this.i,this.d)==94&&(++this.d,f=!1),o=sf(this.i,this.d,l),h=H$e(o,f,(this.e&512)==512),!h)throw R(new Bt(Ht((Lt(),OZe))));if(cm(p,h),r=!0,l+1>=this.j||rc(this.i,l+1)!=93)throw R(new Bt(Ht((Lt(),W2e))));this.d=l+2}if(fi(this),!r)if(this.c!=0||this.a!=45)ho(p,i,i);else{if(fi(this),(S=this.c)==1)throw R(new Bt(Ht((Lt(),YF))));S==0&&this.a==93?(ho(p,i,i),ho(p,45,45)):(g=this.a,S==10&&(g=this.am()),fi(this),ho(p,i,g))}(this.e&qf)==qf&&this.c==0&&this.a==44&&fi(this)}if(this.c==1)throw R(new Bt(Ht((Lt(),YF))));return t&&(pS(t,p),p=t),g3(p),gS(p),this.b=0,fi(this),p},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(fi(this),this.c!=9)throw R(new Bt(Ht((Lt(),IZe))));if(t=this.cm(!1),r==4)cm(i,t);else if(n==45)pS(i,t);else if(n==38)hVe(i,t);else throw R(new du("ASSERT"))}else throw R(new Bt(Ht((Lt(),DZe))));return fi(this),i},s.em=function(){var n,t;return n=this.a-48,t=(ai(),ai(),new JV(12,null,n)),!this.g&&(this.g=new zP),BP(this.g,new loe(n)),fi(this),t},s.fm=function(){return fi(this),ai(),Nhn},s.gm=function(){return fi(this),ai(),Ohn},s.hm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.im=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.jm=function(){return fi(this),xkn()},s.km=function(){return fi(this),ai(),Dhn},s.lm=function(){return fi(this),ai(),Lhn},s.mm=function(){var n;if(this.d>=this.j||((n=rc(this.i,this.d++))&65504)!=64)throw R(new Bt(Ht((Lt(),MZe))));return fi(this),ai(),ai(),new Uh(0,n-64)},s.nm=function(){return fi(this),K_n()},s.om=function(){return fi(this),ai(),Phn},s.pm=function(){var n;return n=(ai(),ai(),new Uh(0,105)),fi(this),n},s.qm=function(){return fi(this),ai(),_hn},s.rm=function(){return fi(this),ai(),Ihn},s.sm=function(n,t){return this.am()},s.tm=function(){return fi(this),ai(),k7e},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw R(new Bt(Ht((Lt(),SZe))));if(r=-1,t=null,n=rc(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new zP),BP(this.g,new loe(r)),++this.d,rc(this.i,this.d)!=41)throw R(new Bt(Ht((Lt(),kg))));++this.d}else switch(n==63&&--this.d,fi(this),t=Ige(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw R(new Bt(Ht((Lt(),kg))));break;default:throw R(new Bt(Ht((Lt(),xZe))))}if(fi(this),c=qw(this),i=null,c.e==2){if(c.Nm()!=2)throw R(new Bt(Ht((Lt(),AZe))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),ai(),ai(),new _Re(r,t,c,i)},s.vm=function(){return fi(this),ai(),j7e},s.wm=function(){var n;if(fi(this),n=ER(24,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.xm=function(){var n;if(fi(this),n=ER(20,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.ym=function(){var n;if(fi(this),n=ER(22,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j)throw R(new Bt(Ht((Lt(),Y2e))));if(t==45){for(++this.d;this.d=this.j)throw R(new Bt(Ht((Lt(),Y2e))))}if(t==58){if(++this.d,fi(this),r=kDe(qw(this),n,i),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));fi(this)}else if(t==41)++this.d,fi(this),r=kDe(qw(this),n,i);else throw R(new Bt(Ht((Lt(),EZe))));return r},s.Am=function(){var n;if(fi(this),n=ER(21,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Bm=function(){var n;if(fi(this),n=ER(23,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Cm=function(){var n,t;if(fi(this),n=this.f++,t=pV(qw(this),n),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),t},s.Dm=function(){var n;if(fi(this),n=pV(qw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Em=function(n){return fi(this),this.c==5?(fi(this),gR(n,(ai(),ai(),new P2(9,n)))):gR(n,(ai(),ai(),new P2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new Wj(2)),this.c==5?(fi(this),dg(t,mA),dg(t,n)):(dg(t,n),dg(t,mA)),t},s.Gm=function(n){return fi(this),this.c==5?(fi(this),ai(),ai(),new P2(9,n)):(ai(),ai(),new P2(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,v(Ud,"RegEx/RegexParser",820),m(1910,820,{},Fxe),s._l=function(n){return!1},s.am=function(){return $be(this)},s.bm=function(n){return D8(n)},s.cm=function(n){return cYe(this)},s.dm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.em=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.fm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.gm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.hm=function(){return fi(this),D8(67)},s.im=function(){return fi(this),D8(73)},s.jm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.km=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.lm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.mm=function(){return fi(this),D8(99)},s.nm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.om=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.pm=function(){return fi(this),D8(105)},s.qm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.rm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.sm=function(n,t){return cm(n,D8(t)),-1},s.tm=function(){return fi(this),ai(),ai(),new Uh(0,94)},s.um=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.vm=function(){return fi(this),ai(),ai(),new Uh(0,36)},s.wm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.xm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.ym=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.zm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Am=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Bm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Cm=function(){var n;if(fi(this),n=pV(qw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Dm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Em=function(n){return fi(this),gR(n,(ai(),ai(),new P2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new Wj(2)),dg(t,n),dg(t,mA),t},s.Gm=function(n){return fi(this),ai(),ai(),new P2(3,n)};var l5=null,W7=null;v(Ud,"RegEx/ParserForXMLSchema",1910),m(121,1,g7,pw),s.Hm=function(n){throw R(new du("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var m7e,Z7,pA,Thn,v7e,Wm=null,DG,Xce=null,y7e,mA,Kce=null,k7e,j7e,E7e,S7e,x7e,Ohn,r6,Nhn,Ihn,Dhn,_hn,ek,Lhn,Phn,ozn=v(Ud,"RegEx/Token",121);m(137,121,{3:1,137:1,121:1},ul),s.Om=function(n){var t,i,r;if(this.e==4)if(this==y7e)i=".";else if(this==DG)i="\\d";else if(this==ek)i="\\w";else if(this==r6)i="\\s";else{for(r=new kd,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,oN(this.b[t])):(Bc(r,oN(this.b[t])),r.a+="-",Bc(r,oN(this.b[t+1])));r.a+="]",i=r.a}else if(this==E7e)i="\\D";else if(this==x7e)i="\\W";else if(this==S7e)i="\\S";else{for(r=new kd,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,oN(this.b[t])):(Bc(r,oN(this.b[t])),r.a+="-",Bc(r,oN(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,v(Ud,"RegEx/RangeToken",137),m(580,1,{580:1},loe),s.a=0,v(Ud,"RegEx/RegexParser/ReferencePosition",580),m(579,1,{3:1,579:1},EMe),s.Fb=function(n){var t;return n==null||!X(n,579)?!1:(t=u(n,579),bn(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return _d(this.b+"/"+Obe(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,v(Ud,"RegEx/RegularExpression",579),m(228,121,g7,Uh),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;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:r="\\"+HK(this.a&yr);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=Ec?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+sf(i,i.length-6,i.length)):r=""+HK(this.a&yr)}break;case 8:this==k7e||this==j7e?r=""+HK(this.a&yr):r="\\"+HK(this.a&yr);break;default:r=null}return r},s.a=0,v(Ud,"RegEx/Token/CharToken",228),m(322,121,g7,P2),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw R(new du("Token#toString(): CLOSURE "+this.c+To+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw R(new du("Token#toString(): NONGREEDYCLOSURE "+this.c+To+this.b));return t},s.b=0,s.c=0,v(Ud,"RegEx/Token/ClosureToken",322),m(821,121,g7,Jfe),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},v(Ud,"RegEx/Token/ConcatToken",821),m(1908,121,g7,_Re),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw R(new du("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,v(Ud,"RegEx/Token/ConditionToken",1908),m(1909,121,g7,mLe),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":Obe(this.a))+(this.c==0?"":Obe(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,v(Ud,"RegEx/Token/ModifierToken",1909),m(822,121,g7,Wfe),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?"+this.a.Om(n)+")"}return t},s.b=0,v(Ud,"RegEx/Token/ParenToken",822),m(517,121,{3:1,121:1,517:1},JV),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:JOn(this.b)},s.a=0,v(Ud,"RegEx/Token/StringToken",517),m(466,121,g7,Wj),s.Hm=function(n){dg(this,n)},s.Jm=function(n){return u(Tw(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Tw(this.a,0),121),i=u(Tw(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new kd,r=0;r=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw R(new vd(qen))},s.a=0,s.b=0,v(pme,"ExclusiveRange/RangeIterator",259);var Zl=R9(QF,"C"),$t=R9(qS,"I"),ts=R9(d4,"Z"),Tp=R9(US,"J"),ds=R9(JS,"B"),Jr=R9(HS,"D"),Zm=R9(GS,"F"),f5=R9(XS,"S"),szn=Gi("org.eclipse.elk.core.labels","ILabelManager"),A7e=Gi(yc,"DiagnosticChain"),M7e=Gi(ven,"ResourceSet"),C7e=v(yc,"InvocationTargetException",null),Rhn=(UP(),Z6n),Bhn=Bhn=IAn;Y8n(jbn),h7n("permProps",[[["locale","default"],[Uen,"gecko1_8"]],[["locale","default"],[Uen,"safari"]]]),Bhn(null,"elk",null)}).call(this)}).call(this,typeof Fhn<"u"?Fhn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(x,M,N){function $(me){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},$(me)}function k(me,Pe,ae){return Object.defineProperty(me,"prototype",{writable:!1}),me}function H(me,Pe){if(!(me instanceof Pe))throw new TypeError("Cannot call a class as a function")}function q(me,Pe,ae){return Pe=Z(Pe),G(me,W()?Reflect.construct(Pe,ae||[],Z(me).constructor):Pe.apply(me,ae))}function G(me,Pe){if(Pe&&($(Pe)=="object"||typeof Pe=="function"))return Pe;if(Pe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ie(me)}function ie(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function W(){try{var me=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W=function(){return!!me})()}function Z(me){return Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},Z(me)}function se(me,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");me.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:me,writable:!0,configurable:!0}}),Object.defineProperty(me,"prototype",{writable:!1}),Pe&&oe(me,Pe)}function oe(me,Pe){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ae,Ne){return ae.__proto__=Ne,ae},oe(me,Pe)}var ee=x("./elk-api.js").default,Me=(function(me){function Pe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};H(this,Pe);var Ne=Object.assign({},ae),Ue=!1;try{x.resolve("web-worker"),Ue=!0}catch{}if(ae.workerUrl)if(Ue){var ln=x("web-worker");Ne.workerFactory=function(xn){return new ln(xn)}}else console.warn(`Web worker requested but 'web-worker' package not installed. +`;return c};var WBn=v(PS,"TGraph",120);m(633,494,{3:1,494:1,633:1,105:1,150:1}),v(PS,"TShape",633),m(40,633,{3:1,494:1,40:1,633:1,105:1,150:1},tQ),s.Ib=function(){return Zb(this)};var BH=v(PS,"TNode",40);m(236,1,n1,A1),s.Ic=function(n){cc(this,n)},s.Jc=function(){var n;return n=St(this.a.d,0),new Nv(n)},v(PS,"TNode/2",236),m(334,1,Fr,Nv),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(jt(this.a),65).c},s.Ob=function(){return nT(this.a)},s.Qb=function(){OY(this.a)},v(PS,"TNode/2/1",334),m(1893,1,Mi,vo),s.If=function(n,t){dBn(this,u(n,120),t)},v(go,"CompactionProcessor",1893),m(1894,1,Yt,BEe),s.Le=function(n,t){return B7n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$0$Type",1894),m(1895,1,zt,kCe),s.Mb=function(n){return n5n(this.b,this.a,u(n,49))},s.a=0,s.b=0,v(go,"CompactionProcessor/lambda$1$Type",1895),m(1904,1,Yt,Cl),s.Le=function(n,t){return K3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$10$Type",1904),m(1905,1,Yt,_k),s.Le=function(n,t){return ppn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$11$Type",1905),m(1906,1,Yt,qy),s.Le=function(n,t){return V3n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$12$Type",1906),m(1896,1,zt,zEe),s.Mb=function(n){return ipn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$2$Type",1896),m(1897,1,zt,FEe),s.Mb=function(n){return rpn(this.a,u(n,49))},s.a=0,v(go,"CompactionProcessor/lambda$3$Type",1897),m(1898,1,zt,jv),s.Mb=function(n){return u(n,40).c.indexOf($F)==-1},v(go,"CompactionProcessor/lambda$4$Type",1898),m(1899,1,{},JEe),s.Kb=function(n){return U4n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$5$Type",1899),m(Z0,1,{},HEe),s.Kb=function(n){return u8n(this.a,u(n,40))},s.a=0,v(go,"CompactionProcessor/lambda$6$Type",Z0),m(1901,1,Yt,GEe),s.Le=function(n,t){return b9n(this.a,u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$7$Type",1901),m(1902,1,Yt,qEe),s.Le=function(n,t){return g9n(this.a,u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$8$Type",1902),m(1903,1,Yt,Lk),s.Le=function(n,t){return mpn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(go,"CompactionProcessor/lambda$9$Type",1903),m(1891,1,Mi,$6),s.If=function(n,t){lDn(u(n,120),t)},v(go,"DirectionProcessor",1891),m(1883,1,Mi,gNe),s.If=function(n,t){T_n(this,u(n,120),t)},v(go,"FanProcessor",1883),m(1251,1,Mi,Uy),s.If=function(n,t){jXe(u(n,120),t)},v(go,"GraphBoundsProcessor",1251),m(1252,1,{},eU),s.We=function(n){return u(n,40).e.a},v(go,"GraphBoundsProcessor/lambda$0$Type",1252),m(1253,1,{},Bs),s.We=function(n){return u(n,40).e.b},v(go,"GraphBoundsProcessor/lambda$1$Type",1253),m(1254,1,{},xM),s.We=function(n){return Bgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$2$Type",1254),m(1255,1,{},AM),s.We=function(n){return zgn(u(n,40))},v(go,"GraphBoundsProcessor/lambda$3$Type",1255),m(264,23,{3:1,35:1,23:1,264:1,196:1},kw),s.bg=function(){switch(this.g){case 0:return new Hxe;case 1:return new gNe;case 2:return new Jxe;case 3:return new CM;case 4:return new S_;case 8:return new E_;case 5:return new $6;case 6:return new fh;case 7:return new vo;case 9:return new Uy;case 10:return new nl;default:throw R(new Un(tee+(this.f!=null?this.f:""+this.g)))}};var u4e,o4e,s4e,l4e,f4e,a4e,h4e,d4e,b4e,g4e,hre,ZBn=yt(go,iee,264,Ct,bze,Rmn),lsn;m(1890,1,Mi,E_),s.If=function(n,t){aRn(u(n,120),t)},v(go,"LevelCoordinatesProcessor",1890),m(1888,1,Mi,S_),s.If=function(n,t){DNn(this,u(n,120),t)},s.a=0,v(go,"LevelHeightProcessor",1888),m(1889,1,n1,nU),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),j9(),m7},v(go,"LevelHeightProcessor/1",1889),m(1884,1,Mi,Jxe),s.If=function(n,t){UIn(this,u(n,120),t)},v(go,"LevelProcessor",1884),m(1885,1,zt,MM),s.Mb=function(n){return ze(Be(C(u(n,40),(Ti(),gb))))},v(go,"LevelProcessor/lambda$0$Type",1885),m(1886,1,Mi,CM),s.If=function(n,t){FCn(this,u(n,120),t)},s.a=0,v(go,"NeighborsProcessor",1886),m(1887,1,n1,TM),s.Ic=function(n){cc(this,n)},s.Jc=function(){return En(),j9(),m7},v(go,"NeighborsProcessor/1",1887),m(1892,1,Mi,fh),s.If=function(n,t){M_n(this,u(n,120),t)},s.a=0,v(go,"NodePositionProcessor",1892),m(1882,1,Mi,Hxe),s.If=function(n,t){hPn(this,u(n,120),t)},v(go,"RootProcessor",1882),m(1907,1,Mi,nl),s.If=function(n,t){TSn(u(n,120),t)},v(go,"Untreeifyer",1907),m(385,23,{3:1,35:1,23:1,385:1},lK);var xI,dre,w4e,p4e=yt(zN,"EdgeRoutingMode",385,Ct,f4n,Bmn),fsn,AI,B7,bre,m4e,v4e,gre,wre,y4e,pre,k4e,mre,Bx,vre,zH,FH,Yf,xa,z7,zx,Fx,Qd,j4e,asn,yre,gb,MI,CI;m(846,1,Ka,OC),s.tf=function(n){en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Gpe),""),tWe),"Turns on Tree compaction which decreases the size of the whole tree by placing nodes of multiple levels in one large level"),($n(),!1)),(hg(),xr)),Qi),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,qpe),""),"Edge End Texture Length"),"Should be set to the length of the texture at the end of an edge. This value can be used to improve the Edge Routing."),7),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Upe),""),"Tree Level"),"The index for the tree level the node is in"),ye(0)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Xpe),""),tWe),"When set to a positive number this option will force the algorithm to place the node to the specified position within the trees layer if weighting is set to constraint"),ye(-1)),dc),jr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Kpe),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),x4e),Bi),$4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Vpe),""),"Edge Routing Mode"),"Chooses an Edge Routing algorithm."),E4e),Bi),p4e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ype),""),"Search Order"),"Which search order to use when computing a spanning tree."),S4e),Bi),B4e),rn(Tn)))),UVe((new gP,n))};var hsn,dsn,bsn,E4e,gsn,wsn,S4e,psn,msn,x4e;v(zN,"MrTreeMetaDataProvider",846),m(990,1,Ka,gP),s.tf=function(n){UVe(n)};var vsn,A4e,M4e,Sp,C4e,T4e,kre,ysn,ksn,jsn,Esn,Ssn,xsn,Asn,O4e,N4e,I4e,Msn,Q3,JH,D4e,Csn,_4e,jre,Tsn,Osn,Nsn,L4e,Isn,Lh,P4e;v(zN,"MrTreeOptions",990),m(991,1,{},Pk),s.uf=function(){var n;return n=new bNe,n},s.vf=function(n){},v(zN,"MrTreeOptions/MrtreeFactory",991),m(353,23,{3:1,35:1,23:1,353:1},j$);var Ere,HH,Sre,xre,$4e=yt(zN,"OrderWeighting",353,Ct,y6n,zmn),Dsn;m(425,23,{3:1,35:1,23:1,425:1},Ase);var R4e,Are,B4e=yt(zN,"TreeifyingOrder",425,Ct,g5n,Fmn),_sn;m(1446,1,oc,DU),s.pg=function(n){return u(n,120),Lsn},s.If=function(n,t){g7n(this,u(n,120),t)};var Lsn;v("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1446),m(1447,1,oc,hP),s.pg=function(n){return u(n,120),Psn},s.If=function(n,t){YIn(this,u(n,120),t)};var Psn;v(t7,"NodeOrderer",1447),m(1454,1,{},tU),s.rd=function(n){return pIe(n)},v(t7,"NodeOrderer/0methodref$lambda$6$Type",1454),m(1448,1,zt,C_),s.Mb=function(n){return X5(),ze(Be(C(u(n,40),(Ti(),gb))))},v(t7,"NodeOrderer/lambda$0$Type",1448),m(1449,1,zt,T_),s.Mb=function(n){return X5(),u(C(u(n,40),(Mu(),Q3)),15).a<0},v(t7,"NodeOrderer/lambda$1$Type",1449),m(1450,1,zt,XEe),s.Mb=function(n){return t7n(this.a,u(n,40))},v(t7,"NodeOrderer/lambda$2$Type",1450),m(1451,1,zt,UEe),s.Mb=function(n){return X4n(this.a,u(n,40))},v(t7,"NodeOrderer/lambda$3$Type",1451),m(1452,1,Yt,DM),s.Le=function(n,t){return k8n(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(t7,"NodeOrderer/lambda$4$Type",1452),m(1453,1,zt,O_),s.Mb=function(n){return X5(),u(C(u(n,40),(Ti(),wre)),15).a!=0},v(t7,"NodeOrderer/lambda$5$Type",1453),m(1455,1,oc,_U),s.pg=function(n){return u(n,120),$sn},s.If=function(n,t){t_n(this,u(n,120),t)},s.b=0;var $sn;v("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1455),m(1456,1,oc,TC),s.pg=function(n){return u(n,120),Rsn},s.If=function(n,t){$Dn(u(n,120),t)};var Rsn,ezn=v(Qs,"EdgeRouter",1456);m(1458,1,Yt,$k),s.Le=function(n,t){return oo(u(n,15).a,u(t,15).a)},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/0methodref$compare$Type",1458),m(1463,1,{},OM),s.We=function(n){return te(re(n))},v(Qs,"EdgeRouter/1methodref$doubleValue$Type",1463),m(1465,1,Yt,lw),s.Le=function(n,t){return ji(te(re(n)),te(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/2methodref$compare$Type",1465),m(1467,1,Yt,Rk),s.Le=function(n,t){return ji(te(re(n)),te(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/3methodref$compare$Type",1467),m(1469,1,{},R6),s.We=function(n){return te(re(n))},v(Qs,"EdgeRouter/4methodref$doubleValue$Type",1469),m(1471,1,Yt,NM),s.Le=function(n,t){return ji(te(re(n)),te(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/5methodref$compare$Type",1471),m(1473,1,Yt,IM),s.Le=function(n,t){return ji(te(re(n)),te(re(t)))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/6methodref$compare$Type",1473),m(1457,1,{},x_),s.Kb=function(n){return R1(),u(C(u(n,40),(Mu(),Lh)),15)},v(Qs,"EdgeRouter/lambda$0$Type",1457),m(1468,1,{},A_),s.Kb=function(n){return Opn(u(n,40))},v(Qs,"EdgeRouter/lambda$11$Type",1468),m(1470,1,{},ECe),s.Kb=function(n){return Wvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$13$Type",1470),m(1472,1,{},jCe),s.Kb=function(n){return Dpn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$15$Type",1472),m(1474,1,Yt,M_),s.Le=function(n,t){return oSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$17$Type",1474),m(1475,1,Yt,iU),s.Le=function(n,t){return sSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$18$Type",1475),m(1476,1,Yt,N_),s.Le=function(n,t){return fSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$19$Type",1476),m(1459,1,zt,KEe),s.Mb=function(n){return O5n(this.a,u(n,40))},s.a=0,v(Qs,"EdgeRouter/lambda$2$Type",1459),m(1477,1,Yt,I_),s.Le=function(n,t){return lSn(u(n,65),u(t,65))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$20$Type",1477),m(1460,1,Yt,D_),s.Le=function(n,t){return Fvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$3$Type",1460),m(1461,1,Yt,_M),s.Le=function(n,t){return Jvn(u(n,40),u(t,40))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"EdgeRouter/lambda$4$Type",1461),m(1462,1,{},__),s.Kb=function(n){return Npn(u(n,40))},v(Qs,"EdgeRouter/lambda$5$Type",1462),m(1464,1,{},SCe),s.Kb=function(n){return Zvn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$7$Type",1464),m(1466,1,{},xCe),s.Kb=function(n){return Ipn(this.b,this.a,u(n,40))},s.a=0,s.b=0,v(Qs,"EdgeRouter/lambda$9$Type",1466),m(662,1,{662:1},wHe),s.e=0,s.f=!1,s.g=!1,v(Qs,"MultiLevelEdgeNodeNodeGap",662),m(1864,1,Yt,L_),s.Le=function(n,t){return H5n(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1864),m(1865,1,Yt,P_),s.Le=function(n,t){return G5n(u(n,240),u(t,240))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(Qs,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1865);var W3;m(487,23,{3:1,35:1,23:1,487:1,188:1,196:1},Mse),s.bg=function(){return eJe(this)},s.og=function(){return eJe(this)};var GH,Z3,z4e=yt(Qpe,"RadialLayoutPhases",487,Ct,w5n,Jmn),Bsn;m(1083,214,ip,GAe),s.kf=function(n,t){var i,r,c,o,l,f;if(i=WUe(this,n),t.Tg("Radial layout",i.c.length),ze(Be(ke(n,(X0(),Q4e))))||KT((r=new mj((Fb(),new k0(n))),r)),f=uMn(n),Ei(n,(Xv(),W3),f),!f)throw R(new Un("The given graph is not a tree!"));for(c=te(re(ke(n,XH))),c==0&&(c=Aqe(n)),Ei(n,XH,c),l=new P(WUe(this,n));l.a=3)for(fe=u(K(ie,0),26),De=u(K(ie,1),26),o=0;o+2=fe.f+De.f+p||De.f>=be.f+fe.f+p){un=!0;break}else++o;else un=!0;if(!un){for(S=ie.i,f=new st(ie);f.e!=f.i.gc();)l=u(ft(f),26),Ei(l,(Xt(),FI),ye(S)),--S;CKe(n,new h5),t.Ug();return}for(i=(HT(this.a),ha(this.a,(iz(),Jx),u(ke(n,C6e),188)),ha(this.a,KH,u(ke(n,j6e),188)),ha(this.a,Rre,u(ke(n,x6e),188)),Hse(this.a,(On=new or,qt(On,Jx,(Az(),Fre)),qt(On,KH,zre),ze(Be(ke(n,y6e)))&&qt(On,Jx,Jre),ze(Be(ke(n,v6e)))&&qt(On,Jx,Bre),On)),lN(this.a,n)),g=1/i.c.length,O=new P(i);O.a0&&jFe((Wn(t-1,n.length),n.charCodeAt(t-1)),mQe);)--t;if(r>=t)throw R(new Un("The given string does not contain any numbers."));if(c=rm((Qr(r,t,n.length),n.substr(r,t-r)),`,|;|\r| +`),c.length!=2)throw R(new Un("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Q2(W2(c[0])),this.b=Q2(W2(c[1]))}catch(o){throw o=sr(o),X(o,131)?(i=o,R(new Un(vQe+i))):R(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var Lr=v(_N,"KVector",8);m(78,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,78:1,414:1},xs,YP,ROe),s.Nc=function(){return $kn(this)},s.ag=function(n){var t,i,r,c,o,l;r=rm(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | | +`),qs(this);try{for(i=0,o=0,c=0,l=0;i0&&(o%2==0?c=Q2(r[i]):l=Q2(r[i]),o>0&&o%2!=0&&Vt(this,new Ee(c,l)),++o),++i}catch(f){throw f=sr(f),X(f,131)?(t=f,R(new Un("The given string does not match the expected format for vectors."+t))):R(f)}},s.Ib=function(){var n,t,i;for(n=new il("("),t=St(this,0);t.b!=t.d.c;)i=u(jt(t),8),Kt(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var a9e=v(_N,"KVectorChain",78);m(256,23,{3:1,35:1,23:1,256:1},Gj);var lce,rG,cG,_I,LI,uG,h9e=yt(Oo,"Alignment",256,Ct,R9n,gvn),yfn;m(975,1,Ka,_C),s.tf=function(n){aKe(n)};var d9e,fce,kfn,b9e,g9e,jfn,w9e,Efn,Sfn,p9e,m9e,xfn;v(Oo,"BoxLayouterOptions",975),m(976,1,{},VM),s.uf=function(){var n;return n=new pL,n},s.vf=function(n){},v(Oo,"BoxLayouterOptions/BoxFactory",976),m(299,23,{3:1,35:1,23:1,299:1},qj);var Yx,ace,Qx,Wx,Zx,hce,dce=yt(Oo,"ContentAlignment",299,Ct,B9n,wvn),Afn;m(689,1,Ka,DC),s.tf=function(n){en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,SWe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(hg(),K4)),Je),rn((kh(),Tn))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,xWe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),nh),izn),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,vpe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),v9e),Bi),h9e),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,V8),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,D2e),""),"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."),nh),a9e),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,DF),""),"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."),k9e),X4),dce),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,BN),""),"Debug Mode"),"Whether additional debug information shall be generated."),($n(),!1)),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Jee),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),j9e),Bi),nA),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,RN),""),"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."),x9e),Bi),Mce),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,N2e),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IF),""),"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`."),M9e),Bi),w8e),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,am),""),"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."),R9e),nh),Sve),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,CS),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LF),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TS),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ZZ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),H9e),Bi),v8e),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,_F),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),nh),Lr),Ci(fr,F(z(eh,1),je,160,0,[Wd,Z1]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CN),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),dc),jr),Ci(fr,F(z(eh,1),je,160,0,[Aa]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,dF),""),"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)."),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,MS),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ope),""),"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."),O9e),nh),a9e),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_pe),""),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Lpe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,OBn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),nh),lzn),Ci(Tn,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,AWe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),ec),gr),rn(Z1)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$pe),""),"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."),N9e),nh),Eve),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ppe),""),"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),xr),Qi),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd,Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,MWe),""),"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),ec),gr),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,CWe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,TWe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,TN),""),vWe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),xr),Qi),rn(Tn)))),qi(n,TN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,OWe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NWe),""),"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'."),ye(100)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IWe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,DWe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),ye(4e3)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_We),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),ye(400)),dc),jr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,LWe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,PWe),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,$We),""),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,RWe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,I2e),"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."),y9e),Bi),I8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,BWe),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),T9e),Bi),j8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,zWe),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),C9e),Bi),i8e),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,cpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,upe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ope),Ya),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,spe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,WZ),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Fee),Ya),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,lpe),Ya),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,hpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fpe),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ape),Ya),"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),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,fm),Ya),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dpe),Ya),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),ec),gr),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bpe),Ya),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,gpe),Ya),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),nh),jan),Ci(fr,F(z(eh,1),je,160,0,[Aa,Wd,Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Rpe),Ya),"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."),Z9e),nh),Eve),rn(Tn)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Gee),HWe),"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)."),dc),jr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,Gee,Hee,Rfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Hee),HWe),"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."),B9e),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,jpe),GWe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),D9e),nh),Sve),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Q8),GWe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),_9e),X4),$c),Ci(fr,F(z(eh,1),je,160,0,[Z1]))))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,xpe),HF),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),F9e),Bi),cA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Ape),HF),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),Bi),cA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Mpe),HF),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),Bi),cA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Cpe),HF),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),Bi),cA),rn(fr)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Tpe),HF),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),Bi),cA),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,S3),gne),"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."),L9e),X4),sA),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,k4),gne),"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."),$9e),X4),E8e),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,j4),gne),"Node Size Minimum"),"The minimal size to which a node can be reduced."),P9e),nh),Lr),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Y8),gne),"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),xr),Qi),rn(Tn)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Ipe),zee),"Edge Label Placement"),"Gives a hint on where to put edge labels."),E9e),Bi),r8e),rn(Z1)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bF),zee),"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),xr),Qi),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,NBn),"font"),"Font Name"),"Font name used for a label."),K4),Je),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,FWe),"font"),"Font Size"),"Font size used for a label."),dc),jr),rn(Z1)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Ppe),wne),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),nh),Lr),rn(Wd)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,Dpe),wne),"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."),dc),jr),rn(Wd)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,mpe),wne),"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."),U9e),Bi),xc),rn(Wd)))),en(n,new qe(We(Qe(Ze(Xe(Ye(Ke(Ve(new He,wpe),wne),"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."),ec),gr),rn(Wd)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,W8),P2e),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),G9e),X4),dG),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Epe),P2e),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Spe),P2e),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,dne),o7),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),ye(3)),dc),jr),rn(Tn)))),qi(n,dne,bne,Yfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,_2e),o7),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),ye(4)),dc),jr),rn(Tn)))),qi(n,_2e,dne,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ON),o7),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),ec),gr),rn(Tn)))),qi(n,ON,rp,Xfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,bne),o7),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),nh),rzn),rn(fr)))),qi(n,bne,rp,Kfn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,NN),o7),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,NN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,IN),o7),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),ec),gr),Ci(Tn,F(z(eh,1),je,160,0,[fr]))))),qi(n,IN,rp,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,rp),o7),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),Bi),x8e),rn(fr)))),qi(n,rp,Y8,null),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,L2e),o7),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),ec),gr),rn(Tn)))),qi(n,L2e,rp,Ufn),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,ype),qWe),"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),xr),Qi),rn(fr)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,kpe),qWe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),xr),Qi),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,Npe),"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),ec),gr),rn(Aa)))),en(n,new qe(We(Qe(Ze(hn(Xe(Ye(Ke(Ve(new He,JWe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),A9e),Bi),f8e),rn(Aa)))),Lj(n,new z5(Tj(p9(w9(new g0,Rn),"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.'))),Lj(n,new z5(Tj(p9(w9(new g0,"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.`))),Lj(n,new z5(Tj(p9(w9(new g0,$o),"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."))),Lj(n,new z5(Tj(p9(w9(new g0,"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."))),Lj(n,new z5(Tj(p9(w9(new g0,iWe),"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."))),Lj(n,new z5(Tj(p9(w9(new g0,"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."))),Lj(n,new z5(Tj(p9(w9(new g0,ql),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),VXe((new BU,n)),aKe((new _C,n)),kXe((new zU,n))};var V4,Mfn,v9e,J7,Cfn,Tfn,y9e,Rm,Bm,Ofn,PI,k9e,$I,_g,j9e,bce,gce,E9e,S9e,x9e,Nfn,A9e,Ifn,ny,M9e,Dfn,RI,wce,BI,pce,_fn,C9e,Lfn,T9e,ty,O9e,H7,N9e,I9e,D9e,iy,_9e,Lg,L9e,zm,ry,P9e,wb,$9e,oG,zI,f1,R9e,Pfn,B9e,$fn,Rfn,z9e,F9e,mce,vce,yce,kce,J9e,Ps,eA,H9e,jce,Ece,Fm,G9e,q9e,cy,U9e,Y4,FI,Sce,Jm,Bfn,xce,zfn,Ffn,Jfn,Hfn,X9e,K9e,Q4,V9e,sG,Y9e,Q9e,Zd,Gfn,W9e,Z9e,e8e,G7,Hm,q7,W4,qfn,Ufn,lG,Xfn,fG,Kfn,Vfn,Yfn,Qfn;v(Oo,"CoreOptions",689),m(86,23,{3:1,35:1,23:1,86:1},vT);var th,Zc,ru,ih,Yl,nA=yt(Oo,"Direction",86,Ct,W6n,hvn),Wfn;m(278,23,{3:1,35:1,23:1,278:1},x$);var aG,JI,n8e,t8e,i8e=yt(Oo,"EdgeCoords",278,Ct,k6n,dvn),Zfn;m(279,23,{3:1,35:1,23:1,279:1},pK);var U7,Gm,X7,r8e=yt(Oo,"EdgeLabelPlacement",279,Ct,m4n,bvn),ean;m(222,23,{3:1,35:1,23:1,222:1},A$);var K7,HI,Z4,Ace,Mce=yt(Oo,"EdgeRouting",222,Ct,j6n,avn),nan;m(327,23,{3:1,35:1,23:1,327:1},Uj);var c8e,u8e,o8e,s8e,Cce,l8e,f8e=yt(Oo,"EdgeType",327,Ct,J9n,jvn),tan;m(973,1,Ka,BU),s.tf=function(n){VXe(n)};var a8e,h8e,d8e,b8e,ian,g8e,tA;v(Oo,"FixedLayouterOptions",973),m(974,1,{},YM),s.uf=function(){var n;return n=new fw,n},s.vf=function(n){},v(Oo,"FixedLayouterOptions/FixedFactory",974),m(347,23,{3:1,35:1,23:1,347:1},mK);var e0,hG,iA,w8e=yt(Oo,"HierarchyHandling",347,Ct,v4n,Evn),ran,rzn=Gi(Oo,"ITopdownSizeApproximator");m(292,23,{3:1,35:1,23:1,292:1},M$);var a1,pb,GI,qI,can=yt(Oo,"LabelSide",292,Ct,E6n,kvn),uan;m(96,23,{3:1,35:1,23:1,96:1},Pv);var ed,Qf,pf,Wf,ml,Zf,mf,h1,ea,$c=yt(Oo,"NodeLabelPlacement",96,Ct,H8n,pvn),oan;m(257,23,{3:1,35:1,23:1,257:1},yT);var p8e,rA,mb,m8e,UI,cA=yt(Oo,"PortAlignment",257,Ct,f9n,mvn),san;m(102,23,{3:1,35:1,23:1,102:1},Xj);var Pg,to,d1,V7,rh,vb,v8e=yt(Oo,"PortConstraints",102,Ct,F9n,vvn),lan;m(280,23,{3:1,35:1,23:1,280:1},Kj);var uA,oA,nd,XI,yb,e6,dG=yt(Oo,"PortLabelPlacement",280,Ct,z9n,yvn),fan;m(64,23,{3:1,35:1,23:1,64:1},kT);var nt,Vn,Ql,Wl,Wo,zo,ch,na,ks,hs,mo,js,Zo,es,ta,vl,yl,vf,bt,ju,Yn,xc=yt(Oo,"PortSide",64,Ct,Z6n,Mvn),aan;m(977,1,Ka,zU),s.tf=function(n){kXe(n)};var han,dan,y8e,ban,gan;v(Oo,"RandomLayouterOptions",977),m(978,1,{},QM),s.uf=function(){var n;return n=new nC,n},s.vf=function(n){},v(Oo,"RandomLayouterOptions/RandomFactory",978),m(300,23,{3:1,35:1,23:1,300:1},vK);var KI,Tce,k8e,j8e=yt(Oo,"ShapeCoords",300,Ct,y4n,Cvn),wan;m(380,23,{3:1,35:1,23:1,380:1},C$);var qm,VI,YI,$g,sA=yt(Oo,"SizeConstraint",380,Ct,x6n,Tvn),pan;m(266,23,{3:1,35:1,23:1,266:1},$v);var QI,bG,Y7,Oce,WI,lA,gG,wG,pG,E8e=yt(Oo,"SizeOptions",266,Ct,Y8n,xvn),man;m(281,23,{3:1,35:1,23:1,281:1},yK);var Um,S8e,mG,x8e=yt(Oo,"TopdownNodeTypes",281,Ct,k4n,Avn),van;m(288,23,qF);var A8e,Nce,M8e,C8e,ZI=yt(Oo,"TopdownSizeApproximator",288,Ct,S6n,Svn);m(969,288,qF,jIe),s.Sg=function(n){return cHe(n)},yt(Oo,"TopdownSizeApproximator/1",969,ZI,null,null),m(970,288,qF,rDe),s.Sg=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn,On;for(t=u(ke(n,(Xt(),Jm)),144),De=(S0(),A=new Ej,A),eN(De,n),un=new wt,o=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));o.e!=o.i.gc();)r=u(ft(o),26),V=(S=new Ej,S),Rz(V,De),eN(V,r),On=cHe(r),jw(V,k.Math.max(r.g,On.a),k.Math.max(r.f,On.b)),Ko(un.f,r,V);for(c=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(ft(c),26),p=new st((!r.e&&(r.e=new In(pr,r,7,4)),r.e));p.e!=p.i.gc();)g=u(ft(p),85),be=u(bu(Xc(un.f,r)),26),fe=u(zn(un,K((!g.c&&(g.c=new In(mt,g,5,8)),g.c),0)),26),ie=(y=new Sv,y),Et((!ie.b&&(ie.b=new In(mt,ie,4,7)),ie.b),be),Et((!ie.c&&(ie.c=new In(mt,ie,5,8)),ie.c),fe),$z(ie,Fi(be)),eN(ie,g);_=u(XT(t.f),214);try{_.kf(De,new w0),eae(t.f,_)}catch(Dn){throw Dn=sr(Dn),X(Dn,101)?(O=Dn,R(O)):R(Dn)}return ga(De,Bm)||ga(De,Rm)||sZ(De),h=te(re(ke(De,Bm))),f=te(re(ke(De,Rm))),l=h/f,i=te(re(ke(De,Hm)))*k.Math.sqrt((!De.a&&(De.a=new pe(Ft,De,10,11)),De.a).i),cn=u(ke(De,f1),104),U=cn.b+cn.c+1,B=cn.d+cn.a+1,new Ee(k.Math.max(U,i),k.Math.max(B,i/l))},yt(Oo,"TopdownSizeApproximator/2",970,ZI,null,null),m(971,288,qF,O_e),s.Sg=function(n){var t,i,r,c,o,l;return i=te(re(ke(n,(Xt(),Hm)))),t=i/te(re(ke(n,G7))),r=Y_n(n),o=u(ke(n,f1),104),c=te(re(_e(Zd))),Fi(n)&&(c=te(re(ke(Fi(n),Zd)))),l=C1(new Ee(i,t),r),pi(l,new Ee(-(o.b+o.c)-c,-(o.d+o.a)-c))},yt(Oo,"TopdownSizeApproximator/3",971,ZI,null,null),m(972,288,qF,cDe),s.Sg=function(n){var t,i,r,c,o,l,f,h,g,p;for(l=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));l.e!=l.i.gc();)o=u(ft(l),26),ke(o,(Xt(),fG))!=null&&(!o.a&&(o.a=new pe(Ft,o,10,11)),!!o.a)&&(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i>0?(i=u(ke(o,fG),521),p=i.Sg(o),g=u(ke(o,f1),104),jw(o,k.Math.max(o.g,p.a+g.b+g.c),k.Math.max(o.f,p.b+g.d+g.a))):(!o.a&&(o.a=new pe(Ft,o,10,11)),o.a).i!=0&&jw(o,te(re(ke(o,Hm))),te(re(ke(o,Hm)))/te(re(ke(o,G7))));t=u(ke(n,(Xt(),Jm)),144),h=u(XT(t.f),214);try{h.kf(n,new w0),eae(t.f,h)}catch(y){throw y=sr(y),X(y,101)?(f=y,R(f)):R(y)}return Ei(n,V4,s7),yPe(n),sZ(n),c=te(re(ke(n,Bm))),r=te(re(ke(n,Rm))),new Ee(c,r)},yt(Oo,"TopdownSizeApproximator/4",972,ZI,null,null);var yan;m(345,1,{852:1},h5),s.Tg=function(n,t){return mGe(this,n,t)},s.Ug=function(){GGe(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?LR(this.f):null},s.Xg=function(){return LR(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,Ce(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&B4n(this,(i=new vDe,r=FW(i,n),L$n(i),r),(FB(),Dce))},s.dh=function(n){var t;return this.b?null:(t=A8n(this,this.g),Vt(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&Qhe(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,v($u,"BasicProgressMonitor",345),m(706,214,ip,pL),s.kf=function(n,t){CKe(n,t)},v($u,"BoxLayoutProvider",706),m(965,1,Yt,uSe),s.Le=function(n,t){return LNn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},s.a=!1,v($u,"BoxLayoutProvider/1",965),m(167,1,{167:1},mB,$Oe),s.Ib=function(){return this.c?Gbe(this.c):Ga(this.b)},v($u,"BoxLayoutProvider/Group",167),m(326,23,{3:1,35:1,23:1,326:1},T$);var T8e,O8e,N8e,Ice,I8e=yt($u,"BoxLayoutProvider/PackingMode",326,Ct,A6n,Ovn),kan;m(966,1,Yt,WM),s.Le=function(n,t){return qyn(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$0$Type",966),m(967,1,Yt,qk),s.Le=function(n,t){return Lyn(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$1$Type",967),m(968,1,Yt,ZM),s.Le=function(n,t){return Pyn(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v($u,"BoxLayoutProvider/lambda$2$Type",968),m(1338,1,{829:1},mL),s.Lg=function(n,t){return i$(),!X(t,174)||BAe((Q5(),u(n,174)),t)},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1338),m(1339,1,ct,oSe),s.Ad=function(n){Rkn(this.a,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1339),m(1340,1,ct,eC),s.Ad=function(n){u(n,105),i$()},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1340),m(1344,1,ct,sSe),s.Ad=function(n){f7n(this.a,u(n,105))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1344),m(1342,1,zt,_Ce),s.Mb=function(n){return ykn(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1342),m(1341,1,zt,LCe),s.Mb=function(n){return _pn(this.a,this.b,u(n,829))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1341),m(1343,1,ct,PCe),s.Ad=function(n){D3n(this.a,this.b,u(n,147))},v($u,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1343),m(930,1,{},vL),s.Kb=function(n){return NTe(n)},s.Fb=function(n){return this===n},v($u,"ElkUtil/lambda$0$Type",930),m(931,1,ct,$Ce),s.Ad=function(n){BTn(this.a,this.b,u(n,85))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$1$Type",931),m(932,1,ct,RCe),s.Ad=function(n){Lbn(this.a,this.b,u(n,170))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$2$Type",932),m(933,1,ct,BCe),s.Ad=function(n){Twn(this.a,this.b,u(n,157))},s.a=0,s.b=0,v($u,"ElkUtil/lambda$3$Type",933),m(934,1,ct,lSe),s.Ad=function(n){t3n(this.a,u(n,372))},v($u,"ElkUtil/lambda$4$Type",934),m(331,1,{35:1,331:1},fbn),s.Dd=function(n){return epn(this,u(n,242))},s.Fb=function(n){var t;return X(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return lc(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,v($u,"ExclusiveBounds/ExclusiveLowerBound",331),m(1088,214,ip,fw),s.kf=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U,V,ie,be,fe,De,un,cn;for(t.Tg("Fixed Layout",1),o=u(ke(n,(Xt(),S9e)),222),y=0,S=0,V=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));V.e!=V.i.gc();){for(B=u(ft(V),26),cn=u(ke(B,(JB(),tA)),8),cn&&(Dl(B,cn.a,cn.b),u(ke(B,h8e),182).Gc((Vs(),qm))&&(A=u(ke(B,b8e),8),A.a>0&&A.b>0&&Zw(B,A.a,A.b,!0,!0))),y=k.Math.max(y,B.i+B.g),S=k.Math.max(S,B.j+B.f),g=new st((!B.n&&(B.n=new pe(Eu,B,1,7)),B.n));g.e!=g.i.gc();)f=u(ft(g),157),cn=u(ke(f,tA),8),cn&&Dl(f,cn.a,cn.b),y=k.Math.max(y,B.i+f.i+f.g),S=k.Math.max(S,B.j+f.j+f.f);for(fe=new st((!B.c&&(B.c=new pe($s,B,9,9)),B.c));fe.e!=fe.i.gc();)for(be=u(ft(fe),125),cn=u(ke(be,tA),8),cn&&Dl(be,cn.a,cn.b),De=B.i+be.i,un=B.j+be.j,y=k.Math.max(y,De+be.g),S=k.Math.max(S,un+be.f),h=new st((!be.n&&(be.n=new pe(Eu,be,1,7)),be.n));h.e!=h.i.gc();)f=u(ft(h),157),cn=u(ke(f,tA),8),cn&&Dl(f,cn.a,cn.b),y=k.Math.max(y,De+f.i+f.g),S=k.Math.max(S,un+f.j+f.f);for(c=new Xn(Qn(K0(B).a.Jc(),new ne));ht(c);)i=u(rt(c),85),p=zVe(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b);for(r=new Xn(Qn(MW(B).a.Jc(),new ne));ht(r);)i=u(rt(r),85),Fi(dW(i))!=n&&(p=zVe(i),y=k.Math.max(y,p.a),S=k.Math.max(S,p.b))}if(o==(J1(),K7))for(U=new st((!n.a&&(n.a=new pe(Ft,n,10,11)),n.a));U.e!=U.i.gc();)for(B=u(ft(U),26),r=new Xn(Qn(K0(B).a.Jc(),new ne));ht(r);)i=u(rt(r),85),l=L_n(i),l.b==0?Ei(i,ty,null):Ei(i,ty,l);ze(Be(ke(n,(JB(),d8e))))||(ie=u(ke(n,ian),104),_=y+ie.b+ie.c,O=S+ie.d+ie.a,Zw(n,_,O,!0,!0)),t.Ug()},v($u,"FixedLayoutProvider",1088),m(379,150,{3:1,414:1,379:1,105:1,150:1},H6,CRe),s.ag=function(n){var t,i,r,c,o,l,f,h,g;if(n)try{for(h=rm(n,";,;"),o=h,l=0,f=o.length;l>16&yr|t^r<<16},s.Jc=function(){return new fSe(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+fu(this.b)+")":this.b==null?"pair("+fu(this.a)+",null)":"pair("+fu(this.a)+","+fu(this.b)+")"},v($u,"Pair",49),m(979,1,Fr,fSe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw R(new hu)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),R(new is)},s.b=!1,s.c=!1,v($u,"Pair/1",979),m(1078,214,ip,nC),s.kf=function(n,t){var i,r,c,o,l;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new pe(Ft,n,10,11)),n.a).i==0){t.Ug();return}o=u(ke(n,(wde(),ban)),15),o&&o.a!=0?c=new WR(o.a):c=new yQ,i=eT(re(ke(n,han))),l=eT(re(ke(n,gan))),r=u(ke(n,dan),104),tRn(n,c,i,l,r),t.Ug()},v($u,"RandomLayoutProvider",1078),m(240,1,{240:1},eV),s.Fb=function(n){return Ku(this.a,u(n,240).a)&&Ku(this.b,u(n,240).b)&&Ku(this.c,u(n,240).c)},s.Hb=function(){return HB(F(z(Mr,1),Nn,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+To+this.b+To+this.c+")"},v($u,"Triple",240);var xan;m(550,1,{}),s.Jf=function(){return new Ee(this.f.i,this.f.j)},s.mf=function(n){return M_e(n,(Xt(),Ps))?ke(this.f,Aan):ke(this.f,n)},s.Kf=function(){return new Ee(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return ga(this.f,n)},s.Mf=function(n){Os(this.f,n.a),Ns(this.f,n.b)},s.Nf=function(n){Bw(this.f,n.a),Rw(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var Aan;v(BS,"ElkGraphAdapters/AbstractElkGraphElementAdapter",550),m(552,1,{837:1},_P),s.Pf=function(){var n,t;if(!this.b)for(this.b=qR(NV(this.a).i),t=new st(NV(this.a));t.e!=t.i.gc();)n=u(ft(t),157),Ce(this.b,new MX(n));return this.b},s.b=null,v(BS,"ElkGraphAdapters/ElkEdgeAdapter",552),m(260,550,{},k0),s.Qf=function(){return xHe(this)},s.a=null,v(BS,"ElkGraphAdapters/ElkGraphAdapter",260),m(630,550,{187:1},MX),v(BS,"ElkGraphAdapters/ElkLabelAdapter",630),m(551,550,{685:1},K$),s.Pf=function(){return lxn(this)},s.Tf=function(){var n;return n=u(ke(this.f,(Xt(),H7)),140),!n&&(n=new jj),n},s.Vf=function(){return fxn(this)},s.Xf=function(n){var t;t=new QK(n),Ei(this.f,(Xt(),H7),t)},s.Yf=function(n){Ei(this.f,(Xt(),f1),new Wle(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new Te,t=new Xn(Qn(MW(u(this.f,26)).a.Jc(),new ne));ht(t);)n=u(rt(t),85),Ce(this.a,new _P(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new Te,t=new Xn(Qn(K0(u(this.f,26)).a.Jc(),new ne));ht(t);)n=u(rt(t),85),Ce(this.c,new _P(n));return this.c},s.Wf=function(){return DR(u(this.f,26)).i!=0||ze(Be(u(this.f,26).mf((Xt(),RI))))},s.Zf=function(){o8n(this,(Fb(),xan))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,v(BS,"ElkGraphAdapters/ElkNodeAdapter",551),m(1249,550,{836:1},aSe),s.Pf=function(){return pxn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=Gh(u(this.f,125).gh().i),t=new st(u(this.f,125).gh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.a,new _P(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=Gh(u(this.f,125).hh().i),t=new st(u(this.f,125).hh());t.e!=t.i.gc();)n=u(ft(t),85),Ce(this.c,new _P(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((Xt(),cy)),64)},s._f=function(){var n,t,i,r,c,o,l,f;for(r=Pa(u(this.f,125)),i=new st(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(ft(i),85),f=new st((!n.c&&(n.c=new In(mt,n,5,8)),n.c));f.e!=f.i.gc();){if(l=u(ft(f),84),B2(iu(l),r))return!0;if(iu(l)==r&&ze(Be(ke(n,(Xt(),wce)))))return!0}for(t=new st(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(ft(t),85),o=new st((!n.b&&(n.b=new In(mt,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(ft(o),84),B2(iu(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,v(BS,"ElkGraphAdapters/ElkPortAdapter",1249),m(1250,1,Yt,kL),s.Le=function(n,t){return MDn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(BS,"ElkGraphAdapters/PortComparator",1250);var kb=Gi(Ul,"EObject"),Q7=Gi(C3,KWe),kl=Gi(C3,VWe),eD=Gi(C3,YWe),nD=Gi(C3,"ElkShape"),mt=Gi(C3,QWe),pr=Gi(C3,R2e),$i=Gi(C3,WWe),tD=Gi(Ul,ZWe),fA=Gi(Ul,"EFactory"),Man,_ce=Gi(Ul,eZe),Ma=Gi(Ul,"EPackage"),Pr,Can,Tan,P8e,vG,Oan,$8e,R8e,B8e,b1,Nan,Ian,Eu=Gi(C3,B2e),Ft=Gi(C3,z2e),$s=Gi(C3,F2e);m(93,1,nZe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){hi(this,n)},v(x4,"BasicNotifierImpl",93),m(100,93,cZe),s.Vh=function(){return Fs(this)},s.vh=function(n,t){return n},s.wh=function(){throw R(new _t)},s.xh=function(n){var t;return t=Oc(u(Cn(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw R(new _t)},s.zh=function(n,t,i){return dl(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return xW(this)},s.Ch=function(){throw R(new _t)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=($j(),n=gae(Eh(this.Ah())),n==null?Jce:new MT(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():Ji(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return az(this,n,t,i)},s.Jh=function(n){return U9(this,n)},s.Kh=function(n,t){return aY(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw R(new _t)},s.Nh=function(){return uz(this)},s.Oh=function(n,t,i,r){return i4(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return RR(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(Cn(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return LQ(this,n)},s.Uh=function(n){return J_e(this,n)},s.Wh=function(n){return EVe(this,n)},s.Xh=function(){throw R(new _t)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return uz(this)},s.$h=function(n,t){yW(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=vc(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&((RW(this,this.Mh(),this.Ch()).Bb&Ec)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,l,f,h;if(i=this.Ah(),o=Ji(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(l=v3((ls(),nc),i,n),l){if(Tc(),u(l,69).vk()||(l=F5(Vc(nc,l))),c=(r=this.Fh(l),u(r>=0?this.Ih(r,!0,!0):Yw(this,l,!0),163)),h=l.Gk(),h>1||h==-1)return u(u(c,219).Ql(n,!1),77)}else throw R(new Un(ib+n.ve()+pne));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):Yw(this,n,!1),77);return f=new nTe(this,n),f},s.ei=function(){return Ehe(this)},s.fi=function(){return(O0(),Bn).S},s.gi=function(){return dt(this.fi())},s.hi=function(n){pW(this,n)},s.Ib=function(){return Jf(this)},v(Jn,"BasicEObjectImpl",100);var Dan;m(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=She(this),t[n]},s.ji=function(n,t){var i;i=She(this),ir(i,n,t)},s.ki=function(n){var t;t=She(this),ir(t,n,null)},s.qh=function(){return u(Kn(this,4),129)},s.rh=function(){throw R(new _t)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw R(new _t)},s.li=function(n){n4(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return Go(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return $j(),t=gae(Eh((n=u(Kn(this,16),29),n||this.fi()))),t==null?Jce:new MT(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(Kn(this,128),1996)},s.Hh=function(){return u(Kn(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(Kn(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw R(new _t)},s.Yh=function(){return u(Kn(this,64),290)},s._h=function(n){n4(this,16,n)},s.ai=function(n){n4(this,128,n)},s.bi=function(n){n4(this,64,n)},s.ei=function(){return Lo(this)},s.Db=0,v(Jn,"MinimalEObjectImpl",117),m(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},v(Jn,"MinimalEObjectImpl/Container",118),m(2045,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Bde(this,n,t,i)},s.Rh=function(n,t,i){return C0e(this,n,t,i)},s.Th=function(n){return Iae(this,n)},s.$h=function(n,t){x1e(this,n,t)},s.fi=function(){return Gu(),Ian},s.hi=function(n){h1e(this,n)},s.lf=function(){return qJe(this)},s.fh=function(){return!this.o&&(this.o=new os((Gu(),b1),n0,this,0)),this.o},s.mf=function(n){return ke(this,n)},s.nf=function(n){return ga(this,n)},s.of=function(n,t){return Ei(this,n,t)},v(vg,"EMapPropertyHolderImpl",2045),m(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Xk),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return az(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:vB(this,te(re(t)));return;case 1:yB(this,te(re(t)));return}yW(this,n,t)},s.fi=function(){return Gu(),Can},s.hi=function(n){switch(n){case 0:vB(this,0);return;case 1:yB(this,0);return}pW(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (x: ",Iv(n,this.a),n.a+=", y: ",Iv(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,v(vg,"ElkBendPointImpl",559),m(727,2045,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return G1e(this,n,t,i)},s.Ph=function(n,t,i){return lW(this,n,t,i)},s.Rh=function(n,t,i){return KY(this,n,t,i)},s.Th=function(n){return u1e(this,n)},s.$h=function(n,t){r0e(this,n,t)},s.fi=function(){return Gu(),Oan},s.hi=function(n){z1e(this,n)},s.ih=function(){return this.k},s.jh=function(){return NV(this)},s.Ib=function(){return vQ(this)},s.k=null,v(vg,"ElkGraphElementImpl",727),m(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return ide(this,n,t,i)},s.Th=function(n){return fde(this,n)},s.$h=function(n,t){c0e(this,n,t)},s.fi=function(){return Gu(),Nan},s.hi=function(n){gde(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){jw(this,n,t)},s.ph=function(n,t){Dl(this,n,t)},s.Ib=function(){return gW(this)},s.f=0,s.g=0,s.i=0,s.j=0,v(vg,"ElkShapeImpl",728),m(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Dde(this,n,t,i)},s.Ph=function(n,t,i){return Wde(this,n,t,i)},s.Rh=function(n,t,i){return Zde(this,n,t,i)},s.Th=function(n){return k1e(this,n)},s.$h=function(n,t){hbe(this,n,t)},s.fi=function(){return Gu(),Tan},s.hi=function(n){Cde(this,n)},s.gh=function(){return!this.d&&(this.d=new In(pr,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new In(pr,this,7,4)),this.e},v(vg,"ElkConnectableShapeImpl",729),m(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Sv),s.xh=function(n){return Kde(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return I2(this);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new In(mt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new pe($i,this,6,6)),this.a;case 7:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return $n(),!!cS(this);case 9:return $n(),!!Vw(this);case 10:return $n(),!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return G1e(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?Kde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ole(this,u(n,26),i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),Co(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),Co(this.c,n,i);case 6:return!this.a&&(this.a=new pe($i,this,6,6)),Co(this.a,n,i)}return lW(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return Ole(this,null,i);case 4:return!this.b&&(this.b=new In(mt,this,4,7)),vc(this.b,n,i);case 5:return!this.c&&(this.c=new In(mt,this,5,8)),vc(this.c,n,i);case 6:return!this.a&&(this.a=new pe($i,this,6,6)),vc(this.a,n,i)}return KY(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!I2(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new In(mt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i<=1));case 8:return cS(this);case 9:return Vw(this);case 10:return!this.b&&(this.b=new In(mt,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new In(mt,this,5,8)),this.c.i!=0)}return u1e(this,n)},s.$h=function(n,t){switch(n){case 3:$z(this,u(t,26));return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b),!this.b&&(this.b=new In(mt,this,4,7)),nr(this.b,u(t,18));return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c),!this.c&&(this.c=new In(mt,this,5,8)),nr(this.c,u(t,18));return;case 6:!this.a&&(this.a=new pe($i,this,6,6)),kt(this.a),!this.a&&(this.a=new pe($i,this,6,6)),nr(this.a,u(t,18));return}r0e(this,n,t)},s.fi=function(){return Gu(),P8e},s.hi=function(n){switch(n){case 3:$z(this,null);return;case 4:!this.b&&(this.b=new In(mt,this,4,7)),kt(this.b);return;case 5:!this.c&&(this.c=new In(mt,this,5,8)),kt(this.c);return;case 6:!this.a&&(this.a=new pe($i,this,6,6)),kt(this.a);return}z1e(this,n)},s.Ib=function(){return GKe(this)},v(vg,"ElkEdgeImpl",271),m(443,2045,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},yo),s.xh=function(n){return Gde(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new mr(kl,this,5)),this.a;case 6:return F_e(this);case 7:return t?zQ(this):this.i;case 8:return t?BQ(this):this.f;case 9:return!this.g&&(this.g=new In($i,this,9,10)),this.g;case 10:return!this.e&&(this.e=new In($i,this,10,9)),this.e;case 11:return this.d}return Bde(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Gde(this,i):this.Cb.Qh(this,-1-c,null,i))),Nle(this,u(n,85),i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),Co(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),Co(this.e,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(Gu(),vG)),t),69),o.uk().xk(this,Lo(this),t-dt((Gu(),vG)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new mr(kl,this,5)),vc(this.a,n,i);case 6:return Nle(this,null,i);case 9:return!this.g&&(this.g=new In($i,this,9,10)),vc(this.g,n,i);case 10:return!this.e&&(this.e=new In($i,this,10,9)),vc(this.e,n,i)}return C0e(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!F_e(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return Iae(this,n)},s.$h=function(n,t){switch(n){case 1:i3(this,te(re(t)));return;case 2:r3(this,te(re(t)));return;case 3:n3(this,te(re(t)));return;case 4:t3(this,te(re(t)));return;case 5:!this.a&&(this.a=new mr(kl,this,5)),kt(this.a),!this.a&&(this.a=new mr(kl,this,5)),nr(this.a,u(t,18));return;case 6:HUe(this,u(t,85));return;case 7:MB(this,u(t,84));return;case 8:AB(this,u(t,84));return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g),!this.g&&(this.g=new In($i,this,9,10)),nr(this.g,u(t,18));return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e),!this.e&&(this.e=new In($i,this,10,9)),nr(this.e,u(t,18));return;case 11:Vhe(this,Pt(t));return}x1e(this,n,t)},s.fi=function(){return Gu(),vG},s.hi=function(n){switch(n){case 1:i3(this,0);return;case 2:r3(this,0);return;case 3:n3(this,0);return;case 4:t3(this,0);return;case 5:!this.a&&(this.a=new mr(kl,this,5)),kt(this.a);return;case 6:HUe(this,null);return;case 7:MB(this,null);return;case 8:AB(this,null);return;case 9:!this.g&&(this.g=new In($i,this,9,10)),kt(this.g);return;case 10:!this.e&&(this.e=new In($i,this,10,9)),kt(this.e);return;case 11:Vhe(this,null);return}h1e(this,n)},s.Ib=function(){return eUe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,v(vg,"ElkEdgeSectionImpl",443),m(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab):$l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().xk(this,Lo(this),t-dt(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i)):(c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.Wh=function(n){return Oge(this,n)},s.$h=function(n,t){var i;if(n===0){!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.ai=function(n){n4(this,128,n)},s.fi=function(){return jn(),Qan},s.hi=function(n){var t;if(n===0){!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return hS(this,n)},s.Bb=0,v(Jn,"EModelElementImpl",161),m(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},LC),s.oi=function(n,t){return wVe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=sl(n)||(n.Bb&256)!=0)throw R(new Un(vne+n.zb+lp));for(r=tu(n);Vu(r.a).i!=0;){if(i=u(fN(r,0,(t=u(K(Vu(r.a),0),87),o=t.c,X(o,88)?u(o,29):(jn(),Ef))),29),Xw(i))return c=sl(i).ti().pi(i),u(c,52)._h(n),c;r=tu(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new kIe(n):new wfe(n)},s.qi=function(n,t){return ep(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.a}return $l(this,n-dt((jn(),Sb)),Cn((r=u(Kn(this,16),29),r||Sb),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,Ma,i)),R1e(this,u(n,241),i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sb)),t),69),c.uk().xk(this,Lo(this),t-dt((jn(),Sb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 1:return R1e(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Sb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Sb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Pl(this,n-dt((jn(),Sb)),Cn((t=u(Kn(this,16),29),t||Sb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:OGe(this,u(t,241));return}Hl(this,n-dt((jn(),Sb)),Cn((i=u(Kn(this,16),29),i||Sb),n),t)},s.fi=function(){return jn(),Sb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:OGe(this,null);return}Jl(this,n-dt((jn(),Sb)),Cn((t=u(Kn(this,16),29),t||Sb),n))};var aA,z8e,_an;v(Jn,"EFactoryImpl",710),m(1018,710,{109:1,2075:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},hU),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return fu(t);default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o,l,f,h;switch(n.G==-1&&(n.G=(t=sl(n),t?Bd(t.si(),n):-1)),n.G){case 4:return o=new tC,o;case 6:return l=new Ej,l;case 7:return f=new koe,f;case 8:return r=new Sv,r;case 9:return i=new Xk,i;case 10:return c=new yo,c;case 11:return h=new G6,h;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw R(new Un(l7+n.ve()+lp))}},v(vg,"ElkGraphFactoryImpl",1018),m(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(Kn(this,16),29),gae(Eh(n||this.fi()))),t==null?($j(),$j(),Jce):new JOe(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.ve()}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Wan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){Mo(this,n)},s.Ib=function(){return zE(this)},s.zb=null,v(Jn,"ENamedElementImpl",439),m(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},h_e),s.xh=function(n){return FHe(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,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 C2(this,Ca,this)),this.rb;case 6:return!this.vb&&(this.vb=new T5(Ma,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:K_e(this)}return $l(this,n-dt((jn(),c0)),Cn((r=u(Kn(this,16),29),r||c0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,fA,i)),F1e(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new C2(this,Ca,this)),Co(this.rb,n,i);case 6:return!this.vb&&(this.vb=new T5(Ma,this,6,7)),Co(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?FHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,7,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),c0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),c0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 4:return F1e(this,null,i);case 5:return!this.rb&&(this.rb=new C2(this,Ca,this)),vc(this.rb,n,i);case 6:return!this.vb&&(this.vb=new T5(Ma,this,6,7)),vc(this.vb,n,i);case 7:return dl(this,null,7,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),c0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),c0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!K_e(this)}return Pl(this,n-dt((jn(),c0)),Cn((t=u(Kn(this,16),29),t||c0),n))},s.Wh=function(n){var t;return t=qNn(this,n),t||Oge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:DB(this,Pt(t));return;case 3:IB(this,Pt(t));return;case 4:bW(this,u(t,469));return;case 5:!this.rb&&(this.rb=new C2(this,Ca,this)),kt(this.rb),!this.rb&&(this.rb=new C2(this,Ca,this)),nr(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new T5(Ma,this,6,7)),kt(this.vb),!this.vb&&(this.vb=new T5(Ma,this,6,7)),nr(this.vb,u(t,18));return}Hl(this,n-dt((jn(),c0)),Cn((i=u(Kn(this,16),29),i||c0),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new st(this.rb);i.e!=i.i.gc();)t=ft(i),X(t,360)&&(u(t,360).w=null);n4(this,64,n)},s.fi=function(){return jn(),c0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:DB(this,null);return;case 3:IB(this,null);return;case 4:bW(this,null);return;case 5:!this.rb&&(this.rb=new C2(this,Ca,this)),kt(this.rb);return;case 6:!this.vb&&(this.vb=new T5(Ma,this,6,7)),kt(this.vb);return}Jl(this,n-dt((jn(),c0)),Cn((t=u(Kn(this,16),29),t||c0),n))},s.mi=function(){ZQ(this)},s.si=function(){return!this.rb&&(this.rb=new C2(this,Ca,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?zE(this):(n=new uf(zE(this)),n.a+=" (nsURI: ",Bc(n,this.yb),n.a+=", nsPrefix: ",Bc(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,v(Jn,"EPackageImpl",184),m(556,184,{109:1,2077:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},sUe),s.q=!1,s.r=!1;var Lan=!1;v(vg,"ElkGraphPackageImpl",556),m(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},tC),s.xh=function(n){return qde(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return kae(this);case 8:return this.a}return ide(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===7?(this.Cb&&(i=(r=this.Db>>16,r>=0?qde(this,i):this.Cb.Qh(this,-1-r,null,i))),Tfe(this,u(n,174),i)):lW(this,n,t,i)},s.Rh=function(n,t,i){return t==7?Tfe(this,null,i):KY(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!kae(this);case 8:return!bn("",this.a)}return fde(this,n)},s.$h=function(n,t){switch(n){case 7:Cbe(this,u(t,174));return;case 8:Uhe(this,Pt(t));return}c0e(this,n,t)},s.fi=function(){return Gu(),$8e},s.hi=function(n){switch(n){case 7:Cbe(this,null);return;case 8:Uhe(this,"");return}gde(this,n)},s.Ib=function(){return VGe(this)},s.a="",v(vg,"ElkLabelImpl",362),m(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},Ej),s.xh=function(n){return Vde(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),this.c;case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),this.a;case 11:return Fi(this);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),this.b;case 13:return $n(),!this.a&&(this.a=new pe(Ft,this,10,11)),this.a.i>0}return Dde(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),Co(this.c,n,i);case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),Co(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Vde(this,i):this.Cb.Qh(this,-1-r,null,i))),Ule(this,u(n,26),i);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),Co(this.b,n,i)}return Wde(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new pe($s,this,9,9)),vc(this.c,n,i);case 10:return!this.a&&(this.a=new pe(Ft,this,10,11)),vc(this.a,n,i);case 11:return Ule(this,null,i);case 12:return!this.b&&(this.b=new pe(pr,this,12,3)),vc(this.b,n,i)}return Zde(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Fi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new pe(Ft,this,10,11)),this.a.i>0}return k1e(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new pe($s,this,9,9)),kt(this.c),!this.c&&(this.c=new pe($s,this,9,9)),nr(this.c,u(t,18));return;case 10:!this.a&&(this.a=new pe(Ft,this,10,11)),kt(this.a),!this.a&&(this.a=new pe(Ft,this,10,11)),nr(this.a,u(t,18));return;case 11:Rz(this,u(t,26));return;case 12:!this.b&&(this.b=new pe(pr,this,12,3)),kt(this.b),!this.b&&(this.b=new pe(pr,this,12,3)),nr(this.b,u(t,18));return}hbe(this,n,t)},s.fi=function(){return Gu(),R8e},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new pe($s,this,9,9)),kt(this.c);return;case 10:!this.a&&(this.a=new pe(Ft,this,10,11)),kt(this.a);return;case 11:Rz(this,null);return;case 12:!this.b&&(this.b=new pe(pr,this,12,3)),kt(this.b);return}Cde(this,n)},s.Ib=function(){return Gbe(this)},v(vg,"ElkNodeImpl",206),m(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},koe),s.xh=function(n){return Ude(this,n)},s.Ih=function(n,t,i){return n==9?Pa(this):Dde(this,n,t,i)},s.Ph=function(n,t,i){var r;return t===9?(this.Cb&&(i=(r=this.Db>>16,r>=0?Ude(this,i):this.Cb.Qh(this,-1-r,null,i))),Ile(this,u(n,26),i)):Wde(this,n,t,i)},s.Rh=function(n,t,i){return t==9?Ile(this,null,i):Zde(this,n,t,i)},s.Th=function(n){return n==9?!!Pa(this):k1e(this,n)},s.$h=function(n,t){if(n===9){Ebe(this,u(t,26));return}hbe(this,n,t)},s.fi=function(){return Gu(),B8e},s.hi=function(n){if(n===9){Ebe(this,null);return}Cde(this,n)},s.Ib=function(){return FXe(this)},v(vg,"ElkPortImpl",193);var Pan=Gi(yc,"BasicEMap/Entry");m(1091,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},G6),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return xw(this)},s.Ai=function(n){Jhe(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return az(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return LQ(this,n)},s.$h=function(n,t){switch(n){case 0:Jhe(this,u(t,147));return;case 1:Hhe(this,t);return}yW(this,n,t)},s.fi=function(){return Gu(),b1},s.hi=function(n){switch(n){case 0:Jhe(this,null);return;case 1:Hhe(this,null);return}pW(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?Ni(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,Hhe(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new j0,Kt(Kt(Kt(n,this.b?this.b.Og():Vo),nee),iE(this.c)),n.a)},s.a=-1,s.c=null;var n0=v(vg,"ElkPropertyToValueMapEntryImpl",1091);m(980,1,{},Zp),v(Wr,"JsonAdapter",980),m(215,63,q1,ah),v(Wr,"JsonImportException",215),m(850,1,{},iUe),v(Wr,"JsonImporter",850),m(884,1,{},zCe),s.Bi=function(n){QHe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$0$Type",884),m(885,1,{},FCe),s.Bi=function(n){_qe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$1$Type",885),m(893,1,{},hSe),s.Bi=function(n){UDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$10$Type",893),m(895,1,{},JCe),s.Bi=function(n){kqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$11$Type",895),m(896,1,{},HCe),s.Bi=function(n){jqe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$12$Type",896),m(902,1,{},t_e),s.Bi=function(n){qGe(this.a,this.b,this.c,this.d,u(n,139))},v(Wr,"JsonImporter/lambda$13$Type",902),m(901,1,{},i_e),s.Bi=function(n){sKe(this.a,this.b,this.c,this.d,u(n,149))},v(Wr,"JsonImporter/lambda$14$Type",901),m(897,1,{},GCe),s.Bi=function(n){mNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$15$Type",897),m(898,1,{},qCe),s.Bi=function(n){vNe(this.a,this.b,Pt(n))},v(Wr,"JsonImporter/lambda$16$Type",898),m(899,1,{},UCe),s.Bi=function(n){IHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$17$Type",899),m(900,1,{},XCe),s.Bi=function(n){DHe(this.b,this.a,u(n,139))},v(Wr,"JsonImporter/lambda$18$Type",900),m(905,1,{},dSe),s.Bi=function(n){PGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$19$Type",905),m(886,1,{},bSe),s.Bi=function(n){GHe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$2$Type",886),m(903,1,{},gSe),s.Bi=function(n){i3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$20$Type",903),m(904,1,{},wSe),s.Bi=function(n){r3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$21$Type",904),m(908,1,{},pSe),s.Bi=function(n){LGe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$22$Type",908),m(906,1,{},mSe),s.Bi=function(n){n3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$23$Type",906),m(907,1,{},vSe),s.Bi=function(n){t3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$24$Type",907),m(910,1,{},ySe),s.Bi=function(n){sGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$25$Type",910),m(909,1,{},kSe),s.Bi=function(n){XDe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$26$Type",909),m(911,1,ct,KCe),s.Ad=function(n){q9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$27$Type",911),m(912,1,ct,VCe),s.Ad=function(n){U9n(this.b,this.a,Pt(n))},v(Wr,"JsonImporter/lambda$28$Type",912),m(913,1,{},YCe),s.Bi=function(n){pUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$29$Type",913),m(889,1,{},jSe),s.Bi=function(n){tJe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$3$Type",889),m(914,1,{},QCe),s.Bi=function(n){BUe(this.a,this.b,u(n,139))},v(Wr,"JsonImporter/lambda$30$Type",914),m(915,1,{},ESe),s.Bi=function(n){SRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$31$Type",915),m(916,1,{},SSe),s.Bi=function(n){xRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$32$Type",916),m(917,1,{},xSe),s.Bi=function(n){ARe(this.a,re(n))},v(Wr,"JsonImporter/lambda$33$Type",917),m(918,1,{},ASe),s.Bi=function(n){MRe(this.a,re(n))},v(Wr,"JsonImporter/lambda$34$Type",918),m(919,1,{},MSe),s.Bi=function(n){JMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$35$Type",919),m(920,1,{},CSe),s.Bi=function(n){HMn(this.a,u(n,57))},v(Wr,"JsonImporter/lambda$36$Type",920),m(924,1,{},n_e),v(Wr,"JsonImporter/lambda$37$Type",924),m(921,1,ct,QNe),s.Ad=function(n){m7n(this.a,this.c,this.b,u(n,372))},v(Wr,"JsonImporter/lambda$38$Type",921),m(922,1,ct,WCe),s.Ad=function(n){iwn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$39$Type",922),m(887,1,{},TSe),s.Bi=function(n){i3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$4$Type",887),m(923,1,ct,ZCe),s.Ad=function(n){rwn(this.a,this.b,u(n,170))},v(Wr,"JsonImporter/lambda$40$Type",923),m(925,1,ct,WNe),s.Ad=function(n){v7n(this.a,this.b,this.c,u(n,8))},v(Wr,"JsonImporter/lambda$41$Type",925),m(888,1,{},OSe),s.Bi=function(n){r3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$5$Type",888),m(892,1,{},NSe),s.Bi=function(n){iJe(this.a,u(n,149))},v(Wr,"JsonImporter/lambda$6$Type",892),m(890,1,{},ISe),s.Bi=function(n){n3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$7$Type",890),m(891,1,{},DSe),s.Bi=function(n){t3(this.a,te(re(n)))},v(Wr,"JsonImporter/lambda$8$Type",891),m(894,1,{},_Se),s.Bi=function(n){lGe(this.a,u(n,139))},v(Wr,"JsonImporter/lambda$9$Type",894),m(944,1,ct,LSe),s.Ad=function(n){$5(this.a,new O2(Pt(n)))},v(Wr,"JsonMetaDataConverter/lambda$0$Type",944),m(945,1,ct,PSe),s.Ad=function(n){Y3n(this.a,u(n,244))},v(Wr,"JsonMetaDataConverter/lambda$1$Type",945),m(946,1,ct,$Se),s.Ad=function(n){F5n(this.a,u(n,144))},v(Wr,"JsonMetaDataConverter/lambda$2$Type",946),m(947,1,ct,RSe),s.Ad=function(n){Q3n(this.a,u(n,160))},v(Wr,"JsonMetaDataConverter/lambda$3$Type",947),m(244,23,{3:1,35:1,23:1,244:1},j5);var yG,kG,Lce,jG,EG,SG,Pce,$ce,xG=yt(AN,"GraphFeature",244,Ct,S8n,Ivn),$an;m(11,1,{35:1,147:1},ki,Pi,an,Yr),s.Dd=function(n){return npn(this,u(n,147))},s.Fb=function(n){return M_e(this,n)},s.Rg=function(){return _e(this)},s.Og=function(){return this.b},s.Hb=function(){return _d(this.b)},s.Ib=function(){return this.b},v(AN,"Property",11),m(657,1,Yt,hX),s.Le=function(n,t){return Pjn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new xt(this)},v(AN,"PropertyHolderComparator",657),m(698,1,Fr,uoe),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return Y9n(this)},s.Qb=function(){IAe()},s.Ob=function(){return!!this.a},v(KF,"ElkGraphUtil/AncestorIterator",698);var F8e=Gi(yc,"EList");m(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){HE(this,n,t)},s.Ec=function(n){return Et(this,n)},s.ad=function(n,t){return b1e(this,n,t)},s.Fc=function(n){return nr(this,n)},s.Gi=function(){return new M5(this)},s.Hi=function(){return new AT(this)},s.Ii=function(n){return pO(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){gY(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return SXe(this,n)},s.Hb=function(){return f1e(this)},s.Qi=function(){return!1},s.Jc=function(){return new st(this)},s.cd=function(){return new A5(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw R(new S2(n,t));return new yV(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return dB(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return f3(this,n,t)},s.Ib=function(){return ude(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return o8(this,t)},v(yc,"AbstractEList",71),m(67,71,Nh,q6,$w,r1e),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return dHe(this,n)},s.Ei=function(n,t){OO(this,n,t)},s.Fi=function(n){nO(this,n)},s.Yi=function(n){return vhe(this,n)},s.$b=function(){xE(this)},s.Gc=function(n){return E8(this,n)},s.Xb=function(n){return K(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},v(yc,"DelegatingEList",2055),m(2056,2055,GZe),s.Ci=function(n,t){return rge(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){lUe(this,n,t)},s.Fi=function(n){Wqe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){mS(this)},s.Gj=function(n,t,i,r,c){return new x_e(this,n,t,i,r,c)},s.Hj=function(n){hi(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=x0e(this,n,t),this.Hj(this.Gj(7,ye(t),i,n,r)),i):x0e(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=sR(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=sR(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return yKe(this,n,t)},v(x4,"DelegatingNotifyingListImpl",2056),m(151,1,HN),s.lj=function(n){return f0e(this,n)},s.mj=function(){EY(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return cXe(this)},s.hj=function(){return null},s.ij=function(){return Dbe(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,l,f,h,g,p,y;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),oe(o)===oe(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),oe(o)===oe(this.hj())&&this.fj(null)==n.fj(null))return g=jge(this),h=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,l=n.jj(),this.d=6,y=new $w(2),h<=l?(Et(y,this.n),Et(y,n.ij()),this.g=F(z($t,1),ni,30,15,[this.o=h,l+1])):(Et(y,n.ij()),Et(y,this.n),this.g=F(z($t,1),ni,30,15,[this.o=l,h])),this.n=y,g||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),oe(o)===oe(this.hj())&&this.fj(null)==n.fj(null)){for(g=jge(this),l=n.jj(),p=u(this.g,54),r=le($t,ni,30,p.length+1,15,1),t=0;t>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{_X(r,this.d);break}}if(XXe(this)&&(r.a+=", touch: true"),r.a+=", position: ",_X(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",Qj(r,this.hj()),r.a+=", feature: ",Qj(r,this.Ij()),r.a+=", oldValue: ",Qj(r,Dbe(this)),r.a+=", newValue: ",this.d==6&&X(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n10?((!this.b||this.c.j!=this.a)&&(this.b=new A2(this),this.a=this.j),cf(this.b,n)):E8(this,n)},s.Wi=function(){return!0},s.a=0,v(yc,"AbstractEList/1",949),m(305,99,sF,S2),v(yc,"AbstractEList/BasicIndexOutOfBoundsException",305),m(42,1,Fr,st),s.Nb=function(n){Zr(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw R(new Il)},s.Wj=function(){return ft(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){eS(this)},s.e=0,s.f=0,s.g=-1,v(yc,"AbstractEList/EIterator",42),m(286,42,e1,A5,yV),s.Qb=function(){eS(this)},s.Rb=function(n){bJe(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Yj=function(n){bHe(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},v(yc,"AbstractEList/EListIterator",286),m(355,42,Fr,M5),s.Wj=function(){return PQ(this)},s.Qb=function(){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEIterator",355),m(391,286,e1,AT,Vle),s.Rb=function(n){throw R(new _t)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=sr(t),X(t,99)?(this.Vj(),R(new hu)):R(t)}},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"AbstractEList/NonResolvingEListIterator",391),m(2042,71,qZe),s.Ci=function(n,t){var i,r,c,o,l,f,h,g,p,y,S;if(c=t.gc(),c!=0){for(g=u(Kn(this.a,4),129),p=g==null?0:g.length,S=p+c,r=oQ(this,S),y=p-n,y>0&&Wu(g,n,r,n+c,y),h=t.Jc(),l=0;li)throw R(new S2(n,i));return new zDe(this,n)},s.$b=function(){var n,t;++this.j,n=u(Kn(this.a,4),129),t=n==null?0:n.length,y8(this,null),gY(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c=i)throw R(new S2(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(Kn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;ii)throw R(new S2(n,i));return new BDe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=EJe(this),c=i==null?0:i.length,n>=c)throw R(new jo(Cne+n+yg+c));if(t>=c)throw R(new jo(Tne+t+yg+c));return r=i[t],n!=t&&(n0&&Wu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(Kn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.lengthr&&ir(n,r,null),n};var Ran;v(yc,"ArrayDelegatingEList",2042),m(1032,42,Fr,XPe),s.Vj=function(){if(this.b.j!=this.f||oe(u(Kn(this.b.a,4),129))!==oe(this.a))throw R(new Il)},s.Qb=function(){eS(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EIterator",1032),m(712,286,e1,uDe,BDe),s.Vj=function(){if(this.b.j!=this.f||oe(u(Kn(this.b.a,4),129))!==oe(this.a))throw R(new Il)},s.Yj=function(n){bHe(this,n),this.a=u(Kn(this.b.a,4),129)},s.Qb=function(){eS(this),this.a=u(Kn(this.b.a,4),129)},v(yc,"ArrayDelegatingEList/EListIterator",712),m(1033,355,Fr,KPe),s.Vj=function(){if(this.b.j!=this.f||oe(u(Kn(this.b.a,4),129))!==oe(this.a))throw R(new Il)},v(yc,"ArrayDelegatingEList/NonResolvingEIterator",1033),m(713,391,e1,oDe,zDe),s.Vj=function(){if(this.b.j!=this.f||oe(u(Kn(this.b.a,4),129))!==oe(this.a))throw R(new Il)},v(yc,"ArrayDelegatingEList/NonResolvingEListIterator",713),m(605,305,sF,EK),v(yc,"BasicEList/BasicIndexOutOfBoundsException",605),m(699,67,Nh,Dse),s._c=function(n,t){throw R(new _t)},s.Ec=function(n){throw R(new _t)},s.ad=function(n,t){throw R(new _t)},s.Fc=function(n){throw R(new _t)},s.$b=function(){throw R(new _t)},s.Zi=function(n){throw R(new _t)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw R(new _t)},s.Si=function(n,t){throw R(new _t)},s.ed=function(n){throw R(new _t)},s.Kc=function(n){throw R(new _t)},s.fd=function(n,t){throw R(new _t)},v(yc,"BasicEList/UnmodifiableEList",699),m(711,1,{3:1,20:1,18:1,16:1,61:1,586:1}),s._c=function(n,t){Gwn(this,n,u(t,45))},s.Ec=function(n){return Rpn(this,u(n,45))},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return u(K(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){qwn(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return Z3n(this,n,u(t,45))},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return xO(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=le(J8e,ime,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),bz(this,n);this.e=i}},s.Fb=function(n){return NNe(this,n)},s.Hb=function(){return f1e(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new BSe(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return rO(this)},s.ak=function(n,t,i){return new ZNe(n,t,i)},s.bk=function(){return new EL},s.Kc=function(n){return EBe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new D0(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return ude(this.c)},s.e=0,s.f=0,v(yc,"BasicEMap",711),m(1027,67,Nh,BSe),s.Ki=function(n,t){Abn(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){Mbn(this,u(t,136))},s.Pi=function(n,t,i){Spn(this,u(t,136),u(i,136))},s.Mi=function(n,t){pze(this.a)},v(yc,"BasicEMap/1",1027),m(1028,67,Nh,EL),s.$i=function(n){return le(uzn,UZe,611,n,0,1)},v(yc,"BasicEMap/2",1028),m(1029,Ua,fs,zSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xQ(this.a,n)},s.Jc=function(){return this.a.f==0?(T9(),cD.a):new SAe(this.a)},s.Kc=function(n){var t;return t=this.a.f,rz(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},v(yc,"BasicEMap/3",1029),m(1030,31,um,FSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return xXe(this.a,n)},s.Jc=function(){return this.a.f==0?(T9(),cD.a):new xAe(this.a)},s.gc=function(){return this.a.f},v(yc,"BasicEMap/4",1030),m(1031,Ua,fs,JSe),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,l,f,h,g;if(this.a.f>0&&X(n,45)&&(this.a.Zj(),h=u(n,45),f=h.jd(),c=f==null?0:Ni(f),o=Dle(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),g=t.i,l=0;l"+this.c},s.a=0;var uzn=v(yc,"BasicEMap/EntryImpl",611);m(534,1,{},X6),v(yc,"BasicEMap/View",534);var cD;m(769,1,{}),s.Fb=function(n){return dbe((En(),Sc),n)},s.Hb=function(){return j1e((En(),Sc))},s.Ib=function(){return Ga((En(),Sc))},v(yc,"ECollections/BasicEmptyUnmodifiableEList",769),m(1302,1,e1,iC),s.Nb=function(n){Zr(this,n)},s.Rb=function(n){throw R(new _t)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw R(new hu)},s.Tb=function(){return 0},s.Ub=function(){throw R(new hu)},s.Vb=function(){return-1},s.Qb=function(){throw R(new _t)},s.Wb=function(n){throw R(new _t)},v(yc,"ECollections/BasicEmptyUnmodifiableEList/1",1302),m(1300,769,{20:1,18:1,16:1,61:1},Nxe),s._c=function(n,t){XAe()},s.Ec=function(n){return UAe()},s.ad=function(n,t){return KAe()},s.Fc=function(n){return VAe()},s.$b=function(){YAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Rse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return QAe()},s.Si=function(n,t){WAe()},s.ed=function(n){return ZAe()},s.Kc=function(n){return eMe()},s.fd=function(n,t){return nMe()},s.gc=function(){return 0},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.hd=function(n,t){return En(),new D0(Sc,n,t)},s.Nc=function(){return Ife((En(),Sc))},s.Oc=function(n){return En(),YE(Sc,n)},v(yc,"ECollections/EmptyUnmodifiableEList",1300),m(1301,769,{20:1,18:1,16:1,61:1,586:1},Ixe),s._c=function(n,t){XAe()},s.Ec=function(n){return UAe()},s.ad=function(n,t){return KAe()},s.Fc=function(n){return VAe()},s.$b=function(){YAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){cc(this,n)},s.Xb=function(n){return Rse((En(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return QAe()},s.Si=function(n,t){WAe()},s.ed=function(n){return ZAe()},s.Kc=function(n){return eMe()},s.fd=function(n,t){return nMe()},s.gc=function(){return 0},s.gd=function(n){tg(this,n)},s.Lc=function(){return new yn(this,16)},s.Mc=function(){return new pn(null,new yn(this,16))},s.hd=function(n,t){return En(),new D0(Sc,n,t)},s.Nc=function(){return Ife((En(),Sc))},s.Oc=function(n){return En(),YE(Sc,n)},s._j=function(){return En(),En(),u1},v(yc,"ECollections/EmptyUnmodifiableEMap",1301);var G8e=Gi(yc,"Enumerator"),AG;m(290,1,{290:1},DW),s.Fb=function(n){var t;return this===n?!0:X(n,290)?(t=u(n,290),this.f==t.f&&w3n(this.i,t.i)&&uV(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&uV(this.d,t.d)&&uV(this.g,t.g)&&uV(this.e,t.e)&&vSn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return cKe(this)},s.f=0;var Ban=0,zan=0,Fan=0,Jan=0,q8e=0,U8e=0,X8e=0,K8e=0,V8e=0,Han,hA=0,dA=0,Gan=0,qan=0,MG,Y8e;v(yc,"URI",290),m(1090,44,j3,Dxe),s.yc=function(n,t){return u(Kc(this,Pt(n),u(t,290)),290)},v(yc,"URI/URICache",1090),m(492,67,Nh,rC,bR),s.Qi=function(){return!0},v(yc,"UniqueEList",492),m(578,63,q1,aB),v(yc,"WrappedException",578);var Zt=Gi(Ul,VZe),Xm=Gi(Ul,YZe),ns=Gi(Ul,QZe),Km=Gi(Ul,WZe),Ca=Gi(Ul,ZZe),yf=Gi(Ul,"EClass"),zce=Gi(Ul,"EDataType"),Uan;m(1198,44,j3,_xe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(Ul,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1198);var CG=Gi(Ul,"EEnum"),td=Gi(Ul,een),Rc=Gi(Ul,nen),kf=Gi(Ul,ten),jf,xp=Gi(Ul,ien),Vm=Gi(Ul,ren);m(1023,1,{},cC),s.Ib=function(){return"NIL"},v(Ul,"EStructuralFeature/Internal/DynamicValueHolder/1",1023);var Xan;m(1022,44,j3,Lxe),s.xc=function(n){return $r(n)?lo(this,n):bu(Xc(this.f,n))},v(Ul,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1022);var Fo=Gi(Ul,cen),n6=Gi(Ul,"EValidator/PatternMatcher"),Q8e,W8e,Bn,t0,Ym,jb,Kan,Van,Yan,Eb,i0,Sb,Ap,uh,Qan,Wan,Ef,r0,Zan,c0,Qm,uy,Ac,ehn,nhn,Mp,TG=Gi(Ri,"FeatureMap/Entry");m(533,1,{75:1},N$),s.Jk=function(){return this.a},s.kd=function(){return this.b},v(Jn,"BasicEObjectImpl/1",533),m(1021,1,Lne,nTe),s.Dk=function(n){return aY(this.a,this.b,n)},s.Oj=function(){return J_e(this.a,this.b)},s.Wb=function(n){vae(this.a,this.b,n)},s.Ek=function(){vyn(this.a,this.b)},v(Jn,"BasicEObjectImpl/4",1021),m(2043,1,{114:1}),s.Kk=function(n){this.e=n==0?thn:le(Mr,Nn,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw R(new _t)},s.Nk=function(){throw R(new _t)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw R(new _t)},s.Sk=function(n){throw R(new _t)},s.Tk=function(n){this.d=n};var thn;v(Jn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2043),m(192,2043,{114:1},tl),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},v(Jn,"BasicEObjectImpl/EPropertiesHolderImpl",192),m(501,100,cZe,xv),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new tl),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(O0(),Bn).S},s.i=0,s.j=1,v(Jn,"EObjectImpl",501),m(785,501,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},wfe),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return Ji(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new SL),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=dt(this.d),this.e=n==0?ihn:le(Mr,Nn,1,n,5,1)),this},s.gi=function(){return 0};var ihn;v(Jn,"DynamicEObjectImpl",785),m(1483,785,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},kIe),s.Fb=function(n){return this===n},s.Hb=function(){return xw(this)},s._h=function(n){this.d=n,this.b=tN(n,"key"),this.c=tN(n,JS)},s.yi=function(){var n;return this.a==-1&&(n=SY(this,this.b),this.a=n==null?0:Ni(n)),this.a},s.jd=function(){return SY(this,this.b)},s.kd=function(){return SY(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){vae(this,this.b,n)},s.ld=function(n){var t;return t=SY(this,this.c),vae(this,this.c,n),t},s.a=0,v(Jn,"DynamicEObjectImpl/BasicEMapEntry",1483),m(1484,1,{114:1},SL),s.Kk=function(n){throw R(new _t)},s.ii=function(n){throw R(new _t)},s.ji=function(n,t){throw R(new _t)},s.ki=function(n){throw R(new _t)},s.Lk=function(){throw R(new _t)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw R(new _t)},s.Qk=function(n){throw R(new _t)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},v(Jn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1484),m(504,161,{109:1,94:1,93:1,587:1,158:1,57:1,114:1,52:1,100:1,504:1,161:1,117:1,118:1},_b),s.xh=function(n){return Xde(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b):(!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),rO(this.b));case 3:return V_e(this);case 4:return!this.a&&(this.a=new mr(kb,this,4)),this.a;case 5:return!this.c&&(this.c=new qv(kb,this,5)),this.c}return $l(this,n-dt((jn(),t0)),Cn((r=u(Kn(this,16),29),r||t0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?Xde(this,i):this.Cb.Qh(this,-1-c,null,i))),Ofe(this,u(n,158),i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),Q$(this.b,n,i);case 3:return Ofe(this,null,i);case 4:return!this.a&&(this.a=new mr(kb,this,4)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),t0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),t0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!V_e(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Pl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:i3n(this,Pt(t));return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),_B(this.b,t);return;case 3:XUe(this,u(t,158));return;case 4:!this.a&&(this.a=new mr(kb,this,4)),kt(this.a),!this.a&&(this.a=new mr(kb,this,4)),nr(this.a,u(t,18));return;case 5:!this.c&&(this.c=new qv(kb,this,5)),kt(this.c),!this.c&&(this.c=new qv(kb,this,5)),nr(this.c,u(t,18));return}Hl(this,n-dt((jn(),t0)),Cn((i=u(Kn(this,16),29),i||t0),n),t)},s.fi=function(){return jn(),t0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:qhe(this,null);return;case 2:!this.b&&(this.b=new Hs((jn(),Ac),Du,this)),this.b.c.$b();return;case 3:XUe(this,null);return;case 4:!this.a&&(this.a=new mr(kb,this,4)),kt(this.a);return;case 5:!this.c&&(this.c=new qv(kb,this,5)),kt(this.c);return}Jl(this,n-dt((jn(),t0)),Cn((t=u(Kn(this,16),29),t||t0),n))},s.Ib=function(){return RFe(this)},s.d=null,v(Jn,"EAnnotationImpl",504),m(142,711,rme,os),s.Ei=function(n,t){Cwn(this,n,u(t,45))},s.Uk=function(n,t){return C2n(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return Q$(this,n,t)},s.Dk=function(n){return u(this.c,77).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,77).Oj()},s.ak=function(n,t,i){var r;return r=u(sl(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new soe(this)},s.Wb=function(n){_B(this,n)},s.Ek=function(){u(this.c,77).Ek()},v(Ri,"EcoreEMap",142),m(169,142,rme,Hs),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=le(J8e,ime,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&oi)%o.length,n=o[c],!n&&(n=o[c]=new soe(this)),n.Ec(t);this.d=o}},v(Jn,"EAnnotationImpl/1",169),m(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0)}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:this.ri(Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),nhn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:this.ri(null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.Xk(1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){af(this),this.Bb|=1},s.Fk=function(){return af(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return J1e(this,n,t)},s.Xk=function(n){z2(this,n)},s.Ib=function(){return rbe(this)},s.s=0,s.t=1,v(Jn,"ETypedElementImpl",293),m(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return THe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!this.Hk();case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this)}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?THe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,17,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 17:return dl(this,null,17,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this)}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),ehn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.Xk(1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,CB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.mi=function(){z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return T8(this)},s.ok=function(){return D2(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return kz(this)},s.uk=function(){var n,t,i,r,c,o,l,f,h;return this.p||(i=D2(this),(i.i==null&&Eh(i),i.i).length,r=this.sk(),r&&dt(D2(r)),c=af(this),l=c.ik(),n=l?(l.i&1)!=0?l==ts?Qi:l==$t?jr:l==Zm?p7:l==Jr?gr:l==Tp?ap:l==fy?hp:l==ds?A4:ZS:l:null,t=T8(this),f=c.gk(),Jjn(this),(this.Bb&Sh)!=0&&((o=e0e((ls(),nc),i))&&o!=this||(o=F5(Vc(nc,this))))?this.p=new iTe(this,o):this.Hk()?this.$k()?r?(this.Bb&as)!=0?n?this._k()?this.p=new Vb(47,n,this,r):this.p=new Vb(5,n,this,r):this._k()?this.p=new ng(46,this,r):this.p=new ng(4,this,r):n?this._k()?this.p=new Vb(49,n,this,r):this.p=new Vb(7,n,this,r):this._k()?this.p=new ng(48,this,r):this.p=new ng(6,this,r):(this.Bb&as)!=0?n?n==Eg?this.p=new Md(50,Pan,this):this._k()?this.p=new Md(43,n,this):this.p=new Md(1,n,this):this._k()?this.p=new Td(42,this):this.p=new Td(0,this):n?n==Eg?this.p=new Md(41,Pan,this):this._k()?this.p=new Md(45,n,this):this.p=new Md(3,n,this):this._k()?this.p=new Td(44,this):this.p=new Td(2,this):X(c,159)?n==TG?this.p=new Td(40,this):(this.Bb&512)!=0?(this.Bb&as)!=0?n?this.p=new Md(9,n,this):this.p=new Td(8,this):n?this.p=new Md(11,n,this):this.p=new Td(10,this):(this.Bb&as)!=0?n?this.p=new Md(13,n,this):this.p=new Td(12,this):n?this.p=new Md(15,n,this):this.p=new Td(14,this):r?(h=r.t,h>1||h==-1?this._k()?(this.Bb&as)!=0?n?this.p=new Vb(25,n,this,r):this.p=new ng(24,this,r):n?this.p=new Vb(27,n,this,r):this.p=new ng(26,this,r):(this.Bb&as)!=0?n?this.p=new Vb(29,n,this,r):this.p=new ng(28,this,r):n?this.p=new Vb(31,n,this,r):this.p=new ng(30,this,r):this._k()?(this.Bb&as)!=0?n?this.p=new Vb(33,n,this,r):this.p=new ng(32,this,r):n?this.p=new Vb(35,n,this,r):this.p=new ng(34,this,r):(this.Bb&as)!=0?n?this.p=new Vb(37,n,this,r):this.p=new ng(36,this,r):n?this.p=new Vb(39,n,this,r):this.p=new ng(38,this,r)):this._k()?(this.Bb&as)!=0?n?this.p=new Md(17,n,this):this.p=new Td(16,this):n?this.p=new Md(19,n,this):this.p=new Td(18,this):(this.Bb&as)!=0?n?this.p=new Md(21,n,this):this.p=new Td(20,this):n?this.p=new Md(23,n,this):this.p=new Td(22,this):this.Zk()?this._k()?this.p=new UNe(u(c,29),this,r):this.p=new wae(u(c,29),this,r):X(c,159)?n==TG?this.p=new Td(40,this):(this.Bb&as)!=0?n?this.p=new HIe(t,f,this,(MQ(),l==$t?c7e:l==ts?e7e:l==Tp?u7e:l==Zm?r7e:l==Jr?i7e:l==fy?o7e:l==ds?n7e:l==Zl?t7e:Hce)):this.p=new c_e(u(c,159),t,f,this):n?this.p=new JIe(t,f,this,(MQ(),l==$t?c7e:l==ts?e7e:l==Tp?u7e:l==Zm?r7e:l==Jr?i7e:l==fy?o7e:l==ds?n7e:l==Zl?t7e:Hce)):this.p=new r_e(u(c,159),t,f,this):this.$k()?r?(this.Bb&as)!=0?this._k()?this.p=new KNe(u(c,29),this,r):this.p=new nfe(u(c,29),this,r):this._k()?this.p=new XNe(u(c,29),this,r):this.p=new ZK(u(c,29),this,r):(this.Bb&as)!=0?this._k()?this.p=new GOe(u(c,29),this):this.p=new yle(u(c,29),this):this._k()?this.p=new HOe(u(c,29),this):this.p=new BK(u(c,29),this):this._k()?r?(this.Bb&as)!=0?this.p=new VNe(u(c,29),this,r):this.p=new tfe(u(c,29),this,r):(this.Bb&as)!=0?this.p=new qOe(u(c,29),this):this.p=new kle(u(c,29),this):r?(this.Bb&as)!=0?this.p=new YNe(u(c,29),this,r):this.p=new ife(u(c,29),this,r):(this.Bb&as)!=0?this.p=new UOe(u(c,29),this):this.p=new dR(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&qf)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&Sh)!=0},s.vk=function(){return AY(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&as)!=0},s.al=function(n){this.k=n},s.ri=function(n){XV(this,n)},s.Ib=function(){return qz(this)},s.e=!1,s.n=0,v(Jn,"EStructuralFeatureImpl",451),m(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},vX),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),!!W0e(this);case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return t?XY(this):o$e(this)}return $l(this,n-dt((jn(),Ym)),Cn((r=u(Kn(this,16),29),r||Ym),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return W0e(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this);case 18:return(this.Bb&Ru)!=0;case 19:return!!o$e(this)}return Pl(this,n-dt((jn(),Ym)),Cn((t=u(Kn(this,16),29),t||Ym),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:NAe(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return;case 18:mQ(this,ze(Be(t)));return}Hl(this,n-dt((jn(),Ym)),Cn((i=u(Kn(this,16),29),i||Ym),n),t)},s.fi=function(){return jn(),Ym},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:this.b=0,z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,CB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return;case 18:mQ(this,!1);return}Jl(this,n-dt((jn(),Ym)),Cn((t=u(Kn(this,16),29),t||Ym),n))},s.mi=function(){XY(this),z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.Hk=function(){return W0e(this)},s.Wk=function(n,t){return this.b=0,this.a=null,J1e(this,n,t)},s.Xk=function(n){NAe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?qz(this):(n=new uf(qz(this)),n.a+=" (iD: ",jd(n,(this.Bb&Ru)!=0),n.a+=")",n.a)},s.b=0,v(Jn,"EAttributeImpl",335),m(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return WQ(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xw(this);case 4:return this.gk();case 5:return this.F;case 6:return t?sl(this):H9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A}return $l(this,n-dt(this.fi()),Cn((r=u(Kn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i)}return o=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Lo(this),t-dt(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Lo(this),t-dt(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0}return Pl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:HR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return}Hl(this,n-dt(this.fi()),Cn((i=u(Kn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return jn(),Kan},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return}Jl(this,n-dt(this.fi()),Cn((t=u(Kn(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=sl(this),n?Bd(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return sl(this)},s.cl=function(){return this.v},s.ik=function(){return Xw(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return JW(this,n)},s.dl=function(n){this.v=n},s.el=function(n){YBe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){HR(this,n)},s.Ib=function(){return ez(this)},s.C=null,s.D=null,s.G=-1,v(Jn,"EClassifierImpl",360),m(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},lj),s.bl=function(n){return b2n(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return Xw(this);case 4:return null;case 5:return this.F;case 6:return t?sl(this):H9(this);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),this.A;case 8:return $n(),(this.Bb&256)!=0;case 9:return $n(),(this.Bb&512)!=0;case 10:return tu(this);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),this.q;case 12:return m3(this);case 13:return gS(this);case 14:return gS(this),this.r;case 15:return m3(this),this.k;case 16:return F0e(this);case 17:return UW(this);case 18:return Eh(this);case 19:return Pz(this);case 20:return m3(this),this.o;case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),this.s;case 22:return Vu(this);case 23:return IW(this)}return $l(this,n-dt((jn(),jb)),Cn((r=u(Kn(this,16),29),r||jb),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),Co(this.q,n,i);case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),Co(this.s,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 11:return!this.q&&(this.q=new pe(kf,this,11,10)),vc(this.q,n,i);case 21:return!this.s&&(this.s=new pe(ns,this,21,17)),vc(this.s,n,i);case 22:return vc(Vu(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),jb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),jb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&Vu(this.u.a).i!=0&&!(this.n&&FQ(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return m3(this).i!=0;case 13:return gS(this).i!=0;case 14:return gS(this),this.r.i!=0;case 15:return m3(this),this.k.i!=0;case 16:return F0e(this).i!=0;case 17:return UW(this).i!=0;case 18:return Eh(this).i!=0;case 19:return Pz(this).i!=0;case 20:return m3(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&FQ(this.n);case 23:return IW(this).i!=0}return Pl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:tN(this,n),t||Oge(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:HR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:q1e(this,ze(Be(t)));return;case 9:U1e(this,ze(Be(t)));return;case 10:mS(tu(this)),nr(tu(this),u(t,18));return;case 11:!this.q&&(this.q=new pe(kf,this,11,10)),kt(this.q),!this.q&&(this.q=new pe(kf,this,11,10)),nr(this.q,u(t,18));return;case 21:!this.s&&(this.s=new pe(ns,this,21,17)),kt(this.s),!this.s&&(this.s=new pe(ns,this,21,17)),nr(this.s,u(t,18));return;case 22:kt(Vu(this)),nr(Vu(this),u(t,18));return}Hl(this,n-dt((jn(),jb)),Cn((i=u(Kn(this,16),29),i||jb),n),t)},s.fi=function(){return jn(),jb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:q1e(this,!1);return;case 9:U1e(this,!1);return;case 10:this.u&&mS(this.u);return;case 11:!this.q&&(this.q=new pe(kf,this,11,10)),kt(this.q);return;case 21:!this.s&&(this.s=new pe(ns,this,21,17)),kt(this.s);return;case 22:this.n&&kt(this.n);return}Jl(this,n-dt((jn(),jb)),Cn((t=u(Kn(this,16),29),t||jb),n))},s.mi=function(){var n,t;if(m3(this),gS(this),F0e(this),UW(this),Eh(this),Pz(this),IW(this),xE(Pvn(Ms(this))),this.s)for(n=0,t=this.s.i;n=0;--t)K(this,t);return bde(this,n)},s.Ek=function(){kt(this)},s.Xi=function(n,t){return jBe(this,n,t)},v(Ri,"EcoreEList",623),m(491,623,au,BT),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,v(Ri,"EObjectEList",491),m(81,491,au,mr),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},v(Ri,"EObjectContainmentEList",81),m(543,81,au,J$),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.b,this.b=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,v(Ri,"EObjectContainmentEList/Unsettable",543),m(1130,543,au,GIe),s.Ri=function(n,t){var i,r;return i=u(GE(this,n,t),87),Fs(this.e)&&d9(this,new oO(this.a,7,(jn(),Van),ye(t),(r=i.c,X(r,88)?u(r,29):Ef),n)),i},s.Sj=function(n,t){return yEn(this,u(n,87),t)},s.Tj=function(n,t){return kEn(this,u(n,87),t)},s.Uj=function(n,t,i){return jAn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return vE(this,n,t,i,r,this.i>1);case 5:return vE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new $1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return FQ(this)},s.Ek=function(){kt(this)},v(Jn,"EClassImpl/1",1130),m(1144,1143,tme),s.bj=function(n){var t,i,r,c,o,l,f;if(i=n.ej(),i!=8){if(r=rSn(n),r==0)switch(i){case 1:case 9:{f=n.ij(),f!=null&&(t=Ms(u(f,471)),!t.c&&(t.c=new Nl),dB(t.c,n.hj())),l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29))));break}case 3:{l=n.gj(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29))));break}case 5:{if(l=n.gj(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),Et(t.c,u(n.hj(),29)));break}case 4:{f=n.ij(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),dB(t.c,n.hj())));break}case 6:{if(f=n.ij(),f!=null)for(o=u(f,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ms(c),!t.c&&(t.c=new Nl),dB(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){DXe(this,n)},s.b=63,v(Jn,"ESuperAdapter",1144),m(1145,1144,tme,GSe),s.ol=function(n){Z2(this,n)},v(Jn,"EClassImpl/10",1145),m(1134,699,au),s.Ci=function(n,t){return fW(this,n,t)},s.Di=function(n){return dHe(this,n)},s.Ei=function(n,t){OO(this,n,t)},s.Fi=function(n){nO(this,n)},s.Yi=function(n){return vhe(this,n)},s.Vi=function(n,t){return xY(this,n,t)},s.Uk=function(n,t){throw R(new _t)},s.Gi=function(){return new M5(this)},s.Hi=function(){return new AT(this)},s.Ii=function(n){return pO(this,n)},s.Vk=function(n,t){throw R(new _t)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw R(new _t)},s.Ek=function(){throw R(new _t)},v(Ri,"EcoreEList/UnmodifiableEList",1134),m(333,1134,au,Bv),s.Wi=function(){return!1},v(Ri,"EcoreEList/UnmodifiableEList/FastCompare",333),m(1137,333,au,Jze),s.bd=function(n){var t,i,r;if(X(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),f=i==this.b&&(this.kl()?r.vh(r.Ch(),u(Cn(Go(this.b),this.Jj()).Fk(),29).ik())==Oc(u(Cn(Go(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!f&&!i&&r.Gh()){for(c=0;c1||r==-1)):!1},s.kl=function(){var n,t,i;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),i=Oc(n),!!i):!1},s.ll=function(){var n,t;return t=Cn(Go(this.b),this.Jj()),X(t,103)?(n=u(t,19),(n.Bb&Ec)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i=0;--n)fN(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)fN(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){mS(this)},s.Xi=function(n,t){return U$e(this,n,t)},v(Ri,"DelegatingEcoreEList",744),m(1140,744,ume,tNe),s.oj=function(n,t){Hpn(this,n,u(t,29))},s.pj=function(n){Own(this,u(n,29))},s.vj=function(n){var t,i;return t=u(K(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),Ef)},s.Aj=function(n){var t,i;return t=u(tm(Vu(this.a),n),87),i=t.c,X(i,88)?u(i,29):(jn(),Ef)},s.Bj=function(n,t){return YSn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new XSe(this)},s.rj=function(){kt(Vu(this.a))},s.sj=function(n){return BFe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!BFe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(X(n,16)&&(r=u(n,16),r.gc()==Vu(this.a).i)){for(t=r.Jc(),i=new st(this);t.Ob();)if(oe(t.Pb())!==oe(ft(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),r=(c=n.c,X(c,88)?u(c,29):(jn(),Ef)),i=31*i+(r?xw(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new st(Vu(this.a));i.e!=i.i.gc();){if(t=u(ft(i),87),oe(n)===oe((c=t.c,X(c,88)?u(c,29):(jn(),Ef))))return r;++r}return-1},s.yj=function(){return Vu(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return Vu(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=Vu(this.a).i,c=le(Mr,Nn,1,o,5,1),i=0,t=new st(Vu(this.a));t.e!=t.i.gc();)n=u(ft(t),87),c[i++]=(r=n.c,X(r,88)?u(r,29):(jn(),Ef));return c},s.Ej=function(n){var t,i,r,c,o,l,f;for(f=Vu(this.a).i,n.lengthf&&ir(n,f,null),r=0,i=new st(Vu(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,X(l,88)?u(l,29):(jn(),Ef)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new kd,c.a+="[",n=Vu(this.a),t=0,r=Vu(this.a).i;t>16,c>=0?WQ(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,6,i);case 9:return!this.a&&(this.a=new pe(td,this,9,5)),Co(this.a,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Eb)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Eb)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 6:return dl(this,null,6,i);case 7:return!this.A&&(this.A=new rs(Fo,this,7)),vc(this.A,n,i);case 9:return!this.a&&(this.a=new pe(td,this,9,5)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Eb)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Eb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!Xw(this);case 4:return!!I1e(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!H9(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),Eb)),Cn((t=u(Kn(this,16),29),t||Eb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:HR(this,Pt(t));return;case 2:AK(this,Pt(t));return;case 5:P8(this,Pt(t));return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A),!this.A&&(this.A=new rs(Fo,this,7)),nr(this.A,u(t,18));return;case 8:UB(this,ze(Be(t)));return;case 9:!this.a&&(this.a=new pe(td,this,9,5)),kt(this.a),!this.a&&(this.a=new pe(td,this,9,5)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),Eb)),Cn((i=u(Kn(this,16),29),i||Eb),n),t)},s.fi=function(){return jn(),Eb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,184)&&(u(this.Cb,184).tb=null),Mo(this,null);return;case 2:s8(this,null),Q9(this,this.D);return;case 5:P8(this,null);return;case 7:!this.A&&(this.A=new rs(Fo,this,7)),kt(this.A);return;case 8:UB(this,!0);return;case 9:!this.a&&(this.a=new pe(td,this,9,5)),kt(this.a);return}Jl(this,n-dt((jn(),Eb)),Cn((t=u(Kn(this,16),29),t||Eb),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?u(this.Cb,675):null}return $l(this,n-dt((jn(),i0)),Cn((r=u(Kn(this,16),29),r||i0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?zHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,5,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 5:return dl(this,null,5,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),i0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),i0)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Pl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:IY(this,u(t,15).a);return;case 3:Hqe(this,u(t,2001));return;case 4:_Y(this,Pt(t));return}Hl(this,n-dt((jn(),i0)),Cn((i=u(Kn(this,16),29),i||i0),n),t)},s.fi=function(){return jn(),i0},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:IY(this,0);return;case 3:Hqe(this,null);return;case 4:_Y(this,null);return}Jl(this,n-dt((jn(),i0)),Cn((t=u(Kn(this,16),29),t||i0),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,v(Jn,"EEnumLiteralImpl",568);var ozn=Gi(Jn,"EFactoryImpl/InternalEDateTimeFormat");m(485,1,{2076:1},QC),v(Jn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),m(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},mw),s.zh=function(n,t,i){var r;return i=dl(this,n,t,i),this.e&&X(n,179)&&(r=Lz(this,this.e),r!=this.c&&(i=$8(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new mr(Rc,this,1)),this.d;case 2:return t?Xz(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?GQ(this):this.a}return $l(this,n-dt((jn(),Ap)),Cn((r=u(Kn(this,16),29),r||Ap),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return xFe(this,null,i);case 1:return!this.d&&(this.d=new mr(Rc,this,1)),vc(this.d,n,i);case 3:return SFe(this,null,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Ap)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Ap)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Pl(this,n-dt((jn(),Ap)),Cn((t=u(Kn(this,16),29),t||Ap),n))},s.$h=function(n,t){var i;switch(n){case 0:cGe(this,u(t,87));return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d),!this.d&&(this.d=new mr(Rc,this,1)),nr(this.d,u(t,18));return;case 3:s0e(this,u(t,87));return;case 4:M0e(this,u(t,834));return;case 5:Y9(this,u(t,143));return}Hl(this,n-dt((jn(),Ap)),Cn((i=u(Kn(this,16),29),i||Ap),n),t)},s.fi=function(){return jn(),Ap},s.hi=function(n){var t;switch(n){case 0:cGe(this,null);return;case 1:!this.d&&(this.d=new mr(Rc,this,1)),kt(this.d);return;case 3:s0e(this,null);return;case 4:M0e(this,null);return;case 5:Y9(this,null);return}Jl(this,n-dt((jn(),Ap)),Cn((t=u(Kn(this,16),29),t||Ap),n))},s.Ib=function(){var n;return n=new il(Jf(this)),n.a+=" (expression: ",QW(this,n),n.a+=")",n.a};var Z8e;v(Jn,"EGenericTypeImpl",248),m(2029,2024,ZF),s.Ei=function(n,t){rNe(this,n,t)},s.Uk=function(n,t){return rNe(this,this.gc(),n),t},s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new QSe(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return U2(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=nW(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;U2(this,t,!0),i=this.dd(n),i.Rb(t)},v(Ri,"AbstractSequentialInternalEList",2029),m(482,2029,ZF,MT),s.Yi=function(n){return Yu(this.nj(),n)},s.Gi=function(){return this.b==null?(xd(),xd(),uD):this.ql()},s.nj=function(){return new ETe(this.a,this.b)},s.Hi=function(){return this.b==null?(xd(),xd(),uD):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw R(new jo(HS+n+", size=0"));return xd(),xd(),uD}for(i=this.ql(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.nk()!=Q7||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(Tc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),X(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?iqe(this,this.p):dqe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return LB(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw R(new hu)},s.Vb=function(){return this.a-1},s.Qb=function(){throw R(new _t)},s.sl=function(){return!1},s.Wb=function(n){throw R(new _t)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var uD;v(Ri,"EContentsEList/FeatureIteratorImpl",287),m(700,287,eJ,vle),s.sl=function(){return!0},v(Ri,"EContentsEList/ResolvingFeatureIteratorImpl",700),m(1147,700,eJ,zOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/1",1147),m(1148,287,eJ,FOe),s.tl=function(){return!1},v(Jn,"ENamedElementImpl/1/2",1148),m(39,151,HN,$2,rY,Dr,mY,$1,Pf,Nhe,ALe,Ihe,MLe,Uae,CLe,Lhe,TLe,Xae,OLe,Dhe,NLe,hE,oO,RV,_he,ILe,Kae,DLe),s.Ij=function(){return dhe(this)},s.Pj=function(){var n;return n=dhe(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=dhe(this),n?n.rk():!1},s.b=-1,v(Jn,"ENotificationImpl",39),m(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},yX),s.xh=function(n){return JHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new rs(Fo,this,11)),this.d;case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),this.c;case 13:return!this.a&&(this.a=new NT(this,this)),this.a;case 14:return Ts(this)}return $l(this,n-dt((jn(),r0)),Cn((r=u(Kn(this,16),29),r||r0),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?JHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,10,i);case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),Co(this.c,n,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),r0)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),r0)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return dl(this,null,10,i);case 11:return!this.d&&(this.d=new rs(Fo,this,11)),vc(this.d,n,i);case 12:return!this.c&&(this.c=new pe(xp,this,12,10)),vc(this.c,n,i);case 14:return vc(Ts(this),n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),r0)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),r0)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ts(this.a.a).i!=0&&!(this.b&&JQ(this.b));case 14:return!!this.b&&JQ(this.b)}return Pl(this,n-dt((jn(),r0)),Cn((t=u(Kn(this,16),29),t||r0),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:z2(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d),!this.d&&(this.d=new rs(Fo,this,11)),nr(this.d,u(t,18));return;case 12:!this.c&&(this.c=new pe(xp,this,12,10)),kt(this.c),!this.c&&(this.c=new pe(xp,this,12,10)),nr(this.c,u(t,18));return;case 13:!this.a&&(this.a=new NT(this,this)),mS(this.a),!this.a&&(this.a=new NT(this,this)),nr(this.a,u(t,18));return;case 14:kt(Ts(this)),nr(Ts(this),u(t,18));return}Hl(this,n-dt((jn(),r0)),Cn((i=u(Kn(this,16),29),i||r0),n),t)},s.fi=function(){return jn(),r0},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new rs(Fo,this,11)),kt(this.d);return;case 12:!this.c&&(this.c=new pe(xp,this,12,10)),kt(this.c);return;case 13:this.a&&mS(this.a);return;case 14:this.b&&kt(this.b);return}Jl(this,n-dt((jn(),r0)),Cn((t=u(Kn(this,16),29),t||r0),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nf&&ir(n,f,null),r=0,i=new st(Ts(this.a));i.e!=i.i.gc();)t=u(ft(i),87),o=(l=t.c,l||(jn(),uh)),ir(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new kd,c.a+="[",n=Ts(this.a),t=0,r=Ts(this.a).i;t1);case 5:return vE(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new $1(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return JQ(this)},s.Ek=function(){kt(this)},v(Jn,"EOperationImpl/2",1331),m(493,1,{1999:1,493:1},tTe),v(Jn,"EPackageImpl/1",493),m(14,81,au,pe),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectContainmentWithInverseEList",14),m(361,14,au,T5),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Resolving",361),m(312,361,au,C2),s.Li=function(){this.a.tb=null},v(Jn,"EPackageImpl/2",312),m(1243,1,{},Ss),v(Jn,"EPackageImpl/3",1243),m(721,44,j3,joe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},v(Jn,"EPackageRegistryImpl",721),m(503,293,{109:1,94:1,93:1,158:1,197:1,57:1,2078:1,114:1,470:1,52:1,100:1,161:1,503:1,293:1,117:1,118:1},kX),s.xh=function(n){return HHe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),o=this.t,o>1||o==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return $l(this,n-dt((jn(),Qm)),Cn((r=u(Kn(this,16),29),r||Qm),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),Co(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?HHe(this,i):this.Cb.Qh(this,-1-c,null,i))),dl(this,n,10,i)}return o=u(Cn((r=u(Kn(this,16),29),r||(jn(),Qm)),t),69),o.uk().xk(this,Lo(this),t-dt((jn(),Qm)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 9:return SV(this,i);case 10:return dl(this,null,10,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Qm)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Qm)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Pl(this,n-dt((jn(),Qm)),Cn((t=u(Kn(this,16),29),t||Qm),n))},s.fi=function(){return jn(),Qm},v(Jn,"EParameterImpl",503),m(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},Ele),s.Ih=function(n,t,i){var r,c,o,l;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return $n(),(this.Bb&256)!=0;case 3:return $n(),(this.Bb&512)!=0;case 4:return ye(this.s);case 5:return ye(this.t);case 6:return $n(),l=this.t,l>1||l==-1;case 7:return $n(),c=this.s,c>=1;case 8:return t?af(this):this.r;case 9:return this.q;case 10:return $n(),(this.Bb&qf)!=0;case 11:return $n(),(this.Bb&Q0)!=0;case 12:return $n(),(this.Bb&sm)!=0;case 13:return this.j;case 14:return T8(this);case 15:return $n(),(this.Bb&as)!=0;case 16:return $n(),(this.Bb&Sh)!=0;case 17:return D2(this);case 18:return $n(),(this.Bb&Ru)!=0;case 19:return $n(),o=Oc(this),!!(o&&(o.Bb&Ru)!=0);case 20:return $n(),(this.Bb&Ec)!=0;case 21:return t?Oc(this):this.b;case 22:return t?g1e(this):YPe(this);case 23:return!this.a&&(this.a=new qv(Km,this,23)),this.a}return $l(this,n-dt((jn(),uy)),Cn((r=u(Kn(this,16),29),r||uy),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Ow(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Ow(this.q).i==0);case 10:return(this.Bb&qf)==0;case 11:return(this.Bb&Q0)!=0;case 12:return(this.Bb&sm)!=0;case 13:return this.j!=null;case 14:return T8(this)!=null;case 15:return(this.Bb&as)!=0;case 16:return(this.Bb&Sh)!=0;case 17:return!!D2(this);case 18:return(this.Bb&Ru)!=0;case 19:return r=Oc(this),!!r&&(r.Bb&Ru)!=0;case 20:return(this.Bb&Ec)==0;case 21:return!!this.b;case 22:return!!YPe(this);case 23:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),uy)),Cn((t=u(Kn(this,16),29),t||uy),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:XV(this,Pt(t));return;case 2:$d(this,ze(Be(t)));return;case 3:Rd(this,ze(Be(t)));return;case 4:Dd(this,u(t,15).a);return;case 5:z2(this,u(t,15).a);return;case 8:sg(this,u(t,143));return;case 9:r=Ha(this,u(t,87),null),r&&r.mj();return;case 10:h8(this,ze(Be(t)));return;case 11:g8(this,ze(Be(t)));return;case 12:b8(this,ze(Be(t)));return;case 13:Lse(this,Pt(t));return;case 15:d8(this,ze(Be(t)));return;case 16:w8(this,ze(Be(t)));return;case 18:J5n(this,ze(Be(t)));return;case 20:W1e(this,ze(Be(t)));return;case 21:Yhe(this,u(t,19));return;case 23:!this.a&&(this.a=new qv(Km,this,23)),kt(this.a),!this.a&&(this.a=new qv(Km,this,23)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),uy)),Cn((i=u(Kn(this,16),29),i||uy),n),t)},s.fi=function(){return jn(),uy},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),4),Mo(this,null);return;case 2:$d(this,!0);return;case 3:Rd(this,!0);return;case 4:Dd(this,0);return;case 5:z2(this,1);return;case 8:sg(this,null);return;case 9:i=Ha(this,null,null),i&&i.mj();return;case 10:h8(this,!0);return;case 11:g8(this,!1);return;case 12:b8(this,!1);return;case 13:this.i=null,CB(this,null);return;case 15:d8(this,!1);return;case 16:w8(this,!1);return;case 18:Z1e(this,!1),X(this.Cb,88)&&Z2(Ms(u(this.Cb,88)),2);return;case 20:W1e(this,!0);return;case 21:Yhe(this,null);return;case 23:!this.a&&(this.a=new qv(Km,this,23)),kt(this.a);return}Jl(this,n-dt((jn(),uy)),Cn((t=u(Kn(this,16),29),t||uy),n))},s.mi=function(){g1e(this),z9(Vc((ls(),nc),this)),af(this),this.Bb|=1},s.sk=function(){return Oc(this)},s.Zk=function(){var n;return n=Oc(this),!!n&&(n.Bb&Ru)!=0},s.$k=function(){return(this.Bb&Ru)!=0},s._k=function(){return(this.Bb&Ec)!=0},s.Wk=function(n,t){return this.c=null,J1e(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?qz(this):(n=new uf(qz(this)),n.a+=" (containment: ",jd(n,(this.Bb&Ru)!=0),n.a+=", resolveProxies: ",jd(n,(this.Bb&Ec)!=0),n.a+=")",n.a)},v(Jn,"EReferenceImpl",103),m(549,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,549:1,117:1,118:1},Bh),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return xw(this)},s.Ai=function(n){r3n(this,Pt(n))},s.ld=function(n){return Xvn(this,Pt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return $l(this,n-dt((jn(),Ac)),Cn((r=u(Kn(this,16),29),r||Ac),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Pl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.$h=function(n,t){var i;switch(n){case 0:c3n(this,Pt(t));return;case 1:Ghe(this,Pt(t));return}Hl(this,n-dt((jn(),Ac)),Cn((i=u(Kn(this,16),29),i||Ac),n),t)},s.fi=function(){return jn(),Ac},s.hi=function(n){var t;switch(n){case 0:Xhe(this,null);return;case 1:Ghe(this,null);return}Jl(this,n-dt((jn(),Ac)),Cn((t=u(Kn(this,16),29),t||Ac),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:_d(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (key: ",Bc(n,this.b),n.a+=", value: ",Bc(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var Du=v(Jn,"EStringToStringMapEntryImpl",549),chn=Gi(Ri,"FeatureMap/Entry/Internal");m(562,1,nJ),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:X(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:gi(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),Ni(this.c)^(n==null?0:Ni(n))},s.Ib=function(){var n,t;return n=this.c,t=sl(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},v(Jn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),m(777,562,nJ,Tle),s.wl=function(n){return new Tle(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return O7n(this,n,this.a,t,i)},s.yl=function(n,t,i){return N7n(this,n,this.a,t,i)},v(Jn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",777),m(1304,1,{},iTe),s.wk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(U9(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(U9(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(U9(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(U9(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(U9(n,this.b),219),r.Wl(this.a).Ek()},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1304),m(89,1,{},Md,Vb,Td,ng),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=iF(this,n)),!c)switch(this.e){case 50:case 41:return u(o,586)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),l==null&&t.ji(i,l=iF(this,n)),o=u(l,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,77).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),77),!c&&t.ji(i,c=iF(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=iF(this,n)),X(c,77)?u(c,77):(r=u(t.ii(i),16),new VSe(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),77),!r&&t.ji(i,r=iF(this,n)),r.Ek()},s.b=0,s.e=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),m(498,1,{}),s.xk=function(n,t,i,r,c){throw R(new _t)},s.yk=function(n,t,i,r,c){throw R(new _t)},s.Bk=function(n,t,i){return new e_e(this,n,t,i)};var g1;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",498),m(1321,1,Lne,e_e),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1321),m(770,498,{},wae),s.wk=function(n,t,i,r,c){return RW(n,n.Mh(),n.Ch())==this.b?this._k()&&r?xW(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,l;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),l=Ji(n.Ah(),this.e),n.zh(r,l,c)},s.yk=function(n,t,i,r,c){var o;return o=Ji(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=Ji(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new b9(tJ+(X(r,57)?o0e(u(r,57).Ah()):Mhe(Us(r)))+iJ+this.a+"'"));if(c=n.Mh(),l=Ji(n.Ah(),this.e),oe(r)!==oe(c)||n.Ch()!=l&&r!=null){if(k8(n,u(r,57)))throw R(new Un(FS+n.Ib()));h=null,c&&(h=(o=n.Ch(),o>=0?n.xh(h):n.Mh().Qh(n,-1-o,null,h))),f=u(r,52),f&&(h=f.Oh(n,Ji(f.Ah(),this.b),null,h)),h=n.zh(f,l,h),h&&h.mj()}else n.sh()&&n.th()&&hi(n,new Dr(n,1,l,r,r))},s.Ck=function(n,t,i){var r,c,o,l;r=n.Mh(),r?(l=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=Ji(n.Ah(),this.e),l=n.zh(null,o,l),l&&l.mj()):n.sh()&&n.th()&&hi(n,new hE(n,1,this.e,null,null))},s._k=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",770),m(1305,770,{},UNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1305),m(560,498,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:oe(o)===oe(g1)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(oe(r)===oe(g1)||!gi(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:oe(o)===oe(g1)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,g1):t.ji(i,null):(this.zl(r),t.ji(i,r)),hi(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,g1):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:oe(c)===oe(g1)?null:c),t.ki(i),hi(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw R(new cxe)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),m(N3,1,{},aw),s.Al=function(n,t,i,r,c){return new hE(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new RV(n,t,i,r,c,o)};var e7e,n7e,t7e,i7e,r7e,c7e,u7e,Hce,o7e;v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",N3),m(1322,N3,{},ML),s.Al=function(n,t,i,r,c){return new Kae(n,t,i,ze(Be(r)),ze(Be(c)))},s.Bl=function(n,t,i,r,c,o){return new DLe(n,t,i,ze(Be(r)),ze(Be(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1322),m(1323,N3,{},CL),s.Al=function(n,t,i,r,c){return new Nhe(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new ALe(n,t,i,u(r,221).a,u(c,221).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1323),m(1324,N3,{},TL),s.Al=function(n,t,i,r,c){return new Ihe(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new MLe(n,t,i,u(r,180).a,u(c,180).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1324),m(1325,N3,{},bU),s.Al=function(n,t,i,r,c){return new Uae(n,t,i,te(re(r)),te(re(c)))},s.Bl=function(n,t,i,r,c,o){return new CLe(n,t,i,te(re(r)),te(re(c)),o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1325),m(1326,N3,{},Kk),s.Al=function(n,t,i,r,c){return new Lhe(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new TLe(n,t,i,u(r,164).a,u(c,164).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1326),m(1327,N3,{},zh),s.Al=function(n,t,i,r,c){return new Xae(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new OLe(n,t,i,u(r,15).a,u(c,15).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1327),m(1328,N3,{},p0),s.Al=function(n,t,i,r,c){return new Dhe(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new NLe(n,t,i,u(r,190).a,u(c,190).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1328),m(1329,N3,{},OL),s.Al=function(n,t,i,r,c){return new _he(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new ILe(n,t,i,u(r,191).a,u(c,191).a,o)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1329),m(1307,560,{},r_e),s.zl=function(n){if(!this.a.dk(n))throw R(new b9(tJ+Us(n)+iJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1307),m(1308,560,{},JIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1308),m(771,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):oe(o)===oe(g1)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,g1):(this.zl(r),t.ji(i,r)),hi(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,g1):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):oe(c)===oe(g1)&&(c=null),t.ki(i),hi(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",771),m(1309,771,{},c_e),s.zl=function(n){if(!this.a.dk(n))throw R(new b9(tJ+Us(n)+iJ+this.a+"'"))},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1309),m(1310,771,{},HIe),s.zl=function(n){},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1310),m(402,498,{},dR),s.wk=function(n,t,i,r,c){var o,l,f,h,g;if(g=t.ii(i),this.rk()&&oe(g)===oe(g1))return null;if(this._k()&&r&&g!=null){if(f=u(g,52),f.Sh()&&(h=J0(n,f),f!=h)){if(!JW(this.a,h))throw R(new b9(tJ+Us(h)+iJ+this.a+"'"));t.ji(i,g=h),this.$k()&&(o=u(h,52),l=f.Qh(n,this.b?Ji(f.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,null),!o.Mh()&&(l=o.Oh(n,this.b?Ji(o.Ah(),this.b):-1-Ji(n.Ah(),this.e),null,l)),l&&l.mj()),n.sh()&&n.th()&&hi(n,new hE(n,9,this.e,f,h))}return g}else return g},s.xk=function(n,t,i,r,c){var o,l;return l=t.ii(i),oe(l)===oe(g1)&&(l=null),t.ji(i,r),this.Kj()?oe(l)!==oe(r)&&l!=null&&(o=u(l,52),c=o.Qh(n,Ji(o.Ah(),this.b),null,c)):this.$k()&&l!=null&&(c=u(l,52).Qh(n,-1-Ji(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new E0(4)),c.lj(new hE(n,1,this.e,l,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),oe(o)===oe(g1)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new E0(4)),this.rk()?c.lj(new hE(n,2,this.e,o,null)):c.lj(new hE(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,l,f,h;if(r!=null&&!JW(this.a,r))throw R(new b9(tJ+(X(r,57)?o0e(u(r,57).Ah()):Mhe(Us(r)))+iJ+this.a+"'"));h=t.ii(i),f=h!=null,this.rk()&&oe(h)===oe(g1)&&(h=null),l=null,this.Kj()?oe(h)!==oe(r)&&(h!=null&&(c=u(h,52),l=c.Qh(n,Ji(c.Ah(),this.b),null,l)),r!=null&&(c=u(r,52),l=c.Oh(n,Ji(c.Ah(),this.b),null,l))):this.$k()&&oe(h)!==oe(r)&&(h!=null&&(l=u(h,52).Qh(n,-1-Ji(n.Ah(),this.e),null,l)),r!=null&&(l=u(r,52).Oh(n,-1-Ji(n.Ah(),this.e),null,l))),r==null&&this.rk()?t.ji(i,g1):t.ji(i,r),n.sh()&&n.th()?(o=new RV(n,1,this.e,h,r,this.rk()&&!f),l?(l.lj(o),l.mj()):hi(n,o)):l&&l.mj()},s.Ck=function(n,t,i){var r,c,o,l,f;f=t.ii(i),l=f!=null,this.rk()&&oe(f)===oe(g1)&&(f=null),o=null,f!=null&&(this.Kj()?(r=u(f,52),o=r.Qh(n,Ji(r.Ah(),this.b),null,o)):this.$k()&&(o=u(f,52).Qh(n,-1-Ji(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new RV(n,this.rk()?2:1,this.e,f,null,l),o?(o.lj(c),o.mj()):hi(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),m(561,402,{},BK),s.$k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),m(1313,561,{},HOe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1313),m(773,561,{},yle),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",773),m(1315,773,{},GOe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1315),m(638,561,{},ZK),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",638),m(1314,638,{},XNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1314),m(774,638,{},nfe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",774),m(1316,774,{},KNe),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1316),m(639,402,{},kle),s._k=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",639),m(1317,639,{},qOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1317),m(775,639,{},tfe),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",775),m(1318,775,{},VNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1318),m(1311,402,{},UOe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1311),m(772,402,{},ife),s.Kj=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",772),m(1312,772,{},YNe),s.rk=function(){return!0},v(Jn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1312),m(776,562,nJ,Zfe),s.wl=function(n){return new Zfe(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return M9n(this,n,this.b,i)},s.yl=function(n,t,i){return C9n(this,n,this.b,i)},v(Jn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",776),m(1319,1,Lne,VSe),s.Dk=function(n){return this.a},s.Oj=function(){return X(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){X(this.a,98)?u(this.a,98).Ek():this.a.$b()},v(Jn,"EStructuralFeatureImpl/SettingMany",1319),m(1320,562,nJ,jPe),s.vl=function(n){return new JK((Si(),pA),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1320),m(640,562,nJ,JK),s.vl=function(n){return new JK(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},v(Jn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",640),m(396,492,Nh,Nl),s.$i=function(n){return le(yf,Nn,29,n,0,1)},s.Wi=function(){return!1},v(Jn,"ESuperAdapter/1",396),m(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,834:1,52:1,100:1,161:1,446:1,117:1,118:1},Vk),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new sE(this,Rc,this)),this.a}return $l(this,n-dt((jn(),Mp)),Cn((r=u(Kn(this,16),29),r||Mp),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),vc(this.Ab,n,i);case 2:return!this.a&&(this.a=new sE(this,Rc,this)),vc(this.a,n,i)}return c=u(Cn((r=u(Kn(this,16),29),r||(jn(),Mp)),t),69),c.uk().yk(this,Lo(this),t-dt((jn(),Mp)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Pl(this,n-dt((jn(),Mp)),Cn((t=u(Kn(this,16),29),t||Mp),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab),!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),nr(this.Ab,u(t,18));return;case 1:Mo(this,Pt(t));return;case 2:!this.a&&(this.a=new sE(this,Rc,this)),kt(this.a),!this.a&&(this.a=new sE(this,Rc,this)),nr(this.a,u(t,18));return}Hl(this,n-dt((jn(),Mp)),Cn((i=u(Kn(this,16),29),i||Mp),n),t)},s.fi=function(){return jn(),Mp},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new pe(Zt,this,0,3)),kt(this.Ab);return;case 1:Mo(this,null);return;case 2:!this.a&&(this.a=new sE(this,Rc,this)),kt(this.a);return}Jl(this,n-dt((jn(),Mp)),Cn((t=u(Kn(this,16),29),t||Mp),n))},v(Jn,"ETypeParameterImpl",446),m(447,81,au,sE),s.Lj=function(n,t){return vMn(this,u(n,87),t)},s.Mj=function(n,t){return yMn(this,u(n,87),t)},v(Jn,"ETypeParameterImpl/1",447),m(637,44,j3,jX),s.ec=function(){return new LP(this)},v(Jn,"ETypeParameterImpl/2",637),m(557,Ua,fs,LP),s.Ec=function(n){return xNe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),ei(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){Hu(this.a)},s.Gc=function(n){return so(this.a,n)},s.Jc=function(){var n;return n=new J2(new sn(this.a).a),new PP(n)},s.Kc=function(n){return s$e(this,n)},s.gc=function(){return Nj(this.a)},v(Jn,"ETypeParameterImpl/2/1",557),m(558,1,Fr,PP),s.Nb=function(n){Zr(this,n)},s.Pb=function(){return u(c3(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){jRe(this.a)},v(Jn,"ETypeParameterImpl/2/1/1",558),m(1281,44,j3,Rxe),s._b=function(n){return $r(n)?BV(this,n):!!Xc(this.f,n)},s.xc=function(n){var t,i;return t=$r(n)?lo(this,n):bu(Xc(this.f,n)),X(t,835)?(i=u(t,835),t=i.Ik(),ei(this,u(n,241),t),t):t??(n==null?(zX(),ohn):null)},v(Jn,"EValidatorRegistryImpl",1281),m(1303,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2002:1,52:1,100:1,161:1,117:1,118:1},hw),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 25:return B8n(t);case 27:return e8n(t);case 28:return n8n(t);case 29:return t==null?null:KTe(aA[0],u(t,205));case 41:return t==null?"":Bb(u(t,298));case 42:return fu(t);case 50:return Pt(t);default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o,l,f,h,g,p,y,S,A,O,_,B;switch(n.G==-1&&(n.G=(S=sl(n),S?Bd(S.si(),n):-1)),n.G){case 0:return i=new vX,i;case 1:return t=new _b,t;case 2:return r=new lj,r;case 4:return c=new BP,c;case 5:return o=new $xe,o;case 6:return l=new exe,l;case 7:return f=new LC,f;case 10:return g=new xv,g;case 11:return p=new yX,p;case 12:return y=new h_e,y;case 13:return A=new kX,A;case 14:return O=new Ele,O;case 17:return _=new Bh,_;case 18:return h=new mw,h;case 19:return B=new Vk,B;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new Goe(t);case 21:return t==null?null:new C0(t);case 23:case 22:return t==null?null:$En(t);case 26:case 24:return t==null?null:dO(hl(t,-128,127)<<24>>24);case 25:return DOn(t);case 27:return vxn(t);case 28:return yxn(t);case 29:return BMn(t);case 32:case 31:return t==null?null:Q2(t);case 38:case 37:return t==null?null:new doe(t);case 40:case 39:return t==null?null:ye(hl(t,Xr,oi));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:K2(tF(t));case 49:case 48:return t==null?null:f8(hl(t,rJ,32767)<<16>>16);case 50:return t;default:throw R(new Un(l7+n.ve()+lp))}},v(Jn,"EcoreFactoryImpl",1303),m(548,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2e3:1,52:1,100:1,161:1,184:1,548:1,117:1,118:1,680:1},$De),s.gb=!1,s.hb=!1;var s7e,uhn=!1;v(Jn,"EcorePackageImpl",548),m(1199,1,{835:1},Av),s.Ik=function(){return pOe(),shn},v(Jn,"EcorePackageImpl/1",1199),m(1208,1,ii,dw),s.dk=function(n){return X(n,158)},s.ek=function(n){return le(tD,Nn,158,n,0,1)},v(Jn,"EcorePackageImpl/10",1208),m(1209,1,ii,oC),s.dk=function(n){return X(n,197)},s.ek=function(n){return le(_ce,Nn,197,n,0,1)},v(Jn,"EcorePackageImpl/11",1209),m(1210,1,ii,sC),s.dk=function(n){return X(n,57)},s.ek=function(n){return le(kb,Nn,57,n,0,1)},v(Jn,"EcorePackageImpl/12",1210),m(1211,1,ii,m0),s.dk=function(n){return X(n,403)},s.ek=function(n){return le(kf,cme,62,n,0,1)},v(Jn,"EcorePackageImpl/13",1211),m(1212,1,ii,NL),s.dk=function(n){return X(n,241)},s.ek=function(n){return le(Ma,Nn,241,n,0,1)},v(Jn,"EcorePackageImpl/14",1212),m(1213,1,ii,Ky),s.dk=function(n){return X(n,503)},s.ek=function(n){return le(xp,Nn,2078,n,0,1)},v(Jn,"EcorePackageImpl/15",1213),m(1214,1,ii,V6),s.dk=function(n){return X(n,103)},s.ek=function(n){return le(Vm,O3,19,n,0,1)},v(Jn,"EcorePackageImpl/16",1214),m(1215,1,ii,Y6),s.dk=function(n){return X(n,179)},s.ek=function(n){return le(ns,O3,179,n,0,1)},v(Jn,"EcorePackageImpl/17",1215),m(1216,1,ii,Vy),s.dk=function(n){return X(n,470)},s.ek=function(n){return le(Xm,Nn,470,n,0,1)},v(Jn,"EcorePackageImpl/18",1216),m(1217,1,ii,IL),s.dk=function(n){return X(n,549)},s.ek=function(n){return le(Du,UZe,549,n,0,1)},v(Jn,"EcorePackageImpl/19",1217),m(1200,1,ii,DL),s.dk=function(n){return X(n,335)},s.ek=function(n){return le(Km,O3,38,n,0,1)},v(Jn,"EcorePackageImpl/2",1200),m(1218,1,ii,Q6),s.dk=function(n){return X(n,248)},s.ek=function(n){return le(Rc,len,87,n,0,1)},v(Jn,"EcorePackageImpl/20",1218),m(1219,1,ii,_L),s.dk=function(n){return X(n,446)},s.ek=function(n){return le(Fo,Nn,834,n,0,1)},v(Jn,"EcorePackageImpl/21",1219),m(1220,1,ii,Yk),s.dk=function(n){return p2(n)},s.ek=function(n){return le(Qi,Me,473,n,8,1)},v(Jn,"EcorePackageImpl/22",1220),m(1221,1,ii,LL),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Me,195,n,0,2)},v(Jn,"EcorePackageImpl/23",1221),m(1222,1,ii,gU),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(A4,Me,221,n,0,1)},v(Jn,"EcorePackageImpl/24",1222),m(1223,1,ii,wU),s.dk=function(n){return X(n,180)},s.ek=function(n){return le(ZS,Me,180,n,0,1)},v(Jn,"EcorePackageImpl/25",1223),m(1224,1,ii,Ju),s.dk=function(n){return X(n,205)},s.ek=function(n){return le(bJ,Me,205,n,0,1)},v(Jn,"EcorePackageImpl/26",1224),m(1225,1,ii,Do),s.dk=function(n){return!1},s.ek=function(n){return le(A7e,Nn,2174,n,0,1)},v(Jn,"EcorePackageImpl/27",1225),m(1226,1,ii,Hc),s.dk=function(n){return m2(n)},s.ek=function(n){return le(gr,Me,346,n,7,1)},v(Jn,"EcorePackageImpl/28",1226),m(1227,1,ii,nu),s.dk=function(n){return X(n,61)},s.ek=function(n){return le(F8e,lm,61,n,0,1)},v(Jn,"EcorePackageImpl/29",1227),m(1201,1,ii,io),s.dk=function(n){return X(n,504)},s.ek=function(n){return le(Zt,{3:1,4:1,5:1,1995:1},587,n,0,1)},v(Jn,"EcorePackageImpl/3",1201),m(1228,1,ii,k1),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(G8e,Nn,2001,n,0,1)},v(Jn,"EcorePackageImpl/30",1228),m(1229,1,ii,e2),s.dk=function(n){return X(n,163)},s.ek=function(n){return le(d7e,lm,163,n,0,1)},v(Jn,"EcorePackageImpl/31",1229),m(1230,1,ii,Yy),s.dk=function(n){return X(n,75)},s.ek=function(n){return le(TG,men,75,n,0,1)},v(Jn,"EcorePackageImpl/32",1230),m(1231,1,ii,lC),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(p7,Me,164,n,0,1)},v(Jn,"EcorePackageImpl/33",1231),m(1232,1,ii,bw),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Me,15,n,0,1)},v(Jn,"EcorePackageImpl/34",1232),m(1233,1,ii,zs),s.dk=function(n){return X(n,298)},s.ek=function(n){return le(mme,Nn,298,n,0,1)},v(Jn,"EcorePackageImpl/35",1233),m(1234,1,ii,n2),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Me,190,n,0,1)},v(Jn,"EcorePackageImpl/36",1234),m(1235,1,ii,Mv),s.dk=function(n){return X(n,92)},s.ek=function(n){return le(vme,Nn,92,n,0,1)},v(Jn,"EcorePackageImpl/37",1235),m(1236,1,ii,fC),s.dk=function(n){return X(n,588)},s.ek=function(n){return le(l7e,Nn,588,n,0,1)},v(Jn,"EcorePackageImpl/38",1236),m(1237,1,ii,j1),s.dk=function(n){return!1},s.ek=function(n){return le(M7e,Nn,2175,n,0,1)},v(Jn,"EcorePackageImpl/39",1237),m(1202,1,ii,Qy),s.dk=function(n){return X(n,88)},s.ek=function(n){return le(yf,Nn,29,n,0,1)},v(Jn,"EcorePackageImpl/4",1202),m(1238,1,ii,W6),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Me,191,n,0,1)},v(Jn,"EcorePackageImpl/40",1238),m(1239,1,ii,Fh),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(Jn,"EcorePackageImpl/41",1239),m(1240,1,ii,aC),s.dk=function(n){return X(n,585)},s.ek=function(n){return le(H8e,Nn,585,n,0,1)},v(Jn,"EcorePackageImpl/42",1240),m(1241,1,ii,Qk),s.dk=function(n){return!1},s.ek=function(n){return le(C7e,Me,2176,n,0,1)},v(Jn,"EcorePackageImpl/43",1241),m(1242,1,ii,PL),s.dk=function(n){return X(n,45)},s.ek=function(n){return le(Eg,cF,45,n,0,1)},v(Jn,"EcorePackageImpl/44",1242),m(1203,1,ii,Wk),s.dk=function(n){return X(n,143)},s.ek=function(n){return le(Ca,Nn,143,n,0,1)},v(Jn,"EcorePackageImpl/5",1203),m(1204,1,ii,Zk),s.dk=function(n){return X(n,159)},s.ek=function(n){return le(zce,Nn,159,n,0,1)},v(Jn,"EcorePackageImpl/6",1204),m(1205,1,ii,t2),s.dk=function(n){return X(n,459)},s.ek=function(n){return le(CG,Nn,675,n,0,1)},v(Jn,"EcorePackageImpl/7",1205),m(1206,1,ii,tf),s.dk=function(n){return X(n,568)},s.ek=function(n){return le(td,Nn,684,n,0,1)},v(Jn,"EcorePackageImpl/8",1206),m(1207,1,ii,i2),s.dk=function(n){return X(n,469)},s.ek=function(n){return le(fA,Nn,469,n,0,1)},v(Jn,"EcorePackageImpl/9",1207),m(1019,2042,qZe,sAe),s.Ki=function(n,t){wjn(this,u(t,415))},s.Oi=function(n,t){aqe(this,n,u(t,415))},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1019),m(1020,151,HN,MDe),s.hj=function(){return this.a.a},v(Jn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1020),m(1047,1046,{},RTe),v("org.eclipse.emf.ecore.plugin","EcorePlugin",1047);var l7e=Gi(ven,"Resource");m(786,1485,yen),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new dX(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Wn(0,n.length),n.charCodeAt(0)==47){for(o=new xo(4),c=1,t=1;t0&&(n=(Qr(0,i,n.length),n.substr(0,i))));return ATn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return Bb(this.Pm)+"@"+(n=Ni(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,v(Pne,"ResourceImpl",786),m(1486,786,yen,YSe),v(Pne,"BinaryResourceImpl",1486),m(1159,697,One),s._i=function(n){return X(n,57)?i5n(this,u(n,57)):X(n,588)?new st(u(n,588).Cl()):oe(n)===oe(this.f)?u(n,18).Jc():(T9(),cD.a)},s.Ob=function(){return nbe(this)},s.a=!1,v(Ri,"EcoreUtil/ContentTreeIterator",1159),m(1487,1159,One,iDe),s._i=function(n){return oe(n)===oe(this.f)?u(n,16).Jc():new rPe(u(n,57))},v(Pne,"ResourceImpl/5",1487),m(647,2054,sen,dX),s.Gc=function(n){return this.i<=4?E8(this,n):X(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):gY(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return le(kb,Nn,57,n,0,1)},s.Wi=function(){return!1},v(Pne,"ResourceImpl/ContentsEList",647),m(953,2024,J8,QSe),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},v(Ri,"AbstractSequentialInternalEList/1",953);var f7e,a7e,nc,h7e;m(625,1,{},uIe);var OG,NG;v(Ri,"BasicExtendedMetaData",625),m(1150,1,{},rTe),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&KC(this,IMn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return En(),En(),Sc},s.ve=function(){return this.c==d7&&oX(this,DJe(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=d7,v(Ri,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1150),m(1151,1,{},LLe),s.Hl=function(){return this.a==(q9(),OG)&&IP(this,wDn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(q9(),OG)&&l9(this,pDn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&lX(this,eLn(this.f,this.b)),this.d},s.ve=function(){return this.e==d7&&YC(this,DJe(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&d(this,ZAn(this.f,this.b)),this.g},s.e=d7,s.g=-2,v(Ri,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1151),m(1149,1,{},cTe),s.b=!1,s.c=!1,v(Ri,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1149),m(1152,1,{},PLe),s.c=-2,s.e=d7,s.f=d7,v(Ri,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1152),m(581,623,au,rR),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,v(Ri,"EDataTypeEList",581);var d7e=Gi(Ri,"FeatureMap");m(76,581,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},tr),s._c=function(n,t){$Nn(this,n,u(t,75))},s.Ec=function(n){return eNn(this,u(n,75))},s.Fi=function(n){W3n(this,u(n,75))},s.Lj=function(n,t){return T2n(this,u(n,75),t)},s.Mj=function(n,t){return Xle(this,u(n,75),t)},s.Ri=function(n,t){return o_n(this,n,t)},s.Ui=function(n,t){return VPn(this,n,u(t,75))},s.fd=function(n,t){return jIn(this,n,u(t,75))},s.Sj=function(n,t){return O2n(this,u(n,75),t)},s.Tj=function(n,t){return DNe(this,u(n,75),t)},s.Uj=function(n,t,i){return JAn(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return oW(this,n,u(t,75))},s.Ml=function(n,t){return Vbe(this,n,t)},s.ad=function(n,t){var i,r,c,o,l,f,h,g,p;for(g=new $w(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),G1(this.e,o))(!o.Qi()||!KR(this,o,r.kd())&&!E8(g,r))&&Et(g,r);else{for(p=Po(this.e.Ah(),o),i=u(this.g,122),l=!0,f=0;f=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},v(Ri,"BasicFeatureMap/FeatureEIterator",412),m(666,412,e1,SK),s.sl=function(){return!0},v(Ri,"BasicFeatureMap/ResolvingFeatureEIterator",666),m(951,482,ZF,WTe),s.nj=function(){return this},v(Ri,"EContentsEList/1",951),m(952,482,ZF,ETe),s.sl=function(){return!1},v(Ri,"EContentsEList/2",952),m(950,287,eJ,ZTe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},v(Ri,"EContentsEList/FeatureIteratorImpl/1",950),m(824,581,au,nle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EDataTypeEList/Unsettable",824),m(1920,581,au,cOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList",1920),m(1921,824,au,uOe),s.Qi=function(){return!0},v(Ri,"EDataTypeUniqueEList/Unsettable",1921),m(145,81,au,rs),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Resolving",145),m(1153,543,au,rOe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentEList/Unsettable/Resolving",1153),m(753,14,au,zle),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectContainmentWithInverseEList/Unsettable",753),m(1187,753,au,yNe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1187),m(745,491,au,ele),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectEList/Unsettable",745),m(339,491,au,qv),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectResolvingEList",339),m(1825,745,au,oOe),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectResolvingEList/Unsettable",1825),m(1488,1,{},Wy);var ohn;v(Ri,"EObjectValidator",1488),m(547,491,au,ER),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,v(Ri,"EObjectWithInverseEList",547),m(1190,547,au,kNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/ManyInverse",1190),m(626,547,au,qK),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EObjectWithInverseEList/Unsettable",626),m(1189,626,au,jNe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseEList/Unsettable/ManyInverse",1189),m(754,547,au,Fle),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList",754),m(33,754,au,In),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/ManyInverse",33),m(755,626,au,Jle),s.ll=function(){return!0},s.Ui=function(n,t){return a4(this,n,u(t,57))},v(Ri,"EObjectWithInverseResolvingEList/Unsettable",755),m(1188,755,au,ENe),s.jl=function(){return!0},v(Ri,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1188),m(1154,623,au),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&Q0)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&qf)!=0},s.dk=function(n){return this.d?aPe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;kt(this),(this.b&2)!=0&&(Fs(this.e)?(n=(this.b&1)!=0,this.b&=-2,d9(this,new Pf(this.e,2,Ji(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,v(Ri,"EcoreEList/Generic",1154),m(1155,1154,au,w_e),s.Jk=function(){return this.a},v(Ri,"EcoreEList/Dynamic",1155),m(752,67,Nh,soe),s.$i=function(n){return wO(this.a.a,n)},v(Ri,"EcoreEMap/1",752),m(751,81,au,$fe),s.Ki=function(n,t){bz(this.b,u(t,136))},s.Mi=function(n,t){pze(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){wQ(this.b,u(t,136))},s.Pi=function(n,t,i){wQ(this.b,u(i,136)),oe(i)===oe(t)&&u(i,136).zi(Mwn(u(t,136).jd())),bz(this.b,u(t,136))},v(Ri,"EcoreEMap/DelegateEObjectContainmentEList",751),m(1185,142,rme,CBe),v(Ri,"EcoreEMap/Unsettable",1185),m(1186,751,au,SNe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;kt(this),Fs(this.e)?(n=this.a,this.a=!1,hi(this.e,new Pf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,v(Ri,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1186),m(1158,223,j3,vDe),s.a=!1,s.b=!1,v(Ri,"EcoreUtil/Copier",1158),m(747,1,Fr,rPe),s.Nb=function(n){Zr(this,n)},s.Ob=function(){return mJe(this)},s.Pb=function(){var n;return mJe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},v(Ri,"EcoreUtil/ProperContentIterator",747),m(1489,1488,{},FU);var shn;v(Ri,"EcoreValidator",1489);var lhn;Gi(Ri,"FeatureMapUtil/Validator"),m(1258,1,{2003:1},gw),s.$l=function(n){return!0},v(Ri,"FeatureMapUtil/1",1258),m(760,1,{2003:1},Cge),s.$l=function(n){var t;return this.c==n?!0:(t=Be(zn(this.a,n)),t==null?jDn(this,n)?(ZPe(this.a,n,($n(),w7)),!0):(ZPe(this.a,n,($n(),cb)),!1):t==($n(),w7))},s.e=!1;var Gce;v(Ri,"FeatureMapUtil/BasicValidator",760),m(761,44,j3,Qse),v(Ri,"FeatureMapUtil/BasicValidator/Cache",761),m(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,72:1,98:1},jT),s._c=function(n,t){uXe(this.c,this.b,n,t)},s.Ec=function(n){return Vbe(this.c,this.b,n)},s.ad=function(n,t){return FLn(this.c,this.b,n,t)},s.Fc=function(n){return nE(this,n)},s.Ei=function(n,t){M8n(this.c,this.b,n,t)},s.Uk=function(n,t){return Fbe(this.c,this.b,n,t)},s.Yi=function(n){return Qz(this.c,this.b,n,!1)},s.Gi=function(){return ITe(this.c,this.b)},s.Hi=function(){return vwn(this.c,this.b)},s.Ii=function(n){return T9n(this.c,this.b,n)},s.Vk=function(n,t){return iNe(this,n,t)},s.$b=function(){f5(this)},s.Gc=function(n){return KR(this.c,this.b,n)},s.Hc=function(n){return C7n(this.c,this.b,n)},s.Xb=function(n){return Qz(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return B6n(this.c,this.b,n)},s.dc=function(){return I$(this)},s.Oj=function(){return!LO(this.c,this.b)},s.Jc=function(){return a8n(this.c,this.b)},s.cd=function(){return h8n(this.c,this.b)},s.dd=function(n){return Djn(this.c,this.b,n)},s.Ri=function(n,t){return EKe(this.c,this.b,n,t)},s.Si=function(n,t){D9n(this.c,this.b,n,t)},s.ed=function(n){return YGe(this.c,this.b,n)},s.Kc=function(n){return UDn(this.c,this.b,n)},s.fd=function(n,t){return IKe(this.c,this.b,n,t)},s.Wb=function(n){Iz(this.c,this.b),nE(this,u(n,16))},s.gc=function(){return _jn(this.c,this.b)},s.Nc=function(){return z4n(this.c,this.b)},s.Oc=function(n){return z6n(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new kd,t.a+="[",n=ITe(this.c,this.b);uQ(n);)Bc(t,iE(hz(n))),uQ(n)&&(t.a+=To);return t.a+="]",t.a},s.Ek=function(){Iz(this.c,this.b)},v(Ri,"FeatureMapUtil/FeatureEList",495),m(634,39,HN,cY),s.fj=function(n){return JE(this,n)},s.kj=function(n){var t,i,r,c,o,l,f;switch(this.d){case 1:case 2:{if(o=n.hj(),oe(o)===oe(this.c)&&JE(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),oe(o)===oe(this.c)&&JE(this,null)==n.fj(null))return this.d=5,t=new $w(2),Et(t,this.g),Et(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),oe(o)===oe(this.c)&&JE(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),oe(o)===oe(this.c)&&JE(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),oe(o)===oe(this.c)&&JE(this,null)==n.fj(null))return this.d=6,f=new $w(2),Et(f,this.n),Et(f,n.ij()),this.n=f,l=F(z($t,1),ni,30,15,[this.o,n.jj()]),this.g=l,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),oe(o)===oe(this.c)&&JE(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),l=u(this.g,54),r=le($t,ni,30,l.length+1,15,1),Wu(l,0,r,0,l.length),r[l.length]=n.jj(),this.g=r,!0;break}}break}}return!1},v(Ri,"FeatureMapUtil/FeatureENotificationImpl",634),m(553,495,{20:1,31:1,56:1,18:1,16:1,61:1,77:1,163:1,219:1,1998:1,72:1,98:1},lR),s.Ml=function(n,t){return Vbe(this.c,n,t)},s.Nl=function(n,t,i){return Fbe(this.c,n,t,i)},s.Ol=function(n,t,i){return wge(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return sN(this.c,n,t)},s.Rl=function(n){return u(Qz(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(Qz(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!LO(this.c,n)},s.Vl=function(n,t){Wz(this.c,n,t)},s.Wl=function(n){return PBe(this.c,n)},s.Xl=function(n){pHe(this.c,n)},v(Ri,"FeatureMapUtil/FeatureFeatureMap",553),m(1257,1,Lne,sTe),s.Dk=function(n){return Qz(this.b,this.a,-1,n)},s.Oj=function(){return!LO(this.b,this.a)},s.Wb=function(n){Wz(this.b,this.a,n)},s.Ek=function(){Iz(this.b,this.a)},v(Ri,"FeatureMapUtil/FeatureValue",1257);var t6,qce,Uce,i6,fhn,oD=Gi(sJ,"AnyType");m(670,63,q1,TX),v(sJ,"InvalidDatatypeValueException",670);var IG=Gi(sJ,jen),sD=Gi(sJ,Een),b7e=Gi(sJ,Sen),ahn,Bu,g7e,Bg,hhn,dhn,bhn,ghn,whn,phn,mhn,vhn,yhn,khn,jhn,oy,Ehn,sy,gA,Shn,Cp,lD,fD,xhn,wA,pA;m(828,501,{109:1,94:1,93:1,57:1,52:1,100:1,841:1},Eoe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b)}return $l(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new tr(this,0)),cN(this.c,n,i);case 1:return(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new tr(this,2)),cN(this.b,n,i)}return r=u(Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),t),69),r.uk().yk(this,Ehe(this),t-dt(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Pl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),JT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),JT(this.b,t);return}Hl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),g7e},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return}Jl(this,n-dt(this.fi()),Cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (mixed: ",Qj(n,this.c),n.a+=", anyAttribute: ",Qj(n,this.b),n.a+=")",n.a)},v(kr,"AnyTypeImpl",828),m(671,501,{109:1,94:1,93:1,57:1,52:1,100:1,2081:1,671:1},pU),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return $l(this,n-dt((Si(),oy)),Cn((this.j&2)==0?oy:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Pl(this,n-dt((Si(),oy)),Cn((this.j&2)==0?oy:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:T(this,Pt(t));return;case 1:W(this,Pt(t));return}Hl(this,n-dt((Si(),oy)),Cn((this.j&2)==0?oy:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),oy},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}Jl(this,n-dt((Si(),oy)),Cn((this.j&2)==0?oy:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (data: ",Bc(n,this.a),n.a+=", target: ",Bc(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,v(kr,"ProcessingInstructionImpl",671),m(672,828,{109:1,94:1,93:1,57:1,52:1,100:1,841:1,2082:1,672:1},Bxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new tr(this,0)),this.c):(!this.c&&(this.c=new tr(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)):(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new tr(this,2)),this.b):(!this.b&&(this.b=new tr(this,2)),this.b.b);case 3:return!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),gA),!0));case 4:return Gle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),gA),!0))));case 5:return this.a}return $l(this,n-dt((Si(),sy)),Cn((this.j&2)==0?sy:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),gA),!0))!=null;case 4:return Gle(this.a,(!this.c&&(this.c=new tr(this,0)),Pt(sN(this.c,(Si(),gA),!0))))!=null;case 5:return!!this.a}return Pl(this,n-dt((Si(),sy)),Cn((this.j&2)==0?sy:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),JT(this.c,t);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(u(fo(this.c,(Si(),Bg)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new tr(this,2)),JT(this.b,t);return;case 3:Nae(this,Pt(t));return;case 4:Nae(this,Hle(this.a,t));return;case 5:D(this,u(t,159));return}Hl(this,n-dt((Si(),sy)),Cn((this.j&2)==0?sy:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),sy},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new tr(this,0)),kt(this.c);return;case 1:(!this.c&&(this.c=new tr(this,0)),u(fo(this.c,(Si(),Bg)),163)).$b();return;case 2:!this.b&&(this.b=new tr(this,2)),kt(this.b);return;case 3:!this.c&&(this.c=new tr(this,0)),Wz(this.c,(Si(),gA),null);return;case 4:Nae(this,Hle(this.a,null));return;case 5:this.a=null;return}Jl(this,n-dt((Si(),sy)),Cn((this.j&2)==0?sy:(!this.k&&(this.k=new tl),this.k).Lk(),n))},v(kr,"SimpleAnyTypeImpl",672),m(673,501,{109:1,94:1,93:1,57:1,52:1,100:1,2083:1,673:1},zxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new tr(this,0)),this.a):(!this.a&&(this.a=new tr(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b):(!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),rO(this.b));case 2:return i?(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c):(!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),rO(this.c));case 3:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),lD));case 4:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),fD));case 5:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),wA));case 6:return!this.a&&(this.a=new tr(this,0)),fo(this.a,(Si(),pA))}return $l(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new tr(this,0)),cN(this.a,n,i);case 1:return!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),Q$(this.b,n,i);case 2:return!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),Q$(this.c,n,i);case 5:return!this.a&&(this.a=new tr(this,0)),iNe(fo(this.a,(Si(),wA)),n,i)}return r=u(Cn((this.j&2)==0?(Si(),Cp):(!this.k&&(this.k=new tl),this.k).Lk(),t),69),r.uk().yk(this,Ehe(this),t-dt((Si(),Cp)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new tr(this,0)),!I$(fo(this.a,(Si(),lD)));case 4:return!this.a&&(this.a=new tr(this,0)),!I$(fo(this.a,(Si(),fD)));case 5:return!this.a&&(this.a=new tr(this,0)),!I$(fo(this.a,(Si(),wA)));case 6:return!this.a&&(this.a=new tr(this,0)),!I$(fo(this.a,(Si(),pA)))}return Pl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),JT(this.a,t);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),_B(this.b,t);return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),_B(this.c,t);return;case 3:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),lD))),!this.a&&(this.a=new tr(this,0)),nE(fo(this.a,lD),u(t,18));return;case 4:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),fD))),!this.a&&(this.a=new tr(this,0)),nE(fo(this.a,fD),u(t,18));return;case 5:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),wA))),!this.a&&(this.a=new tr(this,0)),nE(fo(this.a,wA),u(t,18));return;case 6:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),pA))),!this.a&&(this.a=new tr(this,0)),nE(fo(this.a,pA),u(t,18));return}Hl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n),t)},s.fi=function(){return Si(),Cp},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new tr(this,0)),kt(this.a);return;case 1:!this.b&&(this.b=new os((jn(),Ac),Du,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new os((jn(),Ac),Du,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),lD)));return;case 4:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),fD)));return;case 5:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),wA)));return;case 6:!this.a&&(this.a=new tr(this,0)),f5(fo(this.a,(Si(),pA)));return}Jl(this,n-dt((Si(),Cp)),Cn((this.j&2)==0?Cp:(!this.k&&(this.k=new tl),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Jf(this):(n=new uf(Jf(this)),n.a+=" (mixed: ",Qj(n,this.a),n.a+=")",n.a)},v(kr,"XMLTypeDocumentRootImpl",673),m(1990,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2084:1},hC),s.oi=function(n,t){switch(n.fk()){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 t==null?null:fu(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return Pt(t);case 6:return Kpn(u(t,195));case 12:case 47:case 49:case 11:return wVe(this,n,t);case 13:return t==null?null:XLn(u(t,247));case 15:case 14:return t==null?null:J3n(te(re(t)));case 17:return uGe((Si(),t));case 18:return uGe(t);case 21:case 20:return t==null?null:H3n(u(t,164).a);case 27:return Xpn(u(t,195));case 30:return mHe((Si(),u(t,16)));case 31:return mHe(u(t,16));case 40:return Upn((Si(),t));case 42:return oGe((Si(),t));case 43:return oGe(t);case 59:case 48:return qpn((Si(),t));default:throw R(new Un(l7+n.ve()+lp))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=sl(n),i?Bd(i.si(),n):-1)),n.G){case 0:return t=new Eoe,t;case 1:return r=new pU,r;case 2:return c=new Bxe,c;case 3:return o=new zxe,o;default:throw R(new Un(vne+n.zb+lp))}},s.qi=function(n,t){var i,r,c,o,l,f,h,g,p,y,S,A,O,_,B,U;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return aSn(t);case 8:case 7:return t==null?null:VAn(t);case 9:return t==null?null:dO(hl((r=bo(t,!0),r.length>0&&(Wn(0,r.length),r.charCodeAt(0)==43)?(Wn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:dO(hl((c=bo(t,!0),c.length>0&&(Wn(0,c.length),c.charCodeAt(0)==43)?(Wn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return Pt(ep(this,(Si(),bhn),t));case 12:return Pt(ep(this,(Si(),ghn),t));case 13:return t==null?null:new Goe(bo(t,!0));case 15:case 14:return iNn(t);case 16:return Pt(ep(this,(Si(),whn),t));case 17:return yJe((Si(),t));case 18:return yJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return bo(t,!0);case 21:case 20:return dNn(t);case 22:return Pt(ep(this,(Si(),phn),t));case 23:return Pt(ep(this,(Si(),mhn),t));case 24:return Pt(ep(this,(Si(),vhn),t));case 25:return Pt(ep(this,(Si(),yhn),t));case 26:return Pt(ep(this,(Si(),khn),t));case 27:return tSn(t);case 30:return kJe((Si(),t));case 31:return kJe(t);case 32:return t==null?null:ye(hl((p=bo(t,!0),p.length>0&&(Wn(0,p.length),p.charCodeAt(0)==43)?(Wn(1,p.length+1),p.substr(1)):p),Xr,oi));case 33:return t==null?null:new C0((y=bo(t,!0),y.length>0&&(Wn(0,y.length),y.charCodeAt(0)==43)?(Wn(1,y.length+1),y.substr(1)):y));case 34:return t==null?null:ye(hl((S=bo(t,!0),S.length>0&&(Wn(0,S.length),S.charCodeAt(0)==43)?(Wn(1,S.length+1),S.substr(1)):S),Xr,oi));case 36:return t==null?null:K2(tF((A=bo(t,!0),A.length>0&&(Wn(0,A.length),A.charCodeAt(0)==43)?(Wn(1,A.length+1),A.substr(1)):A)));case 37:return t==null?null:K2(tF((O=bo(t,!0),O.length>0&&(Wn(0,O.length),O.charCodeAt(0)==43)?(Wn(1,O.length+1),O.substr(1)):O)));case 40:return WSn((Si(),t));case 42:return jJe((Si(),t));case 43:return jJe(t);case 44:return t==null?null:new C0((_=bo(t,!0),_.length>0&&(Wn(0,_.length),_.charCodeAt(0)==43)?(Wn(1,_.length+1),_.substr(1)):_));case 45:return t==null?null:new C0((B=bo(t,!0),B.length>0&&(Wn(0,B.length),B.charCodeAt(0)==43)?(Wn(1,B.length+1),B.substr(1)):B));case 46:return bo(t,!1);case 47:return Pt(ep(this,(Si(),jhn),t));case 59:case 48:return QSn((Si(),t));case 49:return Pt(ep(this,(Si(),Ehn),t));case 50:return t==null?null:f8(hl((U=bo(t,!0),U.length>0&&(Wn(0,U.length),U.charCodeAt(0)==43)?(Wn(1,U.length+1),U.substr(1)):U),rJ,32767)<<16>>16);case 51:return t==null?null:f8(hl((o=bo(t,!0),o.length>0&&(Wn(0,o.length),o.charCodeAt(0)==43)?(Wn(1,o.length+1),o.substr(1)):o),rJ,32767)<<16>>16);case 53:return Pt(ep(this,(Si(),Shn),t));case 55:return t==null?null:f8(hl((l=bo(t,!0),l.length>0&&(Wn(0,l.length),l.charCodeAt(0)==43)?(Wn(1,l.length+1),l.substr(1)):l),rJ,32767)<<16>>16);case 56:return t==null?null:f8(hl((f=bo(t,!0),f.length>0&&(Wn(0,f.length),f.charCodeAt(0)==43)?(Wn(1,f.length+1),f.substr(1)):f),rJ,32767)<<16>>16);case 57:return t==null?null:K2(tF((h=bo(t,!0),h.length>0&&(Wn(0,h.length),h.charCodeAt(0)==43)?(Wn(1,h.length+1),h.substr(1)):h)));case 58:return t==null?null:K2(tF((g=bo(t,!0),g.length>0&&(Wn(0,g.length),g.charCodeAt(0)==43)?(Wn(1,g.length+1),g.substr(1)):g)));case 60:return t==null?null:ye(hl((i=bo(t,!0),i.length>0&&(Wn(0,i.length),i.charCodeAt(0)==43)?(Wn(1,i.length+1),i.substr(1)):i),Xr,oi));case 61:return t==null?null:ye(hl(bo(t,!0),Xr,oi));default:throw R(new Un(l7+n.ve()+lp))}};var Ahn,w7e,Mhn,p7e;v(kr,"XMLTypeFactoryImpl",1990),m(582,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2006:1,582:1},PDe),s.N=!1,s.O=!1;var Chn=!1;v(kr,"XMLTypePackageImpl",582),m(1923,1,{835:1},dC),s.Ik=function(){return uge(),$hn},v(kr,"XMLTypePackageImpl/1",1923),m(1932,1,ii,$L),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/10",1932),m(1933,1,ii,Z6),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/11",1933),m(1934,1,ii,bC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/12",1934),m(1935,1,ii,E1),s.dk=function(n){return m2(n)},s.ek=function(n){return le(gr,Me,346,n,7,1)},v(kr,"XMLTypePackageImpl/13",1935),m(1936,1,ii,RL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/14",1936),m(1937,1,ii,Jh),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/15",1937),m(1938,1,ii,BL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/16",1938),m(1939,1,ii,zL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/17",1939),m(1940,1,ii,r2),s.dk=function(n){return X(n,164)},s.ek=function(n){return le(p7,Me,164,n,0,1)},v(kr,"XMLTypePackageImpl/18",1940),m(1941,1,ii,ej),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/19",1941),m(1924,1,ii,gC),s.dk=function(n){return X(n,841)},s.ek=function(n){return le(oD,Nn,841,n,0,1)},v(kr,"XMLTypePackageImpl/2",1924),m(1942,1,ii,Zy),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/20",1942),m(1943,1,ii,FL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/21",1943),m(1944,1,ii,JL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/22",1944),m(1945,1,ii,HL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/23",1945),m(1946,1,ii,GL),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Me,195,n,0,2)},v(kr,"XMLTypePackageImpl/24",1946),m(1947,1,ii,nj),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/25",1947),m(1948,1,ii,wC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/26",1948),m(1949,1,ii,mU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/27",1949),m(1950,1,ii,vU),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/28",1950),m(1951,1,ii,yU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/29",1951),m(1925,1,ii,qL),s.dk=function(n){return X(n,671)},s.ek=function(n){return le(IG,Nn,2081,n,0,1)},v(kr,"XMLTypePackageImpl/3",1925),m(1952,1,ii,UL),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Me,15,n,0,1)},v(kr,"XMLTypePackageImpl/30",1952),m(1953,1,ii,e5),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/31",1953),m(1954,1,ii,tj),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Me,190,n,0,1)},v(kr,"XMLTypePackageImpl/32",1954),m(1955,1,ii,XL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/33",1955),m(1956,1,ii,KL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/34",1956),m(1957,1,ii,VL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/35",1957),m(1958,1,ii,YL),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/36",1958),m(1959,1,ii,QL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/37",1959),m(1960,1,ii,WL),s.dk=function(n){return X(n,16)},s.ek=function(n){return le(wl,lm,16,n,0,1)},v(kr,"XMLTypePackageImpl/38",1960),m(1961,1,ii,ij),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/39",1961),m(1926,1,ii,ZL),s.dk=function(n){return X(n,672)},s.ek=function(n){return le(sD,Nn,2082,n,0,1)},v(kr,"XMLTypePackageImpl/4",1926),m(1962,1,ii,eP),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/40",1962),m(1963,1,ii,ro),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/41",1963),m(1964,1,ii,pC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/42",1964),m(1965,1,ii,kU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/43",1965),m(1966,1,ii,nP),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/44",1966),m(1967,1,ii,jU),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Me,191,n,0,1)},v(kr,"XMLTypePackageImpl/45",1967),m(1968,1,ii,EU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/46",1968),m(1969,1,ii,SU),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/47",1969),m(1970,1,ii,rj),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/48",1970),m(1971,1,ii,n5),s.dk=function(n){return X(n,191)},s.ek=function(n){return le(hp,Me,191,n,0,1)},v(kr,"XMLTypePackageImpl/49",1971),m(1927,1,ii,mC),s.dk=function(n){return X(n,673)},s.ek=function(n){return le(b7e,Nn,2083,n,0,1)},v(kr,"XMLTypePackageImpl/5",1927),m(1972,1,ii,cj),s.dk=function(n){return X(n,190)},s.ek=function(n){return le(ap,Me,190,n,0,1)},v(kr,"XMLTypePackageImpl/50",1972),m(1973,1,ii,vC),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/51",1973),m(1974,1,ii,c2),s.dk=function(n){return X(n,15)},s.ek=function(n){return le(jr,Me,15,n,0,1)},v(kr,"XMLTypePackageImpl/52",1974),m(1928,1,ii,Lb),s.dk=function(n){return $r(n)},s.ek=function(n){return le(Je,Me,2,n,6,1)},v(kr,"XMLTypePackageImpl/6",1928),m(1929,1,ii,e9),s.dk=function(n){return X(n,195)},s.ek=function(n){return le(ds,Me,195,n,0,2)},v(kr,"XMLTypePackageImpl/7",1929),m(1930,1,ii,xU),s.dk=function(n){return p2(n)},s.ek=function(n){return le(Qi,Me,473,n,8,1)},v(kr,"XMLTypePackageImpl/8",1930),m(1931,1,ii,tP),s.dk=function(n){return X(n,221)},s.ek=function(n){return le(A4,Me,221,n,0,1)},v(kr,"XMLTypePackageImpl/9",1931);var oh,u0,mA,DG,H;m(53,63,q1,Bt),v(Ud,"RegEx/ParseException",53),m(820,1,{},yC),s._l=function(n){return ni*16)throw R(new Bt(Ht((Lt(),LZe))));i=i*16+c}while(!0);if(this.a!=125)throw R(new Bt(Ht((Lt(),PZe))));if(i>b7)throw R(new Bt(Ht((Lt(),$Ze))));n=i}else{if(c=0,this.c!=0||(c=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(i=c,fi(this),this.c!=0||(c=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));i=i*16+c,n=i}break;case 117:if(r=0,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));t=t*16+r,n=t;break;case 118:if(fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,fi(this),this.c!=0||(r=fg(this.a))<0)throw R(new Bt(Ht((Lt(),qd))));if(t=t*16+r,t>b7)throw R(new Bt(Ht((Lt(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw R(new Bt(Ht((Lt(),RZe))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?Y0("Nd",!0):(ai(),_G);break;case 68:i=(this.e&32)==32?Y0("Nd",!1):(ai(),E7e);break;case 119:i=(this.e&32)==32?Y0("IsWord",!0):(ai(),ek);break;case 87:i=(this.e&32)==32?Y0("IsWord",!1):(ai(),x7e);break;case 115:i=(this.e&32)==32?Y0("IsSpace",!0):(ai(),r6);break;case 83:i=(this.e&32)==32?Y0("IsSpace",!1):(ai(),S7e);break;default:throw R(new du((t=n,Ren+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,l,f,h,g,p,y,S;for(this.b=1,fi(this),t=null,this.c==0&&this.a==94?(fi(this),n?p=(ai(),ai(),new ul(5)):(t=(ai(),ai(),new ul(4)),ho(t,0,b7),p=new ul(4))):p=(ai(),ai(),new ul(4)),c=!0;(S=this.c)!=1&&!(S==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,S==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:cm(p,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(p,i),i<0&&(r=!0);break;case 112:case 80:if(y=Z0e(this,i),!y)throw R(new Bt(Ht((Lt(),Ine))));cm(p,y),r=!0;break;default:i=this.am()}else if(S==20){if(l=A9(this.i,58,this.d),l<0)throw R(new Bt(Ht((Lt(),W2e))));if(f=!0,rc(this.i,this.d)==94&&(++this.d,f=!1),o=sf(this.i,this.d,l),h=H$e(o,f,(this.e&512)==512),!h)throw R(new Bt(Ht((Lt(),OZe))));if(cm(p,h),r=!0,l+1>=this.j||rc(this.i,l+1)!=93)throw R(new Bt(Ht((Lt(),W2e))));this.d=l+2}if(fi(this),!r)if(this.c!=0||this.a!=45)ho(p,i,i);else{if(fi(this),(S=this.c)==1)throw R(new Bt(Ht((Lt(),QF))));S==0&&this.a==93?(ho(p,i,i),ho(p,45,45)):(g=this.a,S==10&&(g=this.am()),fi(this),ho(p,i,g))}(this.e&qf)==qf&&this.c==0&&this.a==44&&fi(this)}if(this.c==1)throw R(new Bt(Ht((Lt(),QF))));return t&&(vS(t,p),p=t),g3(p),pS(p),this.b=0,fi(this),p},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(fi(this),this.c!=9)throw R(new Bt(Ht((Lt(),IZe))));if(t=this.cm(!1),r==4)cm(i,t);else if(n==45)vS(i,t);else if(n==38)hVe(i,t);else throw R(new du("ASSERT"))}else throw R(new Bt(Ht((Lt(),DZe))));return fi(this),i},s.em=function(){var n,t;return n=this.a-48,t=(ai(),ai(),new JV(12,null,n)),!this.g&&(this.g=new FP),zP(this.g,new loe(n)),fi(this),t},s.fm=function(){return fi(this),ai(),Nhn},s.gm=function(){return fi(this),ai(),Ohn},s.hm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.im=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.jm=function(){return fi(this),Akn()},s.km=function(){return fi(this),ai(),Dhn},s.lm=function(){return fi(this),ai(),Lhn},s.mm=function(){var n;if(this.d>=this.j||((n=rc(this.i,this.d++))&65504)!=64)throw R(new Bt(Ht((Lt(),MZe))));return fi(this),ai(),ai(),new Uh(0,n-64)},s.nm=function(){return fi(this),V_n()},s.om=function(){return fi(this),ai(),Phn},s.pm=function(){var n;return n=(ai(),ai(),new Uh(0,105)),fi(this),n},s.qm=function(){return fi(this),ai(),_hn},s.rm=function(){return fi(this),ai(),Ihn},s.sm=function(n,t){return this.am()},s.tm=function(){return fi(this),ai(),k7e},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw R(new Bt(Ht((Lt(),SZe))));if(r=-1,t=null,n=rc(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new FP),zP(this.g,new loe(r)),++this.d,rc(this.i,this.d)!=41)throw R(new Bt(Ht((Lt(),kg))));++this.d}else switch(n==63&&--this.d,fi(this),t=Ige(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw R(new Bt(Ht((Lt(),kg))));break;default:throw R(new Bt(Ht((Lt(),xZe))))}if(fi(this),c=qw(this),i=null,c.e==2){if(c.Nm()!=2)throw R(new Bt(Ht((Lt(),AZe))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),ai(),ai(),new _Re(r,t,c,i)},s.vm=function(){return fi(this),ai(),j7e},s.wm=function(){var n;if(fi(this),n=SR(24,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.xm=function(){var n;if(fi(this),n=SR(20,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.ym=function(){var n;if(fi(this),n=SR(22,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d=this.j)throw R(new Bt(Ht((Lt(),Y2e))));if(t==45){for(++this.d;this.d=this.j)throw R(new Bt(Ht((Lt(),Y2e))))}if(t==58){if(++this.d,fi(this),r=kDe(qw(this),n,i),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));fi(this)}else if(t==41)++this.d,fi(this),r=kDe(qw(this),n,i);else throw R(new Bt(Ht((Lt(),EZe))));return r},s.Am=function(){var n;if(fi(this),n=SR(21,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Bm=function(){var n;if(fi(this),n=SR(23,qw(this)),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Cm=function(){var n,t;if(fi(this),n=this.f++,t=pV(qw(this),n),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),t},s.Dm=function(){var n;if(fi(this),n=pV(qw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Em=function(n){return fi(this),this.c==5?(fi(this),wR(n,(ai(),ai(),new P2(9,n)))):wR(n,(ai(),ai(),new P2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new eE(2)),this.c==5?(fi(this),dg(t,yA),dg(t,n)):(dg(t,n),dg(t,yA)),t},s.Gm=function(n){return fi(this),this.c==5?(fi(this),ai(),ai(),new P2(9,n)):(ai(),ai(),new P2(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,v(Ud,"RegEx/RegexParser",820),m(1910,820,{},Fxe),s._l=function(n){return!1},s.am=function(){return $be(this)},s.bm=function(n){return D8(n)},s.cm=function(n){return cYe(this)},s.dm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.em=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.fm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.gm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.hm=function(){return fi(this),D8(67)},s.im=function(){return fi(this),D8(73)},s.jm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.km=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.lm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.mm=function(){return fi(this),D8(99)},s.nm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.om=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.pm=function(){return fi(this),D8(105)},s.qm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.rm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.sm=function(n,t){return cm(n,D8(t)),-1},s.tm=function(){return fi(this),ai(),ai(),new Uh(0,94)},s.um=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.vm=function(){return fi(this),ai(),ai(),new Uh(0,36)},s.wm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.xm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.ym=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.zm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Am=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Bm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Cm=function(){var n;if(fi(this),n=pV(qw(this),0),this.c!=7)throw R(new Bt(Ht((Lt(),kg))));return fi(this),n},s.Dm=function(){throw R(new Bt(Ht((Lt(),Xl))))},s.Em=function(n){return fi(this),wR(n,(ai(),ai(),new P2(3,n)))},s.Fm=function(n){var t;return fi(this),t=(ai(),ai(),new eE(2)),dg(t,n),dg(t,yA),t},s.Gm=function(n){return fi(this),ai(),ai(),new P2(3,n)};var ly=null,W7=null;v(Ud,"RegEx/ParserForXMLSchema",1910),m(121,1,g7,pw),s.Hm=function(n){throw R(new du("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var m7e,Z7,vA,Thn,v7e,Wm=null,_G,Xce=null,y7e,yA,Kce=null,k7e,j7e,E7e,S7e,x7e,Ohn,r6,Nhn,Ihn,Dhn,_hn,ek,Lhn,Phn,szn=v(Ud,"RegEx/Token",121);m(137,121,{3:1,137:1,121:1},ul),s.Om=function(n){var t,i,r;if(this.e==4)if(this==y7e)i=".";else if(this==_G)i="\\d";else if(this==ek)i="\\w";else if(this==r6)i="\\s";else{for(r=new kd,r.a+="[",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,oN(this.b[t])):(Bc(r,oN(this.b[t])),r.a+="-",Bc(r,oN(this.b[t+1])));r.a+="]",i=r.a}else if(this==E7e)i="\\D";else if(this==x7e)i="\\W";else if(this==S7e)i="\\S";else{for(r=new kd,r.a+="[^",t=0;t0&&(r.a+=","),this.b[t]===this.b[t+1]?Bc(r,oN(this.b[t])):(Bc(r,oN(this.b[t])),r.a+="-",Bc(r,oN(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,v(Ud,"RegEx/RangeToken",137),m(580,1,{580:1},loe),s.a=0,v(Ud,"RegEx/RegexParser/ReferencePosition",580),m(579,1,{3:1,579:1},EMe),s.Fb=function(n){var t;return n==null||!X(n,579)?!1:(t=u(n,579),bn(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return _d(this.b+"/"+Obe(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,v(Ud,"RegEx/RegularExpression",579),m(228,121,g7,Uh),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;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:r="\\"+HK(this.a&yr);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=Ec?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+sf(i,i.length-6,i.length)):r=""+HK(this.a&yr)}break;case 8:this==k7e||this==j7e?r=""+HK(this.a&yr):r="\\"+HK(this.a&yr);break;default:r=null}return r},s.a=0,v(Ud,"RegEx/Token/CharToken",228),m(322,121,g7,P2),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw R(new du("Token#toString(): CLOSURE "+this.c+To+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw R(new du("Token#toString(): NONGREEDYCLOSURE "+this.c+To+this.b));return t},s.b=0,s.c=0,v(Ud,"RegEx/Token/ClosureToken",322),m(821,121,g7,Jfe),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},v(Ud,"RegEx/Token/ConcatToken",821),m(1908,121,g7,_Re),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw R(new du("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,v(Ud,"RegEx/Token/ConditionToken",1908),m(1909,121,g7,mLe),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":Obe(this.a))+(this.c==0?"":Obe(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,v(Ud,"RegEx/Token/ModifierToken",1909),m(822,121,g7,Wfe),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?"+this.a.Om(n)+")"}return t},s.b=0,v(Ud,"RegEx/Token/ParenToken",822),m(517,121,{3:1,121:1,517:1},JV),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:HOn(this.b)},s.a=0,v(Ud,"RegEx/Token/StringToken",517),m(466,121,g7,eE),s.Hm=function(n){dg(this,n)},s.Jm=function(n){return u(Tw(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Tw(this.a,0),121),i=u(Tw(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new kd,r=0;r=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw R(new vd(qen))},s.a=0,s.b=0,v(pme,"ExclusiveRange/RangeIterator",259);var Zl=R9(WF,"C"),$t=R9(XS,"I"),ts=R9(d4,"Z"),Tp=R9(KS,"J"),ds=R9(GS,"B"),Jr=R9(qS,"D"),Zm=R9(US,"F"),fy=R9(VS,"S"),lzn=Gi("org.eclipse.elk.core.labels","ILabelManager"),A7e=Gi(yc,"DiagnosticChain"),M7e=Gi(ven,"ResourceSet"),C7e=v(yc,"InvocationTargetException",null),Rhn=(XP(),e9n),Bhn=Bhn=DAn;Q8n(Ebn),d7n("permProps",[[["locale","default"],[Uen,"gecko1_8"]],[["locale","default"],[Uen,"safari"]]]),Bhn(null,"elk",null)}).call(this)}).call(this,typeof Fhn<"u"?Fhn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(x,M,N){function $(me){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Pe){return typeof Pe}:function(Pe){return Pe&&typeof Symbol=="function"&&Pe.constructor===Symbol&&Pe!==Symbol.prototype?"symbol":typeof Pe},$(me)}function k(me,Pe,ae){return Object.defineProperty(me,"prototype",{writable:!1}),me}function J(me,Pe){if(!(me instanceof Pe))throw new TypeError("Cannot call a class as a function")}function q(me,Pe,ae){return Pe=ee(Pe),G(me,Q()?Reflect.construct(Pe,ae||[],ee(me).constructor):Pe.apply(me,ae))}function G(me,Pe){if(Pe&&($(Pe)=="object"||typeof Pe=="function"))return Pe;if(Pe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(me)}function Z(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function Q(){try{var me=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Q=function(){return!!me})()}function ee(me){return ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Pe){return Pe.__proto__||Object.getPrototypeOf(Pe)},ee(me)}function se(me,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");me.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:me,writable:!0,configurable:!0}}),Object.defineProperty(me,"prototype",{writable:!1}),Pe&&ce(me,Pe)}function ce(me,Pe){return ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ae,Ne){return ae.__proto__=Ne,ae},ce(me,Pe)}var ne=x("./elk-api.js").default,Se=(function(me){function Pe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};J(this,Pe);var Ne=Object.assign({},ae),Ue=!1;try{x.resolve("web-worker"),Ue=!0}catch{}if(ae.workerUrl)if(Ue){var ln=x("web-worker");Ne.workerFactory=function(xn){return new ln(xn)}}else console.warn(`Web worker requested but 'web-worker' package not installed. Consider installing the package or pass your own 'workerFactory' to ELK's constructor. -... Falling back to non-web worker version.`);if(!Ne.workerFactory){var on=x("./elk-worker.min.js"),An=on.Worker;Ne.workerFactory=function(xn){return new An(xn)}}return q(this,Pe,[Ne])}return se(Pe,me),k(Pe)})(ee);Object.defineProperty(M.exports,"__esModule",{value:!0}),M.exports=Me,Me.default=Me},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(x,M,N){var $=typeof Worker<"u"?Worker:void 0;M.exports=$},{}]},{},[3])(3)})})(Z7e)),Z7e.exports}var hKn=aKn();const dKn=yke(hKn);function ubn(b){if(b.detailMode==="overview")return 190;const E=Math.max(b.applicationId.length,b.modelName.length,...b.inputs.map(x=>x.name.length),...b.outputs.map(x=>x.name.length));return Math.max(310,Math.min(540,235+E*7))}const bKn=new dKn;async function gKn(b,E,x){const M={id:"root",layoutOptions:wKn(x),children:b.map(k=>({id:k.id,width:pKn(k.data),height:mKn(k.data),ports:k.data.nodeKind==="application"?[...obn(k.data).map((H,q)=>sue(H.id,"WEST",q)),...sbn(k.data).map((H,q)=>sue(H.id,"EAST",q))]:[...(k.data.inputPortIds??[]).map((H,q)=>sue(H,"WEST",q)),...(k.data.outputPortIds??[]).map((H,q)=>sue(H,"EAST",q))],layoutOptions:{"org.eclipse.elk.portConstraints":"FIXED_ORDER"}})),edges:E.map(k=>({id:k.id,sources:[k.sourceHandle??k.source],targets:[k.targetHandle??k.target]}))},N=await bKn.layout(M),$=new Map((N.children??[]).map(k=>[k.id,{x:k.x??0,y:k.y??0}]));return b.map(k=>({...k,position:$.get(k.id)??k.position}))}function wKn(b){return{"elk.algorithm":b==="topology"?"mrtree":"layered","elk.direction":b==="topology"?"DOWN":"RIGHT","elk.spacing.nodeNode":b==="overview"?"24":b==="compact"?"32":"56","elk.layered.spacing.nodeNodeBetweenLayers":b==="overview"?"48":b==="compact"?"60":"110","elk.layered.nodePlacement.strategy":"BRANDES_KOEPF","elk.layered.crossingMinimization.semiInteractive":"true","elk.edgeRouting":"ORTHOGONAL"}}function sue(b,E,x){return{id:b,width:9,height:9,layoutOptions:{"org.eclipse.elk.port.side":E,"org.eclipse.elk.port.index":String(x)}}}function pKn(b){return b.nodeKind==="application"?ubn(b):240}function mKn(b){if(b.nodeKind!=="application")return 112;if(b.detailMode==="overview")return 108;const E=Math.max(b.inputs.length,b.outputs.length),x=Math.max(b.environmentInputs.length,b.environmentOutputs.length);return Math.max(178,142+E*27+(x>0?32+x*27:0))}function obn(b){return[...b.inputs,...b.environmentInputs]}function sbn(b){return[...b.outputs,...b.environmentOutputs]}function vKn({data:b,selected:E}){const x=b.detailMode==="overview",M=new Set(b.requiredInputPortIds),N=new Set(b.candidatePortIds),$=new Set(b.previousTimeStepPortIds),k=new Set(b.cycleBreakInputPortIds),H=jKn(b);return _.jsxs("section",{className:`model-node application-node ${x?"overview-node":""} ${b.cyclic?"cyclic":""} ${E?"selected":""}`,"data-testid":`application-node-${b.applicationId}`,style:{width:ubn(b)},children:[x&&_.jsx(kKn,{inputs:obn(b),outputs:sbn(b)}),_.jsxs("header",{className:"node-header",children:[_.jsxs("div",{children:[_.jsx("div",{className:"process",children:b.name||b.applicationId}),_.jsx("div",{className:"model-type",children:b.modelName})]}),_.jsx(tbn,{size:18})]}),x?_.jsxs("div",{className:"overview-node-summary",children:[_.jsxs("span",{children:[b.targetCount," targets"]}),_.jsxs("span",{children:[b.inputs.length," in"]}),_.jsxs("span",{children:[b.outputs.length," out"]})]}):_.jsxs(_.Fragment,{children:[_.jsxs("div",{className:"node-meta",children:[_.jsxs("span",{className:"meta-chip",title:b.selector.julia,children:[_.jsx(IXn,{size:13})," ",H]}),_.jsxs("span",{className:"meta-chip",title:b.cadence.julia,children:[_.jsx(LXn,{size:13})," ",EKn(b)]})]}),_.jsxs("div",{className:"target-summary",children:[_.jsx("strong",{children:b.targetCount})," concrete target",b.targetCount===1?"":"s"]}),_.jsxs("div",{className:"ports-grid",children:[_.jsx(lue,{title:"Inputs",side:"input",ports:b.inputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:b.cycleBreakMode,application:b,onCandidateClick:b.onCandidateClick,onPortClick:b.onPortClick,onCycleBreak:b.onCycleBreak}),_.jsx(lue,{title:"Outputs",side:"output",ports:b.outputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:b.cycleBreakMode,application:b,onCandidateClick:b.onCandidateClick,onPortClick:b.onPortClick,onCycleBreak:b.onCycleBreak})]}),(b.environmentInputs.length>0||b.environmentOutputs.length>0)&&_.jsxs("div",{className:"ports-grid environment-ports",children:[_.jsx(lue,{title:"Environment inputs",side:"input",ports:b.environmentInputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:b,onPortClick:b.onPortClick}),_.jsx(lue,{title:"Environment outputs",side:"output",ports:b.environmentOutputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:b,onPortClick:b.onPortClick})]})]})]})}function yKn({data:b,selected:E}){return _.jsxs("section",{className:`entity-node ${b.nodeKind} ${E?"selected":""}`,"data-testid":`${b.nodeKind}-node`,children:[(b.inputPortIds?.length?b.inputPortIds:[void 0]).map((x,M)=>_.jsx(w5,{id:x,type:"target",position:ur.Left,style:{top:`${Nue(M,b.inputPortIds?.length??1)}%`}},x??"target")),_.jsxs("header",{children:[_.jsx("strong",{children:b.title}),_.jsx("span",{children:b.subtitle})]}),_.jsx("div",{className:"badges",children:b.badges.map(x=>_.jsx("span",{className:"meta-chip",children:x},x))}),(b.outputPortIds?.length?b.outputPortIds:[void 0]).map((x,M)=>_.jsx(w5,{id:x,type:"source",position:ur.Right,style:{top:`${Nue(M,b.outputPortIds?.length??1)}%`}},x??"source"))]})}function lue({title:b,side:E,ports:x,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:H,application:q,onCandidateClick:G,onPortClick:ie,onCycleBreak:W}){return _.jsxs("div",{className:`port-column ${E}`,children:[_.jsx("div",{className:"port-title",children:b}),x.map(Z=>_.jsxs("div",{className:`port ${M.has(Z.id)?"required-input":""} ${$.has(Z.id)?"previous":""}`,"data-testid":`port-${E}-${Z.name}`,title:`${Z.name}: ${Z.defaultJulia}`,onClick:se=>{se.stopPropagation(),ie?.(Z)},children:[E==="input"&&_.jsx(w5,{id:Z.id,type:"target",position:ur.Left}),_.jsx("span",{children:Z.name}),N.has(Z.id)&&_.jsx("button",{className:"port-candidate-button nodrag nopan",type:"button",title:E==="input"?"Models that compute this variable":"Models that consume this variable","aria-label":E==="input"?`Models that compute ${Z.name}`:`Models that consume ${Z.name}`,onClick:se=>{se.stopPropagation();const oe=se.currentTarget.getBoundingClientRect();G?.(Z,{x:oe.right,y:oe.top+oe.height/2})},children:_.jsx(MA,{size:11})}),E==="input"&&H&&k.has(Z.id)&&_.jsx("button",{className:"cycle-port-break nodrag nopan",type:"button",title:`Read ${Z.name} from the previous accepted timestep`,"aria-label":`Break cycle at ${q.applicationId}.${Z.name}`,"data-testid":`cycle-break-${q.applicationId}-${Z.name}`,onClick:se=>{se.stopPropagation(),W?.(q,Z)},children:_.jsx(ibn,{size:12})}),$.has(Z.id)&&_.jsx("small",{className:"previous-label",children:"t-1"}),E==="output"&&_.jsx(w5,{id:Z.id,type:"source",position:ur.Right})]},Z.id))]})}function kKn({inputs:b,outputs:E}){return _.jsxs(_.Fragment,{children:[b.map((x,M)=>_.jsx(w5,{id:x.id,type:"target",position:ur.Left,style:{top:`${Nue(M,b.length)}%`}},x.id)),E.map((x,M)=>_.jsx(w5,{id:x.id,type:"source",position:ur.Right,style:{top:`${Nue(M,E.length)}%`}},x.id))]})}function Nue(b,E){return E<=1?52:28+b/(E-1)*48}function jKn(b){const E=[...b.targetInstances,...b.targetScales,...b.targetKinds];return E.length>0?E.slice(0,2).join(" / "):b.selector.type}function EKn(b){return b.cadence.mode==="default"?"default rate":b.cadence.mode==="period"?`${b.cadence.value} ${b.cadence.unit}`:b.cadence.julia}function SKn({id:b,sourceX:E,sourceY:x,targetX:M,targetY:N,sourcePosition:$=ur.Right,targetPosition:k=ur.Left,markerEnd:H,style:q,data:G}){const[ie,W,Z]=Cue({sourceX:E,sourceY:x,targetX:M,targetY:N,sourcePosition:$,targetPosition:k,borderRadius:14,offset:24}),se=xKn(G);return _.jsxs(_.Fragment,{children:[_.jsx(uq,{id:b,path:ie,markerEnd:H,style:q,interactionWidth:18}),se&&_.jsx(WUn,{children:_.jsx("div",{className:`edge-chip ${G?.kind??""} ${G?.cycle?"cycle":""}`,style:{transform:`translate(-50%, -50%) translate(${W}px, ${Z-12}px)`},children:se})})]})}function xKn(b){return b?b.kind==="manual_call"?b.call||"call":b.kind==="initializer"?b.call||"initializer":b.kind==="object_topology"||b.kind==="application_target"?"":b.sourceVariable&&b.targetVariable?b.sourceVariable===b.targetVariable?b.sourceVariable:`${b.sourceVariable} → ${b.targetVariable}`:b.kind.replaceAll("_"," "):""}const eke=zke("source","degree_days","ToyDegreeDaysCumulModel",[],["TT_cu"]),fue=zke("lai","lai_dynamic","ToyLAIModel",["TT_cu"],["LAI"]),nke=zke("light","light_interception","Beer",["LAI"],["aPPFD"]),odn={schemaVersion:2,level:"applications",metadata:{title:"PlantSimEngine Model Graph",modelRevision:0,objectCount:1,instanceCount:0,applicationCount:3,executionCount:3,bindingCount:2,callCount:0,unresolvedInitializationCount:1,cyclic:!1,strictlyCompiled:!0,sceneEnvironmentId:null},objects:[{id:"object:plant",objectId:"plant",scale:"Plant",kind:"plant",species:null,name:"plant",instance:null,parent:null,children:[],hasGeometry:!1,hasStatus:!0}],templates:[],instances:[],applications:[eke,fue,nke],executions:[eke,fue,nke].map(b=>({id:`execution:${b.applicationId}:plant`,applicationId:b.applicationId,applicationNodeId:b.id,objectId:"plant",objectNodeId:"object:plant",modelType:b.modelType,modelParameters:{},overridden:!1})),edges:[ldn(eke,"TT_cu",fue,"TT_cu"),ldn(fue,"LAI",nke,"LAI")],modelLibrary:[],environments:[],initialization:[{applicationId:"source",objectId:"plant",variable:"TT",role:"input",disposition:"unresolved",value:"-Inf",valueJulia:"-Inf",expectedType:"Float64",declaredType:"Float64",originalType:null,transformedType:null,effectiveType:null,statusTransformApplied:!1,statusTransformChanged:!1,typeMappingApplied:!1,typeMappingChanged:!1,typeMappingRule:null,sourceApplicationIds:[],sourceObjectIds:[],sourceVariable:null,origin:"missing",previousTimeStep:!1}],diagnostics:[],cycles:[],availableActions:["inspect"]};function zke(b,E,x,M,N){return{id:`application:${b}`,applicationId:b,owner:{scope:"global",applicationId:b,instance:null,templateId:null},name:b,process:E,modelType:x,modelName:x,module:"PlantSimEngine.Examples",package:"PlantSimEngine",modelParameters:{},selector:{type:"One",multiplicity:"one",criteria:{scale:"Plant"},julia:"One(scale=:Plant)"},targetIds:["plant"],targetCount:1,targetScales:["Plant"],targetKinds:["plant"],targetSpecies:[],targetInstances:[],cadence:{mode:"default",value:null,unit:null,julia:"nothing"},clock:null,inputs:M.map($=>sdn(b,"input",$)),outputs:N.map($=>sdn(b,"output",$)),environmentInputs:[],environmentOutputs:[],inputBindings:{},callBindings:{},environment:null,environmentBindings:{},environmentWindow:{mode:"default",value:null,unit:null,julia:"nothing"},outputRouting:{},updates:[],modelStorage:"shared_application",objectOverrides:[]}}function sdn(b,E,x){return{id:`application:${b}:${E}:${x}`,name:x,role:E,default:"-Inf",defaultJulia:"-Inf",expectedType:"Float64"}}function ldn(b,E,x,M){return{id:`binding:${b.applicationId}:${E}:${x.applicationId}:${M}`,source:b.id,target:x.id,sourcePort:`application:${b.applicationId}:output:${E}`,targetPort:`application:${x.applicationId}:input:${M}`,sourceVariable:E,targetVariable:M,sourceApplicationId:b.applicationId,targetApplicationId:x.applicationId,kind:"inferred_same_object",cycle:!1,projection:"applications"}}const AKn={application:vKn,entity:yKn},MKn={modelEdge:SKn};function CKn(){const[b,E]=Re.useState(ike),[x,M]=Re.useState(()=>ike().level),[N,$]=Re.useState(()=>ike().metadata.applicationCount>24?"overview":"detail"),[k,H]=Re.useState(""),[q,G]=Re.useState(null),[ie,W]=Re.useState(null),[Z,se]=Re.useState(null),[oe,ee]=Re.useState(null),[Me,me]=Re.useState(!1),[Pe,ae]=Re.useState(!1),[Ne,Ue]=Re.useState(!1),[ln,on]=Re.useState(!1),[An,xn]=Re.useState(!1),[tt,mn]=Re.useState(""),[vn,Y]=Re.useState(null),[Fe,wn]=Re.useState(null),[xe,Ge]=Re.useState([]),[fn,$e]=Re.useState(null),[Mn,ge]=Re.useState(!1),[tn,Hn]=Re.useState(!1),[ut,Jt]=Re.useState(!1),[di,Gt]=Re.useState(null),[At,si]=Re.useState(null),[Kr,Er]=Re.useState(null),[Dt,bi]=Re.useState(!1),[zi,cu]=Re.useState(null),[Fu,Rs]=Re.useState(!1),[ra,nf]=Re.useState(null),[Ia,Cc]=Re.useState(null),[l0,Cb]=Re.useState(null),[xl,od]=Re.useState(null),[f0,sh]=Re.useState(null),[sd,m5]=Re.useState(!1),[a0,Np]=Re.useState(null),[h6,Tb,ca]=ZUn([]),[ld,xf,d6]=eXn([]),lh=Re.useMemo(KKn,[]),Ip=Re.useMemo(()=>new Map(b.applications.map(vt=>[vt.applicationId,vt])),[b.applications]),Xg=Re.useMemo(()=>new Set(b.initialization.filter(vt=>vt.role==="input"&&vt.disposition==="unresolved").map(vt=>tke(vt.applicationId,"input",vt.variable))),[b.initialization]),Kg=Re.useMemo(()=>new Set(b.initialization.filter(vt=>vt.role==="input"&&vt.previousTimeStep).map(vt=>tke(vt.applicationId,"input",vt.variable))),[b.initialization]),Vg=Re.useMemo(()=>new Set(b.cycles.flatMap(vt=>vt.applicationIds)),[b.cycles]),fd=Re.useMemo(()=>new Set(b.cycles.flatMap(vt=>vt.breakCandidates.map(kc=>tke(kc.applicationId,"input",kc.input)))),[b.cycles]),Yg=Re.useMemo(()=>_Kn(b),[b]),Ob=Re.useMemo(()=>oe?LKn(b.modelLibrary,oe.port):[],[oe,b.modelLibrary]),v5=Re.useMemo(()=>oe?$Kn(b.applications,oe):[],[oe,b.applications]),Dp=Re.useMemo(()=>{const vt=new Map;for(const kc of b.applications)for(const tc of[...kc.inputs,...kc.outputs])vt.set(tc.id,{application:kc,port:tc});return vt},[b.applications]),_p=Re.useMemo(()=>ie?new Set(ie.objectIds.map(Ab)):null,[ie]);Re.useEffect(()=>{if(!lh?.websocketUrl)return;const vt=new WebSocket(lh.websocketUrl);return $e(vt),vt.addEventListener("open",()=>{ge(!0),Gt(null)}),vt.addEventListener("close",()=>{ge(!1),Gt("Editor connection closed.")}),vt.addEventListener("message",kc=>{const tc=JSON.parse(kc.data);tc.graph&&E(tc.graph),typeof tc.modelCode=="string"&&mn(tc.modelCode),Y(tc.autosavePath??null),wn(tc.savePath??null),Ge(tc.recentPaths??[]),tc.selectorPreview&&sh(tc.selectorPreview),tc.targetPreview&&Er(tc.targetPreview),tc.instancePreview&&cu(tc.instancePreview),tc.ok===!1&&(sh(null),Er(null),cu(null)),Hn(!!tc.canUndo),Jt(!!tc.canRedo),Gt(tc.ok===!1?tc.diagnostics?.[0]||"The edit failed.":null)}),()=>vt.close()},[lh?.websocketUrl]),Re.useEffect(()=>{b.metadata.cyclic||(m5(!1),Np(null))},[b.metadata.cyclic]);const uu=Re.useCallback(vt=>{if(!fn||fn.readyState!==WebSocket.OPEN){Gt("This action requires an interactive Julia editor session.");return}fn.send(JSON.stringify(vt))},[fn]),y5=Re.useCallback((vt,kc,tc)=>{G(vt),se(kc),ee({application:vt,port:kc,x:tc.x,y:tc.y})},[]);Re.useEffect(()=>{const vt=TKn({graph:b,view:x,detailMode:N,query:k,scopedObjectIds:_p,unresolvedPortIds:Xg,previousPortIds:Kg,candidatePortIds:Yg,cyclicApplications:Vg,cycleBreakPortIds:fd,cycleBreakMode:sd,openCandidates:y5,onPortClick:se,onCycleBreak:(h0,Zg)=>Np({application:h0,port:Zg})}),kc=new Set(vt.map(h0=>h0.id)),tc=OKn(b,x).filter(h0=>kc.has(h0.source)&&kc.has(h0.target));gKn(vt,tc,x==="topology"?"topology":N==="overview"?"overview":"data_flow").then(Tb),xf(tc)},[Yg,sd,fd,Vg,N,b,y5,Kg,k,_p,xf,Tb,Xg,x]);const Qg=Re.useCallback((vt,kc)=>{if(kc.data.nodeKind==="application")G(Ip.get(kc.data.applicationId)??null);else if(G(kc.data.detail),kc.data.nodeKind==="object"){const tc=kc.data.detail;W({label:`subtree ${tc.name||Oa(tc.objectId)}`,objectIds:IKn(b.objects,tc.objectId)})}else if(kc.data.nodeKind==="instance"){const tc=kc.data.detail;W({label:`instance ${tc.name}`,objectIds:tc.objectIds})}else kc.data.nodeKind==="model"&&W(null);se(null)},[Ip,b.objects]),ov=Re.useCallback(vt=>{oe&&(Er(null),si({mode:"add",initialModelType:vt.type,suggestedSelector:XKn(oe.application)}),Mn||Gt(`${vt.name} matches ${oe.port.name}. Start an interactive Julia editor session to add it to the composite model.`),ee(null))},[oe,Mn]),k5=Re.useCallback(vt=>{if(!Mn){Gt("Adding or updating an application requires an interactive Julia editor session."),si(null);return}uu({action:"edit",kind:vt.applicationRef?"update_application":"add_application",...vt}),si(null)},[Mn,uu]),Wg=Re.useCallback(vt=>{if(!Mn){Gt("Adding a template instance requires an interactive Julia editor session.");return}uu({action:"edit",kind:"add_instance",...vt}),bi(!1),cu(null)},[Mn,uu]),sv=Re.useCallback(vt=>{if(!Mn){Gt("Creating a binding requires an interactive Julia editor session."),od(null);return}uu({action:"edit",kind:"set_input_binding",...vt}),od(null)},[Mn,uu]),j5=Re.useCallback(vt=>{if(!Mn){Gt("Adding or updating an object requires an interactive Julia editor session."),nf(null);return}uu({action:"edit",kind:ra?.mode==="update"?"update_object":"add_object",objectId:vt.objectId,configuration:vt.configuration}),nf(null)},[Mn,ra?.mode,uu]),E5=Re.useCallback(vt=>{if(!Mn){Gt("Creating an override requires an interactive Julia editor session."),Cc(null);return}uu({action:"edit",kind:vt.scope==="instance"?"set_instance_override":"set_object_override",...vt}),Cc(null)},[Mn,uu]),w1=Re.useCallback(vt=>{if(!Mn){Gt("Removing an override requires an interactive Julia editor session.");return}uu({action:"edit",kind:vt.scope==="instance"?"remove_instance_override":"remove_object_override",...vt}),Cc(null)},[Mn,uu]),Zs=Re.useCallback(vt=>{if(!vt.sourceHandle||!vt.targetHandle)return;const kc=Dp.get(vt.sourceHandle),tc=Dp.get(vt.targetHandle);if(!kc||!tc||kc.port.role!=="output"||tc.port.role!=="input"){Gt("Connect an application output to an application input.");return}od({sourceApplication:kc.application,sourcePort:kc.port,targetApplication:tc.application,targetPort:tc.port}),sh(null)},[Dp]),Af=Re.useMemo(()=>{if(!q)return b.initialization;if("applicationId"in q)return b.initialization.filter(vt=>vt.applicationId===q.applicationId);if("objectId"in q)return b.initialization.filter(vt=>Ab(vt.objectId)===Ab(q.objectId));if("objectIds"in q){const vt=new Set(q.objectIds.map(Ab));return b.initialization.filter(kc=>vt.has(Ab(kc.objectId)))}return b.initialization},[b.initialization,q]);return _.jsxs("main",{className:"model-editor-shell","data-testid":"model-graph-viewer",children:[_.jsxs("header",{className:"model-toolbar",children:[_.jsxs("div",{className:"model-brand",children:[_.jsx("span",{className:"brand-mark"}),_.jsxs("div",{children:[_.jsx("small",{children:"PLANTSIMENGINE"}),_.jsx("strong",{children:"Model Graph"})]})]}),_.jsxs("div",{className:"model-search",children:[_.jsx(HXn,{size:17}),_.jsx("input",{value:k,onChange:vt=>H(vt.target.value),placeholder:"Search application, object, or variable"}),k&&_.jsx("button",{"aria-label":"Clear search",onClick:()=>H(""),children:_.jsx(qg,{size:15})})]}),_.jsxs("div",{className:"model-counts",children:[_.jsxs("span",{children:[b.metadata.applicationCount," applications"]}),_.jsxs("span",{children:[b.metadata.objectCount," objects"]}),b.metadata.unresolvedInitializationCount>0&&_.jsxs("button",{className:"count-warning",onClick:()=>ae(!0),children:[_.jsx(_Xn,{size:14})," ",b.metadata.unresolvedInitializationCount," init"]}),b.diagnostics.length>0&&_.jsxs("button",{className:"count-error",onClick:()=>me(!0),children:[_.jsx(vke,{size:14})," ",b.diagnostics.length]})]}),_.jsxs("nav",{className:"view-tabs","aria-label":"Graph projection",children:[_.jsxs("button",{className:x==="applications"?"active":"",onClick:()=>M("applications"),children:[_.jsx(tbn,{size:15})," Applications"]}),_.jsxs("button",{className:x==="topology"?"active":"",onClick:()=>M("topology"),children:[_.jsx(RXn,{size:15})," Objects"]}),_.jsxs("button",{className:x==="resolved"?"active":"",onClick:()=>M("resolved"),children:[_.jsx(BXn,{size:15})," Executions"]})]}),_.jsxs("div",{className:"model-actions",children:[lh&&_.jsxs("button",{"data-testid":"open-model",onClick:()=>on(!0),children:[_.jsx($Xn,{size:15})," Open"]}),lh&&_.jsxs("button",{"data-testid":"save-model",onClick:()=>xn(!0),children:[_.jsx(JXn,{size:15})," ",Fe?"Saved":"Save"]}),x!=="topology"&&_.jsx("button",{className:N==="overview"?"overview-cta":"",onClick:()=>$(vt=>vt==="overview"?"detail":"overview"),children:N==="overview"?"Overview Mode - Show Detailed View":"Show Overview"}),lh&&_.jsxs("button",{"data-testid":"add-application",onClick:()=>{Er(null),si({mode:"add"})},children:[_.jsx(MA,{size:15})," Add application"]}),lh&&_.jsxs("button",{"data-testid":"add-object",onClick:()=>nf({mode:"add"}),children:[_.jsx(MA,{size:15})," Add object"]}),lh&&b.templates.length>0&&_.jsxs("button",{"data-testid":"add-instance",onClick:()=>{cu(null),bi(!0)},children:[_.jsx(MA,{size:15})," Add instance"]}),lh&&_.jsx("button",{"data-testid":"configure-environment",onClick:()=>Rs(!0),children:"Environment"}),lh&&_.jsx("button",{disabled:!tn,onClick:()=>uu({action:"undo"}),"aria-label":"Undo",children:_.jsx(GXn,{size:15})}),lh&&_.jsx("button",{disabled:!ut,onClick:()=>uu({action:"redo"}),"aria-label":"Redo",children:_.jsx(zXn,{size:15})}),_.jsxs("button",{onClick:()=>Ue(!0),children:[_.jsx(PXn,{size:15})," Model code"]})]})]}),b.metadata.cyclic&&_.jsxs("section",{className:"cycle-callout","data-testid":"cycle-callout",children:[_.jsx(vke,{size:19}),_.jsxs("div",{children:[_.jsx("strong",{children:"Current-step dependency cycle"}),_.jsx("span",{children:"Select a cycle input to read its previous accepted timestep value."})]}),_.jsx("button",{className:sd?"active":"",onClick:()=>{M("applications"),$("detail"),m5(vt=>!vt)},"data-testid":"choose-cycle-break",children:sd?"Cancel break selection":"Choose a break point in graph"})]}),di&&_.jsxs("div",{className:"editor-feedback",children:[di,_.jsx("button",{onClick:()=>Gt(null),children:_.jsx(qg,{size:14})})]}),ie&&_.jsxs("section",{className:"graph-scope-filter","data-testid":"graph-scope-filter",children:[_.jsxs("span",{children:["Showing ",x==="resolved"?"executions":x==="applications"?"applications":"topology"," for ",_.jsx("strong",{children:ie.label})," (",ie.objectIds.length," objects)"]}),x==="topology"&&_.jsx("button",{onClick:()=>M("applications"),children:"Show related applications"}),_.jsxs("button",{"aria-label":"Clear graph scope",onClick:()=>W(null),children:[_.jsx(qg,{size:14})," Clear"]})]}),_.jsxs("section",{className:"model-workspace",children:[_.jsx("div",{className:"flow-wrap",children:_.jsxs(YUn,{nodes:h6,edges:ld,nodeTypes:AKn,edgeTypes:MKn,onNodesChange:ca,onEdgesChange:d6,onConnect:Zs,onNodeClick:Qg,onEdgeClick:(vt,kc)=>G(kc.data??null),fitView:!0,minZoom:.05,maxZoom:2,children:[_.jsx(cXn,{color:"#d8cdbc",gap:22,size:1}),_.jsx(hXn,{}),_.jsx(xXn,{pannable:!0,zoomable:!0})]})}),_.jsx(BKn,{selection:q,port:Z,initialization:Af,interactive:Mn,onEditApplication:vt=>{Er(null),si({mode:"update",application:vt})},onRemoveApplication:vt=>uu({action:"edit",kind:"remove_application",applicationRef:vt.owner}),onConfigureApplication:vt=>Cb(vt.applicationId),onOverrideApplication:Cc,onRemoveInstance:vt=>uu({action:"edit",kind:"remove_instance",name:vt.name}),onEditObject:vt=>nf({mode:"update",object:vt}),onRemoveObject:vt=>uu({action:"edit",kind:"remove_object",objectId:vt.objectId,recursive:!0})})]}),oe&&(Ob.length>0||v5.length>0)&&_.jsx(PKn,{candidate:oe,models:Ob,applications:v5,onSelectModel:ov,onSelectApplication:vt=>{od(RKn(oe,vt)),sh(null),ee(null)},onClose:()=>ee(null)}),Me&&_.jsx(zKn,{graph:b,onClose:()=>me(!1),sendCommand:uu,interactive:Mn}),Pe&&_.jsx(FKn,{graph:b,onClose:()=>ae(!1),sendCommand:uu,interactive:Mn}),Ne&&_.jsx(HKn,{code:tt,onClose:()=>Ue(!1)}),ln&&_.jsx(ddn,{mode:"open",recentPaths:xe,currentPath:Fe,autosavePath:vn,onSubmit:vt=>{uu({action:"open_model_code",path:vt}),on(!1)},onClose:()=>on(!1)}),An&&_.jsx(ddn,{mode:"save",recentPaths:xe,currentPath:Fe,autosavePath:vn,onSubmit:vt=>{uu({action:"save_model_code",path:vt}),xn(!1)},onClose:()=>xn(!1)}),At&&_.jsx(qXn,{mode:At.mode,models:b.modelLibrary,objects:b.objects,application:At.application,initialModelType:At.initialModelType,suggestedSelector:At.suggestedSelector,nameReadOnly:At.application?.owner.scope==="template",preview:Kr,onPreview:vt=>{Er(null),uu({action:"preview_application_targets",selector:vt,applicationRef:At.application?.owner})},onSubmit:k5,onClose:()=>{si(null),Er(null)}}),xl&&_.jsx(eKn,{endpoints:xl,objects:b.objects,preview:f0,onPreview:vt=>{sh(null),uu({action:"preview_input_binding",...vt})},onSubmit:sv,onClose:()=>{od(null),sh(null)}}),ra&&_.jsx(lKn,{mode:ra.mode,objects:b.objects,object:ra.object,onSubmit:j5,onClose:()=>nf(null)}),Dt&&_.jsx(oKn,{templates:b.templates,instances:b.instances,objects:b.objects,preview:zi,onPreview:vt=>{cu(null),uu({action:"preview_instance",...vt})},onSubmit:Wg,onClose:()=>{bi(!1),cu(null)}}),Fu&&_.jsx(uKn,{environments:b.environments,activeId:b.metadata.sceneEnvironmentId,onSubmit:vt=>{uu({action:"edit",kind:"set_model_environment",environmentId:vt}),Rs(!1)},onClose:()=>Rs(!1)}),Ia&&_.jsx(fKn,{application:Ia,models:b.modelLibrary,instances:b.instances,onSubmit:E5,onRemove:w1,onClose:()=>Cc(null)}),l0&&Ip.get(l0)&&_.jsx(YXn,{application:Ip.get(l0),applications:b.applications,environments:b.environments,models:b.modelLibrary,onCommand:uu,onClose:()=>Cb(null)}),a0&&_.jsx(GKn,{selection:a0,initialization:b.initialization,onSubmit:(vt,kc)=>{uu({action:"edit",kind:"break_cycle",applicationRef:a0.application.owner,input:a0.port.name,initializeMissing:vt,initialValue:kc}),Np(null)},onClose:()=>Np(null)})]})}function TKn({graph:b,view:E,detailMode:x,query:M,scopedObjectIds:N,unresolvedPortIds:$,previousPortIds:k,candidatePortIds:H,cyclicApplications:q,cycleBreakPortIds:G,cycleBreakMode:ie,openCandidates:W,onPortClick:Z,onCycleBreak:se}){const oe=Me=>!M||JSON.stringify(Me).toLowerCase().includes(M.toLowerCase());if(E==="topology"){const Me={entity:"model",objectCount:b.metadata.objectCount,instanceCount:b.metadata.instanceCount,applicationCount:b.metadata.applicationCount},me={id:"model:root",type:"entity",position:{x:0,y:0},data:{nodeKind:"model",title:b.metadata.title||"Composite model",subtitle:"model root",badges:[`${b.metadata.instanceCount} instances`,`${b.metadata.objectCount} objects`],detail:Me}},Pe=b.templates.filter(oe).map(Ue=>({id:`template:${Ue.id}`,type:"entity",position:{x:0,y:0},data:{nodeKind:"template",title:Ue.name,subtitle:Ue.source==="catalog"?"template preset":"model-local template",badges:[`${Ue.applications.length} applications`,`${Ue.mountedInstances.length} mounts`],detail:Ue}})),ae=b.instances.filter(oe).map(Ue=>({id:Ue.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"instance",title:Ue.name,subtitle:[Ue.kind,Ue.species].filter(Boolean).join(" · ")||"object instance",badges:[`${Ue.objectIds.length} objects`,`${Ue.applicationIds.length} applications`,`${Ue.instanceOverrides.length+Ue.objectOverrides.length} overrides`],detail:Ue}})),Ne=b.objects.filter(oe).map(Ue=>({id:Ue.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"object",title:Ue.name||Oa(Ue.objectId),subtitle:[Ue.kind,Ue.scale,Ue.instance].filter(Boolean).join(" · "),badges:[Ue.species,Ue.hasStatus?"status":null,Ue.hasGeometry?"geometry":null].filter(Boolean),detail:Ue}}));return[me,...Pe,...ae,...Ne]}if(E==="resolved"){const Me=new Map(b.applications.map(Pe=>[Pe.applicationId,Pe]));return[...b.executions.filter(Pe=>!N||N.has(Ab(Pe.objectId))).filter(oe).map(Pe=>{const ae=Me.get(Pe.applicationId);return{id:Pe.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"execution",title:Pe.applicationId,subtitle:`object ${Oa(Pe.objectId)}`,badges:[UKn(Pe.modelType),Pe.overridden?"override":"shared"],inputPortIds:[...ae?.inputs??[],...ae?.environmentInputs??[]].map(Ne=>Ne.id),outputPortIds:[...ae?.outputs??[],...ae?.environmentOutputs??[]].map(Ne=>Ne.id),detail:Pe}}}),...fdn(b,"resolved")]}return[...b.applications.filter(Me=>!N||Me.targetIds.some(me=>N.has(Ab(me)))).filter(oe).map(Me=>({id:Me.id,type:"application",position:{x:0,y:0},data:{...Me,nodeKind:"application",detailMode:x,cyclic:q.has(Me.applicationId),requiredInputPortIds:Me.inputs.filter(me=>$.has(me.id)).map(me=>me.id),candidatePortIds:[...Me.inputs,...Me.outputs].filter(me=>H.has(me.id)).map(me=>me.id),previousTimeStepPortIds:Me.inputs.filter(me=>k.has(me.id)).map(me=>me.id),cycleBreakInputPortIds:Me.inputs.filter(me=>G.has(me.id)).map(me=>me.id),cycleBreakMode:ie,onCandidateClick:(me,Pe)=>W(Me,me,Pe),onPortClick:Z,onCycleBreak:se}})),...fdn(b,"applications")]}function fdn(b,E){const x=b.edges.filter(N=>N.kind==="environment_binding"&&N.projection===E);return[...new Set(x.flatMap(N=>[N.source,N.target]).filter(N=>N.startsWith("environment:")))].map(N=>{const $=N.slice(12),k=b.environments.find(G=>G.id===N),H=adn(x.filter(G=>G.target===N).map(G=>G.targetPort).filter(Boolean)),q=adn(x.filter(G=>G.source===N).map(G=>G.sourcePort).filter(Boolean));return{id:N,type:"entity",position:{x:0,y:0},data:{nodeKind:"environment",title:k?.name||$,subtitle:k?.active?"active scene environment":"environment backend",badges:[`${q.length} inputs`,`${H.length} outputs`],inputPortIds:H,outputPortIds:q,detail:k||{provider:$}}}})}function adn(b){return[...new Set(b)]}function OKn(b,E){return(E==="topology"?[...b.edges,...NKn(b)]:b.edges).filter(M=>DKn(M,E)).map(M=>({id:M.id,source:M.source,target:M.target,sourceHandle:M.sourcePort||void 0,targetHandle:M.targetPort||void 0,type:"modelEdge",data:M,markerEnd:{type:VG.ArrowClosed,color:hdn(M),width:16,height:16},style:{stroke:hdn(M),strokeWidth:M.cycle?4:["manual_call","initializer"].includes(M.kind)?2.5:1.8,strokeDasharray:M.kind==="previous_timestep"?"7 5":M.kind==="manual_call"?"3 4":M.kind==="initializer"?"8 3":void 0}}))}function NKn(b){const E=[],x=new Set(b.instances.flatMap(M=>M.objectIds.map(Ab)));for(const M of b.templates)E.push({id:`topology:model:template:${M.id}`,source:"model:root",target:`template:${M.id}`,kind:"object_topology",projection:"topology",cycle:!1});for(const M of b.instances){const N=b.objects.find($=>Ab($.objectId)===Ab(M.rootId));N&&E.push({id:`topology:${M.id}:${N.id}`,source:M.id,target:N.id,kind:"object_topology",projection:"topology",cycle:!1})}for(const M of b.objects)M.parent===null&&!x.has(Ab(M.objectId))&&E.push({id:`topology:model:${M.id}`,source:"model:root",target:M.id,kind:"object_topology",projection:"topology",cycle:!1});return E}function IKn(b,E){const x=new Map,M=new Map(b.map(H=>[H.id,H]));for(const H of b){if(H.parent===null)continue;const q=M.get(String(H.parent));if(!q)continue;const G=Ab(q.objectId);x.set(G,[...x.get(G)??[],H.objectId])}const N=[],$=[E],k=new Set;for(;$.length>0;){const H=$.pop(),q=Ab(H);k.has(q)||(k.add(q),N.push(H),$.push(...x.get(q)??[]))}return N}function Ab(b){return Ws(b)}function DKn(b,E){const x=b.projection;return E==="topology"?b.kind==="object_topology"||b.kind==="template_mount":E==="resolved"?x==="resolved":x==="applications"||!x&&!["object_topology","application_target"].includes(b.kind)}function hdn(b){return b.cycle?"#cf4937":b.kind==="previous_timestep"?"#317b62":b.kind==="manual_call"?"#be6a54":b.kind==="initializer"?"#7768ae":b.kind==="object_topology"?"#7b7167":b.kind==="environment_binding"?"#367b8b":"#a59687"}function _Kn(b){const E=new Set;for(const x of b.applications){for(const M of x.inputs)(b.applications.some($=>$.applicationId!==x.applicationId&&$.outputs.some(k=>k.name===M.name))||b.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.outputs,M.name)))&&E.add(M.id);for(const M of x.outputs)(b.applications.some($=>$.applicationId!==x.applicationId&&$.inputs.some(k=>k.name===M.name))||b.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.inputs,M.name)))&&E.add(M.id)}return E}function LKn(b,E){const x=E.role==="input"?"outputs":"inputs";return b.filter(M=>Object.prototype.hasOwnProperty.call(M[x],E.name)).sort((M,N)=>`${M.package}.${M.name}`.localeCompare(`${N.package}.${N.name}`))}function PKn({candidate:b,models:E,applications:x,onSelectModel:M,onSelectApplication:N,onClose:$}){const k=b.port.role==="input"?`Models that compute ${b.port.name}`:`Models that consume ${b.port.name}`;return _.jsxs("section",{className:"candidate-popover",style:{left:Math.min(b.x+8,window.innerWidth-390),top:Math.min(b.y-20,window.innerHeight-480)},children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:k}),_.jsx("span",{children:"Exact declared variable-name matches"})]}),_.jsx("button",{onClick:$,children:_.jsx(qg,{size:15})})]}),_.jsxs("div",{className:"candidate-list",children:[x.length>0&&_.jsx("div",{className:"candidate-section-label",children:"Existing applications"}),x.map(H=>_.jsxs("button",{className:"candidate-card existing",onClick:()=>N(H),children:[_.jsx("strong",{children:H.name||H.applicationId}),_.jsx("span",{children:H.modelName}),_.jsxs("small",{children:[H.targetCount," target",H.targetCount===1?"":"s"]}),_.jsx("div",{children:"Connect without adding another application"})]},H.applicationId)),E.length>0&&_.jsx("div",{className:"candidate-section-label",children:"Available models"}),E.map(H=>_.jsxs("button",{className:"candidate-card",onClick:()=>M(H),children:[_.jsx("strong",{children:H.name}),_.jsx("span",{children:H.process}),_.jsx("small",{children:H.package||H.module}),_.jsxs("div",{children:[Object.keys(H.inputs).length," inputs · ",Object.keys(H.outputs).length," outputs"]})]},H.type))]})]})}function $Kn(b,E){return b.filter(x=>x.applicationId!==E.application.applicationId).filter(x=>(E.port.role==="input"?x.outputs:x.inputs).some(N=>N.name===E.port.name)).sort((x,M)=>x.applicationId.localeCompare(M.applicationId))}function RKn(b,E){if(b.port.role==="input"){const M=E.outputs.find(N=>N.name===b.port.name);if(!M)throw new Error(`Application ${E.applicationId} does not output ${b.port.name}.`);return{sourceApplication:E,sourcePort:M,targetApplication:b.application,targetPort:b.port}}const x=E.inputs.find(M=>M.name===b.port.name);if(!x)throw new Error(`Application ${E.applicationId} does not input ${b.port.name}.`);return{sourceApplication:b.application,sourcePort:b.port,targetApplication:E,targetPort:x}}function BKn({selection:b,port:E,initialization:x,interactive:M,onEditApplication:N,onConfigureApplication:$,onRemoveApplication:k,onOverrideApplication:H,onRemoveInstance:q,onEditObject:G,onRemoveObject:ie}){const W=b&&"applicationId"in b&&"selector"in b?b:null,Z=b&&"objectId"in b&&!("applicationId"in b)?b:null,se=b&&"templateId"in b&&"objectIds"in b?b:null;return _.jsxs("aside",{className:"model-inspector",children:[_.jsxs("header",{children:[_.jsx("strong",{children:"Inspector"}),b&&_.jsx("span",{children:qKn(b)})]}),!b&&_.jsxs("div",{className:"empty-inspector",children:[_.jsx(DXn,{size:28}),_.jsx("p",{children:"Select an application, object, execution, or relationship."})]}),b&&_.jsx("pre",{children:JSON.stringify(b,null,2)}),W&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{onClick:()=>N(W),children:W.owner.scope==="template"?"Edit shared template":"Edit application"}),_.jsx("button",{"data-testid":"configure-application",onClick:()=>$(W),children:"Configure coupling"}),W.owner.scope==="template"&&_.jsx("button",{onClick:()=>H(W),children:"Create override"}),_.jsx("button",{className:"danger",onClick:()=>k(W),children:W.owner.scope==="template"?"Remove from shared template":"Remove application"})]}),se&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{className:"danger",onClick:()=>q(se),children:"Unmount instance"}),_.jsx("small",{children:"The object subtree is retained."})]}),Z&&M&&_.jsxs("div",{className:"inspector-actions",children:[_.jsx("button",{onClick:()=>G(Z),children:"Edit object"}),_.jsx("button",{className:"danger",onClick:()=>ie(Z),children:"Remove object and descendants"})]}),E&&_.jsxs("section",{children:[_.jsx("h4",{children:"Selected variable"}),_.jsx("code",{children:E.name}),_.jsx("p",{children:E.expectedType})]}),b&&x.length>0&&_.jsxs("section",{className:"inspector-initialization",children:[_.jsx("h4",{children:"Initialization"}),x.slice(0,8).map(oe=>_.jsxs("div",{children:[_.jsx("code",{children:oe.variable}),_.jsx("span",{className:oe.disposition==="unresolved"?"unresolved":"",children:oe.disposition})]},`${oe.applicationId}:${oe.objectId}:${oe.variable}`))]})]})}function zKn({graph:b,onClose:E,sendCommand:x,interactive:M}){return _.jsxs(Hue,{title:"Diagnostics and cycles",onClose:E,children:[b.diagnostics.map(N=>_.jsxs("article",{className:"diagnostic-card",children:[_.jsx("strong",{children:N.code}),_.jsx("p",{children:N.message}),N.suggestions.map($=>_.jsx("small",{children:$},$))]},`${N.code}:${N.message}`)),b.cycles.map(N=>_.jsxs("article",{className:"cycle-card",children:[_.jsx("strong",{children:N.applicationIds.join(" → ")}),_.jsx("p",{children:"Choose an input to read from the previous timestep."}),N.breakCandidates.map($=>{const k=b.applications.find(H=>H.applicationId===$.applicationId)?.owner;return _.jsxs("button",{disabled:!M||!k,onClick:()=>k&&x({action:"edit",kind:"mark_previous_timestep",applicationRef:k,input:$.input}),children:[$.applicationId,".",$.input]},`${$.applicationId}:${$.objectId}:${$.input}`)})]},N.id)),b.diagnostics.length===0&&b.cycles.length===0&&_.jsx("p",{children:"No diagnostics."})]})}function FKn({graph:b,onClose:E,sendCommand:x,interactive:M}){const N=b.initialization.filter(k=>k.disposition==="unresolved"),$=new Map;for(const k of N){const H=`${k.applicationId}:${k.variable}`;$.set(H,[...$.get(H)||[],k])}return _.jsxs(Hue,{title:"Initialization",onClose:E,children:[[...$.entries()].map(([k,H])=>_.jsx(JKn,{rows:H,interactive:M,sendCommand:x},k)),N.length===0&&_.jsx("p",{children:"No unresolved initial values."})]})}function JKn({rows:b,interactive:E,sendCommand:x}){const[M,N]=Re.useState("float"),[$,k]=Re.useState(""),H=b[0],q={type:M,value:$};return _.jsxs("article",{className:"initialization-group",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:H.variable}),_.jsx("span",{children:H.applicationId})]}),_.jsxs("small",{children:[b.length," object",b.length===1?"":"s"," · expected ",H.expectedType]})]}),_.jsx("p",{children:"Required because the input has no producer, environment source, status value, or usable temporal initialization."}),E&&_.jsxs("div",{className:"initialization-value",children:[_.jsxs("label",{children:["Type",_.jsxs("select",{value:M,onChange:G=>N(G.target.value),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]})]}),_.jsxs("label",{children:["Value",_.jsx("input",{value:$,onChange:G=>k(G.target.value)})]}),_.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_statuses",objectIds:b.map(G=>G.objectId),variable:H.variable,value:q}),children:"Set all targets"})]}),_.jsx("div",{className:"initialization-object-list",children:b.map(G=>_.jsxs("div",{children:[_.jsxs("span",{children:["Object ",Oa(G.objectId)]}),_.jsx("code",{children:G.origin}),E&&_.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_status",objectId:G.objectId,variable:G.variable,value:q}),children:"Set this object"})]},Ab(G.objectId)))})]})}function HKn({code:b,onClose:E}){return _.jsx(Hue,{title:"Model code",onClose:E,children:_.jsx("pre",{className:"model-code",children:b||"Model code is available from an interactive editor session."})})}function ddn({mode:b,recentPaths:E,currentPath:x,autosavePath:M,onSubmit:N,onClose:$}){const[k,H]=Re.useState(x||"");return _.jsx(Hue,{title:b==="open"?"Open Model":"Save Model",onClose:$,children:_.jsxs("div",{className:"model-file-dialog",children:[_.jsx("p",{children:b==="open"?"Open a Julia script whose final binding is `model = CompositeModel(...)`. Future edits will be saved back to that file.":"After the first save, every successful graph edit automatically rewrites this Julia script."}),_.jsxs("label",{children:["Julia file path",_.jsxs("div",{className:"model-path-input",children:[_.jsx("input",{value:k,onChange:q=>H(q.target.value),placeholder:"/absolute/path/to/model.jl",autoFocus:!0}),_.jsx("button",{className:"primary",disabled:!k.trim(),onClick:()=>N(k.trim()),children:b==="open"?"Open":"Save"})]})]}),b==="open"&&E.length>0&&_.jsxs("section",{children:[_.jsx("strong",{children:"Recent models"}),_.jsx("div",{className:"recent-model-list",children:E.map(q=>_.jsxs("button",{onClick:()=>N(q),children:[_.jsx("span",{children:q.split("/").at(-1)}),_.jsx("small",{children:q})]},q))})]}),b==="open"&&M&&_.jsxs("section",{children:[_.jsx("strong",{children:"Recovery autosave"}),_.jsx("button",{className:"recovery-path",onClick:()=>N(M),children:M})]}),_.jsx("small",{children:"Use Git to version saved composite-model scripts and review scientific configuration changes."})]})})}function GKn({selection:b,initialization:E,onSubmit:x,onClose:M}){const N=E.filter(G=>G.applicationId===b.application.applicationId&&G.variable===b.port.name&&G.disposition!=="supplied"),[$,k]=Re.useState("float"),[H,q]=Re.useState("");return _.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:_.jsxs("section",{className:"overlay-panel cycle-break-dialog",onMouseDown:G=>G.stopPropagation(),"data-testid":"cycle-break-dialog",children:[_.jsxs("header",{children:[_.jsxs("div",{children:[_.jsx("strong",{children:"Break the current-step cycle"}),_.jsxs("span",{children:[b.application.applicationId,".",b.port.name]})]}),_.jsx("button",{onClick:M,children:_.jsx(qg,{size:17})})]}),_.jsxs("div",{className:"overlay-content",children:[_.jsx("p",{children:"This changes the application input to read its value from the previous accepted timestep. The model is disconnected from the current value during each run step."}),_.jsxs("div",{className:"cycle-impact",children:[_.jsx("strong",{children:"Application-wide change"}),_.jsxs("span",{children:["It affects all ",b.application.targetCount," targets selected by this application."]})]}),N.length>0&&_.jsxs("fieldset",{children:[_.jsx("legend",{children:"Required initial value"}),_.jsxs("p",{children:[N.length," target",N.length===1?"":"s"," need a value before the first timestep."]}),_.jsxs("div",{className:"form-grid",children:[_.jsxs("label",{children:["Value type",_.jsxs("select",{value:$,onChange:G=>k(G.target.value),children:[_.jsx("option",{value:"float",children:"Float"}),_.jsx("option",{value:"integer",children:"Integer"}),_.jsx("option",{value:"boolean",children:"Boolean"}),_.jsx("option",{value:"symbol",children:"Symbol"}),_.jsx("option",{value:"string",children:"String"}),_.jsx("option",{value:"julia",children:"Julia expression"})]})]}),_.jsxs("label",{children:["Initial value",_.jsx("input",{value:H,onChange:G=>q(G.target.value),autoFocus:!0})]})]})]})]}),_.jsxs("footer",{children:[_.jsx("button",{onClick:M,children:"Cancel"}),_.jsxs("button",{className:"primary",disabled:N.length>0&&!H.trim(),onClick:()=>x(N.length>0,N.length>0?{type:$,value:H}:null),"data-testid":"confirm-cycle-break",children:[_.jsx(ibn,{size:15})," Use previous timestep"]})]})]})})}function Hue({title:b,onClose:E,children:x}){return _.jsx("div",{className:"overlay-backdrop",onMouseDown:E,children:_.jsxs("section",{className:"overlay-panel",onMouseDown:M=>M.stopPropagation(),children:[_.jsxs("header",{children:[_.jsx("strong",{children:b}),_.jsx("button",{onClick:E,children:_.jsx(qg,{size:17})})]}),_.jsx("div",{className:"overlay-content",children:x})]})})}function qKn(b){return"applicationId"in b?b.applicationId:"objectId"in b?Oa(b.objectId):"objectIds"in b?b.name:"entity"in b?"Composite model":"provider"in b?b.provider:"name"in b?b.name:b.kind.replaceAll("_"," ")}function UKn(b){return b.split(".").at(-1)||b}function XKn(b){const E={selectors:[]};return b.targetInstances.length===0&&b.targetScales.length===1&&(E.scale=b.targetScales[0]),b.targetKinds.length===1&&(E.kind=b.targetKinds[0]),b.targetSpecies.length===1&&(E.species=b.targetSpecies[0]),{type:b.targetCount===1?"One":"Many",multiplicity:b.targetCount===1?"one":"many",criteria:E,julia:""}}function tke(b,E,x){return`application:${b}:${E}:${x}`}function ike(){const b=document.getElementById("pse-model-graph-data");if(!b?.textContent)return odn;try{return JSON.parse(b.textContent)}catch{return odn}}function KKn(){const b=document.getElementById("pse-editor-config");if(!b?.textContent)return null;try{return JSON.parse(b.textContent)}catch{return null}}class VKn extends Re.Component{state={error:null};static getDerivedStateFromError(E){return{error:E}}componentDidCatch(E,x){console.error("PlantSimEngine model graph frontend failed",E,x)}render(){return this.state.error?_.jsxs("main",{className:"frontend-error","data-testid":"frontend-error",children:[_.jsx(vke,{size:28}),_.jsx("h1",{children:"The graph view could not be rendered"}),_.jsx("p",{children:this.state.error.message}),_.jsxs("button",{onClick:()=>window.location.reload(),children:[_.jsx(FXn,{size:15})," Reload graph"]})]}):this.props.children}}mzn.createRoot(document.getElementById("root")).render(_.jsx(Re.StrictMode,{children:_.jsx(VKn,{children:_.jsx(CKn,{})})})); +... Falling back to non-web worker version.`);if(!Ne.workerFactory){var on=x("./elk-worker.min.js"),An=on.Worker;Ne.workerFactory=function(xn){return new An(xn)}}return q(this,Pe,[Ne])}return se(Pe,me),k(Pe)})(ne);Object.defineProperty(M.exports,"__esModule",{value:!0}),M.exports=Se,Se.default=Se},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(x,M,N){var $=typeof Worker<"u"?Worker:void 0;M.exports=$},{}]},{},[3])(3)})})(Z7e)),Z7e.exports}var gKn=bKn();const wKn=yke(gKn);function obn(b){if(b.detailMode==="overview")return 190;const j=Math.max(b.applicationId.length,b.modelName.length,...b.inputs.map(x=>x.name.length),...b.outputs.map(x=>x.name.length));return Math.max(310,Math.min(540,235+j*7))}const pKn=new wKn;async function mKn(b,j,x){const M={id:"root",layoutOptions:vKn(x),children:b.map(k=>({id:k.id,width:yKn(k.data),height:kKn(k.data),ports:k.data.nodeKind==="application"?[...sbn(k.data).map((J,q)=>sue(J.id,"WEST",q)),...lbn(k.data).map((J,q)=>sue(J.id,"EAST",q))]:[...(k.data.inputPortIds??[]).map((J,q)=>sue(J,"WEST",q)),...(k.data.outputPortIds??[]).map((J,q)=>sue(J,"EAST",q))],layoutOptions:{"org.eclipse.elk.portConstraints":"FIXED_ORDER"}})),edges:j.map(k=>({id:k.id,sources:[k.sourceHandle??k.source],targets:[k.targetHandle??k.target]}))},N=await pKn.layout(M),$=new Map((N.children??[]).map(k=>[k.id,{x:k.x??0,y:k.y??0}]));return b.map(k=>({...k,position:$.get(k.id)??k.position}))}function vKn(b){return{"elk.algorithm":b==="topology"?"mrtree":"layered","elk.direction":b==="topology"?"DOWN":"RIGHT","elk.spacing.nodeNode":b==="overview"?"24":b==="compact"?"32":"56","elk.layered.spacing.nodeNodeBetweenLayers":b==="overview"?"48":b==="compact"?"60":"110","elk.layered.nodePlacement.strategy":"BRANDES_KOEPF","elk.layered.crossingMinimization.semiInteractive":"true","elk.edgeRouting":"ORTHOGONAL"}}function sue(b,j,x){return{id:b,width:9,height:9,layoutOptions:{"org.eclipse.elk.port.side":j,"org.eclipse.elk.port.index":String(x)}}}function yKn(b){return b.nodeKind==="application"?obn(b):240}function kKn(b){if(b.nodeKind!=="application")return 112;if(b.detailMode==="overview")return 108;const j=Math.max(b.inputs.length,b.outputs.length),x=Math.max(b.environmentInputs.length,b.environmentOutputs.length);return Math.max(178,142+j*27+(x>0?32+x*27:0))}function sbn(b){return[...b.inputs,...b.environmentInputs]}function lbn(b){return[...b.outputs,...b.environmentOutputs]}function jKn({data:b,selected:j}){const x=b.detailMode==="overview",M=new Set(b.requiredInputPortIds),N=new Set(b.candidatePortIds),$=new Set(b.previousTimeStepPortIds),k=new Set(b.cycleBreakInputPortIds),J=xKn(b);return I.jsxs("section",{className:`model-node application-node ${x?"overview-node":""} ${b.cyclic?"cyclic":""} ${j?"selected":""}`,"data-testid":`application-node-${b.applicationId}`,style:{width:obn(b)},children:[x&&I.jsx(SKn,{inputs:sbn(b),outputs:lbn(b)}),I.jsxs("header",{className:"node-header",children:[I.jsxs("div",{children:[I.jsx("div",{className:"process",children:b.name||b.applicationId}),I.jsx("div",{className:"model-type",children:b.modelName})]}),I.jsx(ibn,{size:18})]}),x?I.jsxs("div",{className:"overview-node-summary",children:[I.jsxs("span",{children:[b.targetCount," targets"]}),I.jsxs("span",{children:[b.inputs.length," in"]}),I.jsxs("span",{children:[b.outputs.length," out"]})]}):I.jsxs(I.Fragment,{children:[I.jsxs("div",{className:"node-meta",children:[I.jsxs("span",{className:"meta-chip",title:b.selector.julia,children:[I.jsx(DXn,{size:13})," ",J]}),I.jsxs("span",{className:"meta-chip",title:b.cadence.julia,children:[I.jsx(PXn,{size:13})," ",AKn(b)]})]}),I.jsxs("div",{className:"target-summary",children:[I.jsx("strong",{children:b.targetCount})," concrete target",b.targetCount===1?"":"s"]}),I.jsxs("div",{className:"ports-grid",children:[I.jsx(lue,{title:"Inputs",side:"input",ports:b.inputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:b.cycleBreakMode,application:b,onCandidateClick:b.onCandidateClick,onPortClick:b.onPortClick,onCycleBreak:b.onCycleBreak}),I.jsx(lue,{title:"Outputs",side:"output",ports:b.outputs,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:b.cycleBreakMode,application:b,onCandidateClick:b.onCandidateClick,onPortClick:b.onPortClick,onCycleBreak:b.onCycleBreak})]}),(b.environmentInputs.length>0||b.environmentOutputs.length>0)&&I.jsxs("div",{className:"ports-grid environment-ports",children:[I.jsx(lue,{title:"Environment inputs",side:"input",ports:b.environmentInputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:b,onPortClick:b.onPortClick}),I.jsx(lue,{title:"Environment outputs",side:"output",ports:b.environmentOutputs,required:M,candidates:new Set,previous:new Set,cycleBreaks:new Set,cycleBreakMode:!1,application:b,onPortClick:b.onPortClick})]})]})]})}function EKn({data:b,selected:j}){return I.jsxs("section",{className:`entity-node ${b.nodeKind} ${j?"selected":""}`,"data-testid":`${b.nodeKind}-node`,children:[(b.inputPortIds?.length?b.inputPortIds:[void 0]).map((x,M)=>I.jsx(wy,{id:x,type:"target",position:ur.Left,style:{top:`${Nue(M,b.inputPortIds?.length??1)}%`}},x??"target")),I.jsxs("header",{children:[I.jsx("strong",{children:b.title}),I.jsx("span",{children:b.subtitle})]}),I.jsx("div",{className:"badges",children:b.badges.map(x=>I.jsx("span",{className:"meta-chip",children:x},x))}),(b.outputPortIds?.length?b.outputPortIds:[void 0]).map((x,M)=>I.jsx(wy,{id:x,type:"source",position:ur.Right,style:{top:`${Nue(M,b.outputPortIds?.length??1)}%`}},x??"source"))]})}function lue({title:b,side:j,ports:x,required:M,candidates:N,previous:$,cycleBreaks:k,cycleBreakMode:J,application:q,onCandidateClick:G,onPortClick:Z,onCycleBreak:Q}){return I.jsxs("div",{className:`port-column ${j}`,children:[I.jsx("div",{className:"port-title",children:b}),x.map(ee=>I.jsxs("div",{className:`port ${M.has(ee.id)?"required-input":""} ${$.has(ee.id)?"previous":""}`,"data-testid":`port-${j}-${ee.name}`,title:`${ee.name}: ${ee.expectedType}${ee.storage==="distributed"?" · stored on destination objects":""}${ee.declaration==="required"?ee.storage==="distributed"?" · requires existing storage":" · requires a value or producer":` · initial ${ee.defaultJulia??"nothing"}`}`,onClick:se=>{se.stopPropagation(),Z?.(ee)},children:[j==="input"&&I.jsx(wy,{id:ee.id,type:"target",position:ur.Left}),I.jsxs("span",{children:[ee.name,ee.storage==="distributed"?" ↗":""]}),N.has(ee.id)&&I.jsx("button",{className:"port-candidate-button nodrag nopan",type:"button",title:j==="input"?"Models that compute this variable":"Models that consume this variable","aria-label":j==="input"?`Models that compute ${ee.name}`:`Models that consume ${ee.name}`,onClick:se=>{se.stopPropagation();const ce=se.currentTarget.getBoundingClientRect();G?.(ee,{x:ce.right,y:ce.top+ce.height/2})},children:I.jsx(ck,{size:11})}),j==="input"&&J&&k.has(ee.id)&&I.jsx("button",{className:"cycle-port-break nodrag nopan",type:"button",title:`Read ${ee.name} from the previous accepted timestep`,"aria-label":`Break cycle at ${q.applicationId}.${ee.name}`,"data-testid":`cycle-break-${q.applicationId}-${ee.name}`,onClick:se=>{se.stopPropagation(),Q?.(q,ee)},children:I.jsx(rbn,{size:12})}),$.has(ee.id)&&I.jsx("small",{className:"previous-label",children:"t-1"}),j==="output"&&I.jsx(wy,{id:ee.id,type:"source",position:ur.Right})]},ee.id))]})}function SKn({inputs:b,outputs:j}){return I.jsxs(I.Fragment,{children:[b.map((x,M)=>I.jsx(wy,{id:x.id,type:"target",position:ur.Left,style:{top:`${Nue(M,b.length)}%`}},x.id)),j.map((x,M)=>I.jsx(wy,{id:x.id,type:"source",position:ur.Right,style:{top:`${Nue(M,j.length)}%`}},x.id))]})}function Nue(b,j){return j<=1?52:28+b/(j-1)*48}function xKn(b){const j=[...b.targetInstances,...b.targetScales,...b.targetKinds];return j.length>0?j.slice(0,2).join(" / "):b.selector.type}function AKn(b){return b.cadence.mode==="default"?"default rate":b.cadence.mode==="period"?`${b.cadence.value} ${b.cadence.unit}`:b.cadence.julia}function MKn({id:b,sourceX:j,sourceY:x,targetX:M,targetY:N,sourcePosition:$=ur.Right,targetPosition:k=ur.Left,markerEnd:J,style:q,data:G}){const[Z,Q,ee]=Cue({sourceX:j,sourceY:x,targetX:M,targetY:N,sourcePosition:$,targetPosition:k,borderRadius:14,offset:24}),se=CKn(G);return I.jsxs(I.Fragment,{children:[I.jsx(uq,{id:b,path:Z,markerEnd:J,style:q,interactionWidth:18}),se&&I.jsx(ZUn,{children:I.jsx("div",{className:`edge-chip ${G?.kind??""} ${G?.cycle?"cycle":""}`,style:{transform:`translate(-50%, -50%) translate(${Q}px, ${ee-12}px)`},children:se})})]})}function CKn(b){return b?b.kind==="manual_call"?b.call||"call":b.kind==="initializer"?b.call||"initializer":b.kind==="object_topology"||b.kind==="application_target"?"":b.sourceVariable&&b.targetVariable?b.sourceVariable===b.targetVariable?b.sourceVariable:`${b.sourceVariable} → ${b.targetVariable}`:b.kind.replaceAll("_"," "):""}const eke=zke("source","degree_days","ToyDegreeDaysCumulModel",[],["TT_cu"]),fue=zke("lai","lai_dynamic","ToyLAIModel",["TT_cu"],["LAI"]),nke=zke("light","light_interception","Beer",["LAI"],["aPPFD"]),sdn={schemaVersion:2,level:"applications",metadata:{title:"PlantSimEngine Model Graph",modelRevision:0,objectCount:1,instanceCount:0,applicationCount:3,executionCount:3,bindingCount:2,callCount:0,unresolvedInitializationCount:1,cyclic:!1,strictlyCompiled:!0,sceneEnvironmentId:null},objects:[{id:"object:plant",objectId:"plant",scale:"Plant",kind:"plant",species:null,name:"plant",instance:null,parent:null,children:[],hasGeometry:!1,hasStatus:!0}],templates:[],instances:[],applications:[eke,fue,nke],executions:[eke,fue,nke].map(b=>({id:`execution:${b.applicationId}:plant`,applicationId:b.applicationId,applicationNodeId:b.id,objectId:"plant",objectNodeId:"object:plant",modelType:b.modelType,modelParameters:{},overridden:!1})),edges:[fdn(eke,"TT_cu",fue,"TT_cu"),fdn(fue,"LAI",nke,"LAI")],modelLibrary:[],environments:[],initialization:[{applicationId:"source",objectId:"plant",variable:"TT",role:"input",disposition:"unresolved",value:"-Inf",valueJulia:"-Inf",expectedType:"Float64",declaredType:"Float64",originalType:null,transformedType:null,effectiveType:null,statusTransformApplied:!1,statusTransformChanged:!1,typeMappingApplied:!1,typeMappingChanged:!1,typeMappingRule:null,sourceApplicationIds:[],sourceObjectIds:[],sourceVariable:null,origin:"missing",previousTimeStep:!1}],diagnostics:[],cycles:[],availableActions:["inspect"]};function zke(b,j,x,M,N){return{id:`application:${b}`,applicationId:b,owner:{scope:"global",applicationId:b,instance:null,templateId:null},name:b,process:j,modelType:x,modelName:x,module:"PlantSimEngine.Examples",package:"PlantSimEngine",modelParameters:{},selector:{type:"One",multiplicity:"one",criteria:{scale:"Plant"},julia:"One(scale=:Plant)"},targetIds:["plant"],targetCount:1,targetScales:["Plant"],targetKinds:["plant"],targetSpecies:[],targetInstances:[],cadence:{mode:"default",value:null,unit:null,julia:"nothing"},clock:null,inputs:M.map($=>ldn(b,"input",$)),outputs:N.map($=>ldn(b,"output",$)),environmentInputs:[],environmentOutputs:[],inputBindings:{},callBindings:{},environment:null,environmentBindings:{},environmentWindow:{mode:"default",value:null,unit:null,julia:"nothing"},outputRouting:{},outputsTo:[],updates:[],modelStorage:"shared_application",objectOverrides:[]}}function ldn(b,j,x){return{id:`application:${b}:${j}:${x}`,name:x,role:j,storage:"local",default:"-Inf",defaultJulia:"-Inf",expectedType:"Float64"}}function fdn(b,j,x,M){return{id:`binding:${b.applicationId}:${j}:${x.applicationId}:${M}`,source:b.id,target:x.id,sourcePort:`application:${b.applicationId}:output:${j}`,targetPort:`application:${x.applicationId}:input:${M}`,sourceVariable:j,targetVariable:M,sourceApplicationId:b.applicationId,targetApplicationId:x.applicationId,kind:"inferred_same_object",cycle:!1,projection:"applications"}}const TKn={application:jKn,entity:EKn},OKn={modelEdge:MKn};function NKn(){const[b,j]=Re.useState(ike),[x,M]=Re.useState(()=>ike().level),[N,$]=Re.useState(()=>ike().metadata.applicationCount>24?"overview":"detail"),[k,J]=Re.useState(""),[q,G]=Re.useState(null),[Z,Q]=Re.useState(null),[ee,se]=Re.useState(null),[ce,ne]=Re.useState(null),[Se,me]=Re.useState(!1),[Pe,ae]=Re.useState(!1),[Ne,Ue]=Re.useState(!1),[ln,on]=Re.useState(!1),[An,xn]=Re.useState(!1),[tt,mn]=Re.useState(""),[vn,Y]=Re.useState(null),[Fe,wn]=Re.useState(null),[Ae,Ge]=Re.useState([]),[fn,$e]=Re.useState(null),[Mn,ge]=Re.useState(!1),[tn,Hn]=Re.useState(!1),[ut,Jt]=Re.useState(!1),[di,Gt]=Re.useState(null),[At,si]=Re.useState(null),[Kr,Er]=Re.useState(null),[Dt,bi]=Re.useState(!1),[zi,cu]=Re.useState(null),[Fu,Rs]=Re.useState(!1),[ra,nf]=Re.useState(null),[Ia,Cc]=Re.useState(null),[l0,Cb]=Re.useState(null),[xl,od]=Re.useState(null),[f0,sh]=Re.useState(null),[sd,my]=Re.useState(!1),[a0,Np]=Re.useState(null),[h6,Tb,ca]=eXn([]),[ld,xf,d6]=nXn([]),lh=Re.useMemo(QKn,[]),Ip=Re.useMemo(()=>new Map(b.applications.map(vt=>[vt.applicationId,vt])),[b.applications]),Xg=Re.useMemo(()=>new Set(b.initialization.filter(vt=>vt.role==="input"&&vt.disposition==="unresolved").map(vt=>tke(vt.applicationId,"input",vt.variable))),[b.initialization]),Kg=Re.useMemo(()=>new Set(b.initialization.filter(vt=>vt.role==="input"&&vt.previousTimeStep).map(vt=>tke(vt.applicationId,"input",vt.variable))),[b.initialization]),Vg=Re.useMemo(()=>new Set(b.cycles.flatMap(vt=>vt.applicationIds)),[b.cycles]),fd=Re.useMemo(()=>new Set(b.cycles.flatMap(vt=>vt.breakCandidates.map(kc=>tke(kc.applicationId,"input",kc.input)))),[b.cycles]),Yg=Re.useMemo(()=>$Kn(b),[b]),Ob=Re.useMemo(()=>ce?RKn(b.modelLibrary,ce.port):[],[ce,b.modelLibrary]),vy=Re.useMemo(()=>ce?zKn(b.applications,ce):[],[ce,b.applications]),Dp=Re.useMemo(()=>{const vt=new Map;for(const kc of b.applications)for(const tc of[...kc.inputs,...kc.outputs])vt.set(tc.id,{application:kc,port:tc});return vt},[b.applications]),_p=Re.useMemo(()=>Z?new Set(Z.objectIds.map(Ab)):null,[Z]);Re.useEffect(()=>{if(!lh?.websocketUrl)return;const vt=new WebSocket(lh.websocketUrl);return $e(vt),vt.addEventListener("open",()=>{ge(!0),Gt(null)}),vt.addEventListener("close",()=>{ge(!1),Gt("Editor connection closed.")}),vt.addEventListener("message",kc=>{const tc=JSON.parse(kc.data);tc.graph&&j(tc.graph),typeof tc.modelCode=="string"&&mn(tc.modelCode),Y(tc.autosavePath??null),wn(tc.savePath??null),Ge(tc.recentPaths??[]),tc.selectorPreview&&sh(tc.selectorPreview),tc.targetPreview&&Er(tc.targetPreview),tc.instancePreview&&cu(tc.instancePreview),tc.ok===!1&&(sh(null),Er(null),cu(null)),Hn(!!tc.canUndo),Jt(!!tc.canRedo),Gt(tc.ok===!1?tc.diagnostics?.[0]||"The edit failed.":null)}),()=>vt.close()},[lh?.websocketUrl]),Re.useEffect(()=>{b.metadata.cyclic||(my(!1),Np(null))},[b.metadata.cyclic]);const uu=Re.useCallback(vt=>{if(!fn||fn.readyState!==WebSocket.OPEN){Gt("This action requires an interactive Julia editor session.");return}fn.send(JSON.stringify(vt))},[fn]),yy=Re.useCallback((vt,kc,tc)=>{G(vt),se(kc),ne({application:vt,port:kc,x:tc.x,y:tc.y})},[]);Re.useEffect(()=>{const vt=IKn({graph:b,view:x,detailMode:N,query:k,scopedObjectIds:_p,unresolvedPortIds:Xg,previousPortIds:Kg,candidatePortIds:Yg,cyclicApplications:Vg,cycleBreakPortIds:fd,cycleBreakMode:sd,openCandidates:yy,onPortClick:se,onCycleBreak:(h0,Zg)=>Np({application:h0,port:Zg})}),kc=new Set(vt.map(h0=>h0.id)),tc=DKn(b,x).filter(h0=>kc.has(h0.source)&&kc.has(h0.target));mKn(vt,tc,x==="topology"?"topology":N==="overview"?"overview":"data_flow").then(Tb),xf(tc)},[Yg,sd,fd,Vg,N,b,yy,Kg,k,_p,xf,Tb,Xg,x]);const Qg=Re.useCallback((vt,kc)=>{if(kc.data.nodeKind==="application")G(Ip.get(kc.data.applicationId)??null);else if(G(kc.data.detail),kc.data.nodeKind==="object"){const tc=kc.data.detail;Q({label:`subtree ${tc.name||Oa(tc.objectId)}`,objectIds:LKn(b.objects,tc.objectId)})}else if(kc.data.nodeKind==="instance"){const tc=kc.data.detail;Q({label:`instance ${tc.name}`,objectIds:tc.objectIds})}else kc.data.nodeKind==="model"&&Q(null);se(null)},[Ip,b.objects]),ov=Re.useCallback(vt=>{ce&&(Er(null),si({mode:"add",initialModelType:vt.type,suggestedSelector:YKn(ce.application)}),Mn||Gt(`${vt.name} matches ${ce.port.name}. Start an interactive Julia editor session to add it to the composite model.`),ne(null))},[ce,Mn]),ky=Re.useCallback(vt=>{if(!Mn){Gt("Adding or updating an application requires an interactive Julia editor session."),si(null);return}uu({action:"edit",kind:vt.applicationRef?"update_application":"add_application",...vt}),si(null)},[Mn,uu]),Wg=Re.useCallback(vt=>{if(!Mn){Gt("Adding a template instance requires an interactive Julia editor session.");return}uu({action:"edit",kind:"add_instance",...vt}),bi(!1),cu(null)},[Mn,uu]),sv=Re.useCallback(vt=>{if(!Mn){Gt("Creating a binding requires an interactive Julia editor session."),od(null);return}uu({action:"edit",kind:"set_input_binding",...vt}),od(null)},[Mn,uu]),jy=Re.useCallback(vt=>{if(!Mn){Gt("Adding or updating an object requires an interactive Julia editor session."),nf(null);return}uu({action:"edit",kind:ra?.mode==="update"?"update_object":"add_object",objectId:vt.objectId,configuration:vt.configuration}),nf(null)},[Mn,ra?.mode,uu]),Ey=Re.useCallback(vt=>{if(!Mn){Gt("Creating an override requires an interactive Julia editor session."),Cc(null);return}uu({action:"edit",kind:vt.scope==="instance"?"set_instance_override":"set_object_override",...vt}),Cc(null)},[Mn,uu]),w1=Re.useCallback(vt=>{if(!Mn){Gt("Removing an override requires an interactive Julia editor session.");return}uu({action:"edit",kind:vt.scope==="instance"?"remove_instance_override":"remove_object_override",...vt}),Cc(null)},[Mn,uu]),Zs=Re.useCallback(vt=>{if(!vt.sourceHandle||!vt.targetHandle)return;const kc=Dp.get(vt.sourceHandle),tc=Dp.get(vt.targetHandle);if(!kc||!tc||kc.port.role!=="output"||tc.port.role!=="input"){Gt("Connect an application output to an application input.");return}od({sourceApplication:kc.application,sourcePort:kc.port,targetApplication:tc.application,targetPort:tc.port}),sh(null)},[Dp]),Af=Re.useMemo(()=>{if(!q)return b.initialization;if("applicationId"in q)return b.initialization.filter(vt=>vt.applicationId===q.applicationId);if("objectId"in q)return b.initialization.filter(vt=>Ab(vt.objectId)===Ab(q.objectId));if("objectIds"in q){const vt=new Set(q.objectIds.map(Ab));return b.initialization.filter(kc=>vt.has(Ab(kc.objectId)))}return b.initialization},[b.initialization,q]);return I.jsxs("main",{className:"model-editor-shell","data-testid":"model-graph-viewer",children:[I.jsxs("header",{className:"model-toolbar",children:[I.jsxs("div",{className:"model-brand",children:[I.jsx("span",{className:"brand-mark"}),I.jsxs("div",{children:[I.jsx("small",{children:"PLANTSIMENGINE"}),I.jsx("strong",{children:"Model Graph"})]})]}),I.jsxs("div",{className:"model-search",children:[I.jsx(GXn,{size:17}),I.jsx("input",{value:k,onChange:vt=>J(vt.target.value),placeholder:"Search application, object, or variable"}),k&&I.jsx("button",{"aria-label":"Clear search",onClick:()=>J(""),children:I.jsx(qg,{size:15})})]}),I.jsxs("div",{className:"model-counts",children:[I.jsxs("span",{children:[b.metadata.applicationCount," applications"]}),I.jsxs("span",{children:[b.metadata.objectCount," objects"]}),b.metadata.unresolvedInitializationCount>0&&I.jsxs("button",{className:"count-warning",onClick:()=>ae(!0),children:[I.jsx(LXn,{size:14})," ",b.metadata.unresolvedInitializationCount," init"]}),b.diagnostics.length>0&&I.jsxs("button",{className:"count-error",onClick:()=>me(!0),children:[I.jsx(vke,{size:14})," ",b.diagnostics.length]})]}),I.jsxs("nav",{className:"view-tabs","aria-label":"Graph projection",children:[I.jsxs("button",{className:x==="applications"?"active":"",onClick:()=>M("applications"),children:[I.jsx(ibn,{size:15})," Applications"]}),I.jsxs("button",{className:x==="topology"?"active":"",onClick:()=>M("topology"),children:[I.jsx(BXn,{size:15})," Objects"]}),I.jsxs("button",{className:x==="resolved"?"active":"",onClick:()=>M("resolved"),children:[I.jsx(zXn,{size:15})," Executions"]})]}),I.jsxs("div",{className:"model-actions",children:[lh&&I.jsxs("button",{"data-testid":"open-model",onClick:()=>on(!0),children:[I.jsx(RXn,{size:15})," Open"]}),lh&&I.jsxs("button",{"data-testid":"save-model",onClick:()=>xn(!0),children:[I.jsx(HXn,{size:15})," ",Fe?"Saved":"Save"]}),x!=="topology"&&I.jsx("button",{className:N==="overview"?"overview-cta":"",onClick:()=>$(vt=>vt==="overview"?"detail":"overview"),children:N==="overview"?"Overview Mode - Show Detailed View":"Show Overview"}),lh&&I.jsxs("button",{"data-testid":"add-application",onClick:()=>{Er(null),si({mode:"add"})},children:[I.jsx(ck,{size:15})," Add application"]}),lh&&I.jsxs("button",{"data-testid":"add-object",onClick:()=>nf({mode:"add"}),children:[I.jsx(ck,{size:15})," Add object"]}),lh&&b.templates.length>0&&I.jsxs("button",{"data-testid":"add-instance",onClick:()=>{cu(null),bi(!0)},children:[I.jsx(ck,{size:15})," Add instance"]}),lh&&I.jsx("button",{"data-testid":"configure-environment",onClick:()=>Rs(!0),children:"Environment"}),lh&&I.jsx("button",{disabled:!tn,onClick:()=>uu({action:"undo"}),"aria-label":"Undo",children:I.jsx(qXn,{size:15})}),lh&&I.jsx("button",{disabled:!ut,onClick:()=>uu({action:"redo"}),"aria-label":"Redo",children:I.jsx(FXn,{size:15})}),I.jsxs("button",{onClick:()=>Ue(!0),children:[I.jsx($Xn,{size:15})," Model code"]})]})]}),b.metadata.cyclic&&I.jsxs("section",{className:"cycle-callout","data-testid":"cycle-callout",children:[I.jsx(vke,{size:19}),I.jsxs("div",{children:[I.jsx("strong",{children:"Current-step dependency cycle"}),I.jsx("span",{children:"Select a cycle input to read its previous accepted timestep value."})]}),I.jsx("button",{className:sd?"active":"",onClick:()=>{M("applications"),$("detail"),my(vt=>!vt)},"data-testid":"choose-cycle-break",children:sd?"Cancel break selection":"Choose a break point in graph"})]}),di&&I.jsxs("div",{className:"editor-feedback",children:[di,I.jsx("button",{onClick:()=>Gt(null),children:I.jsx(qg,{size:14})})]}),Z&&I.jsxs("section",{className:"graph-scope-filter","data-testid":"graph-scope-filter",children:[I.jsxs("span",{children:["Showing ",x==="resolved"?"executions":x==="applications"?"applications":"topology"," for ",I.jsx("strong",{children:Z.label})," (",Z.objectIds.length," objects)"]}),x==="topology"&&I.jsx("button",{onClick:()=>M("applications"),children:"Show related applications"}),I.jsxs("button",{"aria-label":"Clear graph scope",onClick:()=>Q(null),children:[I.jsx(qg,{size:14})," Clear"]})]}),I.jsxs("section",{className:"model-workspace",children:[I.jsx("div",{className:"flow-wrap",children:I.jsxs(QUn,{nodes:h6,edges:ld,nodeTypes:TKn,edgeTypes:OKn,onNodesChange:ca,onEdgesChange:d6,onConnect:Zs,onNodeClick:Qg,onEdgeClick:(vt,kc)=>G(kc.data??null),fitView:!0,minZoom:.05,maxZoom:2,children:[I.jsx(uXn,{color:"#d8cdbc",gap:22,size:1}),I.jsx(dXn,{}),I.jsx(AXn,{pannable:!0,zoomable:!0})]})}),I.jsx(JKn,{selection:q,port:ee,initialization:Af,interactive:Mn,onEditApplication:vt=>{Er(null),si({mode:"update",application:vt})},onRemoveApplication:vt=>uu({action:"edit",kind:"remove_application",applicationRef:vt.owner}),onConfigureApplication:vt=>Cb(vt.applicationId),onOverrideApplication:Cc,onRemoveInstance:vt=>uu({action:"edit",kind:"remove_instance",name:vt.name}),onEditObject:vt=>nf({mode:"update",object:vt}),onRemoveObject:vt=>uu({action:"edit",kind:"remove_object",objectId:vt.objectId,recursive:!0})})]}),ce&&(Ob.length>0||vy.length>0)&&I.jsx(BKn,{candidate:ce,models:Ob,applications:vy,onSelectModel:ov,onSelectApplication:vt=>{od(FKn(ce,vt)),sh(null),ne(null)},onClose:()=>ne(null)}),Se&&I.jsx(HKn,{graph:b,onClose:()=>me(!1),sendCommand:uu,interactive:Mn}),Pe&&I.jsx(GKn,{graph:b,onClose:()=>ae(!1),sendCommand:uu,interactive:Mn}),Ne&&I.jsx(UKn,{code:tt,onClose:()=>Ue(!1)}),ln&&I.jsx(bdn,{mode:"open",recentPaths:Ae,currentPath:Fe,autosavePath:vn,onSubmit:vt=>{uu({action:"open_model_code",path:vt}),on(!1)},onClose:()=>on(!1)}),An&&I.jsx(bdn,{mode:"save",recentPaths:Ae,currentPath:Fe,autosavePath:vn,onSubmit:vt=>{uu({action:"save_model_code",path:vt}),xn(!1)},onClose:()=>xn(!1)}),At&&I.jsx(UXn,{mode:At.mode,models:b.modelLibrary,objects:b.objects,application:At.application,initialModelType:At.initialModelType,suggestedSelector:At.suggestedSelector,nameReadOnly:At.application?.owner.scope==="template",preview:Kr,onPreview:vt=>{Er(null),uu({action:"preview_application_targets",selector:vt,applicationRef:At.application?.owner})},onSubmit:ky,onClose:()=>{si(null),Er(null)}}),xl&&I.jsx(iKn,{endpoints:xl,objects:b.objects,preview:f0,onPreview:vt=>{sh(null),uu({action:"preview_input_binding",...vt})},onSubmit:sv,onClose:()=>{od(null),sh(null)}}),ra&&I.jsx(hKn,{mode:ra.mode,objects:b.objects,object:ra.object,onSubmit:jy,onClose:()=>nf(null)}),Dt&&I.jsx(fKn,{templates:b.templates,instances:b.instances,objects:b.objects,preview:zi,onPreview:vt=>{cu(null),uu({action:"preview_instance",...vt})},onSubmit:Wg,onClose:()=>{bi(!1),cu(null)}}),Fu&&I.jsx(lKn,{environments:b.environments,activeId:b.metadata.sceneEnvironmentId,onSubmit:vt=>{uu({action:"edit",kind:"set_model_environment",environmentId:vt}),Rs(!1)},onClose:()=>Rs(!1)}),Ia&&I.jsx(dKn,{application:Ia,models:b.modelLibrary,instances:b.instances,onSubmit:Ey,onRemove:w1,onClose:()=>Cc(null)}),l0&&Ip.get(l0)&&I.jsx(ZXn,{application:Ip.get(l0),applications:b.applications,environments:b.environments,models:b.modelLibrary,onCommand:uu,onClose:()=>Cb(null)}),a0&&I.jsx(XKn,{selection:a0,initialization:b.initialization,onSubmit:(vt,kc)=>{uu({action:"edit",kind:"break_cycle",applicationRef:a0.application.owner,input:a0.port.name,initializeMissing:vt,initialValue:kc}),Np(null)},onClose:()=>Np(null)})]})}function IKn({graph:b,view:j,detailMode:x,query:M,scopedObjectIds:N,unresolvedPortIds:$,previousPortIds:k,candidatePortIds:J,cyclicApplications:q,cycleBreakPortIds:G,cycleBreakMode:Z,openCandidates:Q,onPortClick:ee,onCycleBreak:se}){const ce=Se=>!M||JSON.stringify(Se).toLowerCase().includes(M.toLowerCase());if(j==="topology"){const Se={entity:"model",objectCount:b.metadata.objectCount,instanceCount:b.metadata.instanceCount,applicationCount:b.metadata.applicationCount},me={id:"model:root",type:"entity",position:{x:0,y:0},data:{nodeKind:"model",title:b.metadata.title||"Composite model",subtitle:"model root",badges:[`${b.metadata.instanceCount} instances`,`${b.metadata.objectCount} objects`],detail:Se}},Pe=b.templates.filter(ce).map(Ue=>({id:`template:${Ue.id}`,type:"entity",position:{x:0,y:0},data:{nodeKind:"template",title:Ue.name,subtitle:Ue.source==="catalog"?"template preset":"model-local template",badges:[`${Ue.applications.length} applications`,`${Ue.mountedInstances.length} mounts`],detail:Ue}})),ae=b.instances.filter(ce).map(Ue=>({id:Ue.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"instance",title:Ue.name,subtitle:[Ue.kind,Ue.species].filter(Boolean).join(" · ")||"object instance",badges:[`${Ue.objectIds.length} objects`,`${Ue.applicationIds.length} applications`,`${Ue.instanceOverrides.length+Ue.objectOverrides.length} overrides`],detail:Ue}})),Ne=b.objects.filter(ce).map(Ue=>({id:Ue.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"object",title:Ue.name||Oa(Ue.objectId),subtitle:[Ue.kind,Ue.scale,Ue.instance].filter(Boolean).join(" · "),badges:[Ue.species,Ue.hasStatus?"status":null,Ue.hasGeometry?"geometry":null].filter(Boolean),detail:Ue}}));return[me,...Pe,...ae,...Ne]}if(j==="resolved"){const Se=new Map(b.applications.map(Pe=>[Pe.applicationId,Pe]));return[...b.executions.filter(Pe=>!N||N.has(Ab(Pe.objectId))).filter(ce).map(Pe=>{const ae=Se.get(Pe.applicationId);return{id:Pe.id,type:"entity",position:{x:0,y:0},data:{nodeKind:"execution",title:Pe.applicationId,subtitle:`object ${Oa(Pe.objectId)}`,badges:[VKn(Pe.modelType),Pe.overridden?"override":"shared"],inputPortIds:[...ae?.inputs??[],...ae?.environmentInputs??[]].map(Ne=>Ne.id),outputPortIds:[...ae?.outputs??[],...ae?.environmentOutputs??[]].map(Ne=>Ne.id),detail:Pe}}}),...adn(b,"resolved")]}return[...b.applications.filter(Se=>!N||Se.targetIds.some(me=>N.has(Ab(me)))).filter(ce).map(Se=>({id:Se.id,type:"application",position:{x:0,y:0},data:{...Se,nodeKind:"application",detailMode:x,cyclic:q.has(Se.applicationId),requiredInputPortIds:Se.inputs.filter(me=>$.has(me.id)).map(me=>me.id),candidatePortIds:[...Se.inputs,...Se.outputs].filter(me=>J.has(me.id)).map(me=>me.id),previousTimeStepPortIds:Se.inputs.filter(me=>k.has(me.id)).map(me=>me.id),cycleBreakInputPortIds:Se.inputs.filter(me=>G.has(me.id)).map(me=>me.id),cycleBreakMode:Z,onCandidateClick:(me,Pe)=>Q(Se,me,Pe),onPortClick:ee,onCycleBreak:se}})),...adn(b,"applications")]}function adn(b,j){const x=b.edges.filter(N=>N.kind==="environment_binding"&&N.projection===j);return[...new Set(x.flatMap(N=>[N.source,N.target]).filter(N=>N.startsWith("environment:")))].map(N=>{const $=N.slice(12),k=b.environments.find(G=>G.id===N),J=hdn(x.filter(G=>G.target===N).map(G=>G.targetPort).filter(Boolean)),q=hdn(x.filter(G=>G.source===N).map(G=>G.sourcePort).filter(Boolean));return{id:N,type:"entity",position:{x:0,y:0},data:{nodeKind:"environment",title:k?.name||$,subtitle:k?.active?"active scene environment":"environment backend",badges:[`${q.length} inputs`,`${J.length} outputs`],inputPortIds:J,outputPortIds:q,detail:k||{provider:$}}}})}function hdn(b){return[...new Set(b)]}function DKn(b,j){return(j==="topology"?[...b.edges,..._Kn(b)]:b.edges).filter(M=>PKn(M,j)).map(M=>({id:M.id,source:M.source,target:M.target,sourceHandle:M.sourcePort||void 0,targetHandle:M.targetPort||void 0,type:"modelEdge",data:M,markerEnd:{type:VG.ArrowClosed,color:ddn(M),width:16,height:16},style:{stroke:ddn(M),strokeWidth:M.cycle?4:["manual_call","initializer"].includes(M.kind)?2.5:1.8,strokeDasharray:M.kind==="previous_timestep"?"7 5":M.kind==="manual_call"?"3 4":M.kind==="initializer"?"8 3":void 0}}))}function _Kn(b){const j=[],x=new Set(b.instances.flatMap(M=>M.objectIds.map(Ab)));for(const M of b.templates)j.push({id:`topology:model:template:${M.id}`,source:"model:root",target:`template:${M.id}`,kind:"object_topology",projection:"topology",cycle:!1});for(const M of b.instances){const N=b.objects.find($=>Ab($.objectId)===Ab(M.rootId));N&&j.push({id:`topology:${M.id}:${N.id}`,source:M.id,target:N.id,kind:"object_topology",projection:"topology",cycle:!1})}for(const M of b.objects)M.parent===null&&!x.has(Ab(M.objectId))&&j.push({id:`topology:model:${M.id}`,source:"model:root",target:M.id,kind:"object_topology",projection:"topology",cycle:!1});return j}function LKn(b,j){const x=new Map,M=new Map(b.map(J=>[J.id,J]));for(const J of b){if(J.parent===null)continue;const q=M.get(String(J.parent));if(!q)continue;const G=Ab(q.objectId);x.set(G,[...x.get(G)??[],J.objectId])}const N=[],$=[j],k=new Set;for(;$.length>0;){const J=$.pop(),q=Ab(J);k.has(q)||(k.add(q),N.push(J),$.push(...x.get(q)??[]))}return N}function Ab(b){return Ws(b)}function PKn(b,j){const x=b.projection;return j==="topology"?b.kind==="object_topology"||b.kind==="template_mount":j==="resolved"?x==="resolved":x==="applications"||!x&&!["object_topology","application_target"].includes(b.kind)}function ddn(b){return b.cycle?"#cf4937":b.kind==="previous_timestep"?"#317b62":b.kind==="manual_call"?"#be6a54":b.kind==="initializer"?"#7768ae":b.kind==="object_topology"?"#7b7167":b.kind==="environment_binding"?"#367b8b":"#a59687"}function $Kn(b){const j=new Set;for(const x of b.applications){for(const M of x.inputs)(b.applications.some($=>$.applicationId!==x.applicationId&&$.outputs.some(k=>k.name===M.name))||b.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.outputs,M.name)))&&j.add(M.id);for(const M of x.outputs)(b.applications.some($=>$.applicationId!==x.applicationId&&$.inputs.some(k=>k.name===M.name))||b.modelLibrary.some($=>Object.prototype.hasOwnProperty.call($.inputs,M.name)))&&j.add(M.id)}return j}function RKn(b,j){const x=j.role==="input"?"outputs":"inputs";return b.filter(M=>Object.prototype.hasOwnProperty.call(M[x],j.name)).sort((M,N)=>`${M.package}.${M.name}`.localeCompare(`${N.package}.${N.name}`))}function BKn({candidate:b,models:j,applications:x,onSelectModel:M,onSelectApplication:N,onClose:$}){const k=b.port.role==="input"?`Models that compute ${b.port.name}`:`Models that consume ${b.port.name}`;return I.jsxs("section",{className:"candidate-popover",style:{left:Math.min(b.x+8,window.innerWidth-390),top:Math.min(b.y-20,window.innerHeight-480)},children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:k}),I.jsx("span",{children:"Exact declared variable-name matches"})]}),I.jsx("button",{onClick:$,children:I.jsx(qg,{size:15})})]}),I.jsxs("div",{className:"candidate-list",children:[x.length>0&&I.jsx("div",{className:"candidate-section-label",children:"Existing applications"}),x.map(J=>I.jsxs("button",{className:"candidate-card existing",onClick:()=>N(J),children:[I.jsx("strong",{children:J.name||J.applicationId}),I.jsx("span",{children:J.modelName}),I.jsxs("small",{children:[J.targetCount," target",J.targetCount===1?"":"s"]}),I.jsx("div",{children:"Connect without adding another application"})]},J.applicationId)),j.length>0&&I.jsx("div",{className:"candidate-section-label",children:"Available models"}),j.map(J=>I.jsxs("button",{className:"candidate-card",onClick:()=>M(J),children:[I.jsx("strong",{children:J.name}),I.jsx("span",{children:J.process}),I.jsx("small",{children:J.package||J.module}),I.jsxs("div",{children:[Object.keys(J.inputs).length," inputs · ",Object.keys(J.outputs).length," outputs"]})]},J.type))]})]})}function zKn(b,j){return b.filter(x=>x.applicationId!==j.application.applicationId).filter(x=>(j.port.role==="input"?x.outputs:x.inputs).some(N=>N.name===j.port.name)).sort((x,M)=>x.applicationId.localeCompare(M.applicationId))}function FKn(b,j){if(b.port.role==="input"){const M=j.outputs.find(N=>N.name===b.port.name);if(!M)throw new Error(`Application ${j.applicationId} does not output ${b.port.name}.`);return{sourceApplication:j,sourcePort:M,targetApplication:b.application,targetPort:b.port}}const x=j.inputs.find(M=>M.name===b.port.name);if(!x)throw new Error(`Application ${j.applicationId} does not input ${b.port.name}.`);return{sourceApplication:b.application,sourcePort:b.port,targetApplication:j,targetPort:x}}function JKn({selection:b,port:j,initialization:x,interactive:M,onEditApplication:N,onConfigureApplication:$,onRemoveApplication:k,onOverrideApplication:J,onRemoveInstance:q,onEditObject:G,onRemoveObject:Z}){const Q=b&&"applicationId"in b&&"selector"in b?b:null,ee=b&&"objectId"in b&&!("applicationId"in b)?b:null,se=b&&"templateId"in b&&"objectIds"in b?b:null;return I.jsxs("aside",{className:"model-inspector",children:[I.jsxs("header",{children:[I.jsx("strong",{children:"Inspector"}),b&&I.jsx("span",{children:KKn(b)})]}),!b&&I.jsxs("div",{className:"empty-inspector",children:[I.jsx(_Xn,{size:28}),I.jsx("p",{children:"Select an application, object, execution, or relationship."})]}),b&&I.jsx("pre",{children:JSON.stringify(b,null,2)}),Q&&M&&I.jsxs("div",{className:"inspector-actions",children:[I.jsx("button",{onClick:()=>N(Q),children:Q.owner.scope==="template"?"Edit shared template":"Edit application"}),I.jsx("button",{"data-testid":"configure-application",onClick:()=>$(Q),children:"Configure coupling"}),Q.owner.scope==="template"&&I.jsx("button",{onClick:()=>J(Q),children:"Create override"}),I.jsx("button",{className:"danger",onClick:()=>k(Q),children:Q.owner.scope==="template"?"Remove from shared template":"Remove application"})]}),se&&M&&I.jsxs("div",{className:"inspector-actions",children:[I.jsx("button",{className:"danger",onClick:()=>q(se),children:"Unmount instance"}),I.jsx("small",{children:"The object subtree is retained."})]}),ee&&M&&I.jsxs("div",{className:"inspector-actions",children:[I.jsx("button",{onClick:()=>G(ee),children:"Edit object"}),I.jsx("button",{className:"danger",onClick:()=>Z(ee),children:"Remove object and descendants"})]}),j&&I.jsxs("section",{children:[I.jsx("h4",{children:"Selected variable"}),I.jsx("code",{children:j.name}),I.jsx("p",{children:j.expectedType}),j.storage==="distributed"&&I.jsxs("p",{children:["Written on destination objects. ",j.declaration==="required"?"Compatible storage must already exist.":"The model provides an initial value."]})]}),b&&x.length>0&&I.jsxs("section",{className:"inspector-initialization",children:[I.jsx("h4",{children:"Initialization"}),x.slice(0,8).map(ce=>I.jsxs("div",{children:[I.jsx("code",{children:ce.variable}),I.jsx("span",{className:ce.disposition==="unresolved"?"unresolved":"",children:ce.disposition})]},`${ce.applicationId}:${ce.objectId}:${ce.variable}`))]})]})}function HKn({graph:b,onClose:j,sendCommand:x,interactive:M}){return I.jsxs(Hue,{title:"Diagnostics and cycles",onClose:j,children:[b.diagnostics.map(N=>I.jsxs("article",{className:"diagnostic-card",children:[I.jsx("strong",{children:N.code}),I.jsx("p",{children:N.message}),N.suggestions.map($=>I.jsx("small",{children:$},$))]},`${N.code}:${N.message}`)),b.cycles.map(N=>I.jsxs("article",{className:"cycle-card",children:[I.jsx("strong",{children:N.applicationIds.join(" → ")}),I.jsx("p",{children:"Choose an input to read from the previous timestep."}),N.breakCandidates.map($=>{const k=b.applications.find(J=>J.applicationId===$.applicationId)?.owner;return I.jsxs("button",{disabled:!M||!k,onClick:()=>k&&x({action:"edit",kind:"mark_previous_timestep",applicationRef:k,input:$.input}),children:[$.applicationId,".",$.input]},`${$.applicationId}:${$.objectId}:${$.input}`)})]},N.id)),b.diagnostics.length===0&&b.cycles.length===0&&I.jsx("p",{children:"No diagnostics."})]})}function GKn({graph:b,onClose:j,sendCommand:x,interactive:M}){const N=b.initialization.filter(k=>k.disposition==="unresolved"),$=new Map;for(const k of N){const J=`${k.applicationId}:${k.variable}`;$.set(J,[...$.get(J)||[],k])}return I.jsxs(Hue,{title:"Initialization",onClose:j,children:[[...$.entries()].map(([k,J])=>I.jsx(qKn,{rows:J,interactive:M,sendCommand:x},k)),N.length===0&&I.jsx("p",{children:"No unresolved initial values."})]})}function qKn({rows:b,interactive:j,sendCommand:x}){const[M,N]=Re.useState("float"),[$,k]=Re.useState(""),J=b[0],q={type:M,value:$};return I.jsxs("article",{className:"initialization-group",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:J.variable}),I.jsx("span",{children:J.applicationId})]}),I.jsxs("small",{children:[b.length," object",b.length===1?"":"s"," · expected ",J.expectedType]})]}),I.jsx("p",{children:"Required because the input has no producer, environment source, status value, or usable temporal initialization."}),j&&I.jsxs("div",{className:"initialization-value",children:[I.jsxs("label",{children:["Type",I.jsxs("select",{value:M,onChange:G=>N(G.target.value),children:[I.jsx("option",{value:"float",children:"Float"}),I.jsx("option",{value:"integer",children:"Integer"}),I.jsx("option",{value:"boolean",children:"Boolean"}),I.jsx("option",{value:"symbol",children:"Symbol"}),I.jsx("option",{value:"string",children:"String"}),I.jsx("option",{value:"julia",children:"Julia expression"})]})]}),I.jsxs("label",{children:["Value",I.jsx("input",{value:$,onChange:G=>k(G.target.value)})]}),I.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_statuses",objectIds:b.map(G=>G.objectId),variable:J.variable,value:q}),children:"Set all targets"})]}),I.jsx("div",{className:"initialization-object-list",children:b.map(G=>I.jsxs("div",{children:[I.jsxs("span",{children:["Object ",Oa(G.objectId)]}),I.jsx("code",{children:G.origin}),j&&I.jsx("button",{disabled:!$.trim(),onClick:()=>x({action:"edit",kind:"set_object_status",objectId:G.objectId,variable:G.variable,value:q}),children:"Set this object"})]},Ab(G.objectId)))})]})}function UKn({code:b,onClose:j}){return I.jsx(Hue,{title:"Model code",onClose:j,children:I.jsx("pre",{className:"model-code",children:b||"Model code is available from an interactive editor session."})})}function bdn({mode:b,recentPaths:j,currentPath:x,autosavePath:M,onSubmit:N,onClose:$}){const[k,J]=Re.useState(x||"");return I.jsx(Hue,{title:b==="open"?"Open Model":"Save Model",onClose:$,children:I.jsxs("div",{className:"model-file-dialog",children:[I.jsx("p",{children:b==="open"?"Open a Julia script whose final binding is `model = CompositeModel(...)`. Future edits will be saved back to that file.":"After the first save, every successful graph edit automatically rewrites this Julia script."}),I.jsxs("label",{children:["Julia file path",I.jsxs("div",{className:"model-path-input",children:[I.jsx("input",{value:k,onChange:q=>J(q.target.value),placeholder:"/absolute/path/to/model.jl",autoFocus:!0}),I.jsx("button",{className:"primary",disabled:!k.trim(),onClick:()=>N(k.trim()),children:b==="open"?"Open":"Save"})]})]}),b==="open"&&j.length>0&&I.jsxs("section",{children:[I.jsx("strong",{children:"Recent models"}),I.jsx("div",{className:"recent-model-list",children:j.map(q=>I.jsxs("button",{onClick:()=>N(q),children:[I.jsx("span",{children:q.split("/").at(-1)}),I.jsx("small",{children:q})]},q))})]}),b==="open"&&M&&I.jsxs("section",{children:[I.jsx("strong",{children:"Recovery autosave"}),I.jsx("button",{className:"recovery-path",onClick:()=>N(M),children:M})]}),I.jsx("small",{children:"Use Git to version saved composite-model scripts and review scientific configuration changes."})]})})}function XKn({selection:b,initialization:j,onSubmit:x,onClose:M}){const N=j.filter(G=>G.applicationId===b.application.applicationId&&G.variable===b.port.name&&G.disposition!=="supplied"),[$,k]=Re.useState("float"),[J,q]=Re.useState("");return I.jsx("div",{className:"overlay-backdrop",onMouseDown:M,children:I.jsxs("section",{className:"overlay-panel cycle-break-dialog",onMouseDown:G=>G.stopPropagation(),"data-testid":"cycle-break-dialog",children:[I.jsxs("header",{children:[I.jsxs("div",{children:[I.jsx("strong",{children:"Break the current-step cycle"}),I.jsxs("span",{children:[b.application.applicationId,".",b.port.name]})]}),I.jsx("button",{onClick:M,children:I.jsx(qg,{size:17})})]}),I.jsxs("div",{className:"overlay-content",children:[I.jsx("p",{children:"This changes the application input to read its value from the previous accepted timestep. The model is disconnected from the current value during each run step."}),I.jsxs("div",{className:"cycle-impact",children:[I.jsx("strong",{children:"Application-wide change"}),I.jsxs("span",{children:["It affects all ",b.application.targetCount," targets selected by this application."]})]}),N.length>0&&I.jsxs("fieldset",{children:[I.jsx("legend",{children:"Required initial value"}),I.jsxs("p",{children:[N.length," target",N.length===1?"":"s"," need a value before the first timestep."]}),I.jsxs("div",{className:"form-grid",children:[I.jsxs("label",{children:["Value type",I.jsxs("select",{value:$,onChange:G=>k(G.target.value),children:[I.jsx("option",{value:"float",children:"Float"}),I.jsx("option",{value:"integer",children:"Integer"}),I.jsx("option",{value:"boolean",children:"Boolean"}),I.jsx("option",{value:"symbol",children:"Symbol"}),I.jsx("option",{value:"string",children:"String"}),I.jsx("option",{value:"julia",children:"Julia expression"})]})]}),I.jsxs("label",{children:["Initial value",I.jsx("input",{value:J,onChange:G=>q(G.target.value),autoFocus:!0})]})]})]})]}),I.jsxs("footer",{children:[I.jsx("button",{onClick:M,children:"Cancel"}),I.jsxs("button",{className:"primary",disabled:N.length>0&&!J.trim(),onClick:()=>x(N.length>0,N.length>0?{type:$,value:J}:null),"data-testid":"confirm-cycle-break",children:[I.jsx(rbn,{size:15})," Use previous timestep"]})]})]})})}function Hue({title:b,onClose:j,children:x}){return I.jsx("div",{className:"overlay-backdrop",onMouseDown:j,children:I.jsxs("section",{className:"overlay-panel",onMouseDown:M=>M.stopPropagation(),children:[I.jsxs("header",{children:[I.jsx("strong",{children:b}),I.jsx("button",{onClick:j,children:I.jsx(qg,{size:17})})]}),I.jsx("div",{className:"overlay-content",children:x})]})})}function KKn(b){return"applicationId"in b?b.applicationId:"objectId"in b?Oa(b.objectId):"objectIds"in b?b.name:"entity"in b?"Composite model":"provider"in b?b.provider:"name"in b?b.name:b.kind.replaceAll("_"," ")}function VKn(b){return b.split(".").at(-1)||b}function YKn(b){const j={selectors:[]};return b.targetInstances.length===0&&b.targetScales.length===1&&(j.scale=b.targetScales[0]),b.targetKinds.length===1&&(j.kind=b.targetKinds[0]),b.targetSpecies.length===1&&(j.species=b.targetSpecies[0]),{type:b.targetCount===1?"One":"Many",multiplicity:b.targetCount===1?"one":"many",criteria:j,julia:""}}function tke(b,j,x){return`application:${b}:${j}:${x}`}function ike(){const b=document.getElementById("pse-model-graph-data");if(!b?.textContent)return sdn;try{return JSON.parse(b.textContent)}catch{return sdn}}function QKn(){const b=document.getElementById("pse-editor-config");if(!b?.textContent)return null;try{return JSON.parse(b.textContent)}catch{return null}}class WKn extends Re.Component{state={error:null};static getDerivedStateFromError(j){return{error:j}}componentDidCatch(j,x){console.error("PlantSimEngine model graph frontend failed",j,x)}render(){return this.state.error?I.jsxs("main",{className:"frontend-error","data-testid":"frontend-error",children:[I.jsx(vke,{size:28}),I.jsx("h1",{children:"The graph view could not be rendered"}),I.jsx("p",{children:this.state.error.message}),I.jsxs("button",{onClick:()=>window.location.reload(),children:[I.jsx(JXn,{size:15})," Reload graph"]})]}):this.props.children}}vzn.createRoot(document.getElementById("root")).render(I.jsx(Re.StrictMode,{children:I.jsx(WKn,{children:I.jsx(NKn,{})})})); diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 3f790974b..2bb0eb4b6 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -4,7 +4,7 @@ PlantSimEngine Dependency Graph - + diff --git a/frontend/src/App.test.ts b/frontend/src/App.test.ts index 661ae3ddf..05472c00c 100644 --- a/frontend/src/App.test.ts +++ b/frontend/src/App.test.ts @@ -2,8 +2,8 @@ import { describe, expect, it } from "vitest"; import { applicationPortId, applicationsForPort, deriveCandidatePortIds, endpointsForCandidate, modelsForPort, objectSubtreeIds, selectorSuggestion } from "./App"; import type { ApplicationGraphNode, GraphPort, ModelDescriptor, ObjectGraphNode, ModelGraphView } from "./types"; -const output: GraphPort = { id: applicationPortId("source", "output", "signal"), name: "signal", role: "output", default: 0, defaultJulia: "0", expectedType: "Int" }; -const input: GraphPort = { id: applicationPortId("consumer", "input", "signal"), name: "signal", role: "input", default: 0, defaultJulia: "0", expectedType: "Int" }; +const output: GraphPort = { id: applicationPortId("source", "output", "signal"), name: "signal", role: "output", storage: "local", default: 0, defaultJulia: "0", expectedType: "Int" }; +const input: GraphPort = { id: applicationPortId("consumer", "input", "signal"), name: "signal", role: "input", storage: "local", default: 0, defaultJulia: "0", expectedType: "Int" }; const source = application("source", [], [output], ["leaf"]); const consumer = application("consumer", [input], [], ["leaf"]); @@ -64,7 +64,7 @@ function application(id: string, inputs: GraphPort[], outputs: GraphPort[], targ id: `application:${id}`, applicationId: id, owner: { scope: "global", applicationId: id, instance: null, templateId: null }, name: id, process: id, modelType: id, modelName: id, module: "Main", package: null, modelParameters: {}, selector: { type: "One", multiplicity: "one", criteria: { selectors: [], scale: "Leaf" }, julia: "" }, targetIds, targetCount: targetIds.length, targetScales: ["Leaf"], targetKinds: [], targetSpecies: [], targetInstances: [], cadence: { mode: "default", value: null, unit: null, julia: "nothing" }, clock: null, - inputs, outputs, environmentInputs: [], environmentOutputs: [], inputBindings: {}, callBindings: {}, environment: null, environmentBindings: {}, environmentWindow: { mode: "default", value: null, unit: null, julia: "nothing" }, outputRouting: {}, updates: [], modelStorage: "shared_application", objectOverrides: [], + inputs, outputs, environmentInputs: [], environmentOutputs: [], inputBindings: {}, callBindings: {}, environment: null, environmentBindings: {}, environmentWindow: { mode: "default", value: null, unit: null, julia: "nothing" }, outputRouting: {}, outputsTo: [], updates: [], modelStorage: "shared_application", objectOverrides: [], }; } diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index fe8982a7c..477018a71 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -930,7 +930,7 @@ function Inspector({ selection, port, initialization, interactive, onEditApplica {application && interactive &&
{application.owner.scope === "template" && }
} {instance && interactive &&
The object subtree is retained.
} {object && interactive &&
} - {port &&

Selected variable

{port.name}

{port.expectedType}

} + {port &&

Selected variable

{port.name}

{port.expectedType}

{port.storage === "distributed" &&

Written on destination objects. {port.declaration === "required" ? "Compatible storage must already exist." : "The model provides an initial value."}

}
} {selection && initialization.length > 0 && (

Initialization

{initialization.slice(0, 8).map((row) =>
{row.variable}{row.disposition}
)}
)} diff --git a/frontend/src/ApplicationConfigurationForm.tsx b/frontend/src/ApplicationConfigurationForm.tsx index f22f87b88..6dfcab16e 100644 --- a/frontend/src/ApplicationConfigurationForm.tsx +++ b/frontend/src/ApplicationConfigurationForm.tsx @@ -1,6 +1,7 @@ import { useMemo, useState } from "react"; import { Check, Plus, Trash2, X } from "lucide-react"; import type { ApplicationGraphNode, ApplicationOwner, CallMode, EnvironmentDescriptor, ModelDescriptor, SelectorDescriptor } from "./types"; +import { OutputDestinationsFields } from "./OutputDestinationsFields"; type UpdateRule = { variables: string[]; after: string[] }; export type ExtraEntry = { key: string; type: string; value: string }; @@ -118,6 +119,8 @@ export function ApplicationConfigurationForm({
Effective bindings{JSON.stringify(application.environmentBindings || {}, null, 2)}{application.environmentWindow !== null && application.environmentWindow !== undefined ? {JSON.stringify(application.environmentWindow)} : null}
+ +
Output routing
{application.outputs.map((output) => )}
diff --git a/frontend/src/ModelNode.tsx b/frontend/src/ModelNode.tsx index 0f40d00cd..6faebbcd1 100644 --- a/frontend/src/ModelNode.tsx +++ b/frontend/src/ModelNode.tsx @@ -165,14 +165,14 @@ function PortColumn({ className={`port ${required.has(port.id) ? "required-input" : ""} ${previous.has(port.id) ? "previous" : ""}`} key={port.id} data-testid={`port-${side}-${port.name}`} - title={`${port.name}: ${port.defaultJulia}`} + title={`${port.name}: ${port.expectedType}${port.storage === "distributed" ? " · stored on destination objects" : ""}${port.declaration === "required" ? (port.storage === "distributed" ? " · requires existing storage" : " · requires a value or producer") : ` · initial ${port.defaultJulia ?? "nothing"}`}`} onClick={(event) => { event.stopPropagation(); onPortClick?.(port); }} > {side === "input" && } - {port.name} + {port.name}{port.storage === "distributed" ? " ↗" : ""} {candidates.has(port.id) && ( + ; + })} + {error &&

{error}

} +
+ ; +} diff --git a/frontend/src/layout.test.ts b/frontend/src/layout.test.ts index a927fc792..65c46f164 100644 --- a/frontend/src/layout.test.ts +++ b/frontend/src/layout.test.ts @@ -25,6 +25,7 @@ function port(role: GraphPort["role"], name: string): GraphPort { id: `application:test:${role}:${name}`, name, role, + storage: role.startsWith("environment_") ? "environment" : "local", default: null, defaultJulia: "nothing", expectedType: "Any", diff --git a/frontend/src/sampleModelGraph.ts b/frontend/src/sampleModelGraph.ts index 0f2260fba..6e4f55f30 100644 --- a/frontend/src/sampleModelGraph.ts +++ b/frontend/src/sampleModelGraph.ts @@ -89,6 +89,7 @@ function application(applicationId: string, process: string, modelName: string, environmentBindings: {}, environmentWindow: { mode: "default", value: null, unit: null, julia: "nothing" }, outputRouting: {}, + outputsTo: [], updates: [], modelStorage: "shared_application", objectOverrides: [], @@ -96,7 +97,7 @@ function application(applicationId: string, process: string, modelName: string, } function port(applicationId: string, role: "input" | "output", name: string): GraphPort { - return { id: `application:${applicationId}:${role}:${name}`, name, role, default: "-Inf", defaultJulia: "-Inf", expectedType: "Float64" }; + return { id: `application:${applicationId}:${role}:${name}`, name, role, storage: "local", default: "-Inf", defaultJulia: "-Inf", expectedType: "Float64" }; } function edge(sourceApplication: ApplicationGraphNode, sourceVariable: string, targetApplication: ApplicationGraphNode, targetVariable: string): ModelGraphEdge { diff --git a/frontend/src/types.ts b/frontend/src/types.ts index 754e0e383..c53696901 100644 --- a/frontend/src/types.ts +++ b/frontend/src/types.ts @@ -4,9 +4,11 @@ export type GraphPort = { id: string; name: string; role: GraphPortRole; + storage: "local" | "distributed" | "environment"; default: unknown; - defaultJulia: string; + defaultJulia: string | null; expectedType: string; + declaration?: "initial" | "required" | "defaulted"; }; export type SelectorDescriptor = { @@ -18,6 +20,14 @@ export type SelectorDescriptor = { export type CallMode = "manual" | "initializer"; +export type OutputDestinationDescriptor = { + selector: SelectorDescriptor; + vars: string[] | null; + resolvedVars: string[] | null; + origin: "inferred" | "explicit"; + coverage: "exact"; +}; + export type CallBindingDescriptor = SelectorDescriptor & { mode: CallMode; }; @@ -84,6 +94,7 @@ export type ApplicationGraphNode = { environmentBindings: Record; environmentWindow: PeriodDescriptor; outputRouting: Record; + outputsTo: OutputDestinationDescriptor[]; updates: Array<{ variables: string[]; after: string[] }>; modelStorage: "shared_application" | "per_object_override"; objectOverrides: Array>; diff --git a/skills/plantsimengine/SKILL.md b/skills/plantsimengine/SKILL.md index efeb0a74c..de7edde36 100644 --- a/skills/plantsimengine/SKILL.md +++ b/skills/plantsimengine/SKILL.md @@ -130,7 +130,10 @@ behavioral evidence. 3. Make the process-versus-hypothesis decision explicit. 4. Create the concrete model type and declare its fixed parameters. 5. Declare `inputs_`, `outputs_`, `environment_inputs_`, and - `environment_outputs_`. + `environment_outputs_`. Keep local output values raw; wrap outputs destined + for other objects as `Distributed(Default(value))` or + `Distributed(Required(T))`. Bind them with anonymous `OutputTo` entries and + request target views by variable tuple, never by destination group name. 6. Declare complete `variable_contracts_` beside the corresponding ports. 7. Add `dep`, hard calls, initializers, temporal/output traits, or environment hints only when they are intrinsic to the model. diff --git a/skills/plantsimengine/assets/lifecycle-output.jl b/skills/plantsimengine/assets/lifecycle-output.jl index d78060846..c0619954f 100644 --- a/skills/plantsimengine/assets/lifecycle-output.jl +++ b/skills/plantsimengine/assets/lifecycle-output.jl @@ -117,11 +117,15 @@ struct DistributeLeafSignal{T} <: AbstractPedagogical_Distributed_SignalModel end PlantSimEngine.inputs_(::DistributeLeafSignal) = NamedTuple() -PlantSimEngine.outputs_(::DistributeLeafSignal) = (assigned_count=0,) +PlantSimEngine.outputs_(model::DistributeLeafSignal) = ( + assigned_count=0, + incident_signal=Distributed(Default(zero(model.base))), +) PlantSimEngine.environment_inputs_(::DistributeLeafSignal) = NamedTuple() PlantSimEngine.environment_outputs_(::DistributeLeafSignal) = NamedTuple() PlantSimEngine.variable_contracts_(::DistributeLeafSignal) = ( assigned_count=COUNT_CONTRACT, + incident_signal=DISTRIBUTED_SIGNAL_CONTRACT, ) PlantSimEngine.Authoring.model_metadata(::DistributeLeafSignal) = ( hypothesis="A scene assigns one identity-keyed illustrative signal to every leaf.", @@ -143,7 +147,7 @@ function PlantSimEngine.run!( constants, context, ) - targets = output_targets(context, :leaves) + targets = output_targets(context, (:incident_signal,)) result_ids = reverse(collect(object_ids(targets))) values = [ model.base + convert(typeof(model.base), index) @@ -195,9 +199,9 @@ function distributed_output_scenario(::Type{T}=Float32) where {T<:Real} name=:distributed_signal, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_signal=Default(zero(T)),), + vars=(:incident_signal,), ), ), ), diff --git a/skills/plantsimengine/references/dynamic-models.md b/skills/plantsimengine/references/dynamic-models.md index 18887fff6..b606f497a 100644 --- a/skills/plantsimengine/references/dynamic-models.md +++ b/skills/plantsimengine/references/dynamic-models.md @@ -105,21 +105,22 @@ set of destination objects—for example, a scene radiation model assigning incident radiation to leaves. Do not use them as a substitute for ordinary consumer input bindings. -Declare destination groups on the application: +Declare the output schema in the model, then select destinations on the +application. This is a solver wrapper skeleton: complete status/environment +inputs and scientific contracts for the chosen calculation. ```julia +PlantSimEngine.outputs_(::SceneRadiation) = ( + incident_par=Distributed(Default(0.0)), + absorbed_par=Distributed(Required(Real)), +) + ModelSpec( SceneRadiation(); name=:scene_radiation, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( - Many(scale=:Leaf, within=SceneScope()); - vars=( - incident_par=Default(0.0), - absorbed_par=Required(Real), - ), - ), + OutputTo(Many(scale=:Leaf, within=SceneScope())), ), ) ``` @@ -127,7 +128,7 @@ ModelSpec( Inside `run!`, obtain the compiled target view and assign by object identity: ```julia -targets = output_targets(context, :leaves) +targets = output_targets(context, (:incident_par, :absorbed_par)) assign_outputs!( targets, object_ids_from_solver, @@ -138,12 +139,29 @@ assign_outputs!( ) ``` -Use `Default(value)` when the destination variable may be created with a real -default. Use `Required(T)` when every destination status must already own it. +Use `Distributed(Default(value))` when the destination variable may be created with a real +default. Use `Distributed(Required(T))` when every destination status must already own it. Destination selectors describe objects only; do not add producer `process`, `application`, `var`, temporal policy, or status-source criteria to an `OutputTo` selector. +With one `OutputTo`, omitted `vars` selects every distributed output. With +multiple entries, give explicit tuples such as `vars=(:incident_par,)` and +bind every distributed variable exactly once. Local outputs are not eligible. +A selector can include the execution object; it then owns the field as a +selected destination. Distributed outputs always write destination status and +cannot use `:stream_only` output routing. +Empty `Many` selections are valid; missing bindings and empty `vars=()` are +errors. A combined runtime view requires equal ordered object IDs, even when +its variables come from separate declarations. Request separate views when +the destinations differ, and call `output_targets` again after each lifecycle +change instead of retaining a view in the model. + +Declare all solver environment inputs explicitly. Distributed outputs write +object status; `environment_outputs_` and `commit_environment!` apply only to +accepted updates of environment backends. Selectors do not imply scientific +contracts or solver equations. + The identity-aware `assign_outputs!` form is preferable when an external solver returns rows in a different order. Do not assume that collection order has biological meaning. diff --git a/skills/plantsimengine/references/model-authoring.md b/skills/plantsimengine/references/model-authoring.md index 3ecf8a00e..6e39fe45c 100644 --- a/skills/plantsimengine/references/model-authoring.md +++ b/skills/plantsimengine/references/model-authoring.md @@ -90,8 +90,12 @@ Rules: - `inputs_` contains only `Required(T)` and scientifically meaningful `Default(value)` declarations. - `Required(T)` is a type requirement, not an initial value. -- `outputs_` provides actual initial values. Derive them from parameters when - that preserves the intended numeric type. +- `outputs_` provides raw local initial values and wraps destination outputs + as `Distributed(Default(value))` or `Distributed(Required(T))`. Derive + defaults from parameters when that preserves the intended numeric type. + `outputs(model)` lists both kinds without a scenario. The scenario selects + destinations with anonymous `OutputTo` entries; see + [distributed outputs](dynamic-models.md). - Environment schemas provide model-facing initial/default values. Read those variables from `environment`, not from `status`. - Use `NamedTuple()` for an empty schema. diff --git a/src/ModelSpec.jl b/src/ModelSpec.jl index 3b3063334..239297e10 100644 --- a/src/ModelSpec.jl +++ b/src/ModelSpec.jl @@ -1,6 +1,6 @@ """ ModelSpec(model; name=nothing, on=nothing, inputs=NamedTuple(), - calls=NamedTuple(), outputs_to=NamedTuple(), + calls=NamedTuple(), outputs_to=(), environment=nothing, every=nothing, environment_bindings=NamedTuple(), environment_window=nothing, output_routing=NamedTuple(), updates=()) @@ -49,33 +49,24 @@ struct ModelSpec{M,N,AT,IN,IO,CA,CO,OT,EV,TS,MB,MW,OR,UP} updates::UP end -function _normalize_output_to_variables(vars::NamedTuple) - isempty(vars) && error( - "`OutputTo(...; vars=...)` requires at least one destination variable." - ) - _has_only_input_declarations(values(vars)) && return vars - invalid = Pair{Symbol,Any}[ - Symbol(name) => declaration - for (name, declaration) in pairs(vars) - if !_is_input_declaration(declaration) - ] - isempty(invalid) || error( - "`OutputTo(...; vars=...)` must declare every destination variable with ", - "`Required(T)` or `Default(value)`. Invalid declaration(s): ", - join( - ["`$(name)=$(repr(declaration))`" for (name, declaration) in invalid], - ", ", - ), - ".", - ) +_normalize_output_to_variables(::Nothing) = nothing + +function _normalize_output_to_variables(vars::Tuple) + isempty(vars) && throw(ArgumentError("`OutputTo(...; vars=...)` requires at least one variable name.")) + all(name -> name isa Symbol, vars) || throw(ArgumentError( + "`OutputTo(...; vars=...)` requires a tuple of variable names as Symbols.", + )) + length(unique(vars)) == length(vars) || throw(ArgumentError( + "`OutputTo(...; vars=...)` contains duplicate variable names.", + )) return vars end function _normalize_output_to_variables(vars) - error( - "`OutputTo(...; vars=...)` requires a non-empty `NamedTuple` of ", - "`Required(T)` and `Default(value)` declarations; got `$(typeof(vars))`." - ) + throw(ArgumentError( + "`OutputTo(...; vars=...)` requires a non-empty tuple of variable names, " * + "or omit `vars` to infer all distributed outputs for a single destination; got `$(typeof(vars))`.", + )) end function _normalize_output_to_coverage(coverage) @@ -87,26 +78,23 @@ function _normalize_output_to_coverage(coverage) end """ - OutputTo(selector; vars, coverage=:exact) + OutputTo(selector; vars=nothing, coverage=:exact) -Declare status outputs computed by one model application and stored on other -objects selected by `selector`. +Bind distributed model outputs to objects selected by `selector`. -`vars` is a non-empty `NamedTuple` whose values are [`Required`](@ref) or -[`Default`](@ref) declarations. `coverage=:exact` requires the application to -publish every declared variable for every selected destination; no partial -coverage policy is currently supported. +Declare each variable in `outputs_` using [`Distributed`](@ref). `vars` lists +those names as a tuple. With a single `OutputTo`, omitted `vars` binds all +`Distributed` outputs. With multiple destinations, every entry must specify +`vars`. The compiler rejects missing, duplicate, unknown, and local-output +bindings before initializing destination status. + +`coverage=:exact` requires one result for every selected destination. # Example ```julia -OutputTo( - Many(scale=(:Leaf, :Internode), within=SceneScope()); - vars=( - incident_par=Default(0.0), - absorbed_par=Required(Float64), - ), -) +OutputTo(Many(scale=:Leaf, within=SceneScope())) +OutputTo(Many(scale=:Leaf, within=SceneScope()); vars=(:incident_par, :absorbed_par)) ``` """ struct OutputTo{S,V,C} @@ -114,7 +102,7 @@ struct OutputTo{S,V,C} vars::V coverage::C - function OutputTo(selector; vars, coverage=:exact) + function OutputTo(selector; vars=nothing, coverage=:exact) normalized_selector = _validate_selector_context(selector, :output_destination) normalized_vars = _normalize_output_to_variables(vars) normalized_coverage = _normalize_output_to_coverage(coverage) @@ -126,23 +114,64 @@ struct OutputTo{S,V,C} end end -function _normalize_outputs_to(outputs_to::NamedTuple) - for (name, destination) in pairs(outputs_to) - destination isa OutputTo || error( - "Unsupported output destination `$(name)=$(repr(destination))`. ", - "Every `ModelSpec(...; outputs_to=...)` entry must be an `OutputTo(...)` ", - "declaration." - ) - end - return outputs_to +function _normalize_outputs_to(destinations::Tuple) + all(destination -> destination isa OutputTo, destinations) || throw(ArgumentError( + "`outputs_to` requires a tuple of anonymous `OutputTo(...)` declarations.", + )) + return destinations end -function _normalize_outputs_to(outputs_to) - error( - "Unsupported `outputs_to` value `$(repr(outputs_to))` of type ", - "`$(typeof(outputs_to))`. Use a `NamedTuple` of named `OutputTo(...)` ", - "declarations." - ) +function _normalize_outputs_to(destinations) + throw(ArgumentError( + "`outputs_to` requires a tuple of anonymous `OutputTo(...)` declarations; " * + "got `$(typeof(destinations))`.", + )) +end + +function _resolved_output_destinations(spec::ModelSpec, effective_model=model_(spec)) + schema = _distributed_output_schema(effective_model) + destinations = spec.outputs_to + application = isnothing(spec.name) ? process(effective_model) : spec.name + context = "Application `$(application)`" + for name in keys(schema) + get(spec.output_routing, name, :canonical) === :stream_only && throw(ArgumentError( + "$(context) cannot route Distributed output `$(name)` as stream_only: " * + "output targets write destination status. Use canonical routing for this variable.", + )) + end + used = Set{Symbol}() + resolved = map(destinations) do destination + inferred = isnothing(destination.vars) + inferred && length(destinations) != 1 && throw(ArgumentError( + "$(context) has multiple OutputTo destinations; specify `vars` for every entry.", + )) + names = inferred ? keys(schema) : destination.vars + isempty(names) && throw(ArgumentError( + "$(context) has no Distributed outputs to infer for OutputTo.", + )) + for name in names + haskey(schema, name) || throw(ArgumentError( + "$(context) binds `$(name)` in OutputTo, but it is not declared as " * + "a Distributed output. Declared distributed outputs: `$(keys(schema))`.", + )) + name in used && throw(ArgumentError( + "$(context) binds distributed output `$(name)` more than once in outputs_to.", + )) + push!(used, name) + end + ( + selector=destination.selector, + vars=NamedTuple{names}(map(name -> schema[name], names)), + coverage=destination.coverage, + origin=inferred ? :inferred : :explicit, + ) + end + missing = Tuple(name for name in keys(schema) if !(name in used)) + isempty(missing) || throw(ArgumentError( + "$(context) declares Distributed output(s) `$(missing)` without an " * + "OutputTo binding in `outputs_to`.", + )) + return resolved end """ @@ -203,7 +232,7 @@ function ModelSpec( on=nothing, inputs=NamedTuple(), calls=NamedTuple(), - outputs_to=NamedTuple(), + outputs_to=(), environment=nothing, every=nothing, environment_bindings=NamedTuple(), @@ -235,7 +264,7 @@ function _build_model_spec( input_origins=nothing, calls=NamedTuple(), call_origins=nothing, - outputs_to=NamedTuple(), + outputs_to=(), environment=nothing, every=nothing, environment_bindings=NamedTuple(), @@ -470,13 +499,8 @@ environment_inputs_(m::ModelSpec) = environment_inputs_(model_(m)) environment_outputs_(m::ModelSpec) = environment_outputs_(model_(m)) variable_contracts_(m::ModelSpec) = variable_contracts_(model_(m)) -function _declared_contract_variable_names(spec::ModelSpec) - declared = _declared_contract_variable_names(model_(spec)) - for destination in values(spec.outputs_to) - union!(declared, Symbol.(keys(destination.vars))) - end - return declared -end +_declared_contract_variable_names(spec::ModelSpec) = + _declared_contract_variable_names(model_(spec)) function _validate_variable_contract_names(spec::ModelSpec, schema) declared = _declared_contract_variable_names(spec) @@ -488,8 +512,7 @@ function _validate_variable_contract_names(spec::ModelSpec, schema) spec, "declares unknown variable(s) `$(Tuple(unknown))`. Contract keys must " * "also appear in `inputs_`, `outputs_`, `environment_inputs_`, " * - "`environment_outputs_`, or this ModelSpec's distributed `outputs_to` " * - "variables.", + "`environment_outputs_`. Declare distributed outputs with `Distributed` in `outputs_`.", ) return schema end diff --git a/src/PlantSimEngine.jl b/src/PlantSimEngine.jl index a5112127f..b679c0e3b 100644 --- a/src/PlantSimEngine.jl +++ b/src/PlantSimEngine.jl @@ -31,6 +31,7 @@ include("variables_wrappers.jl") # Models: include("Abstract_model_structs.jl") include("input_schema.jl") +include("output_schema.jl") include("variable_contracts.jl") include("authoring_interface.jl") @@ -267,6 +268,7 @@ import ..PlantSimEngine: SetModelApplicationCadence, SetModelApplicationEnvironment, SetModelOutputRouting, + SetModelOutputDestinations, SetModelUpdateOrdering, MarkModelPreviousTimeStep, UnmarkModelPreviousTimeStep, @@ -304,7 +306,7 @@ export RenameModelApplication, SetModelApplicationTargets export SetModelInputBinding, RemoveModelInputBinding export SetModelCallBinding, RemoveModelCallBinding export SetModelApplicationCadence, SetModelApplicationEnvironment -export SetModelOutputRouting, SetModelUpdateOrdering +export SetModelOutputRouting, SetModelOutputDestinations, SetModelUpdateOrdering export MarkModelPreviousTimeStep, UnmarkModelPreviousTimeStep, BreakModelCycle export AddModelObject, RemoveModelObject, ReparentModelObject export SetModelObjectStatus, SetModelObjectStatuses, RemoveModelObjectStatus @@ -378,7 +380,7 @@ export ModelSpec, OutputTo, Updates export call_targets, call_model, run_call!, run_initializer!, commit_environment! export bound_input, output_targets, assign_outputs! export Status -export Required, Default +export Required, Default, Distributed export VariableContract, variable_contracts export @process, process export init_variables, dep diff --git a/src/authoring.jl b/src/authoring.jl index d25f8ae15..417463864 100644 --- a/src/authoring.jl +++ b/src/authoring.jl @@ -27,6 +27,7 @@ end struct ModelPortDescription name::Symbol role::Symbol + storage::Symbol declaration::Symbol expected_type::String initial_value::Any @@ -308,6 +309,7 @@ function _model_ports(model::AbstractModel) push!(ports, ModelPortDescription( name, :input, + :local, declaration isa Required ? :required : :defaulted, string(_input_expected_type(declaration)), initial_value, @@ -315,7 +317,7 @@ function _model_ports(model::AbstractModel) )) end for (role, declarations) in ( - :output => outputs_(model), + :output => _output_schema(model), :environment_input => environment_inputs_(model), :environment_output => environment_outputs_(model), ) @@ -323,13 +325,18 @@ function _model_ports(model::AbstractModel) "`$(role)_($(typeof(model)))` must return a NamedTuple; got " * "`$(typeof(declarations))`.", ) - for (name_, initial_value) in pairs(declarations) + for (name_, value) in pairs(declarations) name = Symbol(name_) + distributed = role == :output && value isa Distributed + declaration = distributed ? value.declaration : value + initial_value = distributed ? + (declaration isa Default ? declaration.value : nothing) : value push!(ports, ModelPortDescription( name, role, - :initial, - string(typeof(initial_value)), + distributed ? :distributed : role == :output ? :local : :environment, + distributed ? (declaration isa Required ? :required : :defaulted) : :initial, + string(distributed ? _output_value_type(value) : typeof(value)), initial_value, haskey(contracts, name) ? contracts[name] : nothing, )) @@ -537,7 +544,7 @@ function _push_schema_differences!( )) end for name in sort!(collect(intersect(left_set, right_set)); by=string) - isequal(left[name], right[name]) && continue + isequal(_model_declaration_semantics(left[name]), _model_declaration_semantics(right[name])) && continue push!(differences, ModelDifference( string(field, ".", name), :changed, @@ -746,7 +753,7 @@ function validate_model(model::AbstractModel; strict::Bool=false) field=:inputs, ) outputs = _capture_validation!( - () -> _validate_named_model_declaration(model, :outputs_, outputs_), + () -> _output_schema(model), diagnostics, :invalid_outputs; field=:outputs, @@ -795,10 +802,9 @@ function validate_model(model::AbstractModel; strict::Bool=false) unbound = sort!(Symbol[name for name in keys(contracts) if name ∉ declared]; by=string) isempty(unbound) || push!(diagnostics, _validation_diagnostic( :unbound_variable_contract, - "Variable contract(s) `$(Tuple(unbound))` are not model ports. They are valid only when a ModelSpec declares matching distributed outputs."; + "Variable contract(s) `$(Tuple(unbound))` are not declared model ports."; field=:variable_contracts, - severity=:warning, - suggestions=["Declare matching outputs_to variables in every ModelSpec using this model."], + suggestions=["Declare distributed outputs in outputs_ using Distributed(Default(value)) or Distributed(Required(T))."], )) if strict missing = sort!(collect(setdiff(declared, Set(Symbol.(keys(contracts))))); by=string) @@ -1082,6 +1088,11 @@ function _authoring_json_value(value) value isa Type && return string(value) value isa Module && return string(value) value isa ObjectId && return _authoring_json_value(value.value) + value isa Distributed && return Dict{String,Any}( + "kind" => "distributed", + "declaration" => _authoring_json_value(value.declaration), + "valueType" => string(_output_value_type(value)), + ) value isa Required && return Dict{String,Any}( "kind" => "required", "expectedType" => string(_input_expected_type(value)), @@ -1182,6 +1193,7 @@ function to_dict(port::ModelPortDescription) return Dict{String,Any}( "name" => string(port.name), "role" => string(port.role), + "storage" => string(port.storage), "declaration" => string(port.declaration), "expectedType" => port.expected_type, "initialValue" => _authoring_json_value(port.initial_value), diff --git a/src/authoring_interface.jl b/src/authoring_interface.jl index 3aab33517..71f26996a 100644 --- a/src/authoring_interface.jl +++ b/src/authoring_interface.jl @@ -3,8 +3,10 @@ const AUTHORING_SCHEMA_VERSION = 1 """ ModelInterface -Versioned representation of every model declaration that the compiler takes -from the base application when it installs an object or instance override. +Versioned representation of the model contract enforced for object and instance +overrides. Local defaults remain exact; distributed defaults compare their +declaration kind and payload type because destination initialization uses the +effective model's value. Two model instances are directly override-compatible when their semantic fields are equal. `provenance` records whether the declarations were read from the supplied instance (`:exact`) or from a real zero-argument instance created @@ -26,8 +28,17 @@ struct ModelInterface environment_hint::Any end +_model_declaration_semantics(value) = (kind=:value, value=value) +function _model_declaration_semantics(value::Distributed) + declaration = value.declaration + payload = declaration isa Default ? + (kind=:default, type=typeof(declaration.value)) : + (kind=:required, type=_input_expected_type(declaration)) + return (kind=:distributed, value=payload) +end + _model_named_declaration_semantics(declaration::NamedTuple) = Tuple( - name => declaration[name] + name => _model_declaration_semantics(declaration[name]) for name in sort!(collect(Symbol.(keys(declaration))); by=string) ) @@ -72,11 +83,13 @@ dummy model or guesses parameter values. The interface includes the full status and environment schemas, scientific contracts, model-level dependencies, clock, output policy, timestep hint, and environment hint because object overrides execute behind declarations compiled -from the base application. +from the base application. Distributed default values are retained for +inspection but excluded from compatibility: their kind and payload type must +match, while destination initialization reads the effective model's value. """ function model_interface(model::AbstractModel) process_name = process(model) - outputs = _authoring_named_declaration(model, :outputs_, outputs_(model)) + outputs = _output_schema(model) return ModelInterface( AUTHORING_SCHEMA_VERSION, :exact, diff --git a/src/composite_model/compilation.jl b/src/composite_model/compilation.jl index f93f1f52c..68305c196 100644 --- a/src/composite_model/compilation.jl +++ b/src/composite_model/compilation.jl @@ -720,7 +720,7 @@ function _validate_initializer_call_plans!( "Targeted newborn initialization supports canonical local outputs only.", ) stream_only = Symbol[ - Symbol(variable) for variable in keys(outputs_(callee.spec)) + Symbol(variable) for variable in keys(_local_output_schema(callee.spec)) if _publish_mode_for_output(callee.spec, Symbol(variable)) === :stream_only ] isempty(stream_only) || error( @@ -4164,7 +4164,7 @@ function explain_initialization(model::CompositeModel) rows = NamedTuple[] for application in compiled.applications - model_outputs = outputs_(application.spec) + model_outputs = _local_output_schema(application.spec) environment_model_outputs = environment_outputs_(application.spec) model_inputs = _input_schema(application.spec) environment_inputs = environment_inputs_(application.spec) @@ -4481,7 +4481,7 @@ function _application_model(application::CompiledModelApplication, object_id::Ob end function _model_output_names(application::CompiledModelApplication) - return Symbol[Symbol(var) for var in keys(outputs_(application.spec))] + return Symbol[Symbol(var) for var in keys(_local_output_schema(application.spec))] end function _model_canonical_output_names(application::CompiledModelApplication) @@ -4624,6 +4624,15 @@ function _resolve_model_output_destinations( for plan in compiled_plans.plans application = applications[plan.application_slot] for execution_object_id in application.target_ids + effective_model = _application_model(application, execution_object_id) + declarations = _distributed_output_schema(effective_model) + names = keys(plan.declarations) + effective_declarations = NamedTuple{names}(map(name -> declarations[name], names)) + effective_plan = CompiledModelOutputDestinationPlan( + plan.slot, plan.application_slot, plan.application_id, plan.group, + plan.selector, plan.matcher, effective_declarations, plan.multiplicity, + plan.coverage, + ) destination_ids = _dependency_object_ids( model, plan.selector, @@ -4634,7 +4643,7 @@ function _resolve_model_output_destinations( push!( resolved, ResolvedModelOutputDestination( - plan, + effective_plan, execution_object_id, destination_ids, ), @@ -4671,7 +4680,7 @@ function _validate_compiled_writer_ownership!(ownership, applications) error( "Application `$(owner.application_id)` declares more than one canonical " * "writer for `$(variable)` on object `$(object_id.value)`. Ensure its " * - "`on=...` targets and named `outputs_to` destinations do not overlap.", + "`on=...` targets and `outputs_to` destinations do not overlap.", ) end push!(seen_application_slots, owner.application_slot) @@ -4726,23 +4735,6 @@ function _compile_model_writer_ownership( for destination_id in resolved.destination_ids for variable_ in keys(plan.declarations) variable = Symbol(variable_) - if first( - _sorted_object_id_position( - application.target_ids, - destination_id, - ), - ) && - variable in keys(outputs_(application.spec)) && - _publish_mode_for_output(application.spec, variable) == - :stream_only - error( - "Application `$(plan.application_id)` publishes stream-only local " * - "output `$(variable)` and distributes the same variable to its " * - "execution object `$(destination_id.value)`. Both publications " * - "would share one retained stream key; use distinct variable names " * - "or exclude the execution object from `outputs_to`.", - ) - end _push_compiled_writer_owner!( ownership, destination_id, @@ -5027,7 +5019,7 @@ function _stream_only_initial_reference( initial, _, _ = _materialize_status_value( model, source_var, - getproperty(outputs_(application.spec), source_var); + getproperty(_local_output_schema(application.spec), source_var); object_id=source_id, application_id=application.id, origin=:stream_only_source_default, @@ -5286,7 +5278,7 @@ end function _prepare_model_output_statuses!(model::CompositeModel, applications) for application in applications - defaults = outputs_(application.spec) + defaults = _local_output_schema(application.spec) for object_id in application.target_ids status = _ensure_model_object_status!(model, object_id) for (variable, value) in pairs(defaults) @@ -5319,7 +5311,7 @@ function _prepare_model_output_statuses_batched!( model.status_conversion_records : Dict{Any,Any}() for application in applications - defaults = outputs_(application.spec) + defaults = _local_output_schema(application.spec) for object_id in application.target_ids recipe = _status_recipe_for_object!( recipes, @@ -5364,7 +5356,16 @@ function _validate_required_model_output_destinations!( for (variable_, declaration) in pairs(resolved.plan.declarations) declaration isa Required || continue variable = Symbol(variable_) - _status_has_variable(model, destination_id, variable) && continue + if _status_has_variable(model, destination_id, variable) + value = _model_object(model, destination_id).status[variable] + expected_type = _input_expected_type(declaration) + value isa expected_type || throw(ArgumentError( + "Distributed output `$(variable)` on application " * + "`$(resolved.plan.application_id)` requires `$(expected_type)` " * + "on destination `$(destination_id.value)`; got `$(typeof(value))`.", + )) + continue + end push!( missing, ( @@ -5391,7 +5392,7 @@ function _validate_required_model_output_destinations!( "Missing required distributed-output destination variable(s): ", details, ". Add the variable to each destination `Status` or declare it with ", - "`Default(value)` in `OutputTo(...; vars=...)`.", + "`Distributed(Default(value))` in the model's `outputs_`.", ) end @@ -6262,7 +6263,7 @@ function _validate_temporal_input_output_overlap!( application::CompiledModelApplication, temporal_bindings, ) - output_names = Set(Symbol.(keys(outputs_(application.spec)))) + output_names = Set(Symbol.(keys(_local_output_schema(application.spec)))) for binding in temporal_bindings binding.input in output_names || continue error( @@ -6292,7 +6293,7 @@ function _compile_model_status_view( if binding.carrier_hint == :temporal_stream ) _validate_temporal_input_output_overlap!(application, temporal_bindings) - output_defaults = outputs_(application.spec) + output_defaults = _local_output_schema(application.spec) private_output_names = Tuple( Symbol(variable) for variable in keys(output_defaults) if _publish_mode_for_output(application.spec, variable) == @@ -6859,9 +6860,16 @@ function _compile_model_output_destination_plans( ) plans = CompiledModelOutputDestinationPlan[] for application in applications - destinations = outputs_to(application.spec) - destinations isa NamedTuple || continue - for (group_name, destination) in pairs(destinations) + destinations = _resolved_output_destinations(application.spec) + if !isnothing(application.model_overrides) + for replacement in values(application.model_overrides) + _resolved_output_destinations(application.spec, replacement) + Set(keys(_distributed_output_schema(replacement))) == Set(keys(_distributed_output_schema(application.spec))) || + error("Object override for application `$(application.id)` has incompatible distributed output names.") + end + end + for (destination_slot, destination) in enumerate(destinations) + group_name = Symbol("output_", destination_slot) selector = getproperty(destination, :selector) selector isa AbstractObjectMultiplicity || error( "Output destination `$(group_name)` on application `$(application.id)` " * @@ -6912,8 +6920,7 @@ end function _application_declares_output_name(application, variable::Symbol) variable in _model_output_names(application) && return true - destinations = outputs_to(application.spec) - destinations isa NamedTuple || return false + destinations = _resolved_output_destinations(application.spec) return any( destination -> variable in keys(destination.vars), values(destinations), @@ -7715,7 +7722,9 @@ function explain_applications(compiled::CompiledCompositeModel) ]); by=string), applies_to=application.applies_to, inputs=Tuple(Symbol.(keys(_input_schema(application.spec)))), - outputs=Tuple(Symbol.(keys(outputs_(application.spec)))), + outputs=Tuple(Symbol.(keys(_output_schema(application.spec)))), + local_outputs=Tuple(Symbol.(keys(_local_output_schema(application.spec)))), + distributed_outputs=Tuple(Symbol.(keys(_distributed_output_schema(application.spec)))), environment_inputs=Tuple(Symbol.(keys(environment_inputs_(application.spec)))), environment_outputs=Tuple(Symbol.(keys(environment_outputs_(application.spec)))), timestep=application.timestep, @@ -7888,14 +7897,19 @@ and report declared variables, carrier types, coverage, and lifecycle generation. """ function explain_output_bindings(compiled::CompiledCompositeModel) - return _explain_output_bindings(compiled.distributed_outputs) + return _explain_output_bindings(compiled.distributed_outputs, compiled) end -_explain_output_bindings(::NoCompiledDistributedOutputs) = NamedTuple[] +_explain_output_bindings(::NoCompiledDistributedOutputs, compiled) = NamedTuple[] -function _explain_output_bindings(outputs::CompiledDistributedOutputs) +function _explain_output_bindings(outputs::CompiledDistributedOutputs, compiled) rows = NamedTuple[] for binding in outputs.bindings + spec = compiled.applications[binding.application_slot].spec + destination_index = findfirst(eachindex(outputs_to(spec))) do index + Symbol("output_", index) == binding.group + end + origin = isnothing(outputs_to(spec)[destination_index].vars) ? :inferred : :explicit push!( rows, ( @@ -7904,6 +7918,8 @@ function _explain_output_bindings(outputs::CompiledDistributedOutputs) application_id=binding.application_id, execution_object_id=binding.execution_object_id.value, group=binding.group, + destination_index=destination_index, + origin=origin, destination_ids=[id.value for id in binding.destination_ids], destination_count=length(binding.destination_ids), variables=Tuple(Symbol.(keys(binding.declarations))), diff --git a/src/composite_model/output_targets.jl b/src/composite_model/output_targets.jl index f61515b37..ff576227a 100644 --- a/src/composite_model/output_targets.jl +++ b/src/composite_model/output_targets.jl @@ -12,7 +12,7 @@ end """ OutputTargets -Identity-aware, columnar destination view for one named `OutputTo` group. +Identity-aware, columnar destination view for selected distributed variables. Obtain it inside a model kernel with [`output_targets`](@ref), inspect its stable identities with [`object_ids`](@ref), and assign identified result tables with [`assign_outputs!`](@ref). @@ -26,9 +26,10 @@ Do not retain it across a lifecycle barrier. struct OutputTargets{B,C} binding::B assignment_cache::C + alignment_id::Int end -function OutputTargets(binding::CompiledModelOutputDestinationBinding) +function OutputTargets(binding::CompiledModelOutputDestinationBinding, alignment_id::Int) count = length(binding.destination_ids) return OutputTargets( binding, @@ -41,9 +42,22 @@ function OutputTargets(binding::CompiledModelOutputDestinationBinding) false, false, ), + alignment_id, ) end +"""A selection of columns sharing one compiled destination identity order.""" +struct OutputTargetColumns{B,C} + source::B + columns::C +end + +@inline function Base.getproperty(view::OutputTargetColumns, name::Symbol) + name === :columns && return getfield(view, :columns) + name === :source && return getfield(view, :source) + return getproperty(getfield(view, :source), name) +end + @inline function Base.getproperty(targets::OutputTargets, name::Symbol) name === :columns || return getfield(targets, name) binding = getfield(targets, :binding) @@ -51,12 +65,12 @@ end end Base.propertynames(::OutputTargets, private::Bool=false) = - private ? (:columns, :binding, :assignment_cache) : (:columns,) + private ? (:columns, :binding, :assignment_cache, :alignment_id) : (:columns,) object_ids(targets::OutputTargets) = - BoundManyObjectIds(getfield(getfield(targets, :binding), :destination_ids)) + BoundManyObjectIds(getproperty(getfield(targets, :binding), :destination_ids)) Base.length(targets::OutputTargets) = - length(getfield(getfield(targets, :binding), :destination_ids)) + length(getproperty(getfield(targets, :binding), :destination_ids)) Base.isempty(targets::OutputTargets) = iszero(length(targets)) Base.eachindex(targets::OutputTargets) = eachindex(object_ids(targets)) @@ -81,7 +95,7 @@ end function _output_target_context(targets::OutputTargets) binding = getfield(targets, :binding) - return "application `$(binding.application_id)`, output group `$(binding.group)`" + return "application `$(binding.application_id)`, output variables `$(propertynames(targets.columns))`" end function _output_table_columns( diff --git a/src/composite_model/runtime_outputs.jl b/src/composite_model/runtime_outputs.jl index c385d4e5b..c184c597f 100644 --- a/src/composite_model/runtime_outputs.jl +++ b/src/composite_model/runtime_outputs.jl @@ -351,51 +351,81 @@ function bound_input(context, input) end """ - output_targets(context::RunContext, group) + output_targets(context::RunContext, variables::Tuple) -Return the compiled [`OutputTargets`](@ref) view for the named `outputs_to` -group on the application currently executing. The lookup is a typed field -access; selectors and destination indexes were resolved before the kernel. +Return a compiled destination view for the named distributed outputs, for +example `output_targets(context, (:incident_par, :absorbed_par))`. A combined +view requires identical destination ObjectIds for every requested variable +and exposes only those columns. Use a one-element tuple for one variable. + +Names resolve through the typed execution context; destination alignment is +prepared during compilation and refreshed after lifecycle changes. """ @inline Base.@constprop :aggressive function output_targets( context::RunContext, - group::Symbol, + variables::Tuple, ) - return output_targets(context, Val(group)) + return output_targets(context, Val(variables)) end -@inline function output_targets( - context::RunContext, - ::Val{group}, -) where {group} - hasproperty(context.output_targets, group) || throw( - ArgumentError( - "Application `$(context.application.id)` on object " * - "`$(context.object_id.value)` has no declared distributed output " * - "group `$(group)`. Available groups: " * - "`$(propertynames(context.output_targets))`.", - ), - ) - return getproperty(context.output_targets, group) +@noinline function _missing_distributed_output_target(context, name) + throw(ArgumentError( + "Application `$(context.application.id)` on object `$(context.object_id.value)` " * + "has no distributed output `$(name)`. Available variables: " * + "`$(propertynames(context.output_targets))`.", + )) end -function output_targets(context::RunContext, group) - throw( - ArgumentError( - "`output_targets` expects a declared output group name as a Symbol; " * - "got `$(repr(group))` of type `$(typeof(group))` for application " * - "`$(context.application.id)`.", - ), - ) +@noinline function _unaligned_distributed_output_targets(context, variables) + throw(ArgumentError( + "Distributed outputs `$(variables)` on application `$(context.application.id)` " * + "have different destination ObjectIds. Request separate output target views.", + )) end -function output_targets(context, group) - throw( - ArgumentError( - "`output_targets` requires the compiled RunContext passed to a " * - "model kernel; got `$(typeof(context))` for group `$(group)`.", - ), - ) +# Names are fixed by the kernel's tuple. Select each field explicitly so views +# spanning different destination declarations retain concrete carrier types. +@generated function output_targets(context::RunContext, ::Val{variables}) where {variables} + if !(variables isa Tuple) || isempty(variables) || !all(name -> name isa Symbol, variables) + return :(throw(ArgumentError("`output_targets` requires a non-empty tuple of output variable names."))) + end + if length(unique(variables)) != length(variables) + return :(throw(ArgumentError("`output_targets` requires distinct output variable names."))) + end + checks = map(variables) do name + :(hasproperty(context.output_targets, $(QuoteNode(name))) || + _missing_distributed_output_target(context, $(QuoteNode(name)))) + end + first_name = QuoteNode(first(variables)) + alignment_checks = map(Base.tail(variables)) do name + :(getproperty(context.output_targets, $(QuoteNode(name))).alignment_id == first_target.alignment_id || + _unaligned_distributed_output_targets(context, $(QuoteNode(variables)))) + end + columns = Expr(:tuple, map(variables) do name + :(getproperty(getproperty(context.output_targets, $(QuoteNode(name))).columns, $(QuoteNode(name)))) + end...) + return quote + $(checks...) + first_target = getproperty(context.output_targets, $first_name) + $(alignment_checks...) + columns = NamedTuple{$(QuoteNode(variables))}($columns) + binding = OutputTargetColumns(first_target.binding, columns) + OutputTargets(binding, first_target.assignment_cache, first_target.alignment_id) + end +end + +function output_targets(context::RunContext, variables) + throw(ArgumentError( + "`output_targets` expects a non-empty tuple of output variable names; " * + "got `$(repr(variables))` of type `$(typeof(variables))`.", + )) +end + +function output_targets(context, variables) + throw(ArgumentError( + "`output_targets` requires the compiled RunContext passed to a model kernel; " * + "got `$(repr(context))` of type `$(typeof(context))`.", + )) end """ @@ -1441,7 +1471,7 @@ function _model_output_object_ids( (application.id, variable), nothing, ) - variable in keys(outputs_(application.spec)) || + variable in keys(_local_output_schema(application.spec)) || return isnothing(destination_ids) ? ObjectId[] : destination_ids isnothing(destination_ids) && return application.target_ids object_ids = copy(application.target_ids) @@ -1465,7 +1495,7 @@ function _model_output_reference( object_id::ObjectId, variable::Symbol, ) - if variable in keys(outputs_(application.spec)) && + if variable in keys(_local_output_schema(application.spec)) && haskey( compiled.status_views_by_target, (application.id, object_id), @@ -1543,7 +1573,7 @@ function _initialize_changed_model_output_streams!( ) isempty(variables) && continue application = _compiled_application_by_id(compiled, application_id) - model_outputs = keys(outputs_(application.spec)) + model_outputs = keys(_local_output_schema(application.spec)) if haskey(compiled.status_views_by_target, (application_id, object_id)) for variable in variables variable in model_outputs || continue @@ -3112,7 +3142,7 @@ function _runtime_model_output_streams( ) variables = Tuple( variable for variable in variables - if variable in keys(outputs_(application.spec)) + if variable in keys(_local_output_schema(application.spec)) ) return Tuple(begin key = _model_stream_key(application.id, object_id, variable) @@ -3306,9 +3336,22 @@ function _runtime_model_output_targets( nothing, ) isnothing(groups) && return NamedTuple() - names = propertynames(groups) - targets = map(OutputTargets, values(groups)) - return NamedTuple{names}(targets) + names = Symbol[] + targets = Any[] + anchors = Any[] + for binding in values(groups) + alignment_id = findfirst(anchor -> anchor.destination_ids == binding.destination_ids, anchors) + if isnothing(alignment_id) + push!(anchors, binding) + alignment_id = length(anchors) + end + target = OutputTargets(binding, alignment_id) + for name in keys(binding.declarations) + push!(names, name) + push!(targets, target) + end + end + return NamedTuple{Tuple(names)}(Tuple(targets)) end _runtime_model_output_targets(compiled, application, object_id) = @@ -3698,7 +3741,7 @@ function _model_execution_outputs_match( nothing, ) for variable in variables - variable in keys(outputs_(application.spec)) || continue + variable in keys(_local_output_schema(application.spec)) || continue output_index += 1 output_index <= length(runtime_outputs) || return false output = runtime_outputs[output_index] @@ -3811,11 +3854,27 @@ function _model_execution_output_targets_match( nothing, ) isnothing(bindings) && return isempty(targets) - propertynames(targets) == propertynames(bindings) || return false - for name in propertynames(bindings) - getfield(getproperty(targets, name), :binding) === - getproperty(bindings, name) || return false + count = 0 + ordered_bindings = values(bindings) + for (index, binding) in enumerate(ordered_bindings) + for name in keys(binding.declarations) + hasproperty(targets, name) || return false + target = getproperty(targets, name) + target.binding === binding || return false + count += 1 + end + # A monotonic addition can extend existing columns and streams in place. + # Rebuild only if it changes which destination declarations are aligned. + current = getproperty(targets, first(keys(binding.declarations))) + for previous_index in 1:(index - 1) + previous = ordered_bindings[previous_index] + previous_target = getproperty(targets, first(keys(previous.declarations))) + was_aligned = current.alignment_id == previous_target.alignment_id + now_aligned = binding.destination_ids == previous.destination_ids + was_aligned == now_aligned || return false + end end + length(targets) == count || return false return true end @@ -5033,7 +5092,7 @@ function _model_application_output_variables( application, ::NoCompiledDistributedOutputs, ) - return Tuple(Symbol(variable) for variable in keys(outputs_(application.spec))) + return Tuple(Symbol(variable) for variable in keys(_local_output_schema(application.spec))) end function _model_application_output_variables( @@ -5041,7 +5100,7 @@ function _model_application_output_variables( application, distributed_outputs::CompiledDistributedOutputs, ) - variables = Symbol[Symbol(variable) for variable in keys(outputs_(application.spec))] + variables = Symbol[Symbol(variable) for variable in keys(_local_output_schema(application.spec))] for ((application_id, variable), destination_ids) in distributed_outputs.destination_ids_by_application_variable application_id == application.id || continue @@ -7570,7 +7629,7 @@ function _model_request_application(model::CompositeModel, compiled::CompiledCom application.id == request.application || application.name == request.application || continue - local_output = request.var in keys(outputs_(application.spec)) + local_output = request.var in keys(_local_output_schema(application.spec)) local_match = local_output && ( any(id -> id in requested_ids, application.target_ids) || (!isnothing(declared_scale) && diff --git a/src/composite_model/source_compilation.jl b/src/composite_model/source_compilation.jl index 30c746301..377fe94ab 100644 --- a/src/composite_model/source_compilation.jl +++ b/src/composite_model/source_compilation.jl @@ -748,7 +748,7 @@ function _compiled_source_output_destinations_description(spec) destinations = outputs_to(spec) isempty(destinations) && return "none" return join( - ("$(key)=>$(repr(getproperty(destinations, key)))" for key in keys(destinations)), + (repr(destination) for destination in destinations), ", ", ) end diff --git a/src/output_schema.jl b/src/output_schema.jl new file mode 100644 index 000000000..9804bde51 --- /dev/null +++ b/src/output_schema.jl @@ -0,0 +1,53 @@ +""" + Distributed(Default(value)) + Distributed(Required(T)) + +Declare an output in `outputs_` that is stored on destination objects +selected by [`OutputTo`](@ref). The execution object receives this field only +if it is itself selected as a destination. +`Default(value)` initializes an absent destination field; `Required(T)` +requires a compatible field to exist already. The declaration contains no +scale or destination-group name. + +```julia +PlantSimEngine.outputs_(::MyLightModel) = ( + incident_par=Distributed(Default(0.0)), + absorbed_par=Distributed(Required(Real)), +) +``` +""" +struct Distributed{D} + declaration::D + + function Distributed(declaration) + _is_input_declaration(declaration) || throw(ArgumentError( + "`Distributed` requires `Default(value)` or `Required(T)`; got " * + "`$(repr(declaration))`.", + )) + return new{typeof(declaration)}(declaration) + end +end + +function _output_schema(model) + schema = outputs_(model) + schema isa NamedTuple || throw(ArgumentError( + "`outputs_($(typeof(model)))` must return a NamedTuple; got `$(typeof(schema))`.", + )) + return schema +end + +function _local_output_schema(model) + schema = _output_schema(model) + any(value -> value isa Distributed, values(schema)) || return schema + names = Tuple(name for name in keys(schema) if !(schema[name] isa Distributed)) + return NamedTuple{names}(map(name -> schema[name], names)) +end + +function _distributed_output_schema(model) + schema = _output_schema(model) + names = Tuple(name for name in keys(schema) if schema[name] isa Distributed) + return NamedTuple{names}(map(name -> schema[name].declaration, names)) +end + +_output_value_type(value) = typeof(value) +_output_value_type(value::Distributed) = _input_expected_type(value.declaration) diff --git a/src/processes/models_inputs_outputs.jl b/src/processes/models_inputs_outputs.jl index 283527dd0..c08ec0d96 100644 --- a/src/processes/models_inputs_outputs.jl +++ b/src/processes/models_inputs_outputs.jl @@ -218,7 +218,7 @@ outputs(Process1Model(1.0)) ``` """ function outputs(model::T) where {T<:AbstractModel} - keys(outputs_(model)) + keys(_output_schema(model)) end function outputs(v::T, vars...) where {T<:AbstractModel} @@ -241,6 +241,8 @@ end Return the values PlantSimEngine can initialize without user input: genuine input defaults declared with `Default(value)` and initial output-state values. Required inputs have no initialization value and are therefore omitted. +Distributed outputs are also omitted: their destination storage is resolved +from `outputs_to` when the scenario is compiled. # Note @@ -273,7 +275,7 @@ function variables(m::T, ms...) where {T<:Union{Missing,AbstractModel}} input_defaults = m isa Missing ? NamedTuple() : _input_default_values(_input_schema(m)) - return merge(input_defaults, outputs_(m)) + return merge(input_defaults, _local_output_schema(m)) end """ @@ -306,7 +308,9 @@ end init_variables(model) Return the merged genuine input defaults and initial output-state values -declared by `model`. Inputs declared with `Required(T)` are omitted. +declared by `model` for its execution object. Required inputs and distributed +outputs are omitted; distributed defaults initialize selected destinations +during scenario compilation. """ init_variables(model::AbstractModel; verbose::Bool=true) = variables(model) init_variables(spec::ModelSpec; verbose::Bool=true) = init_variables(model_(spec); verbose=verbose) @@ -317,6 +321,7 @@ init_variables(spec::ModelSpec; verbose::Bool=true) = init_variables(model_(spec Returns a named tuple with the name and the types of the variables needed by a model, or a union of those for several models. +Distributed outputs report their payload types, rather than declaration types. # Examples @@ -347,8 +352,8 @@ function variables_typed(m::T) where {T<:AbstractModel} Symbol(name) => _input_expected_type(declaration) for (name, declaration) in pairs(in_vars) ) - out_vars = outputs_(m) - out_vars_type = Dict(zip(keys(out_vars), typeof(out_vars).types)) + out_vars = _output_schema(m) + out_vars_type = Dict(name => _output_value_type(value) for (name, value) in pairs(out_vars)) # Merge both with type promotion: vars = mergewith(promote_type, in_vars_type, out_vars_type) diff --git a/src/scenario_source.jl b/src/scenario_source.jl index f10d9ba9c..bdd1f3220 100644 --- a/src/scenario_source.jl +++ b/src/scenario_source.jl @@ -340,6 +340,11 @@ function _scenario_source_application_code(environment_catalog, spec) push!(options, "inputs=$(repr(value_inputs(spec)))") isempty(keys(model_calls(spec))) || push!(options, "calls=$(repr(model_calls(spec)))") + destinations = outputs_to(spec) + if !isempty(destinations) + destination_codes = _scenario_source_output_destination_code.(destinations) + push!(options, "outputs_to=($(join(destination_codes, ", ")),)") + end environment = environment_config(spec) if !isnothing(environment) payload = environment isa EnvironmentConfig ? environment.config : environment @@ -373,6 +378,13 @@ function _scenario_source_application_code(environment_catalog, spec) return "ModelSpec($(repr(model_(spec))); $(join(options, ", ")))" end +function _scenario_source_output_destination_code(destination::OutputTo) + options = String[] + isnothing(destination.vars) || push!(options, "vars=$(repr(destination.vars))") + push!(options, "coverage=$(repr(destination.coverage))") + return "OutputTo($(repr(destination.selector)); $(join(options, ", ")))" +end + function _scenario_source_status_conversion_module_code(module_::Module) label = string(module_) all(Base.isidentifier, split(label, '.')) || return nothing diff --git a/src/variable_contracts.jl b/src/variable_contracts.jl index 8a88b96fc..f2560ba9e 100644 --- a/src/variable_contracts.jl +++ b/src/variable_contracts.jl @@ -58,9 +58,8 @@ end Trait declaring the scientific contracts of status and environment variables used by `model`. Return a named tuple whose keys are variables declared by `inputs_`, `outputs_`, `environment_inputs_`, or `environment_outputs_`, and -whose values are [`VariableContract`](@ref)s. A model that produces values only -through distributed output groups may also declare those names; each compiled -`ModelSpec` must then include them in `outputs_to`. +whose values are [`VariableContract`](@ref)s. Distributed outputs use the same +flat variable names declared with `Distributed(...)` in `outputs_`. The default is empty for incremental adoption. Once either side of a compiled model-to-model input binding declares a contract, the other side must declare @@ -73,9 +72,8 @@ variable_contracts_(::Missing) = NamedTuple() """ variable_contracts(model) -Return the structurally validated variable-contract declaration for `model`. -Compilation additionally checks each key against the concrete ModelSpec, -including its distributed output declarations. +Return the validated variable-contract declaration for `model`, including +contracts for distributed outputs declared by the model itself. """ variable_contracts(model::Union{AbstractModel,Missing}) = _variable_contract_schema(model) @@ -83,13 +81,23 @@ variable_contracts(model::Union{AbstractModel,Missing}) = function _declared_contract_variable_names(model) declared = Set{Symbol}() union!(declared, Symbol.(keys(_input_schema(model)))) - union!(declared, Symbol.(keys(outputs_(model)))) + union!(declared, Symbol.(keys(_output_schema(model)))) union!(declared, Symbol.(keys(environment_inputs_(model)))) union!(declared, Symbol.(keys(environment_outputs_(model)))) return declared end -_validate_variable_contract_names(model, schema) = schema +function _validate_variable_contract_names(model, schema) + declared = _declared_contract_variable_names(model) + unknown = Tuple(name for name in keys(schema) if name ∉ declared) + isempty(unknown) || return _invalid_variable_contract_schema_error( + model, + "declares unknown variable(s) `$(unknown)`. Declare every contract variable " * + "in inputs_, outputs_, environment_inputs_, or environment_outputs_; " * + "distributed outputs belong in outputs_ as Distributed declarations.", + ) + return schema +end @noinline function _invalid_variable_contract_schema_error(model, message) error("`variable_contracts_($(typeof(model)))` $(message)") diff --git a/src/visualization/model_graph_editor_api.jl b/src/visualization/model_graph_editor_api.jl index ed45ffd20..07b3052cf 100644 --- a/src/visualization/model_graph_editor_api.jl +++ b/src/visualization/model_graph_editor_api.jl @@ -111,6 +111,20 @@ struct SetModelOutputRouting <: AbstractModelGraphEdit route::Symbol end +""" + GraphEditor.SetModelOutputDestinations(application, destinations) + +Replace an application's distributed output destinations with an anonymous +tuple of `OutputTo` declarations. `application` is a `GlobalApplicationRef` +or `TemplateApplicationRef`. Omitted `vars` remains omitted in the edited +scenario; the model's distributed schema validates the complete destination +partition before the edit is applied. +""" +struct SetModelOutputDestinations{T<:Tuple} <: AbstractModelGraphEdit + application::ModelApplicationRef + destinations::T +end + struct SetModelUpdateOrdering{U} <: AbstractModelGraphEdit application::ModelApplicationRef updates::U @@ -691,7 +705,7 @@ function _apply_model_graph_edit!(model::CompositeModel, edit::SetModelOutputRou "Output route must be `:canonical` or `:stream_only`.", ) spec = _model_edit_spec(model, edit.application) - edit.output in Symbol.(keys(outputs_(spec))) || error( + edit.output in keys(_output_schema(spec)) || error( "Application `$(edit.application.application_id)` model has no output `$(edit.output)`.", ) routing = _model_edit_namedtuple_set(spec.output_routing, edit.output, edit.route) @@ -702,6 +716,13 @@ function _apply_model_graph_edit!(model::CompositeModel, edit::SetModelOutputRou ) end +function _apply_model_graph_edit!(model::CompositeModel, edit::SetModelOutputDestinations) + spec = _model_edit_spec(model, edit.application) + replacement = _replace_model_spec(spec; outputs_to=edit.destinations) + _resolved_output_destinations(replacement) + return _replace_model_edit_spec!(model, edit.application, replacement) +end + function _apply_model_graph_edit!(model::CompositeModel, edit::SetModelUpdateOrdering) spec = _model_edit_spec(model, edit.application) return _replace_model_edit_spec!( diff --git a/src/visualization/model_graph_view.jl b/src/visualization/model_graph_view.jl index 07aaf0a83..327d1cb0f 100644 --- a/src/visualization/model_graph_view.jl +++ b/src/visualization/model_graph_view.jl @@ -810,25 +810,45 @@ end function _model_graph_port(application, role::Symbol, variable, declaration) name = Symbol(variable) is_input = role == :input - default = is_input && declaration isa Required ? nothing : - is_input ? declaration.value : - declaration - expected_type = is_input ? - _input_expected_type(declaration) : - typeof(declaration) + distributed = role == :output && declaration isa Distributed + payload = distributed ? declaration.declaration : declaration + has_policy = is_input || distributed + default = has_policy ? (payload isa Required ? nothing : payload.value) : payload + expected_type = has_policy ? _input_expected_type(payload) : typeof(payload) port = Dict{String,Any}( "id" => _model_graph_port_id(application.id, role, name), "name" => string(name), "role" => string(role), + "storage" => distributed ? "distributed" : + role in (:input, :output) ? "local" : "environment", "default" => _model_graph_json_value(default), "defaultJulia" => isnothing(default) ? nothing : repr(default), "expectedType" => string(expected_type), ) - is_input && (port["declaration"] = - declaration isa Required ? "required" : "defaulted") + port["declaration"] = has_policy ? + (payload isa Required ? "required" : "defaulted") : "initial" return port end +function _model_graph_output_destinations(spec) + resolved = try + _resolved_output_destinations(spec) + catch + # Invalid declarations remain editable; compilation reports the error. + nothing + end + return Dict{String,Any}[ + Dict{String,Any}( + "selector" => _model_graph_selector_dict(destination.selector), + "vars" => isnothing(destination.vars) ? nothing : collect(string.(destination.vars)), + "resolvedVars" => isnothing(resolved) ? nothing : collect(string.(keys(resolved[index].vars))), + "origin" => isnothing(destination.vars) ? "inferred" : "explicit", + "coverage" => string(destination.coverage), + ) + for (index, destination) in pairs(outputs_to(spec)) + ] +end + function _model_graph_environment_catalog_id(value, environment_catalog) for (name, candidate) in _model_graph_catalog_pairs(environment_catalog, "Environment") candidate === value && return string("environment:", name) @@ -871,7 +891,7 @@ function _model_graph_application_dict( process_model = _application_default_model(application) spec = application.spec inputs = _input_schema(application.spec) - outputs = outputs_(application.spec) + outputs = _output_schema(application.spec) environment_inputs = environment_inputs_(application.spec) environment_outputs = environment_outputs_(application.spec) target_objects = [_model_object(composite_model, id) for id in application.target_ids] @@ -936,6 +956,7 @@ function _model_graph_application_dict( "environmentBindings" => _model_graph_json_value(environment_bindings(spec)), "environmentWindow" => _model_graph_period_dict(environment_window(spec)), "outputRouting" => _model_graph_json_value(output_routing(spec)), + "outputsTo" => _model_graph_output_destinations(spec), "updates" => Dict{String,Any}[ Dict( "variables" => collect(string.(_update_variables(update))), @@ -1578,7 +1599,7 @@ function _model_graph_initialization(report) rows = Dict{String,Any}[] for application in report.applications model_inputs = _input_schema(application.spec) - model_outputs = outputs_(application.spec) + model_outputs = _local_output_schema(application.spec) model_environment_inputs = environment_inputs_(application.spec) model_environment_outputs = environment_outputs_(application.spec) source_overrides = _environment_source_overrides(application.spec) @@ -1663,6 +1684,7 @@ function _model_graph_initialization(report) end end end + _model_graph_distributed_initialization!(rows, report) sort!(rows; by=row -> ( row["applicationId"], string(row["objectId"]), @@ -1673,6 +1695,41 @@ function _model_graph_initialization(report) return rows end +function _model_graph_distributed_initialization!(rows, report) + destinations = try + plans = _compile_model_output_destination_plans(report.model, report.applications) + _resolve_model_output_destinations(report.model, report.applications, plans) + catch + # A binding error is already in the report. Valid destinations can still + # expose required storage when later compilation phases fail. + return rows + end + for destination in destinations + for object_id in destination.destination_ids + object = _model_object(report.model, object_id) + for (variable, declaration) in pairs(destination.plan.declarations) + supplied = variable in get(report.initial_status_variables, object_id, Set{Symbol}()) + value = supplied ? object.status[variable] : + declaration isa Default ? declaration.value : nothing + row = _model_graph_initialization_row( + destination.plan.application_id, + object_id, + variable, + :output, + supplied ? :supplied : declaration isa Default ? :defaulted : :required, + value; + declaration=declaration isa Required ? :required : :defaulted, + expected_type=_input_expected_type(declaration), + ) + row["storage"] = "distributed" + row["executionObjectId"] = _model_graph_object_id_value(destination.execution_object_id.value) + push!(rows, row) + end + end + end + return rows +end + function _model_graph_add_status_conversion!(rows, report) explanations = try explain_initialization(report.model) @@ -1742,6 +1799,7 @@ function _model_graph_initialization_row( "objectId" => _model_graph_object_id_value(object_id.value), "variable" => string(variable), "role" => string(role), + "storage" => role in (:input, :output) ? "local" : "environment", "disposition" => string(disposition), "value" => _model_graph_json_value(value), "valueJulia" => isnothing(value) ? nothing : repr(value), @@ -1834,6 +1892,7 @@ function _model_graph_model_descriptor(type::Type{<:AbstractModel}) "processType" => description.process_type, "inputs" => inputs, "outputs" => values_for(:output), + "ports" => serialized["ports"], "environmentInputs" => values_for(:environment_input), "environmentOutputs" => values_for(:environment_output), "variableContracts" => isnothing(interface) ? diff --git a/test/test-authoring-api.jl b/test/test-authoring-api.jl index 52241aeab..1a05d151d 100644 --- a/test/test-authoring-api.jl +++ b/test/test-authoring-api.jl @@ -62,6 +62,28 @@ struct AuthoringPolicyOrderModel{P} <: AbstractAuthoringLinearModel policies::P end +struct AuthoringDistributedModel{D} <: AbstractAuthoringLinearModel + declarations::D +end +PlantSimEngine.outputs_(model::AuthoringDistributedModel) = model.declarations +PlantSimEngine.run!(::AuthoringDistributedModel, status, environment, constants, context) = nothing +PlantSimEngine.variable_contracts_(::AuthoringDistributedModel) = ( + total=AUTHORING_DIMENSIONLESS, + received=AUTHORING_DIMENSIONLESS, + existing=AUTHORING_DIMENSIONLESS, +) + +struct AuthoringDistributedContractModel{M} <: AbstractAuthoringLinearModel + model::M +end +PlantSimEngine.outputs_(model::AuthoringDistributedContractModel) = PlantSimEngine.outputs_(model.model) +PlantSimEngine.variable_contracts_(model::AuthoringDistributedContractModel) = + merge(PlantSimEngine.variable_contracts_(model.model), (received=AUTHORING_TEMPERATURE,)) + +struct AuthoringUnboundContractModel <: AbstractAuthoringLinearModel end +PlantSimEngine.variable_contracts_(::AuthoringUnboundContractModel) = (unbound=AUTHORING_DIMENSIONLESS,) +PlantSimEngine.run!(::AuthoringUnboundContractModel, status, environment, constants, context) = nothing + PlantSimEngine.run!(::AuthoringShortKernelModel, status, environment, constants) = nothing PlantSimEngine.run!(::AuthoringLongKernelModel, status, environment, constants, context, extra) = nothing PlantSimEngine.run!(::AuthoringVariadicKernelModel, status, arguments...) = nothing @@ -96,6 +118,110 @@ const AUTHORING_TEMPERATURE = VariableContract( extent=:intensive, ) +@testset "Distributed model outputs are inspectable without a scenario" begin + declarations = ( + total=Float32[0, 1], + received=Distributed(Default(0.0f0)), + existing=Distributed(Required(Real)), + ) + model = AuthoringDistributedModel(declarations) + description = describe_model(model) + @test model_interface(model).outputs == declarations + @test validate_model(model; strict=true).valid + @test outputs(model) == (:total, :received, :existing) + ports = Dict(port.name => port for port in description.ports) + @test ports[:total].storage == :local + @test ports[:total].expected_type == "Vector{Float32}" + @test ports[:total].initial_value == Float32[0, 1] + @test ports[:received].role == ports[:existing].role == :output + @test ports[:received].storage == ports[:existing].storage == :distributed + @test ports[:received].expected_type == "Float32" + @test ports[:received].declaration == :defaulted + @test ports[:received].initial_value === 0.0f0 + @test ports[:existing].expected_type == "Real" + @test ports[:existing].declaration == :required + @test isnothing(ports[:existing].initial_value) + @test all(port.variable_contract == AUTHORING_DIMENSIONLESS for port in description.ports) + + serialized = JSON.parse(to_json(description)) + @test serialized["interface"]["outputs"]["received"]["kind"] == "distributed" + @test serialized["interface"]["outputs"]["existing"]["declaration"]["expectedType"] == "Real" + @test only(port for port in serialized["ports"] if port["name"] == "received")["storage"] == "distributed" + + compatible = compare_models(model, AuthoringDistributedModel(declarations)) + @test compatible.override_compatible + local_output = compare_models(model, AuthoringDistributedModel(merge(declarations, (received=0.0f0,)))) + @test !local_output.override_compatible + @test local_output.requires_binding_changes + @test any(difference.path == "outputs.received" for difference in local_output.differences) + changed_policy = compare_models(model, AuthoringDistributedModel(merge(declarations, (existing=Distributed(Default(0.0)),)))) + @test !changed_policy.override_compatible + + packet = (count=1, values=Float32[1, 2]) + packet_model = AuthoringDistributedModel(merge(declarations, (total=packet,))) + packet_port = only(port for port in describe_model(packet_model).ports if port.name == :total) + @test packet_port.storage == :local + @test packet_port.expected_type == string(typeof(packet)) + @test packet_port.initial_value == packet + + array_declarations = merge(declarations, (received=Distributed(Default(Float32[1, 2])),)) + array_model = AuthoringDistributedModel(array_declarations) + copied_array_model = AuthoringDistributedModel(deepcopy(array_declarations)) + array_comparison = compare_models(array_model, copied_array_model) + @test array_comparison.override_compatible + @test isempty(array_comparison.differences) + @test hash(model_interface(array_model)) == hash(model_interface(copied_array_model)) + changed_array = AuthoringDistributedModel(merge(array_declarations, (received=Distributed(Default(Float32[1, 3])),))) + @test compare_models(array_model, changed_array).override_compatible + + invalid = validate_model(AuthoringDistributedModel([:received => Distributed(Default(0.0))])) + @test !invalid.valid + @test any(diagnostic.code == :invalid_outputs for diagnostic in invalid.diagnostics) + @test_throws "unknown variable" variable_contracts(AuthoringUnboundContractModel()) + @test !validate_model(AuthoringUnboundContractModel()).valid +end + +@testset "Distributed default compatibility preserves kind, type, and contracts" begin + declarations = (total=0.0f0, received=Distributed(Default(1.0f0)), + existing=Distributed(Required(Real))) + model = AuthoringDistributedModel(declarations) + interface = model_interface(model) + for (initial, replacement) in ((1.0f0, 9.0f0), (Float32[1, 2], Float32[9, 11])) + left = AuthoringDistributedModel(merge(declarations, (received=Distributed(Default(initial)),))) + right = AuthoringDistributedModel(merge(declarations, (received=Distributed(Default(replacement)),))) + left_interface, right_interface = model_interface(left), model_interface(right) + @test left_interface == right_interface + @test isequal(left_interface, right_interface) + @test hash(left_interface) == hash(right_interface) + @test hash(left_interface, UInt(42)) == hash(right_interface, UInt(42)) + @test length(Set((left_interface, right_interface))) == 1 + @test right_interface.outputs.received.declaration.value == replacement + comparison = compare_models(left, right) + @test comparison.override_compatible + @test !comparison.requires_binding_changes + @test isempty(comparison.differences) + end + + for changed in ( + (total=9.0f0,), + (received=9.0f0,), + (received=Distributed(Default(1.0)),), + (received=Distributed(Required(Float32)),), + (existing=Distributed(Required(Float32)),), + ) + replacement = AuthoringDistributedModel(merge(declarations, changed)) + @test !isequal(interface, model_interface(replacement)) + comparison = compare_models(model, replacement) + @test !comparison.override_compatible + @test comparison.requires_binding_changes + end + changed_contract = AuthoringDistributedContractModel(model) + @test !isequal(interface, model_interface(changed_contract)) + comparison = compare_models(model, changed_contract) + @test !comparison.override_compatible + @test any(difference.path == "variable_contracts.received" for difference in comparison.differences) +end + const AUTHORING_DROP_IN_MODELS = Union{ AuthoringLinearModel, AuthoringAlternativeModel, diff --git a/test/test-model-api-stabilization.jl b/test/test-model-api-stabilization.jl index e9c1e1bbd..d6d96564b 100644 --- a/test/test-model-api-stabilization.jl +++ b/test/test-model-api-stabilization.jl @@ -250,6 +250,7 @@ end :CompositeModelTemplate, :Constants, :Default, + :Distributed, :Diagnostics, :Environment, :EnvironmentAPI, @@ -476,6 +477,7 @@ end :SetModelObjectStatus, :SetModelObjectStatuses, :SetModelOutputRouting, + :SetModelOutputDestinations, :SetModelUpdateOrdering, :SetCompositeModelEnvironment, :GlobalApplicationRef, diff --git a/test/test-model-contract.jl b/test/test-model-contract.jl index 6657da89f..a651e99e6 100644 --- a/test/test-model-contract.jl +++ b/test/test-model-contract.jl @@ -50,7 +50,7 @@ PlantSimEngine.outputs_(::Union{ PlantSimEngine.outputs_(::Union{ ContractDistributedGroundSource, ContractDistributedPlantSource, -}) = NamedTuple() +}) = (aPPFD=Distributed(Default(0.0)),) PlantSimEngine.inputs_(::Union{ ContractPlantConsumer, ContractUnspecifiedConsumer, @@ -84,7 +84,7 @@ PlantSimEngine.variable_contracts_(::ContractDistributedGroundSource) = PlantSimEngine.variable_contracts_(::ContractDistributedPlantSource) = (aPPFD=PLANT_DAILY_PHOTONS,) PlantSimEngine.variable_contracts_(::ContractPlantConsumer) = - (aPPFD=PLANT_DAILY_PHOTONS,) + (aPPFD=PLANT_DAILY_PHOTONS, observed=PLANT_DAILY_PHOTONS) PlantSimEngine.variable_contracts_(::ContractUnknownVariable) = (unknown=PLANT_DAILY_PHOTONS,) PlantSimEngine.variable_contracts_(::ContractInvalidDeclaration) = @@ -110,6 +110,14 @@ function PlantSimEngine.run!( status.observed = status.aPPFD end +function PlantSimEngine.run!( + ::Union{ContractDistributedGroundSource,ContractDistributedPlantSource}, + status, environment, constants, context, +) + fill!(output_targets(context, (:aPPFD,)).columns.aPPFD, 12.0) + return nothing +end + @testset "direct model trait defaults" begin model = ContractDefaultsModel() @test process(model) == :contract_defaults @@ -154,9 +162,9 @@ function _distributed_contract_scene(source, consumer) name=:source, on=One(scale=:Scene), outputs_to=( - plants=OutputTo( + OutputTo( Many(scale=:Plant, within=SceneScope()); - vars=(aPPFD=Default(0.0),), + vars=(:aPPFD,), ), ), ), @@ -201,6 +209,11 @@ end ContractPlantConsumer(), ) Advanced.refresh_bindings!(distributed) + @test Authoring.validate_model(ContractDistributedPlantSource(); strict=true).valid + @test Authoring.validate_scenario(distributed; strict=true).valid + run!(distributed; outputs=:none) + @test model_object(distributed, :plant).status.observed == 12.0 + @test !(:aPPFD in propertynames(model_object(distributed, :scene).status)) distributed_mismatch = _distributed_contract_scene( ContractDistributedGroundSource(), ContractPlantConsumer(), diff --git a/test/test-model-distributed-output-runtime.jl b/test/test-model-distributed-output-runtime.jl index 8df3e9227..3fc196e6d 100644 --- a/test/test-model-distributed-output-runtime.jl +++ b/test/test-model-distributed-output-runtime.jl @@ -36,7 +36,8 @@ struct DistributedRuntimeAggregatingUpdaterModel <: AbstractDistributed_Runtime_Aggregating_UpdaterModel end PlantSimEngine.inputs_(::DistributedRuntimeSceneWriterModel) = NamedTuple() -PlantSimEngine.outputs_(::DistributedRuntimeSceneWriterModel) = NamedTuple() +PlantSimEngine.outputs_(::DistributedRuntimeSceneWriterModel) = + (incident_par=Distributed(Default(0.0)),) PlantSimEngine.inputs_(::DistributedRuntimeLeafConsumerModel) = (incident_par=Required(Float64),) @@ -49,7 +50,7 @@ PlantSimEngine.outputs_(::DistributedRuntimeLeafUpdaterModel) = PlantSimEngine.inputs_(::DistributedRuntimeStatefulWriterModel) = NamedTuple() PlantSimEngine.outputs_(::DistributedRuntimeStatefulWriterModel) = - (private_runs=0,) + (private_runs=0, incident_par=Distributed(Default(0.0))) PlantSimEngine.inputs_(::DistributedRuntimePlantIntegratorModel) = (integrated_incident_par=Required(Vector{Float64}),) @@ -64,15 +65,6 @@ PlantSimEngine.output_policy( ::Type{<:DistributedRuntimeAggregatingUpdaterModel}, ) = (incident_par=Aggregate(),) -# Task 4 intentionally exercises the compiler-owned destination references. -# Task 5 will replace this test-only lookup with the public OutputTargets API. -function _distributed_runtime_destination(context, group::Symbol) - groups = context.compiled.distributed_outputs.by_execution_target[ - (context.application.id, context.object_id) - ] - return getproperty(groups, group) -end - function _distributed_runtime_value(object_id::ObjectId, time::Real) coefficient = if object_id == ObjectId(:leaf_a) 10.0 @@ -112,9 +104,9 @@ function PlantSimEngine.run!( model.events, (Int(context.time), :writer, context.object_id.value, 0.0), ) - destinations = _distributed_runtime_destination(context, :leaves) - for index in eachindex(destinations.destination_ids) - object_id = destinations.destination_ids[index] + destinations = output_targets(context, (:incident_par,)) + for index in eachindex(object_ids(destinations)) + object_id = object_ids(destinations)[index] destinations.columns.incident_par[index] = _distributed_runtime_value(object_id, context.time) end @@ -169,8 +161,8 @@ function PlantSimEngine.run!( context, ) status.private_runs += 1 - destinations = _distributed_runtime_destination(context, :leaves) - for index in eachindex(destinations.destination_ids) + destinations = output_targets(context, (:incident_par,)) + for index in eachindex(object_ids(destinations)) destinations.columns.incident_par[index] = 100.0 + status.private_runs end @@ -221,9 +213,9 @@ function _distributed_runtime_applications( name=:distributed_runtime_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), every=writer_every, @@ -462,9 +454,9 @@ end name=:distributed_runtime_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -603,9 +595,9 @@ end name=:distributed_runtime_stateful_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), output_routing=(private_runs=:stream_only,), @@ -664,13 +656,13 @@ end name=:distributed_runtime_sun_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many( scale=:Leaf, kind=:sun, within=SceneScope(), ); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -681,13 +673,13 @@ end name=:distributed_runtime_shade_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many( scale=:Leaf, kind=:shade, within=SceneScope(), ); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -727,9 +719,9 @@ end name=:distributed_runtime_lag_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -788,9 +780,9 @@ end name=:distributed_runtime_integrated_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), every=Hour(1), @@ -871,9 +863,9 @@ end name=:distributed_runtime_plant_writer, on=Many(scale=:Plant), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=Subtree()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -903,11 +895,11 @@ end simulation.compiled.distributed_outputs.by_execution_target @test initial_targets[ (:distributed_runtime_plant_writer, ObjectId(:plant_a)) - ].leaves.destination_ids == ObjectId[ObjectId(:moving_leaf)] + ].output_1.destination_ids == ObjectId[ObjectId(:moving_leaf)] @test isempty( initial_targets[ (:distributed_runtime_plant_writer, ObjectId(:plant_b)) - ].leaves.destination_ids, + ].output_1.destination_ids, ) reparent_object!(model, :moving_leaf, :plant_b) @@ -930,11 +922,11 @@ end @test isempty( reparented_targets[ (:distributed_runtime_plant_writer, ObjectId(:plant_a)) - ].leaves.destination_ids, + ].output_1.destination_ids, ) plant_b_binding = reparented_targets[ (:distributed_runtime_plant_writer, ObjectId(:plant_b)) - ].leaves + ].output_1 @test plant_b_binding.destination_ids == ObjectId[ObjectId(:moving_leaf)] moving_leaf = only(model_objects(model; scale=:Leaf)) @@ -964,7 +956,7 @@ end isempty( removed_targets[ (:distributed_runtime_plant_writer, ObjectId(plant_id)) - ].leaves.destination_ids, + ].output_1.destination_ids, ) for plant_id in (:plant_a, :plant_b) ) @@ -990,13 +982,13 @@ end name=:distributed_runtime_sun_only_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many( scale=:Leaf, kind=:sun, within=SceneScope(), ); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -1020,13 +1012,13 @@ end name=:distributed_runtime_shade_only_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many( scale=:Leaf, kind=:shade, within=SceneScope(), ); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -1095,9 +1087,9 @@ end name=:distributed_runtime_policy_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), diff --git a/test/test-model-graph-editor-extension.jl b/test/test-model-graph-editor-extension.jl index 1d354f360..853cbe8fa 100644 --- a/test/test-model-graph-editor-extension.jl +++ b/test/test-model-graph-editor-extension.jl @@ -13,6 +13,13 @@ struct EditorConsumerModel <: AbstractEditorConsumerModel end PlantSimEngine.inputs_(::EditorConsumerModel) = (signal=Required(Float64),) PlantSimEngine.outputs_(::EditorConsumerModel) = (result=-Inf,) +struct EditorDistributedModel <: AbstractEditorSourceModel end +PlantSimEngine.outputs_(::EditorDistributedModel) = ( + signal=Distributed(Default(0.0)), + absorbed=Distributed(Default(0.0)), + total=0.0, +) + struct EditorNamedStatusTransform end function (::EditorNamedStatusTransform)(variable, value) @@ -67,6 +74,45 @@ editor_template_ref(instance, application_id) = Dict( "instance" => string(instance), ) +@testset "Editor output destinations preserve omission and variable partitions" begin + model = CompositeModel( + Object(10; scale=:Scene), Object(11; scale=:Leaf, parent=10); + applications=(ModelSpec(EditorDistributedModel(); name=:writer, on=One(id=10), + outputs_to=(OutputTo(Many(scale=:Leaf, within=SceneScope())),)),), + ) + session = edit_graph(model; port=0, open_browser=false, autosave=false) + extension = Base.get_extension(PlantSimEngine, :PlantSimEngineGraphEditorExt) + try + selector = Dict("multiplicity" => "one", "criteria" => Dict("id" => 11)) + command = Dict( + "kind" => "set_output_destinations", + "applicationRef" => editor_global_ref(:writer), + "destinations" => [Dict("selector" => selector, "vars" => nothing)], + ) + inferred = extension._edit_from_command(session, command) + @test only(inferred.destinations).vars === nothing + command["destinations"] = [Dict("selector" => selector, "vars" => ["absorbed", "signal"])] + explicit = extension._edit_from_command(session, command) + edited = apply_model_graph_edit(session.model, explicit) + @test only(outputs_to(only(edited.applications))).vars == (:absorbed, :signal) + @test only(outputs_to(only(session.model.applications))).vars === nothing + + command["destinations"] = [Dict("selector" => selector, "vars" => [name]) for name in ("signal", "absorbed")] + partition = extension._edit_from_command(session, command) + edited_partition = apply_model_graph_edit(session.model, partition) + @test Tuple(entry.vars for entry in outputs_to(only(edited_partition.applications))) == ((:signal,), (:absorbed,)) + restored = Base.include_string(Main, Authoring.scenario_source(edited_partition), "editor_output_destinations.jl") + @test Tuple(entry.vars for entry in outputs_to(only(restored.applications))) == ((:signal,), (:absorbed,)) + + command["destinations"] = [Dict("selector" => selector, "vars" => String[])] + @test_throws "requires at least one variable name" extension._edit_from_command(session, command) + command["destinations"] = [Dict("selector" => selector, "vars" => Dict("signal" => 0.0))] + @test_throws "null or an array" extension._edit_from_command(session, command) + finally + close(session) + end +end + @testset "session lifecycle and edits" begin model = CompositeModel( Object(:leaf; name=:leaf, scale=:Leaf, status=Status(driver=1.0)); diff --git a/test/test-model-graph-view.jl b/test/test-model-graph-view.jl index 14f66d80c..29a5bcb79 100644 --- a/test/test-model-graph-view.jl +++ b/test/test-model-graph-view.jl @@ -51,7 +51,16 @@ PlantSimEngine.environment_outputs_(::ModelGraphEnvironmentModel) = (leaf_temper struct ModelGraphDistributedWriterModel <: AbstractModelGraphDistributedWriterModel end PlantSimEngine.inputs_(::ModelGraphDistributedWriterModel) = NamedTuple() -PlantSimEngine.outputs_(::ModelGraphDistributedWriterModel) = NamedTuple() +PlantSimEngine.outputs_(::ModelGraphDistributedWriterModel) = (signal=Distributed(Default(0.0)),) + +struct ModelGraphInitializerControllerModel <: AbstractModelGraphDistributedWriterModel end + +struct ModelGraphMixedOutputModel <: AbstractModelGraphDistributedWriterModel end +PlantSimEngine.outputs_(::ModelGraphMixedOutputModel) = ( + local_values=Float32[0, 1], + signal=Distributed(Default(0.0f0)), + absorbed=Distributed(Required(Real)), +) struct ModelGraphGenericTypeModel <: AbstractModelGraphGenericTypeModel end PlantSimEngine.inputs_(::ModelGraphGenericTypeModel) = (driver=Required(Real),) @@ -236,10 +245,104 @@ end @test occursin("Applications", html) end +@testset "Distributed graph ports and scenario serialization" begin + destinations = ( + (OutputTo(Many(scale=:Leaf, within=SceneScope())),), + (OutputTo(Many(scale=:Leaf, within=SceneScope()); vars=(:absorbed, :signal)),), + ( + OutputTo(Many(scale=:Leaf, within=SceneScope()); vars=(:signal,)), + OutputTo(One(id=11); vars=(:absorbed,)), + ), + ) + for output_destinations in destinations + spec = ModelSpec(ModelGraphMixedOutputModel(); name=:writer, on=One(id=10), outputs_to=output_destinations) + model = CompositeModel( + Object(10; scale=:Scene), + Object(11; scale=:Leaf, parent=10, status=Status(absorbed=1.0f0)); + applications=(spec,), + ) + view = model_graph_view(model) + @test isempty(view.diagnostics) + application = only(view.applications) + ports = Dict(port["name"] => port for port in application["outputs"]) + @test ports["local_values"]["storage"] == "local" + @test ports["local_values"]["expectedType"] == "Vector{Float32}" + @test ports["signal"]["storage"] == ports["absorbed"]["storage"] == "distributed" + @test ports["signal"]["expectedType"] == "Float32" + @test ports["signal"]["default"] === 0.0f0 + @test ports["absorbed"]["expectedType"] == "Real" + @test ports["absorbed"]["declaration"] == "required" + @test isnothing(ports["absorbed"]["default"]) + @test length(application["outputsTo"]) == length(output_destinations) + for (entry, original) in zip(application["outputsTo"], output_destinations) + @test entry["vars"] == (isnothing(original.vars) ? nothing : collect(string.(original.vars))) + @test entry["origin"] == (isnothing(original.vars) ? "inferred" : "explicit") + @test entry["resolvedVars"] == (isnothing(original.vars) ? ["signal", "absorbed"] : collect(string.(original.vars))) + end + output_rows = filter(row -> row["role"] == "output", view.initialization) + @test only(row for row in output_rows if row["variable"] == "local_values")["objectId"] == 10 + @test all(row["objectId"] == 11 && row["storage"] == "distributed" + for row in output_rows if row["variable"] in ("signal", "absorbed")) + @test length(output_rows) == 3 + @test isnothing(model_object(model, 10).status) + @test propertynames(model_object(model, 11).status) == (:absorbed,) + + code = Authoring.scenario_source(model) + @test occursin("outputs_to=(OutputTo(", code) + restored = Base.include_string(Main, code, "distributed_graph_scenario_roundtrip.jl") + restored_destinations = outputs_to(only(restored.applications)) + @test length(restored_destinations) == length(output_destinations) + for (restored_entry, original) in zip(restored_destinations, output_destinations) + @test restored_entry.vars == original.vars + @test repr(restored_entry.selector) == repr(original.selector) + @test restored_entry.coverage == original.coverage + end + @test isempty(model_graph_view(restored).diagnostics) + end + + missing_binding = CompositeModel( + Object(10; scale=:Scene); + applications=(ModelSpec(ModelGraphMixedOutputModel(); name=:writer, on=One(id=10)),), + ) + missing_view = model_graph_view(missing_binding) + @test any(diagnostic["severity"] == "error" for diagnostic in missing_view.diagnostics) + @test isempty(only(missing_view.applications)["outputsTo"]) + + missing_storage = CompositeModel( + Object(10; scale=:Scene), Object(11; scale=:Leaf, parent=10); + applications=(ModelSpec(ModelGraphMixedOutputModel(); name=:writer, on=One(id=10), + outputs_to=(OutputTo(One(id=11)),)),), + ) + missing_storage_view = model_graph_view(missing_storage) + @test any(diagnostic["severity"] == "error" for diagnostic in missing_storage_view.diagnostics) + required = only(row for row in missing_storage_view.initialization if row["variable"] == "absorbed") + @test required["disposition"] == "required" + @test required["objectId"] == 11 + @test required["expectedType"] == "Real" + @test required["storage"] == "distributed" +end + +@testset "Graph destination edits preserve anonymous declaration intent" begin + model = CompositeModel( + Object(:scene; scale=:Scene), Object(:leaf; scale=:Leaf, parent=:scene); + applications=(ModelSpec(ModelGraphDistributedWriterModel(); name=:writer, on=One(id=:scene), + outputs_to=(OutputTo(Many(scale=:Leaf, within=SceneScope())),)),), + ) + edited = apply_model_graph_edit(model, SetModelOutputDestinations( + model_graph_global(:writer), (OutputTo(One(id=:leaf); vars=(:signal,)),), + )) + @test only(outputs_to(only(model.applications))).vars === nothing + @test only(outputs_to(only(edited.applications))).vars == (:signal,) + @test only(only(model_graph_view(edited).applications)["outputsTo"])["origin"] == "explicit" + @test_throws "distributed" apply_model_graph_edit(model, SetModelOutputDestinations( + model_graph_global(:writer), (OutputTo(One(id=:leaf); vars=(:unknown,)),), + )) +end + @testset "CompositeModel graph compiles distributed writers like the strict compiler" begin leaf_destination = () -> OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(signal=Default(0.0),), + vars=(:signal,), ) model = CompositeModel( Object(:scene; scale=:Scene), @@ -254,13 +357,13 @@ end ModelGraphDistributedWriterModel(); name=:first_writer, on=One(scale=:Scene), - outputs_to=(leaves=leaf_destination(),), + outputs_to=(leaf_destination(),), ), ModelSpec( ModelGraphDistributedWriterModel(); name=:second_writer, on=One(scale=:Scene), - outputs_to=(leaves=leaf_destination(),), + outputs_to=(leaf_destination(),), updates=Updates(:signal; after=:first_writer), ), ), @@ -341,7 +444,7 @@ end ModelGraphDistributedWriterModel(); name=:empty_writer, on=One(scale=:Scene), - outputs_to=(leaves=leaf_destination(),), + outputs_to=(leaf_destination(),), ), ), ) @@ -886,7 +989,7 @@ end on=Many(scale=:Leaf), ), ModelSpec( - ModelGraphDistributedWriterModel(); + ModelGraphInitializerControllerModel(); name=:creator, on=One(id=:plant), ), diff --git a/test/test-model-initializers.jl b/test/test-model-initializers.jl index caf42a4f8..c8a67b679 100644 --- a/test/test-model-initializers.jl +++ b/test/test-model-initializers.jl @@ -655,7 +655,8 @@ struct InitializerDistributedWriterModel{T} <: end PlantSimEngine.inputs_(::InitializerDistributedWriterModel) = NamedTuple() -PlantSimEngine.outputs_(::InitializerDistributedWriterModel) = NamedTuple() +PlantSimEngine.outputs_(::InitializerDistributedWriterModel) = + (incident_par=Distributed(Default(0.0)),) function PlantSimEngine.run!( model::InitializerDistributedWriterModel, @@ -664,7 +665,7 @@ function PlantSimEngine.run!( constants, context, ) - targets = output_targets(context, :plants) + targets = output_targets(context, (:incident_par,)) fill!(targets.columns.incident_par, model.multiplier * context.time) return nothing end @@ -753,17 +754,23 @@ function PlantSimEngine.run!( return nothing end +struct InitializerRemoteMassModel <: AbstractInitializer_Distributed_WriterModel end +# This fixture is only used to exercise initializer/distributed-writer validation. +PlantSimEngine.inputs_(::InitializerRemoteMassModel) = (previous_mass=Default(0.0),) +PlantSimEngine.outputs_(::InitializerRemoteMassModel) = (mass=Distributed(Default(0.0)),) + function initializer_leaf_application(; every=nothing, output_routing=NamedTuple(), - outputs_to=NamedTuple(), + outputs_to=(), calls=NamedTuple(), environment=nothing, policy=PreviousTimeStep(:previous_mass), throw_after_mutation=false, + model=InitializerLeafStateModel(throw_after_mutation), ) return ModelSpec( - InitializerLeafStateModel(throw_after_mutation); + model; name=:leaf_initializer, on=Many(scale=:Leaf), inputs=( @@ -881,9 +888,9 @@ end name=:writer_a, on=One(scale=:Scene), outputs_to=( - plants=OutputTo( + OutputTo( Many(id=:plant_a, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -892,9 +899,9 @@ end name=:writer_b, on=One(scale=:Scene), outputs_to=( - plants=OutputTo( + OutputTo( Many(id=:plant_b, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -1603,13 +1610,13 @@ end initializer_creator_application(), initializer_leaf_application(), ModelSpec( - InitializerOverlapWriterModel(); + InitializerRemoteMassModel(); name=:distributed_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(mass=Default(0.0),), + vars=(:mass,), ), ), ), @@ -1640,10 +1647,11 @@ end applications=( initializer_creator_application(), initializer_leaf_application( + model=InitializerRemoteMassModel(), outputs_to=( - plant=OutputTo( + OutputTo( One(scale=:Plant, within=SceneScope()); - vars=(mass=Default(0.0),), + vars=(:mass,), ), ), ), diff --git a/test/test-model-output-destination-declarations.jl b/test/test-model-output-destination-declarations.jl index 38b87e84d..cfee30128 100644 --- a/test/test-model-output-destination-declarations.jl +++ b/test/test-model-output-destination-declarations.jl @@ -5,12 +5,15 @@ PlantSimEngine.@process "output_destination_probe" verbose = false PlantSimEngine.@process "output_destination_local" verbose = false PlantSimEngine.@process "output_destination_caller" verbose = false -struct OutputDestinationProbeModel <: AbstractOutput_Destination_ProbeModel end +struct OutputDestinationProbeModel{O} <: AbstractOutput_Destination_ProbeModel + declarations::O +end +OutputDestinationProbeModel() = OutputDestinationProbeModel((incident_par=Distributed(Default(0.0)),)) struct OutputDestinationLocalModel <: AbstractOutput_Destination_LocalModel end struct OutputDestinationCallerModel <: AbstractOutput_Destination_CallerModel end PlantSimEngine.inputs_(::OutputDestinationProbeModel) = NamedTuple() -PlantSimEngine.outputs_(::OutputDestinationProbeModel) = NamedTuple() +PlantSimEngine.outputs_(model::OutputDestinationProbeModel) = model.declarations PlantSimEngine.inputs_(::OutputDestinationLocalModel) = NamedTuple() PlantSimEngine.outputs_(::OutputDestinationLocalModel) = (incident_par=0.0,) PlantSimEngine.inputs_(::OutputDestinationCallerModel) = NamedTuple() @@ -21,75 +24,33 @@ PlantSimEngine.run!(::OutputDestinationCallerModel, status, environment, constan nothing @testset "OutputTo declarations" begin - selector = Many( - scale=(:Leaf, :Internode), - within=SceneScope(), - ) - destination = OutputTo( - selector; - vars=( - incident_par=Default(0.0), - absorbed_par=Required(Float64), - ), - ) - + selector = Many(scale=(:Leaf, :Internode), within=SceneScope()) + destination = OutputTo(selector; vars=(:incident_par, :absorbed_par)) @test destination.selector === selector - @test destination.vars.incident_par isa Default{Float64} - @test destination.vars.incident_par.value == 0.0 - @test destination.vars.absorbed_par isa Required{Float64} + @test destination.vars === (:incident_par, :absorbed_par) @test destination.coverage === :exact + @test OutputTo(selector).vars === nothing + @test OutputTo(Many(scale=:Leaf, within=Self()); vars=(:area,)).selector isa Many - relative_destination = OutputTo( - Many(scale=:Leaf, within=Self()); - vars=(area=Required(Real),), - ) - @test relative_destination.selector isa Many - @test relative_destination.vars.area isa Required{Real} - - declarations = (organs=destination,) - spec = ModelSpec( - OutputDestinationProbeModel(); - name=:scene_probe, - on=One(scale=:Scene), - outputs_to=declarations, - ) + declarations = (destination,) + spec = ModelSpec(OutputDestinationProbeModel(); name=:scene_probe, + on=One(scale=:Scene), outputs_to=declarations) @test outputs_to(spec) === declarations - replacement = PlantSimEngine._replace_model_spec(spec; name=:renamed_scene_probe) @test replacement.name === :renamed_scene_probe @test outputs_to(replacement) === declarations - - default_spec = ModelSpec(OutputDestinationProbeModel()) - @test outputs_to(default_spec) === NamedTuple() - @test typeof(outputs_to(default_spec)) === typeof(NamedTuple()) + @test outputs_to(ModelSpec(OutputDestinationProbeModel())) === () end @testset "OutputTo validation" begin selector = Many(scale=:Leaf, within=SceneScope()) - valid_vars = (incident_par=Default(0.0),) - - @test_throws "requires at least one destination variable" OutputTo( - selector; - vars=NamedTuple(), - ) - @test_throws "requires a non-empty `NamedTuple`" OutputTo( - selector; - vars=(:incident_par => Default(0.0),), - ) - @test_throws "Invalid declaration(s)" OutputTo( - selector; - vars=(incident_par=0.0,), - ) - @test_throws "Only `coverage=:exact`" OutputTo( - selector; - vars=valid_vars, - coverage=:subset, - ) - @test_throws "output-destination selectors must use" OutputTo( - :leaves; - vars=valid_vars, - ) - + valid_vars = (:incident_par,) + for invalid_vars in ((), NamedTuple(), (:incident_par => Default(0.0),), + (incident_par=Default(0.0),), (:incident_par, :incident_par), ("incident_par",)) + @test_throws ArgumentError OutputTo(selector; vars=invalid_vars) + end + @test_throws "Only `coverage=:exact`" OutputTo(selector; vars=valid_vars, coverage=:subset) + @test_throws "output-destination selectors must use" OutputTo(:leaves; vars=valid_vars) invalid_selectors = ( Many(scale=:Leaf, process=:photosynthesis), Many(scale=:Leaf, application=:leaf_model), @@ -101,21 +62,13 @@ end ) for invalid_selector in invalid_selectors @test_throws "not valid in output-destination selectors" OutputTo( - invalid_selector; - vars=valid_vars, - ) + invalid_selector; vars=valid_vars) end - - model = OutputDestinationProbeModel() destination = OutputTo(selector; vars=valid_vars) - @test_throws "Use a `NamedTuple` of named `OutputTo(...)` declarations" ModelSpec( - model; - outputs_to=(destination,), - ) - @test_throws "must be an `OutputTo(...)` declaration" ModelSpec( - model; - outputs_to=(organs=selector,), - ) + @test_throws ArgumentError ModelSpec(OutputDestinationProbeModel(); + outputs_to=(organs=destination,)) + @test_throws ArgumentError ModelSpec(OutputDestinationProbeModel(); + outputs_to=(selector,)) end @testset "compiled output destinations" begin @@ -135,16 +88,16 @@ end ); applications=( ModelSpec( - OutputDestinationProbeModel(); + OutputDestinationProbeModel(( + incident_par=Distributed(Default(0.0)), + absorbed_par=Distributed(Required(Float64)), + )); name=:scene_probe, on=One(scale=:Scene), outputs_to=( - organs=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=( - incident_par=Default(0.0), - absorbed_par=Required(Float64), - ), + vars=(:incident_par, :absorbed_par), ), ), ), @@ -159,7 +112,7 @@ end binding = only(compiled.distributed_outputs.bindings) @test binding.application_id == :scene_probe @test binding.execution_object_id == ObjectId(:scene) - @test binding.group == :organs + @test binding.group == :output_1 @test binding.destination_ids == ObjectId[ObjectId(:leaf_1), ObjectId(:leaf_2)] @test propertynames(binding.columns) == (:incident_par, :absorbed_par) @test collect(binding.columns.incident_par) == [7.0, 0.0] @@ -174,14 +127,14 @@ end :scene_probe diagnostic = only(Diagnostics.explain_output_bindings(compiled)) @test diagnostic.application_id == :scene_probe - @test diagnostic.group == :organs + @test diagnostic.variables == (:incident_par, :absorbed_par) @test diagnostic.destination_ids == [:leaf_1, :leaf_2] writer = only( row for row in Diagnostics.explain_writers(compiled) if row.object_id == :leaf_1 && row.variable == :incident_par ) @test writer.owner_kinds == [:output_destination] - @test writer.output_groups == [:organs] + @test writer.output_groups == [:output_1] end @testset "output destination initialization is atomic" begin @@ -190,16 +143,16 @@ end Object(:leaf; scale=:Leaf, parent=:scene); applications=( ModelSpec( - OutputDestinationProbeModel(); + OutputDestinationProbeModel(( + incident_par=Distributed(Default(0.0)), + absorbed_par=Distributed(Required(Float64)), + )); name=:scene_probe, on=One(scale=:Scene), outputs_to=( - organs=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=( - incident_par=Default(0.0), - absorbed_par=Required(Float64), - ), + vars=(:incident_par, :absorbed_par), ), ), ), @@ -232,9 +185,9 @@ end name=:scene_probe, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -258,9 +211,9 @@ end name=:scene_probe, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -320,9 +273,9 @@ end name=:scene_probe, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -335,9 +288,9 @@ end name=:scene_probe, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), updates=Updates(:incident_par; after=:leaf_source), @@ -358,19 +311,19 @@ end name=:scene_probe, on=One(scale=:Scene), outputs_to=( - first=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), - second=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), ), ) - @test_throws "declares more than one canonical writer" Advanced.refresh_bindings!( + @test_throws ArgumentError Advanced.refresh_bindings!( overlapping, ) @@ -382,16 +335,16 @@ end name=:stream_only_self_writer, on=One(scale=:Leaf), outputs_to=( - self=OutputTo( + OutputTo( One(within=Self()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), output_routing=(incident_par=:stream_only,), ), ), ) - @test_throws "publishes stream-only local output `incident_par`" Advanced.refresh_bindings!( + @test_throws ArgumentError Advanced.refresh_bindings!( stream_only_self_collision, ) end @@ -409,9 +362,9 @@ end name=:plant_probe, on=Many(scale=:Plant), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=Subtree()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -420,9 +373,9 @@ end compiled = Advanced.refresh_bindings!(model) @test length(compiled.distributed_outputs.bindings) == 2 by_target = compiled.distributed_outputs.by_execution_target - @test by_target[(:plant_probe, ObjectId(:plant_a))].leaves.destination_ids == + @test by_target[(:plant_probe, ObjectId(:plant_a))].output_1.destination_ids == ObjectId[ObjectId(:leaf_a)] - @test by_target[(:plant_probe, ObjectId(:plant_b))].leaves.destination_ids == + @test by_target[(:plant_probe, ObjectId(:plant_b))].output_1.destination_ids == ObjectId[ObjectId(:leaf_b)] @test Set(keys(compiled.distributed_outputs.writer_ownership)) == Set([ (ObjectId(:leaf_a), :incident_par), @@ -431,7 +384,7 @@ end @test compiled.distributed_outputs.destination_ids_by_application_variable[ (:plant_probe, :incident_par) ] == ObjectId[ObjectId(:leaf_a), ObjectId(:leaf_b)] - @test by_target[(:plant_probe, ObjectId(:plant_a))].leaves.destination_ids == + @test by_target[(:plant_probe, ObjectId(:plant_a))].output_1.destination_ids == ObjectId[ObjectId(:leaf_a)] dynamic_model = CompositeModel( @@ -477,9 +430,9 @@ end name=:manual_probe, on=Many(scale=:Leaf), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(incident_par=Default(0.0),), + vars=(:incident_par,), ), ), ), @@ -493,7 +446,7 @@ end Object(:scene; scale=:Scene); applications=( ModelSpec( - OutputDestinationProbeModel(); + OutputDestinationCallerModel(); name=:plain_probe, on=One(scale=:Scene), ), @@ -506,3 +459,203 @@ end PlantSimEngine.NoCompiledDistributedOutputs @test isempty(Diagnostics.explain_output_bindings(compiled)) end + +struct OutputDestinationLocalPayload + coefficient::Float32 +end + +function output_destination_schema_scene(model, destinations; leaf_status=nothing) + return CompositeModel( + Object(:scene; scale=:Scene), + Object(:leaf; scale=:Leaf, parent=:scene, status=leaf_status); + applications=(ModelSpec(model; name=:schema_probe, on=One(scale=:Scene), + outputs_to=destinations),), + ) +end + +@testset "model-owned distributed schemas and inferred variables" begin + payload = OutputDestinationLocalPayload(3.0f0) + model = OutputDestinationProbeModel(( + incident_par=Distributed(Default(1.0f0)), + local_array=Float32[2, 3], + local_tuple=(4, 5), + local_payload=payload, + absorbed_par=Distributed(Default(2.0f0)), + local_total=0.0f0, + )) + @test outputs(model) == (:incident_par, :local_array, :local_tuple, + :local_payload, :absorbed_par, :local_total) + types = PlantSimEngine.variables_typed(model) + @test types.incident_par === Float32 + @test types.absorbed_par === Float32 + @test types.local_array === Vector{Float32} + @test types.local_payload === OutputDestinationLocalPayload + + inferred = output_destination_schema_scene(model, + (OutputTo(Many(scale=:Leaf)),)) + explicit = output_destination_schema_scene(model, + (OutputTo(Many(scale=:Leaf); vars=(:incident_par, :absorbed_par)),)) + for scenario in (inferred, explicit) + compiled = Advanced.refresh_bindings!(scenario) + leaf = model_object(scenario, :leaf).status + scene = model_object(scenario, :scene).status + @test leaf.incident_par === 1.0f0 + @test leaf.absorbed_par === 2.0f0 + @test !(:local_total in propertynames(leaf)) + @test !(:incident_par in propertynames(scene)) + @test !(:absorbed_par in propertynames(scene)) + @test scene.local_array == Float32[2, 3] + @test scene.local_tuple == (4, 5) + @test scene.local_payload == payload + @test scene.local_total === 0.0f0 + diagnostic = only(Diagnostics.explain_output_bindings(compiled)) + @test diagnostic.variables == (:incident_par, :absorbed_par) + @test diagnostic.destination_index == 1 + @test diagnostic.origin == (scenario === inferred ? :inferred : :explicit) + application = only(Diagnostics.explain_applications(compiled)) + @test application.outputs == outputs(model) + @test application.local_outputs == (:local_array, :local_tuple, :local_payload, :local_total) + @test application.distributed_outputs == (:incident_par, :absorbed_par) + end + inferred_binding = only(Advanced.refresh_bindings!(inferred).distributed_outputs.bindings) + explicit_binding = only(Advanced.refresh_bindings!(explicit).distributed_outputs.bindings) + @test inferred_binding.destination_ids == explicit_binding.destination_ids + @test collect(inferred_binding.columns.incident_par) == + collect(explicit_binding.columns.incident_par) +end + +@testset "invalid distributed partitions fail before destination mutation" begin + probe = OutputDestinationProbeModel(( + incident_par=Distributed(Default(1.0)), + absorbed_par=Distributed(Default(2.0)), + local_total=0.0, + )) + selector = Many(scale=:Leaf) + incident = OutputTo(selector; vars=(:incident_par,)) + absorbed = OutputTo(selector; vars=(:absorbed_par,)) + inferred = OutputTo(selector) + invalid_partitions = ( + missing_all=(), + missing_one=(incident,), + unknown=(OutputTo(selector; vars=(:incident_par, :absorbed_par, :typo)),), + local_variable=(OutputTo(selector; vars=(:incident_par, :absorbed_par, :local_total)),), + duplicate=(incident, absorbed, incident), + inferred_first=(inferred, absorbed), + inferred_last=(incident, inferred), + both_inferred=(inferred, inferred), + ) + for (case, destinations) in pairs(invalid_partitions) + @testset "$case" begin + scenario = output_destination_schema_scene(probe, destinations; + leaf_status=Status(existing=7.0)) + @test_throws ArgumentError Advanced.refresh_bindings!(scenario) + leaf = model_object(scenario, :leaf).status + @test propertynames(leaf) == (:existing,) + @test leaf.existing == 7.0 + end + end + for destinations in ((inferred,), (incident,)) + scenario = output_destination_schema_scene(OutputDestinationLocalModel(), destinations) + @test_throws ArgumentError Advanced.refresh_bindings!(scenario) + @test isnothing(model_object(scenario, :leaf).status) + end + # Explicit partitions are independent of entry order. + for destinations in ((incident, absorbed), (absorbed, incident)) + scenario = output_destination_schema_scene(probe, destinations) + Advanced.refresh_bindings!(scenario) + @test model_object(scenario, :leaf).status.incident_par == 1.0 + @test model_object(scenario, :leaf).status.absorbed_par == 2.0 + end +end + +@testset "Required distributed values preserve compatible destination types" begin + probe = OutputDestinationProbeModel((incident_par=Distributed(Required(Real)),)) + for initial in (1.0f0, 1.0, big"1.0") + scenario = output_destination_schema_scene(probe, (OutputTo(One(scale=:Leaf)),); + leaf_status=Status(incident_par=initial)) + Advanced.refresh_bindings!(scenario) + @test model_object(scenario, :leaf).status.incident_par == initial + @test typeof(model_object(scenario, :leaf).status.incident_par) === typeof(initial) + end + invalid = output_destination_schema_scene(probe, (OutputTo(Many(scale=:Leaf)),); + leaf_status=Status(incident_par="invalid")) + @test_throws Exception Advanced.refresh_bindings!(invalid) + @test model_object(invalid, :leaf).status.incident_par == "invalid" + @test_throws ArgumentError Distributed(0.0) + @test_throws ArgumentError Distributed(Distributed(Default(0.0))) +end + +@testset "distributed defaults follow template and effective override models" begin + probe(value) = OutputDestinationProbeModel(( + incident_par=Distributed(Default(value)), + absorbed_par=Distributed(Default(2 * value)), + )) + reversed_probe = OutputDestinationProbeModel(( + absorbed_par=Distributed(Default(22.0f0)), + incident_par=Distributed(Default(11.0f0)), + )) + template = CompositeModelTemplate(( + ModelSpec(probe(1.0f0); name=:probe, on=Many(scale=:Plant), + outputs_to=(OutputTo(Many(scale=:Leaf, within=Subtree())),)), + )) + function instance(name; overrides=NamedTuple(), object_overrides=()) + root_id = Symbol(:plant_, name) + leaf_id = Symbol(:leaf_, name) + return ObjectInstance(name, template; + root=Object(root_id; scale=:Plant), + objects=(Object(leaf_id; scale=:Leaf, parent=root_id),), + overrides=overrides, object_overrides=object_overrides) + end + scenario = CompositeModel( + instance(:a), + instance(:b; overrides=(probe=probe(9.0f0),)), + instance(:c; object_overrides=(Override(object=:plant_c, + application=:probe, model=reversed_probe),)), + ) + compiled = Advanced.refresh_bindings!(scenario) + @test model_object(scenario, :leaf_a).status.incident_par === 1.0f0 + @test model_object(scenario, :leaf_b).status.incident_par === 9.0f0 + @test model_object(scenario, :leaf_c).status.incident_par === 11.0f0 + @test model_object(scenario, :leaf_a).status.absorbed_par === 2.0f0 + @test model_object(scenario, :leaf_b).status.absorbed_par === 18.0f0 + @test model_object(scenario, :leaf_c).status.absorbed_par === 22.0f0 + @test length(Diagnostics.explain_output_bindings(compiled)) == 3 + for root_id in (:plant_a, :plant_b, :plant_c) + @test !(:incident_par in propertynames(model_object(scenario, root_id).status)) + end + + for replacement in ( + OutputDestinationProbeModel(( + incident_par=0.0f0, absorbed_par=Distributed(Default(0.0f0)), + )), + OutputDestinationProbeModel(( + unknown=Distributed(Default(0.0f0)), absorbed_par=Distributed(Default(0.0f0)), + )), + OutputDestinationProbeModel(( + incident_par=Distributed(Default("invalid")), absorbed_par=Distributed(Default(0.0f0)), + )), + ) + @test_throws "incompatible" CompositeModel( + instance(:invalid; overrides=(probe=replacement,))) + @test_throws "incompatible" CompositeModel( + instance(:invalid; object_overrides=(Override(object=:plant_invalid, + application=:probe, model=replacement),))) + end +end + +@testset "distributed outputs reject stream-only routing before mutation" begin + for selector in (One(within=Self()), Many(scale=:Leaf)) + scenario = CompositeModel( + Object(:scene; scale=:Scene, status=Status(existing=1.0)), + Object(:leaf; scale=:Leaf, parent=:scene, status=Status(existing=2.0)); + applications=(ModelSpec(OutputDestinationProbeModel(); name=:private_distributed, + on=One(scale=:Scene), outputs_to=(OutputTo(selector),), + output_routing=(incident_par=:stream_only,)),), + ) + @test_throws "stream_only" Advanced.refresh_bindings!(scenario) + @test propertynames(model_object(scenario, :scene).status) == (:existing,) + @test propertynames(model_object(scenario, :leaf).status) == (:existing,) + @test model_object(scenario, :scene).status.existing == 1.0 + @test model_object(scenario, :leaf).status.existing == 2.0 + end +end diff --git a/test/test-model-output-targets-api.jl b/test/test-model-output-targets-api.jl index 24ec27a69..efbc19e07 100644 --- a/test/test-model-output-targets-api.jl +++ b/test/test-model-output-targets-api.jl @@ -35,14 +35,8 @@ end PlantSimEngine.inputs_(::OutputTargetsApiActionModel) = NamedTuple() PlantSimEngine.outputs_(::OutputTargetsApiActionModel) = NamedTuple() -function PlantSimEngine.run!( - model::OutputTargetsApiWriterModel, - status, - environment, - constants, - context, -) - targets = output_targets(context, :organs) +function output_targets_api_run!(model::OutputTargetsApiWriterModel, context, variables) + targets = output_targets(context, variables) push!(model.seen_types, typeof(targets)) push!(model.seen_ids, collect(object_ids(targets))) push!(model.seen_lengths, length(targets)) @@ -51,17 +45,22 @@ function PlantSimEngine.run!( return nothing end -function PlantSimEngine.run!( - model::OutputTargetsApiActionModel, - status, - environment, - constants, - context, -) +function output_targets_api_run!(model::OutputTargetsApiActionModel, context, variables) model.action(context) return nothing end +struct OutputTargetsApiSchemaModel{M,O} <: AbstractOutput_Targets_Api_WriterModel + writer::M + declarations::O +end +PlantSimEngine.inputs_(::OutputTargetsApiSchemaModel) = NamedTuple() +PlantSimEngine.outputs_(model::OutputTargetsApiSchemaModel) = model.declarations +function PlantSimEngine.run!(model::OutputTargetsApiSchemaModel, status, environment, constants, context) + output_targets_api_run!(model.writer, context, keys(model.declarations)) + return nothing +end + mutable struct OutputTargetsApiCountingIds <: AbstractVector{ObjectId} values::Vector{ObjectId} reads::Base.RefValue{Int} @@ -79,7 +78,7 @@ end function output_targets_api_scene( writer; leaf_ids=(:leaf_a, :leaf_b), - vars=(incident_par=Default(0.0),), + declarations=(incident_par=Default(0.0),), ) objects = Object[Object(:scene; scale=:Scene)] for leaf_id in leaf_ids @@ -92,13 +91,13 @@ function output_targets_api_scene( objects...; applications=( ModelSpec( - writer; + OutputTargetsApiSchemaModel(writer, map(Distributed, declarations)); name=:output_targets_api_writer, on=One(scale=:Scene), outputs_to=( - organs=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=vars, + vars=keys(declarations), ), ), ), @@ -113,10 +112,10 @@ end function output_targets_api_failed_assignment( table; - vars=(incident_par=Default(0.0),), + declarations=(incident_par=Default(0.0),), ) writer = OutputTargetsApiWriterModel(table) - model = output_targets_api_scene(writer; vars=vars) + model = output_targets_api_scene(writer; declarations=declarations) error = try run!(model; outputs=:none) nothing @@ -174,7 +173,7 @@ end writer = OutputTargetsApiWriterModel(table) model = output_targets_api_scene( writer; - vars=( + declarations=( incident_par=Default(0.0), absorbed_par=Default(0.0), ), @@ -206,13 +205,13 @@ end source_element=[:element_b, :element_a], ) writer = OutputTargetsApiActionModel() do context - targets = output_targets(context, :organs) + targets = output_targets(context, (:incident_par, :absorbed_par)) assigned = assign_outputs!(targets, ids, columns) @test assigned === targets end model = output_targets_api_scene( writer; - vars=( + declarations=( incident_par=Default(0.0), absorbed_par=Default(0.0), ), @@ -239,7 +238,7 @@ end exact_allocations = Ref(-1) permuted_allocations = Ref(-1) writer = OutputTargetsApiActionModel() do context - targets = output_targets(context, :organs) + targets = output_targets(context, names) assign_outputs!(targets, exact_ids, exact_columns) exact_allocations[] = @allocated assign_outputs!( @@ -257,7 +256,7 @@ end end model = output_targets_api_scene( writer; - vars=output_targets_api_wide_vars(names), + declarations=output_targets_api_wide_vars(names), ) simulation = run!(model; outputs=:none) @@ -280,7 +279,7 @@ end push!( lookup_errors, output_targets_api_capture( - () -> output_targets(context, :missing_group), + () -> output_targets(context, (:missing_output,)), ), ) push!( @@ -290,7 +289,7 @@ end ), ) assign_outputs!( - output_targets(context, :organs), + output_targets(context, (:incident_par,)), ObjectId[ObjectId(:leaf_a), ObjectId(:leaf_b)], (incident_par=[1.0, 2.0],), ) @@ -301,15 +300,15 @@ end @test length(lookup_errors) == 2 @test all(error -> error isa ArgumentError, lookup_errors) missing_message = output_targets_api_error_message(lookup_errors[1]) - @test occursin("missing_group", missing_message) - @test occursin("available groups", missing_message) - @test occursin("organs", missing_message) + @test occursin("missing_output", missing_message) + @test occursin("distributed", missing_message) + @test occursin("incident_par", missing_message) invalid_message = output_targets_api_error_message(lookup_errors[2]) - @test occursin("symbol", invalid_message) + @test occursin("tuple", invalid_message) @test occursin("string", invalid_message) invalid_context_error = output_targets_api_capture( - () -> output_targets(nothing, :organs), + () -> output_targets(nothing, (:incident_par,)), ) @test invalid_context_error isa ArgumentError invalid_context_message = output_targets_api_error_message( @@ -328,7 +327,7 @@ end values_after_cross_carrier_view_alias = Ref(Float64[]) values_after_cross_carrier_alias = Ref(Float64[]) writer = OutputTargetsApiActionModel() do context - targets = output_targets(context, :organs) + targets = output_targets(context, (:incident_par,)) targets.columns.incident_par[1] = 10.0 targets.columns.incident_par[2] = 20.0 exact_ids = collect(object_ids(targets)) @@ -419,7 +418,7 @@ end incident_after_error = Ref(Float64[]) absorbed_after_error = Ref(Float64[]) writer = OutputTargetsApiActionModel() do context - targets = output_targets(context, :organs) + targets = output_targets(context, (:incident_par, :absorbed_par)) targets.columns.incident_par[1] = 10.0 targets.columns.incident_par[2] = 20.0 targets.columns.absorbed_par[1] = 1.0 @@ -440,7 +439,7 @@ end end model = output_targets_api_scene( writer; - vars=( + declarations=( incident_par=Default(0.0), absorbed_par=Default(0.0), ), @@ -479,7 +478,7 @@ end model = output_targets_api_scene( writer; leaf_ids=(:leaf_a, :leaf_b, :leaf_c), - vars=( + declarations=( incident_par=Default(0.0), absorbed_par=Default(0.0), ), @@ -539,7 +538,7 @@ end recovery_error = Ref{Any}(nothing) values_after_invalid = Ref(Float64[]) writer = OutputTargetsApiActionModel() do context - targets = output_targets(context, :organs) + targets = output_targets(context, (:incident_par,)) assign_outputs!( targets, valid_ids, @@ -583,7 +582,7 @@ end writer = OutputTargetsApiWriterModel(column_table) model = output_targets_api_scene( writer; - vars=( + declarations=( incident_par=Default(0.0), organ_label=Default(:unset), hit_count=Default(0), @@ -660,7 +659,7 @@ end ) error, model = output_targets_api_failed_assignment( invalid_late_column; - vars=( + declarations=( incident_par=Default(0.0), hit_count=Default(0), ), @@ -737,7 +736,7 @@ end ) error, model = output_targets_api_failed_assignment( missing_column_table; - vars=( + declarations=( incident_par=Default(0.0), absorbed_par=Default(0.0), ), @@ -824,3 +823,168 @@ end @test last(writer.seen_ids) == ObjectId[ObjectId(:first_leaf)] @test final_state(simulation, :first_leaf).incident_par == 7.5 end + +function output_targets_api_split_scene(action; second_selector=Many(kind=:leaf), empty=false) + objects = Object[Object(:scene; scale=:Scene)] + if !empty + append!(objects, [ + Object(:leaf_b; scale=:Leaf, kind=:leaf, parent=:scene), + Object(:leaf_a; scale=:Leaf, kind=:leaf, parent=:scene), + ]) + end + model = OutputTargetsApiSchemaModel(OutputTargetsApiActionModel(action), ( + x=Distributed(Default(0.0f0)), + y=Distributed(Default(0.0f0)), + )) + return CompositeModel(objects...; applications=( + ModelSpec(model; name=:split_writer, on=One(scale=:Scene), outputs_to=( + OutputTo(Many(scale=:Leaf); vars=(:x,)), + OutputTo(second_selector; vars=(:y,)), + )), + ), environment=(duration=Hour(1),)) +end + +@testset "combined output views align independent declarations by object ID" begin + seen = Ref(0) + scenario = output_targets_api_split_scene() do context + combined = output_targets(context, (:y, :x)) + x_only = output_targets(context, (:x,)) + @test propertynames(combined.columns) == (:y, :x) + @test propertynames(x_only.columns) == (:x,) + @test object_ids(combined) == object_ids(x_only) + @test collect(object_ids(combined)) == ObjectId.([:leaf_a, :leaf_b]) + @test eltype(combined.columns.x) === Float32 + @test eltype(combined.columns.y) === Float32 + assign_outputs!(combined, ObjectId.([:leaf_b, :leaf_a]), + (x=Float32[20, 10], y=Float32[2, 1], metadata=["b", "a"])) + @test collect(x_only.columns.x) == Float32[10, 20] + x_only.columns.x[1] = 30.0f0 + @test combined.columns.x[1] === 30.0f0 + @test_throws ArgumentError output_targets(context, ()) + @test_throws ArgumentError output_targets(context, (:x, :x)) + @test_throws ArgumentError output_targets(context, (:x, :unknown)) + @test_throws ArgumentError output_targets(context, :x) + seen[] += 1 + end + simulation = run!(scenario; outputs=:all) + @test seen[] == 1 + @test final_state(simulation, :leaf_a).x === 30.0f0 + @test final_state(simulation, :leaf_a).y === 1.0f0 + @test final_state(simulation, :leaf_b).x === 20.0f0 + @test !(:x in propertynames(model_object(scenario, :scene).status)) + @test haskey(outputs(simulation), (:split_writer, ObjectId(:leaf_a), :x)) + @test !haskey(outputs(simulation), (:split_writer, ObjectId(:scene), :x)) +end + +@testset "combined output view rejects unequal destinations before assignment" begin + calls_after_lookup = Ref(0) + action = context -> begin + targets = output_targets(context, (:x, :y)) + calls_after_lookup[] += 1 + fill!(targets.columns.x, 1.0f0) + end + scenario = output_targets_api_split_scene(action; + second_selector=One(id=:leaf_b)) + Advanced.refresh_bindings!(scenario) # Both independent bindings are valid. + @test_throws ArgumentError run!(scenario; outputs=:none) + @test calls_after_lookup[] == 0 + @test model_object(scenario, :leaf_a).status.x === 0.0f0 + @test model_object(scenario, :leaf_b).status.y === 0.0f0 + + separate = output_targets_api_split_scene(; second_selector=One(id=:leaf_b)) do context + fill!(output_targets(context, (:x,)).columns.x, 2.0f0) + fill!(output_targets(context, (:y,)).columns.y, 3.0f0) + end + simulation = run!(separate; outputs=:none) + @test final_state(simulation, :leaf_a).x === 2.0f0 + @test final_state(simulation, :leaf_b).y === 3.0f0 +end + +@testset "combined views refresh empty, growing, removed and unequal targets" begin + lengths = Int[] + scenario = output_targets_api_split_scene(; empty=true) do context + targets = output_targets(context, (:x, :y)) + push!(lengths, length(targets)) + fill!(targets.columns.x, 4.0f0) + fill!(targets.columns.y, 5.0f0) + end + simulation = run!(scenario; outputs=:all) + @test lengths == [0] + register_object!(scenario, Object(:new_leaf; scale=:Leaf, kind=:leaf); parent=:scene) + continue!(simulation) + @test lengths == [0, 1] + @test final_state(simulation, :new_leaf).x === 4.0f0 + @test final_state(simulation, :new_leaf).y === 5.0f0 + remove_object!(scenario, :new_leaf) + continue!(simulation) + @test lengths == [0, 1, 0] + @test length(outputs(simulation)[(:split_writer, ObjectId(:new_leaf), :x)]) == 1 + register_object!(scenario, Object(:unmatched_leaf; scale=:Leaf, kind=:other); parent=:scene) + @test_throws ArgumentError continue!(simulation) + @test lengths == [0, 1, 0] + @test model_object(scenario, :unmatched_leaf).status.x === 0.0f0 +end + +# Measure lookup itself through a specialized kernel call, independently of +# assign_outputs! and its warmed result-row permutation cache. +@noinline function output_targets_api_literal_lookup(context) + return output_targets(context, (:x, :y)) +end + +function output_targets_api_lookup_allocations(context) + output_targets_api_literal_lookup(context) + return @allocated output_targets_api_literal_lookup(context) +end + +@testset "literal-tuple output lookup is inferred and allocation-free" begin + for separate_declarations in (false, true) + allocations = Int[] + action = context -> begin + targets = @inferred output_targets_api_literal_lookup(context) + @test propertynames(targets.columns) == (:x, :y) + @test length(targets) == 2 + push!(allocations, output_targets_api_lookup_allocations(context)) + fill!(targets.columns.x, 7) + fill!(targets.columns.y, 8) + return nothing + end + scenario = if separate_declarations + output_targets_api_split_scene(action) + else + output_targets_api_scene(OutputTargetsApiActionModel(action); + declarations=(x=Default(0.0f0), y=Default(0.0f0))) + end + simulation = run!(scenario; steps=2, outputs=:none) + @test allocations == [0, 0] + @test final_state(simulation, :leaf_a).x === 7.0f0 + @test final_state(simulation, :leaf_b).y === 8.0f0 + end +end + +@testset "a distributed selector may include its execution object" begin + action = context -> begin + targets = output_targets(context, (:x,)) + assign_outputs!(targets, ObjectId.([:leaf_b, :plant, :leaf_a]), + (x=[7.0, 10.0, 3.0],)) + end + writer = OutputTargetsApiSchemaModel(OutputTargetsApiActionModel(action), + (x=Distributed(Default(0.0)),)) + scenario = CompositeModel( + Object(:plant; scale=:Plant), + Object(:leaf_a; scale=:Leaf, parent=:plant), + Object(:leaf_b; scale=:Leaf, parent=:plant); + applications=(ModelSpec(writer; name=:inclusive_writer, on=One(scale=:Plant), + outputs_to=(OutputTo(Many(scale=(:Plant, :Leaf), within=Subtree())),)),), + ) + simulation = run!(scenario; outputs=:all) + @test final_state(simulation, :plant).x == 10.0 + @test final_state(simulation, :leaf_a).x == 3.0 + @test final_state(simulation, :leaf_b).x == 7.0 + application = only(Diagnostics.explain_applications(scenario)) + @test application.local_outputs == () + @test application.distributed_outputs == (:x,) + writer_row = only(row for row in Diagnostics.explain_writers(scenario) + if row.object_id == :plant && row.variable == :x) + @test writer_row.owner_kinds == [:output_destination] + @test last.(outputs(simulation)[(:inclusive_writer, ObjectId(:plant), :x)]) == [10.0] +end diff --git a/test/test-model-source-compilation.jl b/test/test-model-source-compilation.jl index 68d191573..7da5545ce 100644 --- a/test/test-model-source-compilation.jl +++ b/test/test-model-source-compilation.jl @@ -300,7 +300,7 @@ function PlantSimEngine.run!( end PlantSimEngine.inputs_(::SourceCompilerDistributedModel) = NamedTuple() -PlantSimEngine.outputs_(::SourceCompilerDistributedModel) = (local_value=0.0,) +PlantSimEngine.outputs_(::SourceCompilerDistributedModel) = (local_value=0.0, distributed_value=Distributed(Default(0.0))) function PlantSimEngine.run!( ::SourceCompilerDistributedModel, @@ -310,7 +310,7 @@ function PlantSimEngine.run!( context, ) status.local_value += one(status.local_value) - leaves = output_targets(context, :leaves) + leaves = output_targets(context, (:distributed_value,)) for index in eachindex(leaves.columns.distributed_value) leaves.columns.distributed_value[index] = status.local_value + convert(typeof(status.local_value), index) @@ -513,9 +513,9 @@ function source_compiler_distributed_fixture() name=:distributed, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(distributed_value=Default(0.0),), + vars=(:distributed_value,), ), ), ), @@ -784,7 +784,7 @@ end source_compiler_distributed_fixture(); function_name=:distributed_source_model!, ) - @test occursin("distributed outputs: leaves=>", source) + @test occursin("distributed outputs:", source) && occursin("distributed_value", source) path = tempname() * ".jl" write(path, source) generated_module = Module(gensym(:DistributedSourceModel)) diff --git a/test/test-model-status-type-runtime.jl b/test/test-model-status-type-runtime.jl index 3e40d5dd0..1b7cb4055 100644 --- a/test/test-model-status-type-runtime.jl +++ b/test/test-model-status-type-runtime.jl @@ -28,6 +28,7 @@ end PlantSimEngine.inputs_(::StatusTypeRuntimeOutputWriterModel) = NamedTuple() PlantSimEngine.outputs_(::StatusTypeRuntimeOutputWriterModel) = ( + distributed_value=Distributed(Default(0.0)), canonical_value=0.0, private_value=0.0, ) @@ -41,7 +42,7 @@ function PlantSimEngine.run!( ) status.canonical_value += one(status.canonical_value) status.private_value += one(status.private_value) - destinations = output_targets(context, :leaves) + destinations = output_targets(context, (:distributed_value,)) for index in eachindex(destinations.columns.distributed_value) destinations.columns.distributed_value[index] = status.canonical_value + @@ -139,9 +140,9 @@ end name=:status_type_runtime_writer, on=One(scale=:Scene), outputs_to=( - leaves=OutputTo( + OutputTo( Many(scale=:Leaf, within=SceneScope()); - vars=(distributed_value=Default(0.0),), + vars=(:distributed_value,), ), ), output_routing=(private_value=:stream_only,),