PageSourceSearch

https://chatmls.ai/4049.bc0d84f591a15e09.js

js chatmls.ai collected 2026-10-05 13:03:46 UTC 26,276 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkSlideSquad=self.webpackChunkSlideSquad||[]).push([[4049],{87358:(ut,Y,M)=>{M.d(Y,{o:()=>P});var P=(0,M(26526).K2)(()=>"\n  /* Font Awesome icon styling - consolidated */\n  .label-icon {\n    display: inline-block;\n    height: 1em;\n    overflow: visible;\n    vertical-align: -0.125em;\n  }\n  \n  .node .label-icon path {\n    fill: currentColor;\n    stroke: revert;\n    stroke-width: revert;\n  }\n","getIconStyles")},41542:(ut,Y,M)=>{M.d(Y,{CP:()=>J,Ck:()=>rt,HT:()=>z,PB:()=>W,aC:()=>O,lC:()=>G,m:()=>et,tk:()=>F});var X=M(99317),P=M(26526),w=M(22571),s=M(53390),F=(0,P.K2)((K,f)=>{const k=K.append("rect");if(k.attr("x",f.x),k.attr("y",f.y),k.attr("fill",f.fill),k.attr("stroke",f.stroke),k.attr("width",f.width),k.attr("height",f.height),f.name&&k.attr("name",f.name),f.rx&&k.attr("rx",f.rx),f.ry&&k.attr("ry",f.ry),void 0!==f.attrs)for(const E in f.attrs)k.attr(E,f.attrs[E]);return f.class&&k.attr("class",f.class),k},"drawRect"),G=(0,P.K2)((K,f)=>{F(K,{x:f.startx,y:f.starty,width:f.stopx-f.startx,height:f.stopy-f.starty,fill:f.fill,stroke:f.stroke,class:"rect"}).lower()},"drawBackgroundRect"),et=(0,P.K2)((K,f)=>{const k=f.text.replace(X.H1," "),E=K.append("text");E.attr("x",f.x),E.attr("y",f.y),E.attr("class","legend"),E.style("text-anchor",f.anchor),f.class&&E.attr("class",f.class);const I=E.append("tspan");return I.attr("x",f.x+2*f.textMargin),I.text(k),E},"drawText"),O=(0,P.K2)((K,f,k,E)=>{const I=K.append("image");I.attr("x",f),I.attr("y",k);const D=(0,w.J)(E);I.attr("xlink:href",D)},"drawImage"),J=(0,P.K2)((K,f,k,E)=>{const I=K.append("use");I.attr("x",f),I.attr("y",k);const D=(0,w.J)(E);I.attr("xlink:href",`#${D}`)},"drawEmbeddedImage"),W=(0,P.K2)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),z=(0,P.K2)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),rt=(0,P.K2)(()=>{let K=(0,s.Ltv)(".mermaidTooltip");return K.empty()&&(K=(0,s.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),K},"createTooltip")},54049:(ut,Y,M)=>{M.r(Y),M.d(Y,{diagram:()=>Ft});var X=M(87358),P=M(41542),w=M(99317),s=M(26526),F=M(53390),G=function(){var t=(0,s.K2)(function(h,n,i,l){for(i=i||{},l=h.length;l--;i[h[l]]=n);return i},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],p=[1,10],r=[1,11],u=[1,12],g=[1,13],o=[1,14],m={trace:(0,s.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,s.K2)(function(n,i,l,d,y,c,T){var v=c.length-1;switch(y){case 1:return c[v-1];case 2:case 6:case 7:this.$=[];break;case 3:c[v-1].push(c[v]),this.$=c[v-1];break;case 4:case 5:this.$=c[v];break;case 8:d.setDiagramTitle(c[v].substr(6)),this.$=c[v].substr(6);break;case 9:this.$=c[v].trim(),d.setAccTitle(this.$);break;case 10:case 11:this.$=c[v].trim(),d.setAccDescription(this.$);break;case 12:d.addSection(c[v].substr(8)),this.$=c[v].substr(8);break;case 13:d.addTask(c[v-1],c[v]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:p,14:r,16:u,17:g,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:p,14:r,16:u,17:g,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]}
1,t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,s.K2)(function(n,i){if(!i.recoverable){var l=new Error(n);throw l.hash=i,l}this.trace(n)},"parseError"),parse:(0,s.K2)(function(n){var i=this,l=[0],d=[],y=[null],c=[],T=this.table,v="",j=0,kt=0,vt=0,Vt=c.slice.call(arguments,1),b=Object.create(this.lexer),N={yy:{}};for(var at in this.yy)Object.prototype.hasOwnProperty.call(this.yy,at)&&(N.yy[at]=this.yy[at]);b.setInput(n,N.yy),N.yy.lexer=b,N.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var lt=b.yylloc;c.push(lt);var jt=b.options&&b.options.ranges;function wt(){var C;return"number"!=typeof(C=d.pop()||b.lex()||1)&&(C instanceof Array&&(C=(d=C).pop()),C=i.symbols_[C]||C),C}this.parseError="function"==typeof N.yy.parseError?N.yy.parseError:Object.getPrototypeOf(this).parseError,(0,s.K2)(function Wt(C){l.length=l.length-2*C,y.length=y.length-C,c.length=c.length-C},"popStack"),(0,s.K2)(wt,"lex");for(var S,ot,U,A,ct,q,B,tt,H={};;){if(this.defaultActions[U=l[l.length-1]]?A=this.defaultActions[U]:((null===S||typeof S>"u")&&(S=wt()),A=T[U]&&T[U][S]),typeof A>"u"||!A.length||!A[0]){var ht;for(q in tt=[],T[U])this.terminals_[q]&&q>2&&tt.push("'"+this.terminals_[q]+"'");ht=b.showPosition?"Parse error on line "+(j+1)+":\n"+b.showPosition()+"\nExpecting "+tt.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ht,{text:b.match,token:this.terminals_[S]||S,line:b.yylineno,loc:lt,expected:tt})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+S);switch(A[0]){case 1:l.push(S),y.push(b.yytext),c.push(b.yylloc),l.push(A[1]),S=null,ot?(S=ot,ot=null):(kt=b.yyleng,v=b.yytext,j=b.yylineno,lt=b.yylloc,vt>0&&vt--);break;case 2:if(H.$=y[y.length-(B=this.productions_[A[1]][1])],H._$={first_line:c[c.length-(B||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(B||1)].first_column,last_column:c[c.length-1].last_column},jt&&(H._$.range=[c[c.length-(B||1)].range[0],c[c.length-1].range[1]]),typeof(ct=this.performAction.apply(H,[v,kt,j,N.yy,A[1],y,c].concat(Vt)))<"u")return ct;B&&(l=l.slice(0,-1*B*2),y=y.slice(0,-1*B),c=c.slice(0,-1*B)),l.push(this.productions_[A[1]][0]),y.push(H.$),c.push(H._$),l.push(T[l[l.length-2]][l[l.length-1]]);break;case 3:return!0}}return!0},"parse")};function _(){this.yy={}}return m.lexer=function(){return{EOF:1,parseError:(0,s.K2)(function(i,l){if(!this.yy.parser)throw new Error(i);this.yy.parser.parseError(i,l)},"parseError"),setInput:(0,s.K2)(function(n,i){return this.yy=i||this.yy||{},this._input=n,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 n=this._input[0];return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,n.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),n},"input"),unput:(0,s.K2)(function(n){var i=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var d=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),l.length-1&&(this.yylineno-=l.length-1);var y=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:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-i]),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(n){this.unput(this.match.slice(n))},"less"),pastInput:(0,s.K2)(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.K2)(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,s.K2)(function(){var n=this.pastInput(),i=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,s.K2)(function(n,i){var l,d,y;
1if(this.options.backtrack_lexer&&(y={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&&(y.yylloc.range=this.yylloc.range.slice(0))),(d=n[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,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(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var c in y)this[c]=y[c];return!1}return!1},"test_match"),next:(0,s.K2)(function(){if(this.done)return this.EOF;var n,i,l,d;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var y=this._currentRules(),c=0;c<y.length;c++)if((l=this._input.match(this.rules[y[c]]))&&(!i||l[0].length>i[0].length)){if(i=l,d=c,this.options.backtrack_lexer){if(!1!==(n=this.test_match(l,y[c])))return n;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(n=this.test_match(i,y[d]))&&n:""===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(){return this.next()||this.lex()},"lex"),begin:(0,s.K2)(function(i){this.conditionStack.push(i)},"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(i){return(i=this.conditionStack.length-1-Math.abs(i||0))>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:(0,s.K2)(function(i){this.begin(i)},"pushState"),stateStackSize:(0,s.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.K2)(function(i,l,d,y){switch(d){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}}}(),(0,s.K2)(_,"Parser"),_.prototype=m,m.Parser=_,new _}();G.parser=G;var et=G,O="",J=[],W=[],z=[],rt=(0,s.K2)(function(){J.length=0,W.length=0,O="",z.length=0,(0,w.IU)()},"clear"),K=(0,s.K2)(function(t){O=t,J.push(t)},"addSection"),f=(0,s.K2)(function(){return J},"getSections"),k=(0,s.K2)(function(){let t=dt(),a=0;for(;!t&&a<100;)t=dt(),a++;return W.push(...z),W},"getTasks"),E=(0,s.K2)(function(){const t=[];return W.forEach(a=>{a.people&&t.push(...a.people)}),[...new Set(t)].sort()},"updateActors"),I=(0,s.K2)(function(t,e){const a=e.substr(1).split(":");let p=0,r=[];
11===a.length?(p=Number(a[0]),r=[]):(p=Number(a[0]),r=a[1].split(","));const u=r.map(o=>o.trim());z.push({section:O,type:O,people:u,task:t,score:p})},"addTask"),D=(0,s.K2)(function(t){W.push({section:O,type:O,description:t,task:t,classes:[]})},"addTaskOrg"),dt=(0,s.K2)(function(){const t=(0,s.K2)(function(a){return z[a].processed},"compileTask");let e=!0;for(const[a,p]of z.entries())t(a),e=e&&p.processed;return e},"compileTasks"),Et=(0,s.K2)(function(){return E()},"getActors"),yt={getConfig:(0,s.K2)(()=>(0,w.D7)().journey,"getConfig"),clear:rt,setDiagramTitle:w.ke,getDiagramTitle:w.ab,setAccTitle:w.SV,getAccTitle:w.iN,setAccDescription:w.EI,getAccDescription:w.m7,addSection:K,getSections:f,getTasks:k,addTask:I,addTaskOrg:D,getActors:Et},Mt=(0,s.K2)(t=>`.label {\n    font-family: ${t.fontFamily};\n    color: ${t.textColor};\n  }\n  .mouth {\n    stroke: #666;\n  }\n\n  line {\n    stroke: ${t.textColor}\n  }\n\n  .legend {\n    fill: ${t.textColor};\n    font-family: ${t.fontFamily};\n  }\n\n  .label text {\n    fill: #333;\n  }\n  .label {\n    color: ${t.textColor}\n  }\n\n  .face {\n    ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n    stroke: #999;\n  }\n\n  .node rect,\n  .node circle,\n  .node ellipse,\n  .node polygon,\n  .node path {\n    fill: ${t.mainBkg};\n    stroke: ${t.nodeBorder};\n    stroke-width: 1px;\n  }\n\n  .node .label {\n    text-align: center;\n  }\n  .node.clickable {\n    cursor: pointer;\n  }\n\n  .arrowheadPath {\n    fill: ${t.arrowheadColor};\n  }\n\n  .edgePath .path {\n    stroke: ${t.lineColor};\n    stroke-width: 1.5px;\n  }\n\n  .flowchart-link {\n    stroke: ${t.lineColor};\n    fill: none;\n  }\n\n  .edgeLabel {\n    background-color: ${t.edgeLabelBackground};\n    rect {\n      opacity: 0.5;\n    }\n    text-align: center;\n  }\n\n  .cluster rect {\n  }\n\n  .cluster text {\n    fill: ${t.titleColor};\n  }\n\n  div.mermaidTooltip {\n    position: absolute;\n    text-align: center;\n    max-width: 200px;\n    padding: 2px;\n    font-family: ${t.fontFamily};\n    font-size: 12px;\n    background: ${t.tertiaryColor};\n    border: 1px solid ${t.border2};\n    border-radius: 2px;\n    pointer-events: none;\n    z-index: 100;\n  }\n\n  .task-type-0, .section-type-0  {\n    ${t.fillType0?`fill: ${t.fillType0}`:""};\n  }\n  .task-type-1, .section-type-1  {\n    ${t.fillType0?`fill: ${t.fillType1}`:""};\n  }\n  .task-type-2, .section-type-2  {\n    ${t.fillType0?`fill: ${t.fillType2}`:""};\n  }\n  .task-type-3, .section-type-3  {\n    ${t.fillType0?`fill: ${t.fillType3}`:""};\n  }\n  .task-type-4, .section-type-4  {\n    ${t.fillType0?`fill: ${t.fillType4}`:""};\n  }\n  .task-type-5, .section-type-5  {\n    ${t.fillType0?`fill: ${t.fillType5}`:""};\n  }\n  .task-type-6, .section-type-6  {\n    ${t.fillType0?`fill: ${t.fillType6}`:""};\n  }\n  .task-type-7, .section-type-7  {\n    ${t.fillType0?`fill: ${t.fillType7}`:""};\n  }\n\n  .actor-0 {\n    ${t.actor0?`fill: ${t.actor0}`:""};\n  }\n  .actor-1 {\n    ${t.actor1?`fill: ${t.actor1}`:""};\n  }\n  .actor-2 {\n    ${t.actor2?`fill: ${t.actor2}`:""};\n  }\n  .actor-3 {\n    ${t.actor3?`fill: ${t.actor3}`:""};\n  }\n  .actor-4 {\n    ${t.actor4?`fill: ${t.actor4}`:""};\n  }\n  .actor-5 {\n    ${t.actor5?`fill: ${t.actor5}`:""};\n  }\n  ${(0,X.o)()}\n`,"getStyles"),nt=(0,s.K2)(function(t,e){return(0,P.tk)(t,e)},"drawRect"),Pt=(0,s.K2)(function(t,e){const p=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");function u(m){const x=(0,F.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function g(m){const x=(0,F.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);m.append("path").attr("class","mouth").attr("d",x).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function o(m){m.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return r.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),(0,s.K2)(u,"smile"),(0,s.K2)(g,"sad"),(0,s.K2)(o,"ambivalent"),e.score>3?u(r):e.score<3?g(r):o(r),p}
1,"drawFace"),ft=(0,s.K2)(function(t,e){const a=t.append("circle");return a.attr("cx",e.cx),a.attr("cy",e.cy),a.attr("class","actor-"+e.pos),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("r",e.r),void 0!==a.class&&a.attr("class",a.class),void 0!==e.title&&a.append("title").text(e.title),a},"drawCircle"),pt=(0,s.K2)(function(t,e){return(0,P.m)(t,e)},"drawText"),St=(0,s.K2)(function(t,e){function a(r,u,g,o,m){return r+","+u+" "+(r+g)+","+u+" "+(r+g)+","+(u+o-m)+" "+(r+g-1.2*m)+","+(u+o)+" "+r+","+(u+o)}(0,s.K2)(a,"genPoints");const p=t.append("polygon");p.attr("points",a(e.x,e.y,50,20,7)),p.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,pt(t,e)},"drawLabel"),Ct=(0,s.K2)(function(t,e,a){const p=t.append("g"),r=(0,P.PB)();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=a.width*e.taskCount+a.diagramMarginX*(e.taskCount-1),r.height=a.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,nt(p,r),gt(a)(e.text,p,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},a,e.colour)},"drawSection"),it=-1,It=(0,s.K2)(function(t,e,a,p){const r=e.x+a.width/2,u=t.append("g");it++,u.append("line").attr("id",p+"-task"+it).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Pt(u,{cx:r,cy:300+30*(5-e.score),score:e.score});const o=(0,P.PB)();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,nt(u,o);let m=e.x+14;e.people.forEach(x=>{ft(u,{cx:m,cy:e.y,r:7,fill:e.actors[x].color,stroke:"#000",title:x,pos:e.actors[x].position}),m+=10}),gt(a)(e.task,u,o.x,o.y,o.width,o.height,{class:"task"},a,e.colour)},"drawTask"),$t=(0,s.K2)(function(t,e){(0,P.lC)(t,e)},"drawBackgroundRect"),gt=function(){function t(r,u,g,o,m,x,_,h){p(u.append("text").attr("x",g+m/2).attr("y",o+x/2+5).style("font-color",h).style("text-anchor","middle").text(r),_)}function e(r,u,g,o,m,x,_,h,n){const{taskFontSize:i,taskFontFamily:l}=h,d=r.split(/<br\s*\/?>/gi);for(let y=0;y<d.length;y++){const c=y*i-i*(d.length-1)/2,T=u.append("text").attr("x",g+m/2).attr("y",o).attr("fill",n).style("text-anchor","middle").style("font-size",i).style("font-family",l);T.append("tspan").attr("x",g+m/2).attr("dy",c).text(d[y]),T.attr("y",o+x/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),p(T,_)}}function a(r,u,g,o,m,x,_,h){const n=u.append("switch"),l=n.append("foreignObject").attr("x",g).attr("y",o).attr("width",m).attr("height",x).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),e(r,n,g,o,m,x,_,h),p(l,_)}function p(r,u){for(const g in u)g in u&&r.attr(g,u[g])}return(0,s.K2)(t,"byText"),(0,s.K2)(e,"byTspan"),(0,s.K2)(a,"byFo"),(0,s.K2)(p,"_setTextAttrs"),function(r){return"fo"===r.textPlacement?a:"old"===r.textPlacement?t:e}}(),Z={drawRect:nt,drawCircle:ft,drawSection:Ct,drawText:pt,drawLabel:St,drawTask:It,drawBackgroundRect:$t,initGraphics:(0,s.K2)(function(t,e){it=-1,t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics")},Rt=(0,s.K2)(function(t){Object.keys(t).forEach(function(a){R[a]=t[a]})},"setConf"),L={},Q=0;function mt(t){const e=(0,w.D7)().journey,a=e.maxLabelWidth;Q=0;let p=60;Object.keys(L).forEach(r=>{Z.drawCircle(t,{cx:20,cy:p,r:7,fill:L[r].color,stroke:"#000",pos:L[r].position});let o=t.append("text").attr("visibility","hidden").text(r);const m=o.node().getBoundingClientRect().width;o.remove();let x=[];if(m<=a)x=[r];else{const _=r.split(" ");let h="";o=t.append("text").attr("visibility","hidden"),_.forEach(n=>{const i=h?`${h} ${n}`:n;if(o.text(i),o.node().getBoundingClientRect().width>a){if(h&&x.push(h),h=n,o.text(n),o.node().getBoundingClientRect().width>a){let d="";for(const y of n)d+=y,o.text(d+"-"),o.node().getBoundingClientRect().width>a&&(x.push(d.slice(0,-1)+"-"),d=y);h=d}}else h=i}),h&&x.push(h),o.remove()}
1x.forEach((_,h)=>{const l=Z.drawText(t,{x:40,y:p+7+20*h,fill:"#666",text:_,textMargin:e.boxTextMargin??5}).node().getBoundingClientRect().width;l>Q&&l>e.leftMargin-l&&(Q=l)}),p+=Math.max(20,20*x.length)})}(0,s.K2)(mt,"drawActorLegend");var R=(0,w.D7)().journey,V=0,Lt=(0,s.K2)(function(t,e,a,p){const r=(0,w.D7)(),u=r.journey.titleColor,g=r.journey.titleFontSize,o=r.journey.titleFontFamily,m=r.securityLevel;let x;"sandbox"===m&&(x=(0,F.Ltv)("#i"+e));const _=(0,F.Ltv)("sandbox"===m?x.nodes()[0].contentDocument.body:"body");$.init();const h=_.select("#"+e);Z.initGraphics(h,e);const n=p.db.getTasks(),i=p.db.getDiagramTitle(),l=p.db.getActors();for(const j in L)delete L[j];let d=0;l.forEach(j=>{L[j]={color:R.actorColours[d%R.actorColours.length],position:d},d++}),mt(h),$.insert(0,0,V=R.leftMargin+Q,50*Object.keys(L).length),Bt(h,n,0,e);const y=$.getBounds();i&&h.append("text").text(i).attr("x",V).attr("font-size",g).attr("font-weight","bold").attr("y",25).attr("fill",u).attr("font-family",o);const c=y.stopy-y.starty+2*R.diagramMarginY,T=V+y.stopx+2*R.diagramMarginX;(0,w.a$)(h,c,T,R.useMaxWidth),h.append("line").attr("x1",V).attr("y1",4*R.height).attr("x2",T-V-4).attr("y2",4*R.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+e+"-arrowhead)");const v=i?70:0;h.attr("viewBox",`${y.startx} -25 ${T} ${c+v}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",c+v+25)},"draw"),$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,s.K2)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,s.K2)(function(t,e,a,p){t[e]=void 0===t[e]?a:p(a,t[e])},"updateVal"),updateBounds:(0,s.K2)(function(t,e,a,p){const r=(0,w.D7)().journey,u=this;let g=0;function o(m){return(0,s.K2)(function(_){g++;const h=u.sequenceItems.length-g+1;u.updateVal(_,"starty",e-h*r.boxMargin,Math.min),u.updateVal(_,"stopy",p+h*r.boxMargin,Math.max),u.updateVal($.data,"startx",t-h*r.boxMargin,Math.min),u.updateVal($.data,"stopx",a+h*r.boxMargin,Math.max),"activation"!==m&&(u.updateVal(_,"startx",t-h*r.boxMargin,Math.min),u.updateVal(_,"stopx",a+h*r.boxMargin,Math.max),u.updateVal($.data,"starty",e-h*r.boxMargin,Math.min),u.updateVal($.data,"stopy",p+h*r.boxMargin,Math.max))},"updateItemBounds")}(0,s.K2)(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:(0,s.K2)(function(t,e,a,p){const r=Math.min(t,a),u=Math.max(t,a),g=Math.min(e,p),o=Math.max(e,p);this.updateVal($.data,"startx",r,Math.min),this.updateVal($.data,"starty",g,Math.min),this.updateVal($.data,"stopx",u,Math.max),this.updateVal($.data,"stopy",o,Math.max),this.updateBounds(r,g,u,o)},"insert"),bumpVerticalPos:(0,s.K2)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,s.K2)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,s.K2)(function(){return this.data},"getBounds")},st=R.sectionFills,xt=R.sectionColours,Bt=(0,s.K2)(function(t,e,a,p){const r=(0,w.D7)().journey;let u="";const o=a+(2*r.height+r.diagramMarginY);let m=0,x="#CCC",_="black",h=0;for(const[n,i]of e.entries()){if(u!==i.section){x=st[m%st.length],h=m%st.length,_=xt[m%xt.length];let d=0;const y=i.section;for(let T=n;T<e.length&&e[T].section==y;T++)d+=1;Z.drawSection(t,{x:n*r.taskMargin+n*r.width+V,y:50,text:i.section,fill:x,num:h,colour:_,taskCount:d},r),u=i.section,m++}const l=i.people.reduce((d,y)=>(L[y]&&(d[y]=L[y]),d),{});i.x=n*r.taskMargin+n*r.width+V,i.y=o,i.width=r.diagramMarginX,i.height=r.diagramMarginY,i.colour=_,i.fill=x,i.num=h,i.actors=l,Z.drawTask(t,i,r,p),$.insert(i.x,i.y,i.x+i.width+r.taskMargin,450)}},"drawTasks"),_t={setConf:Rt,draw:Lt},Ft={parser:et,db:yt,renderer:_t,styles:Mt,init:(0,s.K2)(t=>{_t.setConf(t.journey),yt.clear()},"init")}}}]);

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.