webapp.sankeyDiagram-707fac0f.24fb25a2.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langgraph4j-studio-jetty Show documentation
Show all versions of langgraph4j-studio-jetty Show documentation
an **embed playground webapp** to run a Langgraph4j workflow in visual way
The newest version!
{"mappings":"A,S,E,C,C,C,C,C,C,C,E,O,c,C,E,E,C,I,E,I,E,W,C,E,a,C,C,E,C,I,E,A,W,iB,C,E,E,Q,C,E,Q,S,C,C,C,E,E,E,O,C,U,I,G,I,E,E,S,E,E,S,E,S,I,E,E,S,E,E,S,E,E,S,E,S,E,S,E,S,E,SCYA,IAAI,EAAS,WACX,IAAI,EAAI,SAAS,CAAC,CAAE,CAAC,CAAE,CAAE,CAAE,CAAC,EAC1B,IAAK,EAAK,GAAM,CAAC,EAAG,EAAI,EAAE,MAAM,CAAE,IAAK,CAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAG,GAElD,OAAO,CACT,EAAG,EAAM,CAAC,EAAG,EAAE,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,EAAG,GAAI,GAAG,CAChD,EAAU,CACZ,MAAO,WACP,EACA,GAAI,CAAC,EACL,SAAU,CAAE,MAAS,EAAG,MAAS,EAAG,OAAU,EAAG,QAAW,EAAG,IAAO,EAAG,QAAW,EAAG,OAAU,EAAG,SAAY,EAAG,IAAO,GAAI,gBAAiB,GAAI,MAAS,GAAI,gBAAiB,GAAI,eAAgB,GAAI,MAAS,GAAI,QAAW,GAAI,YAAe,GAAI,OAAU,GAAI,aAAgB,GAAI,iBAAoB,GAAI,QAAW,EAAG,KAAQ,CAAE,EAC1U,WAAY,CAAE,EAAG,QAAS,EAAG,SAAU,EAAG,UAAW,GAAI,MAAO,GAAI,gBAAiB,GAAI,QAAS,GAAI,gBAAiB,GAAI,eAAgB,GAAI,SAAU,GAAI,eAAgB,GAAI,kBAAmB,EACpM,aAAc,CAAC,EAAG,CAAC,EAAG,EAAE,CAAE,CAA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q,S,C,C,C,E,E,E,O,C,U,I,GCAzB,SAAA,EAAS,CAAC,EACvB,OAAO,WACL,OAAO,CACT,CACF,C,G,E,Q,S,C,C,C,ECJO,SAAS,EAAE,CAAC,EACjB,OAAO,CAAC,CAAC,EAAE,AACb,CAEO,SAAS,EAAE,CAAC,EACjB,OAAO,CAAC,CAAC,EAAE,AACb,C,E,E,O,C,I,I,G,E,E,O,C,I,I,E,G,E,Q,S,C,C,C,E,E,E,O,C,U,I,GCNe,SAAA,EAAS,CAAC,CAAE,CAAC,EAC1B,MAAO,CAAE,AAAA,CAAA,EAAI,CAAC,CAAA,EAAK,KAAK,GAAG,CAAC,GAAK,KAAK,EAAE,CAAG,GAAI,EAAI,KAAK,GAAG,CAAC,GAAG,AACjE,C","sources":["","node_modules/mermaid/dist/sankeyDiagram-707fac0f.js","node_modules/d3-sankey/src/index.js","node_modules/d3-sankey/src/sankey.js","node_modules/d3-sankey/node_modules/d3-array/src/max.js","node_modules/d3-sankey/node_modules/d3-array/src/min.js","node_modules/d3-sankey/node_modules/d3-array/src/sum.js","node_modules/d3-sankey/src/align.js","node_modules/d3-sankey/src/constant.js","node_modules/d3-sankey/src/sankeyLinkHorizontal.js","node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js","node_modules/d3-sankey/node_modules/d3-shape/node_modules/d3-path/src/path.js","node_modules/d3-sankey/node_modules/d3-shape/src/array.js","node_modules/d3-sankey/node_modules/d3-shape/src/constant.js","node_modules/d3-sankey/node_modules/d3-shape/src/point.js","node_modules/d3-sankey/node_modules/d3-shape/src/pointRadial.js"],"sourcesContent":["\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire0031\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"kxhjd\", function(module, exports) {\n\n$parcel$export(module.exports, \"diagram\", () => $ef3450e43c976d9e$export$6118d022d940d562);\n\nvar $4jcZX = parcelRequire(\"4jcZX\");\n\nvar $2YFJl = parcelRequire(\"2YFJl\");\nparcelRequire(\"2kFlU\");\nvar $h2syK = parcelRequire(\"h2syK\");\nvar $69cYt = parcelRequire(\"69cYt\");\nvar $hQhx0 = parcelRequire(\"hQhx0\");\nparcelRequire(\"eJNXH\");\nparcelRequire(\"gngdn\");\nparcelRequire(\"2ujND\");\nparcelRequire(\"i8Fxz\");\n\n\n\n\n\nvar $ef3450e43c976d9e$var$parser = function() {\n var o = function(k, v, o2, l) {\n for(o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v);\n return o2;\n }, $V0 = [\n 1,\n 9\n ], $V1 = [\n 1,\n 10\n ], $V2 = [\n 1,\n 5,\n 10,\n 12\n ];\n var parser2 = {\n trace: function trace() {},\n yy: {},\n symbols_: {\n \"error\": 2,\n \"start\": 3,\n \"SANKEY\": 4,\n \"NEWLINE\": 5,\n \"csv\": 6,\n \"opt_eof\": 7,\n \"record\": 8,\n \"csv_tail\": 9,\n \"EOF\": 10,\n \"field[source]\": 11,\n \"COMMA\": 12,\n \"field[target]\": 13,\n \"field[value]\": 14,\n \"field\": 15,\n \"escaped\": 16,\n \"non_escaped\": 17,\n \"DQUOTE\": 18,\n \"ESCAPED_TEXT\": 19,\n \"NON_ESCAPED_TEXT\": 20,\n \"$accept\": 0,\n \"$end\": 1\n },\n terminals_: {\n 2: \"error\",\n 4: \"SANKEY\",\n 5: \"NEWLINE\",\n 10: \"EOF\",\n 11: \"field[source]\",\n 12: \"COMMA\",\n 13: \"field[target]\",\n 14: \"field[value]\",\n 18: \"DQUOTE\",\n 19: \"ESCAPED_TEXT\",\n 20: \"NON_ESCAPED_TEXT\"\n },\n productions_: [\n 0,\n [\n 3,\n 4\n ],\n [\n 6,\n 2\n ],\n [\n 9,\n 2\n ],\n [\n 9,\n 0\n ],\n [\n 7,\n 1\n ],\n [\n 7,\n 0\n ],\n [\n 8,\n 5\n ],\n [\n 15,\n 1\n ],\n [\n 15,\n 1\n ],\n [\n 16,\n 3\n ],\n [\n 17,\n 1\n ]\n ],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {\n var $0 = $$.length - 1;\n switch(yystate){\n case 7:\n const source = yy.findOrCreateNode($$[$0 - 4].trim().replaceAll('\"\"', '\"'));\n const target = yy.findOrCreateNode($$[$0 - 2].trim().replaceAll('\"\"', '\"'));\n const value = parseFloat($$[$0].trim());\n yy.addLink(source, target, value);\n break;\n case 8:\n case 9:\n case 11:\n this.$ = $$[$0];\n break;\n case 10:\n this.$ = $$[$0 - 1];\n break;\n }\n },\n table: [\n {\n 3: 1,\n 4: [\n 1,\n 2\n ]\n },\n {\n 1: [\n 3\n ]\n },\n {\n 5: [\n 1,\n 3\n ]\n },\n {\n 6: 4,\n 8: 5,\n 15: 6,\n 16: 7,\n 17: 8,\n 18: $V0,\n 20: $V1\n },\n {\n 1: [\n 2,\n 6\n ],\n 7: 11,\n 10: [\n 1,\n 12\n ]\n },\n o($V1, [\n 2,\n 4\n ], {\n 9: 13,\n 5: [\n 1,\n 14\n ]\n }),\n {\n 12: [\n 1,\n 15\n ]\n },\n o($V2, [\n 2,\n 8\n ]),\n o($V2, [\n 2,\n 9\n ]),\n {\n 19: [\n 1,\n 16\n ]\n },\n o($V2, [\n 2,\n 11\n ]),\n {\n 1: [\n 2,\n 1\n ]\n },\n {\n 1: [\n 2,\n 5\n ]\n },\n o($V1, [\n 2,\n 2\n ]),\n {\n 6: 17,\n 8: 5,\n 15: 6,\n 16: 7,\n 17: 8,\n 18: $V0,\n 20: $V1\n },\n {\n 15: 18,\n 16: 7,\n 17: 8,\n 18: $V0,\n 20: $V1\n },\n {\n 18: [\n 1,\n 19\n ]\n },\n o($V1, [\n 2,\n 3\n ]),\n {\n 12: [\n 1,\n 20\n ]\n },\n o($V2, [\n 2,\n 10\n ]),\n {\n 15: 21,\n 16: 7,\n 17: 8,\n 18: $V0,\n 20: $V1\n },\n o([\n 1,\n 5,\n 10\n ], [\n 2,\n 7\n ])\n ],\n defaultActions: {\n 11: [\n 2,\n 1\n ],\n 12: [\n 2,\n 5\n ]\n },\n parseError: function parseError(str, hash) {\n if (hash.recoverable) this.trace(str);\n else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n },\n parse: function parse(input) {\n var self = this, stack = [\n 0\n ], tstack = [], vstack = [\n null\n ], lstack = [], table = this.table, yytext = \"\", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer2 = Object.create(this.lexer);\n var sharedState = {\n yy: {}\n };\n for(var k in this.yy)if (Object.prototype.hasOwnProperty.call(this.yy, k)) sharedState.yy[k] = this.yy[k];\n lexer2.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer2;\n sharedState.yy.parser = this;\n if (typeof lexer2.yylloc == \"undefined\") lexer2.yylloc = {};\n var yyloc = lexer2.yylloc;\n lstack.push(yyloc);\n var ranges = lexer2.options && lexer2.options.ranges;\n if (typeof sharedState.yy.parseError === \"function\") this.parseError = sharedState.yy.parseError;\n else this.parseError = Object.getPrototypeOf(this).parseError;\n function lex() {\n var token;\n token = tstack.pop() || lexer2.lex() || EOF;\n if (typeof token !== \"number\") {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, state, action, r, yyval = {}, p, len, newState, expected;\n while(true){\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) action = this.defaultActions[state];\n else {\n if (symbol === null || typeof symbol == \"undefined\") symbol = lex();\n action = table[state] && table[state][symbol];\n }\n if (typeof action === \"undefined\" || !action.length || !action[0]) {\n var errStr = \"\";\n expected = [];\n for(p in table[state])if (this.terminals_[p] && p > TERROR) expected.push(\"'\" + this.terminals_[p] + \"'\");\n if (lexer2.showPosition) errStr = \"Parse error on line \" + (yylineno + 1) + \":\\n\" + lexer2.showPosition() + \"\\nExpecting \" + expected.join(\", \") + \", got '\" + (this.terminals_[symbol] || symbol) + \"'\";\n else errStr = \"Parse error on line \" + (yylineno + 1) + \": Unexpected \" + (symbol == EOF ? \"end of input\" : \"'\" + (this.terminals_[symbol] || symbol) + \"'\");\n this.parseError(errStr, {\n text: lexer2.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer2.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) throw new Error(\"Parse Error: multiple actions possible at state: \" + state + \", token: \" + symbol);\n switch(action[0]){\n case 1:\n stack.push(symbol);\n vstack.push(lexer2.yytext);\n lstack.push(lexer2.yylloc);\n stack.push(action[1]);\n symbol = null;\n yyleng = lexer2.yyleng;\n yytext = lexer2.yytext;\n yylineno = lexer2.yylineno;\n yyloc = lexer2.yylloc;\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== \"undefined\") return r;\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n }\n };\n var lexer = function() {\n var lexer2 = {\n EOF: 1,\n parseError: function parseError(str, hash) {\n if (this.yy.parser) this.yy.parser.parseError(str, hash);\n else throw new Error(str);\n },\n // resets the lexer, sets new input\n setInput: function(input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = \"\";\n this.conditionStack = [\n \"INITIAL\"\n ];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) this.yylloc.range = [\n 0,\n 0\n ];\n this.offset = 0;\n return this;\n },\n // consumes and returns one char from the input\n input: function() {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else this.yylloc.last_column++;\n if (this.options.ranges) this.yylloc.range[1]++;\n this._input = this._input.slice(1);\n return ch;\n },\n // unshifts one char (or a string) into the input\n unput: function(ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n if (lines.length - 1) this.yylineno -= lines.length - 1;\n var r = this.yylloc.range;\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len\n };\n if (this.options.ranges) this.yylloc.range = [\n r[0],\n r[0] + this.yyleng - len\n ];\n this.yyleng = this.yytext.length;\n return this;\n },\n // When called from action, caches matched text and appends it on next action\n more: function() {\n this._more = true;\n return this;\n },\n // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\n reject: function() {\n if (this.options.backtrack_lexer) this._backtrack = true;\n else return this.parseError(\"Lexical error on line \" + (this.yylineno + 1) + \". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n\" + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n return this;\n },\n // retain first n characters of the match\n less: function(n) {\n this.unput(this.match.slice(n));\n },\n // displays already matched input, i.e. for error messages\n pastInput: function() {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? \"...\" : \"\") + past.substr(-20).replace(/\\n/g, \"\");\n },\n // displays upcoming input, i.e. for error messages\n upcomingInput: function() {\n var next = this.match;\n if (next.length < 20) next += this._input.substr(0, 20 - next.length);\n return (next.substr(0, 20) + (next.length > 20 ? \"...\" : \"\")).replace(/\\n/g, \"\");\n },\n // displays the character position where the lexing error occurred, i.e. for error messages\n showPosition: function() {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n // test the lexed token: return FALSE when not a match, otherwise return token\n test_match: function(match, indexed_rule) {\n var token, lines, backup;\n if (this.options.backtrack_lexer) {\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) backup.yylloc.range = this.yylloc.range.slice(0);\n }\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) this.yylineno += lines.length;\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length : this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) this.yylloc.range = [\n this.offset,\n this.offset += this.yyleng\n ];\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) this.done = false;\n if (token) return token;\n else if (this._backtrack) {\n for(var k in backup)this[k] = backup[k];\n return false;\n }\n return false;\n },\n // return next match in input\n next: function() {\n if (this.done) return this.EOF;\n if (!this._input) this.done = true;\n var token, match, tempMatch, index;\n if (!this._more) {\n this.yytext = \"\";\n this.match = \"\";\n }\n var rules = this._currentRules();\n for(var i = 0; i < rules.length; i++){\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) return token;\n else if (this._backtrack) {\n match = false;\n continue;\n } else return false;\n } else if (!this.options.flex) break;\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) return token;\n return false;\n }\n if (this._input === \"\") return this.EOF;\n else return this.parseError(\"Lexical error on line \" + (this.yylineno + 1) + \". Unrecognized text.\\n\" + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n },\n // return next match that has a token\n lex: function lex() {\n var r = this.next();\n if (r) return r;\n else return this.lex();\n },\n // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\n begin: function begin(condition) {\n this.conditionStack.push(condition);\n },\n // pop the previously active lexer condition state off the condition stack\n popState: function popState() {\n var n = this.conditionStack.length - 1;\n if (n > 0) return this.conditionStack.pop();\n else return this.conditionStack[0];\n },\n // produce the lexer rule set which is active for the currently active lexer condition state\n _currentRules: function _currentRules() {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n else return this.conditions[\"INITIAL\"].rules;\n },\n // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\n topState: function topState(n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) return this.conditionStack[n];\n else return \"INITIAL\";\n },\n // alias for begin(condition)\n pushState: function pushState(condition) {\n this.begin(condition);\n },\n // return the number of states currently on the stack\n stateStackSize: function stateStackSize() {\n return this.conditionStack.length;\n },\n options: {\n \"case-insensitive\": true\n },\n performAction: function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {\n switch($avoiding_name_collisions){\n case 0:\n this.pushState(\"csv\");\n return 4;\n case 1:\n return 10;\n case 2:\n return 5;\n case 3:\n return 12;\n case 4:\n this.pushState(\"escaped_text\");\n return 18;\n case 5:\n return 20;\n case 6:\n this.popState(\"escaped_text\");\n return 18;\n case 7:\n return 19;\n }\n },\n rules: [\n /^(?:sankey-beta\\b)/i,\n /^(?:$)/i,\n /^(?:((\\u000D\\u000A)|(\\u000A)))/i,\n /^(?:(\\u002C))/i,\n /^(?:(\\u0022))/i,\n /^(?:([\\u0020-\\u0021\\u0023-\\u002B\\u002D-\\u007E])*)/i,\n /^(?:(\\u0022)(?!(\\u0022)))/i,\n /^(?:(([\\u0020-\\u0021\\u0023-\\u002B\\u002D-\\u007E])|(\\u002C)|(\\u000D)|(\\u000A)|(\\u0022)(\\u0022))*)/i\n ],\n conditions: {\n \"csv\": {\n \"rules\": [\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ],\n \"inclusive\": false\n },\n \"escaped_text\": {\n \"rules\": [\n 6,\n 7\n ],\n \"inclusive\": false\n },\n \"INITIAL\": {\n \"rules\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7\n ],\n \"inclusive\": true\n }\n }\n };\n return lexer2;\n }();\n parser2.lexer = lexer;\n function Parser() {\n this.yy = {};\n }\n Parser.prototype = parser2;\n parser2.Parser = Parser;\n return new Parser();\n}();\n$ef3450e43c976d9e$var$parser.parser = $ef3450e43c976d9e$var$parser;\nconst $ef3450e43c976d9e$var$parser$1 = $ef3450e43c976d9e$var$parser;\nlet $ef3450e43c976d9e$var$links = [];\nlet $ef3450e43c976d9e$var$nodes = [];\nlet $ef3450e43c976d9e$var$nodesMap = {};\nconst $ef3450e43c976d9e$var$clear = ()=>{\n $ef3450e43c976d9e$var$links = [];\n $ef3450e43c976d9e$var$nodes = [];\n $ef3450e43c976d9e$var$nodesMap = {};\n (0, $4jcZX.v)();\n};\nclass $ef3450e43c976d9e$var$SankeyLink {\n constructor(source, target, value = 0){\n this.source = source;\n this.target = target;\n this.value = value;\n }\n}\nconst $ef3450e43c976d9e$var$addLink = (source, target, value)=>{\n $ef3450e43c976d9e$var$links.push(new $ef3450e43c976d9e$var$SankeyLink(source, target, value));\n};\nclass $ef3450e43c976d9e$var$SankeyNode {\n constructor(ID){\n this.ID = ID;\n }\n}\nconst $ef3450e43c976d9e$var$findOrCreateNode = (ID)=>{\n ID = (0, $4jcZX.e).sanitizeText(ID, (0, $4jcZX.c)());\n if (!$ef3450e43c976d9e$var$nodesMap[ID]) {\n $ef3450e43c976d9e$var$nodesMap[ID] = new $ef3450e43c976d9e$var$SankeyNode(ID);\n $ef3450e43c976d9e$var$nodes.push($ef3450e43c976d9e$var$nodesMap[ID]);\n }\n return $ef3450e43c976d9e$var$nodesMap[ID];\n};\nconst $ef3450e43c976d9e$var$getNodes = ()=>$ef3450e43c976d9e$var$nodes;\nconst $ef3450e43c976d9e$var$getLinks = ()=>$ef3450e43c976d9e$var$links;\nconst $ef3450e43c976d9e$var$getGraph = ()=>({\n nodes: $ef3450e43c976d9e$var$nodes.map((node)=>({\n id: node.ID\n })),\n links: $ef3450e43c976d9e$var$links.map((link)=>({\n source: link.source.ID,\n target: link.target.ID,\n value: link.value\n }))\n });\nconst $ef3450e43c976d9e$var$db = {\n nodesMap: $ef3450e43c976d9e$var$nodesMap,\n getConfig: ()=>(0, $4jcZX.c)().sankey,\n getNodes: $ef3450e43c976d9e$var$getNodes,\n getLinks: $ef3450e43c976d9e$var$getLinks,\n getGraph: $ef3450e43c976d9e$var$getGraph,\n addLink: $ef3450e43c976d9e$var$addLink,\n findOrCreateNode: $ef3450e43c976d9e$var$findOrCreateNode,\n getAccTitle: $4jcZX.g,\n setAccTitle: $4jcZX.s,\n getAccDescription: $4jcZX.a,\n setAccDescription: $4jcZX.b,\n getDiagramTitle: $4jcZX.t,\n setDiagramTitle: $4jcZX.q,\n clear: $ef3450e43c976d9e$var$clear\n};\nconst $ef3450e43c976d9e$var$_Uid = class _Uid2 {\n static next(name) {\n return new _Uid2(name + ++_Uid2.count);\n }\n constructor(id){\n this.id = id;\n this.href = `#${id}`;\n }\n toString() {\n return \"url(\" + this.href + \")\";\n }\n};\n$ef3450e43c976d9e$var$_Uid.count = 0;\nlet $ef3450e43c976d9e$var$Uid = $ef3450e43c976d9e$var$_Uid;\nconst $ef3450e43c976d9e$var$alignmentsMap = {\n left: (0, $69cYt.left),\n right: (0, $69cYt.right),\n center: (0, $69cYt.center),\n justify: (0, $69cYt.justify)\n};\nconst $ef3450e43c976d9e$var$draw = function(text, id, _version, diagObj) {\n const { securityLevel: securityLevel, sankey: conf } = (0, $4jcZX.c)();\n const defaultSankeyConfig = (0, $4jcZX.K).sankey;\n let sandboxElement;\n if (securityLevel === \"sandbox\") sandboxElement = (0, $2YFJl.select)(\"#i\" + id);\n const root = securityLevel === \"sandbox\" ? (0, $2YFJl.select)(sandboxElement.nodes()[0].contentDocument.body) : (0, $2YFJl.select)(\"body\");\n const svg = securityLevel === \"sandbox\" ? root.select(`[id=\"${id}\"]`) : (0, $2YFJl.select)(`[id=\"${id}\"]`);\n const width = (conf == null ? void 0 : conf.width) ?? defaultSankeyConfig.width;\n const height = (conf == null ? void 0 : conf.height) ?? defaultSankeyConfig.width;\n const useMaxWidth = (conf == null ? void 0 : conf.useMaxWidth) ?? defaultSankeyConfig.useMaxWidth;\n const nodeAlignment = (conf == null ? void 0 : conf.nodeAlignment) ?? defaultSankeyConfig.nodeAlignment;\n const prefix = (conf == null ? void 0 : conf.prefix) ?? defaultSankeyConfig.prefix;\n const suffix = (conf == null ? void 0 : conf.suffix) ?? defaultSankeyConfig.suffix;\n const showValues = (conf == null ? void 0 : conf.showValues) ?? defaultSankeyConfig.showValues;\n const graph = diagObj.db.getGraph();\n const nodeAlign = $ef3450e43c976d9e$var$alignmentsMap[nodeAlignment];\n const nodeWidth = 10;\n const sankey$1 = (0, $h2syK.default)().nodeId((d)=>d.id).nodeWidth(nodeWidth).nodePadding(10 + (showValues ? 15 : 0)).nodeAlign(nodeAlign).extent([\n [\n 0,\n 0\n ],\n [\n width,\n height\n ]\n ]);\n sankey$1(graph);\n const colorScheme = (0, $2YFJl.scaleOrdinal)((0, $2YFJl.schemeTableau10));\n svg.append(\"g\").attr(\"class\", \"nodes\").selectAll(\".node\").data(graph.nodes).join(\"g\").attr(\"class\", \"node\").attr(\"id\", (d)=>(d.uid = $ef3450e43c976d9e$var$Uid.next(\"node-\")).id).attr(\"transform\", function(d) {\n return \"translate(\" + d.x0 + \",\" + d.y0 + \")\";\n }).attr(\"x\", (d)=>d.x0).attr(\"y\", (d)=>d.y0).append(\"rect\").attr(\"height\", (d)=>{\n return d.y1 - d.y0;\n }).attr(\"width\", (d)=>d.x1 - d.x0).attr(\"fill\", (d)=>colorScheme(d.id));\n const getText = ({ id: id2, value: value })=>{\n if (!showValues) return id2;\n return `${id2}\n${prefix}${Math.round(value * 100) / 100}${suffix}`;\n };\n svg.append(\"g\").attr(\"class\", \"node-labels\").attr(\"font-family\", \"sans-serif\").attr(\"font-size\", 14).selectAll(\"text\").data(graph.nodes).join(\"text\").attr(\"x\", (d)=>d.x0 < width / 2 ? d.x1 + 6 : d.x0 - 6).attr(\"y\", (d)=>(d.y1 + d.y0) / 2).attr(\"dy\", `${showValues ? \"0\" : \"0.35\"}em`).attr(\"text-anchor\", (d)=>d.x0 < width / 2 ? \"start\" : \"end\").text(getText);\n const link = svg.append(\"g\").attr(\"class\", \"links\").attr(\"fill\", \"none\").attr(\"stroke-opacity\", 0.5).selectAll(\".link\").data(graph.links).join(\"g\").attr(\"class\", \"link\").style(\"mix-blend-mode\", \"multiply\");\n const linkColor = (conf == null ? void 0 : conf.linkColor) || \"gradient\";\n if (linkColor === \"gradient\") {\n const gradient = link.append(\"linearGradient\").attr(\"id\", (d)=>(d.uid = $ef3450e43c976d9e$var$Uid.next(\"linearGradient-\")).id).attr(\"gradientUnits\", \"userSpaceOnUse\").attr(\"x1\", (d)=>d.source.x1).attr(\"x2\", (d)=>d.target.x0);\n gradient.append(\"stop\").attr(\"offset\", \"0%\").attr(\"stop-color\", (d)=>colorScheme(d.source.id));\n gradient.append(\"stop\").attr(\"offset\", \"100%\").attr(\"stop-color\", (d)=>colorScheme(d.target.id));\n }\n let coloring;\n switch(linkColor){\n case \"gradient\":\n coloring = (d)=>d.uid;\n break;\n case \"source\":\n coloring = (d)=>colorScheme(d.source.id);\n break;\n case \"target\":\n coloring = (d)=>colorScheme(d.target.id);\n break;\n default:\n coloring = linkColor;\n }\n link.append(\"path\").attr(\"d\", (0, $hQhx0.default)()).attr(\"stroke\", coloring).attr(\"stroke-width\", (d)=>Math.max(1, d.width));\n (0, $4jcZX.o)(void 0, svg, 0, useMaxWidth);\n};\nconst $ef3450e43c976d9e$var$renderer = {\n draw: $ef3450e43c976d9e$var$draw\n};\nconst $ef3450e43c976d9e$var$prepareTextForParsing = (text)=>{\n const textToParse = text.replaceAll(/^[^\\S\\n\\r]+|[^\\S\\n\\r]+$/g, \"\").replaceAll(/([\\n\\r])+/g, \"\\n\").trim();\n return textToParse;\n};\nconst $ef3450e43c976d9e$var$originalParse = $ef3450e43c976d9e$var$parser$1.parse.bind($ef3450e43c976d9e$var$parser$1);\n$ef3450e43c976d9e$var$parser$1.parse = (text)=>$ef3450e43c976d9e$var$originalParse($ef3450e43c976d9e$var$prepareTextForParsing(text));\nconst $ef3450e43c976d9e$export$6118d022d940d562 = {\n parser: $ef3450e43c976d9e$var$parser$1,\n db: $ef3450e43c976d9e$var$db,\n renderer: $ef3450e43c976d9e$var$renderer\n};\n\n});\nparcelRegister(\"2kFlU\", function(module, exports) {\n\n$parcel$export(module.exports, \"sankey\", () => (parcelRequire(\"h2syK\")).default);\n$parcel$export(module.exports, \"sankeyCenter\", () => (parcelRequire(\"69cYt\")).center);\n$parcel$export(module.exports, \"sankeyLeft\", () => (parcelRequire(\"69cYt\")).left);\n$parcel$export(module.exports, \"sankeyRight\", () => (parcelRequire(\"69cYt\")).right);\n$parcel$export(module.exports, \"sankeyJustify\", () => (parcelRequire(\"69cYt\")).justify);\n$parcel$export(module.exports, \"sankeyLinkHorizontal\", () => (parcelRequire(\"hQhx0\")).default);\n\nvar $h2syK = parcelRequire(\"h2syK\");\n\nvar $69cYt = parcelRequire(\"69cYt\");\n\nvar $hQhx0 = parcelRequire(\"hQhx0\");\n\n});\nparcelRegister(\"h2syK\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $c678c6e8b1555d72$export$2e2bcd8739ae039);\n\nvar $arN7y = parcelRequire(\"arN7y\");\nvar $fRuM4 = parcelRequire(\"fRuM4\");\nvar $fqZOr = parcelRequire(\"fqZOr\");\n\nvar $69cYt = parcelRequire(\"69cYt\");\n\nvar $femsB = parcelRequire(\"femsB\");\nfunction $c678c6e8b1555d72$var$ascendingSourceBreadth(a, b) {\n return $c678c6e8b1555d72$var$ascendingBreadth(a.source, b.source) || a.index - b.index;\n}\nfunction $c678c6e8b1555d72$var$ascendingTargetBreadth(a, b) {\n return $c678c6e8b1555d72$var$ascendingBreadth(a.target, b.target) || a.index - b.index;\n}\nfunction $c678c6e8b1555d72$var$ascendingBreadth(a, b) {\n return a.y0 - b.y0;\n}\nfunction $c678c6e8b1555d72$var$value(d) {\n return d.value;\n}\nfunction $c678c6e8b1555d72$var$defaultId(d) {\n return d.index;\n}\nfunction $c678c6e8b1555d72$var$defaultNodes(graph) {\n return graph.nodes;\n}\nfunction $c678c6e8b1555d72$var$defaultLinks(graph) {\n return graph.links;\n}\nfunction $c678c6e8b1555d72$var$find(nodeById, id) {\n const node = nodeById.get(id);\n if (!node) throw new Error(\"missing: \" + id);\n return node;\n}\nfunction $c678c6e8b1555d72$var$computeLinkBreadths({ nodes: nodes }) {\n for (const node of nodes){\n let y0 = node.y0;\n let y1 = y0;\n for (const link of node.sourceLinks){\n link.y0 = y0 + link.width / 2;\n y0 += link.width;\n }\n for (const link of node.targetLinks){\n link.y1 = y1 + link.width / 2;\n y1 += link.width;\n }\n }\n}\nfunction $c678c6e8b1555d72$export$2e2bcd8739ae039() {\n let x0 = 0, y0 = 0, x1 = 1, y1 = 1; // extent\n let dx = 24; // nodeWidth\n let dy = 8, py; // nodePadding\n let id = $c678c6e8b1555d72$var$defaultId;\n let align = (0, $69cYt.justify);\n let sort;\n let linkSort;\n let nodes = $c678c6e8b1555d72$var$defaultNodes;\n let links = $c678c6e8b1555d72$var$defaultLinks;\n let iterations = 6;\n function sankey() {\n const graph = {\n nodes: nodes.apply(null, arguments),\n links: links.apply(null, arguments)\n };\n computeNodeLinks(graph);\n computeNodeValues(graph);\n computeNodeDepths(graph);\n computeNodeHeights(graph);\n computeNodeBreadths(graph);\n $c678c6e8b1555d72$var$computeLinkBreadths(graph);\n return graph;\n }\n sankey.update = function(graph) {\n $c678c6e8b1555d72$var$computeLinkBreadths(graph);\n return graph;\n };\n sankey.nodeId = function(_) {\n return arguments.length ? (id = typeof _ === \"function\" ? _ : (0, $femsB.default)(_), sankey) : id;\n };\n sankey.nodeAlign = function(_) {\n return arguments.length ? (align = typeof _ === \"function\" ? _ : (0, $femsB.default)(_), sankey) : align;\n };\n sankey.nodeSort = function(_) {\n return arguments.length ? (sort = _, sankey) : sort;\n };\n sankey.nodeWidth = function(_) {\n return arguments.length ? (dx = +_, sankey) : dx;\n };\n sankey.nodePadding = function(_) {\n return arguments.length ? (dy = py = +_, sankey) : dy;\n };\n sankey.nodes = function(_) {\n return arguments.length ? (nodes = typeof _ === \"function\" ? _ : (0, $femsB.default)(_), sankey) : nodes;\n };\n sankey.links = function(_) {\n return arguments.length ? (links = typeof _ === \"function\" ? _ : (0, $femsB.default)(_), sankey) : links;\n };\n sankey.linkSort = function(_) {\n return arguments.length ? (linkSort = _, sankey) : linkSort;\n };\n sankey.size = function(_) {\n return arguments.length ? (x0 = y0 = 0, x1 = +_[0], y1 = +_[1], sankey) : [\n x1 - x0,\n y1 - y0\n ];\n };\n sankey.extent = function(_) {\n return arguments.length ? (x0 = +_[0][0], x1 = +_[1][0], y0 = +_[0][1], y1 = +_[1][1], sankey) : [\n [\n x0,\n y0\n ],\n [\n x1,\n y1\n ]\n ];\n };\n sankey.iterations = function(_) {\n return arguments.length ? (iterations = +_, sankey) : iterations;\n };\n function computeNodeLinks({ nodes: nodes, links: links }) {\n for (const [i, node] of nodes.entries()){\n node.index = i;\n node.sourceLinks = [];\n node.targetLinks = [];\n }\n const nodeById = new Map(nodes.map((d, i)=>[\n id(d, i, nodes),\n d\n ]));\n for (const [i, link] of links.entries()){\n link.index = i;\n let { source: source, target: target } = link;\n if (typeof source !== \"object\") source = link.source = $c678c6e8b1555d72$var$find(nodeById, source);\n if (typeof target !== \"object\") target = link.target = $c678c6e8b1555d72$var$find(nodeById, target);\n source.sourceLinks.push(link);\n target.targetLinks.push(link);\n }\n if (linkSort != null) for (const { sourceLinks: sourceLinks, targetLinks: targetLinks } of nodes){\n sourceLinks.sort(linkSort);\n targetLinks.sort(linkSort);\n }\n }\n function computeNodeValues({ nodes: nodes }) {\n for (const node of nodes)node.value = node.fixedValue === undefined ? Math.max((0, $fqZOr.default)(node.sourceLinks, $c678c6e8b1555d72$var$value), (0, $fqZOr.default)(node.targetLinks, $c678c6e8b1555d72$var$value)) : node.fixedValue;\n }\n function computeNodeDepths({ nodes: nodes }) {\n const n = nodes.length;\n let current = new Set(nodes);\n let next = new Set;\n let x = 0;\n while(current.size){\n for (const node of current){\n node.depth = x;\n for (const { target: target } of node.sourceLinks)next.add(target);\n }\n if (++x > n) throw new Error(\"circular link\");\n current = next;\n next = new Set;\n }\n }\n function computeNodeHeights({ nodes: nodes }) {\n const n = nodes.length;\n let current = new Set(nodes);\n let next = new Set;\n let x = 0;\n while(current.size){\n for (const node of current){\n node.height = x;\n for (const { source: source } of node.targetLinks)next.add(source);\n }\n if (++x > n) throw new Error(\"circular link\");\n current = next;\n next = new Set;\n }\n }\n function computeNodeLayers({ nodes: nodes }) {\n const x = (0, $arN7y.default)(nodes, (d)=>d.depth) + 1;\n const kx = (x1 - x0 - dx) / (x - 1);\n const columns = new Array(x);\n for (const node of nodes){\n const i = Math.max(0, Math.min(x - 1, Math.floor(align.call(null, node, x))));\n node.layer = i;\n node.x0 = x0 + i * kx;\n node.x1 = node.x0 + dx;\n if (columns[i]) columns[i].push(node);\n else columns[i] = [\n node\n ];\n }\n if (sort) for (const column of columns)column.sort(sort);\n return columns;\n }\n function initializeNodeBreadths(columns) {\n const ky = (0, $fRuM4.default)(columns, (c)=>(y1 - y0 - (c.length - 1) * py) / (0, $fqZOr.default)(c, $c678c6e8b1555d72$var$value));\n for (const nodes of columns){\n let y = y0;\n for (const node of nodes){\n node.y0 = y;\n node.y1 = y + node.value * ky;\n y = node.y1 + py;\n for (const link of node.sourceLinks)link.width = link.value * ky;\n }\n y = (y1 - y + py) / (nodes.length + 1);\n for(let i = 0; i < nodes.length; ++i){\n const node = nodes[i];\n node.y0 += y * (i + 1);\n node.y1 += y * (i + 1);\n }\n reorderLinks(nodes);\n }\n }\n function computeNodeBreadths(graph) {\n const columns = computeNodeLayers(graph);\n py = Math.min(dy, (y1 - y0) / ((0, $arN7y.default)(columns, (c)=>c.length) - 1));\n initializeNodeBreadths(columns);\n for(let i = 0; i < iterations; ++i){\n const alpha = Math.pow(0.99, i);\n const beta = Math.max(1 - alpha, (i + 1) / iterations);\n relaxRightToLeft(columns, alpha, beta);\n relaxLeftToRight(columns, alpha, beta);\n }\n }\n // Reposition each node based on its incoming (target) links.\n function relaxLeftToRight(columns, alpha, beta) {\n for(let i = 1, n = columns.length; i < n; ++i){\n const column = columns[i];\n for (const target of column){\n let y = 0;\n let w = 0;\n for (const { source: source, value: value } of target.targetLinks){\n let v = value * (target.layer - source.layer);\n y += targetTop(source, target) * v;\n w += v;\n }\n if (!(w > 0)) continue;\n let dy = (y / w - target.y0) * alpha;\n target.y0 += dy;\n target.y1 += dy;\n reorderNodeLinks(target);\n }\n if (sort === undefined) column.sort($c678c6e8b1555d72$var$ascendingBreadth);\n resolveCollisions(column, beta);\n }\n }\n // Reposition each node based on its outgoing (source) links.\n function relaxRightToLeft(columns, alpha, beta) {\n for(let n = columns.length, i = n - 2; i >= 0; --i){\n const column = columns[i];\n for (const source of column){\n let y = 0;\n let w = 0;\n for (const { target: target, value: value } of source.sourceLinks){\n let v = value * (target.layer - source.layer);\n y += sourceTop(source, target) * v;\n w += v;\n }\n if (!(w > 0)) continue;\n let dy = (y / w - source.y0) * alpha;\n source.y0 += dy;\n source.y1 += dy;\n reorderNodeLinks(source);\n }\n if (sort === undefined) column.sort($c678c6e8b1555d72$var$ascendingBreadth);\n resolveCollisions(column, beta);\n }\n }\n function resolveCollisions(nodes, alpha) {\n const i = nodes.length >> 1;\n const subject = nodes[i];\n resolveCollisionsBottomToTop(nodes, subject.y0 - py, i - 1, alpha);\n resolveCollisionsTopToBottom(nodes, subject.y1 + py, i + 1, alpha);\n resolveCollisionsBottomToTop(nodes, y1, nodes.length - 1, alpha);\n resolveCollisionsTopToBottom(nodes, y0, 0, alpha);\n }\n // Push any overlapping nodes down.\n function resolveCollisionsTopToBottom(nodes, y, i, alpha) {\n for(; i < nodes.length; ++i){\n const node = nodes[i];\n const dy = (y - node.y0) * alpha;\n if (dy > 1e-6) node.y0 += dy, node.y1 += dy;\n y = node.y1 + py;\n }\n }\n // Push any overlapping nodes up.\n function resolveCollisionsBottomToTop(nodes, y, i, alpha) {\n for(; i >= 0; --i){\n const node = nodes[i];\n const dy = (node.y1 - y) * alpha;\n if (dy > 1e-6) node.y0 -= dy, node.y1 -= dy;\n y = node.y0 - py;\n }\n }\n function reorderNodeLinks({ sourceLinks: sourceLinks, targetLinks: targetLinks }) {\n if (linkSort === undefined) {\n for (const { source: { sourceLinks: sourceLinks } } of targetLinks)sourceLinks.sort($c678c6e8b1555d72$var$ascendingTargetBreadth);\n for (const { target: { targetLinks: targetLinks } } of sourceLinks)targetLinks.sort($c678c6e8b1555d72$var$ascendingSourceBreadth);\n }\n }\n function reorderLinks(nodes) {\n if (linkSort === undefined) for (const { sourceLinks: sourceLinks, targetLinks: targetLinks } of nodes){\n sourceLinks.sort($c678c6e8b1555d72$var$ascendingTargetBreadth);\n targetLinks.sort($c678c6e8b1555d72$var$ascendingSourceBreadth);\n }\n }\n // Returns the target.y0 that would produce an ideal link from source to target.\n function targetTop(source, target) {\n let y = source.y0 - (source.sourceLinks.length - 1) * py / 2;\n for (const { target: node, width: width } of source.sourceLinks){\n if (node === target) break;\n y += width + py;\n }\n for (const { source: node, width: width } of target.targetLinks){\n if (node === source) break;\n y -= width;\n }\n return y;\n }\n // Returns the source.y0 that would produce an ideal link from source to target.\n function sourceTop(source, target) {\n let y = target.y0 - (target.targetLinks.length - 1) * py / 2;\n for (const { source: node, width: width } of target.targetLinks){\n if (node === source) break;\n y += width + py;\n }\n for (const { target: node, width: width } of source.sourceLinks){\n if (node === target) break;\n y -= width;\n }\n return y;\n }\n return sankey;\n}\n\n});\nparcelRegister(\"arN7y\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $79b2876019e236cf$export$2e2bcd8739ae039);\nfunction $79b2876019e236cf$export$2e2bcd8739ae039(values, valueof) {\n let max;\n if (valueof === undefined) {\n for (const value of values)if (value != null && (max < value || max === undefined && value >= value)) max = value;\n } else {\n let index = -1;\n for (let value of values)if ((value = valueof(value, ++index, values)) != null && (max < value || max === undefined && value >= value)) max = value;\n }\n return max;\n}\n\n});\n\nparcelRegister(\"fRuM4\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b8c3ad69ded01687$export$2e2bcd8739ae039);\nfunction $b8c3ad69ded01687$export$2e2bcd8739ae039(values, valueof) {\n let min;\n if (valueof === undefined) {\n for (const value of values)if (value != null && (min > value || min === undefined && value >= value)) min = value;\n } else {\n let index = -1;\n for (let value of values)if ((value = valueof(value, ++index, values)) != null && (min > value || min === undefined && value >= value)) min = value;\n }\n return min;\n}\n\n});\n\nparcelRegister(\"fqZOr\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b3c93b6fbb60c924$export$2e2bcd8739ae039);\nfunction $b3c93b6fbb60c924$export$2e2bcd8739ae039(values, valueof) {\n let sum = 0;\n if (valueof === undefined) {\n for (let value of values)if (value = +value) sum += value;\n } else {\n let index = -1;\n for (let value of values)if (value = +valueof(value, ++index, values)) sum += value;\n }\n return sum;\n}\n\n});\n\nparcelRegister(\"69cYt\", function(module, exports) {\n\n$parcel$export(module.exports, \"left\", () => $479da5c8e0690793$export$eabcd2c8791e7bf4);\n$parcel$export(module.exports, \"right\", () => $479da5c8e0690793$export$79ffe56a765070d2);\n$parcel$export(module.exports, \"justify\", () => $479da5c8e0690793$export$720f2a50325b840f);\n$parcel$export(module.exports, \"center\", () => $479da5c8e0690793$export$3481c78889e8fbe8);\n\nvar $fRuM4 = parcelRequire(\"fRuM4\");\nfunction $479da5c8e0690793$var$targetDepth(d) {\n return d.target.depth;\n}\nfunction $479da5c8e0690793$export$eabcd2c8791e7bf4(node) {\n return node.depth;\n}\nfunction $479da5c8e0690793$export$79ffe56a765070d2(node, n) {\n return n - 1 - node.height;\n}\nfunction $479da5c8e0690793$export$720f2a50325b840f(node, n) {\n return node.sourceLinks.length ? node.depth : n - 1;\n}\nfunction $479da5c8e0690793$export$3481c78889e8fbe8(node) {\n return node.targetLinks.length ? node.depth : node.sourceLinks.length ? (0, $fRuM4.default)(node.sourceLinks, $479da5c8e0690793$var$targetDepth) - 1 : 0;\n}\n\n});\n\nparcelRegister(\"femsB\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b16995f71f2567a8$export$2e2bcd8739ae039);\nfunction $b16995f71f2567a8$export$2e2bcd8739ae039(x) {\n return function() {\n return x;\n };\n}\n\n});\n\n\nparcelRegister(\"hQhx0\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $cfd4e458179697c7$export$2e2bcd8739ae039);\n\nvar $bMisq = parcelRequire(\"bMisq\");\nfunction $cfd4e458179697c7$var$horizontalSource(d) {\n return [\n d.source.x1,\n d.y0\n ];\n}\nfunction $cfd4e458179697c7$var$horizontalTarget(d) {\n return [\n d.target.x0,\n d.y1\n ];\n}\nfunction $cfd4e458179697c7$export$2e2bcd8739ae039() {\n return (0, $bMisq.linkHorizontal)().source($cfd4e458179697c7$var$horizontalSource).target($cfd4e458179697c7$var$horizontalTarget);\n}\n\n});\nparcelRegister(\"bMisq\", function(module, exports) {\n\n$parcel$export(module.exports, \"linkHorizontal\", () => $89327eaa351f450b$export$e7c381889b2cd14d);\n\nvar $i2Uw0 = parcelRequire(\"i2Uw0\");\n\nvar $eQUJD = parcelRequire(\"eQUJD\");\n\nvar $lf5pR = parcelRequire(\"lf5pR\");\n\nvar $hMiB2 = parcelRequire(\"hMiB2\");\n\nvar $hBFQA = parcelRequire(\"hBFQA\");\nfunction $89327eaa351f450b$var$linkSource(d) {\n return d.source;\n}\nfunction $89327eaa351f450b$var$linkTarget(d) {\n return d.target;\n}\nfunction $89327eaa351f450b$var$link(curve) {\n var source = $89327eaa351f450b$var$linkSource, target = $89327eaa351f450b$var$linkTarget, x = (0, $hMiB2.x), y = (0, $hMiB2.y), context = null;\n function link() {\n var buffer, argv = (0, $eQUJD.slice).call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context) context = buffer = (0, $i2Uw0.default)();\n curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : (0, $lf5pR.default)(+_), link) : x;\n };\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : (0, $lf5pR.default)(+_), link) : y;\n };\n link.context = function(_) {\n return arguments.length ? (context = _ == null ? null : _, link) : context;\n };\n return link;\n}\nfunction $89327eaa351f450b$var$curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\nfunction $89327eaa351f450b$var$curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\nfunction $89327eaa351f450b$var$curveRadial(context, x0, y0, x1, y1) {\n var p0 = (0, $hBFQA.default)(x0, y0), p1 = (0, $hBFQA.default)(x0, y0 = (y0 + y1) / 2), p2 = (0, $hBFQA.default)(x1, y0), p3 = (0, $hBFQA.default)(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\nfunction $89327eaa351f450b$export$e7c381889b2cd14d() {\n return $89327eaa351f450b$var$link($89327eaa351f450b$var$curveHorizontal);\n}\nfunction $89327eaa351f450b$export$75de4c8c66884e04() {\n return $89327eaa351f450b$var$link($89327eaa351f450b$var$curveVertical);\n}\nfunction $89327eaa351f450b$export$7739cfe68d4e0799() {\n var l = $89327eaa351f450b$var$link($89327eaa351f450b$var$curveRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n\n});\nparcelRegister(\"i2Uw0\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $d234409fca373922$export$2e2bcd8739ae039);\nvar $d234409fca373922$var$pi = Math.PI, $d234409fca373922$var$tau = 2 * $d234409fca373922$var$pi, $d234409fca373922$var$epsilon = 1e-6, $d234409fca373922$var$tauEpsilon = $d234409fca373922$var$tau - $d234409fca373922$var$epsilon;\nfunction $d234409fca373922$var$Path() {\n this._x0 = this._y0 = this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\nfunction $d234409fca373922$var$path() {\n return new $d234409fca373922$var$Path;\n}\n$d234409fca373922$var$Path.prototype = $d234409fca373922$var$path.prototype = {\n constructor: $d234409fca373922$var$Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + +x1 + \",\" + +y1 + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + +x1 + \",\" + +y1 + \",\" + +x2 + \",\" + +y2 + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1, y0 = this._y1, x21 = x2 - x1, y21 = y2 - y1, x01 = x0 - x1, y01 = y0 - y1, l01_2 = x01 * x01 + y01 * y01;\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n else if (!(l01_2 > $d234409fca373922$var$epsilon)) ;\n else if (!(Math.abs(y01 * x21 - y21 * x01) > $d234409fca373922$var$epsilon) || !r) this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n else {\n var x20 = x2 - x0, y20 = y2 - y0, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan(($d234409fca373922$var$pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21;\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > $d234409fca373922$var$epsilon) this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + +(y01 * x20 > x01 * y20) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0), dy = r * Math.sin(a0), x0 = x + dx, y0 = y + dy, cw = 1 ^ ccw, da = ccw ? a0 - a1 : a1 - a0;\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) this._ += \"M\" + x0 + \",\" + y0;\n else if (Math.abs(this._x1 - x0) > $d234409fca373922$var$epsilon || Math.abs(this._y1 - y0) > $d234409fca373922$var$epsilon) this._ += \"L\" + x0 + \",\" + y0;\n // Is this arc empty? We’re done.\n if (!r) return;\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % $d234409fca373922$var$tau + $d234409fca373922$var$tau;\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > $d234409fca373922$var$tauEpsilon) this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n else if (da > $d234409fca373922$var$epsilon) this._ += \"A\" + r + \",\" + r + \",0,\" + +(da >= $d234409fca373922$var$pi) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + +w + \"v\" + +h + \"h\" + -w + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\nvar $d234409fca373922$export$2e2bcd8739ae039 = $d234409fca373922$var$path;\n\n});\n\nparcelRegister(\"eQUJD\", function(module, exports) {\n\n$parcel$export(module.exports, \"slice\", () => $ad01ee65b1d7d08f$export$58adb3bec8346d0f);\nvar $ad01ee65b1d7d08f$export$58adb3bec8346d0f = Array.prototype.slice;\n\n});\n\nparcelRegister(\"lf5pR\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $f76f333837183828$export$2e2bcd8739ae039);\nfunction $f76f333837183828$export$2e2bcd8739ae039(x) {\n return function constant() {\n return x;\n };\n}\n\n});\n\nparcelRegister(\"hMiB2\", function(module, exports) {\n\n$parcel$export(module.exports, \"x\", () => $cf155835204818d5$export$d141bba7fdc215a3);\n$parcel$export(module.exports, \"y\", () => $cf155835204818d5$export$4a5767248b18ef41);\nfunction $cf155835204818d5$export$d141bba7fdc215a3(p) {\n return p[0];\n}\nfunction $cf155835204818d5$export$4a5767248b18ef41(p) {\n return p[1];\n}\n\n});\n\nparcelRegister(\"hBFQA\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $cd165a5d9756f5a0$export$2e2bcd8739ae039);\nfunction $cd165a5d9756f5a0$export$2e2bcd8739ae039(x, y) {\n return [\n (y = +y) * Math.cos(x -= Math.PI / 2),\n y * Math.sin(x)\n ];\n}\n\n});\n\n\n\n\n\n\n//# sourceMappingURL=sankeyDiagram-707fac0f.24fb25a2.js.map\n","import { c as getConfig, g as getAccTitle, s as setAccTitle, a as getAccDescription, b as setAccDescription, t as getDiagramTitle, q as setDiagramTitle, v as clear$1, e as common, K as defaultConfig, o as setupGraphViewbox } from \"./mermaid-6dc72991.js\";\nimport { select, scaleOrdinal, schemeTableau10 } from \"d3\";\nimport { sankey, sankeyLinkHorizontal, sankeyLeft, sankeyRight, sankeyCenter, sankeyJustify } from \"d3-sankey\";\nimport \"ts-dedent\";\nimport \"dayjs\";\nimport \"@braintree/sanitize-url\";\nimport \"dompurify\";\nimport \"khroma\";\nimport \"lodash-es/memoize.js\";\nimport \"lodash-es/merge.js\";\nimport \"stylis\";\nimport \"lodash-es/isEmpty.js\";\nvar parser = function() {\n var o = function(k, v, o2, l) {\n for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)\n ;\n return o2;\n }, $V0 = [1, 9], $V1 = [1, 10], $V2 = [1, 5, 10, 12];\n var parser2 = {\n trace: function trace() {\n },\n yy: {},\n symbols_: { \"error\": 2, \"start\": 3, \"SANKEY\": 4, \"NEWLINE\": 5, \"csv\": 6, \"opt_eof\": 7, \"record\": 8, \"csv_tail\": 9, \"EOF\": 10, \"field[source]\": 11, \"COMMA\": 12, \"field[target]\": 13, \"field[value]\": 14, \"field\": 15, \"escaped\": 16, \"non_escaped\": 17, \"DQUOTE\": 18, \"ESCAPED_TEXT\": 19, \"NON_ESCAPED_TEXT\": 20, \"$accept\": 0, \"$end\": 1 },\n terminals_: { 2: \"error\", 4: \"SANKEY\", 5: \"NEWLINE\", 10: \"EOF\", 11: \"field[source]\", 12: \"COMMA\", 13: \"field[target]\", 14: \"field[value]\", 18: \"DQUOTE\", 19: \"ESCAPED_TEXT\", 20: \"NON_ESCAPED_TEXT\" },\n productions_: [0, [3, 4], [6, 2], [9, 2], [9, 0], [7, 1], [7, 0], [8, 5], [15, 1], [15, 1], [16, 3], [17, 1]],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {\n var $0 = $$.length - 1;\n switch (yystate) {\n case 7:\n const source = yy.findOrCreateNode($$[$0 - 4].trim().replaceAll('\"\"', '\"'));\n const target = yy.findOrCreateNode($$[$0 - 2].trim().replaceAll('\"\"', '\"'));\n const value = parseFloat($$[$0].trim());\n yy.addLink(source, target, value);\n break;\n case 8:\n case 9:\n case 11:\n this.$ = $$[$0];\n break;\n case 10:\n this.$ = $$[$0 - 1];\n break;\n }\n },\n table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, { 5: [1, 3] }, { 6: 4, 8: 5, 15: 6, 16: 7, 17: 8, 18: $V0, 20: $V1 }, { 1: [2, 6], 7: 11, 10: [1, 12] }, o($V1, [2, 4], { 9: 13, 5: [1, 14] }), { 12: [1, 15] }, o($V2, [2, 8]), o($V2, [2, 9]), { 19: [1, 16] }, o($V2, [2, 11]), { 1: [2, 1] }, { 1: [2, 5] }, o($V1, [2, 2]), { 6: 17, 8: 5, 15: 6, 16: 7, 17: 8, 18: $V0, 20: $V1 }, { 15: 18, 16: 7, 17: 8, 18: $V0, 20: $V1 }, { 18: [1, 19] }, o($V1, [2, 3]), { 12: [1, 20] }, o($V2, [2, 10]), { 15: 21, 16: 7, 17: 8, 18: $V0, 20: $V1 }, o([1, 5, 10], [2, 7])],\n defaultActions: { 11: [2, 1], 12: [2, 5] },\n parseError: function parseError(str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n },\n parse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = \"\", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer2 = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer2.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer2;\n sharedState.yy.parser = this;\n if (typeof lexer2.yylloc == \"undefined\") {\n lexer2.yylloc = {};\n }\n var yyloc = lexer2.yylloc;\n lstack.push(yyloc);\n var ranges = lexer2.options && lexer2.options.ranges;\n if (typeof sharedState.yy.parseError === \"function\") {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer2.lex() || EOF;\n if (typeof token !== \"number\") {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, state, action, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == \"undefined\") {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === \"undefined\" || !action.length || !action[0]) {\n var errStr = \"\";\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push(\"'\" + this.terminals_[p] + \"'\");\n }\n }\n if (lexer2.showPosition) {\n errStr = \"Parse error on line \" + (yylineno + 1) + \":\\n\" + lexer2.showPosition() + \"\\nExpecting \" + expected.join(\", \") + \", got '\" + (this.terminals_[symbol] || symbol) + \"'\";\n } else {\n errStr = \"Parse error on line \" + (yylineno + 1) + \": Unexpected \" + (symbol == EOF ? \"end of input\" : \"'\" + (this.terminals_[symbol] || symbol) + \"'\");\n }\n this.parseError(errStr, {\n text: lexer2.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer2.yylineno,\n loc: yyloc,\n expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error(\"Parse Error: multiple actions possible at state: \" + state + \", token: \" + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer2.yytext);\n lstack.push(lexer2.yylloc);\n stack.push(action[1]);\n symbol = null;\n {\n yyleng = lexer2.yyleng;\n yytext = lexer2.yytext;\n yylineno = lexer2.yylineno;\n yyloc = lexer2.yylloc;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== \"undefined\") {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n }\n };\n var lexer = function() {\n var lexer2 = {\n EOF: 1,\n parseError: function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n // resets the lexer, sets new input\n setInput: function(input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = \"\";\n this.conditionStack = [\"INITIAL\"];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0, 0];\n }\n this.offset = 0;\n return this;\n },\n // consumes and returns one char from the input\n input: function() {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n this._input = this._input.slice(1);\n return ch;\n },\n // unshifts one char (or a string) into the input\n unput: function(ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len\n };\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n // When called from action, caches matched text and appends it on next action\n more: function() {\n this._more = true;\n return this;\n },\n // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\n reject: function() {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError(\"Lexical error on line \" + (this.yylineno + 1) + \". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n\" + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n return this;\n },\n // retain first n characters of the match\n less: function(n) {\n this.unput(this.match.slice(n));\n },\n // displays already matched input, i.e. for error messages\n pastInput: function() {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? \"...\" : \"\") + past.substr(-20).replace(/\\n/g, \"\");\n },\n // displays upcoming input, i.e. for error messages\n upcomingInput: function() {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20 - next.length);\n }\n return (next.substr(0, 20) + (next.length > 20 ? \"...\" : \"\")).replace(/\\n/g, \"\");\n },\n // displays the character position where the lexing error occurred, i.e. for error messages\n showPosition: function() {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n // test the lexed token: return FALSE when not a match, otherwise return token\n test_match: function(match, indexed_rule) {\n var token, lines, backup;\n if (this.options.backtrack_lexer) {\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length : this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false;\n }\n return false;\n },\n // return next match in input\n next: function() {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n var token, match, tempMatch, index;\n if (!this._more) {\n this.yytext = \"\";\n this.match = \"\";\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue;\n } else {\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError(\"Lexical error on line \" + (this.yylineno + 1) + \". Unrecognized text.\\n\" + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n // return next match that has a token\n lex: function lex() {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\n begin: function begin(condition) {\n this.conditionStack.push(condition);\n },\n // pop the previously active lexer condition state off the condition stack\n popState: function popState() {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n // produce the lexer rule set which is active for the currently active lexer condition state\n _currentRules: function _currentRules() {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\n topState: function topState(n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n // alias for begin(condition)\n pushState: function pushState(condition) {\n this.begin(condition);\n },\n // return the number of states currently on the stack\n stateStackSize: function stateStackSize() {\n return this.conditionStack.length;\n },\n options: { \"case-insensitive\": true },\n performAction: function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {\n switch ($avoiding_name_collisions) {\n case 0:\n this.pushState(\"csv\");\n return 4;\n case 1:\n return 10;\n case 2:\n return 5;\n case 3:\n return 12;\n case 4:\n this.pushState(\"escaped_text\");\n return 18;\n case 5:\n return 20;\n case 6:\n this.popState(\"escaped_text\");\n return 18;\n case 7:\n return 19;\n }\n },\n rules: [/^(?:sankey-beta\\b)/i, /^(?:$)/i, /^(?:((\\u000D\\u000A)|(\\u000A)))/i, /^(?:(\\u002C))/i, /^(?:(\\u0022))/i, /^(?:([\\u0020-\\u0021\\u0023-\\u002B\\u002D-\\u007E])*)/i, /^(?:(\\u0022)(?!(\\u0022)))/i, /^(?:(([\\u0020-\\u0021\\u0023-\\u002B\\u002D-\\u007E])|(\\u002C)|(\\u000D)|(\\u000A)|(\\u0022)(\\u0022))*)/i],\n conditions: { \"csv\": { \"rules\": [1, 2, 3, 4, 5, 6, 7], \"inclusive\": false }, \"escaped_text\": { \"rules\": [6, 7], \"inclusive\": false }, \"INITIAL\": { \"rules\": [0, 1, 2, 3, 4, 5, 6, 7], \"inclusive\": true } }\n };\n return lexer2;\n }();\n parser2.lexer = lexer;\n function Parser() {\n this.yy = {};\n }\n Parser.prototype = parser2;\n parser2.Parser = Parser;\n return new Parser();\n}();\nparser.parser = parser;\nconst parser$1 = parser;\nlet links = [];\nlet nodes = [];\nlet nodesMap = {};\nconst clear = () => {\n links = [];\n nodes = [];\n nodesMap = {};\n clear$1();\n};\nclass SankeyLink {\n constructor(source, target, value = 0) {\n this.source = source;\n this.target = target;\n this.value = value;\n }\n}\nconst addLink = (source, target, value) => {\n links.push(new SankeyLink(source, target, value));\n};\nclass SankeyNode {\n constructor(ID) {\n this.ID = ID;\n }\n}\nconst findOrCreateNode = (ID) => {\n ID = common.sanitizeText(ID, getConfig());\n if (!nodesMap[ID]) {\n nodesMap[ID] = new SankeyNode(ID);\n nodes.push(nodesMap[ID]);\n }\n return nodesMap[ID];\n};\nconst getNodes = () => nodes;\nconst getLinks = () => links;\nconst getGraph = () => ({\n nodes: nodes.map((node) => ({ id: node.ID })),\n links: links.map((link) => ({\n source: link.source.ID,\n target: link.target.ID,\n value: link.value\n }))\n});\nconst db = {\n nodesMap,\n getConfig: () => getConfig().sankey,\n getNodes,\n getLinks,\n getGraph,\n addLink,\n findOrCreateNode,\n getAccTitle,\n setAccTitle,\n getAccDescription,\n setAccDescription,\n getDiagramTitle,\n setDiagramTitle,\n clear\n};\nconst _Uid = class _Uid2 {\n static next(name) {\n return new _Uid2(name + ++_Uid2.count);\n }\n constructor(id) {\n this.id = id;\n this.href = `#${id}`;\n }\n toString() {\n return \"url(\" + this.href + \")\";\n }\n};\n_Uid.count = 0;\nlet Uid = _Uid;\nconst alignmentsMap = {\n left: sankeyLeft,\n right: sankeyRight,\n center: sankeyCenter,\n justify: sankeyJustify\n};\nconst draw = function(text, id, _version, diagObj) {\n const { securityLevel, sankey: conf } = getConfig();\n const defaultSankeyConfig = defaultConfig.sankey;\n let sandboxElement;\n if (securityLevel === \"sandbox\") {\n sandboxElement = select(\"#i\" + id);\n }\n const root = securityLevel === \"sandbox\" ? select(sandboxElement.nodes()[0].contentDocument.body) : select(\"body\");\n const svg = securityLevel === \"sandbox\" ? root.select(`[id=\"${id}\"]`) : select(`[id=\"${id}\"]`);\n const width = (conf == null ? void 0 : conf.width) ?? defaultSankeyConfig.width;\n const height = (conf == null ? void 0 : conf.height) ?? defaultSankeyConfig.width;\n const useMaxWidth = (conf == null ? void 0 : conf.useMaxWidth) ?? defaultSankeyConfig.useMaxWidth;\n const nodeAlignment = (conf == null ? void 0 : conf.nodeAlignment) ?? defaultSankeyConfig.nodeAlignment;\n const prefix = (conf == null ? void 0 : conf.prefix) ?? defaultSankeyConfig.prefix;\n const suffix = (conf == null ? void 0 : conf.suffix) ?? defaultSankeyConfig.suffix;\n const showValues = (conf == null ? void 0 : conf.showValues) ?? defaultSankeyConfig.showValues;\n const graph = diagObj.db.getGraph();\n const nodeAlign = alignmentsMap[nodeAlignment];\n const nodeWidth = 10;\n const sankey$1 = sankey().nodeId((d) => d.id).nodeWidth(nodeWidth).nodePadding(10 + (showValues ? 15 : 0)).nodeAlign(nodeAlign).extent([\n [0, 0],\n [width, height]\n ]);\n sankey$1(graph);\n const colorScheme = scaleOrdinal(schemeTableau10);\n svg.append(\"g\").attr(\"class\", \"nodes\").selectAll(\".node\").data(graph.nodes).join(\"g\").attr(\"class\", \"node\").attr(\"id\", (d) => (d.uid = Uid.next(\"node-\")).id).attr(\"transform\", function(d) {\n return \"translate(\" + d.x0 + \",\" + d.y0 + \")\";\n }).attr(\"x\", (d) => d.x0).attr(\"y\", (d) => d.y0).append(\"rect\").attr(\"height\", (d) => {\n return d.y1 - d.y0;\n }).attr(\"width\", (d) => d.x1 - d.x0).attr(\"fill\", (d) => colorScheme(d.id));\n const getText = ({ id: id2, value }) => {\n if (!showValues) {\n return id2;\n }\n return `${id2}\n${prefix}${Math.round(value * 100) / 100}${suffix}`;\n };\n svg.append(\"g\").attr(\"class\", \"node-labels\").attr(\"font-family\", \"sans-serif\").attr(\"font-size\", 14).selectAll(\"text\").data(graph.nodes).join(\"text\").attr(\"x\", (d) => d.x0 < width / 2 ? d.x1 + 6 : d.x0 - 6).attr(\"y\", (d) => (d.y1 + d.y0) / 2).attr(\"dy\", `${showValues ? \"0\" : \"0.35\"}em`).attr(\"text-anchor\", (d) => d.x0 < width / 2 ? \"start\" : \"end\").text(getText);\n const link = svg.append(\"g\").attr(\"class\", \"links\").attr(\"fill\", \"none\").attr(\"stroke-opacity\", 0.5).selectAll(\".link\").data(graph.links).join(\"g\").attr(\"class\", \"link\").style(\"mix-blend-mode\", \"multiply\");\n const linkColor = (conf == null ? void 0 : conf.linkColor) || \"gradient\";\n if (linkColor === \"gradient\") {\n const gradient = link.append(\"linearGradient\").attr(\"id\", (d) => (d.uid = Uid.next(\"linearGradient-\")).id).attr(\"gradientUnits\", \"userSpaceOnUse\").attr(\"x1\", (d) => d.source.x1).attr(\"x2\", (d) => d.target.x0);\n gradient.append(\"stop\").attr(\"offset\", \"0%\").attr(\"stop-color\", (d) => colorScheme(d.source.id));\n gradient.append(\"stop\").attr(\"offset\", \"100%\").attr(\"stop-color\", (d) => colorScheme(d.target.id));\n }\n let coloring;\n switch (linkColor) {\n case \"gradient\":\n coloring = (d) => d.uid;\n break;\n case \"source\":\n coloring = (d) => colorScheme(d.source.id);\n break;\n case \"target\":\n coloring = (d) => colorScheme(d.target.id);\n break;\n default:\n coloring = linkColor;\n }\n link.append(\"path\").attr(\"d\", sankeyLinkHorizontal()).attr(\"stroke\", coloring).attr(\"stroke-width\", (d) => Math.max(1, d.width));\n setupGraphViewbox(void 0, svg, 0, useMaxWidth);\n};\nconst renderer = {\n draw\n};\nconst prepareTextForParsing = (text) => {\n const textToParse = text.replaceAll(/^[^\\S\\n\\r]+|[^\\S\\n\\r]+$/g, \"\").replaceAll(/([\\n\\r])+/g, \"\\n\").trim();\n return textToParse;\n};\nconst originalParse = parser$1.parse.bind(parser$1);\nparser$1.parse = (text) => originalParse(prepareTextForParsing(text));\nconst diagram = {\n parser: parser$1,\n db,\n renderer\n};\nexport {\n diagram\n};\n","export {default as sankey} from \"./sankey.js\";\nexport {center as sankeyCenter, left as sankeyLeft, right as sankeyRight, justify as sankeyJustify} from \"./align.js\";\nexport {default as sankeyLinkHorizontal} from \"./sankeyLinkHorizontal.js\";\n","import {max, min, sum} from \"d3-array\";\nimport {justify} from \"./align.js\";\nimport constant from \"./constant.js\";\n\nfunction ascendingSourceBreadth(a, b) {\n return ascendingBreadth(a.source, b.source) || a.index - b.index;\n}\n\nfunction ascendingTargetBreadth(a, b) {\n return ascendingBreadth(a.target, b.target) || a.index - b.index;\n}\n\nfunction ascendingBreadth(a, b) {\n return a.y0 - b.y0;\n}\n\nfunction value(d) {\n return d.value;\n}\n\nfunction defaultId(d) {\n return d.index;\n}\n\nfunction defaultNodes(graph) {\n return graph.nodes;\n}\n\nfunction defaultLinks(graph) {\n return graph.links;\n}\n\nfunction find(nodeById, id) {\n const node = nodeById.get(id);\n if (!node) throw new Error(\"missing: \" + id);\n return node;\n}\n\nfunction computeLinkBreadths({nodes}) {\n for (const node of nodes) {\n let y0 = node.y0;\n let y1 = y0;\n for (const link of node.sourceLinks) {\n link.y0 = y0 + link.width / 2;\n y0 += link.width;\n }\n for (const link of node.targetLinks) {\n link.y1 = y1 + link.width / 2;\n y1 += link.width;\n }\n }\n}\n\nexport default function Sankey() {\n let x0 = 0, y0 = 0, x1 = 1, y1 = 1; // extent\n let dx = 24; // nodeWidth\n let dy = 8, py; // nodePadding\n let id = defaultId;\n let align = justify;\n let sort;\n let linkSort;\n let nodes = defaultNodes;\n let links = defaultLinks;\n let iterations = 6;\n\n function sankey() {\n const graph = {nodes: nodes.apply(null, arguments), links: links.apply(null, arguments)};\n computeNodeLinks(graph);\n computeNodeValues(graph);\n computeNodeDepths(graph);\n computeNodeHeights(graph);\n computeNodeBreadths(graph);\n computeLinkBreadths(graph);\n return graph;\n }\n\n sankey.update = function(graph) {\n computeLinkBreadths(graph);\n return graph;\n };\n\n sankey.nodeId = function(_) {\n return arguments.length ? (id = typeof _ === \"function\" ? _ : constant(_), sankey) : id;\n };\n\n sankey.nodeAlign = function(_) {\n return arguments.length ? (align = typeof _ === \"function\" ? _ : constant(_), sankey) : align;\n };\n\n sankey.nodeSort = function(_) {\n return arguments.length ? (sort = _, sankey) : sort;\n };\n\n sankey.nodeWidth = function(_) {\n return arguments.length ? (dx = +_, sankey) : dx;\n };\n\n sankey.nodePadding = function(_) {\n return arguments.length ? (dy = py = +_, sankey) : dy;\n };\n\n sankey.nodes = function(_) {\n return arguments.length ? (nodes = typeof _ === \"function\" ? _ : constant(_), sankey) : nodes;\n };\n\n sankey.links = function(_) {\n return arguments.length ? (links = typeof _ === \"function\" ? _ : constant(_), sankey) : links;\n };\n\n sankey.linkSort = function(_) {\n return arguments.length ? (linkSort = _, sankey) : linkSort;\n };\n\n sankey.size = function(_) {\n return arguments.length ? (x0 = y0 = 0, x1 = +_[0], y1 = +_[1], sankey) : [x1 - x0, y1 - y0];\n };\n\n sankey.extent = function(_) {\n return arguments.length ? (x0 = +_[0][0], x1 = +_[1][0], y0 = +_[0][1], y1 = +_[1][1], sankey) : [[x0, y0], [x1, y1]];\n };\n\n sankey.iterations = function(_) {\n return arguments.length ? (iterations = +_, sankey) : iterations;\n };\n\n function computeNodeLinks({nodes, links}) {\n for (const [i, node] of nodes.entries()) {\n node.index = i;\n node.sourceLinks = [];\n node.targetLinks = [];\n }\n const nodeById = new Map(nodes.map((d, i) => [id(d, i, nodes), d]));\n for (const [i, link] of links.entries()) {\n link.index = i;\n let {source, target} = link;\n if (typeof source !== \"object\") source = link.source = find(nodeById, source);\n if (typeof target !== \"object\") target = link.target = find(nodeById, target);\n source.sourceLinks.push(link);\n target.targetLinks.push(link);\n }\n if (linkSort != null) {\n for (const {sourceLinks, targetLinks} of nodes) {\n sourceLinks.sort(linkSort);\n targetLinks.sort(linkSort);\n }\n }\n }\n\n function computeNodeValues({nodes}) {\n for (const node of nodes) {\n node.value = node.fixedValue === undefined\n ? Math.max(sum(node.sourceLinks, value), sum(node.targetLinks, value))\n : node.fixedValue;\n }\n }\n\n function computeNodeDepths({nodes}) {\n const n = nodes.length;\n let current = new Set(nodes);\n let next = new Set;\n let x = 0;\n while (current.size) {\n for (const node of current) {\n node.depth = x;\n for (const {target} of node.sourceLinks) {\n next.add(target);\n }\n }\n if (++x > n) throw new Error(\"circular link\");\n current = next;\n next = new Set;\n }\n }\n\n function computeNodeHeights({nodes}) {\n const n = nodes.length;\n let current = new Set(nodes);\n let next = new Set;\n let x = 0;\n while (current.size) {\n for (const node of current) {\n node.height = x;\n for (const {source} of node.targetLinks) {\n next.add(source);\n }\n }\n if (++x > n) throw new Error(\"circular link\");\n current = next;\n next = new Set;\n }\n }\n\n function computeNodeLayers({nodes}) {\n const x = max(nodes, d => d.depth) + 1;\n const kx = (x1 - x0 - dx) / (x - 1);\n const columns = new Array(x);\n for (const node of nodes) {\n const i = Math.max(0, Math.min(x - 1, Math.floor(align.call(null, node, x))));\n node.layer = i;\n node.x0 = x0 + i * kx;\n node.x1 = node.x0 + dx;\n if (columns[i]) columns[i].push(node);\n else columns[i] = [node];\n }\n if (sort) for (const column of columns) {\n column.sort(sort);\n }\n return columns;\n }\n\n function initializeNodeBreadths(columns) {\n const ky = min(columns, c => (y1 - y0 - (c.length - 1) * py) / sum(c, value));\n for (const nodes of columns) {\n let y = y0;\n for (const node of nodes) {\n node.y0 = y;\n node.y1 = y + node.value * ky;\n y = node.y1 + py;\n for (const link of node.sourceLinks) {\n link.width = link.value * ky;\n }\n }\n y = (y1 - y + py) / (nodes.length + 1);\n for (let i = 0; i < nodes.length; ++i) {\n const node = nodes[i];\n node.y0 += y * (i + 1);\n node.y1 += y * (i + 1);\n }\n reorderLinks(nodes);\n }\n }\n\n function computeNodeBreadths(graph) {\n const columns = computeNodeLayers(graph);\n py = Math.min(dy, (y1 - y0) / (max(columns, c => c.length) - 1));\n initializeNodeBreadths(columns);\n for (let i = 0; i < iterations; ++i) {\n const alpha = Math.pow(0.99, i);\n const beta = Math.max(1 - alpha, (i + 1) / iterations);\n relaxRightToLeft(columns, alpha, beta);\n relaxLeftToRight(columns, alpha, beta);\n }\n }\n\n // Reposition each node based on its incoming (target) links.\n function relaxLeftToRight(columns, alpha, beta) {\n for (let i = 1, n = columns.length; i < n; ++i) {\n const column = columns[i];\n for (const target of column) {\n let y = 0;\n let w = 0;\n for (const {source, value} of target.targetLinks) {\n let v = value * (target.layer - source.layer);\n y += targetTop(source, target) * v;\n w += v;\n }\n if (!(w > 0)) continue;\n let dy = (y / w - target.y0) * alpha;\n target.y0 += dy;\n target.y1 += dy;\n reorderNodeLinks(target);\n }\n if (sort === undefined) column.sort(ascendingBreadth);\n resolveCollisions(column, beta);\n }\n }\n\n // Reposition each node based on its outgoing (source) links.\n function relaxRightToLeft(columns, alpha, beta) {\n for (let n = columns.length, i = n - 2; i >= 0; --i) {\n const column = columns[i];\n for (const source of column) {\n let y = 0;\n let w = 0;\n for (const {target, value} of source.sourceLinks) {\n let v = value * (target.layer - source.layer);\n y += sourceTop(source, target) * v;\n w += v;\n }\n if (!(w > 0)) continue;\n let dy = (y / w - source.y0) * alpha;\n source.y0 += dy;\n source.y1 += dy;\n reorderNodeLinks(source);\n }\n if (sort === undefined) column.sort(ascendingBreadth);\n resolveCollisions(column, beta);\n }\n }\n\n function resolveCollisions(nodes, alpha) {\n const i = nodes.length >> 1;\n const subject = nodes[i];\n resolveCollisionsBottomToTop(nodes, subject.y0 - py, i - 1, alpha);\n resolveCollisionsTopToBottom(nodes, subject.y1 + py, i + 1, alpha);\n resolveCollisionsBottomToTop(nodes, y1, nodes.length - 1, alpha);\n resolveCollisionsTopToBottom(nodes, y0, 0, alpha);\n }\n\n // Push any overlapping nodes down.\n function resolveCollisionsTopToBottom(nodes, y, i, alpha) {\n for (; i < nodes.length; ++i) {\n const node = nodes[i];\n const dy = (y - node.y0) * alpha;\n if (dy > 1e-6) node.y0 += dy, node.y1 += dy;\n y = node.y1 + py;\n }\n }\n\n // Push any overlapping nodes up.\n function resolveCollisionsBottomToTop(nodes, y, i, alpha) {\n for (; i >= 0; --i) {\n const node = nodes[i];\n const dy = (node.y1 - y) * alpha;\n if (dy > 1e-6) node.y0 -= dy, node.y1 -= dy;\n y = node.y0 - py;\n }\n }\n\n function reorderNodeLinks({sourceLinks, targetLinks}) {\n if (linkSort === undefined) {\n for (const {source: {sourceLinks}} of targetLinks) {\n sourceLinks.sort(ascendingTargetBreadth);\n }\n for (const {target: {targetLinks}} of sourceLinks) {\n targetLinks.sort(ascendingSourceBreadth);\n }\n }\n }\n\n function reorderLinks(nodes) {\n if (linkSort === undefined) {\n for (const {sourceLinks, targetLinks} of nodes) {\n sourceLinks.sort(ascendingTargetBreadth);\n targetLinks.sort(ascendingSourceBreadth);\n }\n }\n }\n\n // Returns the target.y0 that would produce an ideal link from source to target.\n function targetTop(source, target) {\n let y = source.y0 - (source.sourceLinks.length - 1) * py / 2;\n for (const {target: node, width} of source.sourceLinks) {\n if (node === target) break;\n y += width + py;\n }\n for (const {source: node, width} of target.targetLinks) {\n if (node === source) break;\n y -= width;\n }\n return y;\n }\n\n // Returns the source.y0 that would produce an ideal link from source to target.\n function sourceTop(source, target) {\n let y = target.y0 - (target.targetLinks.length - 1) * py / 2;\n for (const {source: node, width} of target.targetLinks) {\n if (node === source) break;\n y += width + py;\n }\n for (const {target: node, width} of source.sourceLinks) {\n if (node === target) break;\n y -= width;\n }\n return y;\n }\n\n return sankey;\n}\n","export default function max(values, valueof) {\n let max;\n if (valueof === undefined) {\n for (const value of values) {\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n return max;\n}\n","export default function min(values, valueof) {\n let min;\n if (valueof === undefined) {\n for (const value of values) {\n if (value != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n }\n return min;\n}\n","export default function sum(values, valueof) {\n let sum = 0;\n if (valueof === undefined) {\n for (let value of values) {\n if (value = +value) {\n sum += value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if (value = +valueof(value, ++index, values)) {\n sum += value;\n }\n }\n }\n return sum;\n}\n","import {min} from \"d3-array\";\n\nfunction targetDepth(d) {\n return d.target.depth;\n}\n\nexport function left(node) {\n return node.depth;\n}\n\nexport function right(node, n) {\n return n - 1 - node.height;\n}\n\nexport function justify(node, n) {\n return node.sourceLinks.length ? node.depth : n - 1;\n}\n\nexport function center(node) {\n return node.targetLinks.length ? node.depth\n : node.sourceLinks.length ? min(node.sourceLinks, targetDepth) - 1\n : 0;\n}\n","export default function constant(x) {\n return function() {\n return x;\n };\n}\n","import {linkHorizontal} from \"d3-shape\";\n\nfunction horizontalSource(d) {\n return [d.source.x1, d.y0];\n}\n\nfunction horizontalTarget(d) {\n return [d.target.x0, d.y1];\n}\n\nexport default function() {\n return linkHorizontal()\n .source(horizontalSource)\n .target(horizontalTarget);\n}\n","import {path} from \"d3-path\";\nimport {slice} from \"../array.js\";\nimport constant from \"../constant.js\";\nimport {x as pointX, y as pointY} from \"../point.js\";\nimport pointRadial from \"../pointRadial.js\";\n\nfunction linkSource(d) {\n return d.source;\n}\n\nfunction linkTarget(d) {\n return d.target;\n}\n\nfunction link(curve) {\n var source = linkSource,\n target = linkTarget,\n x = pointX,\n y = pointY,\n context = null;\n\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context) context = buffer = path();\n curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), link) : x;\n };\n\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), link) : y;\n };\n\n link.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n\n return link;\n}\n\nfunction curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\n\nfunction curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\n\nfunction curveRadial(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0),\n p1 = pointRadial(x0, y0 = (y0 + y1) / 2),\n p2 = pointRadial(x1, y0),\n p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\n\nexport function linkHorizontal() {\n return link(curveHorizontal);\n}\n\nexport function linkVertical() {\n return link(curveVertical);\n}\n\nexport function linkRadial() {\n var l = link(curveRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n","var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n","export var slice = Array.prototype.slice;\n","export default function(x) {\n return function constant() {\n return x;\n };\n}\n","export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n","export default function(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n}\n"],"names":["$parcel$export","e","n","v","s","Object","defineProperty","get","set","enumerable","configurable","parcelRequire","$parcel$global","globalThis","parcelRegister","register","module","exports","$ef3450e43c976d9e$export$6118d022d940d562","$4jcZX","$2YFJl","$h2syK","$69cYt","$hQhx0","$ef3450e43c976d9e$var$parser","o","k","o2","l","length","$V0","$V1","$V2","parser2","trace","yy","symbols_","terminals_","productions_","performAction","yytext","yyleng","yylineno","yystate","$$","_$","$0","source","findOrCreateNode","trim","replaceAll","target","value","parseFloat","addLink","$","table","defaultActions","parseError","str","hash","recoverable","error","Error","parse","input","self","stack","tstack","vstack","lstack","args","slice","call","arguments","lexer2","create","lexer","sharedState","prototype","hasOwnProperty","setInput","parser","yylloc","yyloc","push","ranges","options","getPrototypeOf","symbol","state","action","r","p","len","newState","expected","yyval","lex","token","pop","Array","errStr","showPosition","join","text","match","line","loc","first_line","last_line","first_column","last_column","range","apply","concat","Parser","EOF","_input","_more","_backtrack","done","matched","conditionStack","offset","ch","unput","lines","split","substr","oldLines","more","reject","backtrack_lexer","less","pastInput","past","replace","upcomingInput","next","pre","c","test_match","indexed_rule","backup","matches","tempMatch","index","rules","_currentRules","i","flex","begin","condition","popState","conditions","topState","Math","abs","pushState","stateStackSize","yy_","$avoiding_name_collisions","YY_START","$ef3450e43c976d9e$var$links","$ef3450e43c976d9e$var$nodes","$ef3450e43c976d9e$var$nodesMap","$ef3450e43c976d9e$var$SankeyLink","constructor","$ef3450e43c976d9e$var$SankeyNode","ID","$ef3450e43c976d9e$var$db","nodesMap","getConfig","sankey","getNodes","getLinks","getGraph","nodes","map","node","id","links","link","sanitizeText","getAccTitle","g","setAccTitle","getAccDescription","a","setAccDescription","b","getDiagramTitle","t","setDiagramTitle","q","clear","$ef3450e43c976d9e$var$_Uid","_Uid2","name","count","href","toString","$ef3450e43c976d9e$var$alignmentsMap","left","right","center","justify","$ef3450e43c976d9e$var$prepareTextForParsing","$ef3450e43c976d9e$var$originalParse","$ef3450e43c976d9e$var$parser$1","bind","db","renderer","draw","_version","diagObj","sandboxElement","coloring","securityLevel","conf","defaultSankeyConfig","K","select","root","contentDocument","body","svg","width","height","useMaxWidth","nodeAlignment","prefix","suffix","showValues","graph","nodeAlign","sankey$1","default","nodeId","d","nodeWidth","nodePadding","extent","colorScheme","scaleOrdinal","schemeTableau10","append","attr","selectAll","data","uid","$ef3450e43c976d9e$var$Uid","x0","y0","y1","x1","id2","round","style","linkColor","gradient","max","$c678c6e8b1555d72$export$2e2bcd8739ae039","$arN7y","$fRuM4","$fqZOr","$femsB","$c678c6e8b1555d72$var$ascendingSourceBreadth","$c678c6e8b1555d72$var$ascendingBreadth","$c678c6e8b1555d72$var$ascendingTargetBreadth","$c678c6e8b1555d72$var$value","$c678c6e8b1555d72$var$defaultId","$c678c6e8b1555d72$var$defaultNodes","$c678c6e8b1555d72$var$defaultLinks","$c678c6e8b1555d72$var$find","nodeById","$c678c6e8b1555d72$var$computeLinkBreadths","sourceLinks","targetLinks","sort","linkSort","dx","dy","py","align","iterations","computeNodeLinks","entries","Map","computeNodeValues","undefined","fixedValue","computeNodeDepths","current","Set","x","size","depth","add","computeNodeHeights","computeNodeBreadths","columns","computeNodeLayers","kx","min","floor","layer","column","initializeNodeBreadths","ky","y","reorderLinks","alpha","pow","beta","relaxRightToLeft","w","sourceTop","reorderNodeLinks","resolveCollisions","relaxLeftToRight","targetTop","subject","resolveCollisionsBottomToTop","resolveCollisionsTopToBottom","update","_","nodeSort","$79b2876019e236cf$export$2e2bcd8739ae039","values","valueof","$b8c3ad69ded01687$export$2e2bcd8739ae039","$b3c93b6fbb60c924$export$2e2bcd8739ae039","sum","$479da5c8e0690793$export$eabcd2c8791e7bf4","$479da5c8e0690793$export$79ffe56a765070d2","$479da5c8e0690793$export$720f2a50325b840f","$479da5c8e0690793$export$3481c78889e8fbe8","$479da5c8e0690793$var$targetDepth","$b16995f71f2567a8$export$2e2bcd8739ae039","$cfd4e458179697c7$export$2e2bcd8739ae039","$bMisq","$cfd4e458179697c7$var$horizontalSource","$cfd4e458179697c7$var$horizontalTarget","linkHorizontal","$89327eaa351f450b$export$e7c381889b2cd14d","$i2Uw0","$eQUJD","$lf5pR","$hMiB2","$89327eaa351f450b$var$linkSource","$89327eaa351f450b$var$linkTarget","$89327eaa351f450b$var$curveHorizontal","context","moveTo","bezierCurveTo","$89327eaa351f450b$var$link","curve","buffer","argv","$d234409fca373922$export$2e2bcd8739ae039","$d234409fca373922$var$pi","PI","$d234409fca373922$var$tau","$d234409fca373922$var$tauEpsilon","$d234409fca373922$var$Path","_x0","_y0","_x1","_y1","$d234409fca373922$var$path","closePath","lineTo","quadraticCurveTo","x2","y2","arcTo","x21","y21","x01","y01","l01_2","x20","y20","l21_2","l21","sqrt","l01","tan","acos","t01","t21","arc","a0","a1","ccw","cos","sin","cw","da","rect","h","$ad01ee65b1d7d08f$export$58adb3bec8346d0f","$f76f333837183828$export$2e2bcd8739ae039","$cf155835204818d5$export$d141bba7fdc215a3","$cf155835204818d5$export$4a5767248b18ef41","$cd165a5d9756f5a0$export$2e2bcd8739ae039"],"version":3,"file":"sankeyDiagram-707fac0f.24fb25a2.js.map"}