1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61847],{61847:(t,e,n)=>{n.d(e,{diagram:()=>J});var i=n(68581),r=n(9220),s=n(91950),o=n(62610);function l(t){return t.target.depth}function a(t,e){return t.sourceLinks.length?t.depth:e-1}function c(t,e){let n=0;if(void 0===e)for(let e of t)(e*=1)&&(n+=e);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}var h=n(27320);function u(t){return function(){return t}}function f(t,e){return d(t.source,e.source)||t.index-e.index}function y(t,e){return d(t.target,e.target)||t.index-e.index}function d(t,e){return t.y0-e.y0}function p(t){return t.value}function g(t){return t.index}function k(t){return t.nodes}function m(t){return t.links}function x(t,e){let n=t.get(e);if(!n)throw Error("missing: "+e);return n}function _({nodes:t}){for(let e of t){let t=e.y0,n=t;for(let n of e.sourceLinks)n.y0=t+n.width/2,t+=n.width;for(let t of e.targetLinks)t.y1=n+t.width/2,n+=t.width}}var b=n(53055),v=n(12842),S=n(37262),E=n(30811),K=n(40128);function w(t){return t.source}function A(t){return t.target}function L(t){return[t.source.x1,t.y0]}function I(t){return[t.target.x0,t.y1]}var N=function(){var t=(0,r.K2)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,9],n=[1,10],i=[1,5,10,12],s={trace:(0,r.K2)(function(){},"trace"),yy:{},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},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"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:(0,r.K2)(function(t,e,n,i,r,s,o){var l=s.length-1;switch(r){case 7:let a=i.findOrCreateNode(s[l-4].trim().replaceAll('""','"')),c=i.findOrCreateNode(s[l-2].trim().replaceAll('""','"')),h=parseFloat(s[l].trim());i.addLink(a,c,h);break;case 8:case 9:case 11:this.$=s[l];break;case 10:this.$=s[l-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(i,[2,8]),t(i,[2,9]),{19:[1,16]},t(i,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:n},{15:18,16:7,17:8,18:e,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(i,[2,10]),{15:21,16:7,17:8,18:e,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:(0,r.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,r.K2)(function(t){var e=this,n=[0],i=[],s=[null],o=[],l=this.table,a="",c=0,h=0,u=0,f=o.slice.call(arguments,1),y=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);y.setInput(t,d),d.lexer=y,d.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;o.push(g);var k=y.options&&y.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||y.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,r.K2)(function(t){n.length=n.length-2*t,s.length=s.length-t,o.length=o.length-t},"popStack"),(0,r.K2)(m,"lex");for(var x,_,b,v,S,E,K,w,A,L={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==x&&(x=m()),v=l[b]&&l[b][x]),void 0===v||!v.length||!v[0]){var I="";for(E in A=[],l[b])this.terminals_[E]&&E>2&&A.push("'"+this.terminals_[E]+"'");I=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(I,{text:y.match,token:this.terminals_[x]||x,line:y.yylineno,loc:g,expected:A})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+x);switch(v[0]){case 1:n.push(x),s.push(y.yytext),o.push(y.yylloc),n.push(v[1]),x=null,_?(x=_,_=null):(h=y.yyleng,a=y.yytext,c=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(K=this.productions_[v[1]][1],L.$=s[s.length-K],L._$={first_line:o[o.length-(K||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(K||1)].first_column,last_column:o[o.length-1].last_column},k&&(L._$.range=[o[o.length-(K||1)].range[0],o[o.length-1].range[1]]),void 0!==(S=this.performAction.apply(L,[a,h,c,d,v[1],s,o].concat(f))))return S;K&&(n=n.slice(0,-1*K*2),s=s.slice(0,-1*K),o=o.slice(0,-1*K)),n.push(this.productions_[v[1]][0]),s.push(L.$),o.push(L._$),w=l[n[n.length-2]][n[n.length-1]],n.push(w);break;case 3:return!0}}return!0},"parse")};function o(){this.yy={}}return s.lexer={EOF:1,parseError:(0,r.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,r.K2)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,r.K2)(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.K2)(function(){return this._more=!0,this},"more"),reject:(0,r.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,r.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,r.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,r.K2)(function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},"test_match"),next:(0,r.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,r=this._currentRules(),s=0;s<r.length;s++)if((n=this._input.match(this.rules[r[s]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,r.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,r.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,r.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,r.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.K2)(function(t,e,n,i){switch(n){case 0:case 1:return this.pushState("csv"),4;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;case 6:return 20;case 7:return this.popState("escaped_text"),18;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\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],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}},(0,r.K2)(o,"Parser"),o.prototype=s,s.Parser=o,new o}();N.parser=N;var $=[],P=[],D=new Map,M=(0,r.K2)(()=>{$=[],P=[],D=new Map,(0,i.IU)()},"clear"),O=class{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}static{(0,r.K2)(this,"SankeyLink")}},T=(0,r.K2)((t,e,n)=>{$.push(new O(t,e,n))},"addLink"),C=class{constructor(t){this.ID=t}static{(0,r.K2)(this,"SankeyNode")}},j=(0,r.K2)(t=>{t=i.Y2.sanitizeText(t,(0,i.D7)());let e=D.get(t);
1return void 0===e&&(e=new C(t),D.set(t,e),P.push(e)),e},"findOrCreateNode"),F=(0,r.K2)(()=>P,"getNodes"),z=(0,r.K2)(()=>$,"getLinks"),U=(0,r.K2)(()=>({nodes:P.map(t=>({id:t.ID})),links:$.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),W={nodesMap:D,getConfig:(0,r.K2)(()=>(0,i.D7)().sankey,"getConfig"),getNodes:F,getLinks:z,getGraph:U,addLink:T,findOrCreateNode:j,getAccTitle:i.iN,setAccTitle:i.SV,getAccDescription:i.m7,setAccDescription:i.EI,getDiagramTitle:i.ab,setDiagramTitle:i.ke,clear:M},V=class t{static{(0,r.K2)(this,"Uid")}static{this.count=0}static next(e){return new t(e+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}},G={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?(0,o.A)(t.sourceLinks,l)-1:0},justify:a},X=(0,r.K2)(t=>{let e=0,n=0;for(let i of t){let t=i.value??0;t>e&&(e=t,n=i.layer??0)}return n},"findCentralNodeLayer"),Y=(0,r.K2)(function(t,e,n,l){let N,$,{securityLevel:P,sankey:D}=(0,i.D7)(),M=i.ME.sankey;"sandbox"===P&&(N=(0,s.Ltv)("#i"+e));let O="sandbox"===P?(0,s.Ltv)(N.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),T="sandbox"===P?O.select(`[id="${e}"]`):(0,s.Ltv)(`[id="${e}"]`),C=D?.width??M.width,j=D?.height??M.width,F=D?.useMaxWidth??M.useMaxWidth,z=D?.nodeAlignment??M.nodeAlignment,U=D?.prefix??M.prefix,W=D?.suffix??M.suffix,Y=D?.showValues??M.showValues,B=D?.nodeWidth??M.nodeWidth??10,R=D?.nodePadding??M.nodePadding??12,Q=D?.labelStyle??M.labelStyle??"legacy",J=D?.nodeColors??{},q=l.db.getGraph(),H=G[z];(function(){let t,e,n=0,i=0,r=1,s=1,l=24,b=8,v,S=g,E=a,K=k,w=m,A=6;function L(){let a={nodes:K.apply(null,arguments),links:w.apply(null,arguments)};return function({nodes:t,links:n}){for(let[e,n]of t.entries())n.index=e,n.sourceLinks=[],n.targetLinks=[];let i=new Map(t.map((e,n)=>[S(e,n,t),e]));for(let[t,e]of n.entries()){e.index=t;let{source:n,target:r}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof r&&(r=e.target=x(i,r)),n.sourceLinks.push(e),r.targetLinks.push(e)}if(null!=e)for(let{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(a),function({nodes:t}){for(let e of t)e.value=void 0===e.fixedValue?Math.max(c(e.sourceLinks,p),c(e.targetLinks,p)):e.fixedValue}(a),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{target:e}of(t.depth=r,t.sourceLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(a),function({nodes:t}){let e=t.length,n=new Set(t),i=new Set,r=0;for(;n.size;){for(let t of n)for(let{source:e}of(t.height=r,t.targetLinks))i.add(e);if(++r>e)throw Error("circular link");n=i,i=new Set}}(a),function(a){let u=function({nodes:e}){let i=(0,h.A)(e,t=>t.depth)+1,s=(r-n-l)/(i-1),o=Array(i);for(let t of e){let e=Math.max(0,Math.min(i-1,Math.floor(E.call(null,t,i))));t.layer=e,t.x0=n+e*s,t.x1=t.x0+l,o[e]?o[e].push(t):o[e]=[t]}if(t)for(let e of o)e.sort(t);return o}(a);v=Math.min(b,(s-i)/((0,h.A)(u,t=>t.length)-1));let g=(0,o.A)(u,t=>(s-i-(t.length-1)*v)/c(t,p));for(let t of u){let n=i;for(let e of t)for(let t of(e.y0=n,e.y1=n+e.value*g,n=e.y1+v,e.sourceLinks))t.width=t.value*g;n=(s-n+v)/(t.length+1);for(let e=0;e<t.length;++e){let i=t[e];i.y0+=n*(e+1),i.y1+=n*(e+1)}var k=t;if(void 0===e)for(let{sourceLinks:t,targetLinks:e}of k)t.sort(y),e.sort(f)}for(let e=0;e<A;++e){let n=Math.pow(.99,e),i=Math.max(1-n,(e+1)/A);(function(e,n,i){for(let r=e.length,s=r-2;s>=0;--s){let r=e[s];for(let t of r){let e=0,i=0;for(let{target:n,value:r}of t.sourceLinks){let s=r*(n.layer-t.layer);e+=function(t,e){let n=e.y0-(e.targetLinks.length-1)*v/2;for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n+=r+v}for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n-=r}return n}(t,n)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&r.sort(d),I(r,i)}})(u,n,i),function(e,n,i){for(let r=1,s=e.length;r<s;++r){let s=e[r];for(let t of s){let e=0,i=0;for(let{source:n,value:r}of t.targetLinks){let s=r*(t.layer-n.layer);e+=function(t,e){let n=t.y0-(t.sourceLinks.length-1)*v/2;for(let{target:i,width:r}of t.sourceLinks){if(i===e)break;n+=r+v}for(let{source:i,width:r}of e.targetLinks){if(i===t)break;n-=r}return n}(n,t)*s,i+=s}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,P(t)}void 0===t&&s.sort(d),I(s,i)}}(u,n,i)}}(a),_(a),a}function I(t,e){let n=t.length>>1,r=t[n];$(t,r.y0-v,n-1,e),N(t,r.y1+v,n+1,e),$(t,s,t.length-1,e),N(t,i,0,e)}function N(t,e,n,i){for(;n<t.length;++n){let r=t[n],s=(e-r.y0)*i;s>1e-6&&(r.y0+=s,r.y1+=s),e=r.y1+v}}function $(t,e,n,i){for(;n>=0;--n){let r=t[n],s=(r.y1-e)*i;s>1e-6&&(r.y0-=s,r.y1-=s),e=r.y0-v}}function P({sourceLinks:t,targetLinks:n}){if(void 0===e){for(let{source:{sourceLinks:t}}of n)t.sort(y);for(let{target:{targetLinks:e}}of t)e.sort(f)}}return L.update=function(t){return _(t),t},L.nodeId=function(t){return arguments.length?(S="function"==typeof t?t:u(t),L):S},L.nodeAlign=function(t){return arguments.length?(E="function"==typeof t?t:u(t),L):E},L.nodeSort=function(e){return arguments.length?(t=e,L):t},L.nodeWidth=function(t){return arguments.length?(l=+t,L):l},L.nodePadding=function(t){return arguments.length?(b=v=+t,L):b},L.nodes=function(t){return arguments.length?(K="function"==typeof t?t:u(t),L):K},L.links=function(t){return arguments.length?(w="function"==typeof t?t:u(t),L):w},L.linkSort=function(t){return arguments.length?(e=t,L):e},L.size=function(t){return arguments.length?(n=i=0,r=+t[0],s=+t[1],L):[r-n,s-i]},L.extent=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],i=+t[0][1],s=+t[1][1],L):[[n,i],[r,s]]},L.iterations=function(t){return arguments.length?(A=+t,L):A},L})().nodeId(t=>
1t.id).nodeWidth(B).nodePadding(R+15*!!Y).nodeAlign(H).extent([[0,0],[C,j]])(q);let Z=X(q.nodes),tt=(0,s.UMr)(s.zt),te=(0,r.K2)(t=>J[t]??tt(t),"getNodeColor");T.append("g").attr("class","nodes").selectAll(".node").data(q.nodes).join("g").attr("class","node").attr("id",t=>(t.uid=V.next("node-")).id).attr("transform",function(t){return"translate("+t.x0+","+t.y0+")"}).attr("x",t=>t.x0).attr("y",t=>t.y0).append("rect").attr("height",t=>t.y1-t.y0).attr("width",t=>t.x1-t.x0).attr("fill",t=>te(t.id));let tn=(0,r.K2)(({id:t,value:e})=>Y?`${t} 2${U}${Math.round(100*e)/100}${W}`:t,"getText"),ti=(0,r.K2)(t=>"outlined"===Q?(t.layer??0)<Z?{x:t.x0-6,anchor:"end"}:{x:t.x1+6,anchor:"start"}:t.x0<C/2?{x:t.x1+6,anchor:"start"}:{x:t.x0-6,anchor:"end"},"getLabelPosition"),tr=T.append("g").attr("class","node-labels").attr("font-size",14),ts=(0,r.K2)(t=>tr.selectAll(t?`.${t}`:"text").data(q.nodes).join("text").attr("class",t??null).attr("x",t=>ti(t).x).attr("y",t=>(t.y1+t.y0)/2).attr("dy",`${Y?"0":"0.35"}em`).attr("text-anchor",t=>ti(t).anchor).text(tn),"appendLabel");"outlined"===Q?(ts("sankey-label-bg"),ts("sankey-label-fg")):ts();let to=T.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(q.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),tl=D?.linkColor??"gradient";if("gradient"===tl){let t=to.append("linearGradient").attr("id",t=>(t.uid=V.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",t=>t.source.x1).attr("x2",t=>t.target.x0);t.append("stop").attr("offset","0%").attr("stop-color",t=>te(t.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",t=>te(t.target.id))}switch(tl){case"gradient":$=(0,r.K2)(t=>t.uid,"coloring");break;case"source":$=(0,r.K2)(t=>te(t.source.id),"coloring");break;case"target":$=(0,r.K2)(t=>te(t.target.id),"coloring");break;default:$=tl}to.append("path").attr("d",(function(t){let e=w,n=A,i=K.x,r=K.y,s=null,o=null,l=(0,E.i)(a);function a(){let a,c=b.d.call(arguments),h=e.apply(this,c),u=n.apply(this,c);if(null==s&&(o=t(a=l())),o.lineStart(),c[0]=h,o.point(+i.apply(this,c),+r.apply(this,c)),c[0]=u,o.point(+i.apply(this,c),+r.apply(this,c)),o.lineEnd(),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(n=t,a):n},a.x=function(t){return arguments.length?(i="function"==typeof t?t:(0,v.A)(+t),a):i},a.y=function(t){return arguments.length?(r="function"==typeof t?t:(0,v.A)(+t),a):r},a.context=function(e){return arguments.length?(null==e?s=o=null:o=t(s=e),a):s},a})(S.dJ).source(L).target(I)).attr("stroke",$).attr("stroke-width",t=>Math.max(1,t.width)),(0,i.ot)(void 0,T,0,F)},"draw"),B=(0,r.K2)(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim(),"prepareTextForParsing"),R=(0,r.K2)(t=>`.label { 3 font-family: ${t.fontFamily}; 4 } 5 6 .node-labels { 7 font-family: ${t.fontFamily}; 8 } 9 10 /* Outlined label style - background stroke for better readability */ 11 .sankey-label-bg { 12 stroke: ${t.mainBkg||t.background||"#fff"}; 13 stroke-width: 4px; 14 stroke-linejoin: round; 15 paint-order: stroke; 16 } 17 18 /* Foreground label text */ 19 .sankey-label-fg { 20 fill: ${t.textColor}; 21 } 22 23 /* Node styling */ 24 .node rect { 25 shape-rendering: crispEdges; 26 } 27 28 /* Link styling */ 29 .link { 30 fill: none; 31 stroke-opacity: 0.5; 32 mix-blend-mode: multiply; 33 } 34`,"getStyles"),Q=N.parse.bind(N);N.parse=t=>Q(B(t));var J={styles:R,parser:N,db:W,renderer:{draw:Y}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.