1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}return t}({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:notetube-web":!0});var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="bfd69b50-5c9b-4687-9afd-b1291c539a4c",t._sentryDebugIdIdentifier="sentry-dbid-bfd69b50-5c9b-4687-9afd-b1291c539a4c")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7862],{35481:(t,e,n)=>{n.d(e,{diagram:()=>D});var i=n(1010),s=n(27361),r=n(53568),o=n(6473),a=n(4285),l=n(16502),h=function(){var t=(0,s.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],r={trace:(0,s.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,s.K2)(function(t,e,n,i,s,r,o){var a=r.length-1;switch(s){case 7:let l=i.findOrCreateNode(r[a-4].trim().replaceAll('""','"')),h=i.findOrCreateNode(r[a-2].trim().replaceAll('""','"')),c=parseFloat(r[a].trim());i.addLink(l,h,c);break;case 8:case 9:case 11:this.$=r[a];break;case 10:this.$=r[a-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,s.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,s.K2)(function(t){var e=this,n=[0],i=[],r=[null],o=[],a=this.table,l="",h=0,c=0,u=0,y=o.slice.call(arguments,1),d=Object.create(this.lexer),p={};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p[g]=this.yy[g]);d.setInput(t,p),p.lexer=d,p.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;o.push(f);var _=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.parseError?this.parseError=p.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s.K2)(function(t){n.length=n.length-2*t,r.length=r.length-t,o.length=o.length-t},"popStack"),(0,s.K2)(m,"lex");for(var k,b,x,v,E,K,S,w,A,I={};;){if(x=n[n.length-1],this.defaultActions[x]?v=this.defaultActions[x]:(null==k&&(k=m()),v=a[x]&&a[x][k]),void 0===v||!v.length||!v[0]){var D="";for(K in A=[],a[x])this.terminals_[K]&&K>2&&A.push("'"+this.terminals_[K]+"'");D=d.showPosition?"Parse error on line "+(h+1)+":\n"+d.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(D,{text:d.match,token:this.terminals_[k]||k,line:d.yylineno,loc:f,expected:A})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+x+", token: "+k);switch(v[0]){case 1:n.push(k),r.push(d.yytext),o.push(d.yylloc),n.push(v[1]),k=null,b?(k=b,b=null):(c=d.yyleng,l=d.yytext,h=d.yylineno,f=d.yylloc,u>0&&u--);break;case 2:if(S=this.productions_[v[1]][1],I.$=r[r.length-S],I._$={first_line:o[o.length-(S||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(S||1)].first_column,last_column:o[o.length-1].last_column},_&&(I._$.range=[o[o.length-(S||1)].range[0],o[o.length-1].range[1]]),void 0!==(E=this.performAction.apply(I,[l,c,h,p,v[1],r,o].concat(y))))return E;S&&(n=n.slice(0,-1*S*2),r=r.slice(0,-1*S),o=o.slice(0,-1*S)),n.push(this.productions_[v[1]][0]),r.push(I.$),o.push(I._$),w=a[n[n.length-2]][n[n.length-1]],n.push(w);break;case 3:return!0}}return!0},"parse")};function o(){this.yy={}}return r.lexer={EOF:1,parseError:(0,s.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.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,s.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,s.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 s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column: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=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s.K2)(function(){return this._more=!0,this},"more"),reject:(0,s.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,s.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.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,s.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,s.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.K2)(function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(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 r in s)this[r]=s[r];return!1},"test_match"),next:(0,s.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,s=this._currentRules(),r=0;r<s.length;r++)if((n=this._input.match(this.rules[s[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}
1return e?!1!==(t=this.test_match(e,s[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,s.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,s.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.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,s.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.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,s.K2)(o,"Parser"),o.prototype=r,r.Parser=o,new o}();h.parser=h;var c=[],u=[],y=new Map,d=(0,s.K2)(()=>{c=[],u=[],y=new Map,(0,i.IU)()},"clear"),p=class{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}static{(0,s.K2)(this,"SankeyLink")}},g=(0,s.K2)((t,e,n)=>{c.push(new p(t,e,n))},"addLink"),f=class{constructor(t){this.ID=t}static{(0,s.K2)(this,"SankeyNode")}},_=(0,s.K2)(t=>{t=i.Y2.sanitizeText(t,(0,i.D7)());let e=y.get(t);return void 0===e&&(e=new f(t),y.set(t,e),u.push(e)),e},"findOrCreateNode"),m=(0,s.K2)(()=>u,"getNodes"),k=(0,s.K2)(()=>c,"getLinks"),b=(0,s.K2)(()=>({nodes:u.map(t=>({id:t.ID})),links:c.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),x={nodesMap:y,getConfig:(0,s.K2)(()=>(0,i.D7)().sankey,"getConfig"),getNodes:m,getLinks:k,getGraph:b,addLink:g,findOrCreateNode:_,getAccTitle:i.iN,setAccTitle:i.SV,getAccDescription:i.m7,setAccDescription:i.EI,getDiagramTitle:i.ab,setDiagramTitle:i.ke,clear:d},v=class t{static{(0,s.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+")"}},E={left:o.kb,right:o.pG,center:o.gX,justify:o.pD},K=(0,s.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"),S=(0,s.K2)(function(t,e,n,o){let h,c,{securityLevel:u,sankey:y}=(0,i.D7)(),d=i.ME.sankey;"sandbox"===u&&(h=(0,r.Ltv)("#i"+e));let p="sandbox"===u?(0,r.Ltv)(h.nodes()[0].contentDocument.body):(0,r.Ltv)("body"),g="sandbox"===u?p.select(`[id="${e}"]`):(0,r.Ltv)(`[id="${e}"]`),f=y?.width??d.width,_=y?.height??d.width,m=y?.useMaxWidth??d.useMaxWidth,k=y?.nodeAlignment??d.nodeAlignment,b=y?.prefix??d.prefix,x=y?.suffix??d.suffix,S=y?.showValues??d.showValues,w=y?.nodeWidth??d.nodeWidth??10,A=y?.nodePadding??d.nodePadding??12,I=y?.labelStyle??d.labelStyle??"legacy",D=y?.nodeColors??{},N=o.db.getGraph(),P=E[k];(0,a.A)().nodeId(t=>t.id).nodeWidth(w).nodePadding(A+15*!!S).nodeAlign(P).extent([[0,0],[f,_]])(N);let $=K(N.nodes),T=(0,r.UMr)(r.zt),O=(0,s.K2)(t=>D[t]??T(t),"getNodeColor");g.append("g").attr("class","nodes").selectAll(".node").data(N.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=>O(t.id));let M=(0,s.K2)(({id:t,value:e})=>S?`${t} 2${b}${Math.round(100*e)/100}${x}`:t,"getText"),C=(0,s.K2)(t=>"outlined"===I?(t.layer??0)<$?{x:t.x0-6,anchor:"end"}:{x:t.x1+6,anchor:"start"}:t.x0<f/2?{x:t.x1+6,anchor:"start"}:{x:t.x0-6,anchor:"end"},"getLabelPosition"),L=g.append("g").attr("class","node-labels").attr("font-size",14),j=(0,s.K2)(t=>L.selectAll(t?`.${t}`:"text").data(N.nodes).join("text").attr("class",t??null).attr("x",t=>C(t).x).attr("y",t=>(t.y1+t.y0)/2).attr("dy",`${S?"0":"0.35"}em`).attr("text-anchor",t=>
2C(t).anchor).text(M),"appendLabel");"outlined"===I?(j("sankey-label-bg"),j("sankey-label-fg")):j();let F=g.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(N.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),U=y?.linkColor??"gradient";if("gradient"===U){let t=F.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=>O(t.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",t=>O(t.target.id))}switch(U){case"gradient":c=(0,s.K2)(t=>t.uid,"coloring");break;case"source":c=(0,s.K2)(t=>O(t.source.id),"coloring");break;case"target":c=(0,s.K2)(t=>O(t.target.id),"coloring");break;default:c=U}F.append("path").attr("d",(0,l.A)()).attr("stroke",c).attr("stroke-width",t=>Math.max(1,t.width)),(0,i.ot)(void 0,g,0,m)},"draw"),w=(0,s.K2)(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim(),"prepareTextForParsing"),A=(0,s.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"),I=h.parse.bind(h);h.parse=t=>I(w(t));var D={styles:A,parser:h,db:x,renderer:{draw:S}}}}]);
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.