PageSourceSearch

https://cadmonkey.ai/_next/static/chunks/6662.1101a555472607db.js

js cadmonkey.ai collected 2026-10-05 11:54:28 UTC 29,808 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6662],{11501:function(t,e,n){n.d(e,{Z:function(){return y}});var i=n(57884),r=n(63621),a=n(51332);function s(t){return t.innerRadius}function o(t){return t.outerRadius}function c(t){return t.startAngle}function l(t){return t.endAngle}function h(t){return t&&t.padAngle}function u(t,e,n,i,a,s,o){var c=t-n,l=e-i,h=(o?s:-s)/(0,r._b)(c*c+l*l),u=h*l,y=-h*c,p=t+u,d=e+y,f=n+u,g=i+y,x=(p+f)/2,m=(d+g)/2,k=f-p,_=g-d,b=k*k+_*_,v=a-s,w=p*g-f*d,W=(_<0?-1:1)*(0,r._b)((0,r.Fp)(0,v*v*b-w*w)),T=(w*_-k*W)/b,M=(-w*k-_*W)/b,C=(w*_+k*W)/b,S=(-w*k+_*W)/b,A=T-x,E=M-m,I=C-x,P=S-m;return A*A+E*E>I*I+P*P&&(T=C,M=S),{cx:T,cy:M,x01:-u,y01:-y,x11:T*(a/v-1),y11:M*(a/v-1)}}function y(){var t=s,e=o,n=(0,i.Z)(0),y=null,p=c,d=l,f=h,g=null,x=(0,a.d)(m);function m(){var i,a,s=+t.apply(this,arguments),o=+e.apply(this,arguments),c=p.apply(this,arguments)-r.ou,l=d.apply(this,arguments)-r.ou,h=(0,r.Wn)(l-c),m=l>c;if(g||(g=i=x()),o<s&&(a=o,o=s,s=a),o>r.Ho){if(h>r.BZ-r.Ho)g.moveTo(o*(0,r.mC)(c),o*(0,r.O$)(c)),g.arc(0,0,o,c,l,!m),s>r.Ho&&(g.moveTo(s*(0,r.mC)(l),s*(0,r.O$)(l)),g.arc(0,0,s,l,c,m));else{var k,_,b=c,v=l,w=c,W=l,T=h,M=h,C=f.apply(this,arguments)/2,S=C>r.Ho&&(y?+y.apply(this,arguments):(0,r._b)(s*s+o*o)),A=(0,r.VV)((0,r.Wn)(o-s)/2,+n.apply(this,arguments)),E=A,I=A;if(S>r.Ho){var P=(0,r.ZR)(S/s*(0,r.O$)(C)),V=(0,r.ZR)(S/o*(0,r.O$)(C));(T-=2*P)>r.Ho?(w+=P*=m?1:-1,W-=P):(T=0,w=W=(c+l)/2),(M-=2*V)>r.Ho?(b+=V*=m?1:-1,v-=V):(M=0,b=v=(c+l)/2)}var O=o*(0,r.mC)(b),$=o*(0,r.O$)(b),R=s*(0,r.mC)(W),j=s*(0,r.O$)(W);if(A>r.Ho){var F,B=o*(0,r.mC)(v),N=o*(0,r.O$)(v),Z=s*(0,r.mC)(w),L=s*(0,r.O$)(w);if(h<r.pi){if(F=function(t,e,n,i,a,s,o,c){var l=n-t,h=i-e,u=o-a,y=c-s,p=y*l-u*h;if(!(p*p<r.Ho))return[t+(p=(u*(e-s)-y*(t-a))/p)*l,e+p*h]}(O,$,Z,L,B,N,R,j)){var D=O-F[0],H=$-F[1],z=B-F[0],G=N-F[1],Y=1/(0,r.O$)((0,r.Kh)((D*z+H*G)/((0,r._b)(D*D+H*H)*(0,r._b)(z*z+G*G)))/2),U=(0,r._b)(F[0]*F[0]+F[1]*F[1]);E=(0,r.VV)(A,(s-U)/(Y-1)),I=(0,r.VV)(A,(o-U)/(Y+1))}else E=I=0}}M>r.Ho?I>r.Ho?(k=u(Z,L,O,$,o,I,m),_=u(B,N,R,j,o,I,m),g.moveTo(k.cx+k.x01,k.cy+k.y01),I<A?g.arc(k.cx,k.cy,I,(0,r.fv)(k.y01,k.x01),(0,r.fv)(_.y01,_.x01),!m):(g.arc(k.cx,k.cy,I,(0,r.fv)(k.y01,k.x01),(0,r.fv)(k.y11,k.x11),!m),g.arc(0,0,o,(0,r.fv)(k.cy+k.y11,k.cx+k.x11),(0,r.fv)(_.cy+_.y11,_.cx+_.x11),!m),g.arc(_.cx,_.cy,I,(0,r.fv)(_.y11,_.x11),(0,r.fv)(_.y01,_.x01),!m))):(g.moveTo(O,$),g.arc(0,0,o,b,v,!m)):g.moveTo(O,$),s>r.Ho&&T>r.Ho?E>r.Ho?(k=u(R,j,B,N,s,-E,m),_=u(O,$,Z,L,s,-E,m),g.lineTo(k.cx+k.x01,k.cy+k.y01),E<A?g.arc(k.cx,k.cy,E,(0,r.fv)(k.y01,k.x01),(0,r.fv)(_.y01,_.x01),!m):(g.arc(k.cx,k.cy,E,(0,r.fv)(k.y01,k.x01),(0,r.fv)(k.y11,k.x11),!m),g.arc(0,0,s,(0,r.fv)(k.cy+k.y11,k.cx+k.x11),(0,r.fv)(_.cy+_.y11,_.cx+_.x11),m),g.arc(_.cx,_.cy,E,(0,r.fv)(_.y11,_.x11),(0,r.fv)(_.y01,_.x01),!m))):g.arc(0,0,s,W,w,m):g.lineTo(R,j)}}else g.moveTo(0,0);if(g.closePath(),i)return g=null,i+""||null}return m.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+p.apply(this,arguments)+ +d.apply(this,arguments))/2-r.pi/2;return[(0,r.mC)(i)*n,(0,r.O$)(i)*n]},m.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),m):t},m.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),m):e},m.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:(0,i.Z)(+t),m):n},m.padRadius=function(t){return arguments.length?(y=null==t?null:"function"==typeof t?t:(0,i.Z)(+t),m):y},m.startAngle=function(t){return arguments.length?(p="function"==typeof t?t:(0,i.Z)(+t),m):p},m.endAngle=function(t){return arguments.length?(d="function"==typeof t?t:(0,i.Z)(+t),m):d},m.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:(0,i.Z)(+t),m):f},m.context=function(t){return arguments.length?(g=null==t?null:t,m):g},m}},18865:function(t,e,n){n.d(e,{G:function(){return i}});var i=(0,n(52016).eW)(()=>"\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")},8720:function(t,e,n){n.d(e,{AD:function(){return u},AE:function(){return c},Mu:function(){return a},O:function(){return s},kc:function(){return h},rB:function(){return l},yU:function(){return o}});var i=n(52016),r=n(62535),a=(0,i.eW)((t,e)=>{let n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),e.name&&n.attr("name",e.name),e.rx&&n.attr("rx",e.rx),e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return e.class&&n.attr("class",e.class),n},"drawRect"),s=(0,i.eW)((t,e)=>{a(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()}
1,"drawBackgroundRect"),o=(0,i.eW)((t,e)=>{let n=e.text.replace(i.Vw," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),e.class&&r.attr("class",e.class);let a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(n),r},"drawText"),c=(0,i.eW)((t,e,n,i)=>{let a=t.append("image");a.attr("x",e),a.attr("y",n);let s=(0,r.N)(i);a.attr("xlink:href",s)},"drawImage"),l=(0,i.eW)((t,e,n,i)=>{let a=t.append("use");a.attr("x",e),a.attr("y",n);let s=(0,r.N)(i);a.attr("xlink:href","#".concat(s))},"drawEmbeddedImage"),h=(0,i.eW)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),u=(0,i.eW)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},86662:function(t,e,n){n.d(e,{diagram:function(){return Y}});var i=n(8720),r=n(18865),a=n(52016),s=n(5402),o=n(11501),c=function(){var t=(0,a.eW)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],r=[1,11],s=[1,12],o=[1,13],c=[1,14],l={trace:(0,a.eW)(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,a.eW)(function(t,e,n,i,r,a,s){var o=a.length-1;switch(r){case 1:return a[o-1];case 2:case 6:case 7:this.$=[];break;case 3:a[o-1].push(a[o]),this.$=a[o-1];break;case 4:case 5:this.$=a[o];break;case 8:i.setDiagramTitle(a[o].substr(6)),this.$=a[o].substr(6);break;case 9:this.$=a[o].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=a[o].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 13:i.addTask(a[o-1],a[o]),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:n,12:i,14:r,16:s,17:o,18:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:r,16:s,17:o,18:c},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]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,a.eW)(function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},"parseError"),parse:(0,a.eW)(function(t){var e=this,n=[0],i=[],r=[null],s=[],o=this.table,c="",l=0,h=0,u=s.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(p.yy[d]=this.yy[d]);y.setInput(t,p.yy),p.yy.lexer=y,p.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var g=y.options&&y.options.ranges;function x(){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 p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.eW)(function(t){n.length=n.length-2*t,r.length=r.length-t,s.length=s.length-t},"popStack"),(0,a.eW)(x,"lex");for(var m,k,_,b,v,w,W,T,M={};;){if(k=n[n.length-1],this.defaultActions[k]?_=this.defaultActions[k]:(null==m&&(m=x()),_=o[k]&&o[k][m]),void 0===_||!_.length||!_[0]){var C="";for(v in T=[],o[k])this.terminals_[v]&&v>2&&T.push("'"+this.terminals_[v]+"'");C=y.showPosition?"Parse error on line "+(l+1)+":\n"+y.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:f,expected:T})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(_[0]){case 1:n.push(m),r.push(y.yytext),s.push(y.yylloc),n.push(_[1]),m=null,h=y.yyleng,c=y.yytext,l=y.yylineno,f=y.yylloc;break;case 2:if(w=this.productions_[_[1]][1],M.$=r[r.length-w],M._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},g&&(M._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),void 0!==(b=this.performAction.apply(M,[c,h,l,p.yy,_[1],r,s].concat(u))))return b;w&&(n=n.slice(0,-1*w*2),r=r.slice(0,-1*w),s=s.slice(0,-1*w)),n.push(this.productions_[_[1]][0]),r.push(M.$),s.push(M._$),W=o[n[n.length-2]][n[n.length-1]],n.push(W);break;case 3:return!0}}return!0},"parse")},h={EOF:1,parseError:(0,a.eW)(function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,a.eW)(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,a.eW)(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,a.eW)(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,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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,a.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.eW)(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,a.eW)(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,a.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.eW)(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 a in r)this[a]=r[a];return!1},"test_match"),next:(0,a.eW)(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(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}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,a.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,a.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(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,a.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(t,e,n,i){switch(n){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}}};function u(){this.yy={}}return l.lexer=h,(0,a.eW)(u,"Parser"),u.prototype=l,l.Parser=u,new u}();c.parser=c;var l="",h=[],u=[],y=[],p=(0,a.eW)(function(){h.length=0,u.length=0,l="",y.length=0,(0,a.ZH)()},"clear"),d=(0,a.eW)(function(t){l=t,h.push(t)},"addSection"),f=(0,a.eW)(function(){return h},"getSections"),g=(0,a.eW)(function(){let t=_(),e=0;for(;!t&&e<100;)t=_(),e++;return u.push(...y),u},"getTasks"),x=(0,a.eW)(function(){let t=[];
1return u.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),m=(0,a.eW)(function(t,e){let n=e.substr(1).split(":"),i=0,r=[];1===n.length?(i=Number(n[0]),r=[]):(i=Number(n[0]),r=n[1].split(","));let a=r.map(t=>t.trim()),s={section:l,type:l,people:a,task:t,score:i};y.push(s)},"addTask"),k=(0,a.eW)(function(t){let e={section:l,type:l,description:t,task:t,classes:[]};u.push(e)},"addTaskOrg"),_=(0,a.eW)(function(){let t=(0,a.eW)(function(t){return y[t].processed},"compileTask"),e=!0;for(let[n,i]of y.entries())t(n),e=e&&i.processed;return e},"compileTasks"),b=(0,a.eW)(function(){return x()},"getActors"),v={getConfig:(0,a.eW)(()=>(0,a.nV)().journey,"getConfig"),clear:p,setDiagramTitle:a.g2,getDiagramTitle:a.Kr,setAccTitle:a.GN,getAccTitle:a.eu,setAccDescription:a.U$,getAccDescription:a.Mx,addSection:d,getSections:f,getTasks:g,addTask:m,addTaskOrg:k,getActors:b},w=(0,a.eW)(t=>".label {\n    font-family: ".concat(t.fontFamily,";\n    color: ").concat(t.textColor,";\n  }\n  .mouth {\n    stroke: #666;\n  }\n\n  line {\n    stroke: ").concat(t.textColor,"\n  }\n\n  .legend {\n    fill: ").concat(t.textColor,";\n    font-family: ").concat(t.fontFamily,";\n  }\n\n  .label text {\n    fill: #333;\n  }\n  .label {\n    color: ").concat(t.textColor,"\n  }\n\n  .face {\n    ").concat(t.faceColor?"fill: ".concat(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: ").concat(t.mainBkg,";\n    stroke: ").concat(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: ").concat(t.arrowheadColor,";\n  }\n\n  .edgePath .path {\n    stroke: ").concat(t.lineColor,";\n    stroke-width: 1.5px;\n  }\n\n  .flowchart-link {\n    stroke: ").concat(t.lineColor,";\n    fill: none;\n  }\n\n  .edgeLabel {\n    background-color: ").concat(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: ").concat(t.titleColor,";\n  }\n\n  div.mermaidTooltip {\n    position: absolute;\n    text-align: center;\n    max-width: 200px;\n    padding: 2px;\n    font-family: ").concat(t.fontFamily,";\n    font-size: 12px;\n    background: ").concat(t.tertiaryColor,";\n    border: 1px solid ").concat(t.border2,";\n    border-radius: 2px;\n    pointer-events: none;\n    z-index: 100;\n  }\n\n  .task-type-0, .section-type-0  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType0):"",";\n  }\n  .task-type-1, .section-type-1  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType1):"",";\n  }\n  .task-type-2, .section-type-2  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType2):"",";\n  }\n  .task-type-3, .section-type-3  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType3):"",";\n  }\n  .task-type-4, .section-type-4  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType4):"",";\n  }\n  .task-type-5, .section-type-5  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType5):"",";\n  }\n  .task-type-6, .section-type-6  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType6):"",";\n  }\n  .task-type-7, .section-type-7  {\n    ").concat(t.fillType0?"fill: ".concat(t.fillType7):"",";\n  }\n\n  .actor-0 {\n    ").concat(t.actor0?"fill: ".concat(t.actor0):"",";\n  }\n  .actor-1 {\n    ").concat(t.actor1?"fill: ".concat(t.actor1):"",";\n  }\n  .actor-2 {\n    ").concat(t.actor2?"fill: ".concat(t.actor2):"",";\n  }\n  .actor-3 {\n    ").concat(t.actor3?"fill: ".concat(t.actor3):"",";\n  }\n  .actor-4 {\n    ").concat(t.actor4?"fill: ".concat(t.actor4):"",";\n  }\n  .actor-5 {\n    ").concat(t.actor5?"fill: ".concat(t.actor5):"",";\n  }\n  ").concat((0,r.G)(),"\n"),"getStyles"),W=(0,a.eW)(function(t,e){return(0,i.Mu)(t,e)},"drawRect"),T=(0,a.eW)(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");function r(t){let n=(0,o.Z)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function s(t){let n=(0,o.Z)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function c(t){t.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 i.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"),i.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,a.eW)(r,"smile"),(0,a.eW)(s,"sad"),(0,a.eW)(c,"ambivalent"),e.score>3?r(i):e.score<3?s(i):c(i),n}
1,"drawFace"),M=(0,a.eW)(function(t,e){let n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},"drawCircle"),C=(0,a.eW)(function(t,e){return(0,i.yU)(t,e)},"drawText"),S=(0,a.eW)(function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}(0,a.eW)(n,"genPoints");let i=t.append("polygon");i.attr("points",n(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,C(t,e)},"drawLabel"),A=(0,a.eW)(function(t,e,n){let r=t.append("g"),a=(0,i.kc)();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=n.width*e.taskCount+n.diagramMarginX*(e.taskCount-1),a.height=n.height,a.class="journey-section section-type-"+e.num,a.rx=3,a.ry=3,W(r,a),V(n)(e.text,r,a.x,a.y,a.width,a.height,{class:"journey-section section-type-"+e.num},n,e.colour)},"drawSection"),E=-1,I=(0,a.eW)(function(t,e,n){let r=e.x+n.width/2,a=t.append("g");E++,a.append("line").attr("id","task"+E).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"),T(a,{cx:r,cy:300+30*(5-e.score),score:e.score});let s=(0,i.kc)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,W(a,s);let o=e.x+14;e.people.forEach(t=>{let n=e.actors[t].color;M(a,{cx:o,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position}),o+=10}),V(n)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},"drawTask"),P=(0,a.eW)(function(t,e){(0,i.O)(t,e)},"drawBackgroundRect"),V=function(){function t(t,e,n,r,a,s,o,c){i(e.append("text").attr("x",n+a/2).attr("y",r+s/2+5).style("font-color",c).style("text-anchor","middle").text(t),o)}function e(t,e,n,r,a,s,o,c,l){let{taskFontSize:h,taskFontFamily:u}=c,y=t.split(/<br\s*\/?>/gi);for(let t=0;t<y.length;t++){let c=t*h-h*(y.length-1)/2,p=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",l).style("text-anchor","middle").style("font-size",h).style("font-family",u);p.append("tspan").attr("x",n+a/2).attr("dy",c).text(y[t]),p.attr("y",r+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(p,o)}}function n(t,n,r,a,s,o,c,l){let h=n.append("switch"),u=h.append("foreignObject").attr("x",r).attr("y",a).attr("width",s).attr("height",o).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,r,a,s,o,c,l),i(u,c)}function i(t,e){for(let n in e)n in e&&t.attr(n,e[n])}return(0,a.eW)(t,"byText"),(0,a.eW)(e,"byTspan"),(0,a.eW)(n,"byFo"),(0,a.eW)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),O={drawRect:W,drawCircle:M,drawSection:A,drawText:C,drawLabel:S,drawTask:I,drawBackgroundRect:P,initGraphics:(0,a.eW)(function(t){t.append("defs").append("marker").attr("id","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")},$=(0,a.eW)(function(t){Object.keys(t).forEach(function(e){B[e]=t[e]})},"setConf"),R={},j=0;function F(t){let e=(0,a.nV)().journey,n=e.maxLabelWidth;j=0;let i=60;Object.keys(R).forEach(r=>{let a=R[r].color,s={cx:20,cy:i,r:7,fill:a,stroke:"#000",pos:R[r].position};O.drawCircle(t,s);let o=t.append("text").attr("visibility","hidden").text(r),c=o.node().getBoundingClientRect().width;o.remove();let l=[];if(c<=n)l=[r];else{let e=r.split(" "),i="";o=t.append("text").attr("visibility","hidden"),e.forEach(t=>{let e=i?"".concat(i," ").concat(t):t;if(o.text(e),o.node().getBoundingClientRect().width>n){if(i&&l.push(i),i=t,o.text(t),o.node().getBoundingClientRect().width>n){let e="";for(let i of t)e+=i,o.text(e+"-"),o.node().getBoundingClientRect().width>n&&(l.push(e.slice(0,-1)+"-"),e=i);i=e}}else i=e}),i&&l.push(i),o.remove()}l.forEach((n,r)=>{var a;let s={x:40,y:i+7+20*r,fill:"#666",text:n,textMargin:null!==(a=e.boxTextMargin)&&void 0!==a?a:5},o=O.drawText(t,s).node().getBoundingClientRect().width;o>j&&o>e.leftMargin-o&&(j=o)}),i+=Math.max(20,20*l.length)})}(0,a.eW)(F,"drawActorLegend");var B=(0,a.nV)().journey,N=0,Z=(0,a.eW)(function(t,e,n,i){let r;let o=(0,a.nV)(),c=o.journey.titleColor,l=o.journey.titleFontSize,h=o.journey.titleFontFamily,u=o.securityLevel;"sandbox"===u&&(r=(0,s.Z)("#i"+e));let y=(0,s.Z)("sandbox"===u?r.nodes()[0].contentDocument.body:"body");L.init();let p=y.select("#"+e);O.initGraphics(p);let d=i.db.getTasks(),f=i.db.getDiagramTitle(),g=i.db.getActors();for(let t in R)delete R[t];let x=0;g.forEach(t=>{R[t]={color:B.actorColours[x%B.actorColours.length],position:x},x++}),F(p),N=B.leftMargin+j,L.insert(0,0,N,50*Object.keys(R).length),z(p,d,0);let m=L.getBounds();f&&p.append("text").text(f).attr("x",N).attr("font-size",l).attr("font-weight","bold").attr("y",25).attr("fill",c).attr("font-family",h);let k=m.stopy-m.starty+2*B.diagramMarginY,_=N+m.stopx+2*B.diagramMarginX;(0,a.v2)(p,k,_,B.useMaxWidth),p.append("line").attr("x1",N).attr("y1",4*B.height).attr("x2",_-N-4).attr("y2",4*B.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let b=f?70:0;p.attr("viewBox","".concat(m.startx," -25 ").concat(_," ").concat(k+b)),p.attr("preserveAspectRatio","xMinYMin meet"),p.attr("height",k+b+25)},"draw"),L={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,a.eW)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0}
1,"init"),updateVal:(0,a.eW)(function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},"updateVal"),updateBounds:(0,a.eW)(function(t,e,n,i){let r=(0,a.nV)().journey,s=this,o=0;function c(c){return(0,a.eW)(function(a){o++;let l=s.sequenceItems.length-o+1;s.updateVal(a,"starty",e-l*r.boxMargin,Math.min),s.updateVal(a,"stopy",i+l*r.boxMargin,Math.max),s.updateVal(L.data,"startx",t-l*r.boxMargin,Math.min),s.updateVal(L.data,"stopx",n+l*r.boxMargin,Math.max),"activation"!==c&&(s.updateVal(a,"startx",t-l*r.boxMargin,Math.min),s.updateVal(a,"stopx",n+l*r.boxMargin,Math.max),s.updateVal(L.data,"starty",e-l*r.boxMargin,Math.min),s.updateVal(L.data,"stopy",i+l*r.boxMargin,Math.max))},"updateItemBounds")}(0,a.eW)(c,"updateFn"),this.sequenceItems.forEach(c())},"updateBounds"),insert:(0,a.eW)(function(t,e,n,i){let r=Math.min(t,n),a=Math.max(t,n),s=Math.min(e,i),o=Math.max(e,i);this.updateVal(L.data,"startx",r,Math.min),this.updateVal(L.data,"starty",s,Math.min),this.updateVal(L.data,"stopx",a,Math.max),this.updateVal(L.data,"stopy",o,Math.max),this.updateBounds(r,s,a,o)},"insert"),bumpVerticalPos:(0,a.eW)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,a.eW)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,a.eW)(function(){return this.data},"getBounds")},D=B.sectionFills,H=B.sectionColours,z=(0,a.eW)(function(t,e,n){let i=(0,a.nV)().journey,r="",s=n+(2*i.height+i.diagramMarginY),o=0,c="#CCC",l="black",h=0;for(let[n,a]of e.entries()){if(r!==a.section){c=D[o%D.length],h=o%D.length,l=H[o%H.length];let s=0,u=a.section;for(let t=n;t<e.length&&e[t].section==u;t++)s+=1;let y={x:n*i.taskMargin+n*i.width+N,y:50,text:a.section,fill:c,num:h,colour:l,taskCount:s};O.drawSection(t,y,i),r=a.section,o++}let u=a.people.reduce((t,e)=>(R[e]&&(t[e]=R[e]),t),{});a.x=n*i.taskMargin+n*i.width+N,a.y=s,a.width=i.diagramMarginX,a.height=i.diagramMarginY,a.colour=l,a.fill=c,a.num=h,a.actors=u,O.drawTask(t,a,i),L.insert(a.x,a.y,a.x+a.width+i.taskMargin,450)}},"drawTasks"),G={setConf:$,draw:Z},Y={parser:c,db:v,renderer:G,styles:w,init:(0,a.eW)(t=>{G.setConf(t.journey),v.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.